PageSourceSearch

https://bitcoinismore.org/_next/static/chunks/527.55774d09ab34588b.js

js bitcoinismore.org collected 2026-10-04 18:37:36 UTC 26,007 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[527],{20606:(e,t,a)=>{a.d(t,{T:()=>l});var s=a(57437),n=a(49354);let l=e=>{let{size:t=24,className:a,...l}=e;return(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,...l,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,n.cn)("animate-spin",a),children:(0,s.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}},44541:(e,t,a)=>{a.d(t,{X:()=>o});var s=a(57437),n=a(2265),l=a(69324),r=a(22468),d=a(49354);let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(l.fC,{ref:t,className:(0,d.cn)("peer h-8 w-8 shrink-0 rounded-sm border border-sand-500 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-transparent data-[state=checked]:text-sand-100",a),...n,children:(0,s.jsx)(l.z$,{className:(0,d.cn)("flex items-center justify-center text-current"),children:(0,s.jsx)(r.Z,{className:"h-4 w-4 dark:text-sand-100 text-sand-900"})})})});o.displayName=l.fC.displayName},30084:(e,t,a)=>{a.d(t,{z9:()=>w,B5:()=>_,vO:()=>k,oq:()=>C,Q9:()=>E});var s=a(57437),n=a(2265),l=a(49354);function r(e){let[t,a]=n.useState(!1);return n.useEffect(()=>{function t(e){a(e.matches)}let s=matchMedia(e);return s.addEventListener("change",t),a(s.matches),()=>s.removeEventListener("change",t)},[e]),t}var d=a(13304),o=a(74697);let i=d.fC;d.xz;let c=d.h_;d.x8;let x=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(d.aV,{ref:t,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...n})});x.displayName=d.aV.displayName;let m=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(x,{}),(0,s.jsxs)(d.VY,{ref:t,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r,children:[n,(0,s.jsxs)(d.x8,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(o.Z,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=d.VY.displayName;let u=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1 text-center sm:text-left",t),...a})};u.displayName="DialogHeader";let f=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(d.Dx,{ref:t,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",a),...n})});f.displayName=d.Dx.displayName,n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(d.dk,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...n})}).displayName=d.dk.displayName;var h=a(37213);let p=e=>{let{shouldScaleBackground:t=!0,...a}=e;return(0,s.jsx)(h.dy.Root,{shouldScaleBackground:t,...a})};p.displayName="Drawer",h.dy.Trigger;let b=h.dy.Portal;h.dy.Close;let g=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(h.dy.Overlay,{ref:t,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80",a),...n})});g.displayName=h.dy.Overlay.displayName;let j=n.forwardRef((e,t)=>{let{className:a,children:n,...r}=e;return(0,s.jsxs)(b,{children:[(0,s.jsx)(g,{}),(0,s.jsxs)(h.dy.Content,{ref:t,className:(0,l.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",a),...r,children:[(0,s.jsx)("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),n]})]})});j.displayName="DrawerContent";let N=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,l.cn)("grid gap-1.5 p-4 text-center sm:text-left",t),...a})};N.displayName="DrawerHeader";let v=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(h.dy.Title,{ref:t,className:(0,l.cn)("",a),...n})});v.displayName=h.dy.Title.displayName,n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(h.dy.Description,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...n})}).displayName=h.dy.Description.displayName;let y="(min-width: 768px)",w=e=>{let{children:t,...a}=e,n=r(y)?i:p;return(0,s.jsx)(n,{...a,children:t})},k=e=>{let{className:t,children:a,...n}=e,l=r(y)?m:j;return(0,s.jsx)(l,{className:t,...n,children:a})},C=e=>{let{className:t,children:a,...n}=e,l=r(y)?u:N;return(0,s.jsx)(l,{className:t,...n,children:a})},E=e=>{let{className:t,children:a,...n}=e,l=r(y)?f:v;return(0,s.jsx)(l,{className:t,...n,children:a})},_=e=>{let{className:t,children:a,...n}=e;return(0,s.jsx)("div",{className:(0,l.cn)("",t),...n,children:a})}},89736:(e,t,a)=>{a.d(t,{_v:()=>c,aJ:()=>i,pn:()=>d,u:()=>
1o});var s=a(57437),n=a(2265),l=a(27071),r=a(49354);let d=l.zt,o=l.fC,i=l.xz,c=n.forwardRef((e,t)=>{let{className:a,sideOffset:n=4,...d}=e;return(0,s.jsx)(l.VY,{ref:t,sideOffset:n,className:(0,r.cn)("z-50 overflow-hidden rounded-md border dark:border-sand-100/20 bg-sand-900 px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...d})});c.displayName=l.VY.displayName},48527:(e,t,a)=>{a.r(t),a.d(t,{default:()=>S});var s=a(57437),n=a(2265),l=a(22379),r=a(78030);let d=(0,r.Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),o=(0,r.Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),i=(0,r.Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var c=a(66648),x=a(89602),m=a(71328),u=a(56768),f=a(16463),h=a(25217),p=a(36774),b=a(41996),g=a(89736),j=a(20606),N=a(86763),v=a(69548),y=a(4762),w=a(53849),k=a(4451),C=a(17257),E=a(30084),_=a(89733),D=a(44541),L=a(71311),R=a(53742),z=a(87724);let S=()=>{var e,t,a,r,S,F,T,P;let B=(0,f.useRouter)(),{toast:M}=(0,N.pm)(),O=(0,l.JQ)(l.L5),[q,I]=(0,n.useState)(!1),[H,Y]=(0,R.KO)(L.Qc),[J,V]=(0,R.KO)(L.XQ);(0,n.useEffect)(()=>{O&&"true"===localStorage.getItem("".concat(O,"-terms"))&&Y(!0)},[O,Y]),(0,n.useEffect)(()=>{O&&H&&localStorage.setItem("".concat(O,"-terms"),"true"),O&&!H&&localStorage.setItem("".concat(O,"-terms"),"false")},[H,O]);let{isLoading:W,isError:Q,data:A}=(0,m.eb)(l.L5),U=null==A?void 0:null===(e=A[(null==A?void 0:A.length)-1])||void 0===e?void 0:e.cycleId,{userState:Z,userEnrolledState:K}=(0,b.e)(p.es),{data:X,refetch:G}=(0,u.Y7)(O?[(0,y.rD)((0,w.L0)(O))]:[]),{data:$}=(0,u.a9)(O?[(0,y.rD)((0,w.L0)(O))]:[]),{data:ee}=(0,u.wE)(),{data:et}=(0,u.aO)(O?[(0,y.rD)((0,w.L0)(O))]:[]),ea=O?et:0,{isLoading:es,data:en}=(0,u.tH)(),{isLoading:el,data:er}=(0,u.Ms)(U),{isLoading:ed,data:eo}=(0,u.K3)();null==er||er["nr-snapshots-cycle"],null==er||er["current-snapshot-index"];let ei=null==er?void 0:er["participants-count"],ec=null==er?void 0:er["current-cycle-tenure-height"],[ex,em]=(0,n.use
1State)(null!=U?U:0),{refetch:eu,data:ef}=(0,x.Jj)((0,l.JQ)(l.L5)),[eh,ep]=(0,n.useState)(!1),[eb,eg]=(0,n.useState)(!1),[ej,eN]=(0,n.useState)(0),[ev,ey]=(0,n.useState)(0),ew=(null==A?void 0:null===(t=A[ex])||void 0===t?void 0:t.cycleTotal)/1e8/(null==A?void 0:A[ex].snapshotsPerCycle),ek=(null==A?void 0:null===(a=A[ex])||void 0===a?void 0:a.totalRewarded)/1e8,{data:eC}=(0,x.N7)(z.q[l.L5].yield.CONTRACT,"participants-count");eC&&(0,k.md)((0,y.EE)(null==eC?void 0:eC.data));let{data:eE}=(0,u.eD)([W||Q||void 0===A||!(A.length>0)?"lazyload":(0,y.rD)((0,C.R)(U))]),e_=Number(null==A?void 0:null===(r=A[U])||void 0===r?void 0:r.nextCycleTenureHeight)-Number(null==A?void 0:null===(S=A[U])||void 0===S?void 0:S.blocksPerSnapshot)-Number(en),eD=Number(ec)-Number(en),eL=Math.min(100,(Number(en)-Number(ec))/(Number(null==A?void 0:null===(F=A[U])||void 0===F?void 0:F.blocksPerSnapshot)*Number(null==A?void 0:null===(T=A[U])||void 0===T?void 0:T.snapshotsPerCycle))*100).toFixed(0),eR=e=>{let t=Math.floor(e/1440),a=Math.floor(e%1440/60),s=Math.floor(e%60),n="";return t>0&&(n+="".concat(t,"d ")),a>0&&(n+="".concat(a,"h ")),0===t&&0===a&&s>0&&(n+="".concat(s,"m")),n.trim()||"0h"};(0,n.useEffect)(()=>{void 0!==U&&em(U)},[U]),(0,n.useEffect)(()=>{(0,v.FH)(ef,"enroll")?ep(!0):(G(),X&&ep(!1))},[ef,X]),(0,n.useEffect)(()=>{(0,v.FH)(ef,"opt-out")?eg(!0):(G(),X||eg(!1))},[ef,X]),(0,n.useEffect)(()=>{ea&&eN(Number(ea)),ee&&ey(Number(ee));let e=setInterval(()=>{ea&&eN(Number(ea)),ee&&ey(Number(ee))},6e4);return()=>clearInterval(e)},[ea,ee]);let ez=()=>{if(eh){let e=(0,v.F_)(ef,"enroll"),t=e?(0,l.QG)(e).explorerUrl:"#";window.open(t,"_blank");return}(0,h.If)(()=>{eu(),I(!1),M({variant:"default",title:"Enrolled successfully"})},()=>{M({variant:"destructive",title:"Enrollment failed"})},O)},eS=()=>{if("Authenticated"!==Z&&!(0,v.sk)()&&window.innerWidth<768)return{text:"See how to connect your wallet",buttonLabel:"Connect Wallet",onClick:()=>V(!0)};if("Authenticated"!==Z)return{text:"Connect your wallet to enroll",buttonLabel:"Connect Wallet",onClick:p.YR};if(eh){let e=(0,v.F_)(ef,"enroll"),t=e?(0,l.QG)(e).explorerUrl:"#";return{text:"Please wait for your transaction to confirm",buttonLabel:"Enrolling...",onClick:()=>{window.open(t,"_blank")}}}if(eb){let e=(0,v.F_)(ef,"opt-out"),t=e?(0,l.QG)(e).explorerUrl:"#";return{text:"Please wait for your transaction to confirm",buttonLabel:"Opting out...",onClick:()=>{window.open(t,"_blank")}}}return"NotEnrolled"===K&&ej<ev?{text:"Required balance: ".concat(ev.toLocaleString()," sats"),buttonLabel:"Insufficient sBTC Balance",onClick:void 0,disabled:!0}:"NotEnrolled"===K&&ej>=ev?{text:"You are not enrolled",buttonLabel:"Enroll",onClick:()=>H?ez():I(!0)}:"Enrolled"===K?{text:"View your stats table",buttonLabel:"User Stats",onClick:()=>B.push("/rewards/user")}:{text:"",buttonLabel:"",onClick:void 0}};return es||el?(0,s.jsx)("div",{className:"min-h-[100vh] dark:bg-[#111411] bg-white flex items-center justify-center text-orange-blood font-sans",children:(0,s.jsx)(j.T,{className:"h-12 w-12 text-orange-blood"})}):(0,s.jsx)("div",{className:"bg-white dark:bg-[#0B0E0B] min-h-[100dvh] md:min-h-[90vh] w-full flex items-center justify-center pb-14 sm:pb:0",children:(0,s.jsxs)("div",{className:"w-full max-w-[90%] flex flex-col lg:flex-row justify-between",children:[(0,s.jsxs)("div",{className:"flex items-start justify-center relative lg:p-12 flex-1 my-10",children:[(0,s.jsx)(c.default,{src:"/gridline.svg",alt:"gridline",width:800,height:800,priority:!0,className:"absolute inset-0 -ml-36 -mt-6 z-0 invert dark:invert-0 opacity-40 hidden lg:block w-full h-full object-contain"}),(0,s.jsxs)("div",{className:"flex flex-col lg:items-start space-y-8 relative z-10 max-w-2xl",children:[(0,s.jsx)("h1",{className:"text-4xl lg:text-5xl xl:text-6xl dark:text-sand-100 text-sand-900 font-mono font-semibold leading-tight lg:text-left text-center",children:"Welcome to Bitcoin Rewards Dashboard!"}),(0,s.jsx)("p",{className:"text-xl lg:text-2xl font-mono dark:text-sand-300 text-sand-700 leading-relaxed lg:text-left text-center",children:"Hold sBTC, Earn sBTC, and unlock the full potential of your Bitcoin."}),(0,s.jsxs)("div",{className:"pt-4 flex justify-center",children:[(()=>{let{text:e,buttonLabel:t,onClick:a}=eS();return(0,s.jsx)(g.pn,{delayDuration:50,children:(0,s.jsxs)(g.u,{children:[(0,s.jsx)(g.aJ,{className:"".concat(eh||eb?"bg-transparent border border-orange-blood text-orange-blood":"bg-orange-blood text-white"," w-[293px] h-[53px] text-center mt-2 md:mb-0 py-3 px-6 text-lg font-medium rounded-lg z-40"),onClick:a,"data-testid":"enroll-button",children:t}),(0,s.jsx)(g._v,{className:"font-mono text-sand-100",children:e})]})})})(),(0,s.jsx)(E.z9,{open:q,onOpenChange:I,children:(0,s.jsxs)(E.vO,{className:"sm:max-w-[485px] min-h-[300px] border-sand-100/20* bg-sand-100 dark:bg-[#0B0E0B] ","data-testid":"enroll-modal",children:[(0,s.jsx)(E.oq,{className:"mt-3 p-3",children:(0,s.jsx)(E.Q9,{className:"text-2xl font-semibold text-start text-sand-900 dark:text-sand-100",children:"Enroll in the sBTC Rewards Protocol"})}),(0,s.jsxs)("div",{className:"space-y-4 px-3 py-2",children:[(0,s.jsx)("p",{className:"text-base text-gray-600 dark:text-sand-100 leading",children:"By enrolling, you agree to the terms and conditions specified in the document below."}),(0,s.jsxs)("div",{className:"flex items-center space-x-3 py-4 rounded-lg",children:[(0,s.jsx)(D.X,{id:"terms","data-testid":"terms-checkbox",checked:H,onCheckedChange:e=>Y(e),className:"data-[state=checked]:bg-orange-blood"}),(0,s.jsxs)("label",{htmlFor:"terms",className:"text-md font-medium text-sand-900 dark:text-white cursor-pointer",children:["I agree to the"," ",(0,s.jsx)("a",{href:"https://docs.bitcoinismore.org/terms-and-conditions",target:"_blank",className:"underline underline-offset-4",children:"terms and conditions"})]})]})]}),(0,s.jsx)("div",{className:"mt-2 pb-12 md:pb-2 px-3",children:(0,s.jsx)(_.z,{"data-testid":"enroll-modal-button",onClick:()=>H?ez():I(!1),className:"w-full h-[53px] text-lg font-medium rounded-lg bg-orange-blood hover:bg-orange-blood/90 text-white transition-colors",children:"ENROLL"})})]})})]})]})]}),(0,s.jsx)("div",{className:"flex items-center justify-center flex-1",children:(0,s.jsx)("div",{className:"flex flex-col items-center w-full max-w-lg",children:(0,s.jsx)("div",{className:"w-full aspect-square bg-[#D9D9D9]/100 dar
1k:bg-[#111411] p-2 sm:p-4 lg:p-6 relative",children:(0,s.jsx)("div",{className:"w-full h-full dark:bg-sand-900/60 bg-sand-100/50 p-2 sm:p-4 lg:p-6 flex flex-col items-center justify-center",children:(0,s.jsx)("div",{className:"w-full h-full dark:bg-sand-900/95 bg-sand-100/75 p-2 sm:p-4 lg:p-6",children:(0,s.jsxs)("div",{className:"w-full max-w-lg h-full dark:bg-sand-900/95 bg-sand-100/75 p-2",children:[(0,s.jsx)("h2",{className:"text-orange-blood font-mono font-semibold text-2xl text-center mb-4",children:"[ Reward Cycle Stats ]"}),(0,s.jsxs)("div",{className:"space-y-6 mt-6 font-mono text-sm sm:text-base border-y pb-4 dark:text-sand-100 text-sand-900 dark:border-sand-100/20 border-sand-900/20 pt-4",children:[eo?ex!==U?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Cycle:"}),(0,s.jsx)("span",{className:"font-semibold",children:ex})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Participants:"}),(0,s.jsx)("span",{className:"font-semibold",children:null==A?void 0:null===(P=A[ex])||void 0===P?void 0:P.participantsCount})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Total Rewards:"}),(0,s.jsxs)("span",{className:"font-semibold",children:[ek.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:2})," ","sBTC"]})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Total Held:"}),(0,s.jsxs)("span",{className:"font-semibold text-right",children:[ew.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0})," ","sBTC"]})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Wallet Status:"}),(0,s.jsx)(g.pn,{delayDuration:50,children:(0,s.jsxs)(g.u,{children:[(0,s.jsxs)(g.aJ,{className:"font-semibold inline-flex items-center",children:["Enrolled"===K?"Enrolled":"Not enrolled",(0,s.jsx)(d,{size:20,className:"ml-3"})]}),(0,s.jsx)(g._v,{className:"font-mono text-sand-100",children:"Authenticated"!==Z?"Please connect your wallet to enroll":$||X?$&&X?"You are enrolled in the current cycle and will be enrolled in the next cycle":$&&!X?"You will not be enrolled in the next cycle":!$&&X?"You will be enrolled in the next cycle":"":"You are not enrolled"})]})})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Participants:"}),(0,s.jsx)("span",{className:"font-semibold",children:ei})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Cycle Progress:"}),(0,s.jsxs)("span",{className:"font-semibold",children:[eL," %"]})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[null!==eE&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900 text-start",children:"Rewards:"}),(0,s.jsx)("span",{className:"font-semibold text-right",children:"Distributed"})]}),!eE&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900 text-start",children:"Rewards in:"}),(0,s.jsxs)("span",{className:"font-semibold text-right",children:[en&&A?"".concat(e_<0&&null===eE?"Distributing Rewards":"~ ".concat(eR(11.55*Number(e_)))):"-"," "]})]})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Wallet Status:"}),(0,s.jsx)("span",{className:"font-semibold ".concat("Enrolled"===K?"text-green-500":"text-red-500"),children:"Enrolled"===K?"Enrolled":"Not enrolled"})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Activation Tenure:"}),(0,s.jsx)("span",{className:"font-semibold",children:ec||"N/A"})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Participants:"}),(0,s.jsx)("span",{className:"font-semibold",children:ei})]}),(0,s.jsxs)("p",{className:"flex justify-between items-center text-lg",children:[(0,s.jsx)("span",{className:"dark:text-sand-300 text-sand-900",children:"Cycle start in:"}),(0,s.jsx)("span",{className:"font-semibold",children:eR(10*eD)})]})]}),eo&&(0,s.jsxs)("div",{className:"hidden sm:flex-col sm:flex justify-center items-center pt-4 pb-4",children:[(0,s.jsx)("p",{className:"dark:text-sand-300 text-sand-900 text-lg font-mono mb-4",children:"Change Cycle"}),(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(g.pn,{delayDuration:50,children:(0,s.jsxs)(g.u,{children:[(0,s.jsx)(g.aJ,{disabled:0===ex,onClick:()=>em(ex-1),className:"border-orange-blood bg-orange-blood hover:bg-orange-blood hover:scale-105 hover:shadow-[0_0_15px_rgba(255,87,51,0.5)] transition-all duration-300 text-white font-mono aspect-square h-12 w-12 flex items-center justify-center",children:(0,s.jsx)(o,{size:20})}),(0,s.jsx)(g._v,{side:"top",className:"text-center text-sand-100 ".concat(0===ex?"text-[#FF0000]":""),children:0===ex?"Lowest Cycle":"Previous Cycle"})]})}),(0,s.jsx)("span",{className:"text-lg dark:text-sand-100 text-sand-900 font-mono aspect-square h-12 w-12 flex items-center justify-center border dark:border-sand border-neutral-500",children:ex}),(0,s.jsx)(g.pn,{delayDuration:50,children:(0,s.jsxs)(g.u,{children:[(0,s.jsx)(g.aJ,{disabled:ex===(null==A?void 0:A.length)-1,onClick:()=>em(ex+1),className:"border-orange-blood bg-orange-blood hover:bg-orange-blood hover:scale-105 hover:shadow-[0_0_15px_rgba(255,87,51,0.5)] transition-all duration-300 text-white font-mono aspect-square h-12 w-12 flex items-center justify-center",children:(0,s.jsx)(i,{size:20})}),(0,s.jsx)(g._v,{side:"top",className:"text-center text-sand-100 ".concat(ex===(null==A?void 0:A.length)-1?"text-[#FF0000]":""),children:ex===(null==A?void 0:A.length)-1?"Current Cycle":"Next Cycle"})]})})]})]})]})]})})})})})}),eo&&(0,s.jsxs)("div",{className:"sm:hidden justify-center items-center mt-2 mx-auto",children:[(0,s.jsx)("p",{className:"dark:text-sand-300 text-sand-900 text-lg text-center font-mono mb-4",children:"Change Cycle"}),(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(g.pn,{delayDuration:50,children:(0,s.jsxs)(g.u,{children:[(0,s.jsx)(g.aJ,{disabled:0===ex,onClick:()=>em(ex-1),className:"border-orange-blood bg-orange-blood hover:bg-orange-blood hover:scale-105 hover:shadow-[0_0_15px_rgba(255,87,51,0.5)] transition-all duration-300 text-white font-mono aspect-square h-12 w-12 flex items-center justify-center",children:(0,s.jsx)(o,{size:20})}),(0,s.jsx)(g._v,{side:"top",className:"text-center text-sand-100 ".concat(0===ex?"text-[#FF0000]":""),children:0===ex?"Lowest Cycle":"Previous Cycle"})]})}),(0,s.jsx)("span",{className:"text-lg dark:text-sand-100 text-sand-900 font-mono aspect-square h-12 w-12 flex items-center justify-center border dark:border-sand border-neutral-500",children:ex}),(0,s.jsx)(g.pn,{delayDuration:50,children:(0,s.jsxs)(g.u,{children:[(0,s.jsx)(g.aJ,{disabled:ex===(null==A?void 0:A.length)-1,onClick:()=>em(ex+1),className:"border-orange-blood bg-orange-blood hover:bg-orange-blood hover:scale-105 hover:shadow-[0_0_15px_rgba(255,87,51,0.5)] transition-all duration-300 text-white font-mono aspect-square h-12 w-12 flex items-center justify-center",children:(0,s.jsx)(i,{size:20})}),(0,s.jsx)(g._v,{side:"top",className:"text-center text-sand-100 ".concat(ex===(null==A?void 0:A.length)-1?"text-[#FF0000]":""),children:ex===(null==A?void 0:A.length)-1?"Current Cycle":"Next Cycle"})]})})]})]})]})})}},69324:(e,t,a)=>{a.d(t,{fC:()=>v,z$:()=>w});var s=a(2265),n=a(1584),l=a(98324),r=a(78149),d=a(91715),o=a(47250),i=a(75238),c=a(31383),x=a(25171),m=a(57437),u="Checkbox",[f,h]=(0,l.b)(u),[p,b]=f(u);function g(e){let{__scopeCheckbox:t,checked:a,children:n,defaultChecked:l,disabled:r,form:o,name:i,onCheckedChange:c,required:x,value:f="on",internal_do_not_use_render:h}=e,[b,g]=(0,d.T)({prop:a,defaultProp:null!=l&&l,onChange:c,caller:u}),[j,N]=s.useState(null),[v,y]=s.useState(null),w=s.useRef(!1),k=!j||!!o||!!j.closest("form"),C={checked:b,disabled:r,setChecked:g,control:j,setControl:N,name:i,form:o,value:f,hasConsumerStoppedPropagationRef:w,required:x,defaultChecked:!E(l)&&l,is
1FormControl:k,bubbleInput:v,setBubbleInput:y};return(0,m.jsx)(p,{scope:t,...C,children:"function"==typeof h?h(C):n})}var j="CheckboxTrigger",N=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,onKeyDown:l,onClick:d,...o}=e,{control:i,value:c,disabled:u,checked:f,required:h,setControl:p,setChecked:g,hasConsumerStoppedPropagationRef:N,isFormControl:v,bubbleInput:y}=b(j,a),w=(0,n.e)(t,p),k=s.useRef(f);return s.useEffect(()=>{let e=null==i?void 0:i.form;if(e){let t=()=>g(k.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[i,g]),(0,m.jsx)(x.WV.button,{type:"button",role:"checkbox","aria-checked":E(f)?"mixed":f,"aria-required":h,"data-state":_(f),"data-disabled":u?"":void 0,disabled:u,value:c,...o,ref:w,onKeyDown:(0,r.M)(l,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,r.M)(d,e=>{g(e=>!!E(e)||!e),y&&v&&(N.current=e.isPropagationStopped(),N.current||e.stopPropagation())})})});N.displayName=j;var v=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,name:s,checked:n,defaultChecked:l,required:r,disabled:d,value:o,onCheckedChange:i,form:c,...x}=e;return(0,m.jsx)(g,{__scopeCheckbox:a,checked:n,defaultChecked:l,disabled:d,required:r,onCheckedChange:i,name:s,form:c,value:o,internal_do_not_use_render:e=>{let{isFormControl:s}=e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(N,{...x,ref:t,__scopeCheckbox:a}),s&&(0,m.jsx)(C,{__scopeCheckbox:a})]})}})});v.displayName=u;var y="CheckboxIndicator",w=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,forceMount:s,...n}=e,l=b(y,a);return(0,m.jsx)(c.z,{present:s||E(l.checked)||!0===l.checked,children:(0,m.jsx)(x.WV.span,{"data-state":_(l.checked),"data-disabled":l.disabled?"":void 0,...n,ref:t,style:{pointerEvents:"none",...e.style}})})});w.displayName=y;var k="CheckboxBubbleInput",C=s.forwardRef((e,t)=>{let{__scopeCheckbox:a,...l}=e,{control:r,hasConsumerStoppedPropagationRef:d,checked:c,defaultChecked:u,required:f,disabled:h,name:p,value:g,form:j,bubbleInput:N,setBubbleInput:v}=b(k,a),y=(0,n.e)(t,v),w=(0,o.D)(c),C=(0,i.t)(r);s.useEffect(()=>{if(!N)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!d.current;if(w!==c&&e){let a=new Event("click",{bubbles:t});N.indeterminate=E(c),e.call(N,!E(c)&&c),N.dispatchEvent(a)}},[N,w,c,d]);let _=s.useRef(!E(c)&&c);return(0,m.jsx)(x.WV.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=u?u:_.current,required:f,disabled:h,name:p,value:g,form:j,...l,tabIndex:-1,ref:y,style:{...l.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function E(e){return"indeterminate"===e}function _(e){return E(e)?"indeterminate":e?"checked":"unchecked"}C.displayName=k},47250:(e,t,a)=>{a.d(t,{D:()=>n});var s=a(2265);function n(e){let t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}}}]);

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.