PageSourceSearch

https://learn-duck.web.app/assets/page-CjsEKLuZ.js

js learn-duck.web.app collected 2026-10-03 12:28:22 UTC 21,353 bytes, 35 lines download raw bytes

1var re=Object.defineProperty;var ae=(t,i,o)=>i in t?re(t,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[i]=o;var U=(t,i,o)=>ae(t,typeof i!="symbol"?i+"":i,o);import{H as O,j as e,I as E,u as V,b,J,w as Q,c as Y,r as j,t as le,K as P,M as de,N as $,O as ce,P as he,Q as pe,T as ue,V as Z,W as ge,X as xe,a as me,Y as fe,g as ye}from"./index-3F8zEw1m.js";import{G as x}from"./Grid-By_vNP6X.js";import{P as g}from"./index-BS1QbJOF.js";import{C as M}from"./Card-1lwgcHZx.js";import{M as X}from"./Icon-CH5danlF.js";import{B as W}from"./Button--UVDcgpC.js";import{P as be}from"./Popup-CDhwoVji.js";import{S as R,H as m}from"./Segment-Q10-60Tg.js";import{M as K}from"./Message-C21l6FFt.js";import{u as ee}from"./useCurUser-C4DCt6Yf.js";import{C as H}from"./Container-CtkpoJ2f.js";import{S as je}from"./SEOHelmet-Bvt0eIk_.js";import{A as D}from"./Accordion-CgPI8q70.js";import"./reduce-D87ho1mX.js";function Se(t,i,o,n,r){return Math.abs(t-o)<=r&&Math.abs(i-n)<=r}const y=class y{constructor({width:i,height:o,x:n=0,y:r=0,imageState:p={},className:u="",zIndex:c="9000"}){this.x_pos=n,this.y_pos=r,this.width=i,this.height=o,this.entity=document.createElement("img"),this.entity.className=u,this.entity.style.position="absolute",this.entity.style.left=n+"px",this.entity.style.top=r+"px",this.entity.style.width=i+"px",this.entity.style.height=o+"px",this.entity.style.zIndex=c,this.entity.style.pointerEvents="none",this.entity.style.visibility="hidden",this.entity.src=p.normal||"",this.imageState=p,document.body.appendChild(this.entity)}getMiddlePos(){return{x:this.x_pos+Math.round(this.width/2),y:this.y_pos+Math.round(this.height/2)}}setImageState(i){this.imageState[i]&&(this.entity.src=this.imageState[i],this.entity.style.visibility="visible")}moveTowardsLocation(i,o){const n=i-this.getMiddlePos().x,r=o-this.getMiddlePos().y;n<0?(this.entity.style.left=this.x_pos-1+"px",this.x_pos-=1):n>0&&(this.entity.style.left=this.x_pos+1+"px",this.x_pos+=1),r<0?(this.entity.style.top=this.y_pos-1+"px",this.y_pos-=1):r>0&&(this.entity.style.top=this.y_pos+1+"px",this.y_pos+=1),Math.abs(n)<=y.threshold&&Math.abs(r)<=y.threshold?this.setImageState("normal"):Math.abs(n)<=y.threshold?r>0?this.setImageState("down"):this.setImageState("up"):Math.abs(r)<=y.threshold?n>0?this.setImageState("right"):this.setImageState("left"):n>0&&r>0?this.setImageState("down_right"):n>0&&r<0?this.setImageState("up_right"):n<0&&r>0?this.setImageState("down_left"):n<0&&r<0&&this.setImageState("up_left")}async moveToLocation(i,o){for(;!Se(this.getMiddlePos().x,this.getMiddlePos().y,i,o,y.threshold);)this.moveTowardsLocation(i,o),await O(y.gameTime)}};U(y,"threshold",6),U(y,"gameTime",5);let _=y;function ve(t){return new _({width:parseInt(t.style.width),height:parseInt(t.style.height),imageState:{normal:t.src}})}async function we(){let t=!1;const i={normal:"/imgs/goose_assets/duck_right.png",up:"/imgs/goose_assets/duck_up.png",down:"/imgs/goose_assets/duck_down.png",right:"/imgs/goose_assets/duck_right.png",left:"/imgs/goose_assets/duck_left.png",up_left:"/imgs/goose_assets/duck_up_left.png",up_right:"/imgs/goose_assets/duck_up_right.png",down_left:"/imgs/goose_assets/duck_down_left.png",down_right:"/imgs/goose_assets/duck_down_right.png"},o=new _({width:100,height:100,imageState:i,zIndex:"91000"});let n=0,r=0;document.addEventListener("mousemove",c=>{r=c.clientY,n=c.clientX});async function p(c){c&&(c.setImageState("normal"),await o.moveToLocation(c.x_pos,c.y_pos),await Promise.all([o.moveToLocation(n,r),c.moveToLocation(n,r)]))}async function u(){t=!0;const c=new _({x:15,y:Math.random()*window.innerHeight,width:100,height:100,imageState:{normal:`/imgs/goose_assets/memes/Meme${Math.round(Math.random()*7)}.png`},className:"duck_meme"});await o.moveToLocation(c.x_pos,c.y_pos),c.setImageState("normal"),t=!1}for(o.setImageState("normal");;){if(t){await O(_.gameTime);continue}o.moveTowardsLocation(n,r),Math.random()<.5&&(console.log("getting meme"),await u());let c=document.querySelector(".duck_meme");Math.random()<.5&&c&&(console.log("play with meme"),console.log(c),document.body.removeChild(c),await p(ve(c))),await O(_.gameTime)}}
1const F=({item:t,isUnlocked:i,isEquipped:o,isInBattlePassComponent:n=!1,dabloons:r,isPurchasing:p=!1,isHovered:u=!1,onPurchase:c,onEquip:S})=>{const f=r>=t.price,I=()=>t.id==="desktop_goose"?"Start":t.type===E.special?"Can't Equip":o?"Equipped":"Equip",w=()=>!t.asset_url&&!t.preview_emoji?null:e.jsxs("div",{style:{padding:"10px",textAlign:"center",minWidth:"200px",maxWidth:"300px"},children:[t.asset_url?e.jsx("img",{src:t.asset_url,alt:t.name,style:{maxWidth:"100%",maxHeight:"200px",objectFit:"contain",marginBottom:"10px"}}):e.jsx("div",{style:{fontSize:"3em",marginBottom:"10px"},children:t.preview_emoji}),e.jsx("div",{style:{fontWeight:"bold",marginBottom:"5px"},children:t.name}),e.jsx("div",{style:{fontSize:"0.9em",color:"#666"},children:t.description})]}),k=e.jsxs(M,{"data-item-id":t.id,className:`item-card ${t.rarity.name.toLowerCase()}-border ${u?"proximity-hover":""}`,style:{"--rarity-color":t.rarity.color,width:"200px",height:"200px",display:"flex",flexDirection:"column"},children:[e.jsx(M.Content,{style:{opacity:i?1:.6},children:e.jsxs(M.Header,{className:"item-name",children:[e.jsx("span",{className:"item-emoji",children:t.preview_emoji}),t.name,e.jsx("div",{className:`rarity-badge ${t.rarity.name.toLowerCase()}`,children:t.rarity.name})]})}),!n&&e.jsxs(M.Content,{extra:!0,style:{padding:"8px 14px"},children:[!i&&e.jsxs("div",{className:"item-actions",children:[e.jsxs("div",{className:"item-price-compact",children:[e.jsx(X,{name:"dollar sign"}),t.price.toLocaleString()]}),e.jsx(W,{primary:!0,fluid:!0,loading:p,disabled:!f,onClick:()=>c(t),style:{fontSize:"0.9em",padding:"8px"},children:f?"Purchase":"Not enough dabloons"})]}),i&&e.jsx("div",{className:"item-actions",children:e.jsx(W,{color:o?"green":"blue",fluid:!0,onClick:()=>S(t),style:{fontSize:"0.9em",padding:"8px"},children:I()})})]})]});return t.asset_url||t.preview_emoji?e.jsx(be,{trigger:k,content:w(),position:"top center",inverted:!0,on:"hover",hoverable:!0,hideOnScroll:!0}):k};F.propTypes={item:g.object.isRequired,isUnlocked:g.bool.isRequired,isEquipped:g.bool.isRequired,isInBattlePassComponent:g.bool,dabloons:g.number.isRequired,isPurchasing:g.bool,isHovered:g.bool,onPurchase:g.func.isRequired,onEquip:g.func.isRequired};const ke=()=>{const t=V(),i=b(J)||[],o=b(Q)||0,n=b(Y),[r,p]=j.useState(null),[u,c]=j.useState(new Set),S=b(le);j.useEffect(()=>{const s=a=>{const d=document.querySelectorAll(".item-card"),h=new Set,C=120;d.forEach(T=>{const z=T.getBoundingClientRect(),ne=z.left+z.width/2,oe=z.top+z.height/2;if(Math.sqrt(Math.pow(a.clientX-ne,2)+Math.pow(a.clientY-oe,2))<=C){const G=T.getAttribute("data-item-id");G&&h.add(G)}});const N=Array.from(h);(h.size!==u.size||!N.every(T=>u.has(T)))&&c(h)};return document.addEventListener("mousemove",s),()=>{document.removeEventListener("mousemove",s)}},[u]);const f=()=>{const s=["common","uncommon","rare","legendary","exotic"],a={};return Object.values(E).forEach(d=>{a[d]=[]}),P.filter(d=>d.type!==E.coin&&(i.some(h=>h.item===d.id)||d.listed===!0)).forEach(d=>{a[d.type]&&a[d.type].push(d)}),Object.keys(a).forEach(d=>{a[d]&&a[d].sort((h,C)=>{const N=s.indexOf(h.rarity.name.toLowerCase()),T=s.indexOf(C.rarity.name.toLowerCase());return N-T})}),a},I=(s,a)=>i.some(d=>d.item===s&&d.type===a),w=(s,a)=>{const d=P.find(h=>h.id===s);return a===E.icon?(S==null?void 0:S.icon)===(d==null?void 0:d.asset.url):i.some(h=>h.item===s&&h.type===a&&h.equipped===!0)},k=async s=>{if(o<s.price){alert("Not enough dabloons!");return}console.log("purchasing item",s),p(s.id);try{await t(ce(s.id,s.type,s.price))}catch(a){console.error("Purchase failed:",a),alert("Purchase failed. Please try again.")}finally{p(null)}},B=async s=>{if(s.id==="desktop_goose"){we();return}if(s.type===E.special){alert("You can't equip this item");return}if(s.type===E.icon){t(de(s.asset.url));return}const a=w(s.id,s.type);if(!a){const d=i.filter(h=>h.type===s.type&&h.equipped===!0);for(const h of d)await t($(h.item,!1))}await t($(s.id,!a))},A=s=>{const a=I(s.id,s.type),d=w(s.id,s.type),h=r===s.id,C=u.has(s.id);return e.jsx(F,{item:s,isUnlocked:a,isEquipped:d,isInBattlePassComponent:!1,dabloons:o,isPurchasing:h,isHovered:C,onPurchase:k,onEquip:B},s.id)},L=(s,a)=>a.length===0?null:e.jsxs("div",{className:"item-type-section",children:[e.jsxs(m,{as:"h3",dividing:!0,className:"type-header",children:[s.charAt(0).toUpperCase()+s.slice(1),e.jsxs(m.Subheader,{children:[a.length," thing",a.length!==1?"s":""," available"]})]}),e.jsx(M.Group,{stackable:!0,itemsPerRow:3,doubling:!0,children:a.map(d=>A(d))})]},s);if(n!=null&&n.Items)return e.jsx(R,{loading:!0,style:{minHeight:"200px"},children:"Loading items..."});const q=f(),l=P.filter(s=>s.listed).length,v=i.length;return e.jsxs("div",{className:"items-shop",children:[e.jsx("div",{className:"shop-header",children:e.jsxs(m,{as:"h2",icon:!0,textAlign:"center",children:[e.jsx(X,{name:"shop"}),"The Cache",e.jsxs(m.Subheader,{children:["Dabloons: ",e.jsx("strong",{children:o.toLocaleStr
1ing()})," | Items Unlocked:"," ",e.jsxs("strong",{children:[v,"/",l]})]})]})}),l===0?e.jsxs(K,{info:!0,children:[e.jsx(K.Header,{children:"No items available"}),e.jsx("p",{children:"Check back later for new items!"})]}):e.jsx("div",{className:"shop-content",children:Object.entries(q).map(([s,a])=>e.jsx("div",{id:s,children:L(s,a)},s))})]})};function Ce(t){return Math.min(100+(t-1)*10,500)}function _e(t){return t<=0?0:t<=40?5*t*t+95*t:500*t-8200}function te(t=0){return t<100?0:t>=11800?40+Math.floor((t-11800)/500):Math.floor((-95+Math.sqrt(9025+20*t))/10)}function Ie(t=0){return _e(te(t)+1)-t}const se=({items:t=P})=>{var L,q;const i=b(J),o=ee(),n=b(he),r=(L=b(Y))==null?void 0:L.BattlePass,p=(q=b(Y))==null?void 0:q.Items,u=V(),[c,S]=j.useState({days:0,hours:0,minutes:0,seconds:0}),f=te(n||0),I=Ie(n||0),w=Ce(f+1),k=(w-I)/w*100,B=()=>{const l=new Date(xe),v=new Date,s=l.getTime()-v.getTime();if(s>0){const a=Math.floor(s/864e5),d=Math.floor(s%(1e3*60*60*24)/(1e3*60*60)),h=Math.floor(s%(1e3*60*60)/(1e3*60)),C=Math.floor(s%(1e3*60)/1e3);return{days:a,hours:d,minutes:h,seconds:C}}return{days:0,hours:0,minutes:0,seconds:0}},A=[];for(let l=1;l<=t.length;l++){const v=t[l-1],s=l<=f;A.push({tier:l,item:v,isUnlocked:s})}return j.useEffect(()=>{S(B());const l=setInterval(()=>{S(B())},1e3);return()=>clearInterval(l)},[]),j.useEffect(()=>{if(!r&&!p&&o.userId&&(i==null?void 0:i.length)>=0)for(let l=1;l<=t.length;l++){const v=t[l-1],s=l<=f;if(o.userId&&s&&i!=null&&!(i!=null&&i.some(a=>a.item===v.id)))try{u(pe(v.id,{silenceError:!0}))}catch{}}},[i==null?void 0:i.length,i,o.userId,t,f,u,r,p]),j.useEffect(()=>{o.userId&&u(ue(o.userId))},[o.userId,n,u]),r?e.jsx(R,{loading:!0,style:{minHeight:"400px"},children:"Loading B4tt1e P4ss..."}):e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
2          @keyframes shine {
3            0% { left: -100%; }
4            100% { left: 100%; }
5          }
6          
7          @keyframes shimmer {
8            0% { transform: translateX(-100%); }
9            100% { transform: translateX(100%); }
10          }
11          
12          @keyframes slideShine {
13            0% { left: -100%; }
14            100% { left: 100%; }
15          }
16          
17          /* Custom scrollbar */
18          div::-webkit-scrollbar {
19            height: 8px;
20          }
21          
22          div::-webkit-scrollbar-track {
23            background: rgba(255, 255, 255, 0.1);
24            border-radius: 10px;
25          }
26          
27          div::-webkit-scrollbar-thumb {
28            background: linear-gradient(90deg, #667eea, #764ba2);
29            border-radius: 10px;
30          }
31          
32          div::-webkit-scrollbar-thumb:hover {
33            background: linear-gradient(90deg, #764ba2, #f093fb);
34          }
35        `}),e.jsx("div",{style:{padding:"20px"},children:e.jsx(H,{children:e.jsxs(x,{stackable:!0,children:[e.jsxs(x.Row,{style:{marginBottom:0},children:[e.jsx(x.Column,{width:8,style:{paddingBottom:0},children:e.jsxs("div",{style:{background:"#fff",borderRadius:"8px 8px 0 0",padding:"20px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)",border:"1px solid #e0e0e0"},children:[e.jsxs(m,{as:"h2",textAlign:"center",style:{fontSize:"1.8rem",fontWeight:"700",margin:"0 0 15px 0",color:"#333"},children:["TIER ",f]}),e.jsxs("p",{style:{textAlign:"center"},children:["Season Total XP: ",n]}),e.jsxs("div",{style:{background:"#f8f9fa",borderRadius:"8px",padding:"15px",marginBottom:"15px",border:"1px solid #e9ecef"},children:[e.jsxs("p",{style:{textAlign:"center",margin:"0 0 15px 0",fontSize:"16px",fontWeight:"600",color:"#495057"},children:[I.toLocaleString()," Season XP to next tier"]}),e.jsx("div",{style:{background:"#e9ecef",borderRadius:"10px",height:"12px",overflow:"hidden"},children:e.jsx("div",{style:{width:`${k}%`,height:"100%",background:"#007bff",borderRadius:"10px"}})}),e.jsxs("p",{style:{textAlign:"center",margin:"8px 0 0 0",fontSize:"12px",color:"#6c757d"},children:[k.toFixed(1),"% Complete"]})]})]})}),e.jsx(x.Column,{width:8,style:{paddingBottom:0},children:e.jsxs("div",{style:{background:"#fff",borderRadius:"8px 8px 0 0",padding:"20px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)",border:"1px solid #e0e0e0",height:"100%",display:"flex",flexDirection:"column",justifyContent:"center"},children:[e.jsxs(m,{as:"h1",style:{margin:"0 0 5px 0",fontSize:"2rem",fontWeight:"700",textAlign:"center",color:"#333"},children:["SEASON ",Z]}),e.jsx("div",{style:{textAlign:"center",marginBottom:"10px",fontSize:"1.2rem",fontWeight:"500",color:"#666",fontStyle:"italic"},children:ge}),e.jsxs("div",{style:{background:"#f8f9fa",borderRadius:"8px",padding:"15px",textAlign:"center",border:"1px solid #e9ecef"},children:[e.jsx("p",{style:{margin:"0 0 10px 0",fontSize:"14px",fontWeight:"600",color:"#dc3545"},children:"Season Ends In:"}),e.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"15px",flexWrap:"wrap"},children:[e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx("div",{style:{fontSize:"20px",fontWeight:"700",color:"#dc3545",lineHeight:"1"},children:c.days}),e.jsx("div",{style:{fontSize:"10px",color:"#6c757d",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Days"})]}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx("div",{style:{fontSize:"20px",fontWeight:"700",color:"#dc3545",lineHeight:"1"},children:c.hours.toString().padStart(2,"0")}),e.jsx("div",{style:{fontSize:"10px",color:"#6c757d",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Hours"})]}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx("div",{style:{fontSize:"20px",fontWeight:"700",color:"#dc3545",lineHeight:"1"},children:c.minutes.toString().padStart(2,"0")}),e.jsx("div",{style:{fontSize:"10px",color:"#6c757d",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Minutes"})]}),e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx("div",{style:{fontSize:"20px",fontWeight:"700",color:"#dc3545",lineHeight:"1"},children:c.seconds.toString().padStart(2,"0")}),e.jsx("div",{style:{fontSize:"10px",color:"#6c757d",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Seconds"})]})]})]})]})})]}),e.jsx(x.Row,{style:{marginTop:0,paddingTop:0},children:e.jsx(x.Column,{width:16,style:{paddingTop:0},children:e.jsxs("div",{style:{background:"#fff",borderRadius:"0 0 8px 8px",padding:"20px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)",border:"1px solid #e0e0e0",borderTop:"none"},children:[e.jsx(m,{as:"h3",style:{marginBottom:"20px",textAlign:"center",fontSize:"1.5rem",fontWeight:"700",color:"#333"},children:"B4tt1e P4ss Tiers"}
35),e.jsx("div",{style:{display:"flex",overflowX:"auto",gap:"15px",paddingBottom:"10px"},children:A.map(l=>e.jsxs("div",{style:{minWidth:"180px",display:"flex",flexDirection:"column",alignItems:"center",gap:"10px",padding:"15px",background:l.isUnlocked?"#f8fff8":"#f8f9fa",borderRadius:"8px",border:l.isUnlocked?"2px solid #28a745":"2px solid #dee2e6",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",opacity:l.isUnlocked?1:.7},children:[e.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"50%",background:l.isUnlocked?"#28a745":"#6c757d",color:"white",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"700",fontSize:"16px"},children:l.tier}),e.jsxs("div",{style:{position:"relative",zIndex:1},children:[e.jsx(F,{item:l.item,isUnlocked:l.isUnlocked,isEquipped:!1,isInBattlePassComponent:!0,dabloons:n||0,onPurchase:()=>{},onEquip:()=>{}}),!l.isUnlocked&&e.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(0, 0, 0, 0.6)",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"20px"},children:"🔒"})]}),e.jsx("div",{style:{padding:"6px 12px",borderRadius:"12px",background:l.isUnlocked?"#28a745":"#6c757d",color:"white",fontSize:"12px",fontWeight:"600"},children:l.isUnlocked?"UNLOCKED":"LOCKED"})]},l.tier))})]})})})]})})})]})};se.propTypes={items:g.array};function ie({user:t,dabloons:i,navigate:o}){const[n,r]=j.useState(!1);return e.jsx(H,{fluid:!0,style:{maxWidth:"1400px",marginBottom:"2rem"},children:e.jsx(R,{style:{borderRadius:"10px"},children:e.jsxs(D,{children:[e.jsxs(D.Title,{active:n,onClick:()=>r(!n),style:{display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:"1.2rem",fontWeight:"bold"},children:[e.jsxs("div",{children:[e.jsx("span",{style:{fontSize:"1.5rem",marginRight:"0.5rem"},children:"¢"}),"How do Dabloons work?"]}),e.jsx(X,{name:n?"chevron up":"chevron down"})]}),e.jsx(D.Content,{active:n,children:e.jsx("div",{style:{padding:"1rem 0"},children:e.jsxs(x,{stackable:!0,columns:2,children:[e.jsxs(x.Column,{width:10,children:[e.jsx(m,{as:"h3",children:"How to Earn Dabloons"}),e.jsx("p",{style:{fontSize:"1rem",lineHeight:"1.5",marginBottom:"1rem"},children:"You earn Dabloons automatically by using the site and participating in classes!"}),t!=null&&t.currentStreak&&t.currentStreak>0?e.jsxs("div",{style:{padding:"1rem",backgroundColor:"#f0f8ff",borderRadius:"8px",marginBottom:"1rem",border:"2px solid #4CAF50"},children:[e.jsx("strong",{style:{color:"#2E7D32"},children:"🔥 Streak Bonus Active!"}),e.jsx("br",{}),"You're earning ",e.jsx("strong",{children:"2x Dabloons"})," because you have a ",t==null?void 0:t.currentStreak," day streak!"]}):e.jsxs("div",{style:{padding:"1rem",backgroundColor:"#fff0f0",borderRadius:"8px",marginBottom:"1rem",border:"2px solid #ff6b6b"},children:[e.jsx("strong",{style:{color:"#d63031"},children:"🚫 Streak Bonus Inactive!"}),e.jsx("br",{}),"You're earning ",e.jsx("strong",{children:"1x Dabloons"})," because you don't have a streak!",e.jsx("br",{}),e.jsx(W,{size:"small",color:"red",style:{marginTop:"0.5rem"},onClick:()=>o("/streak"),children:"Start Your Streak! 🔥"})]}),e.jsx(m,{as:"h3",children:"How to Spend Dabloons"}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:e.jsxs("div",{children:["• ",e.jsx("strong",{children:"100¢+"})," - Buy specific things directly from the cache! Like new study sets, or new classes!"]})})]}),e.jsx(x.Column,{width:6,style:{textAlign:"center"},children:e.jsxs("div",{style:{padding:"2rem",backgroundColor:"#f8f9fa",borderRadius:"10px"},children:[e.jsx("div",{style:{fontSize:"3rem",marginBottom:"0.5rem"},children:"¢"}),e.jsx(m,{as:"h3",children:"Your Balance"}),e.jsx("div",{style:{fontSize:"2rem",fontWeight:"bold",color:"#2E7D32"},children:i.toLocaleString()})]})})]})})})]})})})}ie.propTypes={user:g.object.isRequired,dabloons:g.number.isRequired,navigate:g.func.isRequired};function Ye(){const t=ee(),i=me(),o=b(Q),n=b(fe);return j.useEffect(()=>{const r=window.location.hash;if(r&&!n){const p=document.getElementById(r.substring(1));p&&p.scrollIntoView({behavior:"smooth",block:"center"})}},[n]),e.jsxs("div",{style:{minHeight:"100vh",padding:"2rem 0",fontFamily:'"Segoe UI", Tahoma, Geneva, Verdana, sans-serif'},children:[e.jsx(je,{seo:{title:"Cache Store - Earn Dabloons & Unlock Rewards",de
35scription:"Earn Dabloons by playing games! Spend them in the cache store to unlock exclusive items, a battle pass, profile icons, game skins, and special rewards.",keywords:"game store, dabloons, in-game currency, rewards, unlockables, items"},regular:{title:`${ye(!0)} - Study Sets`,description:"Find new study sets to study!"}}),t.userId?e.jsx(ie,{user:t,dabloons:o,navigate:i}):e.jsx(H,{fluid:!0,style:{maxWidth:"1400px",marginBottom:"2rem"},children:e.jsxs(R,{style:{textAlign:"center"},children:[e.jsx(m,{as:"h1",children:"Login to Start Earning Dabloons"}),e.jsx("p",{children:"Dabloons are the reward of our flashcard site. You can earn them by using the site and participating in classes!"}),e.jsx(W,{onClick:()=>i("/auth"),children:"Login"})]})}),e.jsxs(H,{fluid:!0,style:{maxWidth:"1400px"},children:[e.jsx(se,{items:P.filter(r=>r.battlepass_season===Z)}),e.jsxs(x,{stackable:!0,columns:2,style:{margin:0},children:[e.jsx(x.Column,{width:6,style:{paddingRight:"1rem"},children:e.jsx("div",{style:{position:"sticky",top:"2rem"}})}),e.jsx(x.Column,{width:16,style:{paddingLeft:"1rem"},children:e.jsx(R,{style:{backgroundColor:"rgba(255, 255, 255, 0.95)",borderRadius:"20px",padding:"2rem",border:"1px solid rgba(0, 0, 0, 0.1)",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.1)",minHeight:"600px",margin:0},children:e.jsx(ke,{})})})]})]})]})}export{Ye as default};

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.