1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[80785],{2049:(e,t,a)=>{a.d(t,{_:()=>l});var n=a(63355),r=a(15345);function s(){return(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,n.jsx)("span",{className:"inline-block w-[7px] h-[7px] rounded-full bg-[#00FF67] animate-pulse",style:{boxShadow:"0 0 6px rgba(0,255,103,0.85), 0 0 2px rgba(0,255,103,0.6)"}}),"Connected"]})}let i=[{id:"wallet",label:"Direct to Wallet",subtitle:"USDC \xb7 Instant",icon:(0,n.jsx)(function(){return(0,n.jsx)("div",{className:"w-9 h-9 rounded-[9px] bg-[#A291FF] flex items-center justify-center flex-shrink-0",children:(0,n.jsx)(r.A,{className:"w-5 h-5 text-white",strokeWidth:2.5})})},{}),selectedRing:"from-[#A291FF]/80 to-[#A291FF]/30"},{id:"coinbase",label:"Coinbase",subtitle:(0,n.jsx)(s,{}),icon:(0,n.jsx)(function(){return(0,n.jsxs)("svg",{viewBox:"0 0 32 32",className:"w-9 h-9 flex-shrink-0","aria-hidden":!0,children:[(0,n.jsx)("rect",{width:"32",height:"32",rx:"8",fill:"#0052FF"}),(0,n.jsx)("path",{d:"M16 8C11.58 8 8 11.58 8 16C8 20.42 11.58 24 16 24C19.83 24 23.05 21.31 23.83 17.71H21.05C20.36 19.71 18.36 21.14 16 21.14C13.16 21.14 10.86 18.84 10.86 16C10.86 13.16 13.16 10.86 16 10.86C18.36 10.86 20.36 12.29 21.05 14.29H23.83C23.05 10.69 19.83 8 16 8Z",fill:"white"})]})},{}),selectedRing:"from-[#3D7BFF]/80 to-[#0052FF]/30"},{id:"paypal",label:"PayPal",subtitle:(0,n.jsx)(s,{}),icon:(0,n.jsx)(function(){return(0,n.jsxs)("svg",{viewBox:"0 0 36 36",className:"w-9 h-9 flex-shrink-0","aria-hidden":!0,children:[(0,n.jsx)("rect",{width:"36",height:"36",rx:"9",fill:"#003087"}),(0,n.jsx)("path",{d:"M21 11 H15 L12.5 26 H15.5 L16.2 22 H18.5 C22 22 24 20 24.5 16.5 C24.9 13.5 23.5 11 21 11 Z M20.8 16.5 C20.5 18.5 19.2 19.2 17.6 19.2 H16.6 L17.4 14 H18.6 C20.2 14 21 14.8 20.8 16.5 Z",fill:"#0070BA"}),(0,n.jsx)("path",{d:"M19 9 H13 L10.5 24 H13.5 L14.2 20 H16.5 C20 20 22 18 22.5 14.5 C22.9 11.5 21.5 9 19 9 Z M18.8 14.5 C18.5 16.5 17.2 17.2 15.6 17.2 H14.6 L15.4 12 H16.6 C18.2 12 19 12.8 18.8 14.5 Z",fill:"white"})]})},{}),selectedRing:"from-[#0070BA]/80 to-[#003087]/30"}];function l(e){let{selected:t,onSelect:a,variant:r="mobile"}=e;return"desktop"===r?(0,n.jsx)("div",{className:"flex gap-3",children:i.map(e=>{let r=t===e.id;return(0,n.jsxs)("button",{type:"button",onClick:()=>a(e.id),className:"flex-1 rounded-xl p-3 flex items-center gap-2.5 cursor-pointer transition-all duration-150 ".concat(r?"bg-[#a291ff]/[0.08] border border-[#a291ff]/40 shadow-[0_0_20px_rgba(162,145,255,0.12)]":"bg-white/[0.03] border border-white/[0.08] hover:border-white/[0.18] hover:bg-white/[0.05]"),children:[e.icon,(0,n.jsxs)("div",{className:"flex flex-col items-start min-w-0",children:[(0,n.jsx)("span",{className:"text-[#eff6ff] font-bumper-sticker text-sm leading-tight truncate w-full text-left",children:e.label}),(0,n.jsx)("span",{className:"text-[rgba(230,215,255,0.5)] font-made-tommy text-[10px] leading-tight truncate w-full text-left",children:e.subt
1itle})]})]},e.id)})}):(0,n.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:gap-2",children:i.map(e=>{let r=t===e.id;return(0,n.jsx)("button",{type:"button",onClick:()=>a(e.id),className:"flex-1 rounded-[12px] p-[1.5px] transition-all duration-150 cursor-pointer active:scale-[0.98] ".concat(r?"bg-gradient-to-b ".concat(e.selectedRing):"bg-gradient-to-b from-[#8F757E]/40 to-[#8F757E]/15 hover:from-[#8F757E]/60 hover:to-[#8F757E]/25"),children:(0,n.jsxs)("div",{className:"rounded-[11px] bg-[#584255]/85 px-3 py-2.5 flex items-center gap-2.5 shadow-[0_3px_0_0_rgba(0,0,0,0.3),inset_0_1px_0_rgba(255,255,255,0.05)] ".concat(r?"":"opacity-90"),children:[e.icon,(0,n.jsxs)("div",{className:"flex flex-col items-start min-w-0",children:[(0,n.jsx)("span",{className:"text-white font-bumper-sticker text-[13px] leading-tight truncate w-full text-left",children:e.label}),(0,n.jsx)("span",{className:"text-[#B68C9B] font-made-tommy text-[10px] font-medium leading-tight truncate w-full text-left",children:e.subtitle})]})]})},e.id)})})}},16432:(e,t,a)=>{a.d(t,{P:()=>l,Ts:()=>s,y$:()=>i});var n=a(63355);a(28331);var r=a(82596);function s(){let e=(0,r.c)("currencies");return{coins:{title:e("coins.title"),lead:e("coins.lead"),body:e("coins.body"),note:e("coins.note")},bonus:{title:e("bonus.title"),lead:e("bonus.lead"),body:e("bonus.body"),tip:[e("bonus.tip1"),e("bonus.tip2"),e("bonus.tip3"),e("bonus.tip4")]},kcash:{title:e("kcash.title"),lead:e("kcash.lead"),body:e("kcash.body")}}}function i(e){let{size:t=16}=e,a={fontFamily:"system-ui",fontWeight:900,lineHeight:1};return(0,n.jsxs)("div",{className:"relative",style:{width:t,height:t},children:[(0,n.jsx)("div",{className:"absolute inset-0 rounded-full",style:{backgroundColor:"#D89A3A",border:"".concat(Math.max(1,t/18),"px solid #7A4A1B")}}),(0,n.jsx)("div",{className:"absolute rounded-full pointer-events-none",style:{inset:Math.max(2,.12*t),border:"".concat(Math.max(.5,t/60),"px dashed #7A4A1B"),opacity:.55}}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,n.jsx)("span",{style:{...a,fontSize:.85*t,color:"#7A4A1B"},children:"$"})}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,n.jsx)("span",{style:{...a,fontSize:.4*t,color:"#FFE3A8"},children:"K"})})]})}function l(e){let{className:t}=e;return(0,n.jsxs)("svg",{className:t,viewBox:"0 0 32 32",fill:"none",children:[(0,n.jsx)("rect",{x:"5",y:"14",width:"22",height:"12",rx:"1.5",fill:"#3FB97A",stroke:"#1F5E3D",strokeWidth:"1.2"}),(0,n.jsx)("rect",{x:"3",y:"11",width:"22",height:"12",rx:"1.5",fill:"#56CC8B",stroke:"#1F5E3D",strokeWidth:"1.2"}),(0,n.jsx)("rect",{x:"6",y:"8",width:"22",height:"12",rx:"1.5",fill:"#76DDA3",stroke:"#1F5E3D",strokeWidth:"1.2"}),(0,n.jsx)("text",{x:"17",y:"17",textAnchor:"middle",fontFamily:"system-ui",fontWeight:"900",fontSize:"8",fill:"#1F5E3D",children:"$"})]})}},23259:(e,t,a)=>{a.d(t,{a:()=>c});var n=a(63355),r=a(18897),s=a.n(r),i=a(28331),l=a(91018),o=a(76093);function c(e){let{amount:t,address:a,method:r="wallet",onClose:c}=e,[d,u]=(0,i.useState)(!1),[m,x]=(0,i.useState)(!1),f=(0,o.S)(t,1100);return((0,i.useEffect)(()=>{x(!0);let e=requestAnimationFrame(()=>u(!0));return()=>cancelAnimationFrame(e)},[]),m&&"undefined"!=typeof document)?(a.length>14&&"".concat(a.slice(0,6),"â¦").concat(a.slice(-4)),(0,l.createPortal)((0,n.jsxs)("div",{className:"jsx-4422c054c20d1a7f fixed inset-0 z-[10001] flex items-center justify-center",children:[(0,n.jsx)(s(),{id:"4422c054c20d1a7f",children:'@keyframes wdr-pop{0%{transform:scale(.7);opacity:0}60%{transform:scale(1.04);opacity:1}100%{transform:scale(1);opacity:1}}@keyframes wdr-glow{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 40px rgba(0,255,103,.18)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 60px rgba(0,255,103,.32)}}@keyframes wdr-fall-a{0%{transform:translate3d(0,-10vh,0)rotate(0deg);opacity:0}
15%{opacity:1}90%{opacity:1}100%{transform:translate3d(2vw,110vh,0)rotate(720deg);opacity:0}}@keyframes wdr-fall-b{0%{transform:translate3d(0,-10vh,0)rotate(0deg);opacity:0}5%{opacity:1}90%{opacity:1}100%{transform:translate3d(-3vw,110vh,0)rotate(-540deg);opacity:0}}@keyframes wdr-fall-c{0%{transform:translate3d(0,-10vh,0)rotate(0deg);opacity:0}5%{opacity:1}90%{opacity:1}100%{transform:translate3d(5vw,110vh,0)rotate(900deg);opacity:0}}@keyframes wdr-fall-d{0%{transform:translate3d(0,-10vh,0)rotate(0deg);opacity:0}5%{opacity:1}90%{opacity:1}100%{transform:translate3d(-1vw,110vh,0)rotate(-720deg);opacity:0}}.wdr-piece.jsx-4422c054c20d1a7f{position:absolute;top:0;width:8px;height:14px;will-change:transform,opacity;pointer-events:none}@keyframes wdr-shimmer{0%{left:-100%}100%{left:200%}}.wdr-cta.jsx-4422c054c20d1a7f{position:relative;overflow:hidden}.wdr-cta.jsx-4422c054c20d1a7f::after{content:"";position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.18)50%,transparent 100%);animation:wdr-shimmer 3s ease-in-out 1.5s infinite}'}),(0,n.jsx)("div",{onClick:c,"aria-hidden":!0,className:"jsx-4422c054c20d1a7f absolute inset-0 bg-black/75 backdrop-blur-[6px]"}),(0,n.jsx)("div",{"aria-hidden":!0,className:"jsx-4422c054c20d1a7f absolute inset-0 z-0 pointer-events-none",children:[{left:"8%",bg:"#00FF67",anim:"wdr-fall-a",delay:"0.0s",dur:"3.2s"},{left:"14%",bg:"#24BE62",anim:"wdr-fall-b",delay:"0.15s",dur:"2.9s"},{left:"20%",bg:"#FFFFFF",anim:"wdr-fall-c",delay:"0.4s",dur:"3.4s"},{left:"26%",bg:"#00FF67",anim:"wdr-fall-d",delay:"0.6s",dur:"3.0s"},{left:"32%",bg:"#1AB257",anim:"wdr-fall-a",delay:"0.85s",dur:"3.3s"},{left:"38%",bg:"#00FF67",anim:"wdr-fall-b",delay:"0.1s",dur:"3.6s"},{left:"44%",bg:"#FBB600",anim:"wdr-fall-c",delay:"0.5s",dur:"3.1s"},{left:"50%",bg:"#00FF67",anim:"wdr-fall-d",delay:"0.25s",dur:"3.5s"},{left:"56%",bg:"#24BE62",anim:"wdr-fall-a",delay:"0.7s",dur:"2.8s"},{left:"62%",bg:"#FFFFFF",anim:"wdr-fall-b",delay:"0.05s",dur:"3.4s"},{left:"68%",bg:"#00FF67",anim:"wdr-fall-c",delay:"0.95s",dur:"3.2s"},{left:"74%",bg:"#1AB257",anim:"wdr-fall-d",delay:"0.35s",dur:"3.0s"},{left:"80%",bg:"#00FF67",anim:"wdr-fall-a",delay:"0.55s",dur:"3.7s"},{left:"86%",bg:"#FBB600",anim:"wdr-fall-b",delay:"0.2s",dur:"3.1s"},{left:"92%",bg:"#00FF67",anim:"wdr-fall-c",delay:"0.75s",dur:"3.3s"},{left:"11%",bg:"#24BE62",anim:"wdr-fall-d",delay:"1.1s",dur:"3.0s"},{left:"23%",bg:"#00FF67",anim:"wdr-fall-a",delay:"1.3s",dur:"3.4s"},{left:"35%",bg:"#FFFFFF",anim:"wdr-fall-b",delay:"1.5s",dur:"3.2s"},{left:"47%",bg:"#00FF67",anim:"wdr-fall-c",delay:"1.65s",dur:"3.5s"},{left:"59%",bg:"#1AB257",anim:"wdr-fall-d",delay:"1.8s",dur:"3.1s"},{left:"71%",bg:"#00FF67",anim:"wdr-fall-a",delay:"1.95s",dur:"3.3s"},{left:"83%",bg:"#FBB600",anim:"wdr-fall-b",delay:"2.1s",dur:"3.0s"},{left:"95%",bg:"#00FF67",anim:"wdr-fall-c",delay:"2.25s",dur:"3.6s"},{left:"5%",bg:"#24BE62",anim:"wdr-fall-d",delay:"0.9s",dur:"3.4s"}].map((e,t)=>(0,n.jsx)("span",{style:{left:e.left,backgroundColor:e.bg,animation:"".concat(e.anim," ").concat(e.dur," linear ").concat(e.delay," forwards"),boxShadow:"#FFFFFF"===e.bg?"0 0 6px rgba(255,255,255,0.6)":"0 0 6px ".concat(e.bg,"66"),borderRadius:t%3==0?"2px":"1px"},className:"jsx-4422c054c20d1a7f wdr-piece"},t))}),(0,n.jsxs)("div",{style:{animation:d?"wdr-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, wdr-glow 2.6s ease-in-out 0.5s infinite":"none",opacity:d?void 0:0},className:"jsx-4422c054c20d1a7f relative z-10 w-[88%] max-w-[420px] rounded-[16px] border border-[#00FF67]/30 bg-[#2B2230]/95 backdrop-blur-[15px] px-6 py-7 flex flex-col items-center gap-3 shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]",children:[(0,n.jsx)("span",{className:"jsx-4422c054c20d1a7f text-[#B68C9B] font-made-tommy-soft font-bold text-[11px] uppercase tracking-[2px]",children:"Withdrawal on the way"}),(0,n.jsxs)("div",{className:"jsx-4422c054c20d1a7f flex flex-col items-center gap-0.5",children:[(0,n.jsxs)("span",{style:{textShadow:"0 0 24px rgba(0,255,103,0.55), 0 0 8px rgba(0,255,103,0.35)"},className:"jsx-4422c054c20d1a7f text-[#00FF67] font-bumper-sticker text-[64px] leading-none",children:["$",f.toFixed(2)]}),(0,n.jsx)("span",{className:"jsx-4422c054c20d1a7f text-[#B68C9B] font-made-tommy text-[12px] font-medium",children:"coinbase"===r?"USD via Coinbase":"paypal"===r?"USD via PayPal":"USDC on Avalanche"})]}),(0,n.jsx)("div",{className:"jsx-4422c054c20d1a7f w-full h-px bg-[#8F757E]/30 my-1"}),(0,n.jsxs)("div",{className:"jsx-4422c054c20d1a7f w-full flex flex-col items-center gap-1",children:[(0,n.jsx)("span",{className:"jsx-4422c054c20d1a7f text-[#B68C9B] font-made-tommy-soft font-bold text-[9px] uppercase tracking-wider",children:"Sending to"}),(0,n.jsx)("span",{className:"jsx-4422c054c20d1a7f text-white font-made-tommy-soft font-bold text-[13px]",children:"coinbase"===r?"your Coinbase account":"paypal"===r?"your PayPal account":"your connected wallet"})]}),(0,n.jsx)("button",{onClick:c,className:"jsx-4422c054c20d1a7f wdr-cta w-full mt-3 h-[40px] rounded-[10px] flex items-center justify-center border border-[#24BE62] bg-gradient-to-b from-[#24BE62] from-10% to-[#1AB257] to-[201.67%] shadow-[0_3px_0_0_#25705E,0_0_20px_rgba(36,190,98,0.3)] cursor-pointer transition-all duration-150 active:translate-y-[1px]",children:(0,n.jsx)("span",{className:"jsx-4422c054c20d1a7f text-white font-made-tommy-soft font-extrabold text-[15px] tracking-wide drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]",children:"DONE"})})]})]}),document.body)):null}},27498:(e,t,a)=>{a.d(t,{FA:()=>x,NE:()=>d,Vb:()=>c,gy:()=>m,mx:()=>l,wH:()=>u});var n=a(10689),r=a(24178),s=a(3535),i=a(78878);let l=["Approved","Declined","Kyc Expired"],o=e=>"/user-service/kyc".concat(e);function c(e){let{sessionId:t,enabled:a=!0,pollWhilePending:r=!0}=e;return(0,n.useQuery)({queryKey:["kyc-status",t],queryFn:()=>i.baseInstance.get(o("/status/".concat(t))).then(e=>{let t=e.data;return"data"in t?t.data:t}),enabled:!!t&&a,staleTime:1e4,refetchInterval:e=>{if(!r)return!1;let t=e.state.data;return t?!l.includes(t.status)&&5e3:5e3}})}function d(){let e=(0,r.useQueryClient)();return(0,s.useMutation)({mutationKey:["start-kyc"],mutationFn:e=>i.baseInstance.post(o("/start"),e).then(e=>{let t=e.data;return"data"in t?t.data:t}),onSuccess:(t,a)=>
1{e.invalidateQueries({queryKey:["kyc-status",a.sessionId]})}})}function u(){let e=(0,r.useQueryClient)();return(0,s.useMutation)({mutationKey:["refresh-kyc"],mutationFn:e=>{let{sessionId:t}=e;return i.baseInstance.post(o("/refresh/".concat(t))).then(e=>{let t=e.data;return"data"in t?t.data:t})},onSuccess:(t,a)=>{e.setQueryData(["kyc-status",a.sessionId],t)}})}function m(){let e=(0,r.useQueryClient)();return(0,s.useMutation)({mutationKey:["resolve-kyc-callback"],mutationFn:e=>{let{sessionId:t,diditSessionId:a}=e;return i.baseInstance.post(o("/callback/".concat(t)),{diditSessionId:a}).then(e=>{let t=e.data;return"data"in t?t.data:t})},onSuccess:(t,a)=>{e.setQueryData(["kyc-status",a.sessionId],t)}})}function x(e){return"Approved"===e}},35604:(e,t,a)=>{a.d(t,{eT:()=>l,f2:()=>o,ot:()=>d,tl:()=>i,ui:()=>c});var n=a(3535),r=a(10689),s=a(78878);function i(){return(0,n.useMutation)({mutationKey:["create-withdraw-request"],mutationFn:e=>s.baseInstance.post("/wallet-service/withdraw-requests",e).then(e=>e.data.data)})}function l(e){let{sessionId:t,enabled:a=!0,limit:n=20}=e;return(0,r.useQuery)({queryKey:["withdraw-history",t,n],queryFn:()=>s.baseInstance.get("/wallet-service/withdraw-requests",{params:{sessionId:t,size:n,sort:"created_at:desc"}}).then(e=>e.data.data),enabled:!!t&&a,staleTime:3e4,select:e=>{if(!t||!(null==e?void 0:e.results))return e;let a=t.toLowerCase(),n=e.results.filter(e=>!e.sessionId||e.sessionId.toLowerCase()===a);return{...e,results:n,total:n.length}}})}function o(e){let t=e?new Date(e).getTime():NaN;if(!Number.isFinite(t)||t<=Date.now())return"Held for security review. We'll email you as soon as it's done â there's no need to submit it again.";let a=new Date(t).toLocaleString(void 0,{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"});return"Held for security review until ".concat(a,". We'll email you when it releases â there's no need to submit it again.")}function c(e){let t=e?new Date(e).getTime():NaN;return Number.isFinite(t)&&t>Date.now()?"under security review":"under review â we'll email you"}function d(e){let{sessionId:t,enabled:a=!0}=e;return(0,r.useQuery)({queryKey:["withdraw-pending",t],queryFn:()=>s.baseInstance.get("/wallet-service/withdraw-requests",{params:{sessionId:t,status:"pending",size:50,sort:"created_at:desc"}}).then(e=>{var t,a;return null!=(a=null==(t=e.data.data)?void 0:t.results)?a:[]}),enabled:!!t&&a,refetchInterval:3e4,staleTime:15e3,select:e=>{let a=(e||[]).filter(e=>(function(e,t){if(!e||t&&e.sessionId&&e.sessionId.toLowerCase()!==t.toLowerCase()||"pending"!==e.status)return!1;let a=Date.now();if(e.release_at){let t=new Date(e.release_at).getTime();if(Number.isFinite(t)&&t<=a)return!1}let n=new Date(e.created_at).getTime();return!(e.release_at&&Number.isFinite(n))||!(a-n>1296e5)})(e,t));return 0===a.length?null:{amount:a.reduce((e,t)=>e+(Number(t.amount)||0),0),count:a.length,latest:a[0]}}})}},47360:(e,t,a)=>{a.d(t,{A:()=>g});var n=a(63355),r=a(28331),s=a(80189),i=a(12128),l=a(69880),o=a(29018),c=a(23221),d=a(99651),u=a(81778),m=a(74360),x=a(67971),f=a(28162),p=a(27498),h=a(85973);let b={Loading:{headline:"Checking verification status",body:"Hang on while we look up your identity verification."},"Not Started":{headline:"Verify your identity",body:"We need a quick ID check before your first withdrawal. It takes about a minute."},Expired:{headline:"Verification expired",body:"Your previous verification session expired. Start a new one â it only takes a minute."},Abandoned:{headline:"Pick up where you left off",body:"Looks like your last verification was interrupted. Tap below to start a fresh session."},"Kyc Expired":{headline:"Time to re-verify",body:"Your identity check has expired and needs to be renewed before you can withdraw."},"In Progress":{headline:"Verification in progress",body:"Finish the steps in the verification tab. We'll update this screen automatically."},Resubmitted:{headline:"Verification in progress",body:"We asked you to redo a step. Complete it in the verification tab to continue."},"Awaiting User":{headline:"Awaiting your action",body:"Open the verification tab to complete the next step."},"In Review":{headline:"Under manual review",body:"A reviewer is checking your documents. This usually takes under 24 hours and we'll email you when it's done."},Declined:{headline:"Verification declined",body:"We couldn't verify your identity with the submitted documents. Make sure your ID is valid and in date, then try again."}
1,Approved:{headline:"Verified",body:"You're all set. Close this and tap Send It to finish your withdrawal."}};function g(e){var t;let{open:a,onClose:g,sessionId:y,email:w,onApproved:v}=e,{data:j,isLoading:_,refetch:F}=(0,p.Vb)({sessionId:y,enabled:a}),{mutateAsync:N,isPending:k}=(0,p.NE)(),{mutateAsync:B,isPending:C}=(0,p.wH)(),[A,E]=(0,r.useState)(!1),S=(0,r.useMemo)(()=>_&&!j?"Loading":(null==j?void 0:j.status)||"Not Started",[_,j]),D=b[S];(0,r.useEffect)(()=>{a&&(0,h.sx)("kyc_modal_shown",{sessionId:y,status:S})},[a,S,y]),(0,r.useEffect)(()=>{a&&(null==j?void 0:j.status)==="Approved"&&v&&v()},[a,null==j?void 0:j.status,v]),(0,r.useEffect)(()=>{if(!A)return;let e=()=>{F()};return window.addEventListener("focus",e),()=>window.removeEventListener("focus",e)},[A,F]);let I=(0,r.useCallback)(async()=>{try{let e=await N({sessionId:y,email:w});if((0,h.sx)("kyc_start_clicked",{sessionId:y,status:e.status}),e.already_approved)return void x.Ay.success("You're already verified");if(e.locked_out){(0,h.sx)("kyc_locked_out",{sessionId:y}),x.Ay.error("You've used all your verification attempts. Please contact support.");return}if(!e.url)return void x.Ay.error("Verification provider returned no URL");try{sessionStorage.setItem("kokomo_kyc_return",JSON.stringify({from:window.location.pathname+window.location.search}))}catch(e){}E(!0),window.location.href=e.url}catch(n){var e,t;let a=(null==n||null==(t=n.response)||null==(e=t.data)?void 0:e.message)||"Could not start verification";x.Ay.error(a)}},[N,y,w]),T=(0,r.useCallback)(async()=>{try{await B({sessionId:y})}catch(e){x.Ay.error("Couldn't refresh status â try again in a moment")}},[B,y]),R=(0,r.useCallback)(()=>{E(!1),g()},[g]),H=(0,r.useMemo)(()=>"Approved"===S?{color:"#22C55E",glow:"rgba(34,197,94,0.3)"}:"Declined"===S||"Kyc Expired"===S?{color:"#FD7E78",glow:"rgba(253,126,120,0.3)"}:"In Progress"===S||"Resubmitted"===S||"In Review"===S||"Awaiting User"===S?{color:"#FBB600",glow:"rgba(251,182,0,0.3)"}:{color:"#F4C3DA",glow:"rgba(244,195,218,0.15)"},[S]);return(0,n.jsx)(s.lG,{open:a,onOpenChange:e=>{e||R()},modal:!1,children:(0,n.jsxs)(s.ZJ,{children:[(0,n.jsx)("div",{className:"fixed inset-0 z-[10010] bg-black/75 backdrop-blur-[3px]",onClick:R}),(0,n.jsx)("div",{className:"fixed inset-0 z-[10011] flex items-center justify-center p-4 pointer-events-none",children:(0,n.jsx)("div",{className:"w-full max-w-[400px] rounded-[16px] p-[2px] bg-gradient-to-b from-[#8F757E]/60 to-[#8F757E]/20 shadow-[0_24px_64px_rgba(0,0,0,0.5)] pointer-events-auto",onClick:e=>e.stopPropagation(),children:(0,n.jsxs)("div",{className:"rounded-[14px] overflow-hidden shadow-[inset_0_1px_0_rgba(255,255,255,0.05)]",style:{background:"rgba(43, 34, 48, 0.95)",backdropFilter:"blur(24px)"},children:[(0,n.jsxs)("div",{className:"flex items-center justify-between px-5 py-3.5 border-b border-white/[0.06]",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(i.A,{className:"w-4 h-4",color:H.color}),(0,n.jsx)("h2",{className:"font-bumper-sticker text-[16px] tracking-[0.5px]",style:{color:H.color},children:"IDENTITY CHECK"})]}),(0,n.jsx)("button",{onClick:R,"aria-label":"Close",className:"w-8 h-8 rounded-full bg-white/[0.05] flex items-center justify-center hover:bg-white/[0.1] transition-all cursor-pointer",children:(0,n.jsx)(l.A,{className:"w-4 h-4 text-[rgba(230,215,255,0.5)]"})})]}),(0,n.jsxs)("div",{className:"px-5 py-5 flex flex-col gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center text-center gap-2",children:[(0,n.jsx)("div",{className:"w-14 h-14 rounded-full flex items-center justify-center",style:{background:"linear-gradient(180deg, ".concat(H.color,"22, ").concat(H.color,"08)"),boxShadow:"0 0 20px ".concat(H.glow),border:"1.5px solid ".concat(H.color,"55")},children:"Loading"===S||k?(0,n.jsx)(o.A,{className:"w-6 h-6 animate-spin",color:H.color}):"Approved"===S?(0,n.jsx)(c.A,{className:"w-7 h-7",color:H.color}):"Declined"===S||"Kyc Expired"===S?(0,n.jsx)(d.A,{className:"w-7 h-7",color:H.color}):"In Progress"===S||"Resubmitted"===S||"Awaiting User"===S||"In Review"===S?(0,n.jsx)(o.A,{className:"w-6 h-6 animate-spin",color:H.color}):(0,n.jsx)(i.A,{className:"w-7 h-7",color:H.color})}),(0,n.jsx)("p",{className:"text-[#eff6ff] font-bumper-sticker text-[18px] tracking-[0.3px] leading-snug",children:D.headline}),(0,n.jsx)("p",{className:"text-[#B68C9B] font-made-tommy text-[12px] leading-snug px-2",children:D.body}),(null==j?void 0:j.review_reason)&&(0,n.jsx)("p",{className:"text-[#FD7E78] font-made-tommy text-[11px] mt-1 px-2",children:j.review_reason})]}),("Not Started"===S||"Expired"===S||"Abandoned"===S||"Kyc Expired"===S)&&(0,n.jsxs)("button",{onClick:I,disabled:k,className:(0,f.cn)("w-full h-[44px] rounded-[10px] flex items-center justify-center gap-2 cursor-pointer","border bg-gradient-to-b from-[#24BE62] from-10% to-[#1AB257] to-[201.67%] border-[#24BE62]","shadow-[0_3px_0_0_#25705E,0_0_20px_rgba(36,190,98,0.3)]","transition-all duration-150 active:translate-y-[1px] hover:-translate-y-[1px]",k&&"opacity-70 cursor-wait"),children:[k?(0,n.jsx)(o.A,{className:"w-4 h-4 text-white animate-spin"}):(0,n.jsx)(u.A,{className:"w-4 h-4 text-white"}),(0,n.jsx)("span",{className:"text-white font-made-tommy-soft font-extrabold text-[15px] drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]",children:k?"Startingâ¦":"Start Verification"})]}),("In Progress"===S||"Resubmitted"===S||"Awaiting User"===S)&&(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("button",{onClick:T,disabled:C,className:(0,f.cn)("w-full h-[44px] rounded-[10px] flex items-center justify-center gap-2 cursor-pointer","border bg-gradient-to-b from-[#24BE62] from-10% to-[#1AB257] to-[201.67%] border-[#24BE62]","shadow-[0_3px_0_0_#25705E,0_0_20px_rgba(36,190,98,0.3)]","transition-all duration-150 active:translate-y-[1px]",C&&"opacity-70 cursor-wait"),children:[C?(0,n.jsx)(o.A,{className:"w-4 h-4 text-white animate-spin"}):(0,n.jsx)(m.A,{className:"w-4 h-4 text-white"}),(0,n.jsx)("span",{className:"text-white font-made-tommy-soft font-extrabold text-[15px] drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]",children:"Refresh Status"})]}),(0,n.jsx)("button",{onClick:I,className:(0,f.cn)("w-full h-[40px] rounded-[10px] flex items-center justify-center cursor-pointer","border border-[#8F757E]/40 bg-[#573B51]/80 text-[#B68C9B]","shadow-[0_2px_0_0_rgba(0,0,0,0.25),inset_0_1px_0_rgba(255,255,255,0.04)]","transition-all duration-150 active:translate-y-[1px] hover:bg-[#573B51] hover:text-[#F4C3DA]"),children:(0,n.jsx)("span",{className:"font-made-tommy-soft font-bold text-[13px]",children:"Reo
1pen Verification Tab"})})]}),"In Review"===S&&(0,n.jsx)("button",{onClick:R,className:(0,f.cn)("w-full h-[40px] rounded-[10px] flex items-center justify-center cursor-pointer","border border-[#8F757E]/40 bg-[#573B51]/80 text-[#B68C9B]","shadow-[0_2px_0_0_rgba(0,0,0,0.25),inset_0_1px_0_rgba(255,255,255,0.04)]","transition-all duration-150 active:translate-y-[1px] hover:bg-[#573B51] hover:text-[#F4C3DA]"),children:(0,n.jsx)("span",{className:"font-made-tommy-soft font-bold text-[13px]",children:"Got it"})}),"Declined"===S&&((null==j?void 0:j.locked_out)?(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("p",{className:"text-[#B68C9B] font-made-tommy text-[11px] text-center px-2",children:["You've used all ",null!=(t=null==j?void 0:j.max_attempts)?t:3," ","verification attempts. Contact support to continue."]}),(0,n.jsx)("a",{href:"mailto:[email protected]?subject=KYC%20declined",className:(0,f.cn)("w-full h-[44px] rounded-[10px] flex items-center justify-center gap-2 cursor-pointer","border bg-gradient-to-b from-[#24BE62] from-10% to-[#1AB257] to-[201.67%] border-[#24BE62]","shadow-[0_3px_0_0_#25705E,0_0_20px_rgba(36,190,98,0.3)]","transition-all duration-150 active:translate-y-[1px]"),children:(0,n.jsx)("span",{className:"text-white font-made-tommy-soft font-extrabold text-[15px] drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]",children:"Contact Support"})}),(0,n.jsx)("button",{onClick:R,className:(0,f.cn)("w-full h-[40px] rounded-[10px] flex items-center justify-center cursor-pointer","border border-[#8F757E]/40 bg-[#573B51]/80 text-[#B68C9B]","shadow-[0_2px_0_0_rgba(0,0,0,0.25),inset_0_1px_0_rgba(255,255,255,0.04)]","transition-all duration-150 active:translate-y-[1px] hover:bg-[#573B51] hover:text-[#F4C3DA]"),children:(0,n.jsx)("span",{className:"font-made-tommy-soft font-bold text-[13px]",children:"Close"})})]}):(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsxs)("button",{onClick:I,disabled:k,className:(0,f.cn)("w-full h-[44px] rounded-[10px] flex items-center justify-center gap-2 cursor-pointer","border bg-gradient-to-b from-[#24BE62] from-10% to-[#1AB257] to-[201.67%] border-[#24BE62]","shadow-[0_3px_0_0_#25705E,0_0_20px_rgba(36,190,98,0.3)]","transition-all duration-150 active:translate-y-[1px] hover:-translate-y-[1px]",k&&"opacity-70 cursor-wait"),children:[k?(0,n.jsx)(o.A,{className:"w-4 h-4 text-white animate-spin"}):(0,n.jsx)(m.A,{className:"w-4 h-4 text-white"}),(0,n.jsx)("span",{className:"text-white font-made-tommy-soft font-extrabold text-[15px] drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]",children:k?"Startingâ¦":"Try Again"})]}),"number"==typeof(null==j?void 0:j.attempts_remaining)&&(0,n.jsxs)("p",{className:"text-[#B68C9B] font-made-tommy text-[11px] text-center",children:[j.attempts_remaining," attempt",1===j.attempts_remaining?"":"s"," remaining"," \xb7 ",(0,n.jsx)("a",{href:"mailto:[email protected]?subject=KYC%20declined",className:"underline hover:text-[#F4C3DA]",children:"Contact support"})]}),(0,n.jsx)("button",{onClick:R,className:(0,f.cn)("w-full h-[40px] rounded-[10px] flex items-center justify-center cursor-pointer","border border-[#8F757E]/40 bg-[#573B51]/80 text-[#B68C9B]","shadow-[0_2px_0_0_rgba(0,0,0,0.25),inset_0_1px_0_rgba(255,255,255,0.04)]","transition-all duration-150 active:translate-y-[1px] hover:bg-[#573B51] hover:text-[#F4C3DA]"),children:(0,n.jsx)("span",{className:"font-made-tommy-soft font-bold text-[13px]",children:"Close"})})]})),(0,p.FA)(null==j?void 0:j.status)&&(0,n.jsxs)("button",{onClick:R,className:(0,f.cn)("w-full h-[44px] rounded-[10px] flex items-center justify-center gap-2 cursor-pointer","border bg-gradient-to-b from-[#24BE62] from-10% to-[#1AB257] to-[201.67%] border-[#24BE62]","shadow-[0_3px_0_0_#25705E,0_0_20px_rgba(36,190,98,0.3)]","transition-all duration-150 active:translate-y-[1px]"),children:[(0,n.jsx)(c.A,{className:"w-4 h-4 text-white"}),(0,n.jsx)("span",{className:"text-white font-made-tommy-soft font-extrabold text-[15px] drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]",children:"Continue"})]})]})]})})})]})})}},60974:(e,t,a)=>{a.d(t,{r:()=>N});var n=a(63355),r=a(28331),s=a(67971),i=a(129),l=a(82532),o=a(92937),c=a(68353),d=a(64662),u=a(99745),m=a(3536),x=a(75598),f=a(77860),p=a(67634),h=a(64677),b=a(35278),g=a(564
119),y=a(50114),w=a(99801),v=a(85973),j=a(55513);let _="0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",F="0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";function N(){var e,t;let{size:a="mobile"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{user:N,sessionId:B}=(0,f.uO)(),{isV2Demo:C}=(0,p.zC)();if(C)return null;let A="desktop"===a,E=A?"text-[12px]":"text-[10px]",S=A?"text-[13px]":"text-[11px]",D=A?"text-[14px]":"text-[12px]",I=!!(null==N?void 0:N.legacy_session_id)&&"string"==typeof N.legacy_session_id&&N.legacy_session_id.startsWith("0x"),{data:T}=(0,h.eN)({sessionId:B||"",enabled:!!B}),R=(0,i.useActiveAccount)(),H=(0,l.X)({chain:m.m,address:null==R?void 0:R.address,client:u.S,tokenAddress:_}),K=(0,l.X)({chain:m.m,address:null==R?void 0:R.address,client:u.S,tokenAddress:F}),[P,M]=(0,r.useState)("idle"),[L,V]=(0,r.useState)(0),[W,q]=(0,r.useState)(null),[z,Q]=(0,r.useState)(()=>"true"===localStorage.getItem("migration_dismissed_".concat(B))),U=(0,w.u)("force_balance_migration_banner"),Y=(0,h.KS)(B,null==N?void 0:N.legacy_session_id),Z=(0,r.useRef)(null),$=(0,r.useRef)(null),O=(0,r.useRef)(null),J=(0,r.useRef)(null),G=(0,r.useRef)(null),X=(0,r.useRef)(!1),{data:ee,refetch:et}=(0,b._Y)({sessionId:B||""}),{mutateAsync:ea}=(0,h.$C)(),en=(0,r.useCallback)(()=>{Z.current&&(clearInterval(Z.current),Z.current=null),$.current&&(clearInterval($.current),$.current=null),O.current&&(clearTimeout(O.current),O.current=null)},[]);(0,r.useEffect)(()=>()=>{en(),J.current&&(clearTimeout(J.current),J.current=null)},[en]),(0,r.useEffect)(()=>{if("confirming"!==P&&"timeout"!==P||null===G.current)return;let e=Number((null==ee?void 0:ee.available)||0);if(e>G.current){let t=e-G.current;en(),X.current=!0,(0,j.qc)(),q(t),V(0),M("complete"),s.Ay.success("Balance updated +$".concat(t.toFixed(2))),J.current=setTimeout(()=>{localStorage.setItem("migration_dismissed_".concat(B),"true"),Q(!0)},5e3)}},[null==ee?void 0:ee.available,P,en,B]);let er=Number((null==H||null==(e=H.data)?void 0:e.displayValue)||0)+Number((null==K||null==(t=K.data)?void 0:t.displayValue)||0),es=(0,r.useCallback)(()=>{if(!B)return;G.current=Number((null==ee?void 0:ee.available)||0),X.current=!1,M("confirming"),V(60);let e=async()=>{try{await Promise.allSettled([et(),ea({sessionId:B,chainId:h.FJ.avalanche}).catch(()=>null)])}catch(e){}};e();let t=60;$.current=setInterval(()=>{V(Math.max(0,t-=1)),t<=0&&$.current&&(clearInterval($.current),$.current=null)},1e3),Z.current=setInterval(e,2e3),O.current=setTimeout(()=>{en(),X.current||((0,j.KQ)(),V(0),M("timeout"))},6e4)},[B,ee,et,ea,en]),ei=(0,r.useCallback)(async()=>{var e,t,a,n;if(R&&(null==T?void 0:T.address)){(0,j.KQ)(),M("transferring");try{let a=[],n=Number((null==H||null==(e=H.data)?void 0:e.displayValue)||0),r=Number((null==K||null==(t=K.data)?void 0:t.displayValue)||0);if(n>0&&a.push((0,c.k)({contract:{address:_,chain:m.m,client:u.S},to:T.address,amount:n})),r>0&&a.push((0,c.k)({contract:{address:F,chain:m.m,client:u.S},to:T.address,amount:r})),0===a.length){(0,j.rm)(),s.Ay.error("No balance to transfer"),M("idle");return}let i=await Promise.race([(0,d.sendBatchTransaction)({transactions:a,account:R}),new Promise((e,t)=>setTimeout(()=>t(Error("Transaction timed out")),12e4))]);(0,v.sx)("balance_migration_success",{usdc_amount:n,usdt_amount:r,total:n+r,from_wallet:R.address,to_forwarder:T.address,tx_hash:null==i?void 0:i.transactionHash});let l="https://kokomo-deposits-production.up.railway.app";if(l){let e=JSON.stringify({sessionId:B,fromWallet:R.address,toForwarder:T.address,usdcAmount:n,usdtAmount:r,total:n+r,txHash:null==i?void 0:i.transactionHash,chainId:43114});(0,g.i5)().catch(()=>({})).then(t=>fetch("".concat(l,"/api/balance-migration"),{method:"POST",headers:{"Content-Type":"application/json",...t},body:e})).catch(()=>{})}es()}catch(e){(null==e||null==(a=e.message)?void 0:a.includes("timed out"))?(0,j.KQ)():(0,j.rm)(),s.Ay.error((null==e||null==(n=e.message)?void 0:n.includes("timed out"))?"Transaction timed out. Try again.":"Transfer failed"),M("idle")}}},[R,T,H,K,es]),el=(0,r.useCallback)(()=>{localStorage.setItem("migration_dismissed_".concat(B),"true"),Q(!0)},[B]);return Y||!U&&(!I||z)?null:(0,n.jsxs)("div",{className:"rounded-[10px] border border-[#FBB600]/60 bg-[#FBB600]/25 ".concat(A?"p-4":"p-2.5"," flex flex-col gap-2"),children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-[#FBB600] font-made-tommy-soft font-bold ".concat(S),children:"Balance Found"}),(0,n.jsx)("button",{onClick:el,className:"text-[#B68C9B]/60 font-made-tommy font-bold ".concat(E," cursor-pointer"),children:"Dismiss"})]}),R?"complete"===P?(0,n.jsx)("div",{className:"w-full rounded-[8px] border border-[#24BE62] bg-gradient-to-b from-[#24BE62] to-[#1AB257] shadow-[0_2px_0_0_#25705E] px-3 py-2 flex items-center justify-center gap-1.5 animate-[fadeIn_0.3s_ease-out]",children:(0,n.jsxs)("span",{className:"text-white font-made-tommy-soft font-extrabold ".concat(D," leading-none"),children:["â Balance updated"," ",null!=W?"+$".concat((0,y.ZV)(W,{maximumFractionDigits:2,minimumFractionDigits:2})):""]})}):"confirming"===P?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"w-full rounded-[8px] bg-[#2B2230]/50 border border-[#FBB600]/40 px-3 py-2 flex flex-col items-center gap-1",children:[(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)(s.hz,{className:"w-3 h-3"}),(0,n.jsxs)("span",{className:"text-[#F4C3DA] font-made-tommy-soft font-bold ".concat(S," leading-none"),children:["Crediting your balance",(0,n.jsx)("span",{className:"inline-block w-[18px] text-left",children:(0,n.jsx)(k,{})})]})]}),(0,n.jsxs)("span",{className:"text-[#B68C9B] font-made-tommy ".concat(E," tabular-nums"),children:["Usually takes ~1 minute â¢"," ",Math.floor(L/60),":",(L%60).toString().padStart(2,"0")," ","remaining"]})]})}):"timeout"===P?(0,n.jsx)("span",{className:"text-[#B68C9B] font-made-tommy ".concat(E," font-medium text-center leading-snug"),children:"Still crediting. Your balance will update automatically â feel free to close this."}):er>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{className:"text-[#F4C3DA] font-made-tommy ".concat(E," font-medium"),children:["$",(0,y.ZV)(er,{maximumFractionDigits:2,minimumFractionDigits:2})," ready to transfer"]}),(0,n.jsxs)("button",{onClick:ei,disabled:"transferring"===P,className:"w-full ".concat(A?"h-[40p
1x]":"h-[30px]"," rounded-[8px] flex items-center justify-center gap-1.5 border border-[#24BE62] bg-gradient-to-b from-[#24BE62] to-[#1AB257] shadow-[0_2px_0_0_#25705E] cursor-pointer transition-all duration-100 active:translate-y-[1px] disabled:opacity-50"),children:["transferring"===P?(0,n.jsx)(s.hz,{className:"w-4 h-4"}):null,(0,n.jsx)("span",{className:"text-white font-made-tommy-soft font-extrabold ".concat(D),children:"transferring"===P?"Transferring...":"Transfer $".concat((0,y.ZV)(er,{maximumFractionDigits:2}))})]})]}):(0,n.jsxs)("span",{className:"text-[#B68C9B] font-made-tommy ".concat(E," font-medium"),children:["No balance found â nothing to transfer.",(0,n.jsx)("button",{onClick:el,className:"text-[#F4C3DA] ml-1 underline cursor-pointer",children:"Dismiss"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"text-[#B68C9B] font-made-tommy ".concat(E," font-medium"),children:"Sign in with the same email you used before to transfer your balance."}),(0,n.jsx)(o.ConnectButton,{client:u.S,wallets:x.yy,accountAbstraction:x.Er,connectButton:{label:"Sign in",style:{width:"100%",height:A?"40px":"30px",borderRadius:"8px",fontSize:A?"14px":"12px",fontWeight:"bold",background:"linear-gradient(180deg, #FBB600 0%, #E5A500 100%)",color:"#2B2230",border:"1px solid #FBB600"}},connectModal:{title:"Sign in to transfer",size:"compact"}})]})]})}function k(){let[e,t]=(0,r.useState)(1);return(0,r.useEffect)(()=>{let e=setInterval(()=>{t(e=>e>=3?1:e+1)},400);return()=>clearInterval(e)},[]),(0,n.jsx)(n.Fragment,{children:".".repeat(e)})}},76093:(e,t,a)=>{a.d(t,{S:()=>r});var n=a(28331);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1200,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[r,s]=(0,n.useState)(a?0:e);return(0,n.useEffect)(()=>{if(!a)return;if(e<=0)return void s(0);let n=0,r=performance.now(),i=a=>{let l=Math.min(1,(a-r)/t);s(e*(1-Math.pow(1-l,3))),l<1&&(n=requestAnimationFrame(i))};return n=requestAnimationFrame(i),()=>cancelAnimationFrame(n)},[e,t,a]),r}}}]);
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.