1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.es-CsBCdPj2.js","assets/index-CiajkjIR.js","assets/index-DjByUfik.css","assets/CryptoMarketsSection-BWDIl7nP.js","assets/session-1pMhuUoh.js","assets/TribesSection-BXOE1Icm.js","assets/LootboxSection-DZnHsq3n.js","assets/index-DPbaFesu.js","assets/TribesPickerDevPage-B43YCcsO.js"])))=>i.map(i=>d[i]); 2var hh=Object.defineProperty;var gh=(t,s,a)=>s in t?hh(t,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[s]=a;var lt=(t,s,a)=>gh(t,typeof s!="symbol"?s+"":s,a);import{r as m,cj as bh,ck as Ch,a1 as X,cl as jh,cm as Ar,ar as vh,F as At,G as Ze,M as K1,cn as wh,b as ts,co as yh,j as e,t as n,a2 as ke,a$ as Se,q as te,l as Vt,H as zt,I as js,cp as rt,_ as g1,a6 as _h,a7 as vn,m as n8,a9 as Wt,cq as Nh,cr as kh,cs as V2,ct as Sh,ad as ue,cu as Ah,ak as q1,aj as il,bL as ol,bx as ni,al as bs,bF as Ke,C as U,bl as Lh,cv as l8,cw as Mh,cx as xs,cy as Bh,ap as Eh,by as md,cz as Rh,cA as li,a4 as H1,cB as Th,cC as z2,cD as Ih,cE as r8,cF as i8,cG as G2,cH as o8,cI as ri,cJ as ii,cK as Fh,cL as c8,cM as Oh,cN as K0,cO as Dh,cP as d8,cQ as $h,cR as Ph,cS as Hh,cT as Z2,cU as Uh,cV as Vh,cW as u8,X as m8,bC as mt,bB as zh,N as oi,c2 as ci,c4 as Gh,bD as Dn,o as di,b0 as Zh,s as Wh,bX as ht,cX as x8,cY as Kh,cZ as qh,aw as Yh,c_ as Xh,c$ as Jh,d0 as Qh,bT as eg,af as tg,d1 as sg,d2 as ag,ag as ng,d3 as lg,d4 as rg,d5 as ig,d6 as og,d7 as cg,d8 as xd,bA as ui,d9 as dg,da as ug,db as mg,dc as f8,dd as xg,k as fg,de as W2,df as p8,dg as h8,dh as g8,di as b8,dj as K2,dk as pg,dl as C8,dm as j8,dn as hg,dp as gg,dq as bg,dr as Cg,ds as Y1,dt as cl,du as q2,dv as jg,dw as Aa,dx as vg,dy as v8,dz as wg,dA as yg,dB as _g,dC as Ng,dD as w8,dE as y8,dF as kg,dG as Sg,dH as Ag,dI as Lg,n as Mg,dJ as dl,dK as mi,dL as Bg,dM as Eg,dN as Rg,dO as Tg,a3 as Ig,dP as Fg,dQ as fd,dR as Og,dS as Dg,dT as $g,dU as Pg,dV as Hg,dW as Ug,dX as Vg,dY as zg,dZ as _o,d_ as No,d$ as Gg,e0 as Zg,e1 as Wg,e2 as Kg,e3 as qg,e4 as Yg,e5 as Xg,e6 as Jg,e7 as Qg,e8 as eb,e9 as tb,ea as sb,eb as ab,ec as _8,ed as N8,ee as nb,ef as lb,eg as rb,eh as ib,ei as ob,ej as cb,ek as db,el as k8,em as S8,en as ub,eo as mb,ep as xb,eq as fb,er as pb,es as hb,et as gb,eu as bb,ev as Cb,ew as jb,ex as vb,ey as wb,ez as yb,eA as A8,eB as L8,eC as M8,eD as _b,eE as Nb,eF as B8,eG as q0,eH as kb,eI as pd,eJ as Sb,eK as hd,eL as Ab,eM as Lb,eN as Mb,eO as Bb,eP as Eb,eQ as Rb,eR as Tb,eS as Ib,eT as Fb,eU as E8,eV as a1,eW as Ob,eX as Db,$ as R8,eY as T8,eZ as $b,e_ as Pb,e$ as Hb,f0 as Ub,f1 as Vb,f2 as zb,f3 as Gb,f4 as Zb,f5 as Wb,f6 as ko,f7 as gd,f8 as Kb,f9 as qb,fa as Yb,fb as Xb,fc as Jb,fd as Qb,fe as eC,a as tC,ff as sC,fg as aC,fh as Zl,fi as nC}from"./index-CiajkjIR.js";import{v as lC,O as Mt,w as at,M as I8,T as Ae,x as Y2,y as Y,z as W,A as rC,B as X2,E as iC,F as oC,G as _e,H as cC,c as C,I as We,J as O,K as b1,S as ul,N as dC,P as uC,Q as mC,e as g,R as La,V as ml,X as xi,Y as xl,Z as fl,_ as J2,a0 as xC,a1 as ct,a2 as $s,a3 as la,L as De,a4 as ce,a5 as F8,a6 as Q2,a7 as fC,a8 as e3,a9 as pC,aa as O8,ab as So,ac as D8,ad as U1,ae as t3,af as s3,ag as $e,ah as hC,ai as ra,aj as Qt,ak as $8,al as gC,am as bC,an as fi,ao as P8,ap as H8,aq as a3,ar as n3,as as U8,at as l3,au as CC,av as bd,aw as jC,ax as V8,ay as vC,az as wC,aA as yC,aB as Cd,aC as _C,aD as NC,aE as kC,aF as SC,aG as AC,aH as LC,aI as MC,aJ as z8,aK as G8,aL as Z8,aM as BC,aN as EC,aO as RC,aP as TC,aQ as IC,aR as FC,aS as r3,aT as Y0,aU as i3,aV as W8,aW as OC,aX as DC,aY as $C,aZ as PC,a_ as Et,a$ as HC,b0 as UC,b1 as VC,b2 as zC,b3 as wn,b4 as oe,b5 as K8,b6 as GC,b7 as ZC,b8 as WC,b9 as q8,ba as KC,bb as qC,bc as YC,bd as XC,be as JC,bf as QC,bg as ej,bh as jd,bi as tj,bj as sj,bk as aj,bl as nj,bm as lj,bn as rj,bo as ij,bp as oj,bq as cj,br as o3,bs as dj,bt as Ps,bu as Je,bv as c3,bw as uj,bx as mj,by as xj,bz as be,bA as d3,bB as fj,bC as pj,bD as ps,bE as ot,bF as Y8,bG as Ma,bH as Ve,bI as Ba,bJ as c1,bK as Fs,bL as Os,bM as n1,bN as V1,bO as Ea,bP as X8,bQ as Nt,bR as sa,bS as d1,bT as Ut,bU as z1,bV as xt,bW as J8,bX as u3,bY as Q8,bZ as m3,b_ as x3,b$ as f3,c0 as p3,c1 as e7,c2 as Xa,c3 as t7,c4 as pl,c5 as hj,c6 as es,c7 as ve,C as we,c8 as gj,c9 as h3,ca as Ra,cb as g3,cc as bj,cd as Cj,ce as jj,cf as b3,cg as s7,ch as a7,ci as n7,cj as l7,ck as r7,cl as vj,cm as C3,cn as wj,co as i7,cp as o7,cq as yj,cr as j3,cs as Lr,ct as X0,cu as $n,cv as c7,cw as _j,cx as Nj,cy as d7,cz as u7,cA as kj,cB as Sj,cC as Aj,cD as Lj,cE as Mj,cF as m7,cG as x7,cH as f7,cI as vd,cJ as Bj,cK as Ej,cL as p7,cM as v3,cN as ss,cO as Ta,cP as Rj,cQ as w3,cR as Tj,cS as Ij,cT as Fj,cU as Oj,cV as Dj,cW as $j,cX as Pj,cY as Hj,cZ as Uj,c_ as Vj,c$ as hl,d0 as wd,d1 as zj,d2 as ia,d3 as J0,d4 as Gj,d5 as pi,d6 as G1,d7 as Zj,d8 as Wj,d9 as h7,da as g7,db as b7,dc as Kj,dd as qj,de as y3,df as C7,dg as Yj,dh as Xj,di as j7,dj as Jj,dk as _3,dl as Qj,dm as v7,dn as Q0,dp as u1,dq as Mr,dr as vs,ds as ws,dt as ys,du as _s,dv as Ns,dw as ks,dx as ev,dy as He,dz as tv,dA as sv,dB as Hs,dC as av,dD as ea,dE as w7,dF as nv,dG as Ue,dH as lv,dI as Bt,dJ as rv,dK as y7,dL as X1,dM as _7,dN as iv,dO as ov,dP as Pn,dQ as cv,dR as dv,dS as uv,dT as mv,dU as xv,dV as N7,dW as Br,dX as fv,dY as Er,dZ as Rr,d_ as k7,d$ as pv,e0 as S7,e1 as A7,e2 as hv,e3 as hs,e4 as gv,e5 as bv,e6 as Cv,e7 as St,e8 as jv,e9 as vv,ea as wv,eb as yv,ec as _v,ed as Nv,ee as qt,ef as kv,eg as Sv,eh as e2,ei as Av,ej as Lv,ek as Mv,el as vt,em as Bv,en as Ev,eo as L7,ep as Rv,eq as Tv,er as Iv,es as M7,et as Fv,eu as Ov,ev as Dv,ew as $v,ex as Ye,ey as Pv,ez as Hv,eA as Uv,eB as Vv,eC as gl,eD as B7,eE as Tr,eF as zv,eG as Gv,eH as Zv,eI as bl,eJ as Wv,eK as Pe,eL as t2,eM as Kv,eN as jt,eO as ze,eP as s2,eQ as qv,eR as Yv,eS as Xv,eT as Jv,eU as Ts,eV as Qv,eW as ew,eX as yd,eY as tw,eZ as _d,e_ as sw,e$ as aw,f0 as nw,f1 as lw,f2 as rw,f3 as iw,f4 as ow,f5 as cw,f6 as J1,f7 as hi,f8 as N3,f9 as k3,fa as kt,fb as gi,fc as dw,fd as E7,fe as bi,ff as R
27,fg as uw,fh as mw,fi as xw,fj as T7,fk as fw,fl as pw,fm as hw,fn as gw,fo as I7,fp as bw,fq as S3,fr as Cw,fs as jw,ft as vw,fu as ww,fv as yw,fw as _w,fx as Nw,fy as Nd,fz as F7,fA as Ao,fB as kd,fC as Lo,fD as Mo,fE as Sd,fF as pa,fG as a2,fH as kw,fI as Sw,fJ as Aw,fK as Lw,fL as Va,fM as Mw,fN as Bw,fO as Oa,fP as Ew,fQ as Rw,fR as Tw,fS as Iw,fT as Fw,fU as Ow,fV as Dw,fW as $w,fX as Ad,fY as Pw,fZ as O7,f_ as Hw,f$ as Uw,g0 as Vw,g1 as zw,g2 as ka,g3 as Gw,g4 as Zw,g5 as Ww,g6 as Kw,g7 as qw,g8 as A3,g9 as Ld,ga as Yw,gb as L3,gc as Xw,gd as Jw,ge as Qw,gf as ey,gg as ty,gh as sy,gi as ay,gj as ny,gk as ly,gl as Wl,gm as Kl,gn as ry,go as Md,gp as D7,gq as $7,gr as yn,gs as M3,gt as P7,gu as iy,gv as oy,gw as cy,gx as dy,gy as uy,gz as my,gA as xy,gB as fy,gC as py,gD as hy,gE as gy,gF as by,gG as Ci,gH as Cy,gI as jy,gJ as H7,gK as n2,gL as vy,gM as wy,gN as yy,gO as m1,gP as Cs,gQ as as,gR as _y,gS as U7,gT as Ny,gU as ky,gV as Sy,gW as B3,gX as V7,gY as ji,gZ as Ay,g_ as Ly,g$ as it,h0 as vi,h1 as z7,h2 as My,h3 as E3,h4 as By,h5 as Ey,h6 as Ry,h7 as C1,h8 as Ty,h9 as wi,ha as Iy,hb as Fy,hc as Oy,hd as Dy,he as G7,hf as $y,hg as ql,hh as Py,hi as Z7,hj as Hy,hk as Uy,hl as Vy,hm as zy,hn as Gy,ho as Zy,hp as Wy,hq as Ky,hr as qy,hs as Yy,ht as Xy,hu as W7,hv as Jy,hw as Qy,hx as gr,hy as Dt,hz as e_,hA as t_,hB as s_,hC as Bo,hD as a_,hE as n_,hF as l_,hG as r_,hH as i_,hI as o_,hJ as c_,hK as d_,hL as u_,hM as Bd,hN as m_,hO as x_,hP as f_,hQ as p_,hR as K7,hS as q7,hT as Y7,hU as h_,hV as X7,hW as x1,hX as Ed,hY as g_,hZ as $t,h_ as b_,h$ as C_,i0 as j_,i1 as v_,i2 as w_,i3 as y_,i4 as __,i5 as N_,i6 as k_,i7 as S_,i8 as A_,i9 as L_,ia as M_,ib as Rd,ic as B_,id as E_,ie as R_,ig as T_,ih as I_,ii as F_,ij as Xn,ik as O_,il as l2,im as Eo,io as D_,ip as $_,iq as P_,ir as H_,is as U_,it as V_,iu as z_,iv as G_,iw as Ro,ix as Z_,iy as Ks,iz as Q1,iA as W_,iB as K_,iC as q_,iD as Y_,iE as X_,iF as J_,iG as Q_,iH as eN,iI as tN,iJ as sN,iK as aN,iL as Td,iM as Id,iN as nN,iO as lN,iP as Fd,iQ as rN,iR as iN,iS as oN,iT as cN,iU as dN,iV as uN,iW as mN,iX as xN,iY as fN,iZ as pN,i_ as hN,i$ as gN,j0 as bN,j1 as CN,j2 as jN,j3 as vN,j4 as J7,j5 as wN,j6 as yN,j7 as _N,j8 as NN,j9 as kN,ja as Q7,jb as eu,jc as SN,jd as AN,je as LN,jf as MN,jg as BN,jh as EN,ji as RN,jj as TN,jk as br,jl as IN,jm as FN,jn as ON,jo as DN,jp as $N,jq as PN,jr as HN,js as UN,jt as VN,ju as zN,jv as GN,jw as ZN,jx as WN,jy as KN,jz as qN,jA as YN,jB as XN,jC as JN,jD as Od,jE as QN,jF as ek,jG as Dd,jH as tu,jI as tk,jJ as sk,jK as su,jL as au,jM as yi,jN as nu,jO as $d,jP as ak,jQ as nk,jR as lk,jS as rk,jT as ik,jU as ok,jV as ck,jW as dk,jX as uk,jY as Pd,jZ as mk,j_ as xk,j$ as fk,k0 as pk,k1 as lu,k2 as Jn,k3 as R3,k4 as hk,k5 as gk,k6 as bk,k7 as Ck,k8 as jk,k9 as ru,ka as vk,kb as iu,kc as wk,kd as yk,ke as Ht,kf as _k,kg as Nk,kh as kk,ki as Sk,kj as ou,kk as Rs,kl as Ak,km as Lk,kn as Mk,ko as Hd,kp as Bk,kq as Ek,kr as Ud,ks as Cr,kt as Yl,ku as Rk,kv as Tk,kw as Ik,kx as Fk,ky as Ok,kz as Dk,kA as $k,kB as Pk,kC as Hk,kD as _n,kE as Uk,kF as Vk,kG as zk,kH as Gk,kI as Zk,kJ as _i,kK as Wk,kL as Kk,kM as qk,kN as Yk,kO as Xk,kP as To,kQ as Q,kR as cu,kS as Qa,kT as Jk,kU as Qk,kV as eS,kW as tS,kX as sS,kY as aS,kZ as nS,k_ as du,k$ as lS,l0 as rS,l1 as Xt,l2 as iS,l3 as oS,l4 as cS,l5 as dS,l6 as uS,l7 as mS,l8 as Vd,l9 as xS,la as fS,lb as pS,lc as hS,ld as gS,le as bS,lf as CS,lg as jS,lh as vS,li as wS,lj as zd,lk as yS,ll as _S,lm as NS,ln as kS,lo as SS,lp as AS,lq as LS,lr as uu,ls as Ir,lt as MS,lu as T3,lv as BS,lw as ES,lx as RS,ly as TS,lz as IS,lA as FS,lB as OS,lC as DS,lD as $S,lE as PS,lF as HS,lG as Fr,lH as mu,lI as US,lJ as Gd,lK as Io,lL as Zd,lM as VS,lN as zS,lO as Wd,lP as GS,lQ as ZS,lR as WS,lS as I3,lT as se,lU as xu,lV as KS,lW as qS,lX as YS,lY as XS,lZ as JS,l_ as QS,l$ as eA,m0 as tA,m1 as sA,m2 as aA,m3 as nA,m4 as lA,m5 as rA,m6 as iA,m7 as oA,m8 as cA,m9 as fu,ma as pu,mb as dA,mc as uA,md as mA,me as xA,mf as fA,mg as pA,mh as hA,mi as gA,mj as bA,mk as Yt,ml as CA,mm as Ni,mn as jA,mo as Kd,mp as vA,mq as qd,mr as Na,ms as hu,mt as gu,mu as bu,mv as wA,mw as yA,mx as _A,my as NA,mz as kA,mA as SA,mB as AA,mC as F3,mD as LA,mE as Yd,mF as MA,mG as BA,mH as EA,mI as RA,mJ as TA,mK as IA,mL as FA,mM as Cu,mN as Xd,mO as OA,mP as DA,mQ as $A,mR as PA,mS as HA,mT as UA,mU as VA,mV as zA,mW as GA,mX as O3,mY as D3,mZ as
2ju,m_ as ZA,m$ as WA,n0 as KA,n1 as qA,n2 as Jd,n3 as YA,n4 as XA,n5 as JA,n6 as QA,n7 as Fo,n8 as Qd,n9 as eL,na as vu,nb as tL,nc as sL,nd as aL,ne as nL,nf as lL,ng as rL,nh as iL,ni as oL,nj as wu,nk as cL,nl as dL,nm as uL,nn as mL,no as xL,np as fL,nq as pL,nr as e6,ns as t6,nt as hL,nu as gL,nv as bL,nw as Oo,nx as Do,ny as S1,nz as CL,nA as jL,nB as yu,nC as _u,nD as vL,nE as wL,nF as Nu,nG as yL,nH as _L,nI as NL,nJ as kL,nK as SL,nL as AL,nM as LL,nN as ML,nO as BL,nP as EL,nQ as ku,nR as RL,nS as TL,nT as IL,nU as FL,nV as Su,nW as OL,nX as DL,nY as ki,nZ as Au,n_ as $L,n$ as PL,o0 as HL,o1 as Lu,o2 as UL,o3 as VL,o4 as zL,o5 as GL,o6 as ZL,o7 as WL,o8 as KL,o9 as qL,oa as YL,ob as XL,oc as JL,od as QL,oe as Ia,of as $o,og as eM,oh as tM,oi as Mu,oj as sM,ok as Xl,ol as aM,om as nM,on as lM,oo as rM,op as iM,oq as oM,or as cM,os as dM,ot as Bu,ou as uM,ov as mM,ow as xM,ox as fM,oy as pM,oz as s6,oA as hM,oB as gM,oC as a6,oD as jr,oE as bM,oF as CM,oG as Is,oH as n6,oI as jM,oJ as l6,oK as vM,oL as wM,oM as yM,oN as _M,oO as NM,oP as kM,oQ as SM,oR as AM,oS as LM,oT as Eu,oU as MM,oV as BM,oW as Ru,oX as qs,oY as EM,oZ as RM,o_ as TM,o$ as r6,p0 as i6,p1 as IM,p2 as o6,p3 as FM,p4 as Tu,p5 as OM,p6 as DM,p7 as $M,p8 as PM,p9 as HM,pa as UM,pb as VM,pc as zM,pd as c6,pe as GM,pf as Iu,pg as Fu,ph as Ou,pi as Du,pj as ZM,pk as WM,pl as KM,pm as qM,pn as YM,po as XM,pp as JM,pq as QM,pr as eB,ps as tB,pt as sB,pu as d6,pv as aB,pw as nB,px as lB,py as rB,pz as iB,pA as oB,pB as cB,pC as dB,pD as uB,pE as mB,pF as xB,pG as u6,pH as fB,pI as pB,pJ as hB,pK as m6,pL as gB,pM as bB,pN as CB,pO as jB,pP as $u,pQ as vB,pR as Pu,pS as l1,pT as wB,pU as yB,pV as _B,pW as NB,pX as kB,pY as SB,pZ as AB,p_ as $3,p$ as LB,q0 as MB,q1 as BB,q2 as EB,q3 as Hu,q4 as H,q5 as Uu,q6 as x6,q7 as RB,q8 as TB,q9 as IB,qa as FB,qb as OB,qc as DB,qd as $B,qe as Vu,qf as zu,qg as PB,qh as HB,qi as UB,qj as VB,qk as zB,ql as GB,qm as ZB,qn as Gu,qo as WB,qp as KB,qq as qB,qr as YB,qs as XB,qt as JB,qu as QB,qv as eE,qw as tE,qx as sE,qy as aE,qz as nE,qA as lE,qB as rE}from"./session-1pMhuUoh.js";const iE=({cellIndex:t,isPlaying:s,isAutoplayPlaying:a,mines:l,selectedCells:r,selectedCellsWithNoResult:i,isAutoPlay:o})=>{const d=r.includes(t),u=l.includes(t);return o&&!a?d?"autoPlaySelected":"initial":s?d?i.includes(t)?"selected":u?o?"autoPlaySelectedMine":"selectedMine":o?"autoPlaySelectedDiamond":"selectedDiamond":"initial":r.length===0?"initial":d?i.includes(t)?"selected":u?o?"autoPlaySelectedMine":"selectedMine":o?"autoPlaySelectedDiamond":"selectedDiamond":u?o?"autoPlayResultMine":"resultMine":o?"autoPlayResultDiamond":"resultDiamond"},oE=new Set(["selectedMine","resultMine","autoPlaySelectedMine","autoPlayResultMine"]),cE=t=>oE.has(t),dE=new Set(["selectedDiamond","resultDiamond","autoPlaySelectedDiamond","autoPlayResultDiamond"]),uE=t=>dE.has(t),mE=new Set(["selectedDiamond","autoPlaySelectedDiamond"]),xE=t=>mE.has(t),fE=new Set(["selectedMine","resultMine","autoPlaySelectedMine"]),pE=t=>fE.has(t),hE=(t,s,a)=>{const l=Number(a.cellsCount),r=Number(s.minesCount),i=new lC(t,Mt.WhaleMines).pickKIndices(l,r);if(!i.length||i.length!==r||i.some(o=>o<0||o>=l))throw new Error("Invalid mined cells generated");return{minedCells:i}},gE=()=>{const t=at(),s=m.useRef(null),a=m.useRef(null);return m.useEffect(()=>{a.current!==t.pathname&&(a.current=t.pathname,bh(window.location.pathname))},[t.pathname]),m.useEffect(()=>{const l=new URLSearchParams(t.search),r=l.get(I8)??"",i=l.get("tab"),o=`${r}:${i??""}`;s.current!==o&&(s.current=o,Ch(r,i).forEach(d=>X(d)))},[t.search]),null},bE=[`${Ae}/:roomId/stream`],CE=t=>{const s=t.length>1&&t.endsWith("/")?t.slice(0,-1):t;return!bE.some(a=>Y2({path:a,caseSensitive:!0,end:!0},s)!==null)},jE=()=>{const{pathname:t}=at();return m.useLayoutEffect(()=>{const s=CE(t);jh(s),s||Ar()},[t]),null},vE=()=>{const t=Y(),s=at(),{openModal:a}=W();return m.useEffect(()=>{rC({getPathname:()=>vh(),getQueryParam:l=>new URLSearchParams(window.location.search).get(l),navigate:l=>t(l),openModal:(l,r)=>{X2(l)&&a(l,r)}})},[t,a,s.pathname]),null},wE=1024,Qn=()=>typeof window<"u"&&window.innerWidth<wE,Us=()=>{const[t,s]=m.useState(Qn);return m.useEffect(()=>{const a=()=>s(Qn());return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),t},pt={None:"none",Chat:"chat",Tournaments:"tournaments"},Zu="drawerTab",yE=new Set(Object.values(pt)),_E=(t,s)=>{if(s)return pt.None;const a=t(Zu);return a&&yE.has(a)?a:pt.Chat},NE=t=>{try{return window.localStorage.getItem(t)}catch{return null}},kE=(t,s)=>{try{window.localStorage.setItem(t,s)}catch{}},Si=Ze("drawerShown"),oa=Ze("drawerHidden"),P3=Ze("drawerAutoShown"),Ai=At(_E(NE,Qn()),{name:"drawerTab"}).on([Si,P3],(t,s)=>s).on(oa,()=>pt.None),aa=Ai.map(t=>t!==pt.None),H3=Ze("persistDrawerTab");H3.watch(t=>{Qn()||kE(Zu,t)});K1({clock:Si,target:H3});K1({clock:oa,fn:()=>pt.None,target:H3});const SE=()=>{const t=Y(),s=at(),{openModal:a}=W();return m.useEffect(()=>{oC({navigate:l=>t(l),goBack:()=>t(-1),openTwoFactorModal:l=>a(_e,{twoFAToken:l,tab:"login"}),isDrawerOpen:()=>aa.getState(),closeDrawer:()=>oa()})},[t,a]),m.useEffect(()=>{iC(s.pathname)},[s.pathname]),null},AE=()=>{const{pathname:t}=at();return m.useEffect(()=>{wh({pathname:t,selectedCurrency:ts.getState()})&&yh()},[t]),null},LE={entryActive:!1},ME=(t,s)=>{switch(s.type){case"open":return s.isMobile&&!t.entryActive?{state:{entryActive:!0},effect:"push"}:{state:t,effect:"none"};
2case"close":return t.entryActive?{state:{entryActive:!1},effect:s.isEntryOnTop?"back":"none"}:{state:t,effect:"none"};case"popstate":return t.entryActive?{state:{entryActive:!1},effect:s.isDrawerOpen?"close-drawer":"none"}:{state:t,effect:s.isMarkedEntry?"clear-marker":"none"}}},Or="appSiteDrawer";let f6=LE,p6=!1;const h6=()=>{var t;return!!((t=window.history.state)!=null&&t[Or])},g6=()=>{const t=window.history.state;if(!(t!=null&&t[Or]))return;const s={...t};delete s[Or],window.history.replaceState(s,"")},BE=t=>{switch(t){case"push":window.history.pushState({...window.history.state,[Or]:!0},"");return;case"back":g6(),window.history.back();return;case"clear-marker":g6();return;case"close-drawer":oa();return;case"none":return}},b6=t=>{const{state:s,effect:a}=ME(f6,t);return f6=s,BE(a),a};let Wu=!1;const EE=()=>Wu,RE=()=>{p6||typeof window>"u"||(p6=!0,aa.updates.watch(t=>{const s=t?{type:"open",isMobile:Qn()}:{type:"close",isEntryOnTop:h6()};b6(s)}),window.addEventListener("popstate",()=>{Wu=b6({type:"popstate",isDrawerOpen:aa.getState(),isMarkedEntry:h6()})==="close-drawer"}))};K1({clock:aa,fn:()=>{},target:cC});const TE=()=>{const t=C(We),{openModal:s}=W();m.useEffect(()=>{X("Account restricted gameplay message shown")},[]);const a=!!(t!=null&&t.id);return e.jsx("div",{className:"fixed top-0 z-[1000] flex size-full items-center justify-center bg-[#13161E] bg-opacity-90","data-testid":"blocked-message",children:e.jsxs("div",{className:"selection:text-black mx-5 flex w-full max-w-screen-sm flex-col items-center gap-7 rounded-xl bg-primary p-7 selection:bg-white sm:mx-auto sm:gap-6",style:{backgroundImage:"radial-gradient(71.17% 56.56% at 50% 0.17%, rgba(220, 119, 119, 0.32) 0%, rgba(26, 30, 39, 0.00) 100%)"},children:[e.jsx("div",{className:"flex size-[88px] items-center justify-center overflow-hidden sm:size-16",children:e.jsx("img",{src:"/blocked/account-blocked.webp",alt:"",className:"size-[125.714%] max-w-none object-contain",loading:"lazy"})}),e.jsxs("div",{className:"flex flex-col items-center gap-2 px-1 sm:gap-4",children:[e.jsx("h2",{className:"text-center text-[20px] font-semibold leading-[30px] text-white",children:n("global_accountRestricted")}),e.jsx("div",{className:"text-center text-[14px] font-medium leading-20 text-[#9092B2]",children:a?n("global_accountRestricted_description"):n("global_accountRestricted_description_only_support")})]}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 sm:mt-2 sm:flex-row sm:gap-4",children:[ke(Se.Intercom)?e.jsx(O,{variant:"secondary",className:"w-full bg-gray-200 py-2 text-[14px] leading-20 text-white sm:py-[10px]","data-testid":"blocked-message-support",onClick:()=>b1(),children:n("global_accountRestricted_button_contact")}):null,a?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"hidden text-[#9092B2] sm:block",children:"or"}),e.jsx(O,{variant:"primary",className:"w-full py-2 text-[14px] leading-20 sm:py-3","data-testid":"blocked-message-verify",onClick:()=>s(ul,{tab:"verification",skipToKYC:"true"}),children:n("global_accountRestricted_button_verify")})]}):null]})]})})},C6=t=>{const s=Date.now();return dC(uC(t,s),s)},U3=t=>{const{status:s,startsAt:a,endsAt:l}=t,[r,i]=m.useState(()=>C6({status:s,startsAt:a,endsAt:l}));return m.useEffect(()=>{const o=()=>C6({status:s,startsAt:a,endsAt:l}),d=o();if(i(d),d.isElapsed)return;const u=window.setInterval(()=>{const c=o();i(c),c.isElapsed&&window.clearInterval(u)},1e3);return()=>window.clearInterval(u)},[s,a,l]),r},IE=t=>U3({status:mC.Active,startsAt:null,endsAt:t??null}),Ku=t=>t<10?`0${t}`:String(t),FE=({tournament:t})=>{const{days:s,hours:a,minutes:l,seconds:r}=U3(t),i=[[s,"tournaments.countdown.days"],[a,"tournaments.countdown.hours"],[l,"tournaments.countdown.minutes"],[r,"tournaments.countdown.seconds"]];return e.jsx("div",{"data-testid":"tournament-countdown",className:"flex items-center gap-2 rounded-[14px] border border-white px-3 py-2 backdrop-blur-xl",children:i.map(([o,d])=>e.jsxs("div",{children:[e.jsx("div",{className:"flex size-[32px] items-center justify-center rounded-md text-base text-white md:text-2xl",children:Ku(o)}),e.jsx("div",{className:"pt-1 text-center text-sm text-[#FFFFFF77]",children:n(d)})]},d))})},V3=({tournament:t})=>{const{days:s,hours:a,minutes:l,seconds:r}=U3(t),i=[[s,"d"],[a,"h"],[l,"m"],[r,"s"]];return e.jsx("div",{"data-testid":"tournament-countdown-small",className:"flex items-center gap-2 rounded-xl border border-white px-3 py-2 backdrop-blur-xl",children:i.map(([o,d])=>e.jsxs("div",{className:"flex items-center justify-center rounded-md text-sm text-white",children:[Ku(o),d]},d))})},Li=({name:t,prizePool:s,imageUrl:a,variant:l="default",countdown:r})=>e.jsxs("div",{"data-testid":"tournament-banner",style:a?{backgroundImage:`url('${La(a)}')`}:void 0,className:g("relative flex flex-col items-start justify-start gap-4 overflow-hidden rounded-2xl bg-secondary bg-cover bg-center bg-no-repeat",l==="default"?"p-5 md:p-8":"p-4"),children:[e.jsx("div",{className:g("z-main max-w-[210px] md:max-w-[400px]"),children:e.jsx("h2",{className:g("truncate text-balance font-semibold text-white",l==="default"?"text-[17px] md:text-[22px]":"text-base md:text-[20px]"),children:t})}),e.jsx("div",{className:"z-main md:pr-4",children:e.jsx("div",{className:"flex w-full items-start justify-start",children:r})}),e.jsxs("div",{className:g("z-main flex flex-col items-center justify-center bg-gradient-gold py-1",l==="default"?"w-[250px] rounded-[14px]":"w-[152px] rounded-xl"),children:[e.jsx("div",{className:g("text-center text-[#14182099]",l==="default"?"text-base":"text-xs"),children:n("tournaments.details.prizePool")}),e.jsx("div",{"data-testid":"tournament-prize-pool",className:g("text-center font-semibold text-[#00000099]",l==="default"?"text-lg":"text-sm"),children:ml(s)})]})]}),r2=["M14.9297 17.7285H9.07031L10.0078 14.6816H13.9922L14.9297 17.7285Z","M7.54688 17.7285H16.4531C16.9688 17.7285 17.3906 18.1504 17.3906 18.666V20.3066H6.60938V18.666C6.60938 18.1504 7.03125 17.7285 7.54688 17.7285Z","M6.02344 20.3066H17.9766C18.6891 20.3066 19.2656 20.8832 19.2656 21.5957C19.2656 22.3082 18.6891 22.8848 17.9766 22.8848H6.02344C5.31094 22.8848 4.73438 22.3082 4.73438 21.5957C4.73438 20.8879 5.31094 20.3066 6.02344 20.3066Z","M19.8097 7.2749C20.0441 7.2749 20.1097 7.34053 20.1519 7.38271C20.2034 7.43428 20.2269 7.47646 20.2409 7.54678C20.2597 7.63115 20.2784 7.81396 20.2034 8.12803C20.03 8.87334 19.4769 9.7499 18.6894 10.5374C17.5316 11.6952 16.4488 12.1077 15.8769 12.1077C15.6425 12.1077 15.5769 12.0421 15.5347 11.9999C15.4831 11.9483 15.4597 11.9062 15.4456 11.8358C15.4269 11.7515 15.4081 11.5687 15.4831 11.2546C15.6566 10.5093 16.2097 9.63271 16.9972 8.84521C18.155 7.6874 19.2331 7.2749 19.8097 7.2749ZM19.8097 4.69678C18.3425 4.69678 16.6363 5.55928 15.1738 7.02178C12.89
209 9.30459 12.0706 12.1827 13.7113 13.8233C14.3019 14.414 15.0519 14.6858 15.8722 14.6858C17.3394 14.6858 19.0456 13.8233 20.5081 12.3608C22.7909 10.078 23.6113 7.1999 21.9706 5.55928C21.3847 4.96865 20.6347 4.69678 19.8097 4.69678Z","M4.19085 7.2749C4.76741 7.2749 5.84553 7.6874 7.00335 8.84521C7.79085 9.63271 8.34397 10.514 8.51741 11.2546C8.59241 11.5687 8.57366 11.7515 8.55491 11.8358C8.54085 11.9062 8.51741 11.9483 8.46585 11.9999C8.42366 12.0421 8.35803 12.1077 8.12366 12.1077C7.5471 12.1077 6.46897 11.6952 5.31116 10.5374C4.52366 9.7499 3.97053 8.87334 3.7971 8.12803C3.7221 7.81396 3.74085 7.63115 3.7596 7.54678C3.77366 7.47646 3.7971 7.43428 3.84866 7.38271C3.89085 7.34053 3.95647 7.2749 4.19085 7.2749ZM4.19085 4.69678C3.36585 4.69678 2.61585 4.96865 2.02522 5.55928C0.384596 7.1999 1.20491 10.078 3.48772 12.3608C4.95022 13.8233 6.65647 14.6858 8.12366 14.6858C8.94866 14.6858 9.69866 14.414 10.2846 13.8233C11.9252 12.1827 11.1049 9.30459 8.8221 7.02178C7.36428 5.55928 5.65803 4.69678 4.19085 4.69678Z","M6.74561 10.739V9.4874C6.74561 8.39521 6.56748 7.30771 6.18779 6.28115C5.94404 5.62021 5.80811 4.90771 5.80811 4.15771H18.1925C18.1925 4.90303 18.0565 5.62021 17.8128 6.28115C17.4331 7.30303 17.255 8.39521 17.255 9.4874V10.739C17.255 13.6405 14.9019 15.9937 12.0003 15.9937C9.09873 15.9937 6.74561 13.6405 6.74561 10.739Z","M5.78906 1.11572H18.2109C19.05 1.11572 19.7344 1.8001 19.7344 2.63916C19.7344 3.47822 19.05 4.1626 18.2109 4.1626H5.78906C4.95 4.1626 4.26562 3.47822 4.26562 2.63447C4.26562 1.79541 4.95 1.11572 5.78906 1.11572Z","M12 12.4219C13.8122 12.4219 15.2812 10.9528 15.2812 9.14062C15.2812 7.32844 13.8122 5.85938 12 5.85938C10.1878 5.85938 8.71875 7.32844 8.71875 9.14062C8.71875 10.9528 10.1878 12.4219 12 12.4219Z"],z3={golden:"M10.711 11.3063V10.697L11.4798 10.6032V7.86572L10.7017 7.85635V7.27979L12.5204 6.9751V10.6032L13.2892 10.697V11.3063H10.711Z",silver:"M10.509 11.3393V10.6689L11.9058 9.19707C12.0324 9.05176 12.1308 8.92988 12.2058 8.81738C12.2808 8.70488 12.3324 8.60644 12.3652 8.51738C12.398 8.42832 12.4121 8.33926 12.4121 8.25488C12.4121 8.11426 12.3746 7.99238 12.2996 7.89863C12.2246 7.8002 12.1121 7.75332 11.9621 7.75332C11.798 7.75332 11.6761 7.80957 11.5965 7.92676C11.5168 8.04395 11.4793 8.19863 11.4793 8.39551H10.4527L10.448 8.37676C10.4433 8.10957 10.4996 7.86582 10.6215 7.65019C10.7433 7.43457 10.9215 7.26113 11.1511 7.13457C11.3808 7.00801 11.6527 6.94238 11.9621 6.94238C12.2715 6.94238 12.5386 6.99863 12.7636 7.10645C12.9886 7.21426 13.1574 7.36426 13.2793 7.56113C13.4011 7.75801 13.4574 7.98769 13.4574 8.24551C13.4574 8.42363 13.4293 8.58769 13.3683 8.73769C13.3074 8.88769 13.209 9.04707 13.0683 9.21582C12.9277 9.38457 12.7449 9.59082 12.5152 9.83457L11.859 10.5283L11.8636 10.5424H12.7215L12.7636 10.1814H13.5465V11.3346L10.509 11.3393Z",bronze:"M11.9764 11.3672C11.6905 11.3672 11.4327 11.3156 11.1936 11.2219C10.9545 11.1234 10.767 10.9781 10.6217 10.7906C10.4811 10.5984 10.4155 10.3687 10.4202 10.0922L10.4248 10.0734H11.442C11.442 10.1625 11.4655 10.2469 11.5077 10.3266C11.5498 10.4016 11.6108 10.4625 11.6952 10.5094C11.7748 10.5562 11.8686 10.5797 11.9811 10.5797C12.1498 10.5797 12.2858 10.5281 12.3889 10.4297C12.4873 10.3312 12.5389 10.2 12.5389 10.0453C12.5389 9.89062 12.4827 9.75 12.3748 9.64687C12.267 9.54375 12.1077 9.49219 11.8967 9.49219H11.4514V8.72344H11.9248C12.042 8.72344 12.1405 8.70469 12.2202 8.65781C12.2998 8.61562 12.3608 8.55469 12.403 8.47969C12.4452 8.40469 12.4639 8.31562 12.4639 8.2125C12.4639 8.06719 12.4217 7.95 12.3373 7.85625C12.253 7.7625 12.1311 7.71563 11.9764 7.71563C11.8873 7.71563 11.8077 7.73437 11.7373 7.76719C11.667 7.8 11.6108 7.85156 11.5686 7.9125C11.5264 7.97344 11.5077 8.04844 11.5077 8.13281H10.4952L10.4905 8.11406C10.4811 7.875 10.542 7.66875 10.6686 7.48594C10.7952 7.30312 10.9686 7.16719 11.1983 7.06406C11.4233 6.96562 11.6811 6.91406 11.967 6.91406C12.4311 6.91406 12.8061 7.02188 13.0873 7.23281C13.3686 7.44844 13.5092 7.74844 13.5092 8.1375C13.5092 8.35313 13.453 8.54062 13.3405 8.69062C13.228 8.84062 13.0545 8.97656 12.8295 9.08437C13.0592 9.16875 13.242 9.3 13.3733 9.46875C13.5045 9.6375 13.5795 9.84844 13.5795 10.0875C13.5795 10.35 13.5092 10.5797 13.3733 10.7719C13.2327 10.9641 13.0452 11.1094
212.8014 11.2125C12.5577 11.3156 12.2858 11.3719 11.9764 11.3672Z"},Ms="golden-trophy",Bs="bronze-trophy",qu=t=>r2.map((s,a)=>`url(#${t}-${a})`).concat(`url(#${t}-8)`),OE=["#A5A5A5","#7C7C7C","#D8D8D8","#A5A5A5","#A5A5A5","#D8D8D8","#E5E5E5","#7F7F7F","#D8D8D8"],G3=({fills:t,numeral:s,defs:a})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",className:"size-6 shrink-0",children:[r2.map((l,r)=>e.jsx("path",{d:l,fill:t[r]},r)),e.jsx("path",{d:s,fill:t[r2.length]}),a?e.jsx("defs",{children:a}):null]}),DE=()=>e.jsx(G3,{fills:qu(Ms),numeral:z3.golden,defs:e.jsxs(e.Fragment,{children:[e.jsxs("linearGradient",{id:`${Ms}-0`,x1:"12.0002",y1:"14.684",x2:"12.0002",y2:"17.7309",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE5709"}),e.jsx("stop",{offset:"0.8",stopColor:"#FDAC33"})]}),e.jsxs("linearGradient",{id:`${Ms}-1`,x1:"12.0002",y1:"20.309",x2:"12.0002",y2:"17.7309",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#3D5969"}),e.jsx("stop",{offset:"1",stopColor:"#698999"})]}),e.jsxs("linearGradient",{id:`${Ms}-2`,x1:"12.0002",y1:"22.8871",x2:"12.0002",y2:"20.309",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF9900"}),e.jsx("stop",{offset:"1",stopColor:"#FCD34F"})]}),e.jsxs("linearGradient",{id:`${Ms}-3`,x1:"12.6399",y1:"10.4204",x2:"23.0429",y2:"8.95842",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE5709"}),e.jsx("stop",{offset:"0.21",stopColor:"#E46912"}),e.jsx("stop",{offset:"0.64",stopColor:"#F69929"}),e.jsx("stop",{offset:"0.8",stopColor:"#FDAC33"})]}),e.jsxs("linearGradient",{id:`${Ms}-4`,x1:"11.3604",y1:"10.4204",x2:"0.957268",y2:"8.95846",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE5709"}),e.jsx("stop",{offset:"0.21",stopColor:"#E46912"}),e.jsx("stop",{offset:"0.64",stopColor:"#F69929"}),e.jsx("stop",{offset:"0.8",stopColor:"#FDAC33"})]}),e.jsxs("linearGradient",{id:`${Ms}-5`,x1:"12.0003",y1:"4.16006",x2:"12.0003",y2:"15.996",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF9900"}),e.jsx("stop",{offset:"0.11",stopColor:"#FFA200"}),e.jsx("stop",{offset:"0.37",stopColor:"#FFB300"}),e.jsx("stop",{offset:"0.65",stopColor:"#FFBD00"}),e.jsx("stop",{offset:"1",stopColor:"#FFC100"})]}),e.jsxs("linearGradient",{id:`${Ms}-6`,x1:"12.0002",y1:"4.16025",x2:"12.0002",y2:"1.11338",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFB300"}),e.jsx("stop",{offset:"1",stopColor:"#FFDF3D"})]}),e.jsxs("linearGradient",{id:`${Ms}-7`,x1:"12.0002",y1:"12.4219",x2:"12.0002",y2:"5.85938",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFE187"}),e.jsx("stop",{offset:"1",stopColor:"#FFF8E0"})]}),e.jsxs("linearGradient",{id:`${Ms}-8`,x1:"11.9999",y1:"11.3073",x2:"11.9999",y2:"6.9751",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FD7600"}),e.jsx("stop",{offset:"0.71",stopColor:"#FDBF30"})]})]})}),$E=()=>e.jsx(G3,{fills:OE,numeral:z3.silver}),PE=()=>e.jsx(G3,{fills:qu(Bs),numeral:z3.bronze,defs:e.jsxs(e.Fragment,{children:[e.jsxs("linearGradient",{id:`${Bs}-0`,x1:"12.0002",y1:"14.684",x2:"12.0002",y2:"17.7309",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE3909"}),e.jsx("stop",{offset:"0.8",stopColor:"#FD8533"})]}),e.jsxs("linearGradient",{id:`${Bs}-1`,x1:"12.0002",y1:"20.309",x2:"12.0002",y2:"17.7309",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#994311"}),e.jsx("stop",{offset:"1",stopColor:"#CC6C35"})]}),e.jsxs("linearGradient",{id:`${Bs}-2`,x1:"12.0002",y1:"22.8871",x2:"12.0002",y2:"20.309",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF7100"}),e.jsx("stop",{offset:"1",stopColor:"#FCA543"})]}),e.jsxs("linearGradient",{id:`${Bs}-3`,x1:"12.6399",y1:"10.4204",x2:"23.0429",y2:"8.95842",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DA2F09"}),e.jsx("stop",{offset:"0.18",stopColor:"#E04110"}),e.jsx("stop",{offset:"0.54",stopColor:"#F07123"}),e.jsx("stop",{offset:"0.8",stopColor:"#FD9833"})]}),e.jsxs("linearGradient",{id:`${Bs}-4`,x1:"11.3604",y1:"10.4204",x2:"0.957268",y2:"8.95846",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DA2F09"}),e.jsx("stop",{offset:"0.18",stopColor:"#E04110"}),e.jsx("stop",{offset:"0.54",stopColor:"#F07123"}),e.jsx("stop",{offset:"0.8",stopColor:"#FD9833"})]}),e.jsxs("linearGradient",{id:`${Bs}-5`,x1:"12.0003",y1:"4.16006",x2:"12.0003",y2:"15.996",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF6300"}),e.jsx("stop",{offset:"0.09",stopColor:"#FF7100"}),e.jsx("stop",{offset:"0.29",stopColor:"#FF8800"}),e.jsx("stop",{offset:"0.49",stopColor:"#FF9900"}),e.jsx("stop",{offset:"0.72",stopColor:"#FFA300"}),e.jsx("stop",{offset:"1",stopColor:"#FFA700"})]}),e.jsxs("linearGradient",{id:`${Bs}-6`,x1:"12.0002",y1:"4.16025",x2:"12.0002",y2:"1.11338",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF8100"}),e.jsx("stop",{offset:"1",stopColor:"#FFC13D"})]}),e.jsxs("linearGradient",{id:`${Bs}-7`,x1:"12.0002",y1:"12.4219",x2:"12.0002",y2:"5.85938",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFC68F"}),e.jsx("stop",{offset:"1",stopColor:"#FFF8E0"})]}),e.jsxs("linearGradient",{id:`${Bs}-8`,x1:"11.9992",y1:"11.3695",x2:"11.9992",y2:"6.91219",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FD6800"}),e.jsx("stop",{offset:"0.71",stopColor:"#FD8F30"})]})]})}),Z3=({className:t})=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",className:t??"size-5 text-golden",children:[e.jsx("path",{d:"M6 4h12v5.5a6 6 0 0 1-12 0V4Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinejoin:"round",fill:"none"}),e.jsx("path",{d:"M6 5.5H3.5v1.7A3.6 3.6 0 0 0 7 10.7M18 5.5h2.5v1.7A3.6 3.6 0 0 1 17 10.7",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",fill:"none"}),e.jsx("path",{d:"M12 15.5V19M8 21h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",fill:"none"})]}),W3=({className:t})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",className:t,children:e.jsx("path",{d:"M10 1.875C3.1493 1.875 1.875 3.1493 1.875 10C1.875 16.838 3.12172 18.125 10 18.125C16.8246 18.125 18.125 16.838 18.125 10C18.125 3.1284 16.8466 1.875 10 1.875ZM10 4.6918C10.82 4.6918 11.4847 5.35652 11.4847 6.17648C11.4847 6.99645 10.82 7.66117 10 7.66117C9.18 7.66117 8.51531 6.99648 8.51531 6.17648C8.51531 5.35652 9.18004 4.6918 10 4.6918ZM12.6287 14.3523C12.6287 14.878 12.1985 15.3082 11.6728 15.3082H10.5192H9.47277H8.32715C7.80141 15.3082 7.37125 14.878 7.37125 14.3523V14.3305C7.37125 13.8047 7.80141 13.3746 8.32715 13.3746H8.51687V9.60684H7.84922C7.58637 9.60684 7.37129 9.39176 7.37129 9.12891V9.09492C7.37129 8.83207 7.58637 8.61699 7.84922 8.61699H9.47277H10.1232H10.5192C11.045 8.61699 11.4751 9.04715 11.4751 9.57289V13.3746H11.
26728C12.1985 13.3746 12.6287 13.8048 12.6287 14.3305V14.3523Z",fill:"#9092B2"})}),HE=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.8147 9.31014C5.8147 12.829 8.58426 15.682 12.0002 15.682C15.4161 15.682 18.1857 12.829 18.1857 9.31014V3H5.8147V9.31014Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.8147 9.31014C5.8147 12.829 8.58426 15.682 12.0002 15.682C15.4161 15.682 18.1857 12.829 18.1857 9.31014V3H5.8147V9.31014Z",fill:"url(#paint0_linear_goldenTrophyTitle)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4145 17.0622H9.58593L8.89247 19.2758H8.01922V21H15.9812V19.2758H15.1079L14.4145 17.0622Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4145 17.0622H9.58593L8.89247 19.2758H8.01922V21H15.9812V19.2758H15.1079L14.4145 17.0622Z",fill:"url(#paint1_linear_goldenTrophyTitle)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4956 4.29201V10.6418C20.8953 10.827 22.1709 9.80402 22.3336 8.36208L22.8002 4.29642H19.4956V4.29201Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.4956 4.29201V10.6418C20.8953 10.827 22.1709 9.80402 22.3336 8.36208L22.8002 4.29642H19.4956V4.29201Z",fill:"url(#paint2_linear_goldenTrophyTitle)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66678 8.36208C1.83373 9.80402 3.10935 10.827 4.50483 10.6418V4.29201H1.2002L1.66678 8.36208Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66678 8.36208C1.83373 9.80402 3.10935 10.827 4.50483 10.6418V4.29201H1.2002L1.66678 8.36208Z",fill:"url(#paint3_linear_goldenTrophyTitle)"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_goldenTrophyTitle",x1:"1.2002",y1:"3",x2:"25.8951",y2:"13.6647",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"paint1_linear_goldenTrophyTitle",x1:"1.2002",y1:"3",x2:"25.8951",y2:"13.6647",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"paint2_linear_goldenTrophyTitle",x1:"1.2002",y1:"3",x2:"25.8951",y2:"13.6647",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"paint3_linear_goldenTrophyTitle",x1:"1.2002",y1:"3",x2:"25.8951",y2:"13.6647",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]})]})]}),UE=({className:t})=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",className:t??"size-5 text-brandblue-100",children:[e.jsx("rect",{x:"3.5",y:"4.5",width:"11",height:"15",rx:"2",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M16.6 6.2l2.6.7a2 2 0 0 1 1.4 2.45l-2.4 8.9a2 2 0 0 1-2.45 1.42l-.6-.16",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M9 8.6l2.2 3.4H6.8L9 8.6Z",fill:"currentColor"})]}),j6=({className:t})=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",className:t??"size-5 text-brandblue-100",children:[e.jsx("circle",{cx:"12",cy:"12",r:"8.25",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M12 3.75c2.2 2.3 3.3 5 3.3 8.25s-1.1 5.95-3.3 8.25c-2.2-2.3-3.3-5-3.3-8.25S9.8 6.05 12 3.75Z",stroke:"currentColor",strokeWidth:"1.3"}),e.jsx("path",{d:"M4.1 9.4h15.8M4.1 14.6h15.8",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round"})]}),v6=({className:t})=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",className:t??"size-6 text-brand-tertiary",children:[e.jsx("circle",{cx:"9",cy:"8",r:"3.25",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M3.5 19a5.5 5.5 0 0 1 11 0",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M16 5.2a3.25 3.25 0 0 1 0 5.6M17.5 14.4A5.5 5.5 0 0 1 20.5 19",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),VE=({className:t})=>e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",className:t??"size-4",children:[e.jsx("path",{d:"M10 2.5v9M6.5 5.5L10 2l3.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M4 10v6.5h12V10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),w6=({className:t})=>e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",className:t??"size-4",children:[e.jsx("rect",{x:"7",y:"7",width:"9.5",height:"9.5",rx:"2",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M13 5.5A2 2 0 0 0 11 3.5H5.5A2 2 0 0 0 3.5 5.5V11",stroke:"currentColor",strokeWidth:"1.5"})]}),zE=()=>e.jsx("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",className:"size-4",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.256 4.4108c.3255.32544.3255.85307 0 1.1785l-9.1666 9.1666c-.32544.3255-.85308.3255-1.1785 0l-4.1667-4.1666c-.32544-.3255-.32544-.85311 0-1.1786.32543-.32544.85307-.32544 1.1785 0l3.5774 3.5774 8.5774-8.5774c.3254-.32544.8531-.32544 1.1785 0z",fill:"
2currentColor"})}),GE=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),ZE=()=>e.jsx("span",{className:"inline-flex animate-spin","aria-label":"Loading",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"19",viewBox:"0 0 18 19",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M9 0.875V2.95833M9 14V17.3333M3.79167 9H0.875M16.7083 9H15.4583M14.3809 14.3809L13.7917 13.7917M14.5535 3.51315L13.375 4.69167M3.10131 14.8987L5.45833 12.5417M3.2739 3.34057L5.04167 5.10833",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})}),Yu=({rank:t,className:s})=>e.jsxs("div",{className:s,children:[t===1?e.jsx(DE,{}):null,t===2?e.jsx($E,{}):null,t===3?e.jsx(PE,{}):null,t!==1&&t!==2&&t!==3?xC(t):null]}),Xu=(t,s)=>{const a=(t??0)%2===0?"bg-highlight":"bg-secondary";return s?`${a} leaderboard-tint-user border border-brand-tertiary`:t===1?`${a} leaderboard-tint-gold`:t===2?`${a} leaderboard-tint-silver`:t===3?`${a} leaderboard-tint-bronze`:a},WE=({gameCode:t,multiplier:s})=>{const a=C(ct),l=$s(a,t),r=la(a,t)??"";return e.jsxs("div",{className:"flex flex-row place-items-center gap-2",children:[l?e.jsx(De,{to:r,className:"hidden md:block",children:e.jsx(ce,{src:l.urlThumb,alt:l.name,className:"h-6",loading:"lazy"})}):null,e.jsxs("div",{className:"max-w-20 truncate md:max-w-full",children:[J2(s),"x"," ",l?e.jsx(De,{to:r,className:"text-[#ADAFCE]",children:l.name}):null]})]})},Dr=({leader:t,isUser:s,tournamentType:a})=>{var r;const l=xi({type:a})&&!!t.gameCode;return e.jsx("div",{className:"pb-2","data-testid":`leaderboard-row-${t.rank??"none"}`,children:e.jsxs("div",{className:g("flex w-full items-center justify-between rounded-md px-4 py-2",Xu(t.rank,s)),children:[e.jsxs("div",{className:"flex w-1/2 items-center",children:[e.jsx(Yu,{rank:t.rank,className:"w-14 shrink-0 text-sm text-brandblue-100 md:w-16"}),e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("div",{className:"hidden size-8 shrink-0 items-center justify-center rounded-full bg-secondary md:flex",children:e.jsx("img",{src:fl(t.avatarUrl,t.id),alt:"",className:"size-7 rounded-full object-cover",loading:"lazy",onError:i=>xl(i.currentTarget,t.id)})}),e.jsx("div",{className:"flex min-w-0 max-w-20 flex-col text-sm md:max-w-36 md:flex-row",children:e.jsx("span",{className:"truncate",children:t.displayName})})]})]}),e.jsx("div",{className:"flex shrink-0 items-center justify-center px-0 text-sm md:w-40 md:justify-start md:px-6",children:l?e.jsx(WE,{gameCode:String(t.gameCode),multiplier:Number(t.amountWageredUsd)}):J2(Number(t.amountWageredUsd))}),e.jsx("div",{className:"flex w-20 shrink-0 items-center justify-end text-sm",children:ml(Number(((r=t.prize)==null?void 0:r.amountUsd)??0))})]})})},y6=({leader:t,isUser:s,tournamentType:a})=>{var i;const l=xi({type:a}),r=Number(t.amountWageredUsd);return e.jsxs("div",{"data-testid":`leaderboard-small-row-${t.rank??"none"}`,className:g("flex w-full items-center justify-between px-4 py-2",Xu(t.rank,s)),children:[e.jsxs("div",{className:"flex w-2/3 items-center",children:[e.jsx(Yu,{rank:t.rank,className:"min-w-8 text-xs text-brandblue-100"}),e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-secondary",children:e.jsx("img",{src:fl(t.avatarUrl,t.id),alt:"",className:"size-7 rounded-full object-cover",loading:"lazy",onError:o=>xl(o.currentTarget,t.id)})}),e.jsxs("div",{className:"ml-2 flex min-w-0 flex-col text-nowrap text-xs",children:[e.jsx("span",{className:"truncate font-semibold",children:t.displayName}),e.jsx("span",{className:"flex items-center text-center text-xxs text-brandblue-100",children:l?`${J2(r)}x`:r.toLocaleString("en-us",{minimumFractionDigits:2,maximumFractionDigits:2})})]})]}),e.jsx("div",{className:"flex w-[70px] items-center justify-end text-xs",children:ml(Number(((i=t.prize)==null?void 0:i.amountUsd)??0))})]})},KE=t=>xi({type:t})?"leaderboard.multiplier":t===s3.XpLeaderboard?"tournaments.leaderboard.table.xp":"tournaments.leaderboard.table.points",qE=({slug:t,tournamentType:s})=>{const[a,l,r,i,o]=C([F8,Q2,fC,e3,te]),{closeModal:d}=W(),[u,c]=m.useState(1),x=s??s3.GamePlay;if(m.useEffect(()=>{t&&pC(t)},[t]),m.useEffect(()=>{t&&O8({slug:t,limit:So,offset:(u-1)*So})},[t,u]),m.useEffect(()=>{t&&o&&D8(t)}
2,[t,o]),!t)return null;const p=r[t]??0,f=Math.max(Math.ceil(p/So),1),h=U1(a[t]??[],i),b=l[t]??null,v=b?U1([b],i)[0]:null;return e.jsxs("div",{"data-testid":"tournament-leaderboard-modal",children:[e.jsxs("div",{className:"flex w-full items-center justify-between px-4 pb-2 text-xs text-brandblue-100",children:[e.jsxs("div",{className:"flex w-1/2 items-center",children:[e.jsx("div",{className:"w-14 md:w-16",children:n("tournaments.leaderboard.table.place")}),e.jsx("div",{children:n("tournaments.leaderboard.table.player")})]}),e.jsx("div",{className:"flex items-center px-6 text-center",children:n(KE(x))}),e.jsx("div",{className:"flex w-20 items-center justify-end",children:n("tournaments.leaderboard.table.prize")})]}),t3(h,b)&&v?e.jsx(Dr,{leader:v,isUser:!0,tournamentType:x}):null,h.map(j=>e.jsx(Dr,{leader:j,isUser:!!(v&&j.rank===v.rank),tournamentType:x},`${j.id}-${j.rank}`)),h.length?null:e.jsx("p",{className:"py-6 text-center text-sm text-label-secondary",children:n("global_noRecords")}),f>1?e.jsx("div",{className:"flex items-center justify-center gap-2 pb-6 pt-4",children:Array.from({length:f},(j,y)=>y+1).map(j=>e.jsx("button",{type:"button","data-testid":`leaderboard-page-${j}`,onClick:()=>c(j),className:g("size-8 rounded-md bg-primary-active text-sm",j===u?"text-white":"text-brandblue-100 hover:text-white"),children:j},j))}):null,e.jsx("div",{className:g("flex justify-center border-t border-highlight",f>1?"pt-8":"pt-4"),children:e.jsx(O,{variant:"secondary-clean",className:"w-full",onClick:()=>d(Mi),children:n("tournaments.leaderboard.closemodal")})})]})},Mi="tournamentLeaderboard",YE=$e({component:qE,titleIcon:HE,title:()=>n("tournaments.leaderboard.title"),wrapperClass:"bg-gradient-leaderboard",removeSearchParams:["slug","tournamentType"]}),XE=t=>xi({type:t})?"leaderboard.multiplier":t===s3.XpLeaderboard?"tournaments.leaderboard.table.xp":"tournaments.leaderboard.table.points",JE=(t,s)=>{const[a,l,r]=C([F8,Q2,te]);m.useEffect(()=>{O8({slug:t})},[t]),m.useEffect(()=>{r&&D8(t)},[t,r]);const i=U1(a[t]??[],s),o=l[t]??null,d=o?U1([o],s)[0]:null;return{leaders:i,userScore:d,isPinned:t3(i,o)}},QE=({slug:t,tournamentType:s,prizeSource:a})=>{const[l,r]=C([hC,e3]),{openModal:i}=W(),{leaders:o,userScore:d,isPinned:u}=JE(t,a??r),c=()=>i(Mi,{slug:t,tournamentType:s});return e.jsx("div",{className:"rounded-sm pb-2","data-testid":"tournament-leaderboard",children:e.jsxs("div",{className:"flex flex-col",children:[e.jsxs("div",{className:"flex items-center gap-2 pb-2",children:[e.jsx(Z3,{}),e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("tournaments.leaderboard.title")})]}),l?e.jsx("div",{className:"text-sm text-error",children:l}):null,e.jsxs("div",{className:"flex w-full items-center justify-between px-4 pb-2 text-xs text-brandblue-100",children:[e.jsxs("div",{className:"flex w-1/2 items-center",children:[e.jsx("div",{className:"w-14 md:w-16",children:n("tournaments.leaderboard.table.place")}),e.jsx("div",{children:n("tournaments.leaderboard.table.player")})]}),e.jsx("div",{className:"flex items-center px-6 text-center",children:n(XE(s))}),e.jsx("div",{className:"flex w-20 items-center justify-end",children:n("tournaments.leaderboard.table.prize")})]}),u&&d?e.jsx(Dr,{leader:d,isUser:!0,tournamentType:s}):null,o.map(x=>e.jsx(Dr,{leader:x,isUser:!!(d&&x.rank===d.rank),tournamentType:s},`${x.id}-${x.rank}`)),!o.length&&!l?e.jsx("p",{className:"px-2 py-4 text-sm text-label-secondary",children:n("global_noRecords")}):null,e.jsx("div",{className:"flex justify-center pt-4",children:e.jsx(O,{variant:"outline",className:"w-fit",onClick:c,children:n("tournaments.leaderboard.viewall")})})]})})},Ju=({slug:t,tournamentType:s,leaders:a,prizeSource:l,collapsible:r=!1})=>{const{openModal:i}=W(),[o]=C([Q2]),[d,u]=m.useState(!0),c=U1(a??[],l??null),x=o[t]??null,p=x?U1([x],l??null)[0]:null,f=e.jsxs("div",{className:"flex flex-col gap-0","data-testid":"tournament-leaderboard-small",children:[e.jsxs("div",{className:"flex w-full items-center justify-between px-2 pb-2 text-xs text-brandblue-100",children:[e.jsxs("div",{className:"flex w-2/3 items-center",children:[e.jsx("div",{className:"w-12",children:n("tournaments.leaderboard.table.place")}),e.jsx("div",{children:n("tournaments.leaderboard.table.player")})]}),e.jsx("div",{className:"flex w-[70px] items-center justify-end",children:n("tournaments.leaderboard.table.prize")})]}
2),t3(c,x)&&p?e.jsx(y6,{leader:p,isUser:!0,tournamentType:s}):null,c.map(h=>e.jsx(y6,{leader:h,isUser:!!(p&&h.rank===p.rank),tournamentType:s},`${h.id}-${h.rank}`)),c.length?null:e.jsx("p",{className:"px-4 py-3 text-xs text-label-secondary",children:n("global_noRecords")}),e.jsx("div",{className:"pt-2",children:e.jsxs(O,{variant:"tertiary",className:"w-full justify-center gap-1",onClick:()=>i(Mi,{slug:t,tournamentType:s}),children:[n("tournaments.leaderboard.fulltable"),e.jsx(GE,{})]})})]});return r?e.jsxs("div",{className:"overflow-hidden rounded-xl bg-secondary",children:[e.jsxs("button",{type:"button","data-testid":"leaderboard-accordion-toggle","aria-expanded":d,onClick:()=>u(h=>!h),className:"flex w-full items-center gap-2 px-4 py-3 text-left",children:[e.jsx(Z3,{className:"size-5 text-golden"}),e.jsx("span",{className:"flex-1 text-base font-semibold text-white",children:n("tournaments.leaderboard.title")}),d?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),d?f:null]}):f},Bi=1,Qu=(t,s)=>Math.min(Math.max(t,0),Math.max(s,0)),eR=t=>Array.from(t.children).map(s=>s.offsetLeft-t.offsetLeft),tR=t=>t.scrollWidth-t.clientWidth,sR=t=>t>Bi,aR=(t,s,a)=>t+s<a-Bi,nR=(t,s,a)=>{const l=t.filter(r=>r<s-Bi).pop()??0;return Qu(l,a)},lR=(t,s,a)=>{const l=t.find(r=>r>s+Bi)??a;return Qu(l,a)},Ee=t=>({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,...t}),rR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.58185 1.05699C9.85569 0.981002 10.1443 0.981002 10.4181 1.05699C10.736 1.14521 11.0037 1.36057 11.2173 1.53246L11.277 1.58036L16.7649 5.95514C17.0662 6.1948 17.3317 6.40594 17.5295 6.68005C17.7031 6.9206 17.8324 7.1916 17.9111 7.47973C18.0007 7.80805 18.0004 8.15243 17.9999 8.54334L17.9999 14.5878C17.9999 15.0201 17.9999 15.393 17.9754 15.7001C17.9496 16.0242 17.8925 16.3467 17.7383 16.6569C17.5082 17.1198 17.1411 17.4961 16.6895 17.7319C16.3868 17.89 16.0722 17.9484 15.7559 17.9749C15.4563 18 15.0925 18 14.6708 18H12V11.8889C12 11.398 11.1046 11 10 11C8.89543 11 8 11.398 8 11.8889V18H5.32921C4.90751 18 4.54371 18 4.24406 17.9749C3.92779 17.9484 3.61322 17.89 3.31052 17.7319C2.85893 17.4961 2.49178 17.1198 2.26169 16.6569C2.10746 16.3467 2.05041 16.0242 2.02457 15.7001C2.00008 15.393 2.0001 15.0201 2.00011 14.5878L2.00006 8.54333C1.99964 8.15243 1.99928 7.80805 2.08894 7.47973C2.16763 7.1916 2.29695 6.9206 2.47054 6.68005C2.66834 6.40594 2.93379 6.1948 3.23509 5.95514L8.72302 1.58036L8.78272 1.53246C8.99632 1.36058 9.26396 1.14521 9.58185 1.05699Z",fill:"currentColor"})}),K3=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9688 3.08301L10.9354 2.01916C10.2568 1.89951 9.60969 2.35263 9.49003 3.03123L9.43294 3.35507C10.3055 3.46257 11.0426 4.09113 11.2747 4.95723L11.6434 6.33332C11.8387 6.24866 12.06 6.21816 12.2852 6.25788C12.7126 6.33326 13.0405 6.64085 13.1627 7.02794C13.4099 6.70598 13.8232 6.52907 14.2506 6.60444C14.8623 6.71232 15.2708 7.29566 15.1629 7.90738C14.9286 9.23657 13.5022 10.3049 12.8253 10.7443L13.8588 14.6013C13.9142 14.808 13.9373 15.0159 13.9322 15.2197L14.8017 15.373C15.4803 15.4927 16.1274 15.0396 16.2471 14.361L17.9808 4.52844C18.1005 3.84979 17.6474 3.20266 16.9688 3.08301Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3708 5.19937C10.2215 4.64193 9.71737 4.27428 9.16646 4.27431C9.05959 4.27431 8.9509 4.28815 8.84274 4.31712L2.92506 5.90274C2.25946 6.08109 1.86446 6.76524 2.04281 7.43084L4.6269 17.0749C4.77628 17.6323 5.28037 17.9999 5.83128 17.9999C5.93815 17.9999 6.04684 17.9861 6.15496 17.9571L12.0726 16.3715C12.7382 16.1931 13.1332 15.509 12.9549 14.8434L10.3708 5.19937ZM5.76593 11.7916C5.66559 11.7033 5.62812 11.5634 5.67087 11.4368L6.57574 8.75749C6.65143 8.53337 6.93087 8.45849 7.10849 8.61474L9.23181 10.4827C9.33215 10.571 9.36962 10.7109 9.32687 10.8375L8.42199 13.5168C8.34631 13.7409 8.06687 13.8158 7.88924 13.6595L5.76593 11.7916Z",fill:"currentColor"})]}),em=K3,iR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{d:"M11.8155 17.4993H5.26149V17.0611C5.26149 15.806 5.56176 14.5104 6.15399 13.2104C6.6221 12.1828 7.27299 11.1498 8.08861 10.14C8.67581 9.41302 9.25999 8.80631 9.74219 8.3455C9.48101 8.36478 9.21634 8.37447 8.94883 8.37447C7.74733 8.37447 6.59058 8.17525 5.61842 7.80673V8.67049H2.5V2.61318H5.61839V3.17612C6.59049 2.80757 7.74728 2.60838 8.9488 2.60838C10.1566 2.60838 11.0404 2.77139 11.8148 3.13695C12.3549 3.39198 12.9506 3.49142 13.5373 3.42433C14.1262 3.35709 14.6793 3.12477 15.1368 2.75249L15.446 2.50098L17.5 3.8946L17.2465 4.25864C17.2328 4.27827 15.8644 6.25121 14.5152 8.81923C13.2836 11.1637 11.8155 14.4966 11.8155 17.0611V17.4993H11.8155Z",stroke:"currentColor",strokeWidth:"1.67",strokeLinecap:"round",strokeLinejoin:"round"})}),oR=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.36784 10.8492C8.87784 10.4349 8.26 10.1875 7.58928 10.1875C7.11863 10.187
25 6.66141 10.3091 6.25 10.5417C5.83859 10.3091 5.38134 10.1875 4.91072 10.1875C3.32297 10.1875 2.03125 11.5739 2.03125 13.2781C2.03125 15.8376 3.96319 18 6.25 18C7.50475 18 8.65259 17.3489 9.43316 16.3385C8.88706 15.4266 8.59375 14.3711 8.59375 13.2781C8.59375 12.3665 8.88231 11.5249 9.36784 10.8492Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5789 8.87978C11.6567 9.02515 11.7355 9.16496 11.8144 9.29927C12.0088 9.26696 12.2079 9.25003 12.4106 9.25003C12.5776 9.25003 12.7442 9.26181 12.9091 9.28474C12.7375 9.02296 12.5611 8.73037 12.3908 8.41006C11.7918 7.28331 11.4291 6.14253 11.3039 4.99865C11.3929 5.11731 11.4913 5.23231 11.6004 5.34137C12.6991 6.44012 14.3959 6.47218 14.4676 6.47299C14.4694 6.47303 14.4711 6.47302 14.473 6.47302C14.5972 6.47302 14.7165 6.42368 14.8044 6.33571C14.8936 6.24649 14.9431 6.12506 14.9417 5.99887C14.9409 5.92718 14.9088 4.2304 13.8101 3.13165C12.7152 2.03681 11.0268 2.00106 10.9439 2.00003C10.9341 1.99987 10.9243 2.00046 10.9145 2.00096C10.8426 2.00412 10.7733 2.02384 10.7114 2.05818C9.57381 2.66262 8.6058 3.51759 7.83424 4.59965C7.22137 5.45915 6.73162 6.46184 6.37859 7.5799C6.16877 8.24443 6.03268 8.86799 5.94434 9.40053C6.04755 9.43106 6.14955 9.46599 6.24993 9.50556C6.4644 9.42102 6.68618 9.3569 6.9119 9.31402C6.99318 8.87552 7.10859 8.38156 7.27259 7.86218C7.89443 5.89262 8.9264 4.39006 10.3462 3.3824C10.2088 5.22174 10.6279 7.10318 11.5789 8.87978Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0893 10.1875C14.6186 10.1875 14.1614 10.3091 13.75 10.5417C13.3386 10.3091 12.8813 10.1875 12.4107 10.1875C10.823 10.1875 9.53125 11.5739 9.53125 13.2781C9.53125 15.8376 11.4632 18 13.75 18C16.0368 18 17.9688 15.8376 17.9688 13.2781C17.9688 11.5739 16.677 10.1875 15.0893 10.1875Z",fill:"currentColor"})]}),cR=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3336 7.08317C18.3336 9.79984 16.3336 12.0415 13.7336 12.4332V12.3832C13.4752 9.14984 10.8502 6.52484 7.59189 6.2665H7.56689C7.95856 3.6665 10.2002 1.6665 12.9169 1.6665C15.9086 1.6665 18.3336 4.0915 18.3336 7.08317Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4834 12.4833C12.2751 9.84167 10.1584 7.725 7.51675 7.51667C7.37508 7.50833 7.22508 7.5 7.08342 7.5C4.09175 7.5 1.66675 9.925 1.66675 12.9167C1.66675 15.9083 4.09175 18.3333 7.08342 18.3333C10.0751 18.3333 12.5001 15.9083 12.5001 12.9167C12.5001 12.775 12.4917 12.625 12.4834 12.4833ZM7.81675 13.65L7.08342 15L6.35008 13.65L5.00008 12.9167L6.35008 12.1833L7.08342 10.8333L7.81675 12.1833L9.16675 12.9167L7.81675 13.65Z",fill:"currentColor"})]}),$r=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.50481 16.219C8.77222 15.4865 7.69416 15.2644 6.75505 15.5968C6.63862 16.9474 6.84722 18.0385 7.26617 18.4574C7.68512 18.8763 8.77665 19.0848 10.1274 18.9677C10.4629 18.0132 10.2304 16.9445 9.50481 16.219ZM15.4743 10.2499C14.6301 9.40544 14.2189 8.16601 14.4619 6.92119C12.7984 7.26271 10.9421 8.06675 9.50481 9.50389C8.06714 10.9414 7.26265 12.7981 6.92144 14.4618C8.11561 14.222 9.37427 14.5961 10.2509 15.4726C11.1365 16.3581 11.5011 17.6156 11.2626 18.8013C12.9264 18.4602 14.7834 17.6558 16.2207 16.219C17.6587 14.7811 18.4629 12.9244 18.8041 11.2607C17.6274 11.4977 16.3649 11.1405 15.4743 10.2499ZM15.1014 12.8614L14.355 13.6074L13.6089 12.8614L12.8628 13.6074L13.6089 14.3534L12.8628 15.0998L12.1167 14.3538L11.3702 15.0998L10.6241 14.3534L11.3702 13.6074L10.6241 12.8614L11.3702 12.1151L12.1167 12.8614L12.8628 12.1154L12.1163 11.3691L12.8628 10.6231L13.6089 11.3691L14.355 10.6231L15.1014 11.3691L14.3553 12.1154L15.1014 12.8614ZM18.4594 7.26556C18.0408 6.84701 16.9492 6.63809 15.5988 6.75451C15.2775 7.65931 15.4573 8.74062 16.2207 9.50393C16.9571 10.2402 18.0343 10.4565 18.9705 10.1261C19.0425 9.28624 19.0211 7.82712 18.4594 7.26556Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.64657 3.39238L4.84089 5.58643C3.50699 6.55683 1.56314 6.59025 1.11745 6.58427C1.33238 5.43448 1.84244 4.32972 2.64657 3.39238Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.58698 4.84042L3.39267 2.64637C4.33012 1.84234 5.43502 1.33234 6.58494 1.11
2743C6.59092 1.56447 6.55715 3.50704 5.58698 4.84042Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.10978 7.85505L2.64658 12.3174C1.49841 10.9798 0.950713 9.30063 1.00348 7.63733C2.43763 7.69787 4.3544 7.31118 5.59437 6.33983L7.10978 7.85505Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.39618 9.14126C6.7267 11.0043 6.09247 13.1674 5.85503 14.4157C4.95381 14.141 4.11484 13.6824 3.39302 13.0637L7.85622 8.60137L8.39618 9.14126Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.34047 5.59382C7.69582 3.86299 7.65079 1.34254 7.63813 1.00348C9.30163 0.950719 10.981 1.49835 12.3187 2.64638L7.85587 7.10904L6.34047 5.59382Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.417 5.8534C12.6912 6.17944 10.746 6.95886 9.14228 8.3953L8.60232 7.8554L13.0652 3.39274C13.6836 4.11412 14.1423 4.95263 14.417 5.8534Z",fill:"currentColor"})]}),q3=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9823 5.95755C17.9823 5.94063 17.9823 5.94063 17.9823 5.92372C17.9647 5.8899 17.9647 5.85607 17.947 5.82225V5.80533C17.9294 5.77151 17.894 5.73768 17.8764 5.72077L17.8587 5.70386C17.8411 5.68695 17.8057 5.67003 17.7881 5.65312L17.7704 5.63621H17.7528L17.7351 5.6193L10.2296 2.05074C10.0883 1.98309 9.9117 1.98309 9.75276 2.05074L7.22737 3.25153L14.7682 6.95539L14.7859 6.9723C14.8035 6.9723 14.8035 6.98922 14.8212 6.98922C14.8389 7.00613 14.8389 7.02304 14.8565 7.03995C14.8565 7.05687 14.8565 7.05687 14.8565 7.07378V7.09069V11.0144C14.8565 11.0821 14.8212 11.1328 14.7682 11.1666L13.2494 11.9277C13.1611 11.9784 13.0552 11.9446 13.0022 11.86C12.9845 11.8431 12.9845 11.8093 12.9845 11.7755V7.93632L5.35541 4.16481L5.33775 4.1479L2.28256 5.60238L2.2649 5.6193H2.24724L2.22958 5.63621C2.21192 5.65312 2.1766 5.67003 2.15894 5.68695L2.14128 5.70386C2.10596 5.73768 2.0883 5.77151 2.05298 5.80533V5.82225C2.03532 5.85607 2.01766 5.8899 2.01766 5.92372C2.01766 5.94063 2.01766 5.94063 2.01766 5.95755C2.01766 5.99137 2 6.00829 2 6.04211V6.05902V13.9403C2 14.1263 2.10596 14.3124 2.30022 14.3969L9.7351 17.9486C9.84106 17.9993 9.96468 18.0162 10.0883 17.9824L10.1236 17.9655C10.1589 17.9655 10.1766 17.9486 10.2119 17.9317L17.6998 14.38C17.8764 14.2955 18 14.1263 18 13.9234V6.05902V6.04211C17.9823 6.00829 17.9823 5.99137 17.9823 5.95755Z",fill:"currentColor"})}),tm=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3262 9.93693C12.4719 9.9386 12.6103 9.93609 12.7349 9.93152C12.791 9.97854 12.8344 10.045 12.8552 10.1245C12.9047 10.3139 12.8043 10.5033 12.6315 10.5497C12.4588 10.5946 12.2793 10.4788 12.2311 10.2907C12.1957 10.1554 12.2369 10.0201 12.3262 9.93693Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.27706 0.304017C9.15299 0.216296 9.04875 0.148748 8.96228 0.10012C8.87698 0.0521489 8.80421 0.0198231 8.74411 0.00669856C8.68629 -0.00593035 8.6155 -0.00535376 8.56738 0.0501991C8.52434 0.0999018 8.52348 0.16854 8.52984 0.222493C8.54327 0.336242 8.60462 0.499848 8.68414 0.687544C8.73175 0.799941 8.78831 0.926324 8.84887 1.06164C8.89067 1.15504 8.93438 1.25272 8.97838 1.353C9.20774 1.87553 9.15148 2.50836 8.94435 3.09299C8.73736 3.67721 8.38473 4.19856 8.04237 4.49237C7.88614 4.62647 7.70766 4.70552 7.5622 4.76995C7.53462 4.78216 7.50797 4.79397 7.48314 4.80541C7.44522 4.82289 7.40909 4.84072 7.37924 4.85955C7.35108 4.87731 7.3188 4.90177 7.29917 4.93631C7.2753 4.9783 7.27528 5.02571 7.29777 5.06879C7.31669 5.10502 7.3497 5.135 7.38595 5.16111C7.52234 5.26004 7.70038 5.38006 7.88259 5.50289C7.96041 5.55535 8.03954 5.60869 8.11594 5.66074C8.37522 5.83737 8.60581 6.00103 8.71349 6.10607C9.25205 6.63303 9.52031 6.94761 9.66462 7.17811C9.11875 7.4241 8.61087 7.68077 8.1988 7.91847C8.1403 7.9522 8.08233 7.98655 8.02489 8.02152C7.98386 7.9821 7.93645 7.95233 7.88053 7.93056C7.73042 7.87156 7.56334 7.90061 7.37463 7.98263C7.34305 7.99635 7.31045 8.01175 7.27677 8.02875C7.24327 7.9277 7.19123 7.82934 7.12176 7.7405C6.85964 7.40673 6.41131 7.28628 6.11557 7.52574C5.89413 7.70503 5.84721 8.01387 5.94736 8.29836C5.93978 8.29461 5.93214 8.29094 5.92444 8.28733C5.48272 8.08263 4.96471 8.18256 4.7901 8.56833C4.70322 8.76026 4.72681 8.97556 4.825 9.1647C4.92313 9.35373 5.09733 9.52101 5.32215 9.62592C5.33449 9.63164 5.34709 9.63722 5.35955 9.64246C5.16594 9.85657 5.01927 10.0307 4.96287 10.1041C4.61488 10.5534 4.52411 10.876 4.48066 11.1598C4.46335 11.272 4.45086 11.4537 4.45873 11.6506C4.46254 11.7459 4.47117 11.8464 4.48681 11.9453C4.08194 12.7191 3.74831 13.5493 3.47927 14.4148C3.37603 14.7458 3.12202 14.9629 2.80337 15.2351C2.54746 15.4538 2.24987 15.708 1.9552 16.0856C1.31102 16.9114 0.693627 18.2496 0.861033 18.5535C1.03514 18.8683 1.682 18.4636 2.51099 17.7168C2.5795 17.655 2.60275 17.7792 2.64625 18.0116C2.67759 18.179 2.71943 18.4025 2.79625 18.653C3.00786 19.3453 3.44445 19.8891 3.59177 19.765C3.83212 19.5635 3.87757 18.9997 3.93475 18.2905C3.96997 17.8537 4.00963 17.3616 4.10203 16.8651C4.30559 15.7653 5.31137 15.4696 5.60333 15.4614C5.85355 15.4547 6.08921 15.4642 6.31357 15.4854C6.37198 15.5325 6.42233 15.5649 6.46663 15.5918L6.47456 15.5966L6.48456 15.6026L6.49722 15.6102C6.51144 15.6187 6.52443 15.6265 6.5366 15.6341L6.51818 15.6705C6.44947 15.8059 6.38502 15.933 6.3398 16.041C6.31423 16.1022 6.29346 16.1603 6.28152 16.2128C6.26992 16.2639 6.26448 16.3186 6.27865 16.3684C6.30549 16.4626 6.38646 16.531 6.49289 16.5628C6.59967 16.5946 6.73812 16.5926 6.90166 16.5456C7.17761 16.4663 7.53649 16.2559 7.9641 15.8332L8.02354 15.8501C8.60118 16.0139 9.15858 16.172 9.79251 16.1946C9.9602 16.2005 10.
21217 16.2057 10.2774 16.2102C10.3311 16.3279 10.3886 16.4451 10.4501 16.5594C10.2626 16.5526 10.0746 16.5376 9.8902 16.5138C9.12013 16.4143 8.42104 16.5124 7.72329 17.0821C6.80724 17.8302 6.37332 18.6997 5.92601 19.8935C5.91811 19.9147 5.97328 19.8772 6.07891 19.8055C6.56395 19.4763 8.11281 18.425 9.50182 19.0158C11.6473 19.9275 12.5875 20.057 13.3053 19.982C14.7477 19.8321 15.6048 18.806 16.0628 17.9297C16.5134 17.0678 16.495 15.7682 16.41 15.2261C17.2649 14.8889 18.0999 14.4891 18.4642 13.7757C18.6088 13.4949 18.5191 13.2987 18.1896 13.176C17.8468 13.0493 17.291 13.0043 16.1821 13.0588C15.1656 13.1093 13.4768 13.6421 13.4768 13.6421C13.4768 13.6421 14.6299 12.8313 15.6384 12.6459C17.0673 12.3829 17.9901 12.6677 17.9901 12.6677C18.9918 11.429 19.8691 10.0144 18.341 7.79855C16.8529 5.64174 14.1096 5.7829 12.2817 6.22954C12.4067 6.04368 12.4398 5.79932 12.3488 5.57576C12.2421 5.31364 11.9948 5.15407 11.7327 5.14997L11.5373 1.30732C11.535 1.26222 11.4972 1.22756 11.4529 1.22989C11.4086 1.23223 11.3745 1.27068 11.3768 1.31577L11.5727 5.16706C11.5359 5.1756 11.4993 5.18739 11.4633 5.20257C11.1175 5.34831 10.9533 5.7517 11.0966 6.10355C11.1661 6.27435 11.2953 6.40161 11.4494 6.47068L11.4277 6.47802C11.1935 6.55783 10.9555 6.64485 10.7177 6.73694C10.8848 5.9602 11.0444 4.88111 10.9006 3.70803C10.771 2.64861 10.5804 1.22637 9.27706 0.304017ZM12.2733 8.60888C12.3067 8.57915 12.3575 8.58261 12.3867 8.61661L13.3657 9.75589C13.3853 9.77876 13.3909 9.81083 13.3801 9.83917C13.3694 9.86751 13.3441 9.88744 13.3144 9.89093L13.3128 9.89111L13.3086 9.8916L13.2923 9.89338C13.2781 9.8949 13.2573 9.89704 13.2305 9.89958C13.1771 9.90465 13.1001 9.91128 13.0054 9.91758L13.0002 9.91792C13.0267 10.1593 13.0683 11.0167 12.3436 11.1616C11.8347 11.2638 11.2896 10.9381 11.1637 10.3508C11.1188 10.1401 11.1547 9.90649 11.1744 9.80707C10.9675 9.75303 10.7765 9.67747 10.6243 9.57204C10.5876 9.54663 10.5781 9.49576 10.6031 9.45843C10.6281 9.42111 10.6781 9.41144 10.7147 9.43686C10.8912 9.5591 11.1382 9.64125 11.4163 9.69366C11.6932 9.74584 11.9942 9.76735 12.2736 9.77259C12.5528 9.77781 12.8087 9.76677 12.9949 9.75439C13.0504 9.7507 13.0997 9.7469 13.1414 9.74338L12.2657 8.72425C12.2365 8.69026 12.2399 8.6386 12.2733 8.60888Z",fill:"currentColor"})]}),dR=t=>{const s=m.useId();return e.jsxs("svg",{...Ee({viewBox:"0 0 19 20",...t}),children:[e.jsx("path",{d:"M17.1519 14.873C16.9034 16.495 16.3503 18.0908 14.9468 18.7979C13.4811 19.5358 11.187 19.75 9.22119 19.75C7.25556 19.75 4.96222 19.5357 3.49658 18.7979C2.09285 18.0909 1.53897 16.4951 1.29053 14.873C1.28236 14.8197 1.27726 14.7667 1.27002 14.7148C1.67923 15.4671 2.32385 16.0173 3.03662 16.4053C4.22963 17.0547 5.62799 17.2705 6.48682 17.2705H11.9546C12.8134 17.2705 14.2126 17.0548 15.4058 16.4053C16.1184 16.0173 16.7622 15.4668 17.1714 14.7148C17.1642 14.7666 17.16 14.8198 17.1519 14.873Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.5"}),e.jsx("path",{d:"M12.0986 0.257812C13.1302 0.18005 13.9316 0.673982 14.5693 1.50781C15.2125 2.3488 15.6712 3.5162 15.9941 4.71875C16.316 5.91734 16.4982 7.13006 16.5996 8.04492C16.6502 8.50182 16.6805 8.88361 16.6982 9.15039C16.7021 9.20874 16.7043 9.26165 16.707 9.30859H1.96777C1.97051 9.26165 1.97269 9.20874 1.97656 9.15039C1.99429 8.88361 2.02456 8.50182 2.0752 8.04492C2.17659 7.13006 2.35882 5.91734 2.68066 4.71875C3.00361 3.51617 3.46235 2.3488 4.10547 1.50781C4.74323 0.673878 5.54451 0.179901 6.57617 0.257812H6.57812L6.73145 0.265625C6.8916 0.26762 7.59554 0.314533 8.50488 0.945312C9.00491 1.29208 9.6689 1.29204 10.1689 0.945312C11.079 0.314021 11.7839 0.267547 11.9434 0.265625L11.9424 0.264648L12.0986 0.257812Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.5"}),e.jsx("path",{d:"M8.78254 5.27526C9.03974 3.17446 8.07336 1.32759 6.62407 1.15016C5.17477 0.972718 3.79139 2.53191 3.53418 4.6327C3.27698 6.73349 4.24337 8.58036 5.69266 8.7578C7.14196 8.93524 8.52534 7.37605 8.78254 5.27526Z",fill:"#13161E"}),e.jsx("path",{d:"M8.15688 5.35137C8.32466 3.98095 7.69426 2.77618 6.74885 2.66043C5.80344 2.54468 4.90102 3.56179 4.73324 4.93221C4.56546 6.30263 5.19585 7.50741 6.14126 7.62315C7.08668 7.7389 7.9891 6.72179 8.15688 5.35137Z",fill:"currentColor"}),e.jsx("path",{d:"M7.65224 5.28952C7.77055 4.32318 7.32599 3.47363 6.65929 3.39201C5.99259 3.31038 5.35621 4.02759 5.2379 4.99393C5.11959 5.96028 5.56415 6.80982 6.23085 6.89145C6.89755 6.97307 7.53393 6.25587 7.65224 5.28952Z",fill:"currentColor"}),e.jsx("path",{d:"M9.91069 5.27526C9.65349 3.17446 10.6199 1.32759 12.0692 1.15016C13.5185 0.972718 14.9019 2.53191 15.1591 4.6327C15.4163 6.73349 14.4499 8.58036 13.0006 8.7578C11.5513 8.93524 10.1679 7.37605 9.91069 5.27526Z",fill:"#13161E"}),e.jsx("path",{d:"M10.5364 5.35137C10.3686 3.98095 10.999 2.77618 11.9444 2.66043C12.8898 2.54468 13.7922 3.56179 13.96 4.93221C14.1278 6.30263 13.4974 7.50741 12.552 7.62315C11.6066 7.7389 10.7041 6.72179 10.5364 5.35137Z",fill:"currentColor"}
2),e.jsx("path",{d:"M11.041 5.28952C10.9227 4.32318 11.3672 3.47363 12.0339 3.39201C12.7007 3.31038 13.337 4.02759 13.4553 4.99393C13.5736 5.96028 13.1291 6.80982 12.4624 6.89145C11.7957 6.97307 11.1593 6.25587 11.041 5.28952Z",fill:"currentColor"}),e.jsx("path",{d:"M6.60986 8.17725C7.84899 7.96057 9.07402 7.77117 10.2935 7.87646C11.2236 7.95679 12.1072 8.20116 13.0698 8.37646C13.5097 8.45672 13.9725 8.47855 14.3862 8.52002C14.8117 8.56269 15.2098 8.62659 15.5825 8.78467C16.2169 9.05393 16.7609 9.52413 16.9731 10.2173L16.9751 10.2241C16.9775 10.236 16.9827 10.2634 16.9907 10.311C17.0011 10.3731 17.0142 10.4563 17.0278 10.5532C17.0552 10.7471 17.0856 10.9934 17.1089 11.2349C17.1324 11.4785 17.1477 11.7098 17.146 11.8765C17.1458 11.8953 17.1427 11.9124 17.1421 11.9282H1.53369C1.5331 11.9124 1.52998 11.8953 1.52979 11.8765C1.52805 11.7099 1.54334 11.4784 1.56689 11.2349C1.59026 10.9933 1.62154 10.7472 1.64893 10.5532C1.66262 10.4563 1.67465 10.3731 1.68506 10.311C1.69549 10.2488 1.7019 10.2212 1.70264 10.2173C1.91491 9.52409 2.45882 9.05393 3.09326 8.78467C3.597 8.57111 4.08676 8.57677 4.70264 8.49268C5.34343 8.40511 5.98145 8.28708 6.60986 8.17725Z",fill:"currentColor",stroke:"#13161E",strokeWidth:"0.5"}),e.jsx("path",{d:"M6.3241 9.98633C7.68885 9.76953 9.04402 9.57864 10.3944 9.68457C11.422 9.76515 12.4028 10.011 13.4579 10.1855C13.94 10.2654 14.4449 10.2873 14.9042 10.3291C15.3744 10.3719 15.8179 10.4363 16.2343 10.5967C16.9436 10.8701 17.543 11.3451 17.7753 12.0342L17.7772 12.041C17.7798 12.0528 17.7863 12.079 17.7948 12.125C17.8062 12.1867 17.8198 12.2695 17.8348 12.3662C17.8649 12.56 17.899 12.8065 17.9247 13.0479C17.9506 13.2914 17.9676 13.5221 17.9657 13.6875C17.9655 13.7064 17.9624 13.7236 17.9618 13.7393H0.714722C0.714074 13.7236 0.711032 13.7064 0.710815 13.6875C0.708923 13.5223 0.725927 13.2922 0.751831 13.0488C0.77752 12.8075 0.811547 12.561 0.841675 12.3672C0.856744 12.2702 0.870294 12.1869 0.881714 12.125C0.892592 12.0661 0.899224 12.0393 0.900269 12.0342C1.13254 11.3451 1.73194 10.8701 2.44128 10.5967C3.00308 10.3804 3.55471 10.385 4.22546 10.3018C4.93009 10.2143 5.63133 10.0963 6.3241 9.98633Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.5"}),e.jsx("mask",{id:s,fill:"white",children:e.jsx("path",{d:"M15.4216 11.0966C15.6939 11.1103 16.7049 11.1622 17.3884 11.9891C17.6715 12.3318 17.8586 12.7618 17.9314 13.204C18.05 13.3023 18.1595 13.4074 18.2537 13.5233C18.7785 14.145 18.7752 15.0424 18.4236 15.7743L18.4207 15.7821C17.9741 16.7514 16.948 17.168 15.9255 17.3778C15.3098 17.5092 14.6086 17.5856 14.0222 17.5868C11.155 17.5824 6.66378 17.6033 4.22144 17.578C2.87264 17.4972 1.03117 17.2137 0.323001 15.9325C-0.0471595 15.2641 -0.15173 14.3687 0.290774 13.7108C0.409142 13.5319 0.555875 13.3793 0.718509 13.243C0.786328 12.787 0.977751 12.3419 1.26929 11.9891C1.78238 11.3684 2.47987 11.1839 2.91089 11.1249L3.23609 11.0966C4.06454 11.0545 4.87398 11.3672 5.49585 11.8827C5.75083 11.8932 6.0059 11.8966 6.2605 11.8759C7.03217 11.8132 7.79208 11.6136 8.56616 11.5634C9.14199 11.5192 9.72104 11.5272 10.2957 11.5858C11.1188 11.663 11.9359 11.8923 12.7546 11.9032C12.8846 11.906 13.0145 11.9018 13.1443 11.8964C13.7684 11.3724 14.5856 11.0541 15.4216 11.0966Z"})}),e.jsx("path",{d:"M15.4216 11.0966C15.6939 11.1103 16.7049 11.1622 17.3884 11.9891C17.6715 12.3318 17.8586 12.7618 17.9314 13.204C18.05 13.3023 18.1595 13.4074 18.2537 13.5233C18.7785 14.145 18.7752 15.0424 18.4236 15.7743L18.4207 15.7821C17.9741 16.7514 16.948 17.168 15.9255 17.3778C15.3098 17.5092 14.6086 17.5856 14.0222 17.5868C11.155 17.5824 6.66378 17.6033 4.22144 17.578C2.87264 17.4972 1.03117 17.2137 0.323001 15.9325C-0.0471595 15.2641 -0.15173 14.3687 0.290774 13.7108C0.409142 13.5319 0.555875 13.3793 0.718509 13.243C0.786328 12.787 0.977751 12.3419 1.26929 11.9891C1.78238 11.3684 2.47987 11.1839 2.91089 11.1249L3.23609 11.0966C4.06454 11.0545 4.87398 11.3672 5.49585 11.8827C5.75083 11.8932 6.0059 11.8966 6.2605 11.8759C7.03217 11.8132 7.79208 11.6136 8.56616 11.5634C9.14199 11.5192 9.72104 11.5272 10.2957 11.5858C11.1188 11.663 11.9359 11.8923 12.7546 11.9
2032C12.8846 11.906 13.0145 11.9018 13.1443 11.8964C13.7684 11.3724 14.5856 11.0541 15.4216 11.0966Z",fill:"currentColor"}),e.jsx("path",{d:"M15.4216 11.0966L15.3963 11.5959L15.3965 11.5959L15.4216 11.0966ZM17.3884 11.9891L17.7739 11.6707L17.7738 11.6706L17.3884 11.9891ZM17.9314 13.204L17.438 13.2852L17.4684 13.4697L17.6124 13.589L17.9314 13.204ZM18.2537 13.5233L17.8655 13.8386L17.8716 13.8459L18.2537 13.5233ZM18.4236 15.7743L17.9729 15.5578L17.9632 15.5779L17.9554 15.5987L18.4236 15.7743ZM18.4207 15.7821L18.8748 15.9913L18.8824 15.9747L18.8888 15.9577L18.4207 15.7821ZM15.9255 17.3778L15.825 16.888L15.8212 16.8888L15.9255 17.3778ZM14.0222 17.5868L14.0214 18.0868L14.0232 18.0868L14.0222 17.5868ZM4.22144 17.578L4.19154 18.0771L4.20389 18.0778L4.21626 18.078L4.22144 17.578ZM0.323001 15.9325L0.760607 15.6906L0.760402 15.6903L0.323001 15.9325ZM0.290774 13.7108L0.705677 13.9899L0.707768 13.9867L0.290774 13.7108ZM0.718509 13.243L1.03956 13.6263L1.18514 13.5044L1.21307 13.3166L0.718509 13.243ZM1.26929 11.9891L0.883909 11.6706L0.883863 11.6706L1.26929 11.9891ZM2.91089 11.1249L2.86751 10.6268L2.85526 10.6278L2.84308 10.6295L2.91089 11.1249ZM3.23609 11.0966L3.21074 10.5972L3.20171 10.5977L3.19271 10.5984L3.23609 11.0966ZM5.49585 11.8827L5.17676 12.2676L5.30668 12.3753L5.47529 12.3823L5.49585 11.8827ZM6.2605 11.8759L6.22001 11.3775L6.21989 11.3775L6.2605 11.8759ZM8.56616 11.5634L8.59855 12.0623L8.60443 12.0619L8.56616 11.5634ZM10.2957 11.5858L10.2449 12.0832L10.249 12.0836L10.2957 11.5858ZM12.7546 11.9032L12.7654 11.4033L12.7613 11.4032L12.7546 11.9032ZM13.1443 11.8964L13.1654 12.3959L13.3354 12.3887L13.4658 12.2793L13.1443 11.8964ZM15.4216 11.0966L15.3965 11.5959C15.6637 11.6094 16.4688 11.6614 17.003 12.3077L17.3884 11.9891L17.7738 11.6706C16.941 10.6631 15.7241 10.6112 15.4468 10.5972L15.4216 11.0966ZM17.3884 11.9891L17.003 12.3076C17.2258 12.5773 17.3786 12.924 17.438 13.2852L17.9314 13.204L18.4248 13.1228C18.3387 12.5997 18.1172 12.0862 17.7739 11.6707L17.3884 11.9891ZM17.9314 13.204L17.6124 13.589C17.7131 13.6725 17.7974 13.7546 17.8656 13.8385L18.2537 13.5233L18.6418 13.2081C18.5217 13.0602 18.3869 12.9321 18.2504 12.819L17.9314 13.204ZM18.2537 13.5233L17.8716 13.8459C18.2338 14.2749 18.266 14.9477 17.9729 15.5578L18.4236 15.7743L18.8743 15.9908C19.2844 15.1372 19.3232 14.0152 18.6357 13.2008L18.2537 13.5233ZM18.4236 15.7743L17.9554 15.5987L17.9525 15.6065L18.4207 15.7821L18.8888 15.9577L18.8918 15.9499L18.4236 15.7743ZM18.4207 15.7821L17.9665 15.5729C17.6266 16.3107 16.8188 16.6841 15.825 16.888L15.9255 17.3778L16.026 17.8676C17.0772 17.6519 18.3216 17.1922 18.8748 15.9913L18.4207 15.7821ZM15.9255 17.3778L15.8212 16.8888C15.2375 17.0134 14.5709 17.0857 14.0212 17.0868L14.0222 17.5868L14.0232 18.0868C14.6463 18.0855 15.3822 18.005 16.0299 17.8668L15.9255 17.3778ZM14.0222 17.5868L14.023 17.0868C11.1492 17.0824 6.66645 17.1033 4.22662 17.078L4.22144 17.578L4.21626 18.078C6.6611 18.1033 11.1608 18.0824 14.0214 18.0868L14.0222 17.5868ZM4.22144 17.578L4.25133 17.0789C3.59181 17.0394 2.84615 16.9516 2.19126 16.7315C1.53405 16.5106 1.0299 16.1778 0.760607 15.6906L0.323001 15.9325L-0.114605 16.1744C0.324267 16.9684 1.09494 17.418 1.8727 17.6794C2.65279 17.9415 3.50227 18.0358 4.19154 18.0771L4.22144 17.578ZM0.323001 15.9325L0.760402 15.6903C0.44594 15.1224 0.403124 14.4397 0.705665 13.9899L0.290774 13.7108L-0.124117 13.4318C-0.706585 14.2978 -0.540259 15.4058 -0.1144 16.1747L0.323001 15.9325ZM0.290774 13.7108L0.707768 13.9867C0.793253 13.8575 0.904095 13.7398 1.03956 13.6263L0.718509 13.243L0.397457 12.8597C0.207655 13.0187 0.0250307 13.2063 -0.126219 13.4349L0.290774 13.7108ZM0.718509 13.243L1.21307 13.3166C1.26824 12.9456 1.42434 12.5864 1.65472 12.3076L1.26929 11.9891L0.883863 11.6706C0.531159 12.0974 0.304413 12.6285 0.223948 13.1695L0.718509 13.243ZM1.26929 11.9891L1.65467 12.3077C2.0528 11.8261 2.60389 11.6716 2.97871 11.6203L2.91089 11.1249L2.84308 10.6295C2.35585 10.6962 1.51196 10.9108 0.883909 11.6706L1.26929 11.9891ZM2.91089 11.1249L2.95427 11.623L3.27947 11.5947L3.23609 11.0966L3.19271 10.5984L2.86751 10.6268L2.91089 11.1249ZM3.23609 11.0966L3.26144 11.5959C3.94878 11.561 4.63823 11.8212 5.17676 12.2676L5.49585 11.8827L5.81495 11.4977C5.10974 10.9132 4.18029 10.548 3.21074 10.5972L3.23609 11.0966ZM5.49585 11.8827L5.47529 12.3823C5.73797 12.3931 6.01654 12.3974 6.30111 12.3742L6.2605 11.8759L6.21989 11.3775C5.99525 11.3958 5.76369 11.3933 5.51642 11.3831L5.49585 11.8827ZM6.2605 11.8759L6.30099 12.3742C6.71205 12.3408 7.1172 12.2712 7.49481 12.2081C7.88022 12.1437 8.24015 12.0856 8.59855 12.0623L8.56616 11.5634L8.53378 11.0644C8.1181 11.0914 7.71104 11.1581 7.33005 11.2218C6.94126 11.2867 6.58062 11.3482 6.22001 11.3775L6.2605 11.8759ZM8.56616 11.5634L8.60443 12.0619C9.15017 12.02 9.69942 12.0276 10.2449 12.0832L10.2957 11.5858L10.3464 11.0884C9.74265 11.0268 9.13381 11.0183 8.5279 11.0648L8.56616 11.5634ZM10.2957 11.5858L10.249 12.0836C10.6373 12.12 11.0214 12.1919 11.4445 12.2626C11.8567 12.3313
212.2978 12.3972 12.748 12.4032L12.7546 11.9032L12.7613 11.4032C12.3928 11.3984 12.016 11.3441 11.6091 11.2762C11.2131 11.2101 10.7771 11.1288 10.3423 11.088L10.2957 11.5858ZM12.7546 11.9032L12.7439 12.4031C12.8905 12.4062 13.0333 12.4015 13.1654 12.3959L13.1443 11.8964L13.1232 11.3968C12.9956 11.4022 12.8788 11.4057 12.7654 11.4033L12.7546 11.9032ZM13.1443 11.8964L13.4658 12.2793C14.006 11.8257 14.7023 11.5607 15.3963 11.5959L15.4216 11.0966L15.447 10.5972C14.4689 10.5475 13.5307 10.9191 12.8228 11.5134L13.1443 11.8964Z",fill:"#13161E",mask:`url(#${s})`}),e.jsx("path",{d:"M2.67265 12.9281C2.34791 13.0431 2.05853 13.2766 1.91465 13.5865C1.71892 14.0402 1.95645 14.5985 2.39212 14.8091C2.91461 15.088 3.49818 15.1435 4.09823 15.1543C4.5528 15.1467 5.21635 15.1829 5.51457 14.8324C5.98039 14.283 5.44102 13.6817 4.96275 13.365C4.71517 13.2006 4.46076 13.0845 4.18304 12.9864C3.70637 12.8144 3.15897 12.7597 2.67989 12.9257L2.67265 12.9281Z",fill:"#13161E"}),e.jsx("path",{d:"M16.0022 12.9281C16.3269 13.0431 16.6163 13.2766 16.7602 13.5865C16.9559 14.0402 16.7184 14.5985 16.2827 14.8091C15.7602 15.088 15.1766 15.1435 14.5766 15.1543C14.122 15.1467 13.4585 15.1829 13.1602 14.8324C12.6944 14.283 13.2338 13.6817 13.7121 13.365C13.9596 13.2006 14.214 13.0845 14.4918 12.9864C14.9684 12.8144 15.5158 12.7597 15.9949 12.9257L16.0022 12.9281Z",fill:"#13161E"})]})},uR=t=>e.jsxs("svg",{...Ee({viewBox:"0 0 24 24",...t}),children:[e.jsx("path",{d:"M6 3.44444C6 3.0306 6 2.82367 6.06031 2.65798C6.16141 2.38021 6.38021 2.16141 6.65798 2.06031C6.82367 2 7.0306 2 7.44444 2H16.5556C16.9694 2 17.1763 2 17.342 2.06031C17.6198 2.16141 17.8386 2.38021 17.9397 2.65798C18 2.82367 18 3.0306 18 3.44444V9C18 12.3137 15.3137 15 12 15C8.68629 15 6 12.3137 6 9V3.44444Z",fill:"currentColor"}),e.jsx("path",{d:"M7 21.5556C7 19.5919 8.59188 18 10.5556 18H13.4444C15.4081 18 17 19.5919 17 21.5556C17 21.801 16.801 22 16.5556 22H7.44444C7.19898 22 7 21.801 7 21.5556Z",fill:"currentColor"}),e.jsx("path",{d:"M12 15C8.68629 15 6 12.3137 6 9V3.44444C6 3.0306 6 2.82367 6.06031 2.65798C6.16141 2.38021 6.38021 2.16141 6.65798 2.06031C6.82367 2 7.0306 2 7.44444 2H16.5556C16.9694 2 17.1763 2 17.342 2.06031C17.6198 2.16141 17.8386 2.38021 17.9397 2.65798C18 2.82367 18 3.0306 18 3.44444V9C18 12.3137 15.3137 15 12 15ZM12 15V18M18 4H20.5C20.9659 4 21.1989 4 21.3827 4.07612C21.6277 4.17761 21.8224 4.37229 21.9239 4.61732C22 4.80109 22 5.03406 22 5.5V6C22 6.92997 22 7.39496 21.8978 7.77646C21.6204 8.81173 20.8117 9.62038 19.7765 9.89778C19.395 10 18.93 10 18 10M6 4H3.5C3.03406 4 2.80109 4 2.61732 4.07612C2.37229 4.17761 2.17761 4.37229 2.07612 4.61732C2 4.80109 2 5.03406 2 5.5V6C2 6.92997 2 7.39496 2.10222 7.77646C2.37962 8.81173 3.18827 9.62038 4.22354 9.89778C4.60504 10 5.07003 10 6 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),Ei=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.25 4.75C2.25 3.78333 3.03333 3 4 3C4.96667 3 5.75 3.78333 5.75 4.75C5.75 5.71667 4.96667 6.5 4 6.5C3.03333 6.5 2.25 5.71667 2.25 4.75ZM2 9.675C1.68333 10.025 1.5 10.4917 1.5 11C1.5 11.5083 1.68333 11.975 2 12.325V9.675ZM6.50833 8.13333C5.58333 8.95833 5 10.1583 5 11.5C5 12.575 5.375 13.5583 6 14.325V15C6 15.55 5.55 16 5 16H3C2.45 16 2 15.55 2 15V14.1667C0.816667 13.6 0 12.4 0 11C0 9.06667 1.56667 7.5 3.5 7.5H4.5C5.25 7.5 5.94167 7.73333 6.50833 8.13333ZM14 15V14.325C14.625 13.55 15 12.5667 15 11.5C15 10.1667 14.4167 8.95833 13.4917 8.13333C14.0583 7.73333 14.75 7.5 15.5 7.5H16.5C18.4333 7.5 20 9.06667 20 11C20 12.4 19.1833 13.6 18 14.1667V15C18 15.55 17.55 16 17 16H15C14.45 16 14 15.55 14 15ZM14.25 4.75C14.25 3.78333 15.0333 3 16 3C16.9667 3 17.75 3.78333 17.75 4.75C17.75 5.71667 16.9667 6.5 16 6.5C15.0333 6.5 14.25 5.71667 14.25 4.75ZM18 9.675V12.325C18.3167 11.975 18.5 11.5083 18.5 11C18.5 10.4917 18.3167 10.025 18 9.675ZM10 3C11.1083 3 12 3.89167 12 5C12 6.10833 11.1083 7 10 7C8.89167 7 8 6.10833 8 5C8 3.89167 8.89167 3 10 3ZM7.5 11.5C7.5 12.0083 7.69167 12.4667 8 12.825V10.175C7.69167 10.525 7.5 10.9917 7.5 11.5ZM12 10.175V12.825C12.3167 12.475 12.5 12.0083 12.5 11.5C12.5 10.9917 12.3083 10.525 12 10.175ZM14 11.5C14 12.9 13.1833 14.1 12 14.6667V16C12 16.55 11.55 17 11 17H9C8.45 17 8 16.55 8 16V14.6667C6.81667 14.1 6 12.9 6 11.5C6 9.56667 7.56667 8 9.5 8H10.5C12.4333 8 14 9.56667 14 11.5Z",fill:"currentColor"})}),mR=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{d:"M10.2092 6.60273H9.99985C9.90123 6.59872 9.80489 6.57183 9.71845 6.52418C9.63201 6.47654 9.55784 6.40945 9.50178 6.32821C9.44573 6.24697 9.40933 6.15381 9.39547 6.05609C9.38161 5.95837 9.39066 5.85876 9.42191 5.76514C9.71507 5.02806 9.9831 4.27422 10.2009 3.53714C10.3851 2.96758 11.1055 1.1835 12.9147 1.1835C13.6198 1.16091 14.3051 1.41897 14.8201 1.90105C15.3352 2.38313 15.6379 3.04986 15.662 3.75491C15.662 5.37147 13.8276 6.03317 13.1492 6.26769C12.19 6.51799 11.2001 6.63079 10.2092 6.60273ZM12.9063 2.41477C11.9431 2.41477 11.5075 3.52876 11.3986 3.87218C11.2479 4.35798 11.0887 4.84379 10.9128 5.32959C11.5133 5.32577 12.1106 5.24126 12.6885 5.07831C13.1659 4.91079 14.3637 4.45849 14.3637 3.72979C14.3379 3.3647 14.1717 3.0238 13.9 2.77862C13.6282 2.53343 13.2721 2.40303 12.9063 2.41477Z",fill:"currentColor"}),e.jsx("path",{d:"M9.7656 6.60248C8.79625 6.61956 7.82926 6.50115 6.89266 6.25069C4.80706 5.57224 4.37988 4.5085 4.37988 3.73791C4.38339 3.41244 4.45272 3.09104 4.58371 2.79307C4.7147 2.4951 4.90464 2.22672 5.14209 2.0041C5.67011 1.47291 6.38661 1.17186 7.13556 1.1665C8.54272 1.1665 9.25467 2.48152 9.78236 3.41963C10.1253 4.18865 10.4054 4.98417 10.6199 5.79839C10.6459 5.89079 10.6503 5.9879 10.6329 6.08228C10.6155 6.17666 10.5767 6.26579 10.5194 6.34283C10.464 6.42063 10.3912 6.48454 10.307 6.52959C10.2227 6.57463
210.1291 6.59958 10.0336 6.60248H9.7656ZM7.04343 2.41452C6.64567 2.43165 6.27019 2.60287 5.99644 2.89195C5.87704 2.99723 5.78051 3.12588 5.7128 3.26994C5.64509 3.41401 5.60764 3.57043 5.60277 3.72954C5.60277 4.24047 6.22259 4.73465 7.27795 5.07806C7.89377 5.23724 8.52653 5.32161 9.16254 5.32934C9.02706 4.88328 8.86197 4.44677 8.66836 4.0227L9.16254 3.72116L8.6181 4.0227C8.1323 3.09297 7.7135 2.43127 7.06856 2.41452H7.04343Z",fill:"currentColor"}),e.jsx("path",{d:"M17.7477 8.69691V7.64992C17.7477 7.03903 17.505 6.45315 17.073 6.02119C16.6411 5.58922 16.0552 5.34654 15.4443 5.34654H4.55558C3.94468 5.34654 3.35881 5.58922 2.92684 6.02119C2.49487 6.45315 2.2522 7.03903 2.2522 7.64992V8.69691H17.7477ZM10.6281 9.9533V19.1668H15.4443C16.0552 19.1668 16.6411 18.9241 17.073 18.4922C17.505 18.0602 17.7477 17.4743 17.7477 16.8634V9.9533H10.6281ZM9.37174 9.9533H2.2522V16.8634C2.2522 17.4743 2.49487 18.0602 2.92684 18.4922C3.35881 18.9241 3.94468 19.1668 4.55558 19.1668H9.37174V9.9533Z",fill:"currentColor"})]}),Y3=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.13167 2C5.41235 2 4.72903 2.32323 4.26853 2.88001L1.38995 6.35894C0.866348 6.99201 0.870706 7.92682 1.39902 8.55591L8.90901 17.4991C9.46986 18.167 10.5301 18.167 11.091 17.4991L18.601 8.55591C19.1293 7.92682 19.1336 6.99201 18.6101 6.35894L15.7315 2.88001C15.271 2.32323 14.5876 2 13.8683 2H6.13167ZM6.1075 3.55905H8.06584C8.24356 3.55905 8.35915 3.74749 8.27967 3.90766L7.07834 6.32853C6.97231 6.54218 6.75558 6.67714 6.51851 6.67714H3.52811C3.3745 6.67714 3.2906 6.49663 3.38895 6.37774L5.47299 3.85845C5.62993 3.66873 5.86238 3.55905 6.1075 3.55905ZM12.0384 3.55905H13.9968C14.2419 3.55905 14.4743 3.66873 14.6313 3.85845L16.7153 6.37774C16.8137 6.49663 16.7298 6.67714 16.5762 6.67714H13.5858C13.3487 6.67714 13.132 6.54218 13.0259 6.32853L11.8246 3.90766C11.7451 3.74749 11.8607 3.55905 12.0384 3.55905ZM11.863 8.61192L10.1029 15.0421C10.0966 15.0648 10.0832 15.0848 10.0646 15.0991C10.046 15.1133 10.0233 15.1211 9.99997 15.1211C9.97661 15.1211 9.9539 15.1133 9.93531 15.0991C9.91672 15.0848 9.90329 15.0648 9.89707 15.0421L8.13552 8.6119C8.12345 8.56784 8.12164 8.52157 8.13024 8.47669C8.13884 8.43181 8.15761 8.38954 8.18509 8.35317C8.21257 8.31681 8.24802 8.28733 8.28866 8.26704C8.32931 8.24674 8.37406 8.23619 8.41943 8.23619H11.5791C11.6244 8.23619 11.6692 8.24674 11.7098 8.26704C11.7505 8.28733 11.7859 8.31681 11.8134 8.35317C11.8409 8.38954 11.8597 8.43181 11.8683 8.47669C11.8769 8.52158 11.8751 8.56785 11.863 8.61192Z",fill:"currentColor"})}),xR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9984 3.84525V4.31922C17.6215 4.69799 18.7984 6.20719 18.7984 7.95588C18.7984 9.70457 17.6215 11.2138 15.9984 11.5925V12.0665C15.9984 12.4768 15.9984 12.83 15.9774 13.1063C15.9576 13.3671 15.9127 13.7186 15.7097 14.0155C15.447 14.3997 15.0686 14.6404 14.5987 14.7006C14.2217 14.7489 13.874 14.6025 13.6416 14.4928C13.387 14.3727 13.0728 14.1935 12.7079 13.9853L12.6797 13.9692C11.564 13.3329 10.2815 12.7447 9.1984 12.5719L9.19841 16.1531C9.19846 16.3116 9.1985 16.4428 9.18752 16.5613C9.08077 17.7129 8.20111 18.6683 7.03498 18.7866C6.91644 18.7986 6.78585 18.7986 6.63665 18.7985L6.57671 18.7985C6.45685 18.7986 6.35075 18.7986 6.25064 18.79C5.2776 18.7068 4.47239 18.0305 4.17405 17.109C4.14316 17.0135 4.11846 16.9101 4.08903 16.7868L2.82568 11.4995C1.82964 10.6567 1.20142 9.37261 1.20142 7.95588C1.20142 5.4691 3.13704 3.39084 5.59991 3.39084H8.59991C9.78354 3.39084 11.35 2.70093 12.6797 1.94253L12.7078 1.92652C13.0728 1.71832 13.387 1.53911 13.6416 1.41892C13.874 1.30923 14.2217 1.16284 14.5987 1.21115C15.0686 1.27138 15.447 1.51205 15.7097 1.89629C15.9127 2.19315 15.9576 2.54468 15.9774 2.80541C15.9984 3.08175 15.9984 3.43497 15.9984 3.84525ZM17.2014 7.95588C17.2014 8.85008 16.6948 9.58534 15.9984 9.90906V6.0027C16.6948 6.32642 17.2014 7.06168 17.2014 7.95588ZM7.60142 16.1199V12.5209H5.59991C5.28656 12.5209 4.98176 12.4873 4.68838 12.4234L5.63625 16.3903C5.67496 16.5523 5.68447 16.5895 5.6934 16.6171C5.8045 16.9603 6.08784 17.1733 6.3868 17.1989C6.40963 17.2008 6.44157 17.2015 6.60294 17.2015C6.8054 17.2015 6.84704 17.2005 6.87376 17.1978C7.2307 17.1616 7.55638 16.8559 7.59735 16.4139C7.60056 16.3793 7.60142 16.3292 7.60142 16.1199Z",fill:"currentColor"})}),fR=t=>e.jsxs("svg",{...Ee(t),children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16659 15H2.49992C1.58325 15 0.833252 15.75 0.833252 16.6667C0.833252 17.5833 1.58325 18.3333 2.49992 18.3333H4.16659C5.08325 18.3333 5.83325 17.5833 5.83325 16.6667C5.83325 15.75 5.08325 15 4.16659 15Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8333 13.3333H9.16667C8.25 13.3333 7.5 14.0833 7.5 14.9999V16.6666C7.5 17.5833 8.25 18.3333 9.16667 18.3333H10.8333C11.75 18.3333 12.5 17.5833 12.5 16.6666V14.9999C12.5 14.0833 11.75 13.3333 10.8333 13.3333Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5001 10H15.8334C14.9167 10 14.1667 10.75 14.1667 11.6667V16.6667C14.1667 17.5833 14.9167 18.3333 15.8334 18.3333H17.5001C18.4167 18.3333 19.1667 17.5833 19.1667 16.6667V11.6667C19.1667 10.75 18.4167 10 17.5001 10Z",fill:"currentColor"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3333 1.66675H12.8333C12.0833 1.66675 11.7499 2.58341 12.2499 3.08341L13.8333 4.66675C10.7499 8.16675 6.33325 10.8334 1.66659 10.8334C1.16659 10.8334 0.833252 11.1667 0.833252 11.6667C0.833252 12.1667 1.16659 12.5001 1.66659 12.5001C7.24992 12.5001 12.4166 10.9167 16.1666 7.00008L17.6666 8.50008C18.1666 9.00008 19.0833 8.66675 19.0833 7.91675V2.50008C19.1666 2.00008 18.8333 1.66675 18.3333 1.66675Z",fill:"currentColor"})]}),pR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99992 2.66667C5.85778 2.66667 2.49992 6.02453 2.49992 10.1667C2.49992 12.0176 3.17043 13.712 4.28181 15.0201C5.0455 14.0924 6.20298 13.5 7.49992 13.5H12.4999C13.7969 13.5 14.9543 14.0925 15.718 15.0201C16.8294 13.712 17.4999 12.0176 17.4999 10.1667C17.4999 6.02453 14.1421 2.66667 9.99992 2.66667ZM16.1417 16.9716C17.9992 15.294 19.1666 12.8667 19.1666 10.1667C19.1666 5.10406 15.0625 1 9.99992 1C4.93731 1 0.833252 5.10406 0.833252 10.1667C0.833252 12.8667 2.00058 15.294 3.85809 16.9716C3.86775 16.9807 3.87765 16.9896 3.88778 16.9983C5.50966 18.4504 7.65167 19.3333 9.99992 19.3333C12.3482 19.3333 14.4902 18.4504 16.1121 16.9983C16.1222 16.9896 16.1321 16.9807 16.1417 16.9716ZM14.5004 16.1668C14.0438 15.5588 13.3171 15.1667 12.4999 15.1667H7.49992C6.68278 15.1667 5.95604 15.5588 5.49941 16.1668C6.75299 17.1086 8.31128 17.6667 9.99992 17.6667C11.6886 17.6667 13.2468 17.1086 14.5004 16.1668ZM9.99992 5.58333C8.61921 5.58333 7.49992 6.70262 7.49992 8.08333C7.49992 9.46404 8.61921 10.5833 9.99992 10.5833C11.3806 10.5833 12.4999 9.46404 12.4999 8.08333C12.4999 6.70262 11.3806 5.58333 9.99992 5.58333ZM5.83325 8.08333C5.83325 5.78215 7.69873 3.91667 9.99992 3.91667C12.3011 3.91667 14.1666 5.78215 14.1666 8.08333C14.1666 10.3845 12.3011 12.25 9.99992 12.25C7.69873 12.25 5.83325 10.3845 5.83325 8.08333Z",fill:"currentColor"})}),hR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16675 3.33317C3.70651 3.33317 3.33341 3.70627 3.33341 4.1665C3.33341 4.62674 3.70651 4.99984 4.16675 4.99984L15.8334 4.99984C17.2141 4.99984 18.3334 6.11913 18.3334 7.49984V15.8332C18.3334 17.2139 17.2141 18.3332 15.8334 18.3332H4.16675C2.78604 18.3332 1.66675 17.2139 1.66675 15.8332V4.1665C1.
266675 2.78579 2.78604 1.6665 4.16675 1.6665H14.1667C14.627 1.6665 15.0001 2.0396 15.0001 2.49984C15.0001 2.96007 14.627 3.33317 14.1667 3.33317H4.16675ZM12 11.5C12 10.6716 12.6716 10 13.5 10C14.3284 10 15 10.6716 15 11.5C15 12.3284 14.3284 13 13.5 13C12.6716 13 12 12.3284 12 11.5Z",fill:"currentColor"})}),gR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.6783 10.7281C19.7092 11.4665 19.4459 12.187 18.9463 12.7316C18.4466 13.2761 17.7514 13.6002 17.0131 13.6328C16.9699 13.6348 16.9268 13.6358 16.8838 13.6358C16.6876 13.6357 16.492 13.6144 16.3004 13.5725C15.7318 14.4504 14.9862 15.2 14.1113 15.7733C13.2364 16.3465 12.2515 16.7309 11.2196 16.9018C11.0976 17.2603 10.8541 17.565 10.5312 17.7631C10.2084 17.9612 9.82645 18.0402 9.45149 17.9866C9.07653 17.933 8.7321 17.75 8.47773 17.4693C8.22336 17.1887 8.07503 16.828 8.0584 16.4496C8.04176 16.0712 8.15786 15.6988 8.38663 15.397C8.61539 15.0951 8.94244 14.8826 9.31124 14.7963C9.68005 14.7099 10.0674 14.7552 10.4064 14.9242C10.7454 15.0931 11.0147 15.3753 11.1677 15.7217C12.6205 15.453 13.933 14.6831 14.8764 13.546C15.8197 12.409 16.3342 10.9769 16.33 9.49951C16.33 6.00908 13.4904 3.16943 9.99997 3.16943C6.50954 3.16943 3.66989 6.00908 3.66989 9.49951C3.6697 10.5788 3.94554 11.6402 4.47118 12.5829C4.489 12.614 4.50237 12.6474 4.51091 12.6822C4.56168 12.8234 4.55625 12.9786 4.49575 13.1158C4.43525 13.2531 4.3243 13.3618 4.18587 13.4195C3.84691 13.5621 3.48285 13.6356 3.11509 13.6355C3.07181 13.6355 3.02843 13.6345 2.98497 13.6325C2.24696 13.5995 1.55214 13.2752 1.05288 12.7307C0.553616 12.1862 0.290653 11.4659 0.32165 10.7278C0.334111 10.4335 0.327157 10.1709 0.320361 9.91693C0.314032 9.67783 0.307431 9.43057 0.31829 9.17256C0.3507 8.45188 0.66071 7.77169 1.18339 7.27446C1.70607 6.77723 2.40087 6.50152 3.12227 6.5051C4.28071 3.85463 6.92731 1.99756 9.99997 1.99756C13.0726 1.99756 15.7193 3.85463 16.8777 6.50514C17.5992 6.50102 18.2942 6.77649 18.817 7.27373C19.3397 7.77097 19.6496 8.45135 19.6816 9.17213C19.6925 9.43053 19.6859 9.67775 19.6795 9.91686C19.6728 10.1708 19.6658 10.4336 19.6783 10.7281ZM14.9142 9.49951C14.9139 10.2524 14.7407 10.9951 14.408 11.6705C14.0752 12.3458 13.5918 12.9357 12.995 13.3947C12.3982 13.8536 11.704 14.1694 10.9659 14.3176C10.2277 14.4658 9.46541 14.4425 8.7377 14.2495L6.7486 15.3982C6.64824 15.4562 6.53294 15.4831 6.41729 15.4755C6.30164 15.4679 6.19084 15.4262 6.09889 15.3557C6.00694 15.2851 5.93798 15.1889 5.90073 15.0791C5.86348 14.9694 5.85961 14.8511 5.88962 14.7391L6.39798 12.8427C5.55611 11.9327 5.08768 10.7392 5.08591 9.49951C5.08591 6.78904 7.29024 4.58412 9.99997 4.58412C12.7097 4.58412 14.9142 6.78904 14.9142 9.49951Z",fill:"currentColor"})}),bR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{d:"M13.8545 1.66701C13.907 1.66699 14.0256 1.66262 14.1592 1.68166L14.2959 1.70998L14.4004 1.74221C14.5032 1.7798 14.6006 1.83135 14.6904 1.89455C14.8466 2.00447 14.9622 2.15255 15.0068 2.20608L18.6172 6.54006C18.6725 6.60642 18.7438 6.69072 18.8008 6.77053C18.8481 6.83677 18.9052 6.92536 18.9512 7.03713L18.9922 7.15725L19.0283 7.32717C19.0523 7.49909 19.0401 7.67464 18.9922 7.84279C18.9437 8.01263 18.8639 8.14112 18.8008 8.22951C18.7438 8.30932 18.6725 8.39362 18.6172 8.45998L11.1523 17.419C11.074 17.513 10.9812 17.6255 10.8926 17.7149C10.7986 17.8095 10.6477 17.9434 10.4287 18.0235C10.1516 18.1247 9.84739 18.1247 9.5703 18.0235C9.35157 17.9435 9.20136 17.8095 9.10741 17.7149C9.01884 17.6256 8.92599 17.513 8.84765 17.419L1.38183 8.45998C1.32652 8.39362 1.25518 8.3093 1.19823 8.22951C1.13515 8.14112 1.05527 8.0126 1.00683 7.84279C0.942914 7.6187 0.942915 7.38134 1.00683 7.15725L1.04784 7.03713C1.09376 6.92535 1.15095 6.83678 1.19823 6.77053C1.25518
26.69074 1.32652 6.60642 1.38183 6.54006L4.99316 2.20608C5.03795 2.15227 5.15279 2.00423 5.30859 1.89455C5.42821 1.81036 5.56187 1.74802 5.70312 1.70998C5.88755 1.66036 6.07582 1.66701 6.1455 1.66701H13.8545ZM9.99902 14.5459L12.1611 8.33303H7.83788L9.99902 14.5459ZM7.95605 13.7461L6.07323 8.33303H3.4453L7.95605 13.7461ZM12.043 13.7451L16.5537 8.33303H13.9258L12.043 13.7451ZM13.9336 6.66701H16.5537L13.7754 3.33303H12.8223L13.9336 6.66701ZM7.82226 6.66701H12.1768L11.0654 3.33303H8.93359L7.82226 6.66701ZM3.4453 6.66701H6.06542L7.17675 3.33303H6.22363L3.4453 6.66701Z",fill:"currentColor"})}),CR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.833252 9.99984C0.833252 5.42739 4.41048 1.6665 8.88881 1.6665C10.361 1.6665 11.742 2.07577 12.929 2.78885C13.3236 3.02585 13.4513 3.5378 13.2143 3.93233C12.9773 4.32685 12.4653 4.45455 12.0708 4.21755C11.1333 3.65436 10.0475 3.33317 8.88881 3.33317C5.38968 3.33317 2.49992 6.28802 2.49992 9.99984C2.49992 13.7117 5.38968 16.6665 8.88881 16.6665C10.0475 16.6665 11.1333 16.3453 12.0708 15.7821C12.4653 15.5451 12.9773 15.6728 13.2143 16.0673C13.4513 16.4619 13.3236 16.9738 12.929 17.2108C11.742 17.9239 10.361 18.3332 8.88881 18.3332C4.41048 18.3332 0.833252 14.5723 0.833252 9.99984ZM14.4107 6.07725C14.7361 5.75181 15.2637 5.75181 15.5892 6.07725L18.9225 9.41058C19.2479 9.73602 19.2479 10.2637 18.9225 10.5891L15.5892 13.9224C15.2637 14.2479 14.7361 14.2479 14.4107 13.9224C14.0852 13.597 14.0852 13.0694 14.4107 12.7439L16.3214 10.8332H7.49992C7.03968 10.8332 6.66659 10.4601 6.66659 9.99984C6.66659 9.5396 7.03968 9.1665 7.49992 9.1665H16.3214L14.4107 7.25576C14.0852 6.93032 14.0852 6.40269 14.4107 6.07725Z",fill:"currentColor"})}),jR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99985 19.0002C8.81795 19.0002 7.64763 18.7674 6.5557 18.3151C5.46377 17.8628 4.47162 17.1998 3.63589 16.3641C2.80016 15.5284 2.13723 14.5362 1.68493 13.4443C1.23264 12.3524 0.999849 11.1821 0.999849 10.0002C0.999849 8.81826 1.23264 7.64793 1.68493 6.556C2.13723 5.46407 2.80016 4.47192 3.63589 3.63619C4.47162 2.80046 5.46377 2.13753 6.5557 1.68524C7.64763 1.23294 8.81795 1.00015 9.99985 1.00015C12.3868 1.00015 14.676 1.94836 16.3638 3.63619C18.0516 5.32402 18.9998 7.6132 18.9998 10.0002C18.9998 12.3871 18.0516 14.6763 16.3638 16.3641C14.676 18.0519 12.3868 19.0002 9.99985 19.0002ZM11.7068 7.70715C11.8024 7.61491 11.8785 7.50456 11.931 7.38256C11.9834 7.26055 12.0109 7.12933 12.0121 6.99655C12.0133 6.86377 11.988 6.7321 11.9377 6.6092C11.8874 6.4863 11.8131 6.37465 11.7192 6.28076C11.6254 6.18687 11.5137 6.11261 11.3908 6.06233C11.2679 6.01205 11.1362 5.98675 11.0034 5.9879C10.8707 5.98906 10.7394 6.01664 10.6174 6.06905C10.4954 6.12146 10.3851 6.19764 10.2928 6.29315L7.29285 9.29315C7.10538 9.48068 7.00006 9.73499 7.00006 10.0002C7.00006 10.2653 7.10538 10.5196 7.29285 10.7072L10.2928 13.7072C10.4815 13.8893 10.7341 13.9901 10.9962 13.9878C11.2584 13.9855 11.5093 13.8804 11.6947 13.695C11.8801 13.5096 11.9852 13.2588 11.9875 12.9966C11.9898 12.7344 11.889 12.4818 11.7068 12.2932L9.41385 10.0002L11.7068 7.70715Z",fill:"currentColor"})}),vR=t=>e.jsx("svg",{...Ee({viewBox:"0 0 18 19",...t}),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 18.1665C10.1819 18.1665 11.3522 17.9337 12.4441 17.4814C13.5361 17.0291 14.5282 16.3662 15.364 15.5305C16.1997 14.6947 16.8626 13.7026 17.3149 12.6107C17.7672 11.5187 18 10.3484 18 9.1665C18 7.98461 17.7672 6.81428 17.3149 5.72235C16.8626 4.63042 16.1997 3.63827 15.364 2.80254C14.5282 1.96682 13.5361 1.30388 12.4441 0.851588C11.3522 0.399296 10.1819 0.166504 9 0.166504C6.61305 0.166504 4.32387 1.11472 2.63604 2.80254C0.948212 4.49037 0 6.77955 0 9.1665C0 11.5535 0.948212 13.8426 2.63604 15.5305C4.32387 17.2183 6.61305 18.1665 9 18.1665ZM7.293 6.8735C7.19749 6.78126 7.12131 6.67091 7.0689 6.54891C7.01649 6.4269 6.9889 6.29568 6.98775 6.1629C6.98659 6.03012 7.0119 5.89845 7.06218 5.77555C7.11246 5.65265 7.18671 5.541 7.2806 5.44711C7.3745 5.35322 7.48615 5.27896 7.60905 5.22868C7.73194 5.1784 7.86362 5.1531 7.9964 5.15425C8.12918 5.15541 8.2604 5.18299 8.3824 5.2354C8.50441 5.28781 8.61475 5.36399 8.707 5.4595L11.707 8.4595C11.8945 8.64703 11.9998 8.90134 11.9998 9.1665C11.9998 9.43167 11.8945 9.68597 11.707 9.8735L8.707 12.8735C8.5184 13.0557 8.26579 13.1565 8.0036 13.1542C7.7414 13.1519 7.49059 13.0467 7.30518 12.8613C7.11977 12.6759 7.0146 12.4251 7.01233 12.1629C7.01005 11.9007 7.11084 11.6481 7.293 11.4595L9.586 9.1665L7.293 6.8735Z",fill:"currentColor"})}),wR=t=>e.jsx("svg",{...Ee({viewBox:"0 0 24 24",width:24,height:24,...t}),children:e.jsx("path",{d:"M3 12H21M3 6H21M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),X3=t=>e.jsx("svg",{...Ee({viewBox:"0 0 24 24",width:24,height:24,...t}),children:e.jsx("path",{d:"M6 6L18 18M6 18L18 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),yR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{d:"M12.9986 7.4658C12.9986 10.4844 10.0896 12.9316 6.49932 12.9316C5.30569
212.9316 4.19018 12.6614 3.22779 12.1894C2.99343 12.3136 2.72784 12.4347 2.44037 12.5434C1.86855 12.7577 1.18113 12.9316 0.499947 12.9316C0.284345 12.9316 0.0906155 12.7918 0.0249974 12.5869C-0.0406207 12.3819 0.0312467 12.1583 0.206228 12.031L0.212478 12.0248C0.218727 12.0186 0.231226 12.0124 0.246849 11.9999C0.278096 11.9751 0.324966 11.9378 0.38121 11.885C0.493698 11.7825 0.646807 11.6335 0.796791 11.4409C0.968648 11.2235 1.13113 10.9627 1.24049 10.6739C0.459327 9.77324 0 8.66455 0 7.4658C0 4.44719 2.90907 2 6.49932 2C10.0896 2 12.9986 4.44719 12.9986 7.4658ZM7.23361 13.8943C10.902 13.5807 13.9985 10.9534 13.9985 7.4658C13.9985 7.30431 13.9923 7.14282 13.9798 6.98444C17.345 7.1894 19.9979 9.55274 19.9979 12.4347C19.9979 13.6335 19.5386 14.7421 18.7605 15.6459C18.8699 15.9378 19.0324 16.1956 19.2042 16.4129C19.3542 16.6055 19.5073 16.7546 19.6198 16.857C19.6761 16.9067 19.7229 16.9471 19.7542 16.9719C19.7698 16.9844 19.7823 16.9937 19.7885 16.9968L19.7948 17.003C19.9698 17.1303 20.0416 17.3539 19.976 17.5589C19.9104 17.7639 19.7167 17.9036 19.5011 17.9036C18.8199 17.9036 18.1325 17.7297 17.5607 17.5154C17.2732 17.4067 17.0045 17.2856 16.7732 17.1614C15.8077 17.6303 14.6922 17.9005 13.4986 17.9005C10.5114 17.9005 7.99291 16.2049 7.23361 13.8943Z",fill:"currentColor"})}),_R=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{d:"M12.5 4L6.5 10L12.5 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),NR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{d:"M7.5 4L13.5 10L7.5 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),kR=t=>e.jsx("svg",{...Ee(t),children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 3.33333C2.5 2.41286 3.24619 1.66667 4.16667 1.66667H8.33333C9.25381 1.66667 10 2.41286 10 3.33333V7.5C10 8.42047 9.25381 9.16667 8.33333 9.16667H4.16667C3.24619 9.16667 2.5 8.42047 2.5 7.5V3.33333ZM11.6667 3.33333C11.6667 2.41286 12.4129 1.66667 13.3333 1.66667H15.8333C16.7538 1.66667 17.5 2.41286 17.5 3.33333V5.83333C17.5 6.75381 16.7538 7.5 15.8333 7.5H13.3333C12.4129 7.5 11.6667 6.75381 11.6667 5.83333V3.33333ZM2.5 11.6667C2.5 10.7462 3.24619 10 4.16667 10H6.66667C7.58714 10 8.33333 10.7462 8.33333 11.6667V16.6667C8.33333 17.5871 7.58714 18.3333 6.66667 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6667V11.6667ZM10 10.8333C10 9.91286 10.7462 9.16667 11.6667 9.16667H15.8333C16.7538 9.16667 17.5 9.91286 17.5 10.8333V16.6667C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H11.6667C10.7462 18.3333 10 17.5871 10 16.6667V10.8333Z",fill:"currentColor"})}),ns=({containerRef:t})=>{const[s,a]=m.useState({left:!1,right:!1});m.useEffect(()=>{const i=t.current;if(!i)return;const o=()=>a({left:sR(i.scrollLeft),right:aR(i.scrollLeft,i.clientWidth,i.scrollWidth)});o(),i.addEventListener("scroll",o,{passive:!0});const d=new ResizeObserver(o);d.observe(i);const u=new MutationObserver(o);return u.observe(i,{childList:!0,subtree:!0}),()=>{i.removeEventListener("scroll",o),d.disconnect(),u.disconnect()}},[t]);const l=(i,o)=>()=>{const d=t.current;if(!d||!o)return;const u=i(eR(d),d.scrollLeft,tR(d));d.scrollTo({left:u,behavior:"smooth"})},r=i=>g("flex size-9 items-center justify-center rounded-lg bg-buttonv2-nonAccent-bg text-buttonv2-nonAccent-text","transition-all duration-200 hover:enabled:bg-hover-buttonv2-nonAccent disabled:opacity-50",i==="left"?"rounded-r-none":"rounded-l-none");return e.jsxs("div",{className:"flex shrink-0 items-center gap-px","data-testid":"scroll-buttons",children:[e.jsx("button",{type:"button","aria-label":"Scroll left",disabled:!s.left,className:r("left"),onClick:l(nR,s.left),children:e.jsx(_R,{className:"size-4"})}),e.jsx("button",{type:"button","aria-label":"Scroll right",disabled:!s.right,className:r("right"),onClick:l(lR,s.right),children:e.jsx(NR,{className:"size-4"})})]})},SR=3,AR=({tournament:t})=>{var a;const s=Y();return e.jsxs("div",{className:"w-72 shrink-0 rounded-2xl bg-secondary","data-testid":`active-tournament-${t.slug}`,children:[e.jsx(Li,{variant:"small",name:t.name??"",imageUrl:t.imageUrl??"",prizePool:((a=t.metadata)==null?void 0:a.totalPrizePool)??0,countdown:e.jsx(V3,{tournament:t})}),e.jsx("div",{className:"pt-2",children:e.jsx(Ju,{slug:t.slug,tournamentType:t.type,leaders:bC(t.leaderboard??[]).slice(0,SR),prizeSource:t})}),e.jsx("div",{className:"p-3",children:e.jsx(O,{variant:"primary",className:"w-full",onClick:()=>s(`${fi}/${t.slug}`),children:n("tournaments.try_now")})})]})},LR=()=>{const t=C($8),s=m.useRef(null);return m.useEffect(()=>{gC()},[]),t.length?e.jsxs("div",{className:"flex w-full flex-col","data-testid":"active-tournaments",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Z3,{}),e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("tournaments.tournaments")})]}),e.jsx(ns,{containerRef:s})]}),e.jsx("div",{ref:s,className:"no-scrollbar flex w-full gap-4 overflow-x-auto pt-4",children:t.map(a=>e.jsx(AR,{tournament:a},a.id))})]}):null},MR=({tournaments:t,activeIndex:s,onSwitch:a})=>{var i;const l=t[s]??t[0];if(!l)return null;const r=o=>a((s+o+t.length)%t.length);return e.jsxs("div",{"data-testid":"active-tournaments-carousel",children:[e.jsx(De,{to:`${fi}/${l.slug}`,className:"block w-full",children:e.jsx(Li,{variant:"small",name:l.name??"",imageUrl:l.imageUrl??"",prizePool:((i=l.metadata)==null?void 0:i.totalPrizePool)??0,countdown:e.jsx(V3,{tournament:l})})}),t.length>1?e.jsxs("div",{className:"flex items-center justify-center gap-2 pt-2",children:[e.jsx("button",{type:"button","aria-label":"Previous tournament",className:"text-brandblue-100 hover:text-white",onClick:()=>r(-1),children:"â¹"}),e.jsx("span",{className:"flex items-center gap-1",children:t.map((o,d)=>e.jsx("button",{type:"button","aria-label":o.name,"aria-current":d===s,"data-testid":`carousel-dot-${d}
2`,onClick:()=>a(d),className:g("size-2 rounded-full",d===s?"bg-violet":"bg-highlight")},o.id))}),e.jsx("button",{type:"button","aria-label":"Next tournament",className:"text-brandblue-100 hover:text-white",onClick:()=>r(1),children:"âº"})]}):null]})},sm=({slug:t,tournamentType:s,hideIfParticipating:a=!1,className:l,source:r=CC})=>{const[i,o,d]=C([P8,H8,a3]),[u,c]=m.useState(!1),x=!!s&&n3({type:s});if(m.useEffect(()=>{x||U8(t)},[t,x]),x)return e.jsxs("span",{className:"relative inline-flex w-full md:w-auto",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[e.jsx(O,{variant:"primary",disabled:!0,"data-testid":"join-tournament-mcp",className:g("w-full md:w-auto",l),children:n("tournaments.join_tournament")}),u?e.jsx("span",{className:"absolute bottom-full left-1/2 z-[500] mb-2 w-max max-w-64 -translate-x-1/2 rounded-md border border-brand-tertiary bg-secondary-active p-2 text-sm text-white",children:n("tournaments.mcp.only_for_agents")}):null]});const p=i[t]??!1,f=o.includes(t)||d.includes(t),h=t in i;return a&&h&&!p?null:e.jsxs(O,{variant:"primary","data-testid":"join-tournament-button",className:g("w-full md:w-auto",l),disabled:!p||f,onClick:()=>l3({slug:t,source:r}),children:[f?e.jsx(ZE,{}):null,!f&&p?n("tournaments.join_tournament"):null,!f&&!p?n("promo.promotions.spinwars.already_joined_cta"):null]})},BR=1500,am=({showFullLayout:t=!1})=>{const s=C(We),[a,l]=m.useState(null),r=(s==null?void 0:s.affiliateCode)??"",i=Vt()===zt.TELEGRAM,d=`${typeof window>"u"?js.mainHostname:window.location.host}/?start=${r}`,u=(x,p)=>{var f;X("Copy referral link",{link:p}),(f=navigator.clipboard)==null||f.writeText(p),l(x),window.setTimeout(()=>l(null),BR)},c=()=>{if(typeof navigator.share!="function"){u("link",d);return}navigator.share({title:rt.meta.title,text:rt.meta.description,url:d})};return e.jsxs("div",{"data-testid":"share-in-tournament",className:g("flex flex-col",!t&&"border-t border-t-highlight pb-4"),children:[e.jsxs("div",{className:"flex items-center gap-2 pb-2 pt-4",children:[e.jsx(v6,{className:"size-5 text-white"}),e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("modals.refer.your")})]}),e.jsxs("div",{className:"flex gap-4",children:[e.jsxs("div",{className:g("flex w-full flex-col gap-6 rounded-xl bg-primary p-6",t?"lg:w-1/2":"lg:w-full"),children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-brandblue-100",children:n("modals.refer.code")}),e.jsx("div",{className:"flex h-10 grow flex-row items-center overflow-hidden rounded-lg bg-secondary p-2",children:e.jsx("span",{className:"w-full truncate text-sm font-medium text-white","data-testid":"raf-code",children:r})})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-brandblue-100",children:i?n("modals.refer.tg_link"):n("modals.refer.web_link")}),e.jsxs("div",{className:"flex grow flex-row items-center gap-2 overflow-hidden rounded-lg bg-secondary p-2",children:[e.jsx("span",{className:"w-full truncate text-sm font-medium text-white",children:d}),e.jsx(O,{variant:"secondary","aria-label":n("global_copy"),className:"size-8 shrink-0 p-0",onClick:()=>u("link",d),children:e.jsx(w6,{})})]})]}),e.jsxs("div",{className:"flex gap-4",children:[e.jsxs(O,{variant:"highlight",className:"h-11 w-full gap-1.5",onClick:()=>u("code",r),children:[e.jsx(w6,{}),a?n("modals.wallet.deposit.copy"):n("global_copy")]}),e.jsxs(O,{variant:"primary",className:"h-11 w-full gap-1.5 text-white",onClick:c,children:[e.jsx(VE,{}),n("global_share")]})]})]}),t?e.jsxs("div",{className:"hidden w-1/2 flex-col items-center justify-center rounded-xl bg-primary p-6 text-center lg:flex",children:[e.jsx(v6,{className:"size-8 text-brand-tertiary"}),e.jsx("span",{className:"leading-7 text-white",children:n("tournaments.raf.popup.title")}),e.jsx("span",{className:"text-sm font-medium leading-7 text-brandblue-100",children:n("tournaments.raf.popup.description")})]}):null]})]})},ER=t=>n(t).replace(/\n(\d+\.)/g,"<br>$1").replace(/\n/g,"<br>"),RR=({item:t})=>{const[s,a]=m.useState(!1),l=`${jC}.faq.faq_item_${t}`;return e.jsxs("div",{className:"overflow-hidden rounded-lg bg-primary",children:[e.jsxs("button",{type:"button","data-testid":`tournament-faq-item-${t}`,"aria-expanded":s,onClick:()=>a(r=>!r),className:"flex w-full items-center justify-between gap-4 p-4 text-left text-sm font-medium text-white",children:[n(`${l}.heading`),s?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),s?e.jsx("p",{className:"px-4 pb-4 text-sm font-normal text-brandblue-100",dangerouslySetInnerHTML:{__html:ER(`${l}.paragraph`)}}):null]})},Po=({items:t,className:s})=>e.jsx("div",{className:g("flex-col gap-2",s),children:t.map(a=>e.jsx(RR,{item:a},a))}),nm=()=>{const t=Array.from({length:bd},(a,l)=>l+1),s=Math.ceil(bd/2);return e.jsxs("section",{className:"border-t border-[#1A1E27] pt-8","data-testid":"tournament-faq",children:[e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("modals.refer.table.faq")}),e.jsxs("div",{className:"mt-2 flex flex-col gap-6 lg:flex-row",children:[e.jsx(Po,{items:t,className:"flex w-full lg:hidden"}),e.jsx(Po,{items:t.slice(0,s),className:"hidden lg:flex lg:w-1/2"}),e.jsx(Po,{items:t.slice(s),className:"hidden lg:flex lg:w-1/2"})]})]})},J3=()=>e.jsx("div",{"data-testid":"tournament-loading",className:"flex h-[calc(100vh-4rem)] w-full flex-col items-center justify-center",children:e.jsx("span",{className:"size-8 animate-spin rounded-full border-2 border-brand-tertiary border-t-transparent"})}),TR=()=>e.jsx("div",{className:"my-4 h-px w-full bg-primary"}),IR=({game:t,variant:s})=>{const a=C(ct),l=Us(),r=Y(),i=()=>{X("Open game",{gameCode:t.gameCode,provider:t.providerName}),l&&oa();
2const o=la(a,t.gameCode);o&&r(o)};return e.jsxs("button",{type:"button","data-testid":`participating-game-${t.gameCode}`,onClick:i,className:g("flex flex-none flex-col gap-y-2.5",s==="grid"?"w-[calc(50%-0.5rem)]":"h-[156px] w-[117px]"),children:[e.jsxs("div",{className:"relative w-fit",children:[t.isBattlepassRequired?e.jsx("div",{className:"absolute left-1/2 top-0 flex -translate-x-1/2",children:e.jsx("span",{className:"rounded-b-md bg-gradient-battlepass px-1.5 py-px text-[9px] font-bold uppercase text-black-50",children:n("badge.battlepassExclusive")})}):null,e.jsx(ce,{src:La(t.urlThumb),alt:t.name,loading:"lazy",className:g("cursor-pointer rounded-xl",s==="grid"?"":"h-[80px]")})]}),e.jsxs("div",{className:"flex flex-col items-start justify-start gap-y-1",children:[e.jsx("p",{className:"line-clamp-1 text-left text-sm font-semibold text-white",children:t.name}),e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:t.providerName})]})]})},lm=({slug:t,variant:s="infinite-horizontal"})=>{const a=C(V8),l=m.useRef(null),r=m.useRef(null),i=Us(),[o,d]=m.useState(null);m.useEffect(()=>{vC(t)},[t]);const u=a[t],c=s==="grid"||i,x=!c&&!!(u!=null&&u.length),p=x&&o===t,f=()=>{X("View all clicked",{title:"Participating Games",slug:t}),d(t)},h=()=>d(null),b=()=>{var v;h(),(v=l.current)==null||v.scrollIntoView({block:"start"})};return e.jsxs("div",{ref:l,className:"flex scroll-mt-4 flex-col","data-testid":"tournament-participating-games",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(UE,{}),e.jsx("h2",{className:g("font-semibold text-white",s==="grid"?"text-lg":"text-2xl"),children:`${n("tournaments.participating_games")} (${(u==null?void 0:u.length)??0})`})]}),s==="infinite-horizontal"?e.jsxs("div",{className:"flex items-center gap-2",children:[x?e.jsx(O,{variant:"outline",size:"sm","aria-expanded":p,"data-testid":"participating-games-toggle",onClick:p?h:f,children:p?n("tournaments.see_less"):n("global_viewAll")}):null,p?null:e.jsx("div",{className:"hidden md:flex",children:e.jsx(ns,{containerRef:r})})]}):null]}),e.jsx("div",{ref:r,"data-testid":"participating-games-list",className:g("no-scrollbar pt-4",c?"flex flex-wrap gap-3 pb-24 md:pb-0":p?"grid grid-cols-[repeat(auto-fill,117px)] justify-between gap-4":"flex flex-wrap gap-4 md:flex-nowrap md:overflow-x-auto"),children:(u??[]).map(v=>e.jsx(IR,{game:v,variant:c?"grid":"inline"},v.gameCode))}),p?e.jsx("div",{className:"flex justify-center pt-6",children:e.jsx(O,{variant:"outline",size:"sm","data-testid":"participating-games-see-less",onClick:b,children:n("tournaments.see_less")})}):null]})},rm=()=>{const t=Us(),s=Y(),a=()=>{X("Open game",{gameCode:wC,provider:"sportsbook"}),t&&oa(),s(yC)};return e.jsxs("div",{className:"flex flex-col","data-testid":"tournament-sportsbook-game",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j6,{className:"size-5 text-brandblue-100"}),e.jsx("h2",{className:"text-2xl font-semibold text-white",children:`${n("tournaments.participating_games")} (1)`})]}),e.jsx("div",{className:"pt-4",children:e.jsxs("button",{type:"button",onClick:a,className:"flex w-[117px] flex-none flex-col gap-y-2.5",children:[e.jsx("div",{className:"flex h-[80px] w-[117px] items-center justify-center rounded-xl bg-primary text-white",children:e.jsx(j6,{className:"size-10"})}),e.jsx("p",{className:"line-clamp-1 text-left text-sm font-semibold text-white",children:n("global_sportsbook")})]})})]})},FR=({type:t,slug:s})=>{const a=_C(t??null,s??null),l=Array.from({length:Cd},(r,i)=>i+1);return a?e.jsx("div",{"data-testid":"tournament-terms-modal",children:e.jsx("ul",{children:l.map(r=>e.jsxs("li",{className:g(r<Cd&&"pb-6"),children:[e.jsx("h5",{className:"font-semibold text-white",children:n(`${a}.${r}.title`)}),e.jsx("p",{className:"pt-1 text-sm text-brandblue-100",children:n(`${a}.${r}.description`)})]},r))})}):null},Q3="tournamentTerms",OR=$e({component:FR,titleIcon:W3,title:()=>n("tournaments.terms.modal.title"),removeSearchParams:["type","slug"]}),DR=()=>{const[t,s,a,l,r]=C([NC,kC,SC,AC,te]),{openModal:i}=W();if(m.useEffect(()=>{LC()},[]),!s)return l?e.jsx(J3,{}):e.jsxs("div",{"data-testid":"tournaments-panel-empty",className:"flex size-full flex-col items-center justify-center gap-2 px-6 text-center",children:[e.jsx("div",{className:"text-base font-semibold text-white",children:n("global_tournaments")}),e.jsx("div",{className:"text-sm text-brandblue-100",children:n("global_noRecords")})]});const o=()=>{i(Q3,{type:s.type,slug:s.slug}),BC({slug:s.slug,source:"sidebar"})};return e.jsxs("div",{"data-testid":"tournaments-panel",className:"flex w-full flex-col gap-4 bg-sidebar-main p-4",children:[e.jsx(MR,{tournaments:t,activeIndex:a,onSwitch:MC}),e.jsxs(O,{variant:"default",className:"w-full justify-start px-3",onClick:o,children:[e.jsx(W3,{className:"size-4"}),e.jsx("span",{className:"pl-2",children:n("tournaments.rules")})]}),r?e.jsx(sm,{slug:s.slug,hideIfParticipating:!0,source:"sidebar",className:"w-full"}):null,e.jsx(Ju,{slug:s.slug,tournamentType:s.type,leaders:s.leaderboard,prizeSource:s,collapsible:!0},`leaderboard-${s.slug}`),z8(s)?e.jsx(lm,{slug:s.slug,variant:"grid"},`games-${s.slug}`):null,G8(s)?e.jsx(rm,{}):null,Z8(s)&&r?e.jsx(am,{}):null]})},$R=()=>{const[t,s,a,l,r]=C([EC,RC,TC,IC,FC]);return m.useEffect(()=>{r3()},[]),a&&s.length===0?e.jsx("div",{"data-testid":"chat-channels-skeleton",className:"h-10 w-full animate-pulse rounded bg-primary-active"}):t.length===0?e.jsx("div",{className:"flex h-full items-center justify-center",children:e.jsx("span",{children:n("global_chat_no_channels")})}):e.jsxs("div",{className:"relative",children:[e.jsx(Y0,{id:"chat-channel-selector",value:l==null?void 0:l.toString(),options:t,onChange:i=>{var o;i3(Number(i)),X("Chat Filter Clicked",{filterName:(o=t.find(d=>d.value===i))==null?void 0:o.title})}}),r>0?e.jsxs("div",{"data-testid":"chat-participants-count",className:"absolute right-8 top-[8px] flex flex-row place-items-center gap-2",children:[e.jsx("div",{className:"size-2 roun
2ded-full bg-green"}),r]}):null]})},PR=({className:t})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 18 19",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 18.5C13.9706 18.5 18 14.4706 18 9.5C18 4.52944 13.9706 0.5 9 0.5C4.02944 0.5 0 4.52944 0 9.5C0 14.4706 4.02944 18.5 9 18.5ZM7.71967 5.96967C8.01256 5.67678 8.48744 5.67678 8.78033 5.96967L11.7803 8.96967C12.0732 9.26256 12.0732 9.73744 11.7803 10.0303L8.78033 13.0303C8.48744 13.3232 8.01256 13.3232 7.71967 13.0303C7.42678 12.7374 7.42678 12.2626 7.71967 11.9697L10.1893 9.5L7.71967 7.03033C7.42678 6.73744 7.42678 6.26256 7.71967 5.96967Z",fill:"currentColor"})}),ec=({className:t})=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M6.5 3.5L2.5 7L6.5 10.5V8C10 8 12.5 9 13.5 12.5C13.8333 11.1667 13.9 8.1 12 6.5C10.6 5.32 8 5 6.5 5V3.5Z",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"})}),HR=({className:t})=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M4 4L12 12M12 4L4 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),Cl=({className:t})=>e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"3.5",cy:"8",r:"1.25",fill:"currentColor"}),e.jsx("circle",{cx:"8",cy:"8",r:"1.25",fill:"currentColor"}),e.jsx("circle",{cx:"12.5",cy:"8",r:"1.25",fill:"currentColor"})]}),UR=({className:t})=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M4.5 9.5L8 6L11.5 9.5",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})}),VR=({className:t})=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M2.5 4H13.5M6 4V2.75C6 2.33579 6.33579 2 6.75 2H9.25C9.66421 2 10 2.33579 10 2.75V4M4 4L4.6 13.1C4.62 13.6 5.03 14 5.53 14H10.47C10.97 14 11.38 13.6 11.4 13.1L12 4",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),zR=({className:t})=>e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"8",cy:"8",r:"5.75",stroke:"currentColor",strokeWidth:"1.2"}),e.jsx("path",{d:"M4 12L12 4",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]}),GR=({className:t})=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M8 3V12M8 12L4.5 8.5M8 12L11.5 8.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),ZR=({className:t})=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M9.5 1.5L14.5 6.5L12.5 7L11 10L6 5L9 3.5L9.5 1.5ZM6 10L2 14",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),WR=({className:t})=>e.jsx("svg",{viewBox:"0 0 10 10",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M2 5.2L4 7L8 3",stroke:"#13161E",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}),im=({className:t,currentColor:s="currentColor"})=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"10",cy:"10",r:"7.25",stroke:s,strokeWidth:"1.3"}),e.jsx("circle",{cx:"7.5",cy:"8.5",r:"1",fill:s}),e.jsx("circle",{cx:"12.5",cy:"8.5",r:"1",fill:s}),e.jsx("path",{d:"M7 12C7.7 13 8.7 13.5 10 13.5C11.3 13.5 12.3 13 13 12",stroke:s,strokeWidth:"1.3",strokeLinecap:"round"})]}),KR=({className:t})=>e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14C8 11 9 10 14 8Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinejoin:"round"})}),qR=({className:t})=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("rect",{x:"1.6",y:"3.6",width:"12.8",height:"8.8",rx:"1.6",stroke:"currentColor",strokeWidth:"1.2"}),e.jsx("path",{d:"M7 6.6H5.4V9.4H7V8.3",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M8.9 6.6V9.4",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round"}),e.jsx("path",{d:"M10.7 9.4V6.6H12.4M10.7 8H12",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round"})]}),YR=({className:t})=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"10",cy:"10",r:"7.25",stroke:"currentColor",strokeWidth:"1.3"}),e.jsx("path",{d:"M10 9V14",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}
2),e.jsx("circle",{cx:"10",cy:"6.4",r:"0.9",fill:"currentColor"})]}),XR=({className:t})=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M4 10V14C4 14.55 4.45 15 5 15H7L12 19V5L7 9H5C4.45 9 4 9.45 4 10Z",fill:"#00FFE0",fillOpacity:"0.25",stroke:"#00FFE0",strokeWidth:"1.3",strokeLinejoin:"round"}),e.jsx("path",{d:"M15.5 9C16.3 9.8 16.8 10.85 16.8 12C16.8 13.15 16.3 14.2 15.5 15",stroke:"#00FFE0",strokeWidth:"1.3",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6.5C19.4 7.9 20.3 9.85 20.3 12C20.3 14.15 19.4 16.1 18 17.5",stroke:"#00FFE0",strokeWidth:"1.3",strokeLinecap:"round"})]}),JR=({className:t})=>e.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3.5 2.5L7 6L3.5 9.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}),Ri=(t,s,a=!0)=>{m.useEffect(()=>{if(!a)return;const l=i=>{t.current&&!t.current.contains(i.target)&&s()},r=i=>{i.key==="Escape"&&s()};return document.addEventListener("mousedown",l),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",l),document.removeEventListener("keydown",r)}},[t,s,a])},QR=[{title:"global_chat_rules_content_p1_title",items:["global_chat_rules_content_p1_content"]},{title:"global_chat_rules_content_p2_title",items:["global_chat_rules_content_p2_1","global_chat_rules_content_p2_2","global_chat_rules_content_p2_3","global_chat_rules_content_p2_4","global_chat_rules_content_p2_5"]},{title:"global_chat_rules_content_p3_title",items:["global_chat_rules_content_p3_1","global_chat_rules_content_p3_2","global_chat_rules_content_p3_3"]},{title:"global_chat_rules_content_p4_title",items:["global_chat_rules_content_p4_1"]}],eT=({onOpen:t})=>e.jsx("button",{type:"button","data-testid":"chat-rules-open",onClick:t,className:"text-brandblue-300 transition-colors hover:text-brandblue-100",children:n("global_chat_rules")}),tT=({onClose:t})=>{const s=m.useRef(null);return Ri(s,t),e.jsxs("div",{ref:s,"data-testid":"chat-rules",className:"absolute inset-0 z-30 flex flex-col bg-[#0F1218]",children:[e.jsxs("div",{className:"flex shrink-0 items-center justify-between p-3",children:[e.jsxs("div",{className:"flex items-center text-lg text-white",children:[e.jsx(YR,{}),e.jsx("span",{className:"pl-2",children:n("global_chat_rules")})]}),e.jsx("button",{type:"button","data-testid":"chat-rules-close",onClick:t,className:"flex w-[100px] items-center justify-center rounded-lg bg-success/20 px-3 py-1.5 text-sm text-success",children:n("global_chat_button_confirm_text")})]}),e.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overflow-x-hidden",children:e.jsx("div",{className:"space-y-4 p-4",children:QR.map(a=>e.jsxs("div",{className:"rounded-[8px] bg-sidebar-main p-4",children:[e.jsx("div",{className:"pb-4 font-medium text-[#B7B9D3]",children:n(a.title)}),e.jsx("div",{className:"space-y-2",children:a.items.map(l=>e.jsx("div",{className:"text-sm leading-20 text-brandblue-100 [&_a]:text-brandblue-300 [&_a]:underline",dangerouslySetInnerHTML:{__html:n(l)}},l))})]},a.title))})})]})},i2=Ze("webcamSlotMounted"),om=At(null).on(i2,(t,s)=>s),sT=()=>{var l;const t=C(W8),s=!!((l=t==null?void 0:t.slug)!=null&&l.startsWith("tribe-"));m.useEffect(()=>()=>{i2(null)},[]);const a=m.useCallback(r=>{i2(r)},[]);return s?e.jsx("div",{ref:a,className:"w-full shrink-0 empty:hidden","data-testid":"chat-webcam-slot"}):null},aT=({searchTerm:t,onCloseEmojiDrawer:s})=>{const[a,l]=m.useState([]),[r,i]=m.useState(!0);return m.useEffect(()=>{let o=!1;return i(!0),OC({searchTerm:t,offset:0}).then(d=>{o||l((d==null?void 0:d.data)??[])}).catch(()=>{o||l([])}).finally(()=>{o||i(!1)}),()=>{o=!0}},[t]),!r&&a.length===0?e.jsx("div",{className:"py-6 text-center text-sm text-brandblue-100",children:n("global_chat_gif_empty")}):e.jsx("div",{className:"grid grid-cols-2 gap-1.5 px-0.5","data-testid":"chat-gif-grid",children:a.map(o=>{var u,c,x,p;const d=((c=(u=o.images)==null?void 0:u.fixed_width)==null?void 0:c.url)??((
2p=(x=o.images)==null?void 0:x.original)==null?void 0:p.url);return d?e.jsx("button",{type:"button",className:"overflow-hidden rounded",onClick:()=>{var f,h;DC({data:{gifUrl:((h=(f=o.images)==null?void 0:f.original)==null?void 0:h.url)??d}}),s()},children:e.jsx(ce,{src:d,alt:o.title??"GIF",className:"w-full rounded",loading:"lazy"})},o.id):null})})},nT=m.lazy(()=>g1(()=>import("./index.es-CsBCdPj2.js"),__vite__mapDeps([0,1,2]))),lT=t=>{if(!t)return null;if(typeof t!="string")return t;try{const s=JSON.parse(t);return s&&typeof s=="object"?s:null}catch{return null}},cm=({animationData:t,className:s})=>{const a=m.useMemo(()=>lT(t),[t]);return a?e.jsx(m.Suspense,{fallback:e.jsx("div",{className:g("animate-pulse rounded bg-primary-active",s)}),children:e.jsx(nT,{animationData:a,loop:!0,className:s})}):null},rT=({searchTerm:t,onCloseEmojiDrawer:s})=>{const a=C($C),l=m.useMemo(()=>{const r=a.filter(o=>o.animationData);if(!t)return r;const i=t.toLowerCase();return r.filter(o=>{var d,u;return((d=o.name)==null?void 0:d.toLowerCase().includes(i))||((u=o.tags)==null?void 0:u.some(c=>c.toLowerCase().includes(i)))})},[t,a]);return l.length===0?e.jsx("div",{className:"py-6 text-center text-sm text-brandblue-100",children:n("global_chat_stickers_empty")}):e.jsx("div",{className:"grid grid-cols-3 gap-2","data-testid":"chat-sticker-grid",children:l.map(r=>e.jsx("button",{type:"button","data-testid":`chat-sticker-${r.id}`,className:"size-16 rounded-lg p-1 transition-colors hover:bg-chat-emoji-drawer-background active:bg-chat-emoji-drawer-active-background",onClick:()=>{PC({data:{stickerId:r.id}}),s()},children:e.jsx(cm,{animationData:r.animationData,className:"size-full rounded"})},r.id))})},_6={"Smileys & People":{"ð":["happy","smile","grin","joy","cheerful","laugh"],"ð":["happy","smile","grin","joy","cheerful","excited"],"ð":["happy","smile","grin","joy","laugh","excited"],"ð":["happy","smile","grin","joy","beaming","cheerful"],"ð":["laugh","happy","smile","joy","giggle","amused"],"ð
":["laugh","sweat","nervous","relief","awkward","smile"],"ð":["laugh","tears","funny","hilarious","joy","crying"],"ð¤£":["laugh","rolling","funny","hilarious","tears","rofl"],"ð¥²":["tears","happy","emotional","touched","moved","smile"],"ð¥¹":["tears","emotional","touched","moved","grateful","happy"],"ð":["happy","smile","blush","warm","kind","friendly"],"ð":["angel","halo","innocent","good","pure","saint"],"ð":["smile","happy","slight","content","pleasant","mild"],"ð":["upside","silly","playful","sarcastic","weird","crazy"],"ð":["wink","flirt","playful","joke","secret","cheeky"],"ð":["peaceful","calm","content","serene","relaxed","satisfied"],"ð":["love","heart","eyes","crush","adore","smitten"],"ð¥°":["love","hearts","adore","cute","affection","warm"],"ð":["kiss","love","heart","affection","romantic","smooch"],"ð":["kiss","lips","smooch","affection","love","peck"],"ð":["kiss","whistle","lips","smooch","affection","cute"],"ð":["kiss","closed","eyes","affection","love","sweet"],"ð":["yum","tasty","delicious","tongue","food","hungry"],"ð":["tongue","playful","silly","tease","cheeky","fun"],"ð":["tongue","wink","playful","silly","tease","cheeky"],"ð":["tongue","wink","playful","silly","joke","fun"],"ð¤ª":["crazy","wild","silly","funny","zany","goofy"],"ð¤¨":["suspicious","skeptical","doubt","questioning","raised","eyebrow"],"ð§":["monocle","fancy","inspect","examine","curious","posh"],"ð¤":["nerd","geek","smart","glasses","study","clever"],"ð":["co
2ol","sunglasses","awesome","chill","swag","smooth"],"ð¥¸":["disguise","fake","mustache","glasses","incognito","comedy"],"ð¤©":["star","struck","amazed","excited","impressed","wow"],"ð¥³":["party","celebrate","birthday","hat","confetti","fun"],"ð":["smirk","sly","clever","mischief","confident","cheeky"],"ð":["unamused","bored","annoyed","disappointed","meh","flat"],"ð":["sad","disappointed","dejected","down","upset","blue"],"ð":["sad","pensive","thoughtful","down","melancholy","sorry"],"ð":["worried","concerned","anxious","troubled","upset","frown"],"ð":["confused","slightly","frown","concerned","puzzled","unsure"],"ð":["frown","sad","disappointed","upset","unhappy","down"],"â¹ï¸":["frown","sad","unhappy","disappointed","upset","depressed"],"ð£":["persevere","struggle","determined","effort","trying","hard"],"ð":["confounded","frustrated","annoyed","upset","screwed","twisted"],"ð«":["tired","weary","exhausted","fed","up","frustrated"],"ð©":["weary","tired","exhausted","frustrated","fed","up"],"ð¥º":["pleading","puppy","eyes","cute","begging","please"],"ð¢":["cry","sad","tears","upset","emotional","sorrow"],"ð":["cry","sob","tears","bawl","wail","emotional"],"ð®âð¨":["sigh","exhale","relief","tired","breath","phew"],"ð¤":["huff","angry","frustrated","steaming","mad","annoyed"],"ð ":["angry","mad","annoyed","upset","grumpy","furious"],"ð¡":["angry","red","rage","furious","mad","livid"],"ð¤¬":["swearing","cursing","angry","symbols","mad","furious"],"ð¤¯":["mind","blown","exploding","head","shocked","amazed"],"ð³":["flushed","embarrassed","shocked","surprised","blushing","red"],"ð¥µ":["hot","sweating","fever","heat","overheated","burning"],"ð¥¶":["cold","freezing","frozen","ice","chilly","shivering"],"ð±":["scream","shocked","afraid","scared","horror","surprised"],"ð¨":["fearful","scared","afraid","anxious","worried","nervous"],"ð°":["anxious","sweat","worried","nervous","scared","cold"],"ð¥":["sad","sweat","disappointed","worried","relieved","concerned"],"ð":["sweat","hard","work","tired","effort","exercise"],"ð«£":["peek","hiding","shy","embarrassed","covering","eyes"],"ð¤":["hug","embrace","cuddle","love","care","support"],"ð«¡":["salute","respect","military","honor","acknowledge","yes"],"ð¤":["thinking","hmm","consider","ponder","wonder","curious"],"ð«¢":["gasp","surprised","shock","cover","mouth","oops"],"ð¤":["giggle","chuckle","cover","mouth","laugh","tee"],"ð¤«":["shush","quiet","secret","silence","hush","finger"],"ð¤¥":["lie","liar","pinocchio","nose","dishonest","fib"],"ð¶":["no","mouth","silent","quiet","speechless","mute"],"ð¶âð«ï¸":["foggy","confused","unclear","dazed","lost","bewildered"],"ð":["neutral","expressionless","blank","deadpan","meh","flat"],"ð":["expressionless","blank","deadpan","unamused","flat","meh"],"ð¬":["grimace","awkward","cringe","uncomfortable","eek","yikes"],"ð":["eye","roll","annoyed","whatever","sarcastic","exasperated"],"ð¯":["hushed","surprised","amazed","wow","open","mouth"],"ð¦":["frowning","open","mouth","surprised","concerned","worried"],"ð§":["anguished","worried","concerned","distressed","upset","anxious"],"ð®":["open","mouth","surprised","amazed","wow","gasp"],"ð²":["astonished","shocked","surprised","amazed","wow","gasp"],"ð¥±":["yawn","tired","sleepy","bored","exhausted","drowsy"],"ð´":["sleep","sleeping","tired","zzz","nap","rest"],"ð¤¤":["drool","sleep","desire","want","hungry","saliva"],"ðª":["sleepy","tired","drowsy","exhausted","yawn","weary"],"ðµ":["dizzy","knockout","confused","dazed","unconscious","spiral"],"ðµâð«":["dizzy","spiral","confused","dazed","overwhelmed","spinning"],"ð«¥":["dotted","invisible","disappearing","fading","transparent","gone"],"ð¤":["zipper","mouth","sealed","secret","quiet","silent"],"ð¥´":["woozy","drunk","dizzy","confused","uneven","tipsy"],"ð¤¢":["nausea","sick","gross","disgusted","green","ill"],"ð¤®":["vomit","puke","sick","ill","gross","disgusted"],"ð¤§":["sneeze","sick","cold","tissue","ill","achoo"],"ð·":["mask","sick","doctor","hospital","medical","covid"],"ð¤":["thermometer","sick","fever","ill","temperature","cold"],"ð¤":["bandage","hurt","injured","wound","accident","head"],"ð¶":["baby","infant","child","newborn","cute","young"],"ð§":["child","kid","young","person","boy","girl"],"ð¦":["boy","child","kid","son","young","male"],"ð§":["girl","child","kid","daughter","young","female"],"ð§":["person","adult","human","individual","people","neutral"],"ð±":["person","blonde","hair","adult","human","fair"],"ð¨":["man","male","adult","guy","person","father"],"ð§":["man","beard","facial","hair","male","adult"],"ð¨âð¦°":["man","red","hair","ginger","male","adult"],"ð¨âð¦±":["man","curly","hair","male","adult","wavy"],"ð¨âð¦³":["man","white","hair","old","male","gray"],"ð¨âð¦²"
2:["man","bald","hair","male","adult","shaved"],"ð©":["woman","female","adult","lady","person","mother"],"ð©âð¦°":["woman","red","hair","ginger","female","adult"],"ð§âð¦°":["person","red","hair","ginger","adult","neutral"],"ð©âð¦±":["woman","curly","hair","female","adult","wavy"],"ð§âð¦±":["person","curly","hair","adult","neutral","wavy"],"ð©âð¦³":["woman","white","hair","old","female","gray"],"ð§âð¦³":["person","white","hair","old","neutral","gray"],"ð©âð¦²":["woman","bald","hair","female","adult","shaved"],"ð§âð¦²":["person","bald","hair","adult","neutral","shaved"],"ð±ââï¸":["woman","blonde","hair","female","adult","fair"],"ð±ââï¸":["man","blonde","hair","male","adult","fair"],"ð§":["older","person","elderly","senior","old","aged"],"ð´":["old","man","elderly","grandfather","senior","aged"],"ðµ":["old","woman","elderly","grandmother","senior","aged"],"ð":["person","frown","sad","disappointed","upset","pouting"],"ðââï¸":["man","frown","sad","disappointed","upset","pouting"],"ðââï¸":["woman","frown","sad","disappointed","upset","pouting"],"ð":["person","pouting","angry","annoyed","upset","sulking"],"ðââï¸":["man","pouting","angry","annoyed","upset","sulking"],"ðââï¸":["woman","pouting","angry","annoyed","upset","sulking"],"ð
":["no","stop","reject","deny","refuse","forbidden"],"ð
ââï¸":["man","no","stop","reject","deny","refuse"],"ð
ââï¸":["woman","no","stop","reject","deny","refuse"],"ð":["ok","yes","good","approve","accept","fine"],"ðââï¸":["man","ok","yes","good","approve","accept"],"ðââï¸":["woman","ok","yes","good","approve","accept"],"ð":["information","help","assistance","service","desk","support"],"ðââï¸":["man","information","help","assistance","service","support"],"ðââï¸":["woman","information","help","assistance","service","support"],"ð":["raising","hand","question","volunteer","pick","me"],"ðââï¸":["man","raising","hand","question","volunteer","pick"],"ðââï¸":["woman","raising","hand","question","volunteer","pick"],"ð§":["deaf","hear","listen","ear","hearing","impaired"],"ð§ââï¸":["man","deaf","hear","listen","ear","hearing"],"ð§ââï¸":["woman","deaf","hear","listen","ear","hearing"],"ð":["bow","respect","thanks","sorry","apologize","humble"],"ðââï¸":["man","bow","respect","thanks","sorry","apologize"],"ðââï¸":["woman","bow","respect","thanks","sorry","apologize"],"ð¤¦":["facepalm","disappointed","frustrated","oh","no","mistake"],"ð¤¦ââï¸":["man","facepalm","disappointed","frustrated","oh","no"],"ð¤¦ââï¸":["woman","facepalm","disappointed","frustrated","oh","no"],"ð¤·":["shrug","dunno","whatever","idk","dont","know"],"ð¤·ââï¸":["man","shrug","dunno","whatever","idk","dont"],"ð¤·ââï¸":["woman","shrug","dunno","whatever","idk","dont"]},"Animals & Nature":{"ð¶":["dog","puppy","pet","cute","animal","loyal"],"ð±":["cat","kitten","pet","cute","animal","feline"],"ð":["mouse","rodent","small","animal","cute","cheese"],"ð¹":["hamster","pet","rodent","cute","small","animal"],"ð°":["rabbit","bunny","cute","hop","easter","animal"],"ð¦":["fox","clever","sly","orange","wild","animal"],"ð»":["bear","big","strong","wild","animal","forest"],"ð¼":["panda","bear","cute","china","bamboo","black"],"ð»ââï¸":["polar","bear","white","arctic","cold","ice"],"ð¨":["koala","australia","eucalyptus","cute","marsupial","sleepy"],"ð¯":["tiger","stripes","wild","big","cat","fierce"],"ð¦":["lion","king","mane","wild","big","cat"],"ð®":["cow","milk","farm","moo","cattle","animal"],"ð·":["pig","farm","oink","pink","animal","cute"],"ð½":["pig","nose","snout","pink","farm","animal"],"ð¸":["frog","green","hop","pond","ribbit","amphibian"],"ðµ":["monkey","ape","primate","banana","wild","animal"],"ð":["see","no","evil","monkey","hide","eyes"],"ð":["hear","no","evil","monkey","cover","ears"],"ð":["speak","no","evil","monkey","cover","mouth"],"ð":["monkey","ape","primate","banana","wild","animal"],"ð":["chicken","hen","farm","egg","cluck","bird"],"ð§":["penguin","ice","cold","antarctica","waddle","bird"],"ð¦":["bird","fly","tweet","chirp","feather","wing"],"ð¤":["baby","chick","yellow","cute","bird","easter"],"ð£":["hatching","chick","egg","baby","bird","birth"],"ð¥":["baby","chick","yellow","cute","bird","fluffy"],"ð¦":["duck","quack","pond","water","bird","waddle"],"ð¦
":["eagle","bird","fly","majestic","america","freedom"],"ð¦":["owl","wise","night","hoot","bird","nocturnal"],"ð¦":["bat","night","fly","vampire","dark","cave"],"ðº":["wolf","howl","pack","wild","moon","fierce"],"ð":["boar","wild","pig","tusks","forest","animal"],"ð´":["horse","gallop","ride","farm","neigh","animal"],"ð¦":["unicorn","magic","horn","fantasy","rainbow","mythical"],"ð":["bee","honey","buzz","flower","pollinate","yellow"],"ðª±":["worm","earthworm","soil","garden","fishing","bait"],"ð":["bug","caterpillar","crawl","green","leaf","insect"],"ð¦":["butterfly","beautiful","fly","colorful","transformation","flower"],"ð":["snail","slow","shell","garden","spiral","slimy"],"ð":["ladybug","beetle","red","spots","luck","garden"],"ð":["ant","
2work","colony","march","strong","tiny"],"ðª°":["fly","buzz","annoying","pest","insect","wings"],"ðª²":["beetle","bug","insect","hard","shell","crawl"],"ðª³":["cockroach","pest","gross","insect","brown","dirty"],"ð¦":["mosquito","bite","buzz","blood","pest","itch"],"ð¦":["cricket","chirp","jump","night","sound","insect"],"ð·ï¸":["spider","web","eight","legs","crawl","scary"],"ð¸ï¸":["spider","web","trap","silk","sticky","halloween"],"ð¦":["scorpion","sting","tail","desert","dangerous","poison"],"ð¢":["turtle","slow","shell","green","reptile","ocean"],"ð":["snake","slither","long","reptile","scary","bite"],"ð¦":["lizard","gecko","reptile","tail","climb","green"],"ð¦":["t-rex","dinosaur","extinct","big","teeth","prehistoric"],"ð¦":["dinosaur","long","neck","extinct","herbivore","prehistoric"],"ð":["octopus","tentacles","eight","arms","ocean","sea"],"ð¦":["squid","tentacles","ocean","sea","ink","swim"],"ð¦":["shrimp","seafood","small","ocean","pink","tasty"],"ð¦":["lobster","seafood","red","claws","ocean","expensive"],"ð¦":["crab","claws","sidewalk","ocean","beach","seafood"],"ð¡":["blowfish","puffer","spiky","ocean","round","fish"],"ð ":["tropical","fish","colorful","ocean","reef","swim"],"ð":["fish","swim","water","ocean","sea","fins"],"ð¬":["dolphin","smart","jump","ocean","friendly","mammal"],"ð³":["whale","big","ocean","spout","mammal","blue"],"ð":["whale","huge","ocean","mammal","song","migration"],"ð¦":["shark","teeth","dangerous","ocean","predator","fin"],"ð":["crocodile","alligator","teeth","water","reptile","dangerous"],"ð
":["tiger","stripes","orange","wild","cat","fierce"],"ð":["leopard","spots","wild","cat","fast","hunt"],"ð¦":["zebra","stripes","black","white","africa","horse"],"ð¦":["gorilla","ape","big","strong","banana","chest"],"ð¦§":["orangutan","ape","orange","hair","tree","swing"],"ð¦£":["mammoth","elephant","extinct","tusks","ice","age"],"ð":["elephant","trunk","big","ears","memory","gray"],"ð¦":["hippo","hippopotamus","water","big","mouth","africa"],"ð¦":["rhino","rhinoceros","horn","gray","thick","skin"],"ðª":["camel","hump","desert","sand","water","hot"],"ð«":["camel","two","humps","desert","sand","bactrian"],"ð¦":["giraffe","tall","neck","spots","africa","leaves"],"ð¦":["kangaroo","hop","pouch","australia","jump","boxing"],"ð¦¬":["bison","buffalo","horns","fur","america","plains"],"ð":["water","buffalo","horns","asia","farm","work"],"ð":["ox","bull","horns","farm","strong","work"],"ð":["cow","farm","milk","moo","black","white"],"ð":["horse","racing","fast","gallop","mane","ride"],"ð":["pig","farm","mud","oink","pink","bacon"],"ð":["ram","sheep","horns","wool","farm","male"],"ð":["sheep","wool","farm","baa","fluffy","white"],"ð¦":["llama","alpaca","fur","spit","andes","cute"],"ð":["goat","horns","beard","climb","farm","milk"],"ð¦":["deer","antlers","forest","graceful","bambi","hop"],"ð":["dog","pet","loyal","bark","friend","tail"],"ð©":["poodle","dog","curly","fur","fancy","groomed"],"ð¦®":["guide","dog","blind","help","service","harness"],"ðâð¦º":["service","dog","help","vest","work","assistance"],"ð":["cat","pet","meow","purr","whiskers","independent"],"ðââ¬":["black","cat","halloween","superstition","dark","mystery"],"ðª¶":["feather","bird","light","soft","fly","plume"],"ð":["rooster","cock","crow","morning","farm","red"],"ð¦":["turkey","thanksgiving","gobble","bird","feathers","farm"],"ð¦¤":["dodo","extinct","bird","flightless","mauritius","rare"],"ð¦":["peacock","beautiful","feathers","colorful","display","proud"],"ð¦":["parrot","colorful","talk","tropical","repeat","smart"],"ð¦¢":["swan","elegant","white","grace","lake","beautiful"],"ð¦©":["flamingo","pink","one","leg","tropical","elegant"],"ðï¸":["dove","peace","white","love","hope","holy"],"ð":["rabbit","bunny","hop","easter","carrot","fast"],"ð¦":["raccoon","mask","trash","cute","bandit","nocturnal"],"ð¦¨":["skunk","stink","spray","black","white","smell"],"ð¦¡":["badger","dig","burrow","stripes","fierce","honey"],"ð¦«":["beaver","dam","wood","water","teeth","tail"],"ð²":["evergreen","tree","pine","forest","christmas","green"],"ð³":["tree","deciduous","leaves","shade","nature","green"],"ð´":["palm","tree","tropical","beach","coconut","vacation"],"ðµ":["cactus","de
2sert","spiky","succulent","dry","green"],"ð¶ï¸":["chili","pepper","hot","spicy","red","fire"],"ð":["mushroom","fungi","forest","red","white","spots"],"ð¾":["wheat","grain","harvest","farm","golden","field"],"ð":["bouquet","flowers","gift","love","colorful","wedding"],"ð·":["tulip","flower","spring","pink","netherlands","beautiful"],"ð¹":["rose","flower","love","red","romantic","thorns"],"ð¥":["wilted","flower","dead","sad","brown","dying"],"ðº":["hibiscus","flower","tropical","hawaii","colorful","summer"],"ð¸":["cherry","blossom","pink","spring","japan","delicate"],"ð¼":["daisy","flower","white","yellow","simple","pure"],"ð»":["sunflower","yellow","big","seeds","summer","bright"],"ð":["sun","face","happy","bright","day","smile"],"ð":["full","moon","face","night","creepy","smile"],"ð":["first","quarter","moon","face","night","crescent"],"ð":["last","quarter","moon","face","night","crescent"],"ð":["new","moon","face","dark","night","creepy"],"ð":["full","moon","bright","night","round","werewolf"],"ð":["waning","gibbous","moon","night","phase","dark"],"ð":["last","quarter","moon","half","night","phase"],"ð":["waning","crescent","moon","thin","night","phase"],"ð":["new","moon","dark","night","invisible","phase"],"ð":["waxing","crescent","moon","thin","night","phase"],"ð":["first","quarter","moon","half","night","phase"],"ð":["waxing","gibbous","moon","almost","full","night"],"ð":["crescent","moon","night","sleep","islamic","yellow"],"ð":["earth","americas","world","planet","blue","green"],"ð":["earth","europe","africa","world","planet","blue"],"ð":["earth","asia","australia","world","planet","blue"],"ðª":["saturn","rings","planet","space","gas","giant"],"ð«":["dizzy","star","sparkle","magic","twinkle","yellow"],"â":["star","favorite","bright","night","yellow","wish"],"ð":["glowing","star","bright","sparkle","yellow","shine"],"â¨":["sparkles","magic","glitter","shine","stars","twinkle"],"â¡":["lightning","bolt","electric","fast","power","energy"],"âï¸":["comet","space","tail","meteor","shooting","star"],"ð¥":["explosion","boom","bang","burst","impact","comic"],"ð¥":["fire","flame","hot","burn","lit","heat"],"ðªï¸":["tornado","cyclone","wind","storm","spiral","destruction"],"ð":["rainbow","colorful","arc","rain","sun","beautiful"],"âï¸":["sun","sunny","bright","day","hot","yellow"],"ð¤ï¸":["sun","behind","small","cloud","partly","cloudy"],"â
":["sun","behind","cloud","partly","cloudy","weather"],"ð¦ï¸":["sun","behind","rain","cloud","shower","weather"],"ð§ï¸":["cloud","rain","storm","weather","water","wet"],"âï¸":["cloud","lightning","rain","thunder","storm","weather"],"ð©ï¸":["cloud","lightning","thunder","storm","electric","weather"],"ð¨ï¸":["cloud","snow","cold","winter","white","weather"],"âï¸":["snowflake","cold","winter","ice","unique","white"],"âï¸":["snowman","winter","cold","carrot","nose","white"],"â":["snowman","winter","cold","snow","white","buttons"],"ð¬ï¸":["wind","face","blow","breeze","air","breath"],"ð¨":["dash","wind","fast","speed","smoke","comic"],"ð§":["droplet","water","tear","sad","blue","liquid"],"ð¦":["sweat","drops","water","splash","exercise","blue"],"ð«§":["bubbles","soap","float","pop","bath","round"],"â":["umbrella","rain","drops","weather","protection","wet"],"âï¸":["umbrella","rain","protection","weather","open","cover"],"ð":["water","wave","ocean","sea","surf","blue"],"ð«ï¸":["fog","cloud","mist","weather","visibility","gray"]},"Food & Drink":{"ð":["apple","red","fruit","healthy","teacher","crisp"],"ð":["green","apple","fruit","healthy","sour","crisp"],"ð":["pear","fruit","green","sweet","juicy","healthy"],"ð":["orange","fruit","citrus","vitamin","c","juicy"],"ð":["lemon","citrus","sour","yellow","juice","zest"],"ð":["banana","yellow","fruit","potassium","peel","monkey"],"ð":["watermelon","fruit","summer","juicy","red","seeds"],"ð":["grapes","fruit","wine","purple","cluster","vine"],"ð":["strawberry","fruit","red","sweet","berry","heart"],"ð«":["blueberries","fruit","blue","antioxidants","small","healthy"],"ð":["melon","cantaloupe","fruit","orange","sweet","summer"],"ð":["cherries","fruit","red","sweet","pit","pair"],"ð":["peach","fruit","fuzzy","sweet","orange","juicy"],"ð¥":["mango","fruit","tropical","sweet","orange","exotic"],"ð":["pineapple","fruit","tropical","sweet","spiky","hawaii"],"ð¥¥":["coconut","fruit","tropical","milk","water","hairy"],"ð¥":["kiwi","fruit","green","fuzzy","tart","small"],"ð
":["tomato","red","fruit","vegetable","sauce","salad"],"ð":["eggplant","purple","vegetable","aubergine","emoji","long"],"ð¥":["avocado","green","fruit","healthy","toast","guacamole"],"ð¥¦":["broccoli","green","vegetable","healthy","tree","vitamins"],"ð¥¬":["leafy","greens","lettuce","salad","healthy","vegetable"],"ð¥":["cucumber","green","vegetable","cool","crisp","salad"],"ð¶ï¸":["hot","pepper","spicy","red","chil
2i","fire"],"ð«":["bell","pepper","vegetable","colorful","sweet","crisp"],"ð½":["corn","yellow","cob","vegetable","kernels","farm"],"ð¥":["carrot","orange","vegetable","healthy","rabbit","vitamin"],"ð«":["olive","green","oil","mediterranean","salty","small"],"ð§":["garlic","white","clove","flavor","cook","smell"],"ð§
":["onion","cry","layers","cook","flavor","vegetable"],"ð¥":["potato","brown","vegetable","starch","fries","baked"],"ð ":["sweet","potato","orange","vegetable","roasted","healthy"],"ð¥":["croissant","french","pastry","buttery","flaky","breakfast"],"ð¥¯":["bagel","bread","hole","breakfast","cream","cheese"],"ð":["bread","loaf","slice","wheat","toast","carbs"],"ð¥":["baguette","french","bread","long","crusty","carbs"],"ð¥¨":["pretzel","twisted","salty","snack","german","bread"],"ð§":["cheese","yellow","dairy","holes","mouse","calcium"],"ð¥":["egg","white","protein","breakfast","chicken","oval"],"ð³":["cooking","egg","fried","breakfast","pan","sunny"],"ð§":["butter","yellow","dairy","spread","toast","fat"],"ð¥":["pancakes","breakfast","syrup","stack","fluffy","sweet"],"ð§":["waffle","breakfast","syrup","squares","belgian","sweet"],"ð¥":["bacon","strips","breakfast","pork","crispy","meat"],"ð¥©":["cut","meat","steak","beef","protein","red"],"ð":["poultry","leg","chicken","drumstick","meat","fried"],"ð":["meat","bone","barbecue","ribs","carnivore","protein"],"ð¦´":["bone","skeleton","dog","calcium","white","hard"],"ð":["hot","dog","sausage","bun","mustard","american"],"ð":["hamburger","burger","bun","meat","cheese","american"],"ð":["french","fries","potato","fast","food","golden"],"ð":["pizza","slice","cheese","italian","pepperoni","triangle"],"ð«":["flatbread","pita","naan","bread","middle","eastern"],"ð¥":["stuffed","flatbread","wrap","pita","gyro","middle"],"ð®":["taco","mexican","shell","meat","lettuce","fold"],"ð¯":["burrito","wrap","mexican","beans","rice","rolled"],"ð«":["tamale","mexican","corn","masa","wrapped","steamed"],"ð¥":["green","salad","healthy","lettuce","vegetables","bowl"],"ð¥":["shallow","pan","food","paella","spanish","rice"],"ð«":["fondue","cheese","pot","swiss","dip","communal"],"ð¥«":["canned","food","tin","preserved","soup","beans"],"ð":["spaghetti","pasta","italian","noodles","sauce","fork"],"ð":["steaming","bowl","noodles","soup","ramen","hot"],"ð²":["pot","food","stew","soup","hot","ladle"],"ð":["curry","rice","indian","spicy","yellow","plate"],"ð£":["sushi","japanese","raw","fish","rice","seaweed"],"ð±":["bento","box","japanese","lunch","compartments","rice"],"ð¥":["dumpling","chinese","steamed","potsticker","gyoza","wrapper"],"ð¦ª":["oyster","shell","seafood","pearl","ocean","aphrodisiac"],"ð¤":["fried","shrimp","tempura","seafood","tail","curved"],"ð":["rice","ball","japanese","onigiri","seaweed","triangle"],"ð":["cooked","rice","bowl","white","grain","asian"],"ð":["rice","cracker","japanese","senbei","square","snack"],"ð¥":["fish","cake","swirl","japanese","narutomaki","pink"],"ð¥ ":["fortune","cookie","chinese","american","message","crispy"],"ð¥®":["moon","cake","chinese","festival","dense","sweet"],"ð¢":["oden","skewer","japanese","dango","stick","balls"],"ð¡":["dango","sweet","japanese","skewer","colorful","sticky"],"ð§":["shaved","ice","cold","sweet","snow","cone"],"ð¨":["ice","cream","cold","sweet","dessert","scoop"],"ð¦":["soft","ice","cream","cone","swirl","vanilla"],"ð¥§":["pie","dessert","slice","crust","filling","sweet"],"ð§":["cupcake","muffin","sweet","frosting","birthday","small"],"ð°":["shortcake","cake","slice","strawberry","cream","dessert"],"ð":["birthday","cake","candles","celebration","sweet","party"],"ð®":["custard","pudding","flan","caramel","sweet","dessert"],"ð":["lollipop","candy","sweet","stick","swirl","sugar"],"ð¬":["candy","sweet","wrapper","sugar","treat","colorful"],"ð«":["chocolate","bar","sweet","cocoa","brown","candy"],"ð¿":["popcorn","movie","kernels","snack","butter","cinema"],"ð©":["doughnut","donut","sweet","fried","hole","glaze"],"ðª":["cookie","sweet","baked","chocolate","chip","crumb"],"ð°":["chestnut","nut","brown","roasted","autumn","shell"],"ð¥":["peanuts","nuts","shell","protein","allergy","snack"],"ð¯":["honey","pot","sweet","bee","golden","sticky"],"ð¥":["glass","milk","white","dairy","calcium","drink"],"ð¼":["baby","bottle","milk","infant","nipple","formula"],"ð«":["teapot","tea","hot","brew","steep","pour"],"â":["coffee","hot","beverage","caffeine","mug","steam"],"ðµ":["teacup","tea","hot","green","drink","saucer"],"ð§":["beverage","box","juice","straw","drink","carton"],"ð¥¤":["cup","straw","soda","drink","beverage","cold"],"ð§":["bubble","tea","boba","ta
2pioca","pearls","asian"],"ð¶":["sake","bottle","cup","japanese","rice","wine"],"ðº":["beer","mug","alcohol","foam","drink","golden"],"ð»":["clinking","beer","mugs","cheers","celebration","toast"],"ð¥":["clinking","glasses","champagne","celebration","toast","cheers"],"ð·":["wine","glass","red","alcohol","grape","elegant"],"ð¥":["tumbler","glass","whiskey","alcohol","rocks","amber"],"ð¸":["cocktail","glass","martini","alcohol","olive","drink"],"ð¹":["tropical","drink","cocktail","umbrella","fruity","vacation"],"ð§":["mate","drink","gourd","straw","south","american"],"ð¾":["bottle","popping","cork","champagne","celebration","fizz"]},"Travel & Places":{"ð":["car","automobile","vehicle","drive","road","transport"],"ð":["taxi","cab","yellow","ride","city","transport"],"ð":["sport","utility","vehicle","suv","car","big"],"ð":["bus","public","transport","school","city","passengers"],"ð":["trolleybus","electric","bus","public","transport","city"],"ðï¸":["racing","car","fast","formula","one","speed"],"ð":["police","car","cop","law","enforcement","siren"],"ð":["ambulance","medical","emergency","hospital","siren","help"],"ð":["fire","engine","truck","emergency","firefighter","red"],"ð":["minibus","van","transport","family","group","travel"],"ð»":["pickup","truck","vehicle","cargo","bed","work"],"ð":["delivery","truck","cargo","transport","goods","shipping"],"ð":["articulated","lorry","truck","trailer","big","cargo"],"ð":["tractor","farm","agriculture","field","green","work"],"ðï¸":["motorcycle","bike","fast","two","wheels","ride"],"ðµ":["motor","scooter","vespa","ride","city","transport"],"ð²":["bicycle","bike","pedal","exercise","eco","friendly"],"ð´":["kick","scooter","ride","push","wheels","fun"],"ð¹":["skateboard","skate","wheels","trick","youth","board"],"ð¼":["roller","skate","wheels","disco","retro","fun"],"ð":["helicopter","chopper","fly","rotor","blades","aircraft"],"ð¸":["flying","saucer","ufo","alien","spaceship","sci-fi"],"âï¸":["airplane","plane","fly","travel","airport","wings"],"ð©ï¸":["small","airplane","plane","private","aircraft","fly"],"ð«":["airplane","departure","takeoff","fly","travel","airport"],"ð¬":["airplane","arrival","landing","fly","travel","airport"],"ðª":["parachute","skydive","fall","jump","extreme","sport"],"ðº":["seat","chair","airplane","travel","passenger","sit"],"ð":["rocket","space","launch","blast","off","nasa"],"ð°ï¸":["satellite","space","orbit","communication","dish","signal"],"ð":["station","train","railway","platform","transport","public"],"ð":["mountain","railway","train","cog","wheel","steep"],"ð":["monorail","train","single","track","transport","futuristic"],"ð":["high","speed","train","bullet","fast","japan"],"ð
":["bullet","train","high","speed","nose","fast"],"ð":["light","rail","train","metro","urban","transport"],"ð":["locomotive","steam","train","old","vintage","choo"],"ð":["train","railway","transport","passenger","travel","track"],"ð":["metro","subway","underground","train","urban","transport"],"ð":["tram","trolley","streetcar","city","transport","electric"],"ð":["suspension","railway","monorail","hanging","transport","aerial"],"ð ":["mountain","cableway","gondola","ski","lift","cable"],"ð¡":["aerial","tramway","cable","car","transport","mountain"],"ð¢":["roller","coaster","amusement","park","fun","thrill"],"ð¡":["ferris","wheel","amusement","park","big","circle"],"ð ":["carousel","horse","merry","go","round","amusement"],"ðï¸":["building","construction","crane","work","site","structure"],"ð":["foggy","mist","weather","bridge","golden","gate"],"ð¼":["tokyo","tower","eiffel","landmark","tall","structure"],"ð":["factory","industry","smoke","pollution","manufacturing","building"],"â²":["fountain","water","park","ornamental","spray","decorative"],"ð":["moon","viewing","ceremony","japanese","autumn","celebration"],"â°ï¸":["mountain","peak","high","climb","nature","rocky"],"ðï¸":["snow","capped","mountain","cold","white","peak"],"ð»":["mount","fuji","volcano","japan","snow","mountain"],"ð":["volcano","eruption","lava","hot","fire","mountain"],"ðï¸":["camping","tent","outdoor","nature","sleep","adventure"],"ðï¸":["beach","umbrella","sand","vacation","ocean","relax"],"ðï¸":["desert","sand","hot","dry","cactus","dunes"],"ðï¸":["desert","island","tropical","palm","tree","vacation"],"ðï¸":["national","park","nature","trees","mountains","outdoors"],"ðï¸":["stadium","sports","arena","football","big","crowd"],"ðï¸":["classical","building","columns","government","museum","greek"],"ð§±":["brick","wall","building","construction","red","material"],"ðª¨":["rock","stone","hard","mineral","geology","solid"],"ðªµ":["wood","log","tree","timber","lumber","brown"],"ð":["hut","straw","roof","primitive","shelter","round"],"ðï¸":["houses","neighborhood","residential","community","suburb","homes"],"ðï¸":["derelict","house","abandoned","broken","old","rundown"],"ð ":["house","home","building","residential","fam
2ily","shelter"],"ð¡":["house","garden","home","suburban","family","residential"],"ð¢":["office","building","work","business","corporate","city"],"ð£":["japanese","post","office","building","mail","symbol"],"ð¤":["post","office","mail","building","european","postal"],"ð¥":["hospital","medical","health","doctor","care","red"],"ð¦":["bank","money","finance","building","savings","loan"],"ð¨":["hotel","accommodation","travel","sleep","vacation","building"],"ð©":["love","hotel","heart","romantic","japan","couples"],"ðª":["convenience","store","shop","24","hour","market"],"ð«":["school","education","learning","students","building","study"],"ð¬":["department","store","shopping","mall","retail","building"],"ð¯":["japanese","castle","building","traditional","historic","pagoda"],"ð°":["castle","european","building","historic","medieval","towers"],"ð½":["statue","liberty","new","york","freedom","america"],"âª":["church","christian","building","worship","religion","cross"],"ð":["mosque","islamic","building","worship","religion","dome"],"ð":["hindu","temple","building","worship","religion","dome"],"ð":["synagogue","jewish","building","worship","religion","star"],"â©ï¸":["shinto","shrine","japanese","gate","torii","religion"],"ð":["kaaba","mecca","islamic","pilgrimage","black","cube"]},Activities:{"â½":["soccer","football","ball","sport","kick","goal"],"ð":["basketball","ball","sport","hoop","dribble","orange"],"ð":["american","football","ball","sport","touchdown","oval"],"â¾":["baseball","ball","sport","bat","diamond","white"],"ð¥":["softball","ball","sport","yellow","larger","baseball"],"ð¾":["tennis","ball","sport","racket","court","green"],"ð":["volleyball","ball","sport","net","spike","team"],"ð":["rugby","football","ball","sport","oval","tackle"],"ð¥":["flying","disc","frisbee","ultimate","throw","catch"],"ð±":["pool","8","ball","billiards","black","cue"],"ðª":["yo-yo","toy","string","up","down","trick"],"ð":["ping","pong","table","tennis","paddle","ball"],"ð¸":["badminton","racquet","shuttlecock","net","sport","court"],"ð":["ice","hockey","stick","puck","sport","rink"],"ð":["field","hockey","stick","ball","sport","grass"],"ð¥":["lacrosse","stick","ball","sport","net","goal"],"ð":["cricket","bat","ball","sport","wicket","english"],"ðª":["boomerang","throw","return","australia","curved","stick"],"ð¥
":["goal","net","sport","soccer","hockey","score"],"â³":["flag","hole","golf","sport","course","green"],"ðª":["kite","fly","wind","string","sky","colorful"],"ð¹":["bow","arrow","archery","sport","target","aim"],"ð£":["fishing","pole","rod","hook","line","catch"],"ð¤¿":["diving","mask","snorkel","underwater","ocean","swim"],"ð¥":["boxing","glove","fight","sport","punch","red"],"ð¥":["martial","arts","uniform","karate","judo","belt"],"ð½":["running","shirt","sport","marathon","tank","top"],"ð¹":["skateboard","skate","sport","trick","wheels","board"],"ð¼":["roller","skate","wheels","sport","disco","fun"],"ð·":["sled","sledge","snow","winter","hill","ride"],"â¸ï¸":["ice","skate","winter","sport","rink","blade"],"ð¥":["curling","stone","sport","ice","sweep","target"],"ð¿":["ski","snow","winter","sport","mountain","slope"],"â·ï¸":["skier","ski","snow","winter","sport","downhill"],"ð":["snowboard","snow","winter","sport","mountain","board"],"ðï¸ââï¸":["woman","weight","lifting","gym","strong","exercise"],"ðï¸":["weight","lifting","gym","strong","exercise","barbell"],"ðï¸ââï¸":["man","weight","lifting","gym","strong","exercise"],"ð¤¼ââï¸":["women","wrestling","sport","grapple","fight","mat"],"ð¤¼":["wrestling","sport","grapple","fight","mat","combat"],"ð¤¼ââï¸":["men","wrestling","sport","grapple","fight","mat"],"ð¤¸ââï¸":["woman","cartwheel","gymnastics","flip","sport","acrobatic"],"ð¤¸":["cartwheel","gymnastics","flip","sport","acrobatic","tumble"],"ð¤¸ââï¸":["man","cartwheel","gymnastics","flip","sport","acrobatic"],"â¹ï¸ââï¸":["woman","bouncing","ball","basketball","dribble","sport"],"â¹ï¸":["bouncing","ball","basketball","dribble","sport","person"],"â¹ï¸ââï¸":["man","bouncing","ball","basketball","dribble","sport"],"ð¤º":["fencing","sword","sport","mask","foil","epee"],"ð¤¾ââï¸":["woman","playing","handball","sport","throw","goal"],"ð¤¾":["handball","sport","throw","goal","team","ball"],"ð¤¾ââï¸":["man","playing","handball","sport","throw","goal"],"ðï¸ââï¸":["woman","golfing","golf","club","swing","sport"],"ðï¸":["golfing","golf","club","swing","sport","course"],"ðï¸ââï¸":["man","golfing","golf","club","swing","sport"],"ð":["horse","racing","jockey","equestr
2ian","gallop","sport"],"ð§ââï¸":["woman","lotus","position","yoga","meditation","zen"],"ð§":["lotus","position","yoga","meditation","zen","peaceful"],"ð§ââï¸":["man","lotus","position","yoga","meditation","zen"],"ðââï¸":["woman","surfing","surf","wave","ocean","board"],"ð":["surfing","surf","wave","ocean","board","ride"],"ðââï¸":["man","surfing","surf","wave","ocean","board"],"ðââï¸":["woman","swimming","pool","water","stroke","sport"],"ð":["swimming","pool","water","stroke","sport","lap"],"ðââï¸":["man","swimming","pool","water","stroke","sport"],"ð¤½ââï¸":["woman","playing","water","polo","pool","sport"],"ð¤½":["water","polo","pool","sport","ball","swim"],"ð¤½ââï¸":["man","playing","water","polo","pool","sport"],"ð£ââï¸":["woman","rowing","boat","oar","water","sport"],"ð£":["rowing","boat","oar","water","sport","crew"],"ð£ââï¸":["man","rowing","boat","oar","water","sport"],"ð§ââï¸":["woman","climbing","rock","mountain","sport","rope"],"ð§":["climbing","rock","mountain","sport","rope","wall"],"ð§ââï¸":["man","climbing","rock","mountain","sport","rope"],"ðµââï¸":["woman","mountain","biking","bike","trail","sport"],"ðµ":["mountain","biking","bike","trail","sport","cycling"],"ðµââï¸":["man","mountain","biking","bike","trail","sport"],"ð´ââï¸":["woman","biking","bicycle","cycling","sport","exercise"],"ð´":["biking","bicycle","cycling","sport","exercise","ride"],"ð´ââï¸":["man","biking","bicycle","cycling","sport","exercise"],"ð":["trophy","award","winner","champion","gold","prize"],"ð¥":["first","place","medal","gold","winner","champion"],"ð¥":["second","place","medal","silver","runner","up"],"ð¥":["third","place","medal","bronze","podium","award"],"ð
":["sports","medal","award","achievement","honor","ribbon"],"ðï¸":["military","medal","honor","award","service","decoration"],"ðµï¸":["rosette","award","flower","ribbon","prize","decoration"],"ðï¸":["reminder","ribbon","awareness","cause","support","loop"],"ð«":["ticket","admission","event","concert","movie","pass"],"ðï¸":["admission","tickets","event","concert","show","entry"],"ðª":["circus","tent","entertainment","clown","show","performance"],"ð¤¹":["juggling","balls","skill","performance","entertainment","circus"],"ð¤¹ââï¸":["man","juggling","balls","skill","performance","entertainment"],"ð¤¹ââï¸":["woman","juggling","balls","skill","performance","entertainment"],"ð":["performing","arts","theater","drama","masks","comedy"],"ð©°":["ballet","shoes","dance","pointe","pink","graceful"],"ð¨":["artist","palette","paint","creative","art","colorful"],"ð¬":["clapper","board","movie","film","cinema","action"],"ð¤":["microphone","sing","karaoke","performance","music","voice"],"ð§":["headphones","music","listen","audio","sound","earphones"],"ð¼":["musical","score","notes","sheet","music","composition"],"ðµ":["musical","note","music","song","melody","tune"],"ð¶":["musical","notes","music","song","melody","multiple"],"ð¥":["drum","percussion","beat","rhythm","music","sticks"],"ðª":["long","drum","percussion","music","beat","traditional"],"ð·":["saxophone","jazz","music","brass","instrument","wind"],"ðº":["trumpet","brass","music","instrument","horn","fanfare"],"ð¸":["guitar","music","string","instrument","rock","acoustic"],"ðª":["banjo","string","music","instrument","country","folk"],"ð»":["violin","music","string","instrument","classical","bow"],"ð²":["dice","game","chance","roll","gambling","random"],"âï¸":["chess","pawn","strategy","game","board","piece"],"ð¯":["direct","hit","target","bullseye","dart","aim"],"ð³":["bowling","pins","strike","spare","ball","alley"],"ð®":["video","game","controller","gaming","play","console"],"ð°":["slot","machine","gambling","casino","jackpot","luck"],"ð§©":["puzzle","piece","jigsaw","solve","fit","missing"]},Objects:{"â":["watch","time","wrist","clock","hour","minute"],"ð±":["mobile","phone","cell","smartphone","device","call"],"ð²":["mobile","phone","arrow","incoming","call","receive"],"ð»":["laptop","computer","pc","work","screen","keyboard"],"â¨ï¸":["keyboard","computer","type","keys","input","qwerty"],"ð¥ï¸":["desktop","computer","monitor","screen","pc","display"],"ð¨ï¸":["printer","paper","print","copy","document","ink"],"ð±ï¸":["computer","mouse","click","pointer","cursor","device"],"ð²ï¸":["trackball","computer","mouse","ball","roll","input"],"ð¹ï¸":["joystick","gaming","controller","arcade","play","stick"],"ðï¸":["clamp","compress","squeeze","tool","vise","grip"],"ð½":["minidisc","computer","disk","
2storage","data","obsolete"],"ð¾":["floppy","disk","save","computer","storage","data"],"ð¿":["optical","disk","cd","music","computer","data"],"ð":["dvd","disk","movie","video","optical","blue"],"ð¼":["videocassette","vhs","tape","movie","record","vintage"],"ð·":["camera","photo","picture","snapshot","photography","lens"],"ð¸":["camera","flash","photo","picture","bright","snapshot"],"ð¹":["video","camera","record","film","movie","camcorder"],"ð¥":["movie","camera","film","cinema","record","video"],"ð½ï¸":["film","projector","movie","cinema","reel","projection"],"ðï¸":["film","frames","movie","cinema","strip","reel"],"ð":["telephone","receiver","phone","call","talk","communication"],"âï¸":["telephone","phone","old","vintage","landline","call"],"ð":["pager","beeper","message","communication","vintage","device"],"ð ":["fax","machine","document","send","receive","paper"],"ðº":["television","tv","watch","screen","entertainment","show"],"ð»":["radio","music","listen","broadcast","antenna","waves"],"ðï¸":["studio","microphone","podcast","record","broadcast","voice"],"ðï¸":["level","slider","control","audio","volume","adjust"],"ðï¸":["control","knobs","dials","mixer","audio","settings"],"ð§":["compass","direction","north","navigate","orientation","magnetic"],"â±ï¸":["stopwatch","timer","time","race","measure","chronometer"],"â²ï¸":["timer","clock","countdown","time","alarm","kitchen"],"â°":["alarm","clock","wake","up","time","morning"],"ð°ï¸":["mantelpiece","clock","time","vintage","antique","pendulum"],"â":["hourglass","done","time","sand","timer","finished"],"â³":["hourglass","flowing","sand","time","timer","waiting"],"ð¡":["satellite","antenna","dish","communication","signal","space"],"ð":["battery","power","energy","charge","full","electric"],"ðª«":["low","battery","power","energy","charge","empty"],"ð":["electric","plug","power","outlet","cord","electricity"],"ð¡":["light","bulb","idea","bright","electric","illumination"],"ð¦":["flashlight","torch","light","beam","dar
2k","illuminate"],"ð¯ï¸":["candle","light","flame","wax","romantic","dinner"],"ðª":["diya","lamp","oil","light","indian","festival"],"ð§¯":["fire","extinguisher","safety","emergency","red","spray"],"ð¢ï¸":["oil","drum","barrel","petroleum","fuel","container"],"ð¸":["money","wings","flying","dollar","cash","spend"],"ðµ":["dollar","banknote","money","cash","bill","currency"],"ð´":["yen","banknote","money","japanese","cash","currency"],"ð¶":["euro","banknote","money","european","cash","currency"],"ð·":["pound","banknote","money","british","cash","currency"],"ðª":["coin","money","cash","currency","change","metal"],"ð°":["money","bag","dollar","cash","rich","wealth"],"ð³":["credit","card","payment","money","plastic","bank"],"ð":["gem","stone","diamond","jewel","precious","sparkle"],"âï¸":["balance","scale","justice","law","weight","fair"],"ðª":["ladder","climb","step","rung","up","tool"],"ð§°":["toolbox","tools","repair","fix","work","kit"],"ð§":["wrench","tool","fix","repair","mechanic","adjust"],"ð¨":["hammer","tool","nail","build","construction","hit"],"âï¸":["hammer","pick","tools","mining","construction","work"],"ð ï¸":["hammer","wrench","tools","repair","fix","work"],"âï¸":["pick","tool","mining","dig","axe","construction"],"ðª":["carpentry","saw","tool","cut","wood","blade"],"ð©":["nut","bolt","screw","metal","fastener","thread"],"âï¸":["gear","cog","settings","mechanical","machine","wheel"],"ðª¤":["mouse","trap","catch","spring","cheese","pest"],"âï¸":["chains","link","metal","connect","secure","bind"],"ð§²":["magnet","attract","magnetic","force","metal","pull"],"ð«":["pistol","gun","weapon","shoot","water","toy"],"ð£":["bomb","explosive","danger","fuse","round","black"],"ð§¨":["firecracker","dynamite","explosive","red","fuse","celebration"],"ðª":["axe","tool","chop","wood","cut","blade"],"ðª":["kitchen","knife","cut","cook","sharp","blade"],"ð¡ï¸":["dagger","knife","weapon","blade","sharp","sword"],"âï¸":["crossed","swords","weapons","fight","battle","blades"],"ð¡ï¸":["shield","protection","defense","guard","medieval","armor"],"ð¬":["cigarette","smoking","tobacco","unhealthy","addiction","nicotine"],"â°ï¸":["coffin","death","funeral","burial","wooden","box"],"ðª¦":["headstone","grave","cemetery","death","memorial","rip"],"â±ï¸":["funeral","urn","ashes","death","cremation","pottery"],"ðº":["amphora","jar","pottery","ancient","greek","vase"],"ð®":["crystal","ball","fortune","future","magic","prediction"],"ð¿":["prayer","beads","religion","meditation","spiritual","rosary"],"ð§¿":["nazar","amulet","evil","eye","protection","blue"],"ð":["barber","pole","haircut","shave","red","white"],"âï¸":["alembic","chemistry","distillation","science","lab","experiment"],"ð":["telescope","stars","astronomy","space","observe","magnify"],"ð¬":["microscope","science","lab","magnify","study","small"],"ð³ï¸":["hole","empty","void","black","opening","gap"],"ð©¹":["adhesive","bandage","band-aid","injury","cut","heal"],"ð©º":["stethoscope","doctor","medical","heart","listen","health"],"ð":["pill","medicine","capsule","drug","health","medication"],"ð":["syringe","needle","injection","medicine","vaccine","health"],"ð©¸":["blood","drop","donation","red","health","medical"],"ð§¬":["dna","genetics","science","biology","molecule","research"],"ð¦ ":["microbe","virus","bacteria","germ","infection","health"],"ð§«":["petri","dish","science","culture","bacteria","research"],"ð§ª":["test","tube","science","experiment","chemistry","liquid"],"ð¡ï¸":["thermometer","temperature","hot","cold","fever","health"],"ð§¹":["broom","clean","sweep","dust","housework","tool"],"ðª ":["plunger","toilet","clean","bathroom","tool","unclog"],"ð§´":["lotion","bottle","skincare","cream","soap","cosmetic"],"ð§½":["sponge","clean","absorb","wash","kitchen","tool"],"ð§¼":["soap","clean","wash","hygiene","bubble","bar"],"ðª¥":["toothbrush","clean","teeth","hygiene","dental","brush"],"ðª":["razor","shave","blade","hair","grooming","tool"],"ð§³":["luggage","travel","bag","suitcase","packing","trip"]},Symbols:{"â¤ï¸":["heart","love","affection","romantic","red","emotion"],"ð§¡":["orange","heart","warmth","affection","friendship","emotion"],"ð":["yellow","heart","happiness","friendship","joy","emotion"],"ð":["green","heart","growth","health","nature","emotion"],"ð":["blue","heart","trust","loyalty","calm","emotion"],"ð":["purple","heart","compassion","creativity","royalty","emotion"],"ð¤":["black","heart","mourning","dark","mystery","emotion"],"ð¤":["white","heart","purity","peace","innocence","emotion"],"ð¤":["brown","heart","stability","comfort","earth","emotion"],"ð":["broken","heart","sa
2dness","heartbreak","loss","emotion"],"â£ï¸":["heart","exclamation","love","affection","highlight","emotion"],"ð":["two","hearts","love","affection","romantic","emotion"],"ð":["revolving","hearts","love","affection","connection","emotion"],"ð":["beating","heart","love","affection","pulse","emotion"],"ð":["sparkling","heart","love","affection","romantic","emotion"],"ð":["shining","heart","love","affection","glitter","emotion"],"ð":["heart","with","arrow","love","romantic","emotion"],"ð":["heart","with","ribbon","gift","love","affection"],"ð":["heart","decoration","love","symbol","affection","emotion"],"â®ï¸":["peace","symbol","harmony","love","world","unity"],"âï¸":["cross","christianity","religion","faith","symbol","holy"],"âªï¸":["crescent","star","islam","religion","faith","symbol"],"ðï¸":["om","hinduism","spirituality","religion","faith","symbol"],"â¸ï¸":["wheel","dharma","buddhism","religion","faith","symbol"],"â¡ï¸":["star","of","david","judaism","religion","faith","symbol"],"ð¯":["six","pointed","star","magic","symbol","spiritual"],"ð":["menorah","judaism","religion","faith","symbol","candles"],"â¯ï¸":["yin","yang","balance","taoism","symbol","harmony"],"â¦ï¸":["orthodox","cross","christianity","religion","faith","symbol"],"ð":["place","of","worship","religion","faith","prayer","symbol"],"â":["ophiuchus","zodiac","sign","astrology","symbol","stars"],"â":["aries","zodiac","sign","astrology","symbol","ram"],"â":["taurus","zodiac","sign","astrology","symbol","bull"],"â":["gemini","zodiac","sign","astrology","symbol","twins"],"â":["cancer","zodiac","sign","astrology","symbol","crab"],"â":["leo","zodiac","sign","astrology","symbol","lion"],"â":["virgo","zodiac","sign","astrology","symbol","maiden"],"â":["libra","zodiac","sign","astrology","symbol","scales"],"â":["scorpio","zodiac","sign","astrology","symbol","scorpion"],"â":["sagittarius","zodiac","sign","astrology","symbol","archer"],"â":["capricorn","zodiac","sign","astrology","symbol","goat"],"â":["aquarius","zodiac","sign","astrology","symbol","water"],"â":["pisces","zodiac","sign","astrology","symbol","fish"],"ð":["id","identity","card","label","symbol","information"],"âï¸":["atom","science","physics","symbol","nuclear","energy"],"ð":["acceptable","chinese","kanji","symbol","yes","approval"],"â¢ï¸":["radioactive","hazard","symbol","danger","nuclear","warning"],"â£ï¸":["biohazard","symbol","danger","toxic","warning","hazard"],"ð´":["mobile","phone","off","symbol","disconnect","silent"],"ð³":["mobile","phone","vibration","symbol","alert","silent"],"ð¶":["have","chinese","kanji","symbol","possession","available"],"ð":["free","chinese","kanji","symbol","no","charge","empty"],"ð¸":["application","chinese","kanji","symbol","request","form"],"ðº":["open","business","chinese","kanji","symbol","available","shop"],"ð·ï¸":["monthly","chinese","kanji","symbol","calendar","payment"],"â´ï¸":["eight","pointed","star","symbol","shape","decoration"],"ð":["versus","competition","symbol","vs","match","comparison"],"ð®":["white","flower","symbol","japanese","decoration","purity"],"ð":["bargain","chinese","kanji","symbol","deal","value"],"ãï¸":["secret","chinese","kanji","symbol","confidential","hidden"],"ãï¸":["congratulations","chinese","kanji","symbol","celebration","joy"],"ð´":["pass","chinese","kanji","symbol","success","approval"],"ðµ":["full","chinese","kanji","symbol","complete","occupied"],"ð¹":["discount","chinese","kanji","symbol","sale","offer"],"ð²":["prohibited","chinese","kanji","symbol","ban","restricted"],"ð
°ï¸":["a","blood","type","symbol","letter","red"],"ð
±ï¸":["b","blood","type","symbol","letter","red"],"ð":["ab","blood","type","symbol","letter","red"],"ð":["clear","symbol","remove","delete","action","command"],"ð
¾ï¸":["o","blood","type","symbol","letter","red"],"ð":["sos","help","emergency","symbol","distress","alert"],"â":["cross","mark","no","symbol","cancel","wrong"],"â":["circle","mark","yes","symbol","correct","approval"],"ð":["stop","sign","symbol","halt","warning","red"],"â":["no","entry","symbol","prohibited","restricted","warning"],"ð":["name","badge","symbol","label","identity","tag"],"ð«":["prohibited","symbol","ban","restricted","no","warning"],"ð¯":["hundred","percent","symbol","score","perfect","achievement"],"ð¢":["anger","symbol","frustration","emotion","red","burst"],"â¨ï¸":["hot","springs","symbol","steam","relaxation","water"],"ð·":["no","pedestrians","symbol","prohibited","warning","restriction"],"ð¯":["no","littering","symbol","prohibited","warning","trash"],"ð³":["no","bicycles","symbol","prohibited","warning","restriction"],"ð±":["no","drinking","water","symbol","prohibited","warning","restriction"],"ð":["age","restriction","symbol","adult","warning","prohibited"],"ðµ":["no","mobile","phones","symbol","prohibited","warning","restriction"],"ð":["no","smoking","symbol","prohibited","warning","restriction"],"â":["exclamation","mark","symbol","alert","warning","red"],"â":["white","exclamation","mark","symbol","alert","notice"],"â":["question","mark","symbol","query","uncertainty","red"],"â":["white","question","mark","symbol","query","uncertainty"],"â¼ï¸":["double","exclamation","mark","symbol","alert","emphasis"],"âï¸":["exclamation","question","mark","symbol","alert","confusion"],"ð
":["dim","brightness","symbol","low","light","adjust"],"ð":["bright","brightness","symbol","high","light","adjust"],"ã½ï¸":["part","alternation","mark","symbol","change","pattern"],"â ï¸":["warning","symbol","alert","caution","triangle","yellow"],"ð¸":["children","crossing","symbol","alert","warning","school"],"ð±":["trident","symbol","sea","mythology","power","weapon"],"âï¸":["fleur-de-lis","symbol","decorative","royalty","heritage","design"],"ð°":["beginner","symbol","new","driver","japanese","green"],"â»ï¸":["recycle","symbol","environment","green","sustainability","arrows"],"â
":["check","mark","symbol","yes","approval","green"],"ð¯":["reserved","chinese","kanji","symbol","designated","spot"],"ð¹":["chart","upward","trend","symbol","growth","finance"],"âï¸":["sparkle","symbol","shine","decoration","star","green"],"â³ï¸":["eight","spoked","asterisk","symbol","star","decoration"],"â":["cross","mark","symbol","cancel","no","wrong"],"ð":["globe","symbol","world","internet","global","network"],"ð ":["diamond","shape","symbol","blue","decoration","geometric"],"âï¸":["m","symbol","metro","station","transport","blue"],"ð":["cyclone","symbol","swirl","
2weather","storm","spiral"],"ð¤":["zzz","sleep","symbol","rest","tired","blue"],"ð§":["atm","symbol","bank","money","cash","withdrawal"],"ð¾":["restroom","symbol","toilet","public","facility","blue"],"â¿":["wheelchair","symbol","accessibility","disabled","blue","inclusive"],"ð
¿ï¸":["parking","symbol","car","space","blue","facility"],"ð":["elevator","symbol","lift","building","accessibility","blue"],"ð³":["vacancy","chinese","kanji","symbol","available","empty"],"ðï¸":["service","chinese","kanji","symbol","help","assistance"],"ð":["passport","control","symbol","travel","security","customs"],"ð":["customs","symbol","travel","security","inspection","baggage"],"ð":["baggage","claim","symbol","travel","airport","luggage"],"ð
":["left","luggage","symbol","storage","travel","facility"],"ð¹":["men","symbol","restroom","gender","blue","facility"],"ðº":["women","symbol","restroom","gender","pink","facility"],"ð¼":["baby","symbol","restroom","changing","facility","care"],"â§ï¸":["transgender","symbol","gender","identity","inclusive","pride"],"ð»":["restroom","symbol","gender","neutral","facility","inclusive"],"ð®":["litter","symbol","trash","bin","clean","facility"],"ð¦":["cinema","
2symbol","movie","film","entertainment","screen"],"ð¶":["signal","strength","symbol","wifi","network","bars"],"ð":["here","chinese","kanji","symbol","location","available"],"ð£":["input","symbols","symbol","keyboard","characters","text"],"â¹ï¸":["information","symbol","help","guide","blue","circle"],"ð¤":["abc","symbol","letters","alphabet","text","input"],"ð¡":["lowercase","letters","symbol","alphabet","text","input"],"ð ":["uppercase","letters","symbol","alphabet","text","input"],"ð":["no","good","symbol","bad","negative","red"],"ð":["ok","symbol","approval","yes","positive","green"],"ð":["up","symbol","arrow","direction","positive","blue"],"ð":["cool","symbol","style","trendy","positive","blue"],"ð":["new","symbol","fresh","recent","positive","blue"],"ð":["free","symbol","no","charge","available","blue"],"0ï¸â£":["zero","symbol","number","digit","circle","keycap"],"1ï¸â£":["one","symbol","number","digit","circle","keycap"],"2ï¸â£":["two","symbol","number","digit","circle","keycap"],"3ï¸â£":["three","symbol","number","digit","circle","keycap"],"4ï¸â£":["four","symbol","number","digit","circle","keycap"],"5ï¸â£":["five","symbol","number","digit","circle","keycap"],"6ï¸â£":["six","symbol","number","digit","circle","keycap"],"7ï¸â£":["seven","symbol","number","digit","circle","keycap"],"8ï¸â£":["eight","symbol","number","digit","circle","keycap"],"9ï¸â£":["nine","symbol","number","digit","circle","keycap"],"ð":["ten","symbol","number","digit","circle","keycap"]},Flags:{"ð":["checkered","flag","race","finish","line","competition"],"ð©":["red","flag","warning","alert","signal","attention"],"ð":["crossed","flags","japan","celebration","symbol","event"],"ð´":["black","flag","mourning","symbol","pirate","dark"],"ð³ï¸":["white","flag","peace","surrender","neutral","symbol"],"ð³ï¸âð":["rainbow","flag","pride","lgbtq","diversity","equality"],"ð³ï¸ââ§ï¸":["transgender","flag","pride","identity","equality","rights"],"ð´ââ ï¸":["pirate","flag","skull","crossbones","danger","symbol"],"ð¦ð«":["afghanistan","flag","country","nation","asia","green"],"ð¦ð½":["aland","islands","flag","country","nation","scandinavia"],"ð¦ð±":["albania","flag","country","nation","eagle","red"],"ð©ð¿":["algeria","flag","country","nation","africa","crescent"],"ð¦ð¸":["american","samoa","flag","territory","nation","eagle"],"ð¦ð©":["andorra","flag","country","nation","europe","mountains"],"ð¦ð´":["angola","flag","country","nation","africa","gear"],"ð¦ð®":["anguilla","flag","country","nation","caribbean","dolphins"],"ð¦ð¶":["antarctica","flag","continent","cold","ice","research"],"ð¦ð¬":["antigua","and","barbuda","flag","country","nation","sun"],"ð¦ð·":["argentina","flag","country","nation","sun","blue"],"ð¦ð²":["armenia","flag","country","nation","europe","mountains"],"ð¦ð¼":["aruba","flag","country","nation","caribbean","beach"],"ð¦ðº":["australia","flag","country","nation","oceania","stars"],"ð¦ð¹":["austria","flag","country","nation","europe","red"],"ð¦ð¿":["azerbaijan","flag","country","nation","asia","crescent"],"ð§ð¸":["bahamas","flag","country","nation","caribbean","blue"],"ð§ð":["bahrain","flag","country","nation","asia","red"],"ð§ð©":["bangladesh","flag","country","nation","asia","green"],"ð§ð§":["barbados","flag","country","nation","caribbean","trident"],"ð§ð¾":["belarus","flag","country","nation","europe","red"],"ð§ðª":["belgium","flag","country","nation","europe","yellow"],"ð§ð¿":["belize","flag","country","nation","central","america"],"ð§ð¯":["benin","flag","country","nation","africa","green"],"ð§ð²":["bermuda","flag","country","nation","territory","red"],"ð§ð¹":["bhutan","flag","country","nation","asia","dragon"],"ð§ð´":["bolivia","flag","country","nation","south","america"],"ð§ð¦":["bosnia","and","herzegovina","flag","country","nation","stars"],"ð§ð¼":["botswana","flag","country","nation","africa","blue"],"ð§ð·":["brazil","flag","country","nation","south","america"],"ð®ð´":["british","indian","ocean","territory","flag","nation","union"],"ð»ð¬":["british","virgin","islands","flag","territory","nation","green"],"ð§ð³":["brunei","flag","country","nation","asia","yellow"],"ð§ð¬":["bulgaria","flag","country","nation","europe","green"],"ð§ð«":["burkina","faso","flag","country","nation","africa","red"],"ð§ð®":["burundi","flag","country","nation","africa","stars"],"ð°ð":["cambodia","flag","country","nation","asia","temple"],"ð¨ð²":["cameroon","flag","country","nation","africa","star"],"ð¨ð¦":["canada","flag","country","nation","maple","leaf"],"ð®ð¨":["canary","islands","flag","territory","nation","spain"],"ð¨ð»":["cape","verde","flag","country","nation","africa","stars"],"ð§ð¶":["caribbean","netherlands","flag","territory","nation","islands"],"ð°ð¾":["cayman","islands","flag","territory","nation","caribbean"],"ð¨ð«":["central","african","republic","flag","country","nation","star"],"ð¹ð©":["chad","flag","country","nation","africa","blue"],"ð¨ð±":["chile","flag","country","nation","south","america"],"ð¨ð³":["china","flag","country","nation","asia","stars"],"ð¨ð½":["christmas","island","flag","territory","nation","australia"],"ð¨ð¨":["cocos","islands","flag","territory","nation","australia"],"ð¨ð´":["colombia","flag","country","nation","south","america"],"ð°ð²":["comoros","flag","country","nation","africa","crescent"],"ð¨ð¬":["congo","flag","country","nation","africa","green"],"ð¨ð©":["congo","democratic","republic","flag","country","nation","star"],"ð¨ð°":["co
2ok","islands","flag","territory","nation","stars"],"ð¨ð·":["costa","rica","flag","country","nation","central","america"],"ð¨ð®":["ivory","coast","flag","country","nation","africa","orange"],"ðð·":["croatia","flag","country","nation","europe","red"],"ð¨ðº":["cuba","flag","country","nation","caribbean","star"],"ð¨ð¼":["curacao","flag","territory","nation","caribbean","blue"],"ð¨ð¾":["cyprus","flag","country","nation","europe","olive"],"ð¨ð¿":["czech","republic","flag","country","nation","europe","red"],"ð©ð°":["denmark","flag","country","nation","europe","cross"],"ð©ð¯":["djibouti","flag","country","nation","africa","star"],"ð©ð²":["dominica","flag","country","nation","caribbean","parrot"],"ð©ð´":["dominican","republic","flag","country","nation","caribbean","cross"],"ðªð¨":["ecuador","flag","country","nation","south","america"],"ðªð¬":["egypt","flag","country","nation","africa","eagle"],"ð¸ð»":["el","salvador","flag","country","nation","central","america"],"ð¬ð¶":["equatorial","guinea","flag","country","nation","africa","tree"],"ðªð·":["eritrea","flag","country","nation","africa","green"],"ðªðª":["estonia","flag","country","nation","europe","blue"],"ðªð¹":["ethiopia","flag","country","nation","africa","star"],"ðªðº":["european","union","flag","organization","stars","blue"],"ð«ð°":["falkland","islands","flag","territory","nation","sheep"],"ð«ð´":["faroe","islands","flag","territory","nation","cross"],"ð«ð¯":["fiji","flag","country","nation","oceania","shield"],"ð«ð®":["finland","flag","country","nation","europe","cross"],"ð«ð·":["france","flag","country","nation","europe","blue"],"ð¬ð«":["french","guiana","flag","territory","nation","south","america"],"ðµð«":["french","polynesia","flag","territory","nation","oceania"],"ð¹ð«":["french","southern","territories","flag","territory","nation","stars"],"ð¬ð¦":["gabon","flag","country","nation","africa","green"],"ð¬ð²":["gambia","flag","country","nation","africa","blue"],"ð¬ðª":["georgia","flag","country","nation","europe","cross"],"ð©ðª":["germany","flag","country","nation","europe","black"],"ð¬ð":["ghana","flag","country","nation","africa","star"],"ð¬ð®":["gibraltar","flag","territory","nation","castle"],"ð¬ð·":["greece","flag","country","nation","europe","blue"],"ð¬ð±":["greenland","flag","territory","nation","red"],"ð¬ð©":["grenada","flag","country","nation","caribbean","nutmeg"],"ð¬ðµ":["guadeloupe","flag","territory","nation","caribbean","sun"],"ð¬ðº":["guam","flag","territory","nation","pacific","island"],"ð¬ð¹":["guatemala","flag","country","nation","central","america"],"ð¬ð¬":["guernsey","flag","territory","nation","cross"],"ð¬ð³":["guinea","flag","country","nation","africa","red"],"ð¬ð¼":["guinea-bissau","flag","country","nation","africa","star"],"ð¬ð¾":["guyana","flag","country","nation","south","america"],"ðð¹":["haiti","flag","country","nation","caribbean","coat"],"ðð³":["honduras","flag","country","nation","central","america"],"ðð°":["hong","kong","flag","territory","nation","asia"],"ððº":["hungary","flag","country","nation","europe","red"],"ð®ð¸":["iceland","flag","country","nation","europe","cross"],"ð®ð³":["india","flag","country","nation","asia","wheel"],"ð®ð©":["indonesia","flag","country","nation","asia","red"],"ð®ð·":["iran","flag","country","nation","asia","green"],"ð®ð¶":["iraq","flag","country","nation","asia","stars"],"ð®ðª":["ireland","flag","country","nation","europe","green"],"ð®ð²":["isle","of","man","flag","territory","nation","legs"],"ð®ð±":["israel","flag","country","nation","asia","star"],"ð®ð¹":["italy","flag","country","nation","europe","green"],"ð¯ð²":["jamaica","flag","country","nation","caribbean","yellow"],"ð¯ðµ":["japan","flag","country","nation","asia","red"],"ð¯ðª":["jersey","flag","territory","nation","cross"],"ð¯ð´":["jordan","flag","country","nation","asia","star"],"ð°ð¿":["kazakhstan","flag","country","nation","asia","sun"],"ð°ðª":["kenya","flag","country","nation","africa","shield"],"ð°ð®":["kiribati","flag","country","nation","oceania","sun"],"ð½ð°":["kosovo","flag","country","nation","europe","stars"],"ð°ð¼":["kuwait","flag","country","nation","asia","green"],"ð°ð¬":["kyrgyzstan","flag","country","nation","asia","sun"],"ð±ð¦":["laos","flag","country","nation","asia","circle"],"ð±ð»":["latvia","flag","country","nation","europe","red"],"ð±ð§":["lebanon","flag","country","nation","asia","tree"],"ð±ð¸":["lesotho","flag","country","nation","africa","hat"],"ð±ð·":["liberia","flag","country","nation","africa","star"],"ð±ð¾":["libya","flag","country","nation","africa","crescent"],"ð±ð®":["liechtenstein","flag","country","nation","europe","crown"],"ð±ð¹":["lithuania","flag","country","nation","europe","yellow"],"ð±ðº":["luxembourg","flag","country","nation","europe","blue"],"ð²ð´":["macau","flag","territory","nation","asia","lotus"],"ð²ð°":["north","macedonia","flag","country","nation","europe","sun"],"ð²ð¬":["madagascar","flag","country","nation","africa","green"],"ð²ð¼":["malawi","flag","country","nation","africa","sun"],"ð²ð¾":["malaysia","flag","country","nation","asia","crescent"],"ð²ð»":["maldives","flag","country","nation","asia","crescent"],"ð²ð±":["mali","flag","country","nation","africa","green"],"ð²ð¹":["malta","flag","country","nation","europe","cross"],"ð²ð":["marshall","islands","flag","country","nation","oceania","sun"],"ð²ð¶":["martinique","flag","territory","nation","caribbean","snake"],"ð²ð·":["mauritania","flag","country","nation","africa","crescent"],"ð²ðº":["mauritius","flag","country","nation","africa","red"],"ð¾ð¹":["mayotte","flag","territory","nation","africa","island"],"ð²ð½":["mexico","flag","country","nation","north","america"],"ð«ð²":["micronesia","flag","country","nation","oceania","stars"],"ð²ð©":["moldova","flag","country","nation","europe","eagle"],"ð²ð¨":["monaco","flag","country","nation","europe","red"],"ð²ð³":["mongolia","flag","country","nation","asia","red"],"ð²ðª":["montenegro","flag","country","nation","europe","eagle"],"ð²ð¸":["montserrat","flag","territory","nation","caribbean","green"],"ð²ð¦":["morocco","flag","country","nation","africa","star"],"ð²ð¿":["mozambique","flag","country","nation","africa","gun"],"ð²ð²":["myanmar","flag","country","nation","asia","star"],"ð³ð¦":["namibia","flag","country","nation","africa","sun"],"ð³ð·":["nauru","flag","country","nation","oceania","star"],"ð³ðµ":["nepal","flag","country","nation","asia","crescent"],"ð³ð±":["netherlands","flag","country","nation","europe","red"],"ð³ð¨":["new","caledonia","flag","territory","nation","oceania"],"ð³ð¿":["new","zealand","flag","country","nation","oceania","stars"],"ð³ð®":["nicaragua","flag","country","nation","central","america"],"ð³ðª":["niger","flag","country","nation","africa","orange"],"ð³ð¬":["nigeria","flag","country","nation","africa","green"],"ð³ðº":["niue","flag","territory","nation","oceania","yellow"],"ð³ð«":["norfolk","island","flag","territory","nation","tree"],"ð°ðµ":["north","korea","flag","country","nation","asia","star"],"ð²ðµ":["northern","mariana","islands","flag","territory","nation","star"],"ð³ð´":["norway","flag","country","nation","europe","cross"],"ð´ð²":["oman","flag","country","nation","asia","red"],"ðµð°":["pakistan","flag","country","nation","asia","crescent"],"ðµð¼":["palau","flag","country","nation","oceania","yellow"],"ðµð¸":["palestine","flag","territory","nation","asia","green"],"ðµð¦":["panama","flag","country","nation","central","america"],"ðµð¬":["papua","new","guinea","flag","country","nation","oceania"],"ðµð¾":["paraguay","flag","country","nation","south","america"],"ðµðª":["peru","flag","country","nation","south","america"],"ðµð":["philippines","flag","country","nation","asia","sun"],"ðµð³":["pitcairn","islands","flag","territory","nation","union"],"ðµð±":["poland","flag","country","nation","europe","red"],"ðµð¹":["portugal","flag","country","nation","europe","green"],"ðµð·":["puerto","rico","flag","territory","nation","caribbean"],"ð¶ð¦":["qatar","flag","country","nation","asia","maroon"],"ð·ðª":["reunion","flag","territory","nation","africa","sun"],"ð·ð´":["romania","flag","country","nation","europe","blue"],"ð·ðº":["russia","flag","country","nation","europe","white"],"ð·ð¼":["rwanda","flag","country","nation","africa","sun"],"ð¼ð¸":["samoa","flag","country","nation","oceania","stars"],"ð¸ð²":["san","marino","flag","country","nation","europe","blue"],"ð¸ð¦":["saudi","arabia","flag","country","nation","asia","green"],"ð¸ð³":["senegal","flag","country","nation","africa","star"],"ð·ð¸":["serbia","flag","country","nation","europe","eagle"],"ð¸ð¨":["seychelles","flag","country","nation","africa","colorful"],"ð¸ð±":["sierra","leone","flag","country","nation","africa","green"],"ð¸ð¬":["singapore","flag","country","nation","asia","crescent"],"ð¸ð½":["sint","maarten","flag","territory","nation","caribbean"],"ð¸ð°":["slovakia","flag","country","nation","europe","cross"],"ð¸ð®":["slovenia","flag","country","nation","europe","mountains"],"ð¬ð¸":["south","georgia","and","south","sandwich","islands","flag"],"ð¸ð§":["solomon","islands","flag","country","nation","oceania","stars"],"ð¸ð´":["somalia","flag","country","nation","africa","star"],"ð¿ð¦":["south","africa","flag","country","nation","africa","colorful"],"ð°ð·":["south","korea","flag","country","nation","asia","yin"],"ð¸ð¸":["south","sudan","flag","country","nation","africa","star"],"ðªð¸":["spain","flag","country","nation","europe","red"],"ð±ð°":["sri","lanka","flag","country","nation","asia","lion"],"ð§ð±":["saint","barthelemy","flag","territory","nation","caribbean"],"ð¸ð":["saint","helena","flag","territory","nation","blue"],"ð°ð³":["saint","kitts","and","nevis","flag","country","nation","stars"],"ð±ð¨":["saint","lucia","flag","country","nation","caribbean","triangle"],"ðµð²":["saint","pierre","and","miquelon","flag","territory","nation","ship"],"ð»ð¨":["saint","vincent","and","the","grenadines","flag","country","nation"],"ð¸ð©"
2:["sudan","flag","country","nation","africa","green"],"ð¸ð·":["suriname","flag","country","nation","south","america"],"ð¸ð¿":["eswatini","flag","country","nation","africa","shield"],"ð¸ðª":["sweden","flag","country","nation","europe","cross"],"ð¨ð":["switzerland","flag","country","nation","europe","cross"],"ð¸ð¾":["syria","flag","country","nation","asia","stars"],"ð¹ð¼":["taiwan","flag","country","nation","asia","sun"],"ð¹ð¯":["tajikistan","flag","country","nation","asia","crown"],"ð¹ð¿":["tanzania","flag","country","nation","africa","green"],"ð¹ð":["thailand","flag","country","nation","asia","red"],"ð¹ð±":["timor-leste","flag","country","nation","asia","star"],"ð¹ð¬":["togo","flag","country","nation","africa","star"],"ð¹ð°":["tokelau","flag","territory","nation","oceania","stars"],"ð¹ð´":["tonga","flag","country","nation","oceania","cross"],"ð¹ð¹":["trinidad","and","tobago","flag","country","nation","caribbean"],"ð¹ð³":["tunisia","flag","country","nation","africa","crescent"],"ð¹ð·":["turkey","flag","country","nation","asia","crescent"],"ð¹ð²":["turkmenistan","flag","country","nation","asia","crescent"],"ð¹ð¨":["turks","and","caicos","islands","flag","territory","nation"],"ð¹ð»":["tuvalu","flag","country","nation","oceania","stars"],"ðºð¬":["uganda","flag","country","nation","africa","bird"],"ðºð¦":["ukraine","flag","country","nation","europe","blue"],"ð¦ðª":["united","arab","emirates","flag","country","nation","asia"],"ð¬ð§":["united","kingdom","flag","country","nation","europe","union"],"ðºð³":["united","nations","flag","organization","world","blue"],"ðºð¸":["united","states","flag","country","nation","north","america"],"ð»ð®":["us","virgin","islands","flag","territory","nation","eagle"],"ðºð¾":["uruguay","flag","country","nation","south","america"],"ðºð¿":["uzbekistan","flag","country","nation","asia","crescent"],"ð»ðº":["vanuatu","flag","country","nation","oceania","green"],"ð»ð¦":["vatican","city","flag","country","nation","europe","keys"],"ð»ðª":["venezuela","flag","country","nation","south","america"],"ð»ð³":["vietnam","flag","country","nation","asia","star"],"ð¼ð«":["wallis","and","futuna","flag","territory","nation","cross"],"ðªð":["western","sahara","flag","territory","nation","crescent"],"ð¾ðª":["yemen","flag","country","nation","asia","red"],"ð¿ð²":["zambia","flag","country","nation","africa","eagle"],"ð¿ð¼":["zimbabwe","flag","country","nation","africa","star"]}},Kt={Emoji:"emoji",Stickers:"stickers",Gifs:"gifs"},Ho=({children:t,active:s,onSetTab:a})=>e.jsx("button",{type:"button",onClick:l=>{l.preventDefault(),a()},className:g("flex items-center justify-center gap-2 rounded px-4 py-2 text-sm font-normal leading-5 transition-colors md:text-xxs",s?"bg-primary-active text-brandblue-100":"text-[#9CA3AF] hover:bg-chat-emoji-drawer-background hover:text-white"),children:t}),iT=({searchTerm:t,onEmojiSelect:s})=>{const a=m.useMemo(()=>{if(!t)return _6;const l=t.toLowerCase();return Object.entries(_6).reduce((r,[i,o])=>{const d=Object.fromEntries(Object.entries(o).filter(([,u])=>u.some(c=>c.toLowerCase().includes(l))));return Object.keys(d).length>0&&(r[i]=d),r},{})},[t]);return e.jsx(e.Fragment,{children:Object.entries(a).map(([l,r])=>e.jsxs("div",{children:[e.jsx("h3",{className:"sticky top-0 bg-secondary px-2 pb-1 pt-2 text-[13px] font-normal leading-[18px] text-brandblue-50",children:l}),e.jsx("div",{className:"grid grid-cols-5 gap-1",children:Object.keys(r).map(i=>e.jsx("button",{type:"button",className:"flex size-10 items-center justify-center rounded-lg text-xxl transition-colors hover:bg-chat-emoji-drawer-background active:bg-chat-emoji-drawer-active-background",onClick:()=>s(i),children:i},i))})]},l))})},oT=({onEmojiSelect:t,hideDrawer:s})=>{const[a,l]=m.useState(Kt.Emoji),[r,i]=m.useState(""),o=m.useRef(null);Ri(o,s);const d=c=>{c.stopPropagation(),i(c.target.value)},u=()=>{s(),l(Kt.Emoji),i("")};return e.jsxs("div",{ref:o,"data-testid":"chat-emoji-drawer",className:"absolute bottom-12 right-0 h-96 w-full rounded-lg bg-secondary p-4 text-brandblue-100 shadow-lg",children:[e.jsxs("div",{className:"grid grid-cols-3 rounded bg-primary",children:[e.jsxs(Ho,{active:a===Kt.Emoji,onSetTab:()=>l(Kt.Emoji),children:[e.jsx(im,{className:"size-4"}),n("global_chat_tab_emoji")]}),e.jsxs(Ho,{active:a===Kt.Stickers,onSetTab:()=>l(Kt.Stickers),children:[e.jsx(KR,{}),n("global_chat_tab_stickers")]}),e.jsxs(Ho,{active:a===Kt.Gifs,onSetTab:()=>l(Kt.Gifs),children:[e.jsx(qR,{}),n("global_chat_tab_gifs")]})]}),e.jsx("div",{className:"py-4 pb-1 lg:py-2",children:e.jsx("input",{type:"text","data-testid":"chat-emoji-search",placeholder:n("global_chat_search_placeholder"),value:r,onChange:d,className:"w-full rounded bg-primary px-2 py-1.5 text-sm text-[#E5E7EB] placeholder:text-[#6B7280] focus:border-[#60A5FA] focus:outline-none"})}),e.jsxs("div",{className:"h-64 overflow-y-auto overflow-x-hidden pb-4",children:[a===Kt.
2Emoji?e.jsx(iT,{searchTerm:r,onEmojiSelect:t}):null,a===Kt.Stickers?e.jsx(rT,{searchTerm:r,onCloseEmojiDrawer:u}):null,a===Kt.Gifs?e.jsx(aT,{searchTerm:r,onCloseEmojiDrawer:u}):null]}),a===Kt.Gifs?e.jsx("div",{className:"float-right p-1 text-[10px] uppercase tracking-wide text-brandblue-50",children:"Powered by GIPHY"}):null]})},cT=({showEmojiDrawer:t,toggleEmojiDrawer:s,onEmojiSelect:a})=>e.jsxs(e.Fragment,{children:[t?e.jsx(oT,{onEmojiSelect:a,hideDrawer:s}):null,e.jsx("button",{type:"button","data-testid":"chat-emoji-toggle","aria-label":"Emoji",className:"absolute right-2 top-0 flex translate-y-1/2 cursor-pointer items-center justify-center border-none bg-transparent text-lg text-white hover:text-brandblue-300",onClick:s,children:e.jsx(im,{currentColor:t?"#637AF4":"currentColor"})})]}),dT=()=>{const{openModal:t}=W();return e.jsxs("div",{"data-testid":"chat-login-prompt",className:"flex flex-row place-items-center justify-between gap-2 rounded-lg bg-primary px-3 py-[10px]",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-sm text-brandblue-300",children:n("global_chat_login_prompt_title")}),e.jsx("div",{className:"text-xs text-brandblue-100",children:n("global_chat_login_prompt_description")})]}),e.jsx("button",{type:"button","data-testid":"chat-login-button",className:"rounded-lg px-4 py-2.5",style:{background:"radial-gradient(#2F3EC8, #6077F2)"},onClick:s=>{s.preventDefault(),t(_e,{tab:"login"})},children:e.jsx("div",{className:"justify-start text-nowrap text-sm font-semibold leading-tight text-white",children:n("global_chat_sign_in")})})]})},uT={"2xl":"h-12",xl:"h-10",lg:"h-7",md:"h-5",sm:"h-4",xs:"h-3"},Uo=1,mT=25,tc=({rank:t=Uo,size:s="md",className:a})=>{const l=Math.min(Math.max(Math.round(t)||Uo,Uo),mT);return e.jsx("img",{src:`/ranks/level-${l}.webp`,alt:"","aria-hidden":"true",className:g("shrink-0 object-contain",uT[s],a),loading:"lazy",decoding:"async"})},N6=["/avatars/chat-1.webp","/avatars/chat-2.webp","/avatars/chat-3.webp"],dm=({src:t,authorId:s,className:a})=>{const l=m.useRef(!1);return e.jsx("img",{className:g("size-8 rounded-full",a),src:t??N6[s%3],alt:"Avatar",onError:r=>{l.current||(l.current=!0,r.target.src=N6[s%3])}})},xT=({src:t,level:s,authorId:a})=>e.jsxs("div",{className:"relative flex min-w-9 flex-col items-center justify-end",children:[e.jsx(dm,{src:t,authorId:a,className:"-mb-2 size-9"}),e.jsx(tc,{rank:s,size:"sm",className:"relative"})]}),Ti=Ze("messageActionsShown"),Ii=Ze("messageActionsHidden"),um=At(null).on(Ti,(t,s)=>t===s?null:s).reset(Ii),o2=Ze("chatContainerSet"),mm=At(null).on(o2,(t,s)=>s),fT=(t,s)=>{const a=s[s.length-1];if(!a)return!1;const l=t[t.length-1];return l?l.messageId===a.messageId?!1:new Set(t.map(i=>i.messageId)).has(s[0].messageId):!0},pT=5,hT=()=>m.useCallback((t,s="auto")=>{const a=t.current;a&&requestAnimationFrame(()=>{try{const l=a.scrollHeight-a.clientHeight;a.scrollTop<l-pT&&a.scrollTo({top:l,behavior:s})}catch{a.scrollTop=a.scrollHeight-a.clientHeight}})},[]),xm=()=>m.useCallback((t,s)=>{const a=s.current;if(!a)return;const l=a.querySelector(`[data-message-id="${t}"]`);l&&(l.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),l.classList.add("bg-chat-message-highlight"),setTimeout(()=>l.classList.remove("bg-chat-message-highlight"),3e3))},[]),gT=({hasMore:t,isLoadingMore:s,onLoadMore:a,onScrollToBottom:l,messages:r})=>{const i=m.useRef(null),o=m.useRef(null),d=m.useRef(null),u=m.useRef({prevScrollHeight:0,prevScrollTop:0,shouldRestore:!1}),c=m.useRef([]),x=m.useRef(!1),p=m.useRef(!0);return m.useEffect(()=>{if(!o.current||!t||s)return;const f=new IntersectionObserver(([h])=>{if(!h.isIntersecting||!t||s)return;const b=i.current;b&&(u.current.prevScrollHeight=b.scrollHeight,u.current.prevScrollTop=b.scrollTop,u.current.shouldRestore=!0),a()},{root:i.current,rootMargin:"200px 0px 0px 0px",threshold:.1});return f.observe(o.current),()=>f.disconnect()},[t,s,a]),m.useLayoutEffect(()=>{if(!u.current.shouldRestore||!i.current)return;const f=i.current,h=f.scrollHeight-u.current.prevScrollHeight;h>0&&(f.scrollTop=u.current.prevScrollTop+h,u.current.shouldRestore=!1)},[r.length]),m.useEffect(()=>{if(!d.current)return;const f=new IntersectionObserver(([h])=>{x.current=!h.isIntersecting},{root:i.current,rootMargin:"0px 0px 20px 0px",threshold:.1});return f.observe(d.current),()=>f.disconnect()},[]),m.useEffect(()=>{var b;if(r.length===0)return;if(p.current){p.current=!1,c.current=r,l("auto");return}const f=fT(c.current,r),h=!!((b=r[r.length-1])!=null&&b.isOwn);f&&(!x.current||h)&&l("smooth"),c.current=r},[r,l]),{container:i,topAnchor:o,bottomAnchor:d}},jl=({message:t,className:s})=>{const a=xm(),l=C(mm),r={[Et.TEXT]:t.content,[Et.GIF]:"GIF",[Et.STICKER]:"Sticker"}[t.contentType]??null,i=!!(l&&t.messageId),o=d=>{d.stopPropagation(),d.preventDefault(),l&&t.messageId&&a(t.messageId,l)};return e.jsxs("div",{"data-testid":"chat-reply-block",className:g("flex flex-row place-items-center gap-2 rounded border-l-2 border-brandblue-100 bg-[#20242E] p-2 text-[14px]",i&&"cursor-pointer transition-all duration-200 hover:border-brandblue-200 hover:bg-[#2A2F3A]",s),onClick:i?o:void 0,title:i?"Click to go to the message":void 0,children:[e.jsx(dm,{src:t.author.avatarSrc,authorId:t.author.id}),e.jsxs("div",{className:"text-brandblue-100",children:[e.jsx("div",{className:"flex flex-row place-items-center gap-1 font-medium text-white",children:e.jsx("span",{className:"line-clamp-1",children:t.author.name})}),e.jsx("div",{className:"max-w-44 truncate text-[12px]",children:r})]})]})},bT=300,CT=({onRulesOpen:t})=>{const[s,a]=C([HC,UC]),[l,r]=C([VC,zC]),[i,o]=m.useState(""),[d,u]=m.useState(!1),[c,x]=m.useState(!1),[p,f]=m.useState(!1),h=m.useRef(null),b=m.useRef(null);m.useEffect(()=>{var S;s&&((S=b.current)==null||S.focus())},[s]);const v=()=>{var S;if(!(c||i.trim()===""))try{x(!0),r({message:i}),o(""),(S=b.current)==null||S.focus(),X("Chat Message Sent")}finally{setTimeout(()=>x(!1),bT)}},j=S=>{S.preventDefault(),S.stopPropagation(),v(),f(!1)},y=S=>{if(!a){u(!0);return}o(S.length>wn?S.slice(0,wn):S)},N=S=>{if(!a){u(!0);return}S.key!=="Enter"||S.shiftKey||S.ctrlKey||S.altKey||h.current&&!c&&i.trim()!==""&&(S.preventDefault(),S.stopPropagation(),v(),f(!1))}
2,k=S=>{const M=`${i}${S}`;M.length>wn||(o(M),requestAnimationFrame(()=>{var _,A;(_=b.current)==null||_.focus(),(A=b.current)==null||A.setSelectionRange(M.length,M.length)}))},w=()=>{if(!a){u(!0);return}f(S=>!S)};return e.jsxs("div",{className:"p-4 pb-2",children:[d&&!a?e.jsx("div",{className:"pb-4",children:e.jsx(dT,{})}):null,e.jsxs("div",{className:"rounded-lg bg-primary",children:[s?e.jsxs("div",{className:"relative flex w-full flex-row place-items-center justify-between gap-2 px-3 pt-2",children:[e.jsx(ec,{className:"size-5 text-brandblue-300"}),e.jsx(jl,{message:s,className:"w-full"}),e.jsx("button",{type:"button","data-testid":"chat-cancel-reply",onClick:()=>l(),children:e.jsx(HR,{className:"size-5 cursor-pointer text-brandblue-100"})})]}):null,e.jsxs("form",{ref:h,className:"relative flex w-full items-center",onSubmit:j,children:[e.jsx("input",{ref:b,"data-testid":"chat-input",autoComplete:"off",type:"text",name:"message",placeholder:n("global_chat_placeholder"),value:i,disabled:c,onChange:S=>y(S.target.value),onKeyDown:N,className:g("h-10 w-full rounded-lg border-none bg-primary pl-3 pr-10 text-sm text-white outline-none ring-1 ring-primary placeholder:text-secondary-100 focus:ring-2 focus:ring-brandblue-300",s&&"rounded-t-none")}),e.jsx(cT,{showEmojiDrawer:p,toggleEmojiDrawer:w,onEmojiSelect:k})]})]}),e.jsxs("div",{className:"flex justify-between px-1 pt-2 text-xs font-medium text-brandblue-50",children:[e.jsx(eT,{onOpen:t}),e.jsxs("div",{"data-testid":"chat-input-counter",className:g(i.length>=wn&&"text-red-500"),children:[i.length,"/",wn]})]})]})},jT={[oe.LIKE]:"ð",[oe.DISLIKE]:"ð",[oe.LOVE]:"â¤ï¸",[oe.LAUGH]:"ð",[oe.SAD]:"ð¢",[oe.ANGRY]:"ð¡",[oe.THANKS]:"ð",[oe.HIGH_FIVE]:"â",[oe.CONFUSED]:"ð",[oe.SHOCKED]:"ð²",[oe.CELEBRATE]:"ð",[oe.WHALE]:"ð³",[oe.COOL]:"ð",[oe.CRY]:"ð",[oe.NOPE]:"ð
",[oe.COIN]:"ðª",[oe.FIRE]:"ð¥",[oe.CLAP]:"ð",[oe.HEART_EYES]:"ð",[oe.STAR]:"â",[oe.ROCKET]:"ð",[oe.PARTY_POPPER]:"ð",[oe.SMIRK]:"ð",[oe.WINK]:"ð",[oe.ZZZ]:"ð¤",[oe.SUNGLASSES]:"ð¶ï¸",[oe.THINKING]:"ð¤",[oe.FACEPALM]:"ð¤¦",[oe.PRAY]:"ð",[oe.FLEX]:"ðª",[oe.OK_HAND]:"ð",[oe.PINCHED_FINGERS]:"ð¤",[oe.RAISED_HANDS]:"ð",[oe.EYES]:"ð",[oe.SKULL]:"ð",[oe.RAINBOW]:"ð",[oe.UNICORN]:"ð¦",[oe.MONEY_FACE]:"ð¤",[oe.MONEY_BAG]:"ð°",[oe.DOLLAR_BILLS]:"ðµ",[oe.CASH_FLYING]:"ð¸"},c2=({reactionCode:t})=>{const s=jT[t];return s?e.jsx("span",{children:s}):null},fm=Object.values(oe),vT=fm.slice(0,5),k6=fm.slice(5),wT=({messageId:t,setHideActions:s,openUp:a=!1})=>{const[l,r]=m.useState(!1),i=C(K8),o=d=>{i({messageId:t,reactionCode:d}),X("Chat Emoji Added",{messageId:t,reactionCode:d}),Ii()};return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[vT.map(d=>e.jsx("button",{type:"button","data-testid":`chat-pick-reaction-${d}`,className:"cursor-pointer",onClick:u=>{u.preventDefault(),o(d)},children:e.jsx(c2,{reactionCode:d})},d)),e.jsx("button",{type:"button","aria-label":"More reactions","data-testid":"chat-more-reactions",className:"flex size-8 items-center justify-center rounded-full",onClick:()=>{r(d=>!d),s(!l)},children:e.jsx(UR,{className:g("size-full text-brandblue-100 transition-transform duration-200",!a&&!l||a&&l?"rotate-180":"rotate-0")})})]}),l&&k6.length>0?e.jsx("div",{className:"grid max-h-[96px] grid-cols-6 gap-2 overflow-y-scroll",style:{scrollbarWidth:"none"},"data-testid":"chat-reaction-grid",children:k6.map(d=>e.jsx("button",{type:"button","data-testid":`chat-pick-reaction-${d}`,className:"cursor-pointer",onClick:u=>{u.preventDefault(),o(d)},children:e.jsx(c2,{reactionCode:d})},d))}):null]})},Nn=({icon:t,label:s,onClick:a,testId:l})=>e.jsx("button",{type:"button","data-testid":l,onClick:a,className:"w-full rounded-md px-2 py-[7px] text-left text-brandblue-100 hover:bg-primary-active",children:e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(t,{className:"size-[14px]"}),s]})}),yT=({message:t})=>{var S;const[s,a,l,r]=C([GC,ZC,WC,mm]),[i,o,d,u,c]=C([q8,KC,qC,YC,XC]),x=xm(),p=m.useRef(null),[f,h]=m.useState(!1),[b,v]=m.useState(!1);m.useEffect(()=>{const M=()=>
2{if(!p.current)return;const _=p.current.getBoundingClientRect(),A=window.innerHeight-_.top-_.height;h(A<_.height)};return M(),window.addEventListener("scroll",M,!0),()=>window.removeEventListener("scroll",M,!0)},[]);const j=t.contentType===Et.POLL,y=j?(S=t.data)==null?void 0:S.pollId:void 0,N=l===t.messageId,k=t.type==="default",w=k||!!t.replyToMessage||j;return e.jsxs("div",{ref:p,"data-testid":"chat-actions-menu",className:g("absolute right-1/2 mx-1 flex w-[182px] translate-x-1/2 flex-col items-start gap-1 rounded-md",f?"bottom-full":"top-full"),children:[w?e.jsx("div",{className:g("rounded-md bg-chat-message-highlight p-1",b&&"hidden"),children:e.jsxs("div",{className:"flex w-full flex-col items-start text-xs",children:[k?e.jsx(Nn,{testId:"chat-action-reply",icon:ec,label:n("global_chat_reply"),onClick:()=>{i(t.messageId),X("Chat Message Replied",{messageId:t.messageId})}}):null,s&&j&&y?e.jsx(Nn,{testId:"chat-action-pin-poll",icon:ZR,label:N?"Unpin Poll":"Pin Poll",onClick:()=>{N?c():u({messageId:t.messageId}),Ii()}}):null,s&&k?e.jsx(Nn,{testId:"chat-action-delete",icon:VR,label:n("global_chat_delete_message"),onClick:()=>o({messageId:t.messageId})}):null,a&&k?e.jsx(Nn,{testId:"chat-action-ban",icon:zR,label:n("global_chat_ban_user"),onClick:()=>d({userId:t.author.id})}):null,t.replyToMessage?e.jsx(Nn,{testId:"chat-action-go-to-replied",icon:GR,label:n("global_chat_go_to_replied"),onClick:()=>{t.replyToMessage&&r&&x(t.replyToMessage.messageId,r)}}):null]})}):null,e.jsx("div",{className:"rounded-md bg-chat-message-highlight p-1",children:e.jsx(wT,{messageId:t.messageId,setHideActions:v,openUp:f})})]})},_T=({timestamp:t})=>{const s=new Date(t),a=Number.isNaN(s.getTime())?"":`${String(s.getHours()).padStart(2,"0")}:${String(s.getMinutes()).padStart(2,"0")}`;return e.jsx("div",{className:"flex min-w-fit select-none items-end text-[8px] leading-[8px] text-brandblue-100",children:a})},NT=({messageId:t})=>{const s=C(JC(t)),[a,l]=C([QC,K8]),r=Object.entries(s);return r.length===0?e.jsx("div",{}):e.jsx("div",{className:"flex flex-wrap gap-1","data-testid":`chat-reactions-${t}`,children:r.map(([i,o])=>{if(!o)return null;const d=u=>{if(u.preventDefault(),u.stopPropagation(),o.hasReacted){a({messageId:t,reactionId:o.id});return}l({messageId:t,reactionCode:i}),X("Chat Emoji Added",{messageId:t,reactionCode:i})};return e.jsxs("button",{type:"button","data-testid":`chat-reaction-${i}`,"data-reacted":o.hasReacted?"true":"false",className:g("flex cursor-pointer items-center gap-1 rounded-full px-[6px] py-[2px] text-[12px] leading-[12px]",o.hasReacted?"bg-Accent-Main":"bg-primary-active"),onClick:d,children:[e.jsx(c2,{reactionCode:i}),o.count>1?e.jsx("span",{className:"text-white",children:o.count}):null]},i)})})},Fi=({messageId:t,createdAt:s})=>e.jsxs("div",{className:"flex justify-between gap-2",children:[e.jsx(NT,{messageId:t}),e.jsx(_T,{timestamp:s})]}),kT=_h("poll"),sc=t=>t.closedAt!==null&&t.closedAt!==void 0&&typeof t.closedAt=="number"&&t.closedAt>0,Tn=t=>sc(t)&&Date.now()>=t.closedAt,ST=t=>!!(t.answers&&t.answers.some(s=>s.userVoted===!0)),S6=t=>{if(t==null)return"";const s=String(t);return s.includes(",")||s.includes('"')||s.includes(` 3`)?`"${s.replace(/"/g,'""')}"`:s},AT=(t,s,a)=>{let l=s.map(d=>S6(d)).join(",")+` 4`;a.forEach(d=>{const u=d.map(c=>S6(c));l+=u.join(",")+` 5`});const r=new Blob([l],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r),o=document.createElement("a");o.href=i,o.setAttribute("download",t),document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(i)},d2=new Map,Jl=t=>{const s=d2.get(t);s&&(s.subscription.unsubscribe(),s.connection.removeSubscription(s.subscription),d2.delete(t))},In=new Map,LT=(t,s)=>{if(In.has(s))return console.warn("Poll effects already created for id:",s),In.get(s);const a=t.createEffect(async()=>(await vn().get(`/poll/${s}`)).data),l=t.createEffect(async u=>(await vn().post(`/poll/${s}/votes`,{pollAnswerIds:u.pollAnswerIds})).data),r=t.createEffect(async()=>(await vn().post(`/poll/${s}/close`,{})).data),i=t.createEffect(async()=>(await vn().get(`/poll/${s}
5/votes`)).data),o=t.createEffect(async({socketUrl:u,connectionToken:c,subscriptionToken:x,closedAt:p})=>{try{const b=(await vn().get(`/poll/${s}`)).data;if(Tn(b))return Jl(s),null}catch(h){if(console.error(`Failed to check poll status for poll ${s}:`,h),sc({closedAt:p})&&Date.now()>=p)return Jl(s),null}Jl(s);const f=await n8({socketUrl:u,channelName:`poll:${s}`,contextId:`Poll WebSocket for poll ${s}`,handlers:{onPublication:h=>{const b=h.data;(b.type==="voteCast"||b.type==="pollClose")&&a()}}});return f?(d2.set(s,f),s):null}),d=t.createEffect(async()=>{Jl(s)});return In.set(s,{getPollFx:a,castVoteFx:l,closePollFx:r,getPollVotesDetailedFx:i,connectPollWebSocketFx:o,disconnectPollWebSocketFx:d}),In.get(s)},e1=new Map,MT=(t,s)=>{if(e1.has(s))return console.warn("Poll events already created for id:",s),e1.get(s);const a=t.createEvent(`loadPoll_${s}`),l=t.createEvent(`castVote_${s}`),r=t.createEvent(`castVoteSuccess_${s}`),i=t.createEvent(`castVoteError_${s}`),o=t.createEvent(`selectPollAnswer_${s}`),d=t.createEvent(`deselectPollAnswer_${s}`),u=t.createEvent(`clearPollSelection_${s}`),c=t.createEvent(`closePoll_${s}`),x=t.createEvent(`downloadPollCSV_${s}`),p=t.createEvent(`connectPollWebSocket_${s}`);return e1.set(s,{load:a,castVote:l,castVoteSuccess:r,castVoteError:i,selectPollAnswer:o,deselectPollAnswer:d,clearPollSelection:u,closePoll:c,downloadPollCSV:x,connectPollWebSocket:p}),e1.get(s)},pm=t=>{if(!e1.has(t))throw new Error(`Poll events not initialized for id: ${t}`);return e1.get(t)},Hn=new Map,Vo=new Map,A1=new Map,vl=t=>{if(!Hn.has(t))throw new Error(`Poll store not initialized for id: ${t}`);return Hn.get(t)},hm=t=>vl(t).selections,gm=t=>vl(t).votingState,BT=t=>vl(t).data,ET=t=>vl(t).$$isClosed,RT=t=>vl(t).$$hasUserVoted,TT=(t,s)=>{if(Hn.has(t))return console.warn("Poll store already initialized for id:",t),Vo.get(t)??(()=>Promise.resolve());const a=kT.createDomain(`pollDomain_${t}`),l=MT(a,t),r=LT(a,t),i=a.createStore(null),o=a.createStore([]),d=a.createStore(!1),u=a.createStore(null),c=i.map(b=>b?Tn(b):!1),x=i.map(b=>b?ST(b):!1);i.on(r.getPollFx.doneData,(b,v)=>v),o.on(l.selectPollAnswer,(b,v)=>b.includes(v)?b:[...b,v]),o.on(l.deselectPollAnswer,(b,v)=>b.filter(j=>j!==v)),o.on(l.clearPollSelection,()=>[]),d.on(l.castVote,()=>!0),d.on(r.castVoteFx.doneData,()=>!1),d.on(r.castVoteFx.fail,()=>!1),u.on(r.castVoteFx.fail,(b,{error:v})=>v.message||"Failed to vote"),u.on(r.castVoteFx.doneData,()=>null),u.on(l.castVote,()=>null),Wt({clock:l.load,target:r.getPollFx}),Wt({clock:l.castVote,target:r.castVoteFx}),Wt({clock:r.castVoteFx.done,target:l.castVoteSuccess}),Wt({clock:r.castVoteFx.fail,fn:({error:b})=>({error:b.message||"Failed to vote"}),target:l.castVoteError}),Wt({clock:l.castVoteSuccess,target:l.clearPollSelection}),Wt({clock:r.castVoteFx.doneData,target:r.getPollFx}),Wt({clock:l.closePoll,target:r.closePollFx}),Wt({clock:r.closePollFx.doneData,target:r.getPollFx}),Wt({clock:l.connectPollWebSocket,target:r.connectPollWebSocketFx}),Wt({clock:l.downloadPollCSV,target:r.getPollVotesDetailedFx}),Wt({clock:r.getPollVotesDetailedFx.doneData,source:i,fn:(b,v)=>{const j=["Nickname","UserID","Has BattlePass"],y=[],N=new Map;b!=null&&b.answers&&b.answers.forEach(S=>{N.set(S.id,{body:S.body,isCorrect:S.isCorrect||!1})}),v.answers.forEach(S=>{const M=N.get(S.pollAnswerId),_=(M==null?void 0:M.body)||"",E=(M==null?void 0:M.isCorrect)||!1?`Correct Answer: ${_}`:`Wrong Answer: ${_}`;y.push([E,"",""]),S.votes.forEach(L=>{y.push([L.username||"Anonymous",L.userId,L.hasBattlePass?"Yes":"No"])}),v.answers.indexOf(S)<v.answers.length-1&&y.push(["","",""])});const w=`${((b==null?void 0:b.title)||"poll").replace(/[^a-z0-9]/gi,"_").toLowerCase()}_results.csv`;return AT(w,j,y),null}}),Wt({clock:r.getPollFx.doneData,filter:b=>Tn(b),target:r.disconnectPollWebSocketFx}),l.load();let p;s&&(p=r.getPollFx.doneData.watch(b=>{!Tn(b)&&b.subscriptionToken&&b.connectionToken&&l.connectPollWebSocket({socketUrl:s,connectionToken:b.connectionToken,subscriptionToken:b.subscriptionToken,closedAt:b.closedAt})}));const f=r.getPollFx.doneData.watch(b=>{const v=A1.get(t);if(v&&(clearTimeout(v),A1.delete(t)),sc(b)&&!Tn(b)){const j=b.closedAt,y=Date.now(),N=j-y+1e4;if(N>0){const k=setTimeout(()=>{r.getPollFx(),A1.delete(t)},N);A1.set(t,k)}else r.getPollFx()}});Hn.set(t,{data:i,selections:o,votingState:d,voteError:u,$$loading:r.getPollFx.pending,$$isClosed:c,$$hasUserVoted:x});const h=async()=>{f(),p==null||p();const b=A1.get(t);b&&(clearTimeout(b),A1.delete(t)),await r.disconnectPollWebSocketFx(),Hn.delete(t),Vo.delete(t),In.delete(t),e1.delete(t)};return Vo.set(t,h),h},IT=["/avatars/chat-1.webp","/avatars/chat-2.webp","/avatars/chat-3.webp"],FT=({title:t})=>e.jsxs("div",{className:"inline-flex items-center justify-between self-stretch",children:[e.jsx("div",{className:"flex flex-1 items-center justify-start gap-1",children:e.jsx("div",{className:"line-clamp-4 flex-1 justify-start text-sm font-medium leading-4 text-white",children:t})}),e.jsx("div",{className:"relative flex size-4 items-center justify-center overflow-hidden",children:e.jsx(Cl,{className:"size-4 text-brandblue-100"})})]}),OT=({isQuizMode:t,totalVotes:s=0})=>e.jsxs("div",{className:"inline-flex items-start justify-start gap-1 self-stretch",children:[e.jsx("div",{className:"line-clamp-1 justify-center text-sm font-medium leading-5 text-brandblue-100",children:t?n("global_poll_quiz"):n("global_poll_poll")}
5),e.jsx("div",{className:"flex items-center justify-start",children:IT.map((a,l)=>e.jsx("img",{className:g("size-5 rounded-full outline outline-2 outline-gray-800",l>0&&"-ml-2"),src:a,alt:"Avatar"},a))}),e.jsxs("div",{className:"line-clamp-1 justify-center text-sm font-medium leading-5 text-brandblue-100",children:[s," ",n("global_poll_voted")]})]}),DT=({pollId:t,answer:s,hasMultipleAnswers:a,isQuizMode:l})=>{const r=C(hm(t)),i=C(gm(t)),o=pm(t),d=r.includes(s.id),u=c=>{if(c.stopPropagation(),!i){if(d){o.deselectPollAnswer(s.id);return}a||r.forEach(x=>o.deselectPollAnswer(x)),o.selectPollAnswer(s.id)}};return e.jsxs("button",{type:"button",onClick:u,disabled:i,"data-testid":`poll-option-${s.id}`,className:g("inline-flex cursor-pointer justify-start gap-2 self-stretch",i&&"cursor-not-allowed opacity-50"),children:[e.jsx("div",{className:"flex w-9 justify-start gap-2 self-stretch",children:e.jsx("div",{className:g("relative flex size-5 items-center justify-center border border-primary-active",a?"rounded":"rounded-3xl",d?"bg-Accent-Main":"bg-secondary"),children:d?e.jsx("div",{className:g("size-2.5 bg-white",a?"rounded":"rounded-full")}):null})}),e.jsxs("div",{className:"flex h-7 flex-1 items-start gap-2 border-b border-primary-active pb-2.5",children:[e.jsx("div",{className:"line-clamp-1 flex-1 text-left text-sm font-medium leading-5 text-white",children:s.body}),l&&s.isCorrect?e.jsx("div",{className:"text-sm text-green-500",children:"â"}):null]})]})},$T=({answer:t,isQuizMode:s,isClosed:a})=>{const l=t.percentage??0,r=s&&t.isCorrect,i=s&&!t.isCorrect&&a;return e.jsxs("div",{className:"inline-flex items-start justify-start gap-3 self-stretch",children:[e.jsxs("div",{className:"inline-flex w-9 flex-col items-end justify-start gap-1 self-stretch",children:[e.jsxs("div",{className:"line-clamp-1 justify-center text-sm font-medium leading-5 text-white",children:[l,"%"]}),t.userVoted?e.jsx("div",{className:"flex size-2.5 items-center justify-center rounded-full bg-Accent-Main",children:e.jsx(WR,{className:"size-2.5"})}):null]}),e.jsxs("div",{className:"flex h-8 flex-1 flex-col items-start justify-center gap-1",children:[e.jsx("div",{className:"line-clamp-1 flex-1 justify-center text-sm font-medium leading-5 text-white",children:t.body}),e.jsx("div",{className:g("h-1 rounded-full",i?"bg-error":"bg-Accent-Main"),"data-correct":r?"true":"false",style:{width:`${l}%`}})]})]})},PT=({pollId:t})=>{const s=C(hm(t)),a=C(gm(t)),l=pm(t),r=s.length===0||a;return e.jsx("button",{type:"button","data-testid":"poll-vote",disabled:r,onClick:i=>{i.stopPropagation(),r||l.castVote({pollAnswerIds:s})},className:g("inline-flex h-5 items-center justify-center rounded-full bg-Accent-BgAlpha/10 px-2",r?"cursor-not-allowed opacity-50":"cursor-pointer"),children:e.jsx("div",{className:"justify-center text-sm font-medium leading-5 text-Accent-Main",children:a?n("global_poll_voting"):n("global_poll_vote")})})},HT=({pollId:t,message:s})=>{const a=C(BT(t)),l=C(ET(t)),r=C(RT(t));if(!a)return e.jsx("div",{className:"flex min-h-80 w-full flex-col items-center justify-center gap-2",children:e.jsx("div",{className:"inline-flex min-w-44 flex-col items-center justify-center gap-2 self-stretch rounded-t-lg rounded-br-lg bg-secondary p-1.5",children:e.jsx("div",{className:"text-sm text-brandblue-100",children:n("global_chat_loading_poll")})})});const{title:i,config:o,answers:d}=a,u=l||r;return e.jsxs("div",{className:"flex w-full flex-col gap-2","data-testid":`poll-${t}`,children:[s.replyToMessage?e.jsx(jl,{message:s.replyToMessage}):null,e.jsxs("div",{className:"inline-flex min-w-44 flex-col items-center justify-center gap-2 self-stretch rounded-t-lg rounded-br-lg bg-secondary p-1.5",children:[e.jsx(FT,{title:i}),e.jsx(OT,{isQuizMode:o.isQuizMode,totalVotes:a.totalVotes}),e.jsx("div",{className:"flex flex-col gap-2 self-stretch",children:d.map(c=>u?e.jsx($T,{answer:c,isQuizMode:o.isQuizMode,isClosed:l},c.id):e.jsx(DT,{pollId:t,answer:c,hasMultipleAnswers:o.hasMultipleAnswers,isQuizMode:o.isQuizMode},c.id))}),u?null:e.jsx(PT,{pollId:t})]})]})},UT=({message:t})=>{var r;const s=C(ej),a=m.useRef(!1),l=(r=t.data)==null?void 0:r.pollId;return l&&!a.current&&(a.current=!0,TT(l,s)),l?e.jsx(HT,{pollId:l,message:t}):null},VT={[jd.MODERATOR]:"global_chat_badge_moderator",[jd.TRIBE_HOST]:"global_chat_badge_tribe_host"},zT=({badge:t})=>{const s=t?VT[t]:void 0;return s?e.jsx("span",{"data-testid":"chat-author-badge","data-badge":t,className:"box-border flex h-4 shrink-0 items-center rounded border-1 border-[#fff2] bg-primary-active px-1 text-xs font-semibold text-brandblue-100",children:n(s)}):null},GT=({message:t})=>e.jsxs("div",{className:"flex flex-col gap-1 rounded",children:[e.jsxs("div",{className:"relative flex items-center justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-1",children:[e.jsx("div",{className:"text-[14px] font-medium leading-[18px] text-white",children:t.isOwn?n("global_you"):t.author.name}),e.jsx(zT,{badge:t.author.badge})]}),e.jsx(Cl,{className:"size-4 text-brandblue-100"})]}),t.replyToMessage?e.jsx(jl,{message:t.replyToMessage}):null,e.jsx("div",{className:"min-w-[80px] text-[14px] leading-[18px] text-brandblue-100",children:t.content})]}),ZT=({message:t})=>{var a;const s=(a=t.data)==null?void 0:a.gifUrl;return e.jsxs("div",{className:"flex min-w-48 flex-col gap-1 rounded",children:[t.replyToMessage?e.jsx(jl,{message:t.replyToMessage}):null,s?e.jsx(ce,{className:"w-48 rounded",src:s,alt:"GIF"}):null]})},WT=({message:t})=>{var a;const s=(a=t.data)==null?void 0:a.animationData;return e.jsxs("div",{className:"flex flex-col gap-1 rounded",children:[t.replyToMessage?e.jsx(jl,{message:t.replyToMessage}):null,e.jsx(cm,{animationData:s,className:g("w-32 pb-2",t.isOwn&&"-scale-x-100")})]})},KT=60,qT=({onReply:t,swipeTrigger:s=-50,swipeMinWidth:a=40,swipeMaxWidth:l
5=120,maxOffset:r=-150})=>{const[i,o]=m.useState(!1),[d,u]=m.useState(0),[c,x]=m.useState(a),p=m.useRef(null),f=m.useRef(!1);return{isSwipeActive:i,offsetX:d,replyWidth:c,handleTouchStart:j=>{p.current=j.touches[0].clientX,f.current=!1},handleTouchMove:j=>{if(p.current===null)return;const y=j.touches[0].clientX-p.current;y>=0||(o(!0),u(Math.max(y,r)),x(Math.min(Math.max(-s-y-KT,a),l)),y<s&&!f.current&&(f.current=!0,t()))},handleTouchEnd:()=>{o(!1),u(0),x(a),p.current=null,f.current=!1}}},YT={[Et.TEXT]:GT,[Et.GIF]:ZT,[Et.STICKER]:WT,[Et.POLL]:UT},XT=t=>YT[t]??null,JT=({message:t,Component:s})=>e.jsxs("div",{className:"flex flex-col gap-1 p-[6px]",children:[e.jsx(s,{message:t}),e.jsx(Fi,{messageId:t.messageId,createdAt:t.createdAt})]}),QT=({replyWidth:t,isSwipeActive:s})=>e.jsxs("div",{style:{width:`${t}px`},className:g("absolute right-[24px] top-1/2 z-main flex h-10 w-fit -translate-y-1/2 place-content-end place-items-center overflow-hidden rounded-[20px] bg-[#637AF4]/10 pr-4 text-brandblue-300 opacity-0",s&&"opacity-100"),children:[n("global_chat_reply"),e.jsx("div",{className:"absolute left-0 top-0 flex size-10 place-content-center place-items-center rounded-full bg-[#1F2644]",children:e.jsx(ec,{className:"size-4"})})]}),eI=({message:t})=>{const[s,a,l]=C([q8,um,Ti]),r=a===t.messageId,i=t.contentType===Et.GIF||t.contentType===Et.STICKER,{isSwipeActive:o,offsetX:d,replyWidth:u,handleTouchStart:c,handleTouchMove:x,handleTouchEnd:p}=qT({onReply:()=>{s(t.messageId),X("Chat Message Replied",{messageId:t.messageId})}}),f=XT(t.contentType);return f?e.jsx("div",{className:"p-2",onTouchStart:c,onTouchMove:x,onTouchEnd:p,children:e.jsxs("div",{className:g("relative",t.isOwn?"w-full":"w-fit",r&&"z-drawer-buttons",t.isPending&&"opacity-60"),"data-pending":t.isPending?"true":"false",children:[e.jsxs("div",{style:{wordBreak:"break-word",transform:`translateX(${d}px)`},className:g("relative z-battlepass-card flex gap-2",t.isOwn?"flex-row-reverse pl-5":"flex-row pr-5"),children:[e.jsx(xT,{src:t.author.avatarSrc,level:t.author.level,authorId:t.author.id}),e.jsx("div",{className:g("relative rounded-[8px]",t.isOwn?"rounded-br-none":"rounded-bl-none",!i&&"bg-secondary",r&&!i&&"bg-chat-message-highlight",t.contentType===Et.POLL?"w-full":"min-w-[182px]"),children:e.jsx("div",{className:"cursor-pointer",onClick:()=>l(t.messageId),children:e.jsx(JT,{message:t,Component:f})})})]}),e.jsx(QT,{replyWidth:u,isSwipeActive:o})]})}):null},tI=({message:t})=>{var c;const s=Y(),a=Us(),l=C(ct),{data:r}=t,i=r!=null&&r.gameCode?tj((c=$s(l,r.gameCode))==null?void 0:c.urlThumb,r.gameThumbnailUrl):"";if(!(r!=null&&r.gameCode)||!i||!r.userName||!r.multiplier||!r.gameName)return null;let o="bg-tribe-live",d="border-stream-sub-highlight-color";r.multiplier>=500&&r.multiplier<1e3?(o="bg-[linear-gradient(270deg,#2D375F_0%,#22283C_100%)]",d="border-[#7086FF]"):r.multiplier>=1e3&&(o="bg-[#323A4C] bg-[linear-gradient(270deg,rgba(255,221,98,0.40)0%,rgba(252,215,83,0.04)100%)]",d="border-[#FFDD62]");const u=x=>{x.preventDefault(),x.stopPropagation();const p=la(l,r.gameCode);p&&(s(p),a&&oa())};return e.jsxs("div",{"data-testid":"chat-big-win",className:g("flex flex-col gap-1 rounded-sm border-1 p-[6px]",o,d),children:[e.jsxs("div",{className:"flex items-center justify-start gap-1",onClick:u,children:[e.jsx(ce,{className:"max-h-[40px] min-h-[40px] w-[50px] min-w-[50px] max-w-[50px] overflow-hidden rounded-md",src:i,alt:r.gameName}),e.jsxs("div",{className:"line-clamp-2 flex-1 text-sm text-brandblue-100",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("div",{className:"min-w-0 truncate text-white",children:r.userName}),e.jsx("div",{className:"flex min-w-fit text-brandblue-100",children:n("global_chat_big_win_message")})]}),e.jsx("div",{className:"text-white",children:r.gameName})]}),e.jsxs("div",{className:"flex flex-col items-end justify-end",children:[e.jsx("button",{type:"button",onClick:x=>ac(x,t.messageId),children:e.jsx(Cl,{className:"size-4 text-brandblue-100"})}),e.jsxs("div",{className:"text-base text-white",children:[r.multiplier,"x"]})]})]}),e.jsx(Fi,{messageId:t.messageId,createdAt:t.createdAt})]})},ac=(t,s)=>{t.preventDefault(),t.stopPropagation(),Ti(s)},sI=({message:t})=>{const s=Y(),a=Us(),{data:l}=t;return!(l!=null&&l.userName)||!l.tribesUuid?null:e.jsxs("div",{"data-testid":"chat-join-tribe",className:"flex flex-col gap-1 rounded-sm border-1 border-stream-sub-highlight-color bg-tribe-live p-[6px]",children:[e.jsxs("div",{className:"flex items-center justify-start gap-1",children:[e.jsx(XR,{}),e.jsxs("div",{className:"line-clamp-2 flex-1 text-sm text-brandblue-100",children:[e.jsx("div",{className:"flex items-center pb-0",children:e.jsx("div",{className:"min-w-0 truncate text-white",children:l.userName})}),e.jsx("div",{className:"text-white",children:n("global_chat_join_tribes_message")})]}),e.jsxs("div",{className:"flex flex-col items-end justify-end",children:[e.jsx("button",{type:"button",onClick:r=>ac(r,t.messageId),children:e.jsx(Cl,{className:"size-4 text-brandblue-100"})}),e.jsxs("button",{type:"button",onClick:r=>{r.preventDefault(),r.stopPropagation(),s(`${Ae}/${l.tribesUuid}`),a&&oa()},className:"group flex items-center justify-center gap-1 rounded-full bg-chat-join-tribe px-3 py-0.5 text-sm text-tribes hover:bg-Accent-Main hover:text-white",children:[n("global_chat_join_tribes_button")," ",e.jsx(JR,{})]})]})]}),e.jsx(Fi,{messageId:t.messageId,createdAt:t.createdAt})]})},aI=({message:t})=>e.jsxs("div",{"data-testid":"chat-splash",className:"flex flex-col gap-1 rounded-sm border-1 border-[#FFDD62] bg-stream-sub-highlight-color bg-[linear-gradient(270deg,rgba(255,221,98,0.40)0%,rgba(252,215,83,0.04)100%)] p-[6px]",children:[e.jsxs("div",{className:"flex items-center justify-start gap-2",children:[e.jsx("span",{className:"text-lg",children:"ð¦"}),e.jsx("div",{className:"flex-1 text-sm text-white",children:t.content||"Splash"}),e.jsx("button",{type:"button",onClick:s=>ac(s,t.messageId),children:e.jsx(Cl,{className:"size-4 text-brandblue-100"})})]}),e.jsx(Fi,{messageId:t.messageId,createdAt:t.createdAt})]}),nI=({message:t})=>{const s=C(Ti),a=(()=>{switch(t.contentType){case Et.BIG_WIN_ALERT:return e.jsx(tI,{message:t});case Et.JOIN_TRIBES_ALERT:return e.jsx(sI,{message:t});case Et.SPLASH:return e.jsx(aI,{message:t});default:return null}})();return a?e.jsx("div",{className:"m-2 cursor-pointer",onClick:()=>s(t.messageId),children:a}):null},lI=({message:t})=>{const s=C(um),a=m.useRef(null),l=s===t.messageId,r=m.useCallback(()=>Ii(),[]);Ri(a,r,l);const i=t.type==="default"?e.jsx(eI,{message:t}
5):t.type==="system"&&sj.includes(t.contentType)?e.jsx(nI,{message:t}):null;return i?e.jsxs("div",{className:g("relative",l&&"z-drawer-buttons"),"data-message-id":t.messageId,children:[i,l?e.jsx("div",{ref:a,children:e.jsx(yT,{message:t})}):null]}):null},rI=t=>{const s=r=>new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime(),a=s(new Date),l=s(t);return l===a?n("global_chat_date_today_key"):l===a-864e5?n("global_chat_date_yesterday_key"):t.toLocaleDateString("en-US",{month:"short",day:"numeric"})},iI=({date:t})=>e.jsxs("div",{className:"flex w-auto items-center justify-center gap-2",children:[e.jsx("div",{className:"h-px flex-1"}),e.jsx("span",{className:"rounded-full bg-primary-active px-2 py-0.5 text-xs font-medium leading-[16px] text-brandblue-100",children:rI(t)}),e.jsx("div",{className:"h-px flex-1"})]}),oI=()=>{const[t,s,a,l,r,i]=C([aj,nj,lj,rj,ij,oj]),o=C(cj),d=hT(),{container:u,topAnchor:c,bottomAnchor:x}=gT({hasMore:a,isLoadingMore:l,onLoadMore:o,onScrollToBottom:p=>d(u,p),messages:t});return m.useEffect(()=>(o2(u),()=>{o2(null)}),[u]),e.jsxs("div",{ref:u,"data-testid":"chat-messages",className:"no-scrollbar isolate flex flex-1 flex-col gap-3 overflow-y-auto",children:[e.jsx("div",{ref:c}),a?e.jsx("button",{type:"button","data-testid":"chat-load-more",disabled:l,onClick:()=>o(),className:"mx-auto my-1 rounded-full bg-primary-active px-3 py-1 text-xs font-medium text-brandblue-100 disabled:opacity-50",children:l?n("global_chat_loading"):n("global_chat_load_more")}):null,r&&t.length===0?e.jsx("div",{"data-testid":"chat-loading",className:"py-6 text-center text-sm text-brandblue-100",children:n("global_chat_loading")}):null,!r&&i&&t.length===0?e.jsx("div",{"data-testid":"chat-error",className:"py-6 text-center text-sm text-brandblue-100",children:n("global_error_generic")}):null,!r&&!i&&t.length===0?e.jsx("div",{"data-testid":"chat-empty",className:"py-6 text-center text-sm text-brandblue-100",children:n("global_chat_empty")}):null,s.map(p=>e.jsxs(m.Fragment,{children:[e.jsx(iI,{date:p.date}),p.messages.map(f=>e.jsx(lI,{message:f},f.messageId))]},p.date.getTime())),e.jsx("div",{ref:x})]})},cI=({isSessionResolved:t,isAuthenticated:s,isProfileLoaded:a,selfExclusionUntil:l})=>o3({isSessionResolved:t,isAuthenticated:s,isProfileLoaded:a,isRestricted:dj(l)}),fs=220,u2=20,bm=(fs-u2)/2,Ql=2*Math.PI*bm,dI=11,uI=({segments:t,className:s,children:a})=>{let l=0;return e.jsxs("div",{className:g("relative",s),style:{width:fs,height:fs}
5,children:[e.jsx("svg",{width:fs,height:fs,viewBox:`0 0 ${fs} ${fs}`,"aria-hidden":"true",children:t.map(r=>{const i=Math.max(r.share*Ql-dI-u2,1),o=l/Ql*360-90;return l+=r.share*Ql,e.jsx("circle",{cx:fs/2,cy:fs/2,r:bm,fill:"none",stroke:r.color,strokeWidth:u2,strokeDasharray:`${i} ${Ql-i}`,strokeLinecap:"round",transform:`rotate(${o} ${fs/2} ${fs/2})`},r.key)})}),e.jsx("span",{className:"absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/3 text-badge-influencer-text",children:e.jsx("svg",{width:"28",height:"24",viewBox:"0 0 28 24",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M14 23 2 3.5A2 2 0 0 1 3.7 1h20.6A2 2 0 0 1 26 3.5z",fill:"currentColor"})})}),e.jsx("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-center",children:a})]})},mI="#FBB63F",A6="#3A4054",xI=1e4,fI=t=>{const s=t.filter(r=>r.share>0).map(r=>({key:String(r.userId),share:r.share,color:r.isCurrentUser?mI:A6,isCurrentUser:r.isCurrentUser})),l=1-s.reduce((r,i)=>r+i.share,0);return l>.001&&s.push({key:"rest",share:l,color:A6,isCurrentUser:!1}),s},pI=(t,s)=>!Number.isFinite(t)||!Number.isFinite(s)||s<=0?0:Math.min(Math.max(t/s,0),1),L6=(t,s)=>`${Math.floor(pI(t,s)*100)}%`,hI=t=>`${Math.max(Math.round(t*100),0)}x`,M6=t=>`${(t*100).toFixed(1)}%`,gI=t=>`$${t.toFixed(2)}`,bI=(t,s)=>!!t&&t.dripId!==s,CI=t=>(t==null?void 0:t.standings.filter(s=>s.tickets>0).length)??0,Cm=()=>e.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none","aria-hidden":"true",className:"shrink-0",children:[e.jsx("path",{d:"M30.323 7.52707C30.47 7.51123 30.5587 7.52299 30.6834 7.60294C30.9079 7.747 31.1422 7.98826 31.3305 8.18038C32.3935 9.27164 33.1407 10.6323 33.4921 12.1167C34.2725 15.3734 33.1911 18.9247 31.4654 21.6892C28.1762 26.958 22.6094 30.6827 16.6324 32.1113C16.3123 32.185 15.7742 32.3321 15.4529 32.2707C15.2173 32.2256 15.1649 31.9505 15.1788 31.7359C15.2152 31.1749 15.2665 30.609 15.3047 30.0454C15.3547 29.197 15.4126 28.3493 15.4784 27.5021C15.5042 27.1449 15.5001 26.6805 15.5915 26.3432C15.6174 26.2475 15.8278 26.0385 15.9184 26.0051C16.2175 25.8953 16.5771 25.8241 16.885 25.7325C17.3972 25.578 17.9016 25.399 18.3966 25.1958C21.8971 23.7798 25.234 20.9287 26.7136 17.4177C27.6865 15.1088 27.7348 12.3847 25.9713 10.4753C25.8589 10.3537 25.676 10.1872 25.6155 10.0372C25.6195 9.87609 25.7377 9.74892 25.8755 9.6778C26.3605 9.42748 26.8543 9.19288 27.3434 8.95044L29.1952 8.03642C29.4329 7.91974 30.1181 7.56186 30.323 7.52707Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M6.1 18.267C6.20418 18.2527 6.25717 18.2297 6.33492 18.3053C6.26136 18.8089 6.1268 19.2727 6.07513 19.7947C5.91094 21.4535 6.36937 23.1147 7.53543 24.3319C9.00063 25.8695 11.2186 26.4219 13.2818 26.3786C13.5094 26.3738 13.9307 26.3152 14.0913 26.5042C14.1443 26.5664 14.1486 26.7764 14.1433 26.8631C14.1153 27.3189 14.0544 27.8091 14.0165 28.2629L13.6846 32.0294C13.6703 32.2029 13.6697 32.4666 13.5192 32.5818C13.1761 32.8442 10.4101 32.5916 9.91601 32.5106C8.20502 32.2551 6.50729 31.6572 5.0785 30.6691C3.18024 29.3698 1.88773 27.3573 1.49498 25.0893C1.20023 23.4401 1.37557 21.6842 1.83685 20.0825C1.92848 19.7643 2.09481 18.9965 2.45359 18.8982C2.83846 18.7928 3.30693 18.7318 3.70491 18.6672L6.1 18.267Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M15.8152 6.48926C15.8752 6.4928 15.8953 6.49701 15.9527 6.5084C15.985 6.53874 16.0047 6.54834 16.0018 6.60164C15.9606 7.37112 15.8605 8.14451 15.8105 8.91525C15.7943 9.16446 15.678 9.27873 15.4659 9.38024C15.2184 9.49868 14.9561 9.59405 14.7031 9.70616C14.2041 9.92868 13.715 10.1733 13.2375 10.4392C12.2648 10.9983 11.3462 11.6476 10.4936 12.3787C9.32833 13.3812 8.32657 14.5612 7.52473 15.8759C7.39793 16.0796 7.28161 16.2899 7.1762 16.5057C7.06135 16.7416 6.96313 16.9876 6.81535 17.204C6.66828 17.4195 6.44123 17.4509 6.2039 17.4983C5.90463 17.5584 5.59887 17.5973 5.29881 17.6542C4.52705 17.7795 3.7527 17.9418 2.97774 18.0451C2.94963 18.0451 2.90865 18.0489 2.88218 18.0404C2.83777 18.0262 2.81215 17.9993 2.79898 17.9544C2.69643 17.6044 4.36016 15.1273 4.63081 14.7534C6.95773 11.5392 10.225 9.02683 13.7733 7.32075C14.2285 7.10188 15.3568 6.56172 15.8152 6.48926Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M23.6128 3.60088C23.8784 3.58556 24.8038 3.7987 25.0989 3.86047L27.3601 4.32923C28.212 4.50144 29.0628 4.67857 29.9127 4.86062C30.3694 4.95577 30.8334 5.04288 31.2872 5.15283C31.4343 5.1852 31.5665 5.26827 31.6407 5.40106C31.7904 5.66907 31.5448 5.99072 31.3238 6.13671C31.0812 6.29685 30.8005 6.41892 30.5371 6.54461L29.7505 6.92964L26.4775 8.5106L23.3167 10.0437C22.8 10.2935 22.2769 10.5788 21.7387 10.7726C21.3542 10.9112 20.6294 10.7736 20.7659 10.2408C20.8411 9.94707 20.9287 9.65352 21.0125 9.36135L21.4639 7.78909L22.0443 5.76442C22.1835 5.27631 22.3197 4.74446 22.4895 4.26816C22.6326 3.86666 23.2169 3.65809 23.6128 3.60088Z",fill:"#FBB63F"}),e.jsx("path",{d:"M20.9258 5.26804C21.0523 5.25763 21.3052 5.20884 21.3681 5.34186C21.3669 5.55601 20.6072 8.0728 20.5003 8.24013C20.4195 8.36697 20.2855 8.43359 20.1428 8.46896C19.8098 8.55143 19.1417 8.5539 18.7616 8.59514C18.1606 8.66036 17.5604 8.80261 16.9733 8.94356C16.8493 8.97309 16.7358 8.98715 16.6427 8.88853C16.5751 8.71801 16.6899 7.70684 16.7066 7.4353C16.7273 7.09808 16.7493 6.61491 16.7857 6.27761C17.0365 5.97369 17.4861 5.90623 17.8581 5.81535C18.8432 5.57465 19.9153 5.34543 20.9258 5.26804Z",fill:"#ADAFCE"})]}),jI=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[e.jsx("circle",{cx:"8",cy:"8",r:"7",stroke:"currentColor",strokeWidth:"1.3"}),e.jsx("path",{d:"M8 7v4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("circle",{cx:"8",cy:"4.6",r:"0.95",fill:"currentColor"})]}),vI=({isExpanded:t})=>e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",className:g("transition-transform",t?"rotate-180":""),children:e.jsx("path",{d:"M3 5.25 7 9.25l4-4",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"})}),wI=()=>e.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:[e.jsx("circle",{cx:"7",cy:"4.4",r:"2.4",stroke:"currentColor",strokeWidth:"1.3"}),e.jsx("path",{d:"M2.2 12c0-2.3 2.1-3.8 4.8-3.8s4.8 1.5 4.8 3.8",stroke:"currentColor",strokeWidth:"1.3"})]}),yI=()=>e.jsxs("svg",{width:"16",height:"12",viewBox:"0 0 16 12",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M1 3C1 1.9 1.9 1 3 1h10c1.1 0 2 .9 2 2v.5a2.5 2.5 0 0 0 0 5V9c0 1.1-.9 2-2 2H3c-1.1 0-2-.9-2-2v-.5a2.5 2.5 0 0 0 0-5z",fill:"#FBB63F"}),e.jsx("path",{d:"M10.4 1.6v8.8",stroke:"#1F232F",strokeWidth:"1.1",strokeDasharray:"1.7 1.5"})]}),_I=()=>e.jsxs("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none","aria-hidden":"true",className:"shrink-0",children:[e.jsx("circle",{cx:"5.5",cy:"5.5",r:"4.6",stroke:"currentColor",strokeWidth:"1.1"}),e.jsx("path",{d:"M5.5 3v2.7l1.8 1",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round"})]}),B6="bg-gradient-drop-roulette bg-clip-text font-bold text-transparent [filter:drop-shadow(0_2px_0_#433723)]",jm=({children:t})=>e.jsx("div",{"data-testid":"tribe-drip-card",className:"mx-3 mt-3 shrink-0 overflow-hidden rounded-xl bg-gunmetal shadow-lg",children:t}),NI=({lastDrop:t})=>e.jsx(jm,{children:e.jsxs("div",{"data-testid":"tribe-drip-won",className:"flex flex-col gap-3 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Cm,{}),e.jsx("span",{className:"text-sm font-bold text-badge-influencer-text",children:n("tribes.drip.congratulations")})]}),e.jsxs("p",{className:"text-[13px] leading-[1.45] text-[#ADAFCE]",children:[e.jsx("span",{className:"font-bold text-white",children:t.userDisplayName})," ",n("tribes.drip.won")," ",e.jsx("span",{className:"font-bold uppercase text-badge-influencer-text",children:t.prizeName}
5)," ",n("tribes.drip.fromTheDropRoulette")]})]})}),kI=({drip:t,rows:s,avatarUrls:a,isExpanded:l,onToggle:r,onOpenRules:i,celebrating:o})=>{if(o)return e.jsx(NI,{lastDrop:o});const d=fI(s),u=s.find(x=>x.isCurrentUser),c=CI(t);return e.jsxs(jm,{children:[e.jsxs("div",{className:"flex items-center gap-2 px-4 pt-4",children:[e.jsx(Cm,{}),e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("span",{className:"truncate text-sm font-semibold text-white",children:n("tribes.drip.title")}),e.jsx("button",{type:"button","data-testid":"tribe-drip-rules","aria-label":n("tribes.drip.rulesAria"),onClick:i,className:"shrink-0 text-[#ADAFCE] transition-colors hover:text-white",children:e.jsx(jI,{})})]}),e.jsx("button",{type:"button","data-testid":"tribe-drip-toggle","aria-expanded":l,"aria-label":l?n("tribes.drip.collapse"):n("tribes.drip.expand"),onClick:r,className:"flex size-9 shrink-0 items-center justify-center rounded-lg bg-stream-sub-highlight-color text-white transition-colors hover:bg-[#3C4560]",children:e.jsx(vI,{isExpanded:l})})]}),l?e.jsxs("div",{"data-testid":"tribe-drip-standings",className:"flex flex-col items-center px-4 pb-3 pt-5",children:[e.jsxs(uI,{segments:d,children:[e.jsx("span",{className:"text-[11px] font-medium uppercase tracking-[0.16em] text-[#ADAFCE]",children:n("tribes.drip.nextDrop")}),e.jsx("span",{"data-testid":"tribe-drip-progress",className:g("mt-1.5 text-[36px] leading-none",B6),children:L6(t.pot,t.boxValueAmount)})]}),s.length===0?e.jsx("p",{className:"w-full py-6 text-center text-[12px] text-[#ADAFCE]",children:n("tribes.drip.empty")}):e.jsx("ul",{className:"mt-5 flex w-full flex-col gap-1",children:s.map(x=>e.jsxs("li",{"data-testid":"tribe-drip-standing","data-own-row":x.isCurrentUser||void 0,className:g("relative flex items-center gap-1.5 rounded-lg py-1.5 pl-3 pr-1.5 text-[13px]",x.isCurrentUser&&"bg-[#2A3040]"),children:[x.isCurrentUser?e.jsx("span",{"aria-hidden":"true",className:"absolute inset-y-1.5 left-0 w-1 rounded-full bg-badge-influencer-text"}):null,e.jsx("img",{alt:"",src:fl(a[x.userId],x.userId),onError:p=>xl(p.currentTarget,x.userId),className:"size-6 shrink-0 rounded-full object-cover"}),e.jsx("span",{className:g("min-w-0 flex-1 truncate font-medium",x.isCurrentUser?"text-badge-influencer-text":"text-white"),children:x.isCurrentUser?n("tribes.drip.you"):x.username}),e.jsx(tc,{rank:x.level,size:"sm"}),e.jsxs("span",{className:"flex shrink-0 items-center gap-1 text-[11px] tabular-nums text-[#ADAFCE]",children:[hI(x.tickets),e.jsx(yI,{})]}),e.jsx("span",{className:"w-[46px] shrink-0 text-right text-[13px] font-semibold tabular-nums text-white",children:M6(x.share)})]},x.userId))}),t.lastDrop?e.jsxs("p",{"data-testid":"tribe-drip-last-drop",className:"mt-4 flex w-full items-center justify-center gap-1.5 text-[11px] text-[#6E7191]",children:[e.jsx(_I,{}),n("tribes.drip.lastDrop")," ",e.jsx("span",{className:"font-semibold text-[#ADAFCE]",children:t.lastDrop.userDisplayName})," ",n("tribes.drip.won")," ",gI(t.lastDrop.amountWonUsd)]}):null]}):e.jsxs("div",{className:"flex items-center gap-3 px-4 pb-4 pt-2",children:[e.jsx("span",{"data-testid":"tribe-drip-progress",className:g("text-[26px] leading-none",B6),children:L6(t.pot,t.boxValueAmount)}),u?e.jsxs("span",{"data-testid":"tribe-drip-own-share",className:"rounded-md bg-[#637AF4]/20 px-2 py-1 text-[12px] font-medium text-[#8FA2FF]",children:[n("tribes.drip.you")," ",M6(u.share)]}):null,e.jsxs("span",{className:"ml-auto flex items-center gap-1.5 text-[12px] font-medium text-[#ADAFCE]",children:[e.jsx(wI,{}),e.jsx("span",{"data-testid":"tribe-drip-participants",children:c})]})]})]})},SI=["general","eligibility","winner","conditions"],AI=()=>e.jsxs("div",{className:"flex flex-col gap-5 p-6","data-testid":"tribe-drip-rules",children:[e.jsx("h2",{className:"text-xl font-semibold text-white",children:n("tribes.drip.rules.title")}),e.jsx("div",{className:"flex flex-col gap-4",children:SI.map(t=>e.jsxs("section",{className:"flex flex-col gap-1.5",children:[e.jsx("h3",{className:"text-sm font-semibold text-white",children:n(`tribes.drip.rules.${t}.title`)}),e.jsx("p",{className:"text-sm leading-relaxed text-brandblue-100",children:n(`tribes.drip.rules.${t}.body`)})]},t))})]}),vm="tribeDripRules",LI=$e({component:AI,hideTitle:!0,omitHeader:!0,hideContentHorizontalPadding:!0,isDrawer:!0,wrapperClass:"md:min-w-[520px] bg-black-50"}),MI=()=>{var f;const[t,s,a,l,r]=C([Nh,kh,V2,W8,We]),[i,o]=m.useState(!1),[d,u]=m.useState(null),{openM
5odal:c}=W(),x=m.useRef(null);return m.useEffect(()=>{Sh((r==null?void 0:r.id)??null)},[r==null?void 0:r.id]),m.useEffect(()=>{const h=(t==null?void 0:t.lastDrop)??null;if(!bI(h,x.current))return;const b=x.current===null;if(x.current=h.dripId,b)return;u(h);const v=setTimeout(()=>u(null),xI);return()=>clearTimeout(v)},[t==null?void 0:t.lastDrop]),!!!((f=l==null?void 0:l.slug)!=null&&f.startsWith("tribe-"))||!t?null:e.jsx(kI,{drip:t,rows:s,avatarUrls:a,isExpanded:i,onToggle:()=>o(h=>!h),onOpenRules:()=>c(vm),celebrating:d})},BI=()=>e.jsx("div",{"data-testid":"chat-self-exclusion",className:"absolute inset-x-0 bottom-0 z-10 flex h-14 items-center justify-center bg-[#13161E]/95 px-3 text-center text-[12px] font-medium text-[#9092B2]",children:n("modals.responsible_gaming.chat_unavailable")}),EI=()=>{const[t,s]=C([fj,pj]);return t?null:e.jsx("div",{"data-testid":"chat-connection-state","data-connected":"false",className:"shrink-0 bg-primary-active px-3 py-1 text-center text-xs font-medium text-brandblue-100",children:s?n("global_chat_connecting"):n("global_chat_disconnected")})},RI=()=>{const t=C(We),[s,a,l,r]=C([te,Ps,Je,c3]),[i,o]=m.useState(!1),d=m.useCallback(()=>o(!0),[]),u=m.useCallback(()=>o(!1),[]),c=cI({isSessionResolved:l,isAuthenticated:s,isProfileLoaded:a,selfExclusionUntil:t==null?void 0:t.selfExclusionUntil});return m.useEffect(()=>{if(r)return uj(),r3(),()=>{mj()}},[r]),m.useEffect(()=>{const x=xj.watch(()=>be({level:"error",title:n("global_chat_send_failed")}));return()=>x()},[]),e.jsxs("div",{"data-testid":"chat-panel",className:"relative flex size-full flex-col bg-sidebar-main",children:[e.jsx(EI,{}),e.jsx(sT,{}),e.jsxs("div",{className:"relative flex min-h-0 flex-1 flex-col",children:[e.jsx(oI,{}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-20",children:e.jsx("div",{className:"pointer-events-auto",children:e.jsx(MI,{})})})]}),e.jsxs("div",{className:"relative w-full shrink-0",children:[e.jsx(CT,{onRulesOpen:d}),d3(c)?null:e.jsx(BI,{})]}),i?e.jsx(tT,{onClose:u}):null]})},TI=()=>e.jsx($R,{}),II=()=>n("global_tournaments"),f1={[pt.Chat]:{Title:TI,Body:RI,iconSrc:"/chat.webp",iconAlt:"Chat",openEventName:"Chat Side Bar Opened",isEnabled:()=>ke(Se.GlobalChat)},[pt.Tournaments]:{Title:II,Body:DR,iconSrc:"/tournament.webp",iconAlt:"Tournament",openEventName:"Tournaments Side Bar Opened",isEnabled:()=>ke(Se.Tournaments)}},wm=[pt.Chat,pt.Tournaments],nc=()=>wm.some(t=>f1[t].isEnabled()),ym="showSidebarMiniVariant",FI=()=>{try{const t=window.localStorage.getItem(ym);return t===null?ue:t==="true"}catch{return ue}},_m=Ze("sidebarToggled"),Nm=Ze("sideMenuDrawerToggled"),el=Ze("sideMenuDrawerClosed"),p1=Ze("stickyBottomMenuVisibilityChanged"),km=At(!0,{name:"stickyBottomMenuShown"}).on(p1,(t,s)=>s),OI=Ze("footerVisibilityChanged"),DI=At(!0,{name:"footerShown"}).on(OI,(t,s)=>s),m2=Ze("modalShellToggled"),Sm=At(!1,{name:"modalOpen"}).on(m2,(t,s)=>s),Pr=Ze("gameModeChanged"),lc=At(!1,{name:"gameMode"}).on(Pr,(t,s)=>s),$I=Ze("streamModeEnabled"),Am=At(!1,{name:"streamMode"}).on($I,()=>!0),Lm=At(FI(),{name:"sidebarMini"}).on(_m,t=>!t),rc=At(!1,{name:"sideMenuDrawerOpen"}).on(Nm,t=>!t).reset(el),Mm=Ze("persistSidebarMini");Mm.watch(t=>{try{window.localStorage.setItem(ym,String(t))}catch{}});K1({clock:Lm.updates,target:Mm});rc.watch(t=>{typeof document>"u"||(document.body.style.overflow=t?"hidden":"auto")});const en=(t=ue)=>t?"":ps,st=(t=ue)=>en(t)||ot,Jt=(t,s=ue)=>`${en(s)}/${t}`,Bm=(t,s=ue)=>`${Jt(t,s)}/open`,wt=(t=ue)=>`${en(t)}/inventory`,Oi=(t=ue)=>`${en(t)}/claim`,Di=(t=ue)=>`${en(t)}/history`,ic=(t=ue)=>`${en(t)}/deliveries`,PI=[/^\/auth(?:\/|$)/,/^\/oauth(?:\/|$)/],Em=t=>t.split("/").filter(Boolean),HI=t=>{var s;return((s=Em(t)[0])==null?void 0:s.toLowerCase())??""},UI=new Set([Ma,Ve,Ba,c1,Fs,Os,n1,V1,Ea,Ae,X8,Nt,sa,d1,Ut,z1,xt,J8,u3,Q8,m3,x3,f3,p3,e7,...Object.values(Xa)].map(HI)),VI="open",zI=(t,s="")=>{const a=t.toLowerCase();if(a===ps||a.startsWith(`${ps}/`))return a===Y8?`${wt(!0)}${s}`:`${t.slice(ps.length)||ot}${s}`;if(PI.some(r=>r.test(a)))return null;const l=Em(a);return l.length===0?null:UI.has(l[0])?`${ot}${s}`:l.length===1||l.length===2&&l[1]===VI?null:`${ot}${s}`},Rm=t=>t.replace(/^\/[a-z]{2}(\/|$)/,"/"),It=t=>s=>s.startsWith(t),Tm={[ot]:t=>t===ot,[Ma]:It(Ma),[Ve]:t=>t.startsWith(Ve)&&!t.startsWith(t7),[c1]:It(c1),[Ba]:It(Ba),[Os]:t=>t.startsWith(Os)&&!t.startsWith(n1),[n1]:It(n1),[Fs]:It(Fs),[z1]:It(z1),[st()]:ue?()=>!0:It(ps),[V1]:It(V1),[d1]:It(d1),[sa]:It(sa),[Ea]:It(Ea),[Ae]:It(Ae),[Ut]:It(Ut)},GI=Object.keys(Tm),ZI=t=>{const s=Rm(t);return GI.reduce((a,l)=>(a[l]=Tm[l](s),a),{})},r1=(t,s,a=!1)=>!a&&!!(s&&t[s]),I1={Casino:"casino"},WI={[I1.Casino]:[Ve,Ba,c1]},KI=(t,s)=>WI[s].some(a=>t[a]),qI=t=>{const s=Rm(t);if(s!==Ae&&!s.startsWith(`${Ae}/`))return null;
5const a=s.split("/").filter(Boolean);return a.includes("stream")?"streamer":a.length===2?"viewer":null},Oe={Link:"link",Button:"button",Accordion:"accordion",AccordionItem:"accordion-item"},$i=t=>t.filter(s=>s.enabled!==!1),YI=t=>t.filter(s=>!ue||s.href===st()),XI=t=>t.filter(s=>ue?s.href===st()||s.href===ot||s.href===Ma:!0),JI=t=>XI($i([{href:t?Ma:ot,labelKey:"global_home",icon:rR,variant:Oe.Link},{href:Fs,labelKey:"global_whale_originals",icon:tm,variant:Oe.Link,excludeFromMiniVariant:!1},{href:Ve,labelKey:"global_casino",icon:K3,variant:Oe.Accordion,accordionKey:I1.Casino,excludeFromMiniVariant:!1,children:[{href:Ve,labelKey:"global_slots",icon:oR,variant:Oe.AccordionItem},{href:c1,labelKey:"global_cryptoCasino",icon:cR,variant:Oe.AccordionItem},{href:Ba,labelKey:"global_liveCasino",icon:em,variant:Oe.AccordionItem}]},{href:Os,labelKey:"global_sportsbookMain",icon:$r,variant:Oe.Link},{href:n1,labelKey:"global_sportsbookMain",icon:$r,variant:Oe.Link,isBeta:!0,enabled:ke(Se.SportsbookBeta)},{href:st(),...ue?{label:"Collectibles"}:{labelKey:"global_lootboxMain"},icon:q3,variant:Oe.Link,enabled:ke(Se.Lootbox)}])),QI=YI($i([{href:V1,label:"Crock NFT",icon:dR,variant:Oe.Link},{href:Ea,labelKey:"global_tournaments",icon:uR,variant:Oe.Link,enabled:ke(Se.Tournaments)},{href:Ae,labelKey:"global_tribes",icon:Ei,variant:Oe.Link,enabled:ke(Se.Tribes)},{href:sa,labelKey:"global_rewards",icon:mR,variant:Oe.Link},{href:d1,labelKey:"global_earn",icon:Y3,variant:Oe.Link},{href:Ut,labelKey:"global_promotions",icon:xR,variant:Oe.Link,enabled:ke(Se.Promotions)}])),eF=()=>$i([{labelKey:"global_token_dashboard",icon:fR,variant:Oe.Link,href:z1,enabled:ke(Se.TokenDashboard)},{labelKey:"global_profile",icon:pR,variant:Oe.Button,action:"profile",highlighted:Ah(Se.UserProfile)},{labelKey:"global_cashier",icon:hR,variant:Oe.Button,action:"wallet"},{labelKey:"sidebar.cta.support",icon:gR,variant:Oe.Button,action:"support"},{labelKey:"sidebar.cta.vipTransfer",icon:bR,variant:Oe.Button,action:"vip-transfer",enabled:ke(Se.VIPTransfer)},{labelKey:"012",icon:CR,variant:Oe.Button,action:"logout",enabled:Vt()!==zt.TELEGRAM}]),E6=$i([{href:Ve,labelKey:"global_casino",icon:iR,variant:"action",enabled:!ue},{href:Os,labelKey:"global_sportsbook",icon:$r,variant:"action",enabled:!ue},{href:Ba,labelKey:"global_liveCasino",icon:em,variant:"action",enabled:!ue},{href:st(),...ue?{label:"Collectibles"}:{labelKey:"global_lootboxMain"},icon:q3,variant:"underscore",enabled:ke(Se.Lootbox)}]),oc=()=>{const{pathname:t}=at();return m.useMemo(()=>ZI(t),[t])},Im=()=>{const t=oc(),[s,a]=C([te,We]),l=Y(),{openModal:r}=W(),[i,o]=m.useState({[I1.Casino]:!1});m.useEffect(()=>{const p=KI(t,I1.Casino);o(f=>f[I1.Casino]===p?f:{...f,[I1.Casino]:p})},[t]);const d=m.useCallback(p=>{o(f=>({...f,[p]:!f[p]}))},[]),u=m.useCallback(p=>{switch(p.action){case"token-dashboard":s?l(z1):r(_e,{tab:"login"});return;case"wallet":r(es,{});return;case"logout":hj();return;case"profile":r(pl,{tab:"profile"});return;case"support":b1();return;case"vip-transfer":return;default:return}},[s,l,r]),c=m.useMemo(()=>JI(s),[s,a==null?void 0:a.isSportsbookBetaEnabled]),x=m.useMemo(()=>eF(),[a==null?void 0:a.verifiedEmail,a==null?void 0:a.role]);return{flags:t,gamesItems:c,communityItems:QI,userItems:x,isAuthenticated:s,openAccordions:i,toggleAccordion:d,handleAction:u}},R6="stickyBMenu_menu",tF={2:"max-w-[180px]",5:"max-w-[280px]",6:"max-w-[300px]"},T6=t=>g("flex rounded-full border p-2 transition-colors duration-300 ease-in-out",t?"border-border-navbar bg-gradient-primary":"border-transparent bg-navbar-menu"),sF=()=>{const t=oc(),[s,a,l,r]=C([rc,aa,km,Sm]),i=[{labelKey:R6,icon:s?X3:wR,onClick:()=>Nm()},{labelKey:"global_lootboxMain",label:"Collectibles",icon:q3,href:st(),enabled:ue},{labelKey:"stickyBMenu_casino",icon:K3,href:Ve,enabled:!ue},{labelKey:"stickyBMenu_sports",icon:$r,href:Os,enabled:!ue},{labelKey:"stickyBMenu_originals",icon:tm,href:Fs,enabled:!ue},{labelKey:"stickyBMenu_earn",icon:Y3,href:d1,enabled:!ue},{labelKey:"stickyBMenu_chat",icon:yR,enabled:f1[pt.Chat].isEnabled(),onClick:()=>{s&&el(),Si(pt.Chat),X(f1[pt.Chat].openEventName)}}].filter(x=>x.enabled!==!1);if(t[Os]||t[n1]||r||a||!l)return null;const o=x=>s&&x.labelKey===R6||!s&&r1(t,x.href),d=x=>x.label??n(x.labelKey),u=i.length===2,c=u?"grid grid-cols-2":"flex justify-between";return e.jsx("div",{"data-testid":"bottom-nav",className:"fixed inset-x-0 bottom-0 z-bottom-menu w-full px-6 pb-5 shadow-2xl xl:hidden",style:{background:"linear-gradient(180deg, rgba(19, 22, 30, 0.00) 0%, #13161E 60.94%)"},children:e.jsxs("nav",{"aria-label":"Mobile navigation",className:g("mx-auto flex w-full flex-col gap-y-2 place-self-ce
5nter",tF[i.length]),children:[e.jsx("div",{className:g("rounded-full border border-border-primary bg-navbar-menu px-2 py-1",c,u&&"place-items-center"),children:i.map(x=>{const p=o(x),f=x.icon,h=e.jsx(f,{className:g("size-6",p?"text-icon-nav-active":"text-icon-inactive")});return x.href?e.jsx(De,{to:x.href,"aria-label":d(x),"data-testid":`bottom-nav-${x.labelKey}`,className:T6(p),onClick:()=>el(),children:h},x.labelKey):e.jsx("button",{type:"button","aria-label":d(x),"data-testid":`bottom-nav-${x.labelKey}`,className:T6(p),onClick:x.onClick,children:h},x.labelKey)})}),e.jsx("div",{className:g("h-fit w-full items-start px-1 text-center",c),children:i.map(x=>e.jsx("span",{className:g("flex w-full min-w-0 justify-center text-xs font-medium leading-none",o(x)?"text-navbar-label-underscore-active":"text-navbar-label-underscore-inactive"),children:e.jsx("span",{className:"w-full min-w-min",children:e.jsx("span",{"data-testid":`bottom-nav-label-${x.labelKey}`,className:"mx-auto block max-w-[4.5rem] overflow-hidden text-ellipsis",children:d(x)})})},x.labelKey))})]})})},aF=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M15.5535 5.005C14.5178 4.5355 13.4104 4.19429 12.2526 4C12.1104 4.24907 11.9443 4.58408 11.8298 4.85057C10.599 4.67124 9.37961 4.67124 8.17141 4.85057C8.05691 4.58408 7.88705 4.24907 7.74358 4C6.58455 4.19429 5.47585 4.53675 4.44013 5.00748C2.3511 8.06601 1.78479 11.0486 2.06794 13.9888C3.4535 14.9912 4.79627 15.6003 6.11638 15.9988C6.44234 15.5641 6.73303 15.1021 6.98346 14.6152C6.50651 14.4396 6.0497 14.2229 5.61806 13.9713C5.73257 13.8892 5.84457 13.8032 5.9528 13.7148C8.58551 14.9078 11.4459 14.9078 14.0472 13.7148C14.1566 13.8032 14.2686 13.8892 14.3819 13.9713C13.949 14.2241 13.4909 14.4408 13.014 14.6164C13.2644 15.1021 13.5538 15.5653 13.881 16C15.2024 15.6015 16.5464 14.9925 17.932 13.9888C18.2642 10.5803 17.3644 7.62515 15.5535 5.005ZM7.34213 12.1805C6.55182 12.1805 5.90371 11.4657 5.90371 10.5952C5.90371 9.72474 6.53798 9.00876 7.34213 9.00876C8.14631 9.00876 8.79441 9.7235 8.78051 10.5952C8.78181 11.4657 8.14631 12.1805 7.34213 12.1805ZM12.6578 12.1805C11.8675 12.1805 11.2194 11.4657 11.2194 10.5952C11.2194 9.72474 11.8537 9.00876 12.6578 9.00876C13.462 9.00876 14.1101 9.7235 14.0962 10.5952C14.0962 11.4657 13.462 12.1805 12.6578 12.1805Z",fill:"#704EFF"})}),nF=()=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M10.0001 3.4458C12.1206 3.4458 12.4098 3.4458 13.2773 3.4458C14.0483 3.4458 14.4339 3.63858 14.7231 3.73497C15.1086 3.92774 15.3978 4.02413 15.6869 4.31329C15.9761 4.60245 16.1689 4.89161 16.2652 5.27716C16.3616 5.56632 16.458 5.95187 16.5544 6.72296C16.5544 7.59045 16.5544 7.78322 16.5544 10.0001C16.5544 12.217 16.5544 12.4098 16.5544 13.2773C16.5544 14.0484 16.3616 14.4339 16.2652 14.7231C16.0725 15.1086 15.9761 15.3978 15.6869 15.687C15.3978 15.9761 15.1086 16.1689 14.7231 16.2653C14.4339 16.3617 14.0483 16.4581 13.2773 16.5544C12.4098 16.5544 12.217 16.5544 10.0001 16.5544C7.78319 16.5544 7.59042 16.5544 6.72296 16.5544C5.95187 16.5544 5.56632 16.3617 5.27716 16.2653C4.89161 16.0725 4.60245 15.9761 4.31329 15.687C4.02413 15.3978 3.83135 15.1086 3.73497 14.7231C3.63858 14.4339 3.54219 14.0484 3.4458 13.2773C3.4458 12.4098 3.4458 12.217 3.4458 10.0001C3.4458 7.78322 3.4458 7.59045 3.4458 6.72296C3.4458 5.95187 3.63858 5.56632 3.73497 5.27716C3.92774 4.89161 4.02413 4.60245 4.31329 4.31329C4.60245 4.02413 4.89161 3.83135 5.27716 3.73497C5.56632 3.63858 5.95187 3.54219 6.72296 3.4458C7.59042 3.4458 7.87958 3.4458 10.0001 3.4458ZM10.0001 2C7.78319 2 7.59042 2 6.72296 2C5.85548 2 5.27716 2.19277 4.79522 2.38555C4.31329 2.57832 3.83135 2.86748 3.34942 3.34942C2.86748 3.83135 2.67471 4.2169 2.38555 4.79522C2.19277 5.27716 2.09639 5.85548 2 6.72296C2 7.59045 2 7.87961 2 10.0001C2 12.217 2 12.4098 2 13.2773C2 14.1448 2.19277 14.7231 2.38555 15.205C2.57832 15.687 2.86748 16.1689 3.34942 16.6508C3.83135 17.1328 4.2169 17.3255 4.79522 17.6147C5.27716 17.8075 5.85548 17.9039 6.72296 18.0002C7.59042 18.0002 7.87958 18.0002 10.
50001 18.0002C12.1206 18.0002 12.4098 18.0002 13.2773 18.0002C14.1447 18.0002 14.7231 17.8075 15.205 17.6147C15.6869 17.4219 16.1689 17.1328 16.6508 16.6508C17.1327 16.1689 17.3255 15.7833 17.6147 15.205C17.8074 14.7231 17.9038 14.1448 18.0002 13.2773C18.0002 12.4098 18.0002 12.1206 18.0002 10.0001C18.0002 7.87961 18.0002 7.59045 18.0002 6.72296C18.0002 5.85548 17.8074 5.27716 17.6147 4.79522C17.4219 4.31329 17.1327 3.83135 16.6508 3.34942C16.1689 2.86748 15.7833 2.67471 15.205 2.38555C14.7231 2.19277 14.1447 2.09639 13.2773 2C12.4098 2 12.217 2 10.0001 2Z",fill:"#E51E68"}),e.jsx("path",{d:"M9.99987 5.85538C7.68658 5.85538 5.85526 7.68673 5.85526 10C5.85526 12.3133 7.68658 14.1447 9.99987 14.1447C12.3132 14.1447 14.1445 12.3133 14.1445 10C14.1445 7.68673 12.3132 5.85538 9.99987 5.85538ZM9.99987 12.6989C8.55407 12.6989 7.30106 11.5422 7.30106 10C7.30106 8.55421 8.45768 7.30118 9.99987 7.30118C11.4457 7.30118 12.6987 8.45783 12.6987 10C12.6987 11.4458 11.4457 12.6989 9.99987 12.6989Z",fill:"#E51E68"}),e.jsx("path",{d:"M14.2408 6.72284C14.7731 6.72284 15.2047 6.29131 15.2047 5.75897C15.2047 5.22665 14.7731 4.7951 14.2408 4.7951C13.7085 4.7951 13.2769 5.22665 13.2769 5.75897C13.2769 6.29131 13.7085 6.72284 14.2408 6.72284Z",fill:"#E51E68"})]}),lF=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:"20px",height:"20px","aria-hidden":"true",children:e.jsx("path",{d:"M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z",fill:"white"})}),Fm=({externalLinks:t})=>e.jsxs("div",{className:"flex flex-row items-center gap-3","data-testid":"social-links",children:[t.discord?e.jsx("a",{className:"rounded-full bg-discord p-2",href:t.discord,target:"_blank",rel:"noreferrer","aria-label":"Discord","data-testid":"social-link-discord",children:e.jsx(aF,{})}):null,t.instagram?e.jsx("a",{className:"rounded-full bg-instagram p-2",href:t.instagram,target:"_blank",rel:"noreferrer","aria-label":"Instagram","data-testid":"social-link-instagram",children:e.jsx(nF,{})}):null,t.x?e.jsx("a",{className:"rounded-full bg-[#25272A] p-2",href:t.x,target:"_blank",rel:"noreferrer","aria-label":"X","data-testid":"social-link-x",children:e.jsx(lF,{})}):null]}),{externalLinks:I6,meta:rF}=rt,iF=()=>e.jsxs("div",{className:"fixed inset-0 z-top-level flex items-center justify-center p-4","data-testid":"geo-restriction",children:[e.jsx("div",{className:"absolute inset-0 bg-[rgba(0,0,0,0.7)] backdrop-blur-sm"}),e.jsx("div",{className:"relative z-10 w-full max-w-[400px] rounded-2xl bg-gunmetal",style:{backgroundImage:"radial-gradient(ellipse 56.56% 71.17% at 50.00% 0.17%, rgba(220, 119, 119, 0.32) 0%, rgba(26, 30, 39, 0) 100%)"},children:e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 p-6 text-center",children:[e.jsx(ve,{icon:"restrictedArea",className:"size-24"}),e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("p",{className:"text-xl font-semibold",children:n("geoRestriction.header",{site:rF.title})}),e.jsx("p",{className:"text-sm font-medium text-secondary-100",children:n("geoRestriction.subheader")})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsx(O,{variant:"primary",className:"w-full","data-testid":"geo-restriction-reload",onClick:()=>window.location.reload(),children:n("geoRestriction.reloadPage")}),e.jsx("button",{type:"button",className:"inline-flex h-10 w-full items-center justify-center rounded-lg bg-buttonv2-nonAccent-bg text-base leading-6 text-buttonv2-nonAccent-text transition-all duration-200 hover:bg-hover-buttonv2-nonAccent","data-testid":"geo-restriction-support",onClick:()=>b1(),children:n("sidebar.cta.support")}),e.jsx("div",{className:"flex flex-row items-center justify-center",children:I6?e.jsx(Fm,{externalLinks:I6}):null})]})]})})]}),cc="/assets/icon-small-uBBbhYJJ.webp",oF=500,cF=t=>t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1,Om=({displayInFiat:t=!1})=>{var h;const[s,a,l]=C([q1,il,ol]),r=s.currency,i=((h=l[r])==null?void 0:h.availableAmou
5nt)??0,o=t?i*ni(r,a):i,d=bs(o,r),[u,c]=m.useState(d),x=m.useRef({}),p=m.useRef(null);m.useEffect(()=>{const{amount:b,currency:v,displayInFiat:j}=x.current,y=typeof b>"u",N=typeof v<"u"&&r!==v,k=typeof b<"u"&&o!==b,w=typeof j<"u"&&t!==j;if(x.current={amount:o,currency:r,displayInFiat:t},p.current!==null&&(cancelAnimationFrame(p.current),p.current=null),y||N||b===0||w){c(d);return}if(!k)return;const S=u,M=performance.now(),_=A=>{const E=Math.min((A-M)/oF,1);c(S+(d-S)*cF(E)),E<1?p.current=requestAnimationFrame(_):p.current=null};return p.current=requestAnimationFrame(_),()=>{p.current!==null&&(cancelAnimationFrame(p.current),p.current=null)}},[o,r,t,d]);const f=Ke(Number.isNaN(u)?0:u,t?U.USDT:r);return e.jsxs(e.Fragment,{children:[t?"$":"",f]})},F6=({currency:t,isActive:s,availableAmount:a,show:l,disabled:r=!1,displayInFiat:i=!1,hideAmount:o=!1,iconCurrency:d,onSelect:u})=>{const c=o?null:Ke(a,i?U.USDT:t);return e.jsxs("button",{type:"button","data-testid":`currency-row-${t}`,"data-active":s,style:{display:l?"flex":"none"},className:g("flex w-full items-center justify-between gap-12 rounded-[6px] px-3 py-2 text-left hover:bg-secondary focus:bg-secondary",s?"bg-secondary":"bg-primary",r?"text-gray-400 hover:cursor-not-allowed":""),disabled:r,onClick:u,children:[e.jsxs("div",{className:"flex items-center gap-x-[0.45rem]",children:[e.jsx(we,{currency:d??t}),e.jsx("span",{className:"text-[0.85em] font-semibold",children:Lh(t)})]}),c===null?null:e.jsxs("span",{className:"notranslate text-[0.85em] font-medium",translate:"no",children:[i?"$":"",c]})]})},dF='[data-testid="bottom-nav"]',uF=8,mF=240,xF=({menuTop:t,obstructionTop:s,viewportBottom:a})=>Math.max(mF,(s??a)-t-uF),fF=[{currency:U.TON,hideOnOperaMini:!0},{currency:U.USDT},{currency:U.BTC,feature:xs.BtcCurrency,hideOnOperaMini:!0},{currency:U.ETH,feature:xs.EthCurrency,hideOnOperaMini:!0},{currency:U.SOL,feature:xs.SolCurrency},{currency:U.NOT,hideOnOperaMini:!0},{currency:U.CUSD,feature:xs.CUSDCurrency,iconCurrency:U.CELO},{currency:U.BRL,feature:xs.PixbyPayment},{currency:U.TRUMP,feature:xs.TrumpCurrency},{currency:U.USD1,feature:xs.USD1Currency},{currency:U.BONK,feature:xs.BonkCurrency},{currency:U.BNB,feature:xs.BnbPayment},{currency:U.USDC,feature:xs.UsdcPayment},{currency:U.WHALE,feature:xs.WhaleTokenCurrency,alwaysShow:!0,neverFiat:!0}],O6=({label:t,enabled:s,testId:a,onToggle:l})=>e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-[0.85em] font-medium",children:t}),e.jsx("button",{type:"button","data-testid":a,"data-enabled":s,"aria-pressed":s,className:g("inline-flex h-5 w-9 items-center gap-2.5 rounded-2xl p-0.5",s?"justify-end bg-checkbox-enabled":"justify-start bg-checkbox-disabled"),onClick:l,children:e.jsx("div",{className:g("size-4 rounded-full",s?"bg-white":"bg-gray-900")})})]}),pF=({menuRef:t,displayZeroBalances:s,displayInFiat:a,onDisplayZeroBalancesToggle:l,onDisplayInFiatToggle:r})=>{var w;const[i,o,d,u,c]=C([q1,l8,il,ol,Mh]),{openModal:x}=W(),p=Y(),{pathname:f}=at(),h=Vt()===zt.OPERA_MINI_APP,[b,v]=m.useState(null);m.useLayoutEffect(()=>{const S=()=>{var A,E;const M=(A=t.current)==null?void 0:A.getBoundingClientRect(),_=(E=document.querySelector(dF))==null?void 0:E.getBoundingClientRect();M&&v(xF({menuTop:M.top,obstructionTop:_&&_.height>0?_.top:null,viewportBottom:window.innerHeight}))};return S(),window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)},[t]);const j=S=>{var M;return bs(((M=u[S])==null?void 0:M.availableAmount)??0,S)},y=(w=u[U.ROOM_CURRENCY])==null?void 0:w.availableAmount,N=typeof y=="number"&&y/md?y/md:null,k=S=>{S===U.WHALE&&!Bh(f)&&p(Fs),Eh(S),Ar()};return e.jsxs("menu",{ref:t,"data-testid":"currency-dropdown",className:"absolute inset-x-4 top-16 z-30 flex w-auto flex-col gap-y-2 rounded-[10px] border-[0.01em] border-[#15181f] bg-primary p-2 md:inset-x-auto md:w-[280px]",style:b===null?void 0:{maxHeight:b},children:[e.jsx("div",{className:g("flex flex-col gap-y-2",b===null?"":"min-h-0 overflow-y-auto"),children:c?e.jsx(F6,{currency:U.ROOM_CURRENCY,isActive:i.currency===U.ROOM_CURRENCY,availableAmou
5nt:N??0,show:o.hideBalance||N!==null,disabled:o.restrictedCurrencies.includes(U.ROOM_CURRENCY),displayInFiat:a,hideAmount:o.hideBalance,onSelect:()=>k(U.ROOM_CURRENCY)}):fF.filter(S=>!S.feature||ke(S.feature)).map(S=>{const M=j(S.currency),_=a&&!S.neverFiat,A=(S.alwaysShow||s||o.hideBalance||M>0)&&!(S.hideOnOperaMini&&h);return e.jsx(F6,{currency:S.currency,iconCurrency:S.iconCurrency,isActive:i.currency===S.currency,availableAmount:_?M*ni(S.currency,d):M,show:A,disabled:o.restrictedCurrencies.includes(S.currency),displayInFiat:_,hideAmount:o.hideBalance,onSelect:()=>k(S.currency)},S.currency)})}),e.jsxs("div",{className:"flex shrink-0 flex-col gap-y-6 border-t border-t-highlight px-3 py-5",children:[e.jsx("div",{className:"flex justify-between",children:e.jsx("span",{className:"text-[0.85em] font-medium",children:e.jsx("button",{type:"button","data-testid":"dropdown-buy-crypto",onClick:()=>{Ar(),x(es,{tab:"buy"})},children:n("global_buyCrypto")})})}),o.hideBalance?null:e.jsxs(e.Fragment,{children:[e.jsx(O6,{label:n("currency_menu.hide_zero_balances"),testId:"toggle-hide-zero-balances",enabled:!s,onToggle:l}),e.jsx(O6,{label:n("currency_menu.display_fiat"),testId:"toggle-display-fiat",enabled:a,onToggle:r})]})]})]})},hF=()=>{const{openModal:t}=W();return e.jsxs("button",{type:"button","data-testid":"header-deposit","aria-label":n("global_cashier"),className:"inline-flex h-10 items-center justify-center whitespace-nowrap rounded-lg bg-buttonv2-primary px-4 text-base leading-6 text-buttonv2-primary-text transition-all duration-200",onClick:()=>{X("Navigation - deposit button clicked"),t(es,{tab:"deposit",openReason:"header"})},children:[e.jsx("span",{className:"hidden md:flex",children:n("global_cashier")}),e.jsx("span",{className:"flex md:hidden",children:e.jsx(h3,{"aria-hidden":"true"})})]})},gF=()=>{const[t,s]=C([q1,l8]),[a,l]=m.useState(!0),[r,i]=m.useState(!1),o=m.useRef(null),d=m.useRef(null);return m.useEffect(()=>{if(!s.currencyDropdown)return;const u=c=>{var p,f;const x=c.target;!((p=d.current)!=null&&p.contains(x))&&!((f=o.current)!=null&&f.contains(x))&&Ar()};return document.addEventListener("click",u),()=>document.removeEventListener("click",u)},[s.currencyDropdown]),e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-x-2 rounded-[10px] border-[0.01em] border-[#15181f] bg-primary py-1 pl-2.5 pr-0.5 md:gap-x-3 md:pl-[0.890rem]",children:[e.jsx("div",{className:"flex items-center gap-x-2 md:gap-x-2.5",children:e.jsx("div",{className:"flex w-full flex-row items-center md:gap-x-1",children:e.jsxs("button",{type:"button",ref:o,"data-testid":"balance-pill-trigger",className:g("flex w-full flex-row gap-x-2",s.disableCurrencyChange?"hover:cursor-not-allowed":""),disabled:s.disableCurrencyChange,onClick:()=>{X("Navigation - Currency dropdown clicked"),Rh()},children:[s.hideBalance?null:e.jsx("span",{"data-testid":"header-balance",className:g("text-[0.85em] font-medium",s.disableCurrencyChange?"text-gray-400 hover:cursor-not-allowed":""),children:e.jsx(Om,{displayInFiat:r&&t.currency!==U.WHALE})}),e.jsxs("div",{className:"flex items-center gap-x-1 md:gap-x-2",children:[e.jsx(we,{currency:t.currency,className:"size-5"}),e.jsx(gj,{className:"text-icon-inactive"})]})]})})}),e.jsx(hF,{})]}
5),s.currencyDropdown?e.jsx(pF,{menuRef:d,displayZeroBalances:a,displayInFiat:r,onDisplayZeroBalancesToggle:()=>{X("Navigation - Display 0 balances clicked"),l(u=>!u)},onDisplayInFiatToggle:()=>{X("Navigation - Display in Fiat clicked"),i(u=>!u)}}):null]})},bF=(t,s)=>g("flex w-full items-center gap-x-2 truncate py-2 text-sm font-medium leading-tight",t==="action"&&"min-w-fit flex-1 rounded-lg px-3",t==="underscore"&&"z-sidebar min-w-fit border-y-2 border-y-transparent px-0",t==="action"&&(s?"bg-navbar-background-active text-navbar-label-active":"bg-navbar-background-inactive text-navbar-label-inactive"),t==="underscore"&&(s?"border-b-navbar-background-underscore-border-active text-navbar-label-underscore-active":"text-navbar-label-underscore-inactive hover:border-b-navbar-background-underscore-border-active hover:text-navbar-label-underscore-active")),CF=(t,s)=>g("size-5 shrink-0 transition-transform duration-100",t==="underscore"?s?"text-icon-nav-underscore-active":"text-icon-nav-underscore-inactive hover:text-icon-nav-underscore-active":s?"text-icon-nav-active":"text-icon-nav-inactive"),jF=()=>{const t=oc(),s=E6.filter(r=>r.variant==="action"),a=E6.filter(r=>r.variant==="underscore"),l=r=>{const i=r1(t,r.href),o=r.icon,d=r.label??n(r.labelKey??"");return e.jsxs(De,{to:r.href,"aria-label":d,"aria-current":i?"page":void 0,"data-testid":`navbar-link-${r.href}`,className:bF(r.variant,i),children:[e.jsx(o,{className:CF(r.variant,i)}),d]},r.href)};return e.jsxs("div",{className:"flex w-full flex-row flex-nowrap items-center gap-x-2","data-testid":"primary-nav",children:[s.length>0?e.jsx("div",{className:"flex w-full flex-row gap-x-1 rounded-lg bg-navbar-menu p-0.5",children:e.jsx("div",{className:"flex w-full flex-row gap-x-1",children:s.map(l)})}):null,e.jsx("div",{className:"flex size-full flex-row items-center gap-x-2 pl-2",children:a.map(l)})]})},Pi=(t,s,a)=>s?"#FF6659":t?a:"#9092B2",Hi={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"size-5 shrink-0","aria-hidden":!0},vF=({active:t,error:s})=>{const a=Pi(t,s,"#637AF4");return e.jsxs("svg",{...Hi,children:[e.jsx("path",{d:"M15.9912 4.87699C14.6928 3.53388 13.0123 2.67983 11.1885 2.42002L11.7083 1.9002C11.9143 1.69426 11.9143 1.36038 11.7083 1.15443C11.5024 0.948522 11.1685 0.948522 10.9626 1.15443L9.6271 2.48988C9.42115 2.69579 9.42115 3.0297 9.6271 3.23565L10.9625 4.57109C11.0655 4.67406 11.2005 4.72557 11.3354 4.72557C11.4703 4.72557 11.6053 4.67406 11.7083 4.57109C11.9142 4.36518 11.9142 4.03127 11.7083 3.82532L11.4096 3.52667C12.8585 3.81021 14.1874 4.52859 15.2328 5.60999C16.5514 6.97392 17.2775 8.77012 17.2775 10.6677C17.2776 14.6805 14.0128 17.9453 10 17.9453C5.98716 17.9453 2.72241 14.6805 2.72241 10.6677C2.72241 9.13648 3.19235 7.67173 4.08145 6.43184C4.95209 5.21765 6.15233 4.31164 7.55249 3.81179C7.82678 3.71384 7.96973 3.41213 7.87182 3.13781C7.77391 2.86352 7.47213 2.72057 7.19784 2.81848C5.59461 3.39086 4.22059 4.42783 3.2243 5.81724C2.20597 7.23741 1.66772 8.91468 1.66772 10.6677C1.66772 12.8934 2.53443 14.9858 4.1082 16.5595C5.68197 18.1332 7.77436 19 10 19C12.2256 19 14.318 18.1332 15.8918 16.5595C17.4656 14.9857 18.3323 12.8933 18.3323 10.6677C18.3323 8.49513 17.5008 6.43859 15.9912 4.87699Z",fill:a}),e.jsx("path",{d:"M4.58203 10.6677C4.58203 13.6552 7.01259 16.0858 10.0002 16.0858C12.9877 16.0858 15.4183 13.6552 15.4183 10.6677C15.4183 7.68014 12.9877 5.24951 10.0002 5.24951C7.01256 5.24951 4.58203 7.68011 4.58203 10.6677ZM10.3239 11.1371C9.5648 10.8687 9.12499 10.6572 8.80591 10.4069C8.41322 10.0989 8.23346 9.56698 8.33675 9.01872C8.44883 8.42394 8.8636 7.95046 9.41925 7.78308C9.42695 7.78076 9.43451 7.7789 9.44217 7.77665V7.5643C9.44217 7.27307 9.67828 7.03696 9.96951 7.03696C10.2607 7.03696 10.4969 7.27307 10.4969 7.5643V7.74307C10.865 7.82931 11.122 7.9976 11.2259 8.07526C11.4592 8.24968 11.5069 8.58011 11.3326 8.81341C11.1581 9.0467 10.8278 9.09437 10.5944 8.92003C10.4828 8.83657 10.1746 8.657 9.72346 8.79291C9.45694 8.87321 9.38799 9.13551 9.37319 9.21401C9.34398 9.36905 9.37755 9.51498 9.45676 9.57707C9.73263 9.79339 10.2276 9.98439 10.6753 10.1427C11.4945 10.4322 11.95 11.1911 11.8088 12.0309C11.7395 12.4433 11.532 12.8259 11.2246 13.1083C11.0132 13.3025 10.7669 13.4406 10.4969 13.5185V13.771C10.4969 14.0622 10.2607 14.2983 9.96951 14.2983C9.67828 14.2983 9.44217 14.0622 9.44217 13.771V13.5704C9.09135 13.5291 8.7986 13.4211 8.40489 13.1635C8.16115 13.0041 8.09284 12.6773 8.25227 12.4335C8.41171 12.1897 8.73859 12.1215 8.98229 12.2809C9.34732 12.5197 9.48534 12.5417 9.966 12.5383C10.4392 12.5352 10.7138 12.1824 10.7687 11.856C10.7955 11.6966 10.8058 11.3074 10.3239 11.1371Z",fill:a})]})},wF=({active:t,error:s})=>e.jsx("svg",{...Hi,children:e.jsx("path",{d:"M11.8155 17.4993H5.26149V17.0611C5.26149 15.806 5.56176 14.5104 6.15399 13.2104C6.6221 12.1828 7.27299 11.1497 8.08861 10.14C8.67581 9.41299 9.25999 8.80628 9.74219 8.34547C9.48101 8.36475 9.21634 8.37444 8.94883 8.37444C7.74733 8.37444 6.59058 8.17522 5.61842 7.8067V8.67046H2.5V2.61315H5.61839V3.17609C6.59049 2.80754 7.74728 2.60835 8.9488 2.60835C10.1566 2.60835 11.0404 2.77136 11.8148 3.13692C12.3549 3.39195 12.9506 3.49139 13.5373 3.4243C14.1262 3.35706 14.6793 3.12474 15.1368 2.75246L15.446 2.50095L17.5 3.89457L17.2465 4.25861C17.2328 4.27824 15.8644 6.25118 14.5152 8.8192C13.2836 11.1636 11.8155 14.4966 11.8155 17.061V17.4993H11.8155Z",fill:Pi(t,s,"#637AF4")})}),dc=({active:t,error:s})=>{const a=Pi(t,s,"#FFCA41");return e.jsxs("svg",{...Hi,children:[e.jsx("path",{d:"M10.2092 6.60273H9.99985C9.90123 6.59872 9.80489 6.57183 9.71845 6.52418C9.63201 6.47654 9.55784 6.40945 9.50178 6.32821C9.44573 6.24697 9.40933 6.15381 9.39547 6.05609C9.38161 5.95837 9.39066 5.85876 9.42191 5.76514C9.71507 5.02806 9.9831 4.27422 10.2009 3.53714C10.3851 2.96758 11.1055 1.1835 12.9147 1.1835C13.6198 1.16091 14.3051 1.41897 14.8201 1.90105C15.3352 2.38313 15.6379 3.04986 15.662 3.75491C15.662 5.37147 13.8276 6.03317 13.1492 6.26769C12.19 6.51799 11.2001 6.63079 10.2092 6.60273ZM12.9063 2.41477C11.9431 2.41477 11.5075 3.52876 11.3986 3.87218C11.2479 4.35798 11.0887 4.84379 10.9128 5.32959C11.5133 5.32577 12.1106 5.24126 12.6885 5.07831C13.1659 4.91079 14.3637 4.45849 14.3637 3.72979C14.3379 3.3647 14.1717 3.0238 13.9 2.77862C13.6282 2.53343 13.2721 2.40303 12.9063 2.41477Z",fill:a}),e.jsx("path",{d:"M9.7656 6.60248C8.79625 6.61956 7.82926 6.50115 6.89266 6.25069C4.80706 5.57224 4.37988 4.5085 4.37988 3.73791C4.38339 3.41244 4.45272 3.09104 4.58371 2.79307C4.7147 2.4951 4.90464 2.22672 5.14209 2.0041C5.67011 1.47291 6.38661 1.17186 7.13556 1.1665C8.54272 1.1665 9.25467 2.48152 9.78236 3.41963C10.1253 4.18865 10.4054 4.98417 10.6199 5.79839C10.6459 5.89079 10.6503 5.9879 10.6329 6.08228C10.6155 6.17666 10.5767 6.26579 10.5194 6.34283C10.464 6.42063 10.3912 6.48454 10.307 6.52959C10.2227 6.57463
510.1291 6.59958 10.0336 6.60248H9.7656ZM7.04343 2.41452C6.64567 2.43165 6.27019 2.60287 5.99644 2.89195C5.87704 2.99723 5.78051 3.12588 5.7128 3.26994C5.64509 3.41401 5.60764 3.57043 5.60277 3.72954C5.60277 4.24047 6.22259 4.73465 7.27795 5.07806C7.89377 5.23724 8.52653 5.32161 9.16254 5.32934C9.02706 4.88328 8.86197 4.44677 8.66836 4.0227L9.16254 3.72116L8.6181 4.0227C8.1323 3.09297 7.7135 2.43127 7.06856 2.41452H7.04343Z",fill:a}),e.jsx("path",{d:"M17.7477 8.69691V7.64992C17.7477 7.03903 17.505 6.45315 17.073 6.02119C16.6411 5.58922 16.0552 5.34654 15.4443 5.34654H4.55558C3.94468 5.34654 3.35881 5.58922 2.92684 6.02119C2.49487 6.45315 2.2522 7.03903 2.2522 7.64992V8.69691H17.7477ZM10.6281 9.9533V19.1668H15.4443C16.0552 19.1668 16.6411 18.9241 17.073 18.4922C17.505 18.0602 17.7477 17.4743 17.7477 16.8634V9.9533H10.6281ZM9.37174 9.9533H2.2522V16.8634C2.2522 17.4743 2.49487 18.0602 2.92684 18.4922C3.35881 18.9241 3.94468 19.1668 4.55558 19.1668H9.37174V9.9533Z",fill:a})]})},j1=({active:t,error:s})=>e.jsx("svg",{...Hi,children:e.jsx("path",{d:"M14.1666 5.83334L5.83325 14.1667M5.83325 5.83334L14.1666 14.1667",stroke:Pi(t,s,"#637AF4"),strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),yF={cashback:vF,giftbox:dc,freespin:wF},_F=({notification:t})=>{var l,r;const{openModal:s}=W(),a=()=>{s(pl,{tab:"account"}),Ra(t.id)};return e.jsxs("div",{"data-testid":"notification-add-email",className:"flex flex-col gap-2 rounded-lg bg-secondary p-3",children:[e.jsxs("div",{className:"flex flex-row items-start justify-between gap-2",children:[e.jsx(dc,{active:!0}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[e.jsx("p",{className:"truncate text-sm font-medium text-white",children:((l=t.payload)==null?void 0:l.title)??n("notification.addEmail.title")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100",children:((r=t.payload)==null?void 0:r.body)??n("notification.addEmail.body")})]}),e.jsx("button",{type:"button","aria-label":n("notification.action.reject"),className:"shrink-0 transition-opacity hover:opacity-70",onClick:()=>Ra(t.id),children:e.jsx(j1,{})})]}),e.jsx(O,{variant:"primary",size:"sm",className:"w-full rounded-md",onClick:a,children:n("notification.addEmail.button")})]})},NF=jj,kF="bonus.tribe_drip.won",SF="tribe.live",AF=t=>{var s;return((s=t.context)==null?void 0:s.payoutStatus)===g3.Credited},LF=t=>{var s;return((s=t.context)==null?void 0:s.payoutStatus)===g3.Claimable},MF=t=>{var l;const s=(l=t.context)==null?void 0:l.payoutId,a=typeof s=="string"&&s.trim()!==""?Number(s):s;return typeof a=="number"&&Number.isFinite(a)?a:null},BF="/rewards",EF=t=>`tournament-prize-${t}`,RF=(t,s=n)=>{const a=t.amountUsd.toFixed(2),l={tournamentName:t.tournamentName,rank:t.rank,amountUsd:a},r="notification.tournament.winnings";return{id:EF(t.id),type:Cj.NOTIFICATION,category:"tournament",notificationType:bj,i18nKey:r,i18nValues:l,createdAt:new Date(t.issuedAtTimestamp||Date.now()).toISOString(),expiresAt:new Date(t.expiresAtTimestamp).toISOString(),imageUrl:t.imageUrl??void 0,amount:{value:a,currency:t.currency},entityId:t.tournamentId,cta:{deeplink:BF},context:{payoutStatus:g3.Claimable,payoutId:t.id,tournamentName:t.tournamentName,slug:t.slug,rank:t.rank},payload:{title:s(`${r}.title`,l),body:s(`${r}.body`,l)}}}
5,TF={"tournament.started":{icon:"cup",cta:"Join",footer:"Ends in:",variant:"tile",ctaFixed:!0},"tournament.added":{icon:"medalAdded",cta:"See More",footer:"Starts In:",variant:"tile",ctaFixed:!1},"tournament.ending_soon":{icon:"bell",cta:"Play Now",footer:"Ends In:",variant:"tile",ctaFixed:!1},"tournament.winnings":{icon:"medalWon",cta:"Claim",footer:null,variant:"amount",ctaFixed:!0}},IF={icon:"cup",cta:"See More",footer:"Ends In:",variant:"tile",ctaFixed:!1},FF=t=>TF[t??""]??IF,OF=t=>t.type==="addEmail"?"addEmail":t.category==="tournament"?"tournament":t.notificationType===NF?"tokenPrint":t.notificationType===kF?"tribeDrip":t.notificationType===SF?"tribeLive":"default",DF=(t,s)=>{var a,l,r;return{title:((a=t.payload)==null?void 0:a.title)??t.title??"",body:((l=t.payload)==null?void 0:l.body)??t.body??"",amount:new Intl.NumberFormat(s||"en",{minimumFractionDigits:2,maximumFractionDigits:2}).format(b3(((r=t.amount)==null?void 0:r.value)??0))}},$F={cashback:"cashback",periodicBonus:"giftbox",freespin:"freespin",custom:"giftbox"},PF=(t,s)=>$F[t??""]??(s?"giftbox":null),zo=["th","st","nd","rd"],HF=t=>{const s=Number(t);if(Number.isNaN(s))return`${t}`;const a=s%100;return`${s}${zo[(a-20)%10]||zo[a]||zo[0]}`},UF=t=>{var l;const s=t.expiresAt??((l=t.context)==null?void 0:l.endsAt);if(typeof s!="string"||!s)return null;const a=new Date(s).getTime();return Number.isNaN(a)?null:a},er=t=>t==null||typeof t=="object"?"":String(t),VF=t=>{var r,i,o,d;const s=t.i18nValues??{},a=t.context??{},l=s.rank??a.rank;return{meta:FF(t.notificationType),title:((r=t.payload)==null?void 0:r.title)??t.title??"",body:((i=t.payload)==null?void 0:i.body)??t.body??"",tileName:er(s.tournamentName??a.tournamentName??a.slug),rankValue:l==null||l===""?"":HF(l),tileMeta:er(a.prizePool??a.tileMeta),tileImage:t.imageUrl??a.imageUrl,amount:er(((o=t.amount)==null?void 0:o.value)??s.amountUsd),currency:er((d=t.amount)==null?void 0:d.currency),isPayoutCredited:AF(t),isPayoutClaimable:LF(t),payoutId:MF(t),countdownTarget:UF(t)}},zF=[["year",60*60*24*365],["month",60*60*24*30],["day",60*60*24],["hour",60*60],["minute",60],["second",1]],GF=()=>new Intl.RelativeTimeFormat(li(),{numeric:"auto"}),Ui=(t,s=Date.now())=>{const a=new Date(t).getTime();if(Number.isNaN(a))return"";const l=Math.round((a-s)/1e3),r=GF();for(const[i,o]of zF)if(Math.abs(l)>=o||i==="second")return r.format(Math.round(l/o),i);return""},ZF=t=>{const s=t-1;return s*s*s+1},WF=()=>{var t;return typeof window<"u"&&!!((t=window.matchMedia)!=null&&t.call(window,"(prefers-reduced-motion: reduce)").matches)},t1=(t,s=1500)=>{const[a,l]=m.useState(t),r=m.useRef(t),i=m.useRef(0);return m.useEffect(()=>{if(WF()||s<=0){r.current=t,l(t);return}const o=r.current;if(o===t)return;const d=performance.now(),u=c=>{const x=Math.min((c-d)/s,1),p=o+(t-o)*ZF(x);l(p),r.current=p,x<1?i.current=requestAnimationFrame(u):r.current=t};return i.current=requestAnimationFrame(u),()=>cancelAnimationFrame(i.current)},[t,s]),a},ls=(t=1e3)=>{const[s,a]=m.useState(()=>Date.now());return m.useEffect(()=>{const l=window.setInterval(()=>a(Date.now()),t);return()=>window.clearInterval(l)},[t]),s},KF=56,D6=120,Dm=()=>{const t=m.useRef(null);return m.useEffect(()=>{const s=t.current;if(!s)return;const a=o=>`${Math.min(Math.max(o,0),D6)/D6*KF}px`,l=()=>{const o=s.scrollHeight-s.clientHeight-s.scrollTop;s.style.setProperty("--shade-top",a(s.scrollTop)),s.style.setProperty("--shade-bottom",a(o))};s.addEventListener("scroll",l,{passive:!0});const r=new ResizeObserver(l);r.observe(s);const i=new MutationObserver(l);return i.observe(s,{childList:!0,subtree:!0}),l(),()=>{s.removeEventListener("scroll",l),r.disconnect(),i.disconnect()}},[]),t},Xs=t=>t.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),$6=t=>Math.trunc(t).toLocaleString("en-US"),qF=(t,s=!1)=>{if(t<=0)return"00:00:00";const a=d=>String(d).padStart(2,"0"),l=Math.floor(t/(1e3*60*60*24)),r=Math.floor(t%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(t%(1e3*60*60)/(1e3*60)),o=Math.floor(t%(1e3*60)/1e3);return s&&l>0?`${l}d ${a(r)}:${a(i)}:${a(o)}`:`${a(r+l*24)}:${a(i)}:${a(o)}`},YF=({active:t})=>e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M9 4.5V9L12 10.5M16.5 9C16.5 13.1421 13.1421 16.5 9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9Z",stroke:t?"#637AF4":"#9092B2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),tn=({targetTimestamp:t,showDays:s=!1,className:a,withIcon:l=!0})=>{const r=ls(),i=t-r,o=i<=0;return e.jsxs("div",{className:g("flex flex-row items-center gap-3",a),children:[l?e.jsx(YF,{active:!o}):null,e.jsx("span",{className:g("text-sm",o?"text-brandblue-100":"text-brand-tertiary"),children:qF(i,s)})]})},wl=t=>!t||t.startsWith("/")||t.startsWith("?")||t.startsWith("#")||t.startsWith("http")?t:`/${t}`,XF=t=>t.startsWith("http"),JF=(t,s)=>t==="cashback"?"notification.cashback.title":t==="periodicBonus"?s==="monthly"?"notification.periodicBonus.monthly.title":"notification.periodicBonus.weekly.title":"notification.freespin.title",QF=(t,s)=>t==="cashback"?"notification.cashback.body":t==="periodicBonus"?s==="monthly"?"notification.periodicBonus.monthly.body":"notification.periodicBonus.weekly.body":"notification.freespin.body",Go=({kind:t,entityId:s,amount:a,currency:l,periodicType:r,createdAtTimestamp:i,activeUntilTimestamp:o,notification:d})=>
5{var _,A,E;const[u,c]=C([s7,a7]),x=ls(),p=Y(),f=t==="cashback"?u:t==="periodicBonus"?c:!1,h=!!(d!=null&&d.category),b=(_=d==null?void 0:d.cta)!=null&&_.labelKey?n(d.cta.labelKey):n(h&&(d==null?void 0:d.category)!=="bonus"?"notification.action.view":"notification.action.accept"),v=((A=d==null?void 0:d.payload)==null?void 0:A.title)??n(JF(t,r),{currency:l}),j=((E=d==null?void 0:d.payload)==null?void 0:E.body)??n(QF(t,r),{amount:a.toFixed(2),currency:l,type:t}),y=n7({createdAt:i?new Date(i).toISOString():d==null?void 0:d.createdAt,activeUntil:o?new Date(o).toISOString():d==null?void 0:d.activeUntil},x),N=o??(d!=null&&d.activeUntil?new Date(d.activeUntil).getTime():0),k=N>0&&N<=x,w=PF(t==="socket"?d==null?void 0:d.type:t,d==null?void 0:d.category),S=w?yF[w]:null,M=()=>{if(!f){if(t==="cashback"){l7(s);return}if(t==="periodicBonus"){r7(s);return}s?vj(Number(s)):d&&Ra(d.id)}};return e.jsxs("div",{"data-testid":"notification-item",className:"flex flex-col gap-2 rounded-lg bg-secondary p-3",children:[e.jsxs("div",{className:"flex flex-row items-start justify-between gap-2",children:[S?e.jsx(S,{active:!k,error:k}):null,e.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[e.jsx("p",{className:"truncate text-sm font-medium text-white",children:v}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100",children:j})]}),d?e.jsx("button",{type:"button","aria-label":n("notification.action.reject"),className:"shrink-0 transition-opacity hover:opacity-70",onClick:()=>Ra(d.id),children:e.jsx(j1,{})}):null]}),d!=null&&d.imageUrl?e.jsx("div",{className:"overflow-hidden rounded-lg",children:e.jsx(ce,{className:"w-full",src:d.imageUrl,alt:"",loading:"lazy"})}):null,N>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"h-1 w-full overflow-hidden rounded-full bg-highlight",children:e.jsx("div",{className:"h-full rounded-full bg-brand-tertiary",style:{width:`${y*100}%`}})}),e.jsx(tn,{targetTimestamp:N})]}):null,h?d!=null&&d.cta&&!k?e.jsx(O,{variant:"primary",size:"sm","data-testid":"notification-cta",className:"w-full rounded-md",onClick:()=>{var L;return p(wl(((L=d.cta)==null?void 0:L.deeplink)??""))},children:b}):null:e.jsx(O,{variant:"primary",size:"sm","data-testid":"notification-claim",className:"w-full rounded-md",disabled:f||k,onClick:M,children:k?n("notification.action.expired"):n("notification.action.accept")})]})},P6="/mission-whale-icon.webp",eO={"battle-pass":"/battlepass/season-pass.webp","sportsbook-free-bet":"/rewards/free_bets.webp","free-spins":"/rewards/freespins.webp",lootbox:"/rewards/lootbox-new.webp",cashback:"/rewards/cashback.webp","whale-token":"/rewards/whale-token-xl.webp",deposit:"/rewards/whale-token-xl.webp"},tO=(t,s)=>{var a,l;if(s==="originals-free-bets"){const r=typeof((a=t.metadata)==null?void 0:a.gameType)=="string"?t.metadata.gameType:"";return r&&((l=Lr(`whale_${r}`))==null?void 0:l.urlThumb)||P6}return eO[s]??P6},sO=(t,s)=>s==="sportsbook-free-bet"?n("rewards.level_card_bonus_block.free_bets"):o7(t),aO=(t,s)=>{const a=t.metadata??{};if(s==="sportsbook-free-bet"){const i=Number(a.bet_value),o=n("rewards.level_card_bonus_block.free_bets");return i?`${o} $${X0(i).toFixed(2)}`:o}if(t.type===$n.FREE_SPINS){if(c7(t)){const o=Number(a.bet_value);return`${o?`$${X0(o).toFixed(2)} `:""}${n("rewards.level_card_bonus_block.bonus_buy")}`}const i=Number(a.bet_count)||0;return i>1?`x${i} ${n("rewards.level_card_bonus_block.free_spins")}`:n("rewards.level_card_bonus_block.free_spin")}if(t.type===$n.BOOST_CASHBACK&&a.cashbackPercent!=null)return`${a.cashbackPercent}%`;if(t.type===$n.CUSTOM&&typeof a.name=="string"&&a.name)return a.name;const l=Number(a.amount)||0,r=typeof a.currency=="string"?a.currency:"";return l?`${Ke(l,r)}${r?` ${r}`:""}`:o7(t)},nO=({reward:t})=>{const a=C(C3).includes(t.userRewardId),l=ls(),r=wj(t,l),i=i7(t),o=tO(t,i);return e.jsxs("div",{"data-testid":"notification-reward-item","data-user-reward-id":t.userRewardId,"data-reward-type":t.type,"data-reward-art-kind":i,className:"flex flex-col gap-2 rounded-lg bg-secondary p-3",children:[e.jsxs("div",{className:"flex flex-row items-start justify-between gap-2",children:[e.jsxs("div",{className:"flex min-w-0 flex-row items-center gap-2.5",children:[e.jsx(ce,{src:o,alt:"",className:"size-9 shrink-0 rounded-lg object-cover",loading:"lazy"}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[e.jsx("p",{className:"truncate text-sm font-medium text-white",children:sO(t,i)}),e.jsx("p",{className:"truncate text-xs font-medium text-brandblue-100",children:aO(t,i)})]})]}),e.jsx("button",{type:"button","aria-label":n("notification.action.reject"),"data-testid":"notification-reward-dismiss",className:"shrink-0 transition-opacity hover:opacity-70",onClick:()=>yj(t.userRewardId),children:e.jsx(j1,{})})]}),t.availableUntilTimestamp?e.jsx(tn,{showDays:!0,targetTimestamp:t.availableUntilTimestamp}):null,e.jsx(O,{variant:r?"destructive":"primary",size:"sm","data-testid":"notification-reward-claim","data-expired":r?"true":void 0,className:"w-full rounded-md",disabled:r||a,onClick:()=>j3({userRewardId:t.userRewardId,type:t.type,metadata:t.metadata??{}}),children:n(r?"notification.action.expired":"notification.action.accept")})]})},Js=e.jsxs(e.Fragment,{children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),uc=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("size-5 shrink-0",t),viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M6.28586 4.1875H4.79891C4.34609 4.1875 3.97859 4.555 3.97859 5.00781V6.41711H6.28586V4.1875Z",fill:`url(#${s}-printerGold)`}),e.jsx("path",{d:"M28.0214 5.00781C28.0214 4.555 27.6539 4.1875 27.2011 4.1875H25.7141V6.41711H28.0214V5.00781Z",fill:`url(#${s}-printerGold)`}),e.jsx("path",{d:"M24.0735 2.82031C24.0735 2.3675 23.706 2 23.2532 2H8.7468C8.29398 2 7.92648 2.3675 7.92648 2.82031V6.41711H24.0735V2.82031Z",fill:`url(#${s}-printerGold)`}),e.jsx("path",{d:"M29.1797 8.05773H2.82031C2.3675 8.05773 2 8.42523 2 8.87805V21.2445C2 21.6973 2.3675 22.0648 2.82031 22.0648H6.83273V16.2734H5.83031C5.38023 16.2734 5.01 15.9032 5.01 15.4531C5.01 15.003 5.38023 14.6328 5.83031 14.6328H26.1697C26.6198 14.6328 26.99 15.003 26.99 15.4531C26.99 15.9032 26.6198 16.2734 26.1697 16.2734H25.1673V22.0648H29.1797C29.6325 22.0648 30 21.6973 30 21.2445V8.87805C30 8.42523 29.6325 8.05773 29.1797 8.05773ZM22.6123 12.4355C22.1595 12.4355 21.792 12.068 21.792 11.6152C21.792 11.1623 22.1595 10.7948 22.6123 10.7948C23.0656 10.7948 23.4326 11.1623 23.4326 11.6152C23.4326 12.068 23.0656 12.4355 22.6123 12.4355ZM25.8962 12.4355C25.4434 12.4355 25.0759 12.068 25.0759 11.6152C25.0759 11.1623 25.4434 10.7948 25.8962 10.7948C26.3491 10.7948 26.7166 11.1623 26.7166 11.6152C26.7166 12.068 26.3491 12.4355 25.8962 12.4355Z",fill:`url(#${s}-printerGold)`}),e.jsx("path",{d:"M8.47336 29.1797C8.47336 29.6325 8.84031 30 9.29367 30H22.7063C23.1597 30 23.5266 29.6325 23.5266 29.1797V16.2735H8.47336V29.1797ZM13.7737 25.1186C14.0214 24.7391 14.53 24.633 14.909 24.8807C15.3186 25.1487 15.4422 25.182 15.9234 25.1547C16.3002 25.1328 16.6524 24.8528 16.7115 24.47C16.7809 24.021 16.3467 23.8777 16 23.7591C15.6998 23.6737 15.446 23.5698 15.2415 23.4709C14.938 23.3232 14.6684 23.1925 14.4042 22.9234C14.3145 22.8321 14.1018 22.6112 13.9623 22.2655C13.777 21.8073 13.7742 21.2828 13.9711 20.7824C14.1877 20.2328 14.618 19.8095 15.1496 19.5886V19.2501C15.1512 19.2003 15.1682 18.8208 15.487 18.5873C15.6976 18.4325 15.9218 18.4281 16 18.4303C16.4391 18.4462 16.7902 18.8071 16.7902 19.2501V19.529C17.1227 19.6274 17.4355 19.7898 17.6997 20.0157C18.0612 20.3241 18.1273 20.9219 17.7664 21.2588C17.406 21.5951 16.8838 21.4649 16.6021 21.2347C16.5928 21.227 16.3752 21.0537 16 21.0591C15.9196 21.0662 15.7993 21.0903 15.685 21.1723C15.6577 21.192 15.4181 21.3692 15.4542 21.5754C15.469 21.6563 15.5188 21.7187 15.5521 21.7515C15.6522 21.8494 15.8135 21.9336 16 22.0113C16.2855 22.1294 16.5999 22.2245 16.8947 22.3394C17.9337 22.7441 18.4981 23.6814 18.3319 24.727C18.1941 25.5944 17.5892 26.307 16.7902 26.622V27.0234C16.7902 27.4663 16.4391 27.8273 16 27.8431C15.5368 27.8612 15.1485 27.4866 15.1496 27.0234V26.7548C14.769 26.6843 14.4321 26.529 14.0116 26.2539C13.632 26.0062 13.5259 25.4976 13.7737 25.1186Z",fill:`url(#${s}-printerGold)`}),e.jsx("defs",{children:e.jsx("linearGradient",{id:`${s}-printerGold`,x1:"2",y1:"2",x2:"30.1339",y2:"2.13645",gradientUnits:"userSpaceOnUse",children:Js})})]})},Z1=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("size-5 shrink-0",t),viewBox:"0 0 18 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M9.00087 16.6262C10.1828 16.6262 11.3532 16.4112 12.4451 15.9934C13.5371 15.5757 14.5293 14.9633 15.3651 14.1914C16.2008 13.4195 16.8638 12.5031 17.3161 11.4946C17.7684 10.486 18.0012 9.40504 18.0012 8.31339C18.0012 7.22174 17.7684 6.14078 17.3161 5.13223C16.8638 4.12368 16.2009 3.20728 15.3651 2.43537C14.5294 1.66346 13.5372 1.05115 12.4452 0.633401C11.3532 0.215649 10.1829 0.000636701 9.00094 0.000641043C6.6139 0.000649813 4.32463 0.876466 2.63674 2.43542C0.94884 3.99438 0.000585511 6.10877 0.000576545 8.31345C0.000567579 10.5181 0.948805 12.6325 2.63669 14.1915C4.32457 15.7504 6.61384 16.6262 9.00087 16.6262Z",fill:"#B45800"}),e.jsx("g",{filter:`url(#${s}-orangeHighlight)`,children:e.jsx("path",{d:"M9.00087 16.2009C10.1828 16.2009
511.3532 15.9913 12.4452 15.5843C13.5371 15.1772 14.5293 14.5805 15.3651 13.8284C16.2008 13.0762 16.8638 12.1833 17.3161 11.2005C17.7684 10.2177 18.0012 9.16444 18.0012 8.10071C18.0012 7.03699 17.7684 5.98368 17.3161 5.00093C16.8638 4.01818 16.2009 3.12524 15.3651 2.37307C14.5294 1.62091 13.5372 1.02426 12.4452 0.617198C11.3532 0.210133 10.1829 0.000621443 9.00094 0.000625784C6.6139 0.000634553 4.32463 0.854046 2.63674 2.37312C0.948841 3.89219 0.000586147 5.95249 0.00057741 8.10078C0.000568673 10.2491 0.948806 12.3094 2.63669 13.8284C4.32457 15.3475 6.61384 16.2009 9.00087 16.2009Z",fill:`url(#${s}-orangeGradient)`})}),e.jsx("g",{filter:`url(#${s}-orangeShade)`,children:e.jsx("path",{d:"M16.501 8.10072C16.501 9.89096 15.7108 11.6079 14.3042 12.8738C12.8976 14.1397 10.9899 14.8508 9.00071 14.8509C7.01151 14.8509 5.10379 14.1397 3.69722 12.8738C2.29065 11.6079 1.50045 9.89102 1.50046 8.10078C1.50047 6.31054 2.29068 4.59362 3.69726 3.32773C5.10384 2.06184 7.01156 1.35066 9.00076 1.35065C10.99 1.35065 12.8977 2.06181 14.3042 3.32769C15.7108 4.59358 16.501 6.31049 16.501 8.10072Z",fill:"#D66C07"})}),e.jsx("path",{d:"M7.85016 3.65518C7.88135 3.66131 7.91917 3.67672 7.96344 3.69912C8.00836 3.72186 8.06305 3.75303 8.12751 3.79404C8.8045 4.22525 8.90296 4.89044 8.97031 5.38576C9.04499 5.93407 8.96233 6.43855 8.87557 6.8017C8.99907 6.75865 9.12306 6.71861 9.24473 6.68129L9.25547 6.67777C9.17566 6.64552 9.10898 6.58594 9.07285 6.50639
5C8.99843 6.34187 9.08364 6.15265 9.26328 6.0845C9.28191 6.07745 9.30091 6.07178 9.31993 6.0678L9.21837 4.26778C9.21718 4.24676 9.23451 4.22854 9.25743 4.22735C9.28045 4.22626 9.30018 4.24231 9.30138 4.26338L9.40294 6.05989C9.53911 6.06181 9.66783 6.13685 9.72326 6.25941C9.7704 6.36387 9.75295 6.47844 9.6881 6.56527C10.3572 6.41813 11.2626 6.3414 12.0095 6.66194L12.1569 6.73138L12.3435 6.84036C12.5254 6.95963 12.6917 7.11051 12.8357 7.29828C13.6296 8.33435 13.1745 8.99635 12.654 9.57556C12.654 9.57556 12.1737 9.44204 11.4313 9.56502C11.397 9.5707 11.3625 9.57811 11.3278 9.58611L11.1413 9.63797C10.7104 9.77743 10.3115 10.0294 10.3092 10.0308C10.3144 10.0294 10.7541 9.9051 11.1969 9.8243L11.4665 9.78123C11.5539 9.76979 11.638 9.76179 11.7145 9.75838C12.2905 9.7329 12.5794 9.75362 12.7575 9.81287C12.9285 9.87021 12.9752 9.96206 12.9001 10.0932C12.7109 10.4269 12.2769 10.6141 11.8327 10.7718C11.8768 11.0255 11.886 11.6329 11.652 12.0357C11.414 12.4453 10.9686 12.9254 10.2193 12.9954C9.87704 13.0276 9.43721 12.979 8.50542 12.6412C8.4222 12.6111 8.33504 12.5786 8.24369 12.5437C7.52205 12.2674 6.7173 12.7589 6.4653 12.9128C6.41128 12.9458 6.38294 12.9633 6.3862 12.9541C6.61858 12.396 6.84395 11.9891 7.31983 11.6393C7.68234 11.3729 8.04577 11.3273 8.44585 11.3738C8.54159 11.385 8.63956 11.3917 8.73688 11.3949C8.70497 11.3415 8.67491 11.2865 8.64703 11.2315C8.56617 11.2294 8.48215 11.2272 8.39507 11.2244C8.06572 11.2139 7.77619 11.1393 7.47609 11.0627L7.44484 11.0557C7.22283 11.2531 7.03635 11.3517 6.89306 11.3888C6.80841 11.4107 6.73651 11.4115 6.68114 11.3967C6.
562584 11.3819 6.58375 11.3494 6.56981 11.3053C6.56248 11.2821 6.56476 11.2562 6.57078 11.2323C6.577 11.2079 6.58784 11.1808 6.60106 11.1524C6.62454 11.1019 6.65815 11.0425 6.69383 10.9792L6.7036 10.9625C6.69731 10.959 6.69043 10.955 6.68309 10.9511L6.67626 10.9476L6.67137 10.9449L6.66747 10.9423C6.64445 10.9297 6.61774 10.9142 6.58739 10.8922C6.4709 10.8823 6.34814 10.8785 6.21823 10.8817C6.06612 10.8857 5.54479 11.0239 5.4389 11.5373C5.3909 11.7695 5.37028 12.0002 5.35198 12.2044C5.32228 12.536 5.29811 12.7993 5.17326 12.8935C5.0967 12.9513 4.87011 12.6976 4.76016 12.3741C4.72025 12.2569 4.69832 12.1517 4.68204 12.0735C4.65949 11.9651 4.64727 11.9075 4.61172 11.9364C4.18157 12.2851 3.84601 12.4739 3.75525 12.3275C3.66827 12.1854 3.98896 11.5596 4.32363 11.1735C4.47671 10.997 4.63114 10.8775 4.76408 10.7753C4.92945 10.6481 5.06104 10.5467 5.11468 10.3921C5.25445 9.9874 5.4278 9.59899 5.63814 9.2372C5.63004 9.19103 5.62547 9.1437 5.62349 9.09921C5.61944 9.00729 5.62623 8.92217 5.63521 8.86981C5.65781 8.7372 5.70555 8.58666 5.8862 8.37674C5.9155 8.34241 5.99168 8.26062 6.09226 8.16052C6.08579 8.15807 6.07915 8.15529 6.07273 8.15261C5.95595 8.10356 5.86491 8.02565 5.81393 7.93728C5.76299 7.8489 5.75129 7.74834 5.79635 7.65866C5.88706 7.47831 6.15578 7.43117 6.38524 7.52682C6.38913 7.52846 6.39313 7.53039 6.39696 7.53209C6.34504 7.39913 6.36987 7.25465 6.48486 7.17086C6.63845 7.05907 6.87118 7.11518 7.00734 7.27105C7.04343 7.3126 7.07099 7.35916 7.08839 7.40641C7.10582 7.39849 7.12283 7.39083 7.13918 7.38443C7.23708 7.34619 7.32399 7.33227 7.40188 7.35982C7.43093 7.37 7.45578 7.38446 7.47708 7.40289C7.50683 7.38659 7.53664 7.37027 7.56693 7.35455C7.78101 7.24341 8.04508 7.12327 8.32868 7.00825C8.2537 6.9005 8.11418 6.75355 7.83452 6.50727C7.77858 6.45816 7.65867 6.38155 7.52396 6.29897C7.48427 6.27463 7.44329 6.24966 7.40286 6.22514L7.14504 6.06518C7.12623 6.05298 7.10898 6.03903 7.09914 6.02211C7.08748 6.002 7.08778 5.98019 7.10012 5.96058C7.11028 5.94451 7.12655 5.93284 7.14114 5.92455C7.15656 5.9158 7.17527 5.90719 7.19485 5.89906C7.20769 5.89373 7.22161 5.88804 7.23587 5.88236C7.31144 5.85224 7.40471 5.81498 7.48588 5.75228C7.66366 5.61486 7.84716 5.37139 7.95465 5.09836C8.06224 4.82502 8.09138 4.52879 7.97223 4.28448C7.9494 4.23765 7.92653 4.19186 7.90484 4.14825C7.87342 4.08506 7.84361 4.02584 7.8189 3.97335C7.77768 3.88575 7.74581 3.80937 7.73882 3.75625C7.73552 3.73103 7.73599 3.69863 7.75836 3.67539C7.78329 3.64952 7.82017 3.64932 7.85016 3.65518ZM9.68419 7.6771C9.66683 7.691 9.66511 7.7157 9.68028 7.7316L10.1354 8.20797C10.1138 8.20961 10.0879 8.21153 10.0592 8.21324C9.96247 8.21903 9.8292 8.2236 9.68419 8.22116C9.53903 8.21871 9.38268 8.20863 9.23886 8.18424C9.09454 8.15976 8.96624 8.12176 8.87459 8.06471C8.85556 8.05285 8.82899 8.05699 8.81599 8.07438C8.80302 8.09183 8.80865 8.11611 8.82771 8.12799C8.90669 8.17713 9.00559 8.21264 9.11288 8.23786C9.10265 8.28447 9.08377 8.39355 9.10702 8.49186C9.17241 8.76646 9.45595 8.91842 9.72032 8.87068C10.0966 8.80296 10.0749 8.40283 10.0612 8.28971L10.0641 8.28971C10.1133 8.28677 10.1535 8.28329 10.1813 8.28092C10.1952 8.27973 10.2061 8.27899 10.2135 8.27828L10.2223 8.2774L10.2242 8.27653L10.2252 8.27653C10.2405 8.27477 10.2539 8.26592 10.2594 8.25279C10.2649 8.23966 10.2616 8.2248 10.2516 8.21412L9.74279 7.68062C9.72766 7.66506 9.70145 7.66354 9.68419 7.6771ZM9.92346 8.29586C9.95262 8.31785 9.97516 8.34924 9.98596 8.38639C10.0115 8.47488 9.95942 8.56338 9.86974 8.58503C9.78009 8.60583 9.68674 8.55155 9.66173 8.46374C9.6434 8.40052 9.66515 8.33736 9.71153 8.2985C9.78709 8.29928 9.85885 8.29799 9.92346 8.29586Z",fill:"white"}),e.jsxs("defs",{children:[e.jsxs("filter",{id:`${s}-orangeHighlight`,x:"0.000610352",y:"0.000628208",width:"18.0006",height:"16.2002",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.342833"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.75 0"}),e.jsx("feBlend",{mode:"overlay",in2:"shape",result:"effect1_innerShadow_orange"})]}),e.jsxs("filter",{id:`${s}-orangeShade`,x:"1.50049",y:"1.35065",width:"15.0005",height:"13.5002",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"Backgroun
5dImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.342833"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_orange"})]}),e.jsxs("linearGradient",{id:`${s}-orangeGradient`,x1:"9.00094",y1:"0.000625784",x2:"9.001",y2:"16.2009",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFC839"}),e.jsx("stop",{offset:"1",stopColor:"#FF8819"})]})]})]})},$m=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("shrink-0",t),viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M9 25.3489C8.99318 26.4437 9.33656 27.512 9.98 28.3978C5.81111 28.1333 2 26.6089 2 23.7933V22.4244C4.06216 23.8665 6.48719 24.7018 9 24.8356V25.3489ZM9.06222 19.0178C9.05634 19.0239 9.0519 19.0313 9.04921 19.0394C9.04652 19.0474 9.04565 19.056 9.04667 19.0644C9.01575 19.2181 9.00011 19.3744 9 19.5311V22.5022C5.23556 22.0667 2 20.5733 2 17.9756V16.6067C4.0705 18.0667 6.51575 18.9034 9.04667 19.0178H9.06222ZM15.1289 13.3244C13.0522 13.8566 11.2094 15.0597 9.88667 16.7467C5.74889 16.4822 2 14.9578 2 12.1578V11.1C4.75418 12.9342 8.02967 13.824 11.3333 13.6356C12.6051 13.6402 13.8749 13.5361 15.1289 13.3244ZM20.6667 11.1V12.1578C20.6647 12.2879 20.6543 12.4178 20.6356 12.5467C19.4678 12.5464 18.3021 12.6452 17.1511 12.8422C18.421 12.4849 19.6132 11.8941 20.6667 11.1ZM11.3333 2C6.66667 2 2 3.55556 2 6.65111C2 9.77778 6.66667 11.3022 11.3333 11.3022C16 11.3022 20.6667 9.77778 20.6667 6.65111C20.6667 3.55556 16 2 11.3333 2ZM20.6667 26.5156C17.3453 26.6602 14.0678 25.7152 11.3333 23.8244V25.3489C11.3333 28.4444 16 30 20.6667 30C25.3333 30 30 28.4444 30 25.3489V23.8244C27.2656 25.7152 23.988 26.6602 20.6667 26.5156ZM20.6667 14.88C15.5178 14.88 11.3333 16.9644 11.3333 19.5311C11.3333 22.0978 15.5178 24.1822 20.6667 24.1822C25.8156 24.1822 30 22.0978 30 19.5311C30 16.9644 25.8156 14.88 20.6667 14.88Z",fill:`url(#${s}-coinsStackGold)`}),e.jsx("defs",{children:e.jsx("linearGradient",{id:`${s}-coinsStackGold`,x1:"2",y1:"2",x2:"30.1339",y2:"2.13645",gradientUnits:"userSpaceOnUse",children:Js})})]})},lO=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("shrink-0",t),viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M21.3333 10.0002C21.3333 12.5775 19.244 14.6668 16.6667 14.6668C14.0893 14.6668 12 12.5775 12 10.0002C12 7.42283 14.0893 5.3335 16.6667 5.3335C19.244 5.3335 21.3333 7.42283 21.3333 10.0002Z",fill:`url(#${s}-holdersGoldHead)`}),e.jsx("path",{d:"M24.666 22.0002C24.666 24.5775 21.0843 26.6668 16.666 26.6668C12.2477 26.6668 8.66602 24.5775 8.66602 22.0002C8.66602 19.4228 12.2477 17.3335 16.666 17.3335C21.0843 17.3335 24.666 19.4228 24.666 22.0002Z",fill:`url(#${s}-holdersGoldBody)`}),e.jsx("path",{d:"M10.1614 6.6665C10.398 6.6665 10.629 6.68972 10.8521 6.73392C10.3087 7.69911 9.9987 8.81327 9.9987 9.99984C9.9987 11.1575 10.2938 12.2463 10.8128 13.195C10.602 13.2343 10.3842 13.2549 10.1614 13.2549C8.27554 13.2549 6.74673 11.78 6.74673 9.96068C6.74673 8.14136 8.27554 6.6665 10.1614 6.6665Z",fill:`url(#${s}-holdersGoldLeft)`}),e.jsx("path",{d:"M7.92848 25.3145C7.17126 24.4093 6.66536 23.2985 6.66536 21.9998C6.66536 20.7409 7.14079 19.6585 7.85974 18.7688C5.32016 18.9658 3.33203 20.3548 3.33203 22.039C3.33203 23.7391 5.3551 25.1383 7.92848 25.3145Z",fill:`url(#${s}-holdersGoldLeft)`}),e.jsx("path",{d:"M23.3319 9.99984C23.3319 11.1575 23.0368 12.2463 22.5178 13.195C22.7287 13.2343 22.9464 13.2549 23.1692 13.2549C25.0551 13.2549 26.5839 11.78 26.5839 9.96068C26.5839 8.14136 25.0551 6.6665 23.1692 6.6665C22.9326 6.6665 22.7016 6.68972 22.4785 6.73392C23.0219 7.69911 23.3319 8.81327 23.3319 9.99984Z",fill:`url(#${s}-holdersGoldRight)`}),e.jsx("path",{d:"M25.4021 25.3145C27.9755 25.1383 29.9986 23.7391 29.9986 22.039C29.9986 20.3548 28.0105 18.9658 25.4709 18.7688C26.1898 19.6585 26.6653 20.7409 26.6653 21.9998C26.6653 23.2985 26.1594 24.4093 25.4021 25.3145Z",fill:`url(#${s}-holdersGoldRight)`}),e.jsxs("defs",{children:[e.jsx("linearGradient",{id:`${s}-holdersGoldHead`,x1:"12",y1:"5.3335",x2:"21.378",y2:"5.37898",gradientUnits:"userSpaceOnUse",children:Js}),e.jsx("linearGradient",{id:`${s}-holdersGoldBody`,x1:"8.66602",y1:"17.3335",x2:"24.7418",y2:"17.4672",gradientUnits:"userSpaceOnUse",children:Js}),e.jsx("linearGradient",{id:`${s}-holdersGoldLeft`,x1:"3.33203",y1:"6.6665",x2:"10.8882",y2:"6.68128",gradientUnits:"userSpaceOnUse",children:Js}),e.jsx("linearGradient",{id:`${s}-holdersGoldRight`,x1:"22.4785",y1:"6.6665",x2:"30.0347",y2:"6.68128",gradientUnits:"userSpaceOnUse",children:Js})]})]})},H6=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("shrink-0",t),viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M15.9997 1.33331C13.0989 1.33331 10.2632 2.1935 7.85132 3.80509C5.4394 5.41669 3.55953 7.70731 2.44945 10.3873C1.33936 13.0673 1.04891 16.0162 1.61483 18.8613C2.18075 21.7064 3.57761 24.3197 5.62878 26.3709C7.67995 28.422 10.2933 29.8189 13.1384 30.3848C15.9834 30.9507 18.9324 30.6603 21.6124 29.5502C24.2924 28.4401 26.583 26.5603 28.1946 24.1483C29.8062 21.7364 30.6663 18.9008 30.6663 16C30.6618 12.1115 29.1151 8.38369 26.3655 5.63415C23.616 2.88461 19.8881 1.3379 15.9997 1.33331ZM15.9997 28C13.6263 28 11.3062 27.2962 9.33284 25.9776C7.35945 24.659 5.82138 22.7849 4.91313 20.5922C4.00488 18.3995 3.76724 15.9867 4.23026 13.6589C4.69328 11.3311 5.83617 9.19293 7.5144 7.5147C9.19263 5.83647 11.3308 4.69358 13.6586 4.23056C15.9864 3.76753 18.3992 4.00517 20.5919 4.91342C22.7846 5.82168 24.6587 7.35975 25.9773 9.33314C27.2959 11.3065 27.9997 13.6266 27.9997 16C27.9958 19.1814 26.7303 22.2314 24.4807 24.481C22.2311 26.7306 19.1811 27.9961 15.9997 28Z",fill:`url(#${s}-clockGold)`}),e.jsx("path",{d:"M17.333 15.448V7.99998C17.333 7.64636 17.1925 7.30722 16.9425 7.05717C16.6924 6.80712 16.3533 6.66665 15.9997 6.66665C15.6461 6.66665 15.3069 6.80712 15.0569 7.05717C14.8068 7.30722 14.6663 7.64636 14.6663 7.99998V16C14.6664 16.3536 14.8069 16.6927 15.057 16.9426L19.057 20.9426C19.3085 21.1855 19.6453 21.3199 19.9949 21.3169C20.3445 21.3138 20.6789 21.1736 20.9261 20.9264C21.1733 20.6792 21.3135 20.3448 21.3166 19.9952C21.3196 19.6456 21.1852 19.3088 20.9423 19.0573L17.333 15.448Z",fill:`url(#${s}-clockGold)`}),e.jsx("defs",{children:e.jsx("linearGradient",{id:`${s}-clockGold`,x1:"1.33301",y1:"1.33331",x2:"30.8066",y2:"1.47626",gradientUnits:"userSpaceOnUse",children:Js})})]})},rO=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("shrink-0",t),viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M5.51125 26.4788C5.85152 26.8265 6.29901 27 6.74507 27C7.19137 27 7.63862 26.8265 7.97889 26.4788L16.0001 18.3049L24.0212 26.4788C24.3617 26.8265 24.809 27 25.255 27C25.7009 27 26.1481 26.8265 26.4889 26.4788C27.1704 25.7843 27.1704 24.6587 26.4889 23.9642L18.4672 15.7905L26.0772 8.03584C26.7589 7.34162 26.7589 6.21549 26.0772 5.52127C25.3959 4.82657 24.2913 4.82657 23.6096 5.52127L15.9998 13.2757L8.39033 5.52103C7.70882 4.82632 6.60395 4.82632 5.92292 5.52103C5.24118 6.21525 5.24118 7.34138 5.92292 8.0356L13.5327 15.7903L5.51173 23.964C4.8295 24.6582 4.8295 25.7838 5.51125 26.4788Z",fill:`url(#${s}-crossGold)`}),e.jsx("defs",{children:e.jsx("linearGradient",{id:`${s}-crossGold`,x1:"5",y1:"5",x2:"27.1052",y2:"5.10721",gradientUnits:"userSpaceOnUse",children:Js})})]})},iO=({className:t})=>{const s=m.useId();return e.jsxs("svg",{className:g("shrink-0",t),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M22.5054 13.1781C22.632 13.3248 22.692 13.5248 22.6587 13.7182C21.7854 18.9048 17.332 22.6648 12.072 22.6648C6.15202 22.6648 1.33203 17.8515 1.33203 11.9315C1.33203 6.66482 5.
509867 2.21149 10.2787 1.34479C10.472 1.31147 10.672 1.36481 10.8187 1.49148C10.972 1.61815 11.0587 1.80479 11.0587 1.99815V6.47146C11.0587 6.76479 10.8654 7.01813 10.592 7.1048C8.4587 7.77147 7.03202 9.70482 7.03202 11.9315C7.03202 14.7115 9.29203 16.9715 12.072 16.9715C14.292 16.9715 16.232 15.5381 16.892 13.4115C16.9787 13.1315 17.2387 12.9381 17.5253 12.9381H21.9987C22.1987 12.9381 22.3787 13.0248 22.5054 13.1781Z",fill:`url(#${s}-apyGold)`}),e.jsx("path",{d:"M13.0854 6.47147V1.99816C13.0854 1.8048 13.1654 1.61816 13.3187 1.49149C13.4654 1.36482 13.6654 1.31148 13.8587 1.3448C18.3654 2.09814 21.9054 5.6315 22.6587 10.1381C22.692 10.3315 22.6321 10.5315 22.5054 10.6848C22.3787 10.8315 22.1987 10.9182 21.9987 10.9182H17.5254C17.2387 10.9182 16.9787 10.7248 16.892 10.4515C16.3987 8.85147 15.1454 7.60481 13.5521 7.10481C13.272 7.01814 13.0854 6.7648 13.0854 6.47147Z",fill:`url(#${s}-apyGold)`}),e.jsx("defs",{children:e.jsx("linearGradient",{id:`${s}-apyGold`,x1:"1.33203",y1:"1.33508",x2:"22.7698",y2:"1.43909",gradientUnits:"userSpaceOnUse",children:Js})})]})},oO=({className:t})=>e.jsx("svg",{className:g("shrink-0",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M10.0003 1.66669C5.39616 1.66669 1.66699 5.39585 1.66699 10C1.66699 14.6042 5.39616 18.3334 10.0003 18.3334C14.6045 18.3334 18.3337 14.6042 18.3337 10C18.3337 5.39585 14.6045 1.66669 10.0003 1.66669ZM10.8337 14.1667H9.16699V9.16669H10.8337V14.1667ZM10.8337 7.50002H9.16699V5.83335H10.8337V7.50002Z",fill:"currentColor"})}),cO=({className:t})=>e.jsx("svg",{className:g("shrink-0",t),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M23.2963 22.4934C22.9558 22.4934 22.6602 22.2472 22.6033 21.9058C22.0959 18.9432 19.2271 13.7725 11.95 13.4703V17.2715C11.95 17.5349 11.8028 17.7762 11.5686 17.8968C11.3344 18.0172 11.0525 17.9967 10.8382 17.8437L0.294422 10.3124C0.109641 10.1804 0 9.96728 0 9.74022C0 9.51311 0.109641 9.30002 0.294422 9.16806L10.8382 1.63685C11.0525 1.48375 11.3344 1.46327 11.5686 1.58378C11.8028 1.7043 11.95 1.94561 11.95 2.209V6.06752C16.4482 6.5162 24 9.76314 24 21.7902C24 22.1561 23.7195 22.4608 23.3549 22.491C23.3352 22.4926 23.3157 22.4934 23.2963 22.4934Z",fill:"currentColor"})}),dO=({className:t})=>e.jsx("svg",{className:g("shrink-0",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M6.875 5.625a.625.625 0 0 0 0 1.25h4.616l-6.183 6.183a.625.625 0 1 0 .884.884l6.183-6.183v4.616a.625.625 0 1 0 1.25 0V6.25a.625.625 0 0 0-.625-.625H6.875Z",fill:"currentColor"})}),uO="radial-gradient(60% 130% at 50% 50%, #2f3ec8 0%, #495cde 50%, #637af4 100%)",mO=({notification:t})=>{const s=Y(),a=ls(),{title:l,body:r,amount:i}=DF(t,H1()),o=()=>{const u=_j(t);if(u===null){Ra(t.id);return}Nj(u)},d=()=>{var u;(u=t.cta)!=null&&u.deeplink&&s(wl(t.cta.deeplink))};return e.jsxs("div",{"data-testid":"token-print-notification",className:"flex w-full flex-col gap-3 overflow-hidden rounded-lg bg-highlight p-3",children:[e.jsxs("div",{className:"flex w-full flex-col gap-2",children:[e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(uc,{}),e.jsx("p",{className:"whitespace-nowrap text-sm font-semibold leading-5 text-white",children:l})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("p",{className:"whitespace-nowrap text-xs font-medium leading-[1.125rem] text-brandblue-50",children:Ui(t.createdAt??new Date().toISOString(),a)}),e.jsx("button",{type:"button",className:"flex size-5 shrink-0 items-center justify-center transition-opacity hover:opacity-70","aria-label":n("notification.action.reject"),onClick:o,children:e.jsx(j1,{})})]})]}),e.jsx("p",{className:"w-full text-xs font-medium leading-[1.125rem] text-brandblue-100",children:r})]}),e.jsxs("div",{className:"flex w-full items-center justify-between rounded-lg bg-primary py-0.5 pl-3 pr-0.5",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(Z1,{}),e.jsx("p",{className:"whitespace-nowrap text-sm font-semibold leading-5 text-white","data-testid":"token-print-amount",children:i})]}),e.jsx("button",{type:"button","data-testid":"token-print-notification-cta",className:"flex items-center justify-center rounded-md border border-brandblue-300 px-3 py-2",style:{backgroundImage:uO},onClick:d,children:e.jsx("p",{className:"whitespace-nowrap text-sm font-semibold leading-5 text-white",children:n("notification.tokenPrint.claimable.cta")})})]})]})},Pm="flex size-5 shrink-0 items-center justify-center",xO=()=>e.jsx("span",{className:Pm,children:e.jsxs("svg",{width:"16.6666",height:"17.2917",viewBox:"0 0 16.6666 17.2917",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M16.6666 5.13528L16.6666 5.19572C16.6666 5.91301 16.6666 6.27165 16.4939 6.56508C16.3213 6.85851 16.0078 7.03268 15.3807 7.38103L14.7196 7.74832C15.1752 6.2082 15.3272 4.55345 15.3834 3.13831C15.3858 3.07763 15.3885 3.01621 15.3912 2.95414L15.3932 2.91066C15.9359 3.09913
516.2406 3.23965 16.4307 3.5034C16.6667 3.83077 16.6666 4.26561 16.6666 5.13528Z",fill:"#FBB63F"}),e.jsx("path",{d:"M4.5025e-07 5.13528L2.50368e-06 5.19572C2.19745e-05 5.91301 3.19009e-05 6.27165 0.172689 6.56508C0.345346 6.85851 0.658858 7.03268 1.28587 7.38103L1.94734 7.74852C1.49173 6.20834 1.33973 4.55351 1.28354 3.13831C1.28113 3.07763 1.27842 3.01621 1.27568 2.95414L1.27375 2.91055C0.730839 3.09908 0.426047 3.2396 0.235914 3.5034C-3.40243e-05 3.83077 -2.25303e-05 4.26561 4.5025e-07 5.13528Z",fill:"#FBB63F"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9809 0.288952C11.0442 0.130907 9.81975 0 8.33346 0C6.84717 0 5.6227 0.130907 4.68598 0.288952C3.73704 0.44906 3.26257 0.529113 2.86614 1.01736C2.46971 1.50561 2.49066 2.03331 2.53256 3.08872C2.67641 6.71198 3.4583 11.2375 7.70833 11.6381V14.5833H6.5165C6.11927 14.5833 5.77726 14.8637 5.69935 15.2532L5.54167 16.0417H3.33333C2.98816 16.0417 2.70833 16.3215 2.70833 16.6667C2.70833 17.0118 2.98816 17.2917 3.33333 17.2917H13.3333C13.6785 17.2917 13.9583 17.0118 13.9583 16.6667C13.9583 16.3215 13.6785 16.0417 13.3333 16.0417H11.125L10.9673 15.2532C10.8894 14.8637 10.5474 14.5833 10.1502 14.5833H8.95833V11.6381C13.2086 11.2377 13.9905 6.71205 14.1344 3.08872C14.1763 2.03331 14.1972 1.50561 13.8008 1.01736C13.4044 0.529113 12.9299 0.44906 11.9809 0.288952Z",fill:"#FBB63F"})]})}),Hr="M8.75684 16.25C9.07521 17.3077 9.6753 18.2388 10.4717 18.958H5C4.65482 18.958 4.375 18.6782 4.375 18.333C4.37515 17.988 4.65492 17.708 5 17.708H7.20801L7.36621 16.9199C7.44409 16.5305 7.78555 16.2502 8.18262 16.25H8.75684ZM10 1.66699C11.4863 1.66699 12.7108 1.79801 13.6475 1.95605C14.5963 2.11615 15.0714 2.19536 15.4678 2.68359C15.8641 3.17177 15.8427 3.69978 15.8008 4.75488C15.752 5.98363 15.6292 7.31643 15.3232 8.55664C15.0542 8.52026 14.7795 8.5 14.5 8.5C11.6197 8.5 9.23582 10.4944 8.64258 13.1875C5.03287 12.3604 4.33438 8.15941 4.19922 4.75488C4.15733 3.69978 4.13585 3.17177 4.53223 2.68359C4.92865 2.19538 5.40364 2.11616 6.35254 1.95605C7.28926 1.79801 8.51371 1.66699 10 1.66699ZM2.94238 4.62109C2.94512 4.68297 2.94779 4.7442 2.9502 4.80469C3.00638 6.21989 3.15865 7.87486 3.61426 9.41504L2.95215 9.04785C2.3252 8.69954 2.01152 8.52486 1.83887 8.23145C1.66641 7.93808 1.66701 7.57932 1.66699 6.8623V6.80176C1.66697 5.93219 1.66641 5.49727 1.90234 5.16992C2.09248 4.90614 2.39754 4.76567 2.94043 4.57715L2.94238 4.62109ZM17.0596 4.57715C17.6023 4.76562 17.9076 4.90617 18.0977 5.16992C18.3335 5.49726 18.333 5.93231 18.333 6.80176V6.8623C18.333 7.57953 18.3328 7.93803 18.1602 8.23145C17.9875 8.52487 17.6739 8.6995 17.0469 9.04785L17.0332 9.05469C16.8715 8.97992 16.7064 8.91103 16.5371 8.85059C16.8756 7.47715 17.0004 6.04844 17.0498 4.80469C17.0522 4.7442 17.0549 4.68297 17.0576 4.62109L17.0596 4.57715Z",mc=({children:t})=>e.jsx("span",{className:Pm,children:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:t})}),fO=()=>e.jsxs(mc,{children:[e.jsx("path",{d:Hr,fill:"#ADAFCE"}),e.jsx("path",{d:"M14.5 10C17 10 19 12 19 14.5C19 17 17 19 14.5 19C12 19 10 17 10 14.5C10 12 12 10 14.5 10ZM14.5 12C14.2188 12 14 12.2188 14 12.5V14H12.5C12.2188 14 12 14.2188 12 14.5C12 14.7812 12.2188 15 12.5 15H14V16.5C14 16.7812 14.2188 17 14.5 17C14.7812 17 15 16.7812 15 16.5V15H16.5C16.7812 15 17 14.7812 17 14.5C17 14.2188 16.7812 14 16.5 14H15V12.5C15 12.2188 14.7812 12 14.5 12Z",fill:"#7086FF"})]}),pO=()=>e.jsxs(mc,{children:[e.jsx("path",{d:Hr,fill:"#ADAFCE"}),e.jsx("path",{d:"M10 14.5C10 12 12 10 14.5 10C17 10 19 12 19 14.5C19 17 17 19 14.5 19C12 19 10 17 10 14.5ZM14.5 12C14.2188 12 14 12.2188 14 12.5V14.5C14 14.7812 14.2188 15 14.5 15H16C16.2812 15 16.5 14.7812 16.5 14.5C16.5 14.2188 16.2812 14 16 14H15V12.5C15 12.2188 14.7812 12 14.5 12Z",fill:"#FF4C35"})]}),hO=()=>e.jsxs(mc,{children:[e.jsx("path",{d:Hr,fill:"#FBB63F"}),e.jsx("path",{d:Hr,fill:"#ADAFCE"}),e.jsx("path",{d:"M10 14.5C10 12 12 10 14.5 10C17 10 19 12 19 14.5C19 17 17 19 14.5 19C12 19 10 17 10 14.5ZM14 12V12.25C13.3125 12.2812 12.75 12.875 12.75 13.5625C12.75 14.2188 13.2188 14.75 13.8438 14.875L15.25 15.125C15.375 15.1562 15.5 15.2812 15.5 15.4375C1
55.5 15.625 15.3438 15.75 15.1875 15.75H13.5C13.2188 15.75 13 15.9688 13 16.25C13 16.5312 13.2188 16.75 13.5 16.75H14V17C14 17.2812 14.2188 17.5 14.5 17.5C14.7812 17.5 15 17.2812 15 17V16.75H15.1875C15.9062 16.75 16.5 16.1562 16.5 15.4375C16.5 14.7812 16.0312 14.25 15.4062 14.125L14 13.875C13.875 13.8438 13.75 13.7188 13.75 13.5625C13.75 13.4062 13.9062 13.25 14.0625 13.25H15.5C15.7812 13.25 16 13.0312 16 12.75C16 12.4688 15.7812 12.25 15.5 12.25H15V12C15 11.7188 14.7812 11.5 14.5 11.5C14.2188 11.5 14 11.7188 14 12Z",fill:"#73DA69"})]}),gO={cup:xO,medalAdded:fO,bell:pO,medalWon:hO},bO="radial-gradient(60% 130% at 50% 50%, #2f3ec8 0%, #495cde 50%, #637af4 100%)",U6=({notification:t})=>{const s=Y(),a=ls(),l=C(d7),{meta:r,title:i,body:o,tileName:d,rankValue:u,tileMeta:c,tileImage:x,amount:p,currency:f,isPayoutCredited:h,isPayoutClaimable:b,payoutId:v,countdownTarget:j}=VF(t),y=gO[r.icon],N=r.variant==="amount"&&h,k=r.variant==="amount"&&b?v:null,w=k!==null,S=w&&l.includes(k),M=w?n("notification.action.accept"):N?n("notification.action.view"):r.cta,_=w?n("notification.tournament.expires_in"):r.footer,A=w?n7({createdAt:t.createdAt,activeUntil:t.expiresAt??void 0},a):null;if(w&&j!==null&&j<=a)return null;const E=()=>{var B;if(w){S||u7(k);return}(B=t.cta)!=null&&B.deeplink&&s(wl(t.cta.deeplink))},L=e.jsx("button",{type:"button","data-testid":"tournament-notification-cta",className:`flex shrink-0 items-center justify-center rounded-md border border-brandblue-300 px-3 py-2 disabled:cursor-not-allowed disabled:opacity-60 ${r.ctaFixed?"min-w-[3.75rem]":""}`,style:{backgroundImage:bO},disabled:S,onClick:E,children:e.jsx("p",{className:"whitespace-nowrap text-sm font-semibold leading-5 text-white",children:M})});return e.jsxs("div",{"data-testid":"tournament-notification",className:"relative flex w-full flex-col gap-3 overflow-hidden rounded-lg bg-highlight p-3",children:[e.jsxs("div",{className:"flex w-full flex-col gap-2",children:[e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(y,{}),e.jsx("p",{className:"whitespace-nowrap text-sm font-semibold leading-5 text-white",children:i})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("p",{className:"whitespace-nowrap text-xs font-medium leading-[1.125rem] text-brandblue-50",children:Ui(t.createdAt??new Date().toISOString(),a)}),w?null:e.jsx("button",{type:"button",className:"flex size-5 shrink-0 items-center justify-center transition-opacity hover:opacity-70","aria-label":n("notification.action.reject"),onClick:()=>Ra(t.id),children:e.jsx(j1,{})})]})]}),e.jsx("p",{className:"w-full text-xs font-medium leading-[1.125rem] text-brandblue-100",children:o})]}),r.variant==="tile"?e.jsxs("div",{className:"flex w-full items-center justify-between rounded-lg bg-primary py-2 pl-2 pr-2.5",children:[e.jsxs("div",{className:"flex h-10 items-start gap-2",children:[e.jsx("div",{className:"size-10 shrink-0 overflow-hidden rounded-md bg-[#353c4a]",children:x?e.jsx(ce,{src:x,alt:"",className:"size-full object-cover",loading:"lazy"}):null}),e.jsxs("div",{className:"flex flex-col gap-0.5 whitespace-nowrap",children:[e.jsx("p",{className:"text-sm font-semibold leading-5 text-white",children:d}),u?e.jsxs("p",{className:"text-xs font-medium leading-[1.125rem] text-brandblue-100",children:["You're ",e.jsx("span",{className:"text-[#fbb63f]",children:u})]}):c?e.jsx("p",{className:"text-xs font-medium leading-[1.125rem] text-brandblue-100",children:c}):null]})]}),L]}):e.jsxs("div",{className:"flex w-full items-center justify-between gap-2 rounded-lg bg-primary py-0.5 pl-3 pr-0.5",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[f?e.jsx(we,{currency:f,className:"size-[1.125rem] shrink-0"}):null,e.jsxs("div",{className:"flex min-w-0 flex-col",children:[e.jsx("p",{className:"whitespace-nowrap text-sm font-semibold leading-5 text-white",children:p}),N?e.jsx("p",{"data-testid":"tournament-notification-credited",className:"truncate text-xs font-medium leading-[1.125rem] text-brandblue-100",children:n("notification.credited")}):null]})]}),L]}),_&&j!==null?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsx("p",{className:"whitespace-nowrap text-xs font-medium leading-[1.125rem] text-brandblue-100",children:_}),e.jsx(tn,{targetTimestamp:j,showDays:!0,className:"gap-1.5"})]}),e.jsx("div",{className:"absolute bottom-0 left-0 h-0.5 w-full bg-primary opacity-50"}),A===null?e.jsx("div",{className:"absolute bottom-0 left-0 h-0.5 w-3/5 bg-brandblue-300"}):e.jsx("div",{"data-testid":"tournament-notification-progress",className:"absolute bottom-0 left-0 h-0.5 bg-brandblue-300",style:{width:`${A*100}%`}})]}):null]})},CO=({notification:t})=>{const s=ls();return e.jsxs("div",{"data-testid":"tribe-drip-notification",className:"flex w-full items-center gap-3 overflow-hidden rounded-lg bg-highlight p-3",children:[e.jsx("span",{className:"shrink-0",children:e.jsx(dc,{active:!0})}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[e.jsx("p",{className:"truncate text-sm font-semibold leading-5 text-white",children:t.title??n("notification.tribeDrip.won.title")}),e.jsx("p",{className:"truncate text-xs font-medium leading-[1.125rem] text-brandblue-100",children:t.body??n("notification.tribeDrip.won.body")})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2",children:[e.jsx("p",{className:"whitespace-nowrap text-xs font-medium leading-[1.125rem] text-brandblue-50",children:Ui(t.createdAt??new Date().toISOString(),s)}),e.jsx("button",{type:"button",className:"flex size-5 shrink-0 items-center justify-center transition-opacity hover:opacity-70","aria-label":n("notification.action.reject"),onClick:()=>Ra(t.id),children:e.jsx(j1,{})})]})]})},xc=({color:t="#6178F3",size:s=24})=>e.jsx("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M5.5415 7.62484C5.5415 6.81928 6.19428 6.1665 6.99984 6.1665C7.80539 6.1665 8.45817 6.81928 8.45817 7.62484C8.45817 8.43
5039 7.80539 9.08317 6.99984 9.08317C6.19428 9.08317 5.5415 8.43039 5.5415 7.62484ZM5.33317 11.729C5.06928 12.0207 4.9165 12.4096 4.9165 12.8332C4.9165 13.2568 5.06928 13.6457 5.33317 13.9373V11.729ZM9.09011 10.4443C8.31928 11.1318 7.83317 12.1318 7.83317 13.2498C7.83317 14.1457 8.14567 14.9651 8.6665 15.604V16.1665C8.6665 16.6248 8.2915 16.9998 7.83317 16.9998H6.1665C5.70817 16.9998 5.33317 16.6248 5.33317 16.1665V15.4721C4.34706 14.9998 3.6665 13.9998 3.6665 12.8332C3.6665 11.2221 4.97206 9.9165 6.58317 9.9165H7.4165C8.0415 9.9165 8.61789 10.1109 9.09011 10.4443ZM15.3332 16.1665V15.604C15.854 14.9582 16.1665 14.1387 16.1665 13.2498C16.1665 12.1387 15.6804 11.1318 14.9096 10.4443C15.3818 10.1109 15.9582 9.9165 16.5832 9.9165H17.4165C19.0276 9.9165 20.3332 11.2221 20.3332 12.8332C20.3332 13.9998 19.6526 14.9998 18.6665 15.4721V16.1665C18.6665 16.6248 18.2915 16.9998 17.8332 16.9998H16.1665C15.7082 16.9998 15.3332 16.6248 15.3332 16.1665ZM15.5415 7.62484C15.5415 6.81928 16.1943 6.1665 16.9998 6.1665C17.8054 6.1665 18.4582 6.81928 18.4582 7.62484C18.4582 8.43039 17.8054 9.08317 16.9998 9.08317C16.1943 9.08317 15.5415 8.43039 15.5415 7.62484ZM18.6665 11.729V13.9373C18.9304 13.6457 19.0832 13.2568 19.0832 12.8332C19.0832 12.4096 18.9304 12.0207 18.6665 11.729ZM11.9998 6.1665C12.9234 6.1665 13.6665 6.90956 13.6665 7.83317C13.6665 8.75678 12.9234 9.49984 11.9998 9.49984C11.0762 9.49984 10.3332 8.75678 10.3332 7.83317C10.3332 6.90956 11.0762 6.1665 11.9998 6.1665ZM9.9165 13.2498C9.9165 13.6734 10.0762 14.0554 10.3332 14.354V12.1457C10.0762 12.4373 9.9165 12.8262 9.9165 13.2498ZM13.6665 12.1457V14.354C13.9304 14.0623 14.0832 13.6734 14.0832 13.2498C14.0832 12.8262 13.9234 12.4373 13.6665 12.1457ZM15.3332 13.2498C15.3332 14.4165 14.6526 15.4165 13.6665 15.8887V16.9998C13.6665 17.4582 13.2915 17.8332 12.8332 17.8332H11.1665C10.7082 17.8332 10.3332 17.4582 10.3332 16.9998V15.8887C9.34706 15.4165 8.6665 14.4165 8.6665 13.2498C8.6665 11.6387 9.97206 10.3332 11.5832 10.3332H12.4165C14.0276 10.3332 15.3332 11.6387 15.3332 13.2498Z",fill:t})}),jO=({notification:t})=>{var i;const s=Y(),a=ls(),l=t.i18nValues??{},r=()=>{var o;(o=t.cta)!=null&&o.deeplink&&s(wl(t.cta.deeplink))};return e.jsxs("div",{"data-testid":"tribe-live-notification",className:"flex w-full items-center gap-3 overflow-hidden rounded-lg bg-highlight p-3",children:[e.jsx("span",{className:"shrink-0",children:e.jsx(xc,{color:"#FF6659",size:28})}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[e.jsx("p",{className:"truncate text-sm font-semibold leading-5 text-white",children:t.title??n("notification.tribe.live.title",l)}),e.jsx("p",{className:"truncate text-xs font-medium leading-[1.125rem] text-brandblue-100",children:t.body??n("notification.tribe.live.body",l)})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2",children:[(i=t.cta)!=null&&i.deeplink?e.jsx("button",{type:"button","data-testid":"tribe-live-notification-cta",onClick:r,className:"flex items-center justify-center rounded-md bg-gradient-primary px-3 py-1.5 text-xs font-medium text-white",children:n(t.cta.labelKey??"notification.tribe.live.cta")}):null,e.jsx("p",{className:"whitespace-nowrap text-xs font-medium leading-[1.125rem] text-brandblue-50",children:Ui(t.createdAt??new Date().toISOString(),a)}),e.jsx("button",{type:"button",className:"flex size-5 shrink-0 items-center justify-center transition-opacity hover:opacity-70","aria-label":n("notification.action.reject"),onClick:()=>Ra(t.id),children:e.jsx(j1,{})})]})]})},V6=()=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7","aria-hidden":"true",children:[e.jsx("path",{d:"M20 12v9H4v-9M22 7H2v5h20V7ZM12 22V7",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7ZM12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7Z",strokeLinecap:"round",strokeLinejoin:"round"})]}),vO=()=>{const[t,s,a,l,r,i,o,d]=C([te,kj,Sj,Aj,Lj,Mj,m7,x7]),u=ls(6e4),c=m.useRef(null),x=Y();if(m.useEffect(()=>{if(!s)return;const h=b=>{c.current&&!c.current.contains(b.target)&&vd()};return document.addEventListener("mousedown",h),()=>document.removeEventListener("mousedown",h)},[s]),!t)return null;const p=a===0&&l.length===0,f=()=>{if(p){s?vd():x(sa);return}s||Bj(),Ej()};return e.jsxs("div",{className:"relative",ref:c,children:[e.jsxs("button",{type:"button","data-testid":"notification-bell","aria-label":n("notification-center.title"),className:g("relative flex size-8 items-center justify-center rounded-md text-brandblue-100 transition-colors hover:bg-buttonv2-nonAccent-bg hover:text-white",s?"bg-buttonv2-nonAccent-bg text-white":""),onClick:f,children:[e.jsx(V6,{}),a>0?e.jsx("span",{"data-testid":"notification-badge",className:"absolute -right-1 -top-1 flex min-w-4 items-center justify-center rounded-full bg-gradient-primary px-1 text-[10px] font-semibold leading-4 text-button-primary-text",children:a}):null]}),s?e.jsxs("div",{"data-testid":"notification-dropdown",className:"absolute right-0 top-12 z-modal max-h-[29.25rem] w-[22.5rem] max-w-[calc(100vw-2rem)] overflow-hidden rounded-lg bg-primary p-4 shadow-lg max-[768px]:fixed max-[768px]:left-4 max-[768px]:right-auto max-[768px]:mt-4 max-[768px]:w-[calc(100vw-2rem)]",children:[e.jsxs("div",{className:"flex flex-row items-center gap-3 border-b border-highlight pb-3 text-brandblue-100",children:[e.jsx(V6,{}),e.jsx("h3",{className:"text-base font-medium leading-normal text-white",children:n("notification-center.title")})]}),e.jsxs("div",{className:"no-scrollbar mt-3 flex max-h-[25.5rem] flex-col gap-2 overflow-y-auto",children:[i.map(h=>e.jsx(Go,{kind:"cashback",entityId:h.id,amount:h.amount,currency:h.currency,createdAtTimestamp:h.createdAtTimestamp,activeUntilTimestamp:h.claimableUntilTimestamp},`cashback-${h.id}`)),o.map(h=>e.jsx(Go,{kind:"periodicBonus",periodicType:h.type,entityId:h.id,amount:h.amount??0,currency:h.currency??"",createdAtTimestamp:h.createdAtTimestamp,activeUntilTimestamp:h.claimableUntilTimestamp},`periodic-${h.id}`)),d.filter(h=>f7(h,u)).map(h=>e.jsx(U6,{notification:RF(h)},`tournament-prize-${h.id}`)),l.map(h=>{var v,j,y,N,k;const b=OF(h);return b==="addEmail"?e.jsx(_F,{notification:h},h.id):b==="tournament"?e.jsx(U6,{notification:h},h.id):b==="tokenPrint"?e.jsx(mO,{notification:h},h.id):b==="tribeDrip"?e.jsx(CO,{notification:h},h.id):b==="tribeLive"?e.jsx(jO,{notification:h},h.id):e.jsx(Go,{kind:"socket",notification:h,entityId:String(((v=h.payload)==null?void 0:v.entityId)??""),amount:Number(((y=(j=h.payload)==null?void 0:j.values)==null?void 0:y.amount)??0),currency:String(((k=(N=h.payload)==null?void 0:N.values)==null?void 0:k.currency)??"")},h.id)}),r.map(h=>e.jsx(nO,{reward:h},h.userRewardId))]})]}):null]})},z6="inline-flex h-8 items-center justify-center rounded-sm px-4 text-sm font-medium transition-colors disabled:opacity-50",wO=()=>{const{openModal:t}=W();return e.jsxs("div",{className:"flex items-center gap-x-2",children:[e.jsx("button",{type:"button","data-testid":"header-login",className:g(z6,"bg-transparent px-0 text-brandblue-100 hover:text-white"),onClick:()=>{X("Navigation - login button clicked"),t(_e,{tab:"login"})},children:n("header.login")}),e.jsxs("button",{type:"button","data-testid":"header-signup",className:g(z6,"bg-buttonv2-primary text-buttonv2-primary-text"),onClick:()=>t(_e,{tab:"register"}),children:[e.jsx("span",{className:"px-1",children:n("header.signup")}),e.jsx(ve,{icon:"arrowLeft",className:"size-5 rotate-180"})]})]})},yO=({avatarUrl:t,isVip:s,userId:a})=>{const{openModal:l}=W();return e.jsx("div",{className:"flex items-center gap-x-2",children:e.jsx(ss,{size:"lg",src:t,isVip:s,userId:a,testId:"user-chip",ariaLabel:n("global_profile"),onClick:()=>{X("Navigation - profile button clicked"),l(pl,{tab:"profile"})}})})},_O=()=>{const[t,s,a,l]=C([te,Je,We,p7]),r=v3(a);return e.jsx("header",{className:"relative border-b border-b-border-header bg-background-header transition-all",children:e.jsx("div",{className:"mx-auto max-w-[1460px] duration-300",children:e.jsxs("div",{className:"flex flex-row items-center justify-between px-4 py-2 pb-2.5",children:[e.jsx("div",{className:"hidden gap-x-6 2xl:flex",children:e.jsx(jF,{})}),e.jsxs(De,{to:ot,className:"flex shrink-0 items-center gap-x-2 xl:hidden","aria-label":"Whale home",children:[e.jsx("img",{src:cc,alt:"Whale",width:36,height:36}),e.jsx("img",{src:"/logo/brand-text.svg",alt:"",height:16,className:"hidden h-4 md:block","aria-hidden":"true"})]}),e.jsx("div",{className:"ml-auto flex flex-row items-center justify-end gap-x-2",children:s?t?e.jsxs(e.Fragment,{children:[e.jsx(gF,{}),e.jsx(vO,{}),e.jsx(yO,{avatarUrl:r,isVip:l,userId:a==null?void 0:a.id})]}):e.jsx(wO,{}):e.jsx("div",{className:"h-9","aria-hidden":"true","data-testid":"header-session-pending"})})]})})})},NO="untitled page",kO=t=>t.trim()===""?NO:t,SO=1500,AO=()=>{let t=null;return(s=SO)=>typeof document>"u"?Promise.resolve(""):(t==null||t(),new Promise(a=>{const l=document.title;let r=!1;const i=document.querySelector("title"),o=()=>{r||(r=!0,d.disconnect(),clearTimeout(u),t===o&&(t=null),a(document.title))},d=new MutationObserver(()=>{document.title!==l&&o()});i&&d.observe(i,{childList:!0,characterData:!0,subtree:!0});const u=setTimeout(o,i?s:0);t=o}
5))},LO=()=>{const{pathname:t}=at(),[s,a]=m.useState(""),l=m.useRef(!1),r=m.useMemo(()=>AO(),[]);return m.useEffect(()=>{if(!l.current){l.current=!0;return}let i=!1;return r().then(o=>{i||a(kO(o))}),()=>{i=!0}},[t,r]),e.jsx("div",{id:"route-announcer","aria-live":"assertive","aria-atomic":"true",className:"absolute left-0 top-0 h-px w-px overflow-hidden whitespace-nowrap [clip-path:inset(50%)] [clip:rect(0_0_0_0)]",children:s})},Un=()=>e.jsx("div",{className:"mx-2 h-px bg-border-primary"}),MO=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"16",viewBox:"0 0 40 16",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M18.9186 7.81651V12.5066H17.4414V0.924118H21.3591C21.8267 0.914279 22.2917 0.99782 22.7271 1.16992C23.1625 1.34202 23.5598 1.59927 23.896 1.92683C24.2356 2.2345 24.5058 2.61183 24.6886 3.03345C24.8714 3.45507 24.9625 3.91122 24.9557 4.37124C24.9654 4.83372 24.8757 5.29284 24.6928 5.71715C24.5099 6.14146 24.2381 6.52091 23.896 6.82951C23.2109 7.48751 22.3653 7.8162 21.3591 7.81559H18.9186V7.81651ZM18.9186 2.3501V6.3933H21.3958C21.6674 6.40141 21.9377 6.35234 22.1893 6.24922C22.441 6.1461 22.6685 5.99121 22.8574 5.79445C23.0452 5.61048 23.1946 5.39044 23.2965 5.14734C23.3985 4.90423 23.451 4.643 23.451 4.37909C23.451 4.11518 23.3985 3.85395 23.2965 3.61085C23.1946 3.36775 23.0452 3.14771 22.8574 2.96374C22.6709 2.76284 22.4442 2.60415 22.1922 2.49819C21.9402 2.39224 21.6687 2.34145 21.3958 2.34917H18.9186V2.3501Z",fill:"white"}),e.jsx("path",{d:"M28.3593 4.32324C29.4511 4.32324 30.3129 4.61713 30.9448 5.20489C31.5766 5.79266 31.8922 6.59853 31.8916 7.6225V12.5067H30.4787V11.4069H30.4145C29.8028 12.3126 28.9893 12.7655 27.9739 12.7655C27.1072 12.7655 26.3821 12.5067 25.7985 11.9892C25.5185 11.7516 25.2946 11.4541 25.1432 11.1184C24.9918 10.7827 24.9166 10.4171 24.9233 10.0484C24.9233 9.22838 25.2309 8.57623 25.8463 8.09197C26.4616 7.60771 27.2831 7.36496 28.3106 7.36373C29.1878 7.36373 29.9101 7.52546 30.4778 7.84892V7.50883C30.4794 7.25747 30.4256 7.00889 30.32 6.78111C30.2145 6.55333 30.06 6.35206 29.8676 6.1919C29.477 5.83691 28.9679 5.64321 28.4418 5.64941C27.6167 5.64941 26.9638 5.99998 26.483 6.70111L25.182 5.87583C25.8976 4.84077 26.9567 4.32324 28.3593 4.32324ZM26.4481 10.0808C26.4471 10.2701 26.4911 10.457 26.5763 10.6258C26.6615 10.7946 26.7856 10.9404 26.9381 11.0511C27.2648 11.31 27.6703 11.4471 28.0859 11.4393C28.7092 11.4382 29.3067 11.1883 29.7474 10.7443C30.2368 10.2804 30.4814 9.73605 30.4814 9.11132C30.0209 8.74166 29.3786 8.55682 28.5547 8.55682C27.9547 8.55682 27.4543 8.70253 27.0537 8.99395C26.6491 9.28968 26.4481 9.64918 26.4481 10.0808Z",fill:"white"}),e.jsx("path",{d:"M40.0031 4.58203L35.0706 16H33.5458L35.3762 12.0049L32.1328 4.58203H33.7384L36.0826 10.2749H36.1147L38.3947 4.58203H40.0031Z",fill:"white"}),e.jsx("path",{d:"M12.949 6.80561C12.9496 6.35217 12.9115 5.89952 12.8353 5.45264H6.60547V8.01534H10.1736C10.1006 8.42464 9.94605 8.8148 9.7193 9.16232C9.49255 9.50984 9.19829 9.80752 8.85425 10.0374V11.7009H10.9838C12.2306 10.5429 12.949 8.83044 12.949 6.80561Z",fill:"#4285F4"}),e.jsx("path",{d:"M6.60537 13.3077C8.38806 13.3077 9.88908 12.7181 10.9836 11.7015L8.85415 10.038C8.26144 10.4428 7.49809 10.6739 6.60537 10.6739C4.88231 10.6739 3.41983 9.50386 2.89685 7.92725H0.703125V9.64157C1.25295 10.7436 2.09604 11.67 3.13828 12.3174C4.18052 12.9648 5.38089 13.3077 6.60537 13.3077Z",fill:"#34A853"}),e.jsx("path",{d:"M2.89715 7.92732C2.62067 7.10116 2.62067 6.20649 2.89715 5.38033V3.66602H0.703417C0.240886 4.59309 0 5.61627 0 6.65383C0 7.69139 0.240886 8.71457 0.703417 9.64164L2.89715 7.92732Z",fill:"#FBBC04"}),e.jsx("path",{d:"M6.60537 2.63381C7.54744 2.6183 8.45773 2.97683 9.13949 3.6319L11.0249 1.73275C9.82936 0.601647 8.2455 -0.0193473 6.60537 -5.17192e-05C5.38089 4.49305e-06 4.18052 0.342863 3.13828 0.990245C2.09604 1.63763 1.25295 2.56405 0.703125 3.6661L2.89685 5.38041C3.41983 3.8038 4.88231 2.63381 6.60537 2.63381Z",fill:"#EA4335"})]}),BO=()=>e.jsxs("svg",{width:"28",height:"18",viewBox:"0 0 28 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M18 2.5H10V15.5H18V2.5Z",fill:"#FF5A00"}),e.jsx("path",{d:"M10.7046 9C10.7046 6.28494 12.0048 3.87517 14 2.31821C12.5316 1.18492
510.6793 0.5 8.65899 0.5C3.87274 0.5 0 4.30158 0 9C0 13.6984 3.87274 17.5 8.65899 17.5C10.6793 17.5 12.5316 16.8151 14 15.6817C12.002 14.1468 10.7046 11.7151 10.7046 9Z",fill:"#EB001B"}),e.jsx("path",{d:"M28 9.00005C28 13.6983 24.1274 17.5 19.3411 17.5C17.3207 17.5 15.4684 16.8151 14 15.6817C16.0204 14.122 17.2955 11.7151 17.2955 9.00005C17.2955 6.285 15.9953 3.87525 14 2.3183C15.4656 1.18501 17.3179 0.5 19.3383 0.5C24.1274 0.5 28 4.32637 28 9.00005Z",fill:"#F79E1B"})]}),EO=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"44",height:"16",viewBox:"0 0 44 16",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M19.0672 13.7985H15.5029L17.7323 0.246094H21.2964L19.0672 13.7985Z",fill:"white"}),e.jsx("path",{d:"M31.9888 0.576978C31.2858 0.302765 30.1707 0 28.7919 0C25.2721 0 22.7934 1.84533 22.7782 4.4836C22.7489 6.43011 24.5528 7.51125 25.902 8.16028C27.281 8.82349 27.7497 9.25637 27.7497 9.84753C27.7357 10.7554 26.6354 11.1739 25.6092 11.1739C24.1862 11.1739 23.4237 10.9582 22.265 10.4531L21.7956 10.2365L21.2969 13.2787C22.1328 13.6532 23.673 13.9854 25.2721 14C29.012 14 31.4468 12.1832 31.4756 9.37173C31.4899 7.82897 30.5373 6.64684 28.4838 5.68087C27.2371 5.06077 26.4737 4.64265 26.4737 4.00819C26.4883 3.4314 27.1194 2.84063 28.5266 2.84063C29.6854 2.81169 30.5368 3.08552 31.1817 3.35954L31.5041 3.50345L31.9888 0.576978Z",fill:"white"}),e.jsx("path",{d:"M36.7255 8.99734C37.019 8.21878 38.1485 5.2055 38.1485 5.2055C38.1337 5.23443 38.4415 4.41256 38.6175 3.90802L38.8666 5.07577C38.8666 5.07577 39.5416 8.31976 39.6881 8.99734C39.1311 8.99734 37.4295 8.99734 36.7255 8.99734ZM41.1252 0.246094H38.3682C37.518 0.246094 36.8721 0.490988 36.5053 1.37054L31.2109 13.7983H34.9509C34.9509 13.7983 35.5666 12.1256 35.6989 11.7653C36.1092 11.7653 39.7474 11.7653 40.2752 11.7653C40.3775 12.2411 40.7005 13.7983 40.7005 13.7983H44.0007L41.1252 0.246094Z",fill:"white"}),e.jsx("path",{d:"M12.5246 0.246094L9.03394 9.48751L8.6525 7.61325C8.00716 5.45058 5.98322 3.1009 3.72461 1.93257L6.9219 13.7841H10.6911L16.2935 0.246094H12.5246Z",fill:"white"}),e.jsx("path",{d:"M5.79329 0.246094H0.0586675L0 0.519923C4.47337 1.64456 7.43599 4.35546 8.6532 7.61382L7.40656 1.38529C7.20132 0.519732 6.57059 0.274646 5.79329 0.246094Z",fill:"#FAA61A"})]}),RO=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"39",height:"16",viewBox:"0 0 39 16",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M7.1301 2.0628C6.67307 2.60324 5.94182 3.0295 5.21057 2.9686C5.11916 2.23787 5.47717 1.46147 5.89612 0.981922C6.35315 0.426261 7.15295 0.0304472 7.80042 0C7.87659 0.76118 7.57952 1.50714 7.1301 2.0628ZM7.7928 3.11323C6.73401 3.05233 5.82756 3.71456 5.32483 3.71456C4.81448 3.71456 4.04514 3.14367 3.20725 3.1589C2.11799 3.17412 1.10491 3.79068 0.548853 4.7726C-0.593726 6.73644 0.251782 9.64415 1.35627 11.2426C1.89709 12.0343 2.54456 12.902 3.39768 12.8716C4.2051 12.8411 4.52502 12.3463 5.50002 12.3463C6.48264 12.3463 6.76448 12.8716 7.6176 12.8563C8.5012 12.8411 9.05725 12.0647 9.59807 11.2731C10.2151 10.3749 10.4664 9.49952 10.4817 9.45385C10.4664 9.43863 8.77542 8.79163 8.76018 6.84301C8.74495 5.21408 10.0932 4.43768 10.1541 4.39201C9.39241 3.26546 8.20413 3.14367 7.7928 3.11323ZM13.9094 0.905804V12.7726H15.7528V8.71551H18.3045C20.6354 8.71551 22.2731 7.11703 22.2731 4.80304C22.2731 2.48906 20.6658 0.905804 18.3655 0.905804H13.9094ZM15.7528 2.45861H17.878C19.4776 2.45861 20.3916 3.31113 20.3916 4.81066C20.3916 6.31018 19.4776 7.17031 17.8703 7.17031H15.7528V2.45861ZM25.6399 12.8639C26.7977 12.8639 27.8717 12.2778 28.3592 11.3492H28.3973V12.7726H30.1035V6.86584C30.1035 5.15319 28.7324 4.04948 26.6225 4.04948C24.6649 4.04948 23.2176 5.16841 23.1643 6.70599H24.8248C24.9619 5.97526 25.6399 5.49572 26.5692 5.49572C27.6965 5.49572 28.3287 6.02093 28.3287 6.98763V7.64225L26.0283 7.77926C23.8879 7.90866 22.7301 8.78401 22.7301 10.3064C22.7301 11.844 23.926 12.8639 25.6399 12.8639ZM26.135 11.4558C25.1524 11.4558 24.5278 10.9838 24.5278 10.2607C24.5278 9.51475 25.1295 9.08088 26.2797 9.01237L28.3287 8.88297V9.55281C28.3287 10.6641 27.3842 11.4558 26.135 11.4558ZM32.3811 16C34.1787 16 35.0242 15.3149 35.7631 13.2369L39.0004 4.16365H37.1266L34.9557 11.1741H34.9176L32.7467 4.16365H30.8196L33.9426 12.803L33.775 13.3283C33.4932 14.2188 33.0362 14.5614 32.2211 14.5614C32.0764 14.5614 31.7946 14.5461 31.6803 14.5309V15.9543C31.7869 15.9848 32.244 16 32.3811 16Z",fill:"white"})}),G6=()=>
5{const t=C(te),{openModal:s}=W(),a=()=>{if(t){X("Navigation - Buy Crypto button clicked"),s(es,{tab:"buy"});return}s(_e,{tab:"register"})};return e.jsxs(e.Fragment,{children:[e.jsx(Un,{}),e.jsxs("section",{className:"flex w-full flex-col items-center gap-y-2 px-4",children:[e.jsxs("div",{className:"flex items-center justify-center gap-3",children:[e.jsx(MO,{}),e.jsx(BO,{}),e.jsx(EO,{}),e.jsx(RO,{})]}),e.jsx(O,{variant:"enforce-secondary",className:"w-full","data-testid":"buy-crypto",onClick:a,children:n("global_buyCrypto")})]}),e.jsx(Un,{})]})},ca=({label:t,allLabels:s=[],className:a,labelClassName:l,onClick:r,withArrow:i=!0})=>{const{openModal:o}=W(),d=m.useRef(null),[u,c]=m.useState(!0),x=m.useCallback(()=>{const p=d.current;if(!p)return;if(window.matchMedia("(min-width: 640px)").matches){c(!0);return}const f=p.closest("button");if(!f)return;const h=getComputedStyle(f),b=parseFloat(h.paddingLeft)+parseFloat(h.paddingRight),v=parseFloat(h.gap)||0;c(p.scrollWidth+b+v+16<=f.clientWidth)},[]);return m.useEffect(()=>{var h;const p=(h=d.current)==null?void 0:h.closest("button");if(x(),!p)return;const f=new ResizeObserver(x);return f.observe(p),()=>f.disconnect()},[x]),e.jsx("button",{type:"button",className:g("inline-flex cursor-pointer items-center justify-center rounded-lg text-base leading-6 outline-none transition-all duration-200 focus:outline-none","h-[60px] w-full whitespace-nowrap text-buttonv2-primary-text","[background:var(--color-buttonv2-primary-background)] [border:var(--color-buttonv2-primary-border)]","hover:enabled:[background:var(--color-buttonv2-primary-hover)]","px-10 capitalize shadow-[0_0_20px_rgba(112,134,255,0.5)] sm:w-auto",a),onClick:r??(()=>o(_e,{tab:"register"})),children:e.jsx("span",{className:"relative z-main px-1",children:e.jsxs("span",{className:"inline-flex items-center gap-[0.679rem]",children:[e.jsxs("span",{className:"inline-grid",children:[s.map(p=>e.jsx("span",{className:"invisible col-start-1 row-start-1 select-none whitespace-nowrap text-[18px] font-semibold","aria-hidden":"true",children:p},p)),e.jsx("span",{ref:d,className:g("col-start-1 row-start-1 whitespace-nowrap text-[18px] font-semibold [text-shadow:0_0_8px_rgba(112,134,255,0.5)]",l),children:t})]}),i&&u?e.jsx(Ta,{icon:"arrowRight",className:"h-[18px] w-[16px] shrink-0 text-white drop-shadow-[0_0_8px_rgba(112,134,255,0.5)]"}):null]})})})},TO=({testId:t,artUrl:s,eyebrow:a,title:l,subtitle:r,cta:i,onClick:o,eyebrowClassName:d,subtitleClassName:u})=>e.jsx("section",{"data-testid":t,className:"relative h-[205px] w-full shrink-0 rounded-xl bg-[linear-gradient(334deg,rgba(112,134,255,0.8)_8px,rgba(112,134,255,0)_79px),#1f232f] p-px",children:e.jsxs("div",{className:"relative size-full overflow-hidden rounded-[11px] bg-[#161923]",children:[e.jsx("img",{alt:"",src:s,className:"pointer-events-none absolute -left-px -top-px size-[calc(100%+2px)] max-w-none object-cover object-left"}),e.jsxs("div",{className:"relative flex h-full flex-col justify-between p-[11px]",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:g("w-[123px] text-xs font-semibold leading-4 text-[#adafce]",d),children:a}),e.jsx("p",{className:"w-[140px] whitespace-pre-line text-2xl font-black uppercase leading-[0.9] text-white [text-box:trim-both_cap_alphabetic]",children:l}),e.jsx("p",{className:g("w-[123px] text-xs font-medium leading-4 text-[#adafce] opacity-70",u),children:r})]}),e.jsx(ca,{label:i,withArrow:!1,onClick:o,className:"h-8 w-auto self-start rounded-lg px-[11px] normal-case shadow-[0_0_0_6px_rgba(112,134,255,0.3)] [background:radial-gradient(50%_340%_at_50%_50%,#2f3ec8_0%,#4f62e3_50%,#7086ff_100%)] [&>span]:px-0",labelClassName:"text-sm font-medium leading-5 [text-shadow:none]"})]})]})}),IO="/assets/OriginalsPromoCard-SspoB4sg.webp",FO="/assets/RewardsPromoCard-fsQXeejc.webp",OO="/assets/TournamentsPromoCard-CpXobef5.webp",DO="/assets/TribesPromoCard-Denv72e-.webp",$O=t=>{if(!t.isSessionSettled)return null;if(!t.isAuthenticated)return"rewards";if(!t.isRewardsSummaryLoaded)return null;if(t.hasFirstDeposit===!1)return"rewards";if(t.isTribesEnabled){if(!t.isRoomsLoaded)return null;if(t.liveRoomsCount>0)return"tribes"}if(t.isTournamentsEnabled){if(!t.isTournamentsLoaded)return null;if(t.activeTournamentsCount>0)return"tournaments"}return"originals"},PO={rewards:{testId:"rewards-promo",artUrl:FO,route:sa,analyticsEvent:"Navigation - Rewards promo clicked"},tribes:{testId:"tribes-promo",artUrl:DO,route:Ae,analyticsEvent:"Navigation - Tribes promo clicked",eyebrowClassName:"uppercase"},tournaments:{testId:"tournaments-promo",artUrl:OO,route:Ea,analyticsEvent:"Navigation - Tournaments promo clicked",subtitleClassName:"w-[110px]"},originals:{testId:"originals-promo",artUrl:IO,route:Fs,analyticsEvent:"Navigation - Originals promo clicked"}},HO=({onNavigate:t})=>{const s=Y(),[a,l,r,i,o,d,u,c,x]=C([c3,te,Rj,w3,Tj,Th,z2,Ij,$8]),p=ke(Se.Promotions),f=ke(Se.Tribes),h=ke(Se.Tournaments),b=p?$O({isSessionSettled:a,isAuthenticated:l,isRewardsSummaryLoaded:r,hasFirstDeposit:i?i.firstDepositBonus.hasFirstDeposit:null,isRoomsLoaded:d,liveRoomsCount:u.length,isTournamentsLoaded:c,activeTournamentsCount:x.length,isTribesEnabled:f,isTournamentsEnabled:h}):null;if(m.useEffect(()=>{!p||!a||!l||(Fj(),f&&Ih(),h&&Oj())}
5,[p,a,l,f,h]),m.useEffect(()=>{b==="rewards"&&Dj()},[b]),m.useEffect(()=>{b&&X("Navigation - sidebar promo shown",{variant:b})},[b]),!p)return null;if(!b)return e.jsx("div",{"data-testid":"sidebar-promo-pending",className:"h-[205px] w-full shrink-0"});const v=PO[b],j=()=>{X(v.analyticsEvent),s(v.route),t==null||t()},y=(o==null?void 0:o.percent)??$j;return e.jsx(TO,{testId:v.testId,artUrl:v.artUrl,eyebrow:n(`sidebarPromo.${b}.eyebrow`),title:n(`sidebarPromo.${b}.title`,{percent:y}),subtitle:n(`sidebarPromo.${b}.subtitle`),cta:n(`sidebarPromo.${b}.cta`),onClick:j,eyebrowClassName:v.eyebrowClassName,subtitleClassName:v.subtitleClassName})},Hm=t=>t.labelKey?n(t.labelKey):t.label??"",Z6=(t,s)=>g("flex w-full min-w-0 items-center gap-x-2 truncate rounded-md p-2 text-left text-sm font-medium leading-tight","transition-colors duration-100",s&&"justify-between",t?s?"bg-sidebar-link-hover-background text-sidebar-accordion-active-text":"bg-sidebar-link-active-background text-sidebar-link-active-text":"bg-sidebar-link-inactive-background text-sidebar-link-inactive-text hover:bg-sidebar-link-hover-background"),Zo=t=>g("shrink-0 transition-transform duration-100",t?"size-5 text-icon-nav-active":"size-5 text-icon-nav-inactive"),W6=({item:t,isActive:s,isAccordionOpen:a=!1,onAction:l,onNavigate:r})=>{const i=Hm(t),o=t.variant===Oe.Accordion,d=s||o&&a,u=t.icon,c=e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"relative inline-flex items-center",children:[e.jsx(u,{className:Zo(d)}),t.highlighted?e.jsx("span",{className:"absolute -right-0.5 -top-0.5 block size-1.5 rounded-full bg-error ring-2 ring-transparent","aria-label":"Highlighted"}):null]}),e.jsx("span",{className:"flex-1 grow truncate",children:i}),t.isNew?e.jsx("span",{className:"rounded-xs bg-brandblue-300 px-1 text-xxs font-semibold uppercase text-white",children:"new"}):null,t.isBeta?e.jsx("span",{className:"rounded-xs bg-brandblue-300 px-1 text-xxs font-semibold uppercase text-white",children:"beta"}):null,o?a?e.jsx(ra,{className:Zo(d)}):e.jsx(Qt,{className:Zo(d)}):null]});return t.variant===Oe.Link||t.variant===Oe.AccordionItem?e.jsx(De,{to:t.href??"/","aria-label":i,"aria-current":s?"page":void 0,"data-testid":`nav-link-${t.href??t.labelKey}`,className:Z6(d,!1),onClick:r,children:c}):e.jsx("button",{type:"button","aria-label":i,"aria-expanded":o?a:void 0,"data-testid":`nav-button-${t.action??t.accordionKey??t.labelKey}`,className:Z6(d,o),onClick:()=>l==null?void 0:l(t),children:c})}
5,Wo=({item:t,isActive:s,onAction:a})=>{const l=Hm(t),r=t.icon,i=g("flex rounded-lg border border-border-sidebar p-2 transition-colors duration-100",s?"bg-sidebar-link-active-background text-sidebar-link-active-text":"text-icon-button-inactive"),o=e.jsx(r,{className:g("size-6",s?"text-icon-nav-active":"text-icon-inactive")});return t.href?e.jsx(De,{to:t.href,"aria-label":l,title:l,"data-testid":`nav-mini-${t.href}`,className:i,children:o}):e.jsx("button",{type:"button","aria-label":l,title:l,"data-testid":`nav-mini-${t.action??t.labelKey}`,className:i,onClick:()=>a==null?void 0:a(t),children:o})},Ko=({items:t,labelKey:s,flags:a,openAccordions:l,onToggleAccordion:r,onAction:i,onNavigate:o})=>e.jsxs("section",{className:"flex flex-col gap-y-2",children:[s&&t.length?e.jsx("span",{className:"px-2 text-[12px] font-medium uppercase text-label-secondary",children:n(s)}):null,e.jsx("div",{className:"flex flex-col gap-y-1",children:t.map(d=>{const u=!!(d.accordionKey&&l[d.accordionKey]);return e.jsxs("div",{className:"flex flex-col gap-y-1",children:[e.jsx(W6,{item:d,isActive:r1(a,d.href,d.isComingSoon),isAccordionOpen:u,onAction:c=>{if(c.variant===Oe.Accordion&&c.accordionKey){r(c.accordionKey);return}i(c)},onNavigate:o}),d.children&&u?e.jsx("div",{className:"flex flex-col gap-y-1 pl-5","data-testid":`nav-accordion-${d.accordionKey}`,children:d.children.map(c=>e.jsx(W6,{item:c,isActive:r1(a,c.href,c.isComingSoon),onNavigate:o},c.href))}):null]},d.labelKey??d.label??d.href)})})]}),Um=({header:t,extraDividerBeforeUser:s=!1,keepGamesDividers:a=!1,onNavigate:l})=>{const{flags:r,gamesItems:i,communityItems:o,userItems:d,isAuthenticated:u,openAccordions:c,toggleAccordion:x,handleAction:p}=Im(),f=a||!ue;return e.jsxs(e.Fragment,{children:[t,e.jsx(HO,{onNavigate:l}),f?e.jsx(Un,{}):null,e.jsx(Ko,{items:i,labelKey:ue?"":"global_games",flags:r,openAccordions:c,onToggleAccordion:x,onAction:p,onNavigate:l}),f?e.jsx(Un,{}):null,u?null:e.jsx(G6,{}),e.jsx(Ko,{items:o,labelKey:"global_community",flags:r,openAccordions:c,onToggleAccordion:x,onAction:p,onNavigate:l}),s?e.jsx(Un,{}):null,u?e.jsxs(e.Fragment,{children:[e.jsx(G6,{}),e.jsx(Ko,{items:d,labelKey:"global_user",flags:r,openAccordions:c,onToggleAccordion:x,onAction:p,onNavigate:l})]}):null]})},UO=400,VO=180,zO=76,GO=240,ZO=({fieldBottom:t,visibleBottom:s,obstructionTop:a})=>{const l=a===null?0:Math.max(0,s-a);return s-l-t-zO},WO=t=>Math.max(VO,Math.min(UO,t)),KO=t=>t<GO,qO={low:"text-green-500 bg-[#54D1491A]",medium:"text-[#FFAE4B] bg-[#FFAE4B1A]",high:"text-error bg-[#FF66591A]",unknown:"text-gray-400"},Vm=t=>qO[t],YO=({className:t})=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-hidden":!0,children:e.jsx("path",{d:"M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),XO='[data-testid="bottom-nav"]',yl=({placeholder:t=n("global_search_placeholder"),onSelectGame:s,onSelectProvider:a,filterResult:l})=>{const[r,i,o,d]=C([Pj,Hj,Uj,Vj]),u=Y(),c=m.useRef(null),x=m.useRef(null),[p,f]=m.useState(!1);Ri(x,()=>f(!1),p);const[h,b]=m.useState(null);m.useEffect(()=>{var _,A;if(!p)return;const w=()=>{var z,le;const E=(z=x.current)==null?void 0:z.getBoundingClientRect();if(!E)return null;const L=window.visualViewport,B=(le=document.querySelector(XO))==null?void 0:le.getBoundingClientRect();return ZO({fieldBottom:E.bottom,visibleBottom:((L==null?void 0:L.height)??window.innerHeight)+((L==null?void 0:L.offsetTop)??0),obstructionTop:B&&B.height>0?B.top:null})},S=()=>{const E=w();E!==null&&b(WO(E))},M=w();return M!==null&&KO(M)&&((_=x.current)==null||_.scrollIntoView({block:"start"})),S(),window.addEventListener("resize",S),(A=window.visualViewport)==null||A.addEventListener("resize",S),()=>{var E;window.removeEventListener("resize",S),(E=window.visualViewport)==null||E.removeEventListener("resize",S)}},[p]);
5const v=l?r.filter(l):r,j=o.trim().length>0,y=l?v.length:i;m.useEffect(()=>{hl()},[]),m.useEffect(()=>()=>wd(),[]);const N=(w,S)=>{const M=S==="clicked"?"Search result clicked":"Search result entered";if(f(!1),w.resultType==="provider"){if(X(M,{action:"click",providerSlug:w.slug}),a){a(w.slug);return}u(pi(w.slug));return}if(X(M,{action:"click",gameCode:w.gameCode,provider:w.provider}),s){s(w.gameCode);return}const _=G1(w.gameCode);_&&u(_)},k=w=>{const S=w.currentTarget;S.scrollTop+S.clientHeight>=S.scrollHeight-10&&Gj()};return e.jsxs("div",{ref:x,className:"relative flex scroll-mt-4 flex-col","data-testid":"game-search",children:[e.jsxs("div",{className:"flex items-center gap-x-2 rounded-lg border border-[#212734] bg-primary px-3",children:[e.jsx(YO,{className:"size-5 shrink-0 text-icon-inactive"}),e.jsx("input",{ref:c,type:"text",name:"search","data-testid":"game-search-input","aria-label":t,placeholder:t,value:o,onChange:w=>{f(!0),zj(w.target.value)},onFocus:()=>f(!0),className:"w-full border-input-border bg-input-background py-2.5 text-sm font-medium text-input-text placeholder:text-input-placeholder focus:outline-none"}),j?e.jsx("button",{type:"button","aria-label":"Reset Search","data-testid":"game-search-reset",onClick:()=>{var w;X("Reset search"),wd(),(w=c.current)==null||w.focus()},children:e.jsx(ia,{className:"text-icon-inactive"})}):null]}),p&&j&&v.length===0&&d?e.jsx("div",{role:"status","data-testid":"game-search-no-results",className:"absolute inset-x-0 top-full z-dropdown mt-2 rounded-lg border border-[#212734] bg-primary px-4 py-6 text-center text-sm font-medium text-label-secondary shadow-[0px_16px_32px_0px_rgba(0,0,0,0.45)]",children:n("global_search_no_results")}):null,p&&j&&v.length>0?e.jsx("div",{"data-testid":"game-search-results",className:"absolute inset-x-0 top-full z-dropdown mt-2 flex flex-col gap-y-4 rounded-lg border border-[#212734] bg-primary shadow-[0px_16px_32px_0px_rgba(0,0,0,0.45)]",children:e.jsxs("div",{className:"m-2.5 flex flex-col gap-y-4 px-1.5 md:m-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-medium text-white",children:n("global_searchResult")}),e.jsx("span",{className:"text-sm font-medium text-label-secondary","data-testid":"game-search-count",children:n("global_foundSearchResult",{searchResultCount:y})})]}),e.jsx("div",{className:"flex max-h-[50vh] flex-col gap-3.5 overflow-y-auto overscroll-contain md:flex-row md:flex-wrap",style:h===null?void 0:{maxHeight:h},onScroll:k,children:v.map(w=>{const S=w.resultType==="provider";return e.jsxs("div",{role:"button",tabIndex:0,"data-testid":`game-search-result-${S?w.slug:w.gameCode}`,className:"flex cursor-pointer flex-row rounded-xl bg-primary md:h-[6.5rem] md:w-[21.85rem]",onClick:()=>N(w,"clicked"),onKeyDown:M=>{M.key==="Enter"&&N(w,"entered")},children:[S?e.jsx("div",{className:"flex h-full w-[110px] shrink-0 items-center justify-center rounded-md bg-[#1F232F] p-3",children:e.jsx(ce,{className:"filter-white-to-brand max-h-full max-w-full object-contain",src:w.imageUrl,alt:w.name,loading:"lazy"})}):e.jsx("div",{className:"flex w-[110px] items-center p-1",children:e.jsx(ce,{className:"size-full rounded-md bg-cover object-cover",src:w.imageUrl,alt:w.name,loading:"lazy"})}),e.jsxs("div",{className:"flex w-2/3 flex-col justify-between px-2 py-3",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("p",{className:"text-sm font-semibold md:text-base",children:w.name}),e.jsx("span",{className:"text-[0.750rem] font-medium text-brandblue-50",children:S?n("global_provider"):w.provider})]}),!S&&w.volatility?e.jsxs("div",{className:"flex justify-between",children:[e.jsx("p",{className:"text-[0.750rem] font-medium text-brandblue-50",children:n("global_volatility")}),e.jsx("span",{className:g("rounded-[10px] px-1.5 text-[0.750rem]",Vm(J0(w.volatility).band)),children:n(J0(w.volatility).textLabel)})]}):null]})]},w.key)})})]})}):null]})},JO=()=>{const t=C(rc),{pathname:s}=at();return m.useEffect(()=>{el()},[s]),t?e.jsx("div",{"data-testid":"side-menu-drawer",className:"animate-slide-in-left fixed inset-0 z-drawer bg-sidebar-main pt-tg-safe-top",children:e.jsx("div",{className:"relative h-full overflow-auto",children:e.jsxs("div",{className:"mx-4 flex flex-col gap-y-4 pt-6",children:[e.jsx(Um,{header:ue?null:e.jsx(yl,{placeholder:n("global_search_placeholder")}),extraDividerBeforeUser:!0,keepGamesDividers:!0,onNavigate:()=>el()}),e.jsx("div",{className:"h-24 w-full"})]})})}):null}
5,zm=({gameMode:t,streamMode:s,streamViewerMode:a,isLandscapeOrientation:l,isMediumBreakpointOrLarger:r,isTelegram:i,isTribesRoute:o})=>s||a?"stream":i&&!o&&t||(t||a)&&!r?"game":null,Gm=(t,s)=>t==="stream"||s,Zm=({title:t,children:s,topSlot:a,footer:l})=>e.jsxs("div",{"data-testid":"drawer",className:"no-scrollbar z-drawer flex size-full flex-col overflow-y-auto border-l-1 border-primary bg-sidebar-main xl:w-drawer",children:[a,e.jsx("div",{className:"shrink-0",children:e.jsxs("div",{className:"no-scrollbar flex h-[60px] flex-row items-center justify-between gap-2 border-b-1 border-b-primary bg-sidebar-header px-4 py-3",children:[e.jsx("div",{className:"line-clamp-1 max-w-[240px] flex-1 truncate",children:t}),e.jsx("div",{className:"shrink-0",children:e.jsx("button",{type:"button","data-testid":"drawer-close","aria-label":"Close Sidebar",onClick:()=>oa(),className:"rounded-lg border border-border-navbar p-1.5 transition-colors duration-100 hover:border-border-navbar",children:e.jsx(PR,{className:"transition-transform duration-100"})})})]})}),e.jsx("div",{className:"no-scrollbar flex size-full flex-1 overflow-y-auto",children:s}),l?e.jsx("div",{className:"shrink-0",children:l}):null]}),QO=()=>{const t=C(Ai);if(!nc()||t===pt.None)return null;const s=f1[t];return s.isEnabled()?e.jsx("div",{"data-testid":"full-drawer",className:"fixed inset-0 z-50 bg-sidebar-main pt-tg-safe-top xl:hidden",children:e.jsx(Zm,{title:e.jsx(s.Title,{}),children:e.jsx(s.Body,{})})}):null},eD=({railTopSlot:t})=>{const[s,a]=C([Ai,aa]);return nc()?e.jsxs("div",{"data-testid":"drawer-rail",className:a?"fixed right-drawer top-40 z-drawer hidden flex-col items-center justify-center gap-1 rounded-l-xl bg-primary p-1 lg:flex":"z-drawer-buttons hidden h-full w-[64px] border-l border-l-primary bg-sidebar-main p-3 lg:block",children:[t,wm.filter(l=>f1[l].isEnabled()).map(l=>{const r=f1[l];return e.jsx("button",{type:"button","data-testid":`drawer-rail-${l}`,"aria-label":r.iconAlt,className:g("flex size-9 items-center justify-center rounded-md",s===l&&"bg-primary-active"),onClick:()=>{Si(l),X(r.openEventName)},children:e.jsx(ce,{src:r.iconSrc,alt:r.iconAlt,className:"size-6"})},l)})]}):null},tD=()=>{const t=C(Ai);if(!nc())return null;const s=t===pt.None?null:f1[t],a=(s==null?void 0:s.isEnabled())??!1;return e.jsxs(e.Fragment,{children:[s&&a?e.jsx(Zm,{title:e.jsx(s.Title,{}),children:e.jsx(s.Body,{})}):null,e.jsx(eD,{})]})},sD=`<svg 6 class="ml-6" 7 width="156" 8 height="16" 9 viewBox="0 0 156 16" 10 fill="none" 11 xmlns="http://www.w3.org/2000/svg" 12 13> 14 <g clip-path="url(#clip0_345_197)"> 15 <path 16 d="M9.20179 11.0082C9.13679 12.1482 8.12679 12.9332 6.98679 12.8552H3.99779V9.01617L6.71179 8.95117C8.20579 8.95117 9.21479 9.73717 9.21479 10.9422V11.0082H9.20179ZM8.78179 5.16517C8.70479 6.17417 7.77379 6.88017 6.77779 6.80217H3.99779V3.39617H6.56779C7.85179 3.39617 8.78279 4.10417 8.78279 5.03417V5.16417L8.78179 5.16517ZM9.69979 7.73317C11.1298 7.02517 11.5618 6.30517 11.5618 4.89017C11.5618 3.39617 10.7748 2.11317 9.42479 1.47017C8.70479 1.18217 7.85179 1.11717 5.42679 1.11717H-0.000213623V3.39717H1.07479V12.8672H-0.000213623V15.1472H7.49779C10.2118 15.1472 12.0728 13.5882 12.0728 11.2302C12.2038 9.65817 11.2078 8.23017 9.69979 7.73317ZM16.2678 8.41317C16.4778 7.28717 17.4608 6.37017 18.6398 6.37017H18.7058C19.8198 6.37017 20.8038 7.28717 20.8038 8.48017L16.2678 8.41317ZM16.1238 10.3132H23.6738C23.7398 8.89817 23.3198 7.56317 22.6258 6.37017C21.7208 4.95517 20.1738 4.18217 18.5618 4.18217C15.6248 4.18217 13.4618 6.51417 13.4618 9.75017C13.4618 12.9862 15.6258 15.3182 18.5618 15.3182C21.0788 15.3182 22.9658 13.9032 23.4518 11.5842L20.7898 11.6502C20.5148 12.5662 19.5978 13.2742 18.6268 13.1952C18.1558 13.2082 16.4118 13.0652 16.1238 10.3132ZM35.8788 15.1342H37.4388V8.07417L32.5488 8.06017V8.07317L32.4828 9.37017H35.8128C35.8128 9.72417 35.8128 10.1042 35.7468 10.4572C35.3928 12.2912 33.8338 13.6932 31.9198 13.7722C29.5078 13.7722 27.6718 11.3092 27.6718 7.92917C27.6718 3.63217 30.2148 2.15217 31.9198 2.15217C33.0468 2.21717 34.1868 2.78117 34.8948 3.69817C35.2488 4.19617 35.5378 4.74617 35.6688 5.3751
167H37.2288V1.11717H35.7468V3.14717C34.8948 1.66717 33.3348 0.685174 31.5658 0.750174C28.3798 0.750174 25.8238 3.98617 25.8238 8.07317C25.8238 12.1602 28.3668 15.3182 31.6308 15.3182C32.7588 15.3182 33.8988 14.8982 34.8168 14.1252C35.2368 13.7062 35.5898 13.3132 35.8788 12.8152V15.1352V15.1342ZM46.1558 11.3742C45.9458 12.9202 44.5828 14.0342 43.0098 14.1122C41.8698 14.1122 40.8598 13.2742 40.7938 12.0822C40.7938 10.7462 41.8688 10.1952 45.1588 9.76317L46.1558 9.61917V11.3742ZM46.1558 15.1342H49.2228L49.0788 13.8372H47.5838V8.02117C47.5838 5.36117 45.7238 4.37917 43.5078 4.37917C42.5108 4.37917 41.4358 4.65417 40.6498 5.29617C40.0078 5.85027 39.5769 6.60902 39.4298 7.44417H41.0698C41.3578 6.04317 42.1438 5.57117 43.6388 5.57117C45.1458 5.57117 46.0638 6.34417 46.0638 7.53617V8.58417L45.0678 8.65017C40.7808 9.06917 38.9978 10.0512 38.9978 12.0822V12.2922C39.1428 14.0472 40.7158 15.4482 42.4978 15.3042C43.9928 15.3042 45.4218 14.5182 46.1428 13.1822V15.1342H46.1558ZM63.7478 15.1342H66.7098V13.8372H65.2298V7.07717C65.2298 5.24417 64.3118 4.18217 62.6998 4.18217C61.8598 4.18217 61.0868 4.53617 60.4448 5.09917C60.0248 5.51917 59.7368 5.95117 59.4618 6.43617C59.1868 4.95617 58.4128 4.16917 56.9968 4.16917C55.0308 4.16917 54.1138 5.72917 53.6148 6.43617L53.5498 4.36617H50.4558V5.66317H52.0028V13.8372H50.4558V15.1342H55.0308V13.8372H53.4838V8.55717C53.4838 7.57517 54.6768 5.51917 56.3028 5.51917C57.3648 5.51917 57.8498 6.08217 57.8498 7.43117V15.1342H60.9428V13.8372H59.3828V8.42717C59.3828 7.65417 60.3658 5.45317 62.2018 5.45317C63.2498 5.45317 63.7488 6.16117 63.7488 7.64117L63.7478 15.1342ZM77.4588 9.71117C77.4588 12.3312 76.3318 13.9552 74.5088 13.9552C73.6819 13.8826 72.9127 13.5013 72.3541 12.8872C71.7956 12.2731 71.4888 11.4712 71.4948 10.6412L71.4288 8.80717C71.4288 7.24717 72.9758 5.55717 74.5228 5.55717C76.2658 5.54517 77.4588 7.10417 77.4588 9.71117ZM79.1498 9.93317C79.1498 6.82917 77.3278 4.36617 74.9298 4.36617C73.1068 4.36617 71.9008 5.89917 71.4818 6.67117V0.751174H68.5318V2.04717H69.9348V13.8372H68.4538V15.1342H71.4818V13.1822C72.1108 14.0342 73.0278 15.3182 74.9288 15.3182C77.1838 15.3182 79.1498 12.8282 79.1498 9.93317ZM79.9758 15.1342H84.5248V13.8372H83.1088V0.750174H80.0548V1.95517H81.5488V13.8372H79.9888V15.1342H79.9758ZM87.4998 8.92417C87.4998 8.57117 87.6448 8.21717 87.7098 7.87717C87.8854 7.25411 88.2517 6.70168 88.7573 6.29743C89.2629 5.89317 89.8824 5.65739 90.5288 5.62317C91.1578 5.55817 91.7998 5.83317 92.2988 6.25317C93.0058 7.02517 93.3598 7.94317 93.3598 8.92517H87.4998V8.92417ZM87.4348 10.1172H95.1298C95.1298 6.39717 93.0198 4.35317 90.3968 4.35317C87.7888 4.35317 85.7438 6.73717 85.7438 9.82917C85.7438 13.0642 87.7888 15.3042 90.6858 15.3042C91.3282 15.3095 91.9639 15.174 92.5483 14.907C93.1326 14.6401 93.6513 14.2483 94.0678 13.7592C94.4878 13.2612 94.7758 12.7762 94.9198 12.1472L93.1628 12.2132C92.5998 13.4832 91.8258 14.0332 90.6198 14.0332C89.8879 14.025 89.1841 13.7505 88.6398 13.2612C87.9328 12.5802 87.5798 11.6632 87.4348 10.1172ZM105 9.96017H101.329L103.164 3.72417L105 9.96017ZM106.625 15.1342H109.797V12.9072H108.735L104.868 1.11717H101.486L97.6718 12.9072H96.6098V15.1342H99.8598L100.779 12.0942H105.72L106.625 15.1342ZM124.413 6.40917H125.331V4.36617H121.097V6.40917H122.159L120.743 12.6972L118.986 4.36617H116.234L114.464 12.8422L112.996 6.40917H114.045V4.36617H109.81V6.40917H110.728L113.048 15.1342H115.867L117.558 7.66717L119.327 15.1342H122.146L124.413 6.40917ZM132.882 11.1782C132.816 12.4482 131.754 13.4312 130.483 13.4312C129.421 13.4312 128.713 12.8682 128.713 12.0292C128.713 10.5492 130.339 10.3392 132.803 10.1292H132.869V11.1782H132.882ZM132.96 15.1342H136.277V13.0772H135.359L135.425 8.08717C135.425 5.70217 133.865 4.36617 130.902 4.36617C128.359 4.36617 126.668 5.70217 126.524 7.81117L129.067 7.87717V7.81017C129.133 6.82817 129.631 6.19917 130.968 6.19917C132.3
1605 6.19917 132.869 6.69717 132.869 8.30817C129.473 8.58317 125.947 8.93717 125.947 12.0282C125.947 13.9282 127.573 15.3302 129.696 15.3302C130.968 15.3302 132.174 14.8322 132.947 13.8622V15.1332L132.96 15.1342ZM143.932 6.68417C144.352 6.68417 144.771 6.75017 145.191 6.82917V4.32717C144.771 4.26117 144.417 4.18217 143.998 4.18217C142.805 4.18217 142.032 4.75917 141.337 6.12217V4.36517H137.758V6.47417H138.807V13.0762H137.758V15.1332H142.661V13.0762H141.402V8.91217C141.481 7.61517 142.595 6.61817 143.932 6.68417ZM148.52 8.41417C148.73 7.28717 149.713 6.37017 150.893 6.37017H150.959C152.073 6.37017 153.056 7.28717 153.056 8.48017L148.52 8.41417ZM148.442 10.3142H155.992C156.058 8.89817 155.638 7.56217 154.944 6.37017C154.039 4.95517 152.492 4.18217 150.88 4.18217C147.944 4.18217 145.768 6.51417 145.768 9.75017C145.768 12.9862 147.93 15.3182 150.88 15.3182C153.397 15.3182 155.284 13.9032 155.769 11.5842L153.108 11.6502C152.833 12.5662 151.915 13.2742 150.945 13.1952C150.474 13.2082 148.73 13.0652 148.442 10.3132V10.3142Z" 17 fill="currentColor" 18 /> 19 </g> 20 <defs> 21 <clipPath id="clip0_345_197"> 22 <rect width="156" height="16" fill="white" /> 23 </clipPath> 24 </defs> 25</svg> 26`,aD=`<svg 27 width="106" 28 height="48" 29 viewBox="0 0 106 48" 30 fill="currentColor" 31 xmlns="http://www.w3.org/2000/svg" 32 33> 34 <g clip-path="url(#clip0_180_4410)"> 35 <path 36 fill-rule="evenodd" 37 clip-rule="evenodd" 38 d="M12.7176 33.7006C18.0717 35.0362 23.4936 31.7768 24.8282 26.4187C26.1629 21.0615 22.905 15.6346 17.5515 14.299C12.1992 12.9634 6.77759 16.2237 5.44358 21.5818C4.10833 26.9387 7.36622 32.365 12.7176 33.7006ZM17.3436 20.0522C18.7279 20.5294 19.7402 21.2447 19.5413 22.5753C19.3974 23.5494 18.8578 24.021 18.1414 24.1866C19.1251 24.6994 19.6256 25.4853 19.1488 26.8478C18.557 28.5397 17.1512 28.6825 15.2817 28.3285L14.8276 30.1482L13.7316 29.8747L14.1794 28.0794C13.8952 28.0085 13.6048 27.9338 13.3056 27.8522L12.8566 29.6563L11.7615 29.3828L12.2152 27.5597C12.1169 27.5345 12.018 27.5087 11.9185 27.4828C11.7587 27.4411 11.5971 27.399 11.4336 27.3582L10.0068 27.0019L10.5511 25.7457C10.5511 25.7457 11.359 25.9607 11.3477 25.9447C11.6584 26.0216 11.7961 25.8191 11.8505 25.6841L12.5674 22.8075L12.6833 22.8363C12.6396 22.8191 12.5999 22.8075 12.5693 22.7997L13.0808 20.7463C13.0942 20.5132 13.014 20.2191 12.5699 20.1082C12.5871 20.0966 11.7736 19.91 11.7736 19.91L12.0653 18.7382L13.5773 19.116L13.5761 19.1216C13.8034 19.1782 14.0376 19.2319 14.2762 19.2863L14.7252 17.4844L15.8213 17.7578L15.381 19.5244C15.6743 19.5905 15.967 19.6595 16.2591 19.7313L16.6962 17.9763L17.7926 18.2497L17.3436 20.0522ZM13.874 26.5868C14.7679 26.8233 16.725 27.341 17.036 26.0903C17.3544 24.813 15.4597 24.387 14.534 24.179C14.4302 24.1556 14.3386 24.135 14.2637 24.1163L13.6616 26.5316C13.7226 26.5468 13.794 26.5657 13.874 26.5868ZM14.719 23.0581C15.4649 23.2573 17.0917 23.6918 17.3751 22.556C17.6645 21.3937 16.0829 21.0432 15.3107 20.8721C15.224 20.8529 15.1474 20.8359 15.0849 20.8203L14.5391 23.011C14.5907 23.0238 14.6512 23.04 14.719 23.0581Z" 39 fill="currentColor" 40 /> 41 <path 42 d="M34.4271 20.0503C35.2375 20.0503 35.9376 20.1956 36.5256 20.4809C37.117 20.769 37.6048 21.1571 37.996 21.6453C38.382 22.1359 38.6693 22.7093 38.8548 23.3665C39.039 24.0259 39.1314 24.734 39.1314 25.4921C39.1314 26.6578 38.9182 27.7578 38.4875 28.7953C38.0566 29.8343 37.4727 30.7359 36.7295 31.5046C35.9869 32.2724 35.11 32.8774 34.0989 33.3246C33.0894 33.7721 31.9917 33.9959 30.8132 33.9959C30.6609 33.9959 30.3929 33.9915 30.0145 33.9837C29.636 33.9759 29.201 33.9368 28.7139 33.8712C28.1902 33.7964 27.6709 33.6944 27.1578 33.5656C26.6209 33.4358 26.0993 33.2494 25.6018 33.0093L29.9773 14.6099L33.8963 14.0024L32.3296 20.5315C32.6554 20.3841 32.9936 20.2658 33.3401 20.1778C33.6958 20.0912 34.0611 20.0484 34.4271 20.0503ZM31.1399 30.8846C31.7301 30.8846 32.2859 30.7393 32.8086 30.4543C33.3341 30.1669 33.7952 29.7749 34.1636 29.3024C34.5486 28.8099 34.8515 28.2583 35.0607 27.669C35.2801 27.0599 35.3915 26.4171 35.3898 25.7696C35.3898 24.9596 35.2546 24.329 34.9851 23.8718C34.7157 23.4171 34.217 23.1884 33.4925 23.1884C33.2552 23.1884 32.9498 23.2337 32.5707 23.3146C32.1903 23.4006 31.85 23.579 31.5449 23.8474L29.8764 30.7812C29.977 30.799 30.066 30.8159 30.1419 30.8318C30.2162 30.849 30.298 30.8612 30.3801 30.8696C30.4666 30.8793 30.5656 30.8843 30.6852 30.8843L31.1399 30.8846ZM43.1956 33.644H39.4524L42.6135 20.3324H46.3823L43.1956 33.644ZM45.0171 18.7106C44.5064 18.7148 44.0086 18.5505 43.6006 18.2431C43.1769 17.9331 42.9667 17.4559 42.9667 16.8128C42.9667 16.459 43.0385 16.1271 43.1812 15.814C43.3191 15.5107 43.5125 15.2358 43.7514 15.0037C43.9909 14.775 44.2689 14.5906 44.5727 14.459C44.8889 14.3238 45.2294 14.2551 45.5732 14.2571C46.0953 14.2571 46.5662 14.4128 46.9884 14.7246C47.4087 15.0381 47.6201 15.5153 47.6201 16.1549C47.6222 16.5002 47.5486 16.8418 47.4047 17.1556C47.2681 17.4592 47.0752 17.7341 46.8363
4217.9659C46.5975 18.1949 46.3192 18.3789 46.0151 18.509C45.7022 18.6459 45.3705 18.7106 45.0171 18.7106ZM49.6627 17.0159L53.5832 16.4081L52.6205 20.3318H56.8192L56.061 23.4187H51.8876L50.7759 28.0749C50.6735 28.4628 50.6154 28.8253 50.5992 29.1624C50.5804 29.5009 50.6235 29.7915 50.7247 30.0362C50.8252 30.2815 51.0057 30.4706 51.268 30.604C51.5294 30.7399 51.9032 30.8084 52.3934 30.8084C52.7972 30.8084 53.191 30.7699 53.5707 30.6937C53.9608 30.6163 54.3449 30.5108 54.7198 30.3781L54.9996 33.264C54.4624 33.4587 53.9134 33.6189 53.3559 33.7437C52.7647 33.8799 52.0649 33.9453 51.2562 33.9453C50.0933 33.9453 49.1918 33.7724 48.5494 33.4287C47.908 33.0824 47.4546 32.6087 47.1833 32.0093C46.9156 31.4124 46.796 30.724 46.8295 29.9481C46.8638 29.1706 46.9812 28.3531 47.1833 27.4928L49.6627 17.0159ZM56.6547 28.3287C56.6547 27.1818 56.8401 26.1009 57.2105 25.0884C57.5805 24.0753 58.1136 23.1893 58.8049 22.4293C59.4941 21.6731 60.3338 21.0734 61.3224 20.6334C62.3055 20.1959 63.4071 19.9753 64.6206 19.9753C65.3807 19.9753 66.0592 20.0471 66.6566 20.1912C67.2561 20.3365 67.7982 20.5243 68.2888 20.7599L66.9982 23.6974C66.6542 23.5591 66.304 23.4366 65.9487 23.3306C65.5864 23.219 65.1446 23.1653 64.6215 23.1653C63.3718 23.1653 62.3845 23.5965 61.6494 24.4553C60.9168 25.3149 60.548 26.4721 60.548 27.924C60.548 28.7843 60.7338 29.4796 61.106 30.0118C61.4764 30.544 62.1606 30.809 63.1539 30.809C63.6438 30.809 64.1172 30.7578 64.5703 30.6578C65.0269 30.5565 65.43 30.429 65.785 30.2784L66.0648 33.2896C65.5527 33.4862 65.0291 33.6515 64.4969 33.7846C63.9224 33.9253 63.2394 33.9978 62.4472 33.9978C61.4017 33.9978 60.5162 33.8449 59.7923 33.5431C59.0679 33.2371 58.4692 32.8306 57.9974 32.3156C57.5234 31.7993 57.1833 31.1962 56.9729 30.5046C56.7624 29.8131 56.6547 29.0859 56.6547 28.3287ZM73.2829 33.9968C72.3895 33.9968 71.6132 33.8606 70.955 33.5909C70.2986 33.3215 69.7552 32.9428 69.3249 32.4521C68.894 31.964 68.572 31.3856 68.3513 30.719C68.1305 30.0528 68.0243 29.3149 68.0243 28.5065C68.0243 27.4928 68.1867 26.479 68.5158 25.4674C68.8434 24.4549 69.329 23.5443 69.971 22.7353C70.609 21.9249 71.3959 21.2624 72.3214 20.7459C73.2467 20.2328 74.3106 19.9746 75.5063 19.9746C76.3834 19.9746 77.155 20.1112 77.8227 20.3809C78.4869 20.6499 79.034 21.0315 79.4664 21.5196C79.8942 22.0103 80.2196 22.5862 80.4376 23.254C80.6581 23.9187 80.7667 24.6584 80.7667 25.4674C80.7667 26.4781 80.6062 27.4924 80.288 28.5062C79.9692 29.5156 79.4961 30.4281 78.8716 31.2387C78.2483 32.0481 77.4692 32.7099 76.5327 33.2243C75.5981 33.739 74.5136 33.9968 73.2829 33.9968ZM75.1534 23.1656C74.5985 23.1656 74.1079 23.3265 73.6879 23.6449C73.2664 23.9671 72.9126 24.3724 72.6272 24.8606C72.3386 25.3512 72.125 25.8862 71.9804 26.4678C71.8368 27.0506 71.7665 27.6021 71.7665 28.1249C71.7665 28.9696 71.903 29.6281 72.1703 30.1012C72.4414 30.5718 72.9291 30.809 73.6373 30.809C74.1941 30.809 74.6825 30.6487 75.1047 30.3271C75.5237 30.0074 75.8785 29.6021 76.1658 29.1124C76.4524 28.6249 76.6682 28.0881 76.8128 27.5053C76.9542 26.9243 77.0264 26.3703 77.0264 25.8478C77.0264 25.0053 76.8909 24.3459 76.6204 23.8731C76.3513 23.4021 75.8613 23.1656 75.1534 23.1656ZM84.8459 33.644H81.0999L84.261 20.3324H88.0313L84.8459 33.644ZM86.6645 18.7106C86.1543 18.7149 85.657 18.5505 85.2496 18.2431C84.8275 17.9331 84.6157 17.4559 84.6157 16.8128C84.6157 16.459 84.6888 16.1271 84.8312 15.814C84.9682 15.5103 85.1615 15.2354 85.4008 15.0037C85.6405 14.7749 85.9189 14.5905 86.223 14.459C86.5379 14.3238 86.8774 14.255 87.2201 14.2571C87.7437 14.2571 88.2162 14.4128 88.6374 14.7246C89.0587 15.0381 89.271 15.5153 89.271 16.1549C89.271 16.5099 89.1955 16.8431 89.054 17.1556C88.9125 17.4681 88.7224 17.7371 88.4869 17.9659C88.2476 18.1943 87.9695 18.3783 87.6657 18.509C87.3518 18.6459 87.02
4202 18.7106 86.6645 18.7106ZM90.729 20.9378C91.0132 20.8546 91.3304 20.7546 91.6752 20.6459C92.0587 20.5269 92.4477 20.4263 92.8409 20.3446C93.2684 20.2509 93.7508 20.1743 94.2814 20.1153C94.8116 20.0549 95.4165 20.0256 96.0878 20.0256C98.062 20.0256 99.4229 20.6009 100.174 21.7481C100.925 22.8953 101.055 24.4649 100.568 26.4553L98.8458 33.6428H95.078L96.747 26.6062C96.8485 26.1671 96.9281 25.7421 96.9875 25.3271C97.0474 24.9159 97.0437 24.5531 96.9744 24.2396C96.9131 23.9391 96.7479 23.6699 96.5078 23.4793C96.2608 23.2859 95.8877 23.1887 95.3818 23.1887C94.8808 23.1907 94.3813 23.2422 93.8904 23.3424L91.4369 33.6418H87.6678L90.729 20.9378Z" 43 fill="currentColor" 44 /> 45 </g> 46 <defs> 47 <clipPath id="clip0_180_4410"> 48 <rect width="95.7143" height="20" fill="white" transform="translate(5.14282 14)" /> 49 </clipPath> 50 </defs> 51</svg> 52`,nD=`<svg width="72" height="72" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg" > 53 <path 54 d="M42.1021 35.8214V38.3636H46.0883V42.4515H48.8135V38.3636H52.7997V35.8214H48.8135V31.7335H46.0883V35.8214H42.1021Z" 55 fill="currentColor" 56 /> 57 <path 58 fill-rule="evenodd" 59 clip-rule="evenodd" 60 d="M30.132 31.6726C30.132 30.9133 30.3353 30.2557 30.7421 29.6998C31.1488 29.1439 31.6912 28.7168 32.3691 28.4185C33.0606 28.1067 33.8266 27.9507 34.6673 27.9507C35.4943 27.9507 36.2468 28.1067 36.9248 28.4185C37.6163 28.7168 38.1654 29.1439 38.5721 29.6998C38.9924 30.2557 39.2026 30.9133 39.2026 31.6726C39.2026 32.2962 39.0738 32.8454 38.8162 33.3199C38.5721 33.7809 38.2332 34.1673 37.7993 34.4792C37.5737 34.6466 37.3305 34.7925 37.0697 34.9169C37.4229 35.0609 37.7542 35.2404 38.0637 35.4554C38.5653 35.7943 38.9653 36.2282 39.2636 36.757C39.5619 37.2722 39.711 37.8891 39.711 38.6077C39.711 39.2314 39.5755 39.8009 39.3043 40.3161C39.0331 40.8178 38.6603 41.2516 38.1857 41.6177C37.7247 41.9838 37.1892 42.2685 36.579 42.4719C35.9824 42.6617 35.3452 42.7566 34.6673 42.7566C33.9894 42.7566 33.3453 42.6617 32.7352 42.4719C32.1386 42.2685 31.6031 41.9838 31.1285 41.6177C30.654 41.2516 30.2811 40.8178 30.0099 40.3161C29.7523 39.8009 29.6235 39.2314 29.6235 38.6077C29.6235 37.8891 29.7727 37.2722 30.0709 36.757C30.3692 36.2282 30.7624 35.7943 31.2505 35.4554C31.5684 35.2406 31.9053 35.0612 32.2612 34.9172C31.9968 34.7927 31.748 34.6467 31.5149 34.4792C31.0946 34.1673 30.7556 33.7809 30.498 33.3199C30.254 32.8454 30.132 32.2962 30.132 31.6726ZM32.8572 31.9573C32.8572 32.3234 32.9386 32.642 33.1013 32.9132C33.264 33.1843 33.4809 33.4013 33.7521 33.564C34.0232 33.7131 34.3283 33.7877 34.6673 33.7877C35.0062 33.7877 35.3113 33.7131 35.5825 33.564C35.8536 33.4013 36.0638 33.1843 36.2129 32.9132C36.3756 32.642 36.457 32.3234 36.457 31.9573C36.457 31.6048 36.3824 31.2861 36.2333 31.0014C36.0841 30.7167 35.874 30.4997 35.6028 30.3506C35.3316 30.2015 35.0198 30.1269 34.6673 30.1269C34.3148 30.1269 34.0029 30.2015 33.7317 30.3506C33.4606 30.4997 33.2436 30.7167 33.0809 31.0014C32.9318 31.2861 32.8572 31.6048 32.8572 31.9573ZM32.4911 38.1806C32.4911 38.6552 32.586 39.0552 32.7759 39.3806C32.9792 39.6924 33.2436 39.9365 33.569 40.1127C33.908 40.2754 34.2741 40.3568 34.6673 40.3568C35.0469 40.3568 35.3994 40.2754 35.7248 40.1127C36.0638 39.9365 36.335 39.6924 36.5383 39.3806C36.7417 39.0552 36.8434 38.6552 36.8434 38.1806C36.8434 37.7874 36.7417 37.4281 36.5383 37.1027C36.335 36.7773 36.0638 36.5197 35.7248 36.3299C35.3994 36.1401 35.0469 36.0452 34.6673 36.0452C34.2741 36.0452 33.908 36.1401 33.569 36.3299C33.2436 36.5197 32.9792 36.7773 32.7759 37.1027C32.586 37.4281 32.4911 37.7874 32.4911 38.1806Z" 61 fill="currentColor" 62 /> 63 <path d="M19.9994 29.3139V31.9375L23.4161 31.0426V42.4724H26.2431V27.9919L19.9994 29.3139Z" fill="currentColor" /> 64 <path 65 d="M64.0002 35.9999C64.0002 51.4639 51.4642 63.9999 36.0002 63.9999C20.5363 63.9999 8.00024 51.4639 8.00024 35.9999C8.00024 20.536 20.5363 7.99994 36.0002 7.99994C51.4642 7.99994 64.0002 20.536 64.0002 35.9999ZM10.8002 35.9999C10.8002 49.9175 22.0827 61.1999 36.0002 61.1999C49.9178 61.1999 61.2002 49.9175 61.2002 35.9999C61.2002 22.0824 49.9178 10.7999 36.0002 10.7999C22.0827 10.7999 10.8002 22.0824 10.8002 35.9999Z" 66 fill="currentColor" 67 /> 68</svg> 69`,lD=`<svg width="117" height="48" viewBox="0 0 117 48" fill="currentColor" xmlns="http://www.w3.org/2000/svg" {...$$props}> 70 <path 71 d="M90.2361 31.8221V21.0016H92.8457V22.3595H93.0155C93.2418 22.02 93.5176 21.723 93.8429 21.4684C94.1682 21.2138 94.536 21.0158 94.9462 20.8743C95.3705 20.7329 95.8231 20.6622 96.304 20.6622C97.0961 20.6622 97.768 20.846 98.3196 21.2138C98.8854 21.5816 99.2814 22.0342 99.5077 22.5717C99.8331 22.0483 100.293 21.6028 100.887 21.235C101.495 20.8531 102.245 20.6622 103.136 20.6622C104.395 20.6622 105.335 21.0441 105.958 21.8079C106.594 22.5717 106.912 23.5901 106.912 24.8631V31.8221H104.154V25.3723C104.154 24.6792 103.992 24.1558 103.666 23.8022C103.341 23.4345 102.902 23.2506 102.351 23.2506C101.87 23.2506 101.446 23.385 101.078 23.6537C100.724 23.9083 100.448 24.269 100.25 24.7358C100.066 25.2025 99.9745 25.7471 99.9745 26.3694V31.8221H97.1951V25.3723C97.1951 24.6792 97.0254 24.1558 96.6859 23.8022C96.3606 23.4345 95.8938 23.2506 95.2856 23.2506C94.833 23.2506 94.4299 23.385 94.0763 23.6537C93.7368 23.9083 93.4751 24.269 93.2913 24.7358C93.1074 25.2025 93.0155 25.7471 93.0155 26.3694V31.8221H90.2361Z" 72 fill="currentColor" 73 /> 74 <path 75 d="M81.6948 32.1616C80.931 32.1616 80.2521 32.013 79.6581 31.716C79.0781 31.4048 78.6184 30.9734 78.279 30.4218C77.9395 29.8702 77.7698 29.2337 77.7698 28.5123C77.7698 27.7627 77.9607 27.1191 78.3426 26.5816C78.7387 26.0441 79.262 25.6268 79.9127 25.3298C80.5774 25.0328 81.3129 24.8843 82.1192 24.8843C82.5577 24.8843 82.9537 24.9126 83.3073 24.9691C83.6751 25.0116 84.0004 25.0681 84.2833 25.1389C84.5662 25.2096 84.7995 25.2874 84.9834 25.3723V24.9055C84.9834 24.3256 84.7642 23.8517 84.3257 23.484C83.8872 23.1021 83.2861 22.9111 82.5223 22.9111C82.0131 22.9111 81.518 23.0314 81.0371 23.2718C80.5704 23.4981 80.1814 23.8022 79.8702 24.1841L78.088 22.7838C78.4416 22.3312 78.8518 21.9493 79.3186 21.6381C79.7854 21.3128 80.3016 21.0724 80.8674 20.9168C81.4332 20.747 82.0272 20.6622 82.6496 20.6622C84.3045 20.6622 85.5633 21.0441 86.4261 21.8079C87.2889 22.5717 87.7203 23.6891 87.7203 25.1601V31.8221H84.9834V30.7188H84.8137C84.6157 30.9734 84.3681 31.2139 84.0711 31.4402C83.7741 31.6524 83.4275 31.8221 83.0315 31.9494C82.6354 32.0908 82.1899 32.1616 8
751.6948 32.1616ZM82.3526 29.9975C82.9183 29.9975 83.3922 29.8772 83.7741 29.6368C84.1701 29.3822 84.4671 29.0569 84.6652 28.6608C84.8773 28.2648 84.9834 27.8475 84.9834 27.409C84.6722 27.2535 84.3186 27.1332 83.9226 27.0484C83.5265 26.9493 83.1234 26.8998 82.7132 26.8998C81.8929 26.8998 81.3271 27.0554 81.0159 27.3666C80.7047 27.6778 80.5491 28.0597 80.5491 28.5123C80.5491 28.9366 80.6977 29.2902 80.9947 29.5731C81.3059 29.856 81.7585 29.9975 82.3526 29.9975Z" 76 fill="currentColor" 77 /> 78 <path 79 d="M69.7446 31.8221V21.0016H72.3543V22.4443H72.524C72.7079 22.1049 72.9483 21.8078 73.2454 21.5532C73.5565 21.2845 73.9172 21.0723 74.3274 20.9167C74.7376 20.7611 75.1761 20.6833 75.6428 20.6833C75.9257 20.6833 76.1803 20.7046 76.4066 20.747C76.6329 20.7894 76.831 20.846 77.0007 20.9167V23.6961C76.7037 23.5829 76.4066 23.491 76.1096 23.4203C75.8267 23.3354 75.5226 23.293 75.1973 23.293C74.6457 23.293 74.1647 23.4344 73.7546 23.7173C73.3585 23.9861 73.0544 24.3609 72.8422 24.8418C72.6301 25.3086 72.524 25.839 72.524 26.433V31.8221H69.7446Z" 80 fill="currentColor" 81 /> 82 <path 83 d="M60.0199 32.1615C58.9307 32.1615 57.8982 31.9635 56.9222 31.5674C55.9604 31.1714 55.1047 30.6198 54.355 29.9125C53.6195 29.2053 53.0396 28.3708 52.6153 27.409C52.2051 26.433 52 25.3722 52 24.2265C52 23.0808 52.2051 22.0271 52.6153 21.0652C53.0396 20.0893 53.6195 19.2477 54.355 18.5405C55.0905 17.8332 55.9392 17.2816 56.901 16.8856C57.877 16.4895 58.9166 16.2915 60.0199 16.2915C61.2363 16.2915 62.3325 16.5037 63.3084 16.928C64.2844 17.3523 65.1189 17.9393 65.812 18.689L63.8389 20.6197C63.5135 20.2661 63.1599 19.9761 62.778 19.7498C62.3961 19.5094 61.9789 19.3255 61.5262 19.1982C61.0736 19.0709 60.5644 19.0072 59.9986 19.0072C59.3056 19.0072 58.6479 19.1345 58.0255 19.3891C57.4173 19.6296 56.8727 19.9832 56.3918 20.45C55.9251 20.9026 55.5573 21.4471 55.2886 22.0836C55.0198 22.7201 54.8855 23.4344 54.8855 24.2265C54.8855 25.0186 55.0198 25.7329 55.2886 26.3694C55.5573 27.0059 55.9251 27.5575 56.3918 28.0243C56.8727 28.4769 57.4244 28.8305 58.0467 29.0851C58.6691 29.3256 59.3339 29.4458 60.0411 29.4458C60.7483 29.4458 61.3777 29.3468 61.9294 29.1488C62.481 28.9507 62.9478 28.682 63.3297 28.3425C63.7257 28.0031 64.0369 27.6282 64.2632 27.218C64.5036 26.7937 64.6592 26.3623 64.7299 25.9238H59.9562V23.4839H67.4032C67.4457 23.6254 67.481 23.8375 67.5093 24.1204C67.5376 24.4033 67.5518 24.6367 67.5518 24.8206C67.5518 25.938 67.3608 26.9493 66.9789 27.8545C66.6111 28.7598 66.0878 29.5377 65.4089 30.1884C64.7441 30.8249 63.952 31.3128 63.0326 31.6523C62.1132 31.9918 61.109 32.1615 60.0199 32.1615Z" 84 fill="currentColor" 85 /> 86 <path 87 d="M25.0006 40.1976C33.9477 40.1976 41.2008 32.9451 41.2008 23.9987C41.2008 15.0523 33.9477 7.7998 25.0006 7.7998C16.0534 7.7998 8.80029 15.0523 8.80029 23.9987C8.80029 32.9451 16.0534 40.1976 25.0006 40.1976Z" 88 fill="currentColor" 89 /> 90 <path 91 d="M25.0006 40.1976C33.9477 40.1976 41.2008 32.9451 41.2008 23.9987C41.2008 15.0523 33.9477 7.7998 25.0006 7.7998C16.0534 7.7998 8.80029 15.0523 8.80029 23.9987C8.80029 32.9451 16.0534 40.1976 25.0006 40.1976Z" 92 fill="currentColor" 93 /> 94 <g clip-path="url(#clip0_4698_10092)"> 95 <path 96 d="M28.5687 16.0075C29.5194 16.0076 29.9953 16.0083 30.4252 16.1414C30.8057 16.2591 31.1594 16.4513 31.4642 16.7078C31.8085 16.9975 32.0653 17.3983 32.5794 18.1981L34.8478 21.7275C35.1873 22.2557 35.3572 22.5199 35.4034 22.7978C35.4441 23.043 35.4171 23.2953 35.3253 23.5263C35.2211 23.7879 34.9986 24.0102 34.5547 24.454L26.1228 32.8854C25.7298 33.2786 25.5331 33.475 25.3064 33.5484C25.1068 33.6132 24.8917 33.6132 24.6921 33.5484C24.4655 33.4746 24.2688 33.2782 23.8757 32.8853L15.4444 24.4533C15.0003 24.0094 14.7781 23.7872 14.6739 23.5256C14.5821 23.2946 14.5551 23.0423 14.5958 22.7971C14.6421 22.5193 14.812 22.255 15.1515 21.7268L17.4212 18.1966C17.9352 17.3971 18.1922 16.997 18.5365 16.7074C18.8411 16.451 19.1942 16.2586 19.5746 16.141C20.0046 16.0079 20.4804 16.0072 21.431 16.0073L28.5687 16.0075ZM27.8938 18.7927C27.778 18.4795 27.3351 18.4795 27.219 18.7926L26.4172 20.9586C26.3934 21.0227 26.3561 21.0811 26.3078 21.1295C26.2593 21.178 26.2002 21.2151 26.1359 21.2389L23.9699 22.0406C23.6569 22.1567 23.657 22.5991 23.9698 22.7154L26.1358 23.5172C26.2001 23.541 26.2592 23.5781 26.3077 23.6266C26.3561 23.675 26.3933 23.7342 26.4171 23.7985L27.2187 25.9645C27.3347 26.2774 27.7774 26.2775 27.8935 25.9645L28.6954 23.7986C28.7192 23.7342 28.7563 23.6751 28.8048 23.6267C28.8532 23.5783 28.9116 23.541 28.9757 23.5173L31.1417 22.7156C31.4551 22.5998 31.4551 22.1568 31.1417 22.0408L28.9758 21.239C28.9116 21.2152 28.8533 21.178 28.8049 21.1296C28.7565 21.0812 28.7193 21.0229 28.6955 20.9587L27.8938 18.7927Z" 97 fill="#13161E" 98 /> 99 </g> 100 <defs> 101 <clipPath id="clip0_4698_10092"> 102 <rect width="21.6011" height="21.6011" fill="white" transform="translate(14.2004 13.5593)" /> 103 </clipPath> 104 </defs> 105</svg> 106`,rD=`<svg width="154" height="46" viewBox="0 0 154 46" fill="currentColor" xmlns="http://www.w3.org/2000/svg" > 107 <path 108 d="M38.492 21.269v2.478c-.106.009-.676.058-1.814.058-.949 0-1.636-.041-1.875-.058v-2.481c-3.662.16-6.397.797-6.397 1.556 0 .76 2.734 1.396 6.397 1.556v-.003c.236.013.904.039 1.858.039 1.192 0 1.726-.03 1.83-.039v.005c3.655-.164 6.383-.797 6.383-1.556 0-.76-2.726-1.393-6.382-1.557v.002Z" 109 fill="currentColor" 110 /> 111 <path 112 d="M36.893 8.062c-8.285 0-15.002 6.689-15.002 14.938 0 8.25 6.717 14.938 15.002 14.938S51.896 31.249 51.896 23c0-8.25-6.718-14.938-15.003-14.938Zm1.602 16.924v7.113h-3.688v-7.113c-4.145-.192-7.263-1.01-7.263-1.99 0-.979 3.117-1.796 7.263-1.985v-2.218h-5.102v-3.384h13.887v3.383H38.49v2.22l.003.002c4.14.19 7.25 1.01 7.25 1.986 0 .977-3.11 1.797-7.25 1.986h.002ZM64.646 16.333v3.588h3.502v2.693h-3.526v5.458c0 1.206.668 1.794 1.647 1.794.49 0 1.057-.153 1.52-.384l.876 2.666c-.899.357-1.647.512-2.599.538-2.755.103-4.557-1.46-4.557-4.614v-5.458h-2.368V19.92h2.368v-3.254l3.139-.334h-.002Zm60.379 3.42.231 1.46c.979-1.565 2.291-1.795 3.579-1.795 1.287 0 2.573.512 3.268 1.204l-1.416 2.715c-.643-.538-1.235-.821-2.265-.821-1.648 0-3.166.872-3.166 3.203v6.664h-3.14V19.746l2.909.005v.002Zm-7.697 4.843c-.205-1.64-1.492-2.46-3.294-2.46-1.699 0-3.089.821-3.553 2.46h6.849-.002Zm-6.898 2.589c.205 1.564 1.571 2.692 3.784 2.692 1.158 0 2.678-.437 3.399-1.179l2.007 1.973c-1.339 1.383-3.527 2.052-5.458 2.052-4.375 0-6.978-2.693-6.978-6.74 0-4.049 2.627-6.614 6.747-6.614 4.119 0 6.9 2.616 6.411 7.817h-9.912v-.001Zm-13.849-12.74v7.022c1.
112134-1.46 2.523-1.897 3.966-1.897 3.603 0 5.2 2.435 5.2 6.153v6.664h-3.14V25.75c0-2.307-1.21-3.28-2.884-3.28-1.855 0-3.14 1.565-3.14 3.461v6.46h-3.14V14.45l3.14-.003-.002-.002Zm-8.34 1.742v3.588h3.501v2.693h-3.526v5.459c0 1.205.67 1.794 1.648 1.794.49 0 1.056-.154 1.52-.385l.876 2.666c-.9.358-1.648.512-2.6.538-2.755.103-4.556-1.462-4.556-4.613v-5.459h-2.369v-2.692h2.368v-3.254l3.139-.334h-.002Zm-8.677 8.408c-.205-1.64-1.492-2.461-3.294-2.461-1.699 0-3.09.822-3.553 2.46h6.849-.002Zm-6.898 2.588c.205 1.564 1.571 2.693 3.784 2.693 1.158 0 2.678-.437 3.399-1.18l2.007 1.974c-1.339 1.383-3.527 2.051-5.458 2.051-4.378 0-6.978-2.692-6.978-6.74s2.627-6.613 6.744-6.613c4.116 0 6.897 2.616 6.41 7.817h-9.908v-.002Z" 113 fill="currentColor" 114 /> 115</svg> 116`,iD={beGambleAware:sD,bitcoin:aD,eighteenPlus:nD,gram:lD,tether:rD},Vn=({icon:t,className:s,ariaLabel:a})=>e.jsx("span",{role:a?"img":"presentation","aria-label":a,"aria-hidden":a?void 0:!0,"data-testid":`footer-icon-${t}`,className:g("inline-flex items-center",s),dangerouslySetInnerHTML:{__html:iD[t]}}),x2="76f8fb27-522d-4079-9fc5-b8f84bdac6cc",oD=`https://${x2}.snippet.anjcdn.org/anj-seal.js`,cD=()=>typeof window<"u"&&window.location.hostname===js.mainHostname,dD=()=>{const t=cD();return m.useEffect(()=>{t&&Zj(oD).catch(()=>{})},[t]),e.jsxs("div",{className:"flex items-center justify-center gap-x-4","data-testid":"footer-certificate",children:[e.jsx(Vn,{icon:"beGambleAware",className:"w-[156px] text-brandblue-100",ariaLabel:"BeGambleAware"}),e.jsx(Vn,{icon:"eighteenPlus",className:"w-[72px] text-brandblue-100",ariaLabel:"18+"}),t?e.jsx("div",{id:`anj-${x2}`,"data-testid":"footer-anjouan-seal","data-anj-seal-id":x2,"data-anj-image-size":"64","data-anj-image-type":"basic-small"}):e.jsx("img",{src:"/license/certificate.webp",className:"h-auto w-16",alt:"Certificate of Operation","data-testid":"footer-certificate-image",loading:"lazy",decoding:"async"})]})},qo="w-full max-w-40 2xl:w-40 [&>svg]:h-auto [&>svg]:max-w-full",uD=()=>{const t=C(il),s=(t==null?void 0:t[U.TON])||"ð¤";return e.jsxs("div",{className:"flex items-center justify-between rounded-2xl bg-background-secondary","data-testid":"footer-crypto",children:[e.jsx("div",{className:"flex w-full items-center justify-center gap-2 text-brandblue-100 2xl:w-auto 2xl:justify-start",children:e.jsxs("div",{className:"grid grid-cols-3 items-center justify-center gap-2",children:[e.jsx(Vn,{icon:"tether",className:qo}),e.jsx(Vn,{icon:"gram",className:qo}),e.jsx(Vn,{icon:"bitcoin",className:qo})]})}),e.jsxs("div",{className:"hidden items-center gap-x-2 2xl:flex",children:[e.jsxs("div",{className:"flex gap-x-2 rounded-lg bg-primary px-3 py-2",children:[e.jsx(we,{currency:U.TON}),e.jsx("span",{className:"text-sm font-semibold text-white",children:"1 GRAM"})]}),e.jsx(ve,{icon:"arrowBoldRight",className:"size-4"}),e.jsxs("div",{className:"flex gap-x-2 rounded-lg bg-primary px-3 py-2",children:[e.jsx(ve,{icon:"dollarSign",className:"size-4 text-green-500"}),e.jsxs("span",{className:"text-sm font-semibold text-white","data-testid":"footer-gram-price",children:[s," USD"]})]})]})]})},mD="/assets/score-H8xCUUKK.webp",xD="/assets/stars-BE9G5LAU.webp",fD="https://www.trustpilot.com/review/whale.io",pD=()=>typeof window<"u"&&window.location.hostname===js.mainHostname,hD=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1132.8 278.2",preserveAspectRatio:"xMidYMid slice",children:[e.jsx("path",{d:"M297.7 98.6h114.7V120h-45.1v120.3h-24.8V120h-44.9V98.6zm109.8 39.1h21.2v19.8h.4c.7-2.8 2-5.5 3.9-8.1 1.9-2.6 4.2-5.1 6.9-7.2 2.7-2.2 5.7-3.9 9-5.3 3.3-1.3 6.7-2 10.1-2 2.6 0 4.5.1 5.5.2s2 .3 3.1.4v21.8c-1.6-.3-3.2-.5-4.9-.7-1.7-.2-3.3-.3-4.9-.3-3.8 0-7.4.8-10.8 2.3-3.4 1.5-6.3 3.8-8.8 6.7-2.5 3-4.5 6.6-6 11s-2.2 9.4-2.2 15.1v48.8h-22.6V137.7zm164 102.6h-22.2V226h-.4c-2.8 5.2-6.9 9.3-12.4 12.4-5.5 3.1-11.1 4.7-16.8 4.7-13.5 0-23.3-3.3-29.3-10s-9-16.8-9-30.3v-65.1H504v62.9c0 9 1.7 15.4 5.2 19.1 3.4 3.7 8.3 5.6 14.5 5.6 4.8 0 8.7-.7 11.9-2.2 3.2-1.5 5.8-3.4 7.7-5.9 2-2.4 3.4-5.4 4.3-8.8.9-3.4 1.3-7.1 1.3-11.1v-59.5h22.6v102.5zm38.5-32.9c.7 6.6 3.2 11.2 7.5 13.9 4.4 2.6 9.6 4 15.7 4 2.1 0 4.5-.2 7.2-.5s5.3-1 7.6-1.9c2.4-.9 4.3-2.3 5.9-4.1 1.5-1.8 2.2-4.1 2.1-7-.1-2.9-1.2-5.3-3.2-7.1-2-1.9-4.5-3.3-7.6-4.5-3.1-1.1-6.6-2.1-10.6-2.9-4-.8-8-1.7-12.1-2.6-4.2-.9-8.3-2.1-12.2-3.4-3.9-1.3-7.4-3.1-10.5-5.4-3.1-2.2-5.6-5.1-7.4-8.6-1.9-3.5-2.8-7.8-2.8-13 0-5.6 1.4-10.2 4.1-14 2.7-3.8 6.2-6.8 10.3-9.1 4.2-2.3 8.8-3.9 13.9-4.9 5.1-.9 10-1.4 14.6-1.4 5.3 0 10.4.6 15.2 1.7 4.8 1.1 9.2 2.9 13.1 5.5 3.9 2.5 7.1 5.8 9.7 9.8 2.6 4 4.2 8.9 4.9 14.6h-23.6c-1.1-
1165.4-3.5-9.1-7.4-10.9-3.9-1.9-8.4-2.8-13.4-2.8-1.6 0-3.5.1-5.7.4-2.2.3-4.2.8-6.2 1.5-1.9.7-3.5 1.8-4.9 3.2-1.3 1.4-2 3.2-2 5.5 0 2.8 1 5 2.9 6.7 1.9 1.7 4.4 3.1 7.5 4.3 3.1 1.1 6.6 2.1 10.6 2.9 4 .8 8.1 1.7 12.3 2.6 4.1.9 8.1 2.1 12.1 3.4 4 1.3 7.5 3.1 10.6 5.4 3.1 2.3 5.6 5.1 7.5 8.5 1.9 3.4 2.9 7.7 2.9 12.7 0 6.1-1.4 11.2-4.2 15.5-2.8 4.2-6.4 7.7-10.8 10.3-4.4 2.6-9.4 4.6-14.8 5.8-5.4 1.2-10.8 1.8-16.1 1.8-6.5 0-12.5-.7-18-2.2-5.5-1.5-10.3-3.7-14.3-6.6-4-3-7.2-6.7-9.5-11.1-2.3-4.4-3.5-9.7-3.7-15.8H610zm74.6-69.7h17.1v-30.8h22.6v30.8h20.4v16.9h-20.4v54.8c0 2.4.1 4.4.3 6.2.2 1.7.7 3.2 1.4 4.4.7 1.2 1.8 2.1 3.3 2.7 1.5.6 3.4.9 6 .9 1.6 0 3.2 0 4.8-.1 1.6-.1 3.2-.3 4.8-.7v17.5c-2.5.3-5 .5-7.3.8-2.4.3-4.8.4-7.3.4-6 0-10.8-.6-14.4-1.7-3.6-1.1-6.5-2.8-8.5-5-2.1-2.2-3.4-4.9-4.2-8.2-.7-3.3-1.2-7.1-1.3-11.3v-60.5h-17.1v-17.1zm76.1 0h21.4v13.9h.4c3.2-6 7.6-10.2 13.3-12.8 5.7-2.6 11.8-3.9 18.5-3.9 8.1 0 15.1 1.4 21.1 4.3 6 2.8 11 6.7 15 11.7 4 5 6.9 10.8 8.9 17.4 2 6.6 3 13.7 3 21.2 0 6.9-.9 13.6-2.7 20-1.8 6.5-4.5 12.2-8.1 17.2-3.6 5-8.2 8.9-13.8 11.9-5.6 3-12.1 4.5-19.7 4.5-3.3 0-6.6-.3-9.9-.9-3.3-.6-6.5-1.6-9.5-2.9-3-1.3-5.9-3-8.4-5.1-2.6-2.1-4.7-4.5-6.5-7.2h-.4v51.2h-22.6V137.7zm79 51.4c0-4.6-.6-9.1-1.8-13.5-1.2-4.4-3-8.2-5.4-11.6-2.4-3.4-5.4-6.1-8.9-8.1-3.6-2-7.7-3.1-12.3-3.1-9.5 0-16.7 3.3-21.5 9.9-4.8 6.6-7.2 15.4-7.2 26.4 0 5.2.6 10 1.9 14.4 1.3 4.4 3.1 8.2 5.7 11.4 2.5 3.2 5.5 5.7 9 7.5 3.5 1.9 7.6 2.8 12.2 2.8 5.2 0 9.5-1.1 13.1-3.2 3.6-2.1 6.5-4.9 8.8-8.2 2.3-3.4 4-7.2 5-11.5.9-4.3 1.4-8.7 1.4-13.2zm39.9-90.5h22.6V120h-22.6V98.6zm0 39.1h22.6v102.6h-22.6V137.7zm42.8-39.1H945v141.7h-22.6V98.6zm91.9 144.5c-8.2 0-15.5-1.4-21.9-4.1-6.4-2.7-11.8-6.5-16.3-11.2-4.4-4.8-7.8-10.5-10.1-17.1-2.3-6.6-3.5-13.9-3.5-21.8 0-7.8 1.2-15 3.5-21.6 2.3-6.6 5.7-12.3 10.1-17.1 4.4-4.8 9.9-8.5 16.3-11.2 6.4-2.7 13.7-4.1 21.9-4.1s15.5 1.4 21.9 4.1c6.4 2.7 11.8 6.5 16.3 11.2 4.4 4.8 7.8 10.5 10.1 17.1 2.3 6.6 3.5 13.8 3.5 21.6 0 7.9-1.2 15.2-3.5 21.8-2.3 6.6-5.7 12.3-10.1 17.1-4.4 4.8-9.9 8.5-16.3 11.2-6.4 2.7-13.7 4.1-21.9 4.1zm0-17.9c5 0 9.4-1.1 13.1-3.2 3.7-2.1 6.7-4.9 9.1-8.3 2.4-3.4 4.1-7.3 5.3-11.6 1.1-4.3 1.7-8.7 1.7-13.2 0-4.4-.6-8.7-1.7-13.1s-2.9-8.2-5.3-11.6c-2.4-3.4-5.4-6.1-9.1-8.2-3.7-2.1-8.1-3.2-13.1-3.2s-9.4 1.1-13.1 3.2c-3.7 2.1-6.7 4.9-9.1 8.2-2.4 3.4-4.1 7.2-5.3 11.6-1.1 4.4-1.7 8.7-1.7 13.1 0 4.5.6 8.9 1.7 13.2 1.1 4.3 2.9 8.2 5.3 11.6 2.4 3.4 5.4 6.2 9.1 8.3 3.7 2.2 8.1 3.2 13.1 3.2zm58.4-87.5h17.1v-30.8h22.6v30.8h20.4v16.9h-20.4v54.8c0 2.4.1 4.4.3 6.2.2 1.7.7 3.2 1.4 4.4.7 1.2 1.8 2.1 3.3 2.7 1.5.6 3.4.9 6 .9 1.6 0 3.2 0 4.8-.1 1.6-.1 3.2-.3 4.8-.7v17.5c-2.5.3-5 .5-7.3.8-2.4.3-4.8.4-7.3.4-6 0-10.8-.6-14.4-1.7-3.6-1.1-6.5-2.8-8.5-5-2.1-2.2-3.4-4.9-4.2-8.2-.7-3.3-1.2-7.1-1.3-11.3v-60.5h-17.1v-17.1z",fill:"#fff"}),e.jsx("path",{fill:"#00b67a",d:"M271.3 98.6H167.7L135.7 0l-32.1 98.6L0 98.5l83.9 61L51.8 258l83.9-60.9 83.8 60.9-32-98.5 83.8-60.9z"}),e.jsx("path",{fill:"#005128",d:"M194.7 181.8l-7.2-22.3-51.8 37.6z"})]}),gD=()=>pD()?null:e.jsxs("a",{href:`${fD}?utm_medium=Trustbox&utm_source=EmailNewsletter2`,target:"_blank",rel:"noreferrer","data-testid":"footer-trustpilot",className:"flex max-h-16 max-w-32 flex-col gap-y-2",children:[e.jsx("div",{children:e.jsx(hD,{})}),e.jsx("img",{src:xD,alt:"Trustpilot Stars",className:"max-w-full",loading:"lazy",decoding:"async"}),e.jsx("img",{src:mD,alt:"TrustScore",className:"max-w-full",loading:"lazy",decoding:"async"})]}),{siteCode:f2,externalLinks:K6}=rt,Wm=f2==="whale"?"/logo":`/sites/${f2}/logo`,bD=f2==="whale"?cc:`${Wm}/icon-small.svg`,CD=()=>e.jsxs("div",{className:"flex flex-row gap-4 @2xl:flex-col","data-testid":"footer-description",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center gap-x-1",children:[e.jsx("img",{src:bD,alt:"Whale",width:32,height:32}),e.jsx("img",{src:`${Wm}/brand-text.svg`,alt:"",height:16,className:"h-4","aria-hidden":"true"})]}),e.jsx("p",{className:"text-justify text-xs text-foreground-muted","data-testid":"footer-disclaimer",children:r8(n("footer_disclaimer"))})]}),e.jsxs("div",{className:"flex flex-col justify-normal gap-4",children:[e.jsxs("div",{className:"flex flex-col justify-between gap-4 @2xl:flex-row",children:[K6?e.jsx(Fm,{externalLinks:K6}):null,e.jsx("div",{children:e.jsx(Wj,{})})]}),e.jsx(gD,{})]})]}),jD=t=>"href"in t,q6="flex rounded-md p-0 text-left text-sm font-medium leading-tight text-footer-text-tertiary transition-colors duration-200 hover:text-label-secondary",tr=({title:t,links:s,testId:a})=>e.jsxs("div",{className:"flex flex-col items-center justify-center gap-y-4 md:items-start md:justify-start","data-testid":a,children:[e.jsx("p",{className:"truncate text-base font-medium text-footer-text-primary",children:t}),e.jsx("div",{className:"flex flex-col items-center justify-center gap-3 text-sm font-medium text-footer-text-tertiary md:items-start md:justify-start",children:s.filter(l=>
116!("enabled"in l)||l.enabled).map(l=>{const r=l.translationKey?n(l.translationKey):l.translation??"";return jD(l)?l.href.startsWith("/")?e.jsx(De,{to:l.href,"aria-label":r,"data-testid":`footer-link-${l.href}`,className:q6,children:r},l.href):e.jsx("a",{href:l.href,"aria-label":r,"data-testid":`footer-link-${l.href}`,className:q6,children:r},l.href):e.jsx("button",{type:"button",onClick:l.onClick,"aria-label":r,"data-testid":`footer-action-${l.translationKey}`,className:"cursor-pointer text-left text-sm font-medium text-footer-text-tertiary hover:underline",children:r},l.translationKey)})})]}),vD=["promotions","wtf","trash","all"],wD=t=>vD.includes(t),yD=[{value:"promotions",translationKey:"global_promotions"},{value:"wtf",translationKey:"global_wtf"},{value:"trash",translationKey:"global_trash"},{value:"all",translationKey:"global_all"}],Km=t=>`${Ut}/${t.category}/${t.slug}`,_D=(t,{battlePassEnabled:s,tribesEnabled:a})=>t.filter(l=>!(l.slug==="battlepass-season3"&&!s||l.slug==="tribes"&&!a)),ND=t=>yD.filter(s=>s.value==="all"||t.some(a=>a.category===s.value)),kD=(t,s)=>s==="all"?[...t]:t.filter(a=>a.category===s),SD={spinwars:"/tournaments/spinwars"},AD=[{href:Ve,translationKey:"global_slots"},{href:c1,translationKey:"global_cryptoGames"},{href:Ba,translationKey:"global_liveCasino"},{href:t7,translationKey:"global_marbles"},{href:Fs,translationKey:"global_whaleOriginals"},{href:m3,translationKey:"global_mostPopular"},{href:x3,translationKey:"global_newArrivals"},{href:f3,translationKey:"global_buyFeature"},{href:p3,translationKey:"global_megaways"}],LD=[{href:Os,translationKey:"global_sportsbookMain"},{href:h7,translationKey:"global_football"},{href:g7,translation:"CS2"},{href:b7,translation:"Dota 2"}],MD=[{href:Ut,translationKey:"01_promotions"},{href:Ea,translationKey:"global_tournaments",enabled:ke(Se.Tournaments)},{href:qj,translationKey:"global_wtf"},{href:d1,translationKey:"global_referAFriend"},{href:"https://whalepartners.io/",translationKey:"footer_affiliates"},{href:"https://mintwhale.io/",translationKey:"footer_trade_whale"},{href:V1,translationKey:"footer_crock_nft"},{href:u3,translationKey:"apk.common.downloadApp"}],BD=()=>{const t=C(Kj);return[...MD,...t.map(s=>({href:Km(s),translationKey:s.titleKey}))]},ED=[{onClick:()=>b1(),translationKey:"footer_support",enabled:ke(Se.Intercom)},{href:Xa.TERMS_AND_CONDITIONS,translationKey:"footer_termsAndConditions"},{href:Xa.RESPONSIBLE_GAMING,translationKey:"footer_responsibleGaming"},{href:Xa.FAIRNESS,translationKey:"footer_fairness"},{href:Xa.RESTRICTED_JURISDICTIONS,translationKey:"footer_restrictedJurisdictions"},{href:Xa.AML_POLICY,translationKey:"footer_amlPolicy"},{href:Xa.PRIVACY_POLICY,translationKey:"global_privacy_policy"}],RD=()=>{const t=BD();return e.jsx("div",{className:"flex flex-row justify-between gap-6",children:ue?null:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"hidden @2xl:block",children:e.jsx(tr,{title:n("global_casino"),links:AD,testId:"footer-column-casino"})}),e.jsx("div",{className:"hidden @md:block",children:e.jsx(tr,{title:n("global_sportsbook"),links:LD,testId:"footer-column-sportsbook"})}),e.jsx("div",{className:"hidden @md:block",children:e.jsx(tr,{title:n("global_promotions"),links:t,testId:"footer-column-promotions"})}),e.jsx("div",{className:"flex w-full justify-center @md:w-auto",children:e.jsx(tr,{title:`${n("footer_support")} / ${n("global_legal")}`,links:ED,testId:"footer-column-support"})})]})})},Yo=()=>e.jsx("div",{className:"h-px w-full bg-border-primary"}),TD=()=>e.jsxs("div",{className:"mx-auto w-full max-w-[1460px] items-center justify-center overflow-hidden px-2 py-6 @container","data-testid":"footer",children:[e.jsx(Yo,{}),e.jsxs("footer",{className:"relative flex flex-col gap-9 pt-9",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-9 @4xl:grid-cols-[minmax(0,280px)_1fr]",children:[e.jsx(CD,{}),e.jsx(RD,{})]}),e.jsx(Yo,{}),e.jsx(uD,{}),e.jsx(Yo,{}),e.jsx(dD,{})]})]}),p2=Ze("tribeProfileVisibilityChanged"),ID=At(!1).on(p2,(t,s)=>s),FD="/assets/firstPlace-Dv5de-Fb.webp",OD="/assets/secondPlace-CVadYolm.webp",DD="/assets/thirdPlace-B9qAd6QB.webp",vr=i8.USDT,Ur=t=>`$${new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}).format(t||0)}`,Vr=t=>`${(t||0).toFixed(2)}%`,zr=t=>t.toFixed(2),$D=({percentage:t})=>e.jsx("div",{className:"mt-1.5 h-1.5 w-full rounded-full bg-tribe-live",children:e.jsx("div",{className:"h-1.5 rounded bg-gradient-to-r from-info to-brandblue-300",style:{width:`${Math.min(Math.max(t,0),100).toFixed(0)}%`}})}),PD=()=>{const[t,s]=C([G2,o8]);return e.jsxs("div",{"data-testid":"room-sidebar-owner",className:"flex w-full flex-col items-center justify-center gap-2 rounded-xl bg-gunmetal p-4",children:[e.jsx(ss,{src:t.avatarUrl,size:"md",alt:t.name}),e.jsxs("div",{className:"flex min-w-full items-center justify-center gap-2 text-base font-medium text-white",children:[e.jsxs("span",{className:"flex min-w-0 items-center gap-1",children:[e.jsx(ve,{icon:"crown",className:"size-5 shrink-0 text-[#FFDD62]"}),e.jsx("span",{className:"truncate",children:t.name})]}),e.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[e.jsx("img",{src:"/level-badge.webp",alt:"",width:24,height:24,className:"size-6","aria-hidden":"true"}),e.jsx("span",{className:"text-stream-non-accent-color",children:t.level})]})]}),e.jsxs("div",{className:"flex min-w-full flex-col",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsxs("span",{className:"text-sm text-white","data-testid":"room-sidebar-owner-balance",children:[zr(s.balance)," ",vr]}),e.jsxs("span",{className:"text-sm leading-5 text-checkbox-active",children:[zr(s.percentage),"%"]})]}),e.jsx($D,{percentage:s.percentage})]})]})},HD=[FD,OD,DD],UD=({rank:t})=>{const s=HD[t-1];return s?e.jsx("img",{src:s,alt:String(t),className:g(t===3?"size-6":"w-9")}):e.jsx("span",{children:t})},Y6=({participant:t,avatarUrl:s,rank:a,isLast:l,rightContent:r})=>e.jsxs("div",{"data-testid":"room-sidebar-participant",className:g("flex border-t border-t-tribe-live bg-gunmetal p-3 text-sm font-semibold text-white",l&&"rounded-b-xl"),children:[e.jsx("div",{className:"flex w-9 shrink-0 items-center justify-center text-stream-non-accent-color",children:e.jsx(UD,{rank:a})}),e.jsxs("div",{className:"flex min-w-0 grow items-center gap-2",children:[e.jsx(ss,{src:s??t.avatarUrl,userId:t.externalUserId,size:"lg"}),e.jsx("span",{className:"min-w-0 flex-1 truncate",children:t.username})]}),e.jsx("div",{className:"flex shrink-0 flex-col text-right",children:r})]}),VD=()=>{const[t,s,a]=C([ri,ii,V2]);if(!t.length&&!s.length)return null;const l=t.length+s.length;return e.jsxs("div",{className:"flex w-full flex-col rounded-xl bg-tribe-live","data-testid":"room-sidebar-players",children:[e.jsxs("div",{className:"flex justify-between p-3 text-sm font-medium text-brandblue-100",children:[e.jsx("span",{children:n("tribes.room.table.place")}),e.jsx("span",{children:n("tribes.room.table.balance")})]}),t.map((r,i)=>e.jsx(Y6,{participant:r,avatarUrl:a[r.externalUserId],rank:i+1,isLast:i===l-1,right
116Content:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-sm",children:zr(r.balance)}),e.jsxs("span",{className:"text-xs text-stream-non-accent-color",children:[zr(r.percentage),"%"]})]})},r.uuid||r.externalUserId)),s.map((r,i)=>e.jsx(Y6,{participant:r,avatarUrl:a[r.externalUserId],rank:t.length+i+1,isLast:i===s.length-1,rightContent:e.jsx("span",{className:"flex h-5 items-center justify-center rounded bg-stream-sub-highlight-color px-1 text-sm font-medium text-stream-non-accent-color",children:n("tribes.room.table.viewer")})},r.uuid||r.externalUserId))]})},zD=()=>{const[t,s]=C([ri,ii]);return e.jsxs("div",{"data-testid":"room-sidebar-counts",className:"flex h-10 shrink-0 items-center justify-center gap-1 border-t border-t-gunmetal bg-black-50 text-sm text-white",children:[t.length,e.jsxs("span",{className:"text-stream-non-accent-color",children:[t.length===1?n("tribes.room.counts.player"):n("tribes.room.counts.players")," /"]}),s.length,e.jsx("span",{className:"text-stream-non-accent-color",children:s.length===1?n("tribes.room.table.viewer"):n("tribes.room.table.viewers")})]})},GD=({surface:t})=>e.jsxs("div",{className:"flex min-h-0 flex-1 flex-col","data-testid":"room-sidebar",children:[e.jsx("div",{id:t==="streamer"?"main-streamer-playerlist-drawer":"main-viewer-playerlist-drawer",className:"no-scrollbar min-h-0 flex-1 overflow-y-auto px-2 pt-4 [scrollbar-width:none]",children:e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(PD,{}),e.jsx(VD,{})]})}),e.jsx(zD,{})]}),qm=({expanded:t})=>{const s=t?jR:vR;return e.jsx("button",{type:"button","data-testid":"sidebar-toggle","aria-label":t?"Toggle Sidebar":"Expand Sidebar","aria-expanded":t,className:"flex items-center justify-center rounded-lg border border-border-navbar p-1.5 text-icon-button-active transition-colors duration-100",onClick:()=>_m(),children:e.jsx(s,{className:"size-5"})})},fc=({withText:t})=>e.jsxs(De,{to:ot,className:"flex items-center gap-x-1","aria-label":n("global_home"),children:[e.jsx("img",{src:cc,alt:"Whale",width:32,height:32}),t?e.jsx("img",{src:"/logo/brand-text.svg",alt:"",height:16,className:"h-4","aria-hidden":"true"}):null]}),Ym=({testId:t,header:s,children:a,fullHeight:l=!1})=>e.jsx("aside",{"data-testid":t,className:g("w-[280px] border-r border-r-border-primary bg-sidebar-main transition-all duration-300 ease-in-out",l?"h-full":"min-h-full"),"aria-label":"Sidebar",children:e.jsxs("div",{className:"flex size-full flex-col",children:[e.jsx("section",{className:"flex flex-col bg-sidebar-header p-4 py-3.5 shadow-[inset_0px_0px_4px_0px_rgba(0,0,0,0.25)]",children:e.jsx("div",{className:"flex items-center justify-between gap-x-2",children:s})}),a]})}),ZD=()=>e.jsx(Ym,{testId:"sidebar-expanded",header:e.jsxs(e.Fragment,{children:[e.jsx(fc,{withText:!0}),e.jsx(qm,{expanded:!0})]}),children:e.jsx("div",{className:"flex size-full flex-col gap-y-4 px-2 pt-4",children:e.jsx(Um,{})})}),WD=()=>{const{flags:t,gamesItems:s,communityItems:a,userItems:l,isAuthenticated:r,handleAction:i}=Im(),o=x=>x.filter(p=>!p.excludeFromMiniVariant),d=o(s),u=o(a),c=x=>x&&!ue?"border-b border-b-primary":"";return e.jsx("aside",{"data-testid":"sidebar-mini",className:"min-h-full w-16 border-r border-r-primary bg-sidebar-main","aria-label":"Sidebar",children:e.jsxs("div",{className:"flex flex-col p-3.5",children:[e.jsxs("section",{className:g("flex flex-col items-center gap-y-4 pb-3 pt-1.5",c(!0)),children:[e.jsx(qm,{expanded:!1}),e.jsx(fc,{withText:!1})]}),d.length?e.jsx("section",{className:g("flex w-full flex-col items-center gap-y-2 py-2",c(!!u.length||r)),children:d.map(x=>e.jsx(Wo,{item:x,isActive:r1(t,x.href,x.isComingSoon),onAction:i},x.labelKey??x.label??x.href))}):null,u.length?e.jsx("section",{className:g("flex flex-col items-center gap-y-2 py-2",c(!0)),children:u.map(x=>e.jsx(Wo,{item:x,isActive:r1(t,x.href,x.isComingSoon),onAction:i},x.labelKey??x.label??x.href))}):null,r?e.jsx("section",{className:g("flex w-full flex-col items-center gap-y-2 py-2",c(!0)),children:l.map(x=>e.jsx(Wo,{item:x,isActive:r1(t,x.href,x.isComingSoon),onAction:i},x.labelKey))}):null]})})},KD=()=>{const[t,s]=C([Lm,ID]),{pathname:a}=at(),l=qI(a);return l&&!(l==="viewer"&&s)?e.jsx(Ym,{fullHeight:!0,testId:"sidebar-tr
116ibe-room",header:e.jsx(fc,{withText:!0}),children:e.jsx(GD,{surface:l})}):t?e.jsx(WD,{}):e.jsx(ZD,{})},qD="(min-width: 640px)",YD="(orientation: landscape)",XD=()=>typeof window<"u"&&window.matchMedia(qD).matches,JD=()=>Fh()&&typeof window<"u"&&window.matchMedia(YD).matches,X6=()=>({isMediumBreakpointOrLarger:XD(),isLandscapeOrientation:JD()}),_l=()=>{const[t,s]=m.useState(X6);return m.useEffect(()=>{const a=()=>s(l=>{const r=X6();return r.isMediumBreakpointOrLarger===l.isMediumBreakpointOrLarger&&r.isLandscapeOrientation===l.isLandscapeOrientation?l:r});return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),t},QD=(t,s=ue)=>{const a=t.length>1&&t.endsWith("/")?t.slice(0,-1):t;if([st(s),wt(s),Oi(s),Di(s),ic(s),y3].includes(a))return a;const r=Jt(":slug",s);return Y2({path:r,caseSensitive:!0,end:!0},a)?r:a},e$=[`${Ae}/:roomId/stream`],t$=t=>{const s=t.length>1&&t.endsWith("/")?t.slice(0,-1):t;return e$.some(a=>Y2({path:a,caseSensitive:!0,end:!0},s)!==null)},s$="/assets/whale-COHiDtsv.webp",pc="data-whale-seo",gs=(t,s,a,l)=>{let r=document.head.querySelector(t);r||(r=document.createElement("meta"),r.setAttribute(s,a),document.head.appendChild(r)),r.setAttribute("content",l)},a$=(t,s)=>{let a=document.head.querySelector(`link[rel="${t}"]`);a||(a=document.createElement("link"),a.setAttribute("rel",t),document.head.appendChild(a)),a.setAttribute(pc,t),a.setAttribute("href",s)},n$=t=>{let s=document.head.querySelector('script[type="application/ld+json"]');s||(s=document.createElement("script"),s.type="application/ld+json",document.head.appendChild(s)),s.textContent=t},l$=t=>{document.head.querySelectorAll('link[rel="alternate"][hreflang]').forEach(s=>s.remove());for(const{hreflang:s,href:a}of t){const l=document.createElement("link");l.setAttribute("rel","alternate"),l.setAttribute("hreflang",s),l.setAttribute("href",a),l.setAttribute(pc,"alternate"),document.head.appendChild(l)}};let Xm=null;const Qe=(t,s)=>{sn(n(t),n(s))},sn=(t,s,a=c8)=>{const l=typeof window>"u"?"/":window.location.pathname;Xm=l,m.useEffect(()=>{Jm(t,s),d8(l,t,t===rt.meta.title?"provisional":"final"),a===Z2&&gs('meta[name="robots"]',"name","robots",a)},[t,s,a,l])},Jm=(t,s)=>{document.title=t,gs('meta[name="description"]',"name","description",s),gs('meta[property="og:title"]',"property","og:title",t),gs('meta[property="og:description"]',"property","og:description",s),gs('meta[name="twitter:title"]',"name","twitter:title",t),gs('meta[name="twitter:description"]',"name","twitter:description",s)},r$=t=>({path:Dh(t)||"/",locale:Oh(t)??K0});let Xo=!1;const i$=(t,s)=>Xo?!0:(Xo=document.head.querySelector(`link[rel="canonical"]:not([${pc}])`)===null||t!==s,Xo),o$=typeof window>"u"?"/":window.location.pathname,c$=()=>{const t=at();m.useEffect(()=>{var i;const s=window.location.pathname,a=r$(s);if(Xm!==s&&(Jm(rt.meta.title,rt.meta.description),d8(s,rt.meta.title,"provisional")),gs('meta[name="theme-color"]',"name","theme-color",rt.themeColor),gs('meta[name="robots"]',"name","robots",c8),gs('meta[property="og:type"]',"property","og:type",Uh),gs('meta[name="twitter:card"]',"name","twitter:card",Vh),!i$(s,o$))return;const l=window.location.origin,r=`${l}${$h(a.path,a.locale,K0)}`;a$("canonical",r),gs('meta[property="og:url"]',"property","og:url",r),n$(Ph(r,((i=document.head.querySelector('meta[name="description"]'))==null?void 0:i.content)??rt.meta.description)),l$(Hh({origin:l,path:a.path,locales:u8,defaultLocale:K0}))},[t.pathname])},d$=()=>(c$(),null),hc=({recover:t="navigate"})=>{const s=Y();sn(n("error.page_not_found.title"),rt.meta.description,Z2);const a=()=>{if(t==="reload"){window.location.assign(m8()||ot);return}s(ot)};return e.jsxs("div",{className:"flex w-full flex-col items-center px-4 py-10 md:py-16",children:[e.jsxs("div",{className:"mb-8 flex select-none items-center justify-center gap-2 md:gap-4",children:[e.jsx("span",{className:"text-7xl font-bold leading-none text-white md:text-9xl",children:"4"}),e.jsx("img",{src:s$,alt:"Whale",className:"h-20 w-20 object-contain md:h-28 md:w-28",width:112,height:112}),e.jsx("span",{className:"text-7xl font-bold leading-none text-white md:text-9xl",children:"4"})]}),e.jsxs("div",{className:"flex w-full max-w-sm flex-col gap-3",children:[e.jsx(O,{variant:"primary",className:"px-4",onClick:a,children:n("error.page_not_found.go_to_main")}),ke(Se.Intercom)?e.jsx(O,{variant:"secondary",className:"px-4",onClick:()=>b1(),children:n("error.page_not_found.contact_support")}):null]}),e.jsx("p",{className:"mt-6 text-center text-sm text-brandblue-100",children:n("error.page_not_found.explore_below")})]})};class Gr extends m.Component{constructor(){super(...arguments);lt(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a,l){console.error("[app] uncaught render error",a,l.componentStack)}
116componentDidUpdate(a){this.state.hasError&&a.resetKey!==this.props.resetKey&&this.setState({hasError:!1})}render(){return this.state.hasError?e.jsx(hc,{recover:this.props.recover}):this.props.children}}const Qm=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M15.5535 5.005C14.5178 4.5355 13.4104 4.19429 12.2526 4C12.1104 4.24907 11.9443 4.58408 11.8298 4.85057C10.599 4.67124 9.37961 4.67124 8.17141 4.85057C8.05691 4.58408 7.88705 4.24907 7.74358 4C6.58455 4.19429 5.47585 4.53675 4.44013 5.00748C2.3511 8.06601 1.78479 11.0486 2.06794 13.9888C3.4535 14.9912 4.79627 15.6003 6.11638 15.9988C6.44234 15.5641 6.73303 15.1021 6.98346 14.6152C6.50651 14.4396 6.0497 14.2229 5.61806 13.9713C5.73257 13.8892 5.84457 13.8032 5.9528 13.7148C8.58551 14.9078 11.4459 14.9078 14.0472 13.7148C14.1566 13.8032 14.2686 13.8892 14.3819 13.9713C13.949 14.2241 13.4909 14.4408 13.014 14.6164C13.2644 15.1021 13.5538 15.5653 13.881 16C15.2024 15.6015 16.5464 14.9925 17.932 13.9888C18.2642 10.5803 17.3644 7.62515 15.5535 5.005ZM7.34213 12.1805C6.55182 12.1805 5.90371 11.4657 5.90371 10.5952C5.90371 9.72474 6.53798 9.00876 7.34213 9.00876C8.14631 9.00876 8.79441 9.7235 8.78051 10.5952C8.78181 11.4657 8.14631 12.1805 7.34213 12.1805ZM12.6578 12.1805C11.8675 12.1805 11.2194 11.4657 11.2194 10.5952C11.2194 9.72474 11.8537 9.00876 12.6578 9.00876C13.462 9.00876 14.1101 9.7235 14.0962 10.5952C14.0962 11.4657 13.462 12.1805 12.6578 12.1805Z",fill:"#704EFF"})}),ex=({className:t})=>e.jsxs("svg",{className:g("size-5",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M10.0001 3.4458C12.1206 3.4458 12.4098 3.4458 13.2773 3.4458C14.0483 3.4458 14.4339 3.63858 14.7231 3.73497C15.1086 3.92774 15.3978 4.02413 15.6869 4.31329C15.9761 4.60245 16.1689 4.89161 16.2652 5.27716C16.3616 5.56632 16.458 5.95187 16.5544 6.72296C16.5544 7.59045 16.5544 7.78322 16.5544 10.0001C16.5544 12.217 16.5544 12.4098 16.5544 13.2773C16.5544 14.0484 16.3616 14.4339 16.2652 14.7231C16.0725 15.1086 15.9761 15.3978 15.6869 15.687C15.3978 15.9761 15.1086 16.1689 14.7231 16.2653C14.4339 16.3617 14.0483 16.4581 13.2773 16.5544C12.4098 16.5544 12.217 16.5544 10.0001 16.5544C7.78319 16.5544 7.59042 16.5544 6.72296 16.5544C5.95187 16.5544 5.56632 16.3617 5.27716 16.2653C4.89161 16.0725 4.60245 15.9761 4.31329 15.687C4.02413 15.3978 3.83135 15.1086 3.73497 14.7231C3.63858 14.4339 3.54219 14.0484 3.4458 13.2773C3.4458 12.4098 3.4458 12.217 3.4458 10.0001C3.4458 7.78322 3.4458 7.59045 3.4458 6.72296C3.4458 5.95187 3.63858 5.56632 3.73497 5.27716C3.92774 4.89161 4.02413 4.60245 4.31329 4.31329C4.60245 4.02413 4.89161 3.83135 5.27716 3.73497C5.56632 3.63858 5.95187 3.54219 6.72296 3.4458C7.59042 3.4458 7.87958 3.4458 10.0001 3.4458ZM10.0001 2C7.78319 2 7.59042 2 6.72296 2C5.85548 2 5.27716 2.19277 4.79522 2.38555C4.31329 2.57832 3.83135 2.86748 3.34942 3.34942C2.86748 3.83135 2.67471 4.2169 2.38555 4.79522C2.19277 5.27716 2.09639 5.85548 2 6.72296C2 7.59045 2 7.87961 2 10.0001C2 12.217 2 12.4098 2 13.2773C2 14.1448 2.19277 14.7231 2.38555 15.205C2.57832 15.687 2.86748 16.1689 3.34942 16.6508C3.83135 17.1328 4.2169 17.3255 4.79522 17.6147C5.27716 17.8075 5.85548 17.9039 6.72296 18.0002C7.59042 18.0002 7.87958 18.0002 10.0001 18.0002C12.1206 18.0002 12.4098 18.0002 13.2773 18.0002C14.1447 18.0002 14.7231 17.8075 15.205 17.6147C15.6869 17.4219 16.1689 17.1328 16.6508 16.6508C17.1327 16.1689 17.3255 15.7833 17.6147 15.205C17.8074 14.7231 17.9038 14.1448 18.0002 13.2773C18.0002 12.4098 18.0002 12.1206 18.0002 10.0001C18.0002 7.87961 18.0002 7.59045 18.0002 6.72296C18.0002 5.85548 17.8074 5.27716 17.6147 4.79522C17.4219 4.31329 17.1327 3.83135 16.6508 3.34942C16.1689 2.86748 15.7833 2.67471 15.205 2.38555C14.7231 2.19277 14.1447 2.09639 13.2773 2C12.4098 2 12.217 2 10.0001 2Z",fill:"#E51E68"}),e.jsx("path",{d:"M10.0001 5.85547C7.6868 5.85547 5.85547 7.68682 5.85547 10.0001C5.85547 12.3134 7.6868 14.1448 10.0001 14.1448C12.3134 14.1448 14.1447 12.3134
11614.1447 10.0001C14.1447 7.68682 12.3134 5.85547 10.0001 5.85547ZM10.0001 12.6989C8.55428 12.6989 7.30127 11.5423 7.30127 10.0001C7.30127 8.55431 8.45789 7.30127 10.0001 7.30127C11.4459 7.30127 12.6989 8.45792 12.6989 10.0001C12.6989 11.4459 11.4459 12.6989 10.0001 12.6989Z",fill:"#E51E68"}),e.jsx("path",{d:"M14.2412 6.72266C14.7735 6.72266 15.2051 6.29113 15.2051 5.75879C15.2051 5.22647 14.7735 4.79492 14.2412 4.79492C13.7089 4.79492 13.2773 5.22647 13.2773 5.75879C13.2773 6.29113 13.7089 6.72266 14.2412 6.72266Z",fill:"#E51E68"})]}),tx=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M11.5237 8.77566L17.4811 2H16.0699L10.8949 7.88201L6.7648 2H2L8.24693 10.8955L2 17.9999H3.4112L8.87253 11.787L13.2352 17.9999H18M3.92053 3.04126H6.08853L16.0688 17.0098H13.9003",fill:"currentColor"})}),J6=()=>st(),tl=t=>Jt(t),h2=t=>t?`${wt()}?tab=${t}`:wt(),u$=t=>t.includes(wt()),Q6={[mt.EN]:"English",[mt.RU]:"Ð ÑÑÑкий",[mt.ES]:"Español",[mt.PT]:"Português",[mt.ZH]:"䏿",[mt.KO]:"íêµì´",[mt.TR]:"Türkçe",[mt.AR]:"عربÙ",[mt.SQ]:"Shqip",[mt.VN]:"Tiếng Viá»t",[mt.ID]:"Bahasa Indonesia",[mt.FA]:"پارسÛ",[mt.FR]:"Français",[mt.UZ]:"O'zbek",[mt.IT]:"Ital
116iano",[mt.FI]:"Suomi"},m$=()=>{const t=Y(),[s,a]=C([C7,te]),[l,r]=m.useState(!1),i=s.slice(0,4),o=Q6[H1()]??"English",d=async u=>{await zh(u,a,!0),r(!1)};return e.jsx("footer",{className:"relative inset-x-1/2 -mx-[50vw] w-screen bg-[#11141b]",children:e.jsxs("div",{className:"mx-auto flex max-w-[1140px] flex-col-reverse items-center gap-12 px-9 pb-6 pt-9 text-center lg:flex-row lg:items-start lg:justify-between lg:gap-10 lg:text-left",children:[e.jsxs("div",{className:"flex max-w-[400px] flex-col items-center gap-6 lg:items-start",children:[e.jsx("img",{src:"/collectibles/landing/hero/logo.webp",alt:"Whale.io Collectibles",className:"h-[45px] w-auto select-none self-center lg:self-start"}),e.jsx("p",{className:"font-jost text-sm leading-snug text-[#adafce] opacity-60",children:n("lootbox.collectibles.footer_blurb")}),e.jsxs("div",{className:"flex items-center justify-center gap-3 lg:justify-start",children:[e.jsx("a",{href:"https://discord.com",target:"_blank",rel:"noreferrer","aria-label":"Discord",className:"flex size-9 items-center justify-center rounded-[18px] bg-[#704eff]/10 transition-opacity hover:opacity-80",children:e.jsx(Qm,{className:"size-5"})}),e.jsx("a",{href:"https://instagram.com",target:"_blank",rel:"noreferrer","aria-label":"Instagram",className:"flex size-9 items-center justify-center rounded-[18px] bg-[#e51e68]/10 transition-opacity hover:opacity-80",children:e.jsx(ex,{className:"size-5"})}),e.jsx("a",{href:"https://x.com",target:"_blank",rel:"noreferrer","aria-label":"X",className:"flex size-9 items-center justify-center rounded-[18px] bg-white/10 text-white transition-opacity hover:opacity-80",children:e.jsx(tx,{className:"size-5"})}),e.jsxs("div",{className:"relative",children:[e.jsxs("button",{type:"button","data-testid":"collectibles-footer-language",onClick:()=>r(u=>!u),className:"flex h-9 items-center gap-2 rounded-lg bg-[#1f232f] px-4 font-jost text-sm font-medium text-[#adafce] transition-colors hover:text-white",children:[o,e.jsx("svg",{className:g("size-4 transition-transform",l?"rotate-180":""),viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M4 6l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),l?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",tabIndex:-1,"aria-hidden":"true",className:"fixed inset-0 z-40",onClick:()=>r(!1)}),e.jsx("div",{className:"absolute bottom-full left-0 z-50 mb-2 max-h-64 w-48 overflow-y-auto rounded-lg bg-[#1f232f] p-1 text-left shadow-lg",children:u8.map(u=>e.jsx("button",{type:"button",onClick:()=>void d(u),className:g("block w-full rounded-md px-3 py-2 text-left font-jost text-sm transition-colors hover:bg-white/5",H1()===u?"text-white":"text-[#adafce]"),children:Q6[u]},u))})]}):null]})]}),e.jsx("p",{className:"max-w-[390px] font-jost text-[11px] uppercase leading-relaxed tracking-wide text-[#adafce]/30",children:n("lootbox.collectibles.footer_disclaimer")}),e.jsx("p",{className:"font-jost text-xs text-[#adafce]/30",children:n("lootbox.collectibles.footer_copyright")})]}),e.jsxs("div",{className:"grid min-w-0 grid-cols-3 gap-10 sm:gap-16",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4 lg:items-start",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#c6c7dd]",children:n("lootbox.collectibles.nav_packs")}),i.map(u=>e.jsx("button",{type:"button",onClick:()=>t(tl(u.urlSlug)),className:"line-clamp-2 break-words text-center font-jost text-sm text-[#adafce]/60 transition-colors hover:text-[#adafce] lg:text-left",children:u.name},u.id))]}),e.jsx("div",{className:"flex flex-col items-center gap-4 lg:items-start",children:e.jsx("span",{className:"font-jost text-sm font-semibold text-[#c6c7dd]",children:n("lootbox.collectibles.footer_themes")})}),e.jsx("div",{className:"flex flex-col items-center gap-4 lg:items-start",children:e.jsx("span",{className:"font-jost text-sm font-semibold text-[#c6c7dd]",children:n("lootbox.collectibles.footer_support")})})]})]})})},zn=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("g",{opacity:"0.9",children:e.jsx("path",{d:"M3.33398 9.37502C2.98881 9.37502 2.70898 9.65484 2.70898 10C2.70898 10.3452 2.98881 10.625 3.33398 10.625H11.0423V15C11.0423 15.2528 11.1946 15.4807 11.4281 15.5774C11.6617 15.6742 11.9305 15.6207 12.1093 15.442L17.1093 10.442C17.2265 10.3247 17.2923 10.1658 17.2923 10C17.2923 9.83426 17.2265 9.67529 17.1093 9.55808L12.1093 4.55808C11.9305 4.37933 11.6617 4.32586 11.4281 4.42259C11.1946 4.51933 11.0423 4.74723 11.0423 5.00002V9.37502H3.33398Z",fill:"currentColor"})})}),x$=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M17.9823 5.95755C17.9823 5.94063 17.9823 5.94063 17.9823 5.92372C17.9647 5.8899 17.9647 5.85607 17.947 5.82225V5.80533C17.9294 5.77151 17.894 5.73768 17.8764 5.72077L17.8587 5.70386C17.8411 5.68695 17.8057 5.67003 17.7881 5.65312L17.7704 5.63621H17.7528L17.7351 5.6193L10.2296 2.05074C10.0883 1.98309 9.9117 1.98309 9.75276 2.05074L7.22737 3.25153L14.7682 6.95539L14.7859 6.9723C14.8035 6.9723 14.8035 6.98922 14.8212 6.98922C14.8389 7.00613 14.8389 7.02304 14.8565 7.03995C14.8565 7.05687 14.8565 7.05687 14.8565 7.07378V7.09069V11.0144C14.8565 11.0821 14.8212 11.1328 14.7682 11.1666L13.2494 11.9277C13.1611 11.9784 13.0552 11.9446 13.0022 11.86C12.9845 11.8431 12.9845 11.8093 12.9845 11.7755V7.93632L5.35541 4.16481L5.33775 4.1479L2.28256 5.60238L2.2649 5.6193H2.24724L2.22958 5.63621C2.21192 5.65312 2.1766 5.67003 2.15894 5.68695L2.14128 5.70386C2.10596 5.73768 2.0883 5.77151 2.05298 5.80533V5.82225C2.03532 5.85607 2.01766 5.8899 2.01766 5.92372C2.01766 5.94063 2.01766 5.94063 2.01766 5.95755C2.01766 5.99137 2 6.00829 2 6.04211V6.05902V13.9403C2 14.1263 2.10596 14.3124 2.30022 14.3969L9.7351 17.9486C9.84106 17.9993 9.96468 18.0162 10.
1160883 17.9824L10.1236 17.9655C10.1589 17.9655 10.1766 17.9486 10.2119 17.9317L17.6998 14.38C17.8764 14.2955 18 14.1263 18 13.9234V6.05902V6.04211C17.9823 6.00829 17.9823 5.99137 17.9823 5.95755Z",fill:"currentColor"})}),Vi=({className:t})=>e.jsxs("svg",{className:g("h-6 w-5",t),viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{opacity:"0.6",d:"M14.3881 3.02368C15.5015 2.94718 17.144 3.59924 17.8161 4.47984C18.2581 5.05907 18.5505 5.85334 18.7008 6.56546C19.2054 8.95532 19.2292 11.4699 19.0271 13.8967C18.9973 14.2566 18.8908 14.4447 18.6138 14.6633C18.5564 15.4851 18.222 16.4634 17.7755 17.1505C17.58 17.4511 17.3952 17.676 17.1653 17.9495C17.2835 18.0007 17.3876 18.0589 17.4492 18.1774C17.5412 18.3542 17.5276 19.4719 17.4625 19.6666C17.4432 19.7242 17.4184 19.7843 17.3763 19.8289C17.2273 19.9872 16.8836 20.1188 16.684 20.2208C16.6029 20.2632 16.3895 20.3948 16.3074 20.3665C16.2674 20.1952 16.2725 16.8618 16.3093 16.7267C16.3408 16.6132 16.5962 16.2317 16.6737 16.0769C16.9181 15.5893 17.0392 15.0568 17.1341 14.5237C16.8363 14.1884 16.8746 13.9716 16.8981 13.5501C16.9106 13.3244 16.9225 13.0898 16.9328 12.8638C16.9603 12.305 16.9717 11.7452 16.9672 11.1857C16.9573 9.46055 16.8021 6.46013 15.9251 4.96297C15.8149 4.7749 15.6825 4.60962 15.5275 4.45654C15.2076 4.52038 14.9647 4.67467 14.6916 4.84023C14.6105 4.77062 14.4834 4.61777 14.4055 4.53377C14.2502 4.36603 14.0864 4.20631 13.9148 4.05551C13.7496 3.91291 13.5782 3.77732 13.4013 3.64961C13.3033 3.57974 13.1553 3.50618 13.0791 3.42714C13.0782 3.33561 13.2567 3.28646 13.3311 3.25616C13.6737 3.11667 14.0186 3.04341 14.3881 3.02368Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M8.5733 0.000155683C9.42759 0.0304343 10.2757 0.0549414 10.9112 0.702304C11.6553 1.46092 11.5924 2.25853 11.5899 3.21695C11.992 3.35374 12.3793 3.53143 12.7452 3.74723C14.1821 4.59982 15.1225 5.95744 15.5196 7.57242C15.8982 9.11334 15.8316 10.7156 15.8311 12.2902V20.5578C15.8313 21.0312 15.8624 21.5025 15.6124 21.9279C15.4182 22.258 15.1426 22.3893 14.8184 22.5627C14.6329 22.6618 14.446 22.7658 14.2608 22.8664C13.8996 23.0633 13.5366 23.2589 13.1729 23.4513C12.979 23.5537 12.7568 23.6769 12.5596 23.7658C12.4048 23.8363 12.2435 23.8923 12.0782 23.9318C11.7871 23.9966 11.4873 24.0154 11.1905 23.9875C10.7531 23.9449 10.1038 23.8165 9.66119 23.7423L3.23248 22.6681L2.03326 22.4709C1.8 22.4328 1.56766 22.3955 1.336 22.3517C0.69601 22.2305 0.180891 21.7015 0.0615816 21.0627C-0.0241187 20.6026 0.00448743 20.047 0.00494099 19.5695L0.00591755 17.342L0.00494099 15.5226C0.00467296 15.1427 -0.00885701 14.7603 0.0283785 14.382C0.0940943 13.7159 0.521827 13.1878 1.19244 13.0666C1.59787 12.9933 1.96712 13.0584 2.37115 13.0998L8.13873 13.6867C8.69419 13.7441 9.23697 13.7326 9.71393 14.0636C10.681 14.7354 10.5411 15.8785 10.5411 16.9045V21.3322C10.5418 22.047 10.6401 22.5352 10.2149 23.1525C10.596 23.0652 10.8618 22.9469 11.1085 22.6408C11.4181 22.2159 11.3364 21.5293 11.336 21.0197V16.8195C11.3364 16.3692 11.3448 15.9167 11.3253 15.467C11.2886 14.6302 10.8819 13.8229 10.1133 13.4377C9.91039 13.3373 9.69249 13.2688 9.46881 13.2345C9.02171 13.1629 8.37245 13.1172 7.90436 13.0695L4.91412 12.7687L3.01959 12.5812C2.72695 12.5519 2.17314 12.4823 1.89752 12.4884C1.60736 12.4932 1.31971 12.5495 1.04986 12.6564C0.957407 12.6934 0.873521 12.7469 0.785214 12.7765C0.741395 12.7675 0.755932 12.7796 0.733457 12.7462C0.720895 12.5321 0.726669 12.2787 0.726621 12.0617V10.9181C0.726929 9.62292 0.647306 8.28185 1.02057 7.02555C1.33337 5.97323 1.99393 5.02322 2.97564 4.49723C3.36629 4.28797 3.79265 4.16386 4.23053 4.10269C4.97161 3.99921 5.72782 4.05683 6.47174 4.09488C7.35954 4.14027 8.25777 4.15011 9.11432 4.41422C11.3317 5.09819 12.5067 7.03318 12.8077 9.23746C12.9721 10.4421 12.9168 11.672 12.92 12.8849C12.9207 13.1562 12.8702 13.9328 12.9825 14.132C13.016 14.1911 13.0672 14.2501 13.1378 14.2619C13.2086 14.2735 13.287 14.2363 13.3428 14.1955C13.411 14.1451 13.4465 14.0811 13.4561 13.9972C13.4797 13.7919 13.4593 13.5644 13.459 13.3566L13.4571 12.0207C13.4562 10.5759 13.4947 9.14909 13.045 7.75504C12.7974 6.98788 12.4428 6.30278 11.9385 5.67301C11.1587 4.69789 10.0557 4.03373 8.82916 3.79996C8.31526 3.70018 7.76372 3.66176 7.24029 3.6359C6.74977 3.61167 6.23253 3.56815 5.74225 3.56754C5.52542 3.56756 5.30862 3.57865 5.09283 3.59977C4.9097 3.61821 4.68582 3.65926 4.50103 3.67203C4.4727 3.67397 4.46247 3.65383 4.45025 3.63687L4.45709 3.61344C4.53601 3.54082 4.68399 3.46705 4.78228 3.41617C5.2868 3.14973 5.82971 2.9617 6.39068 2.85758C6.395 2.05418 6.36619 1.42989 6.93463
1160.758945C7.34454 0.275312 7.87645 0.0519509 8.49908 0.00406193C8.52363 0.0021347 8.54852 -0.000695844 8.5733 0.000155683ZM0.757871 15.8332C0.68658 15.8753 0.600652 15.9361 0.585019 16.0236C0.513383 16.4336 1.01502 16.4087 1.27154 16.4318L1.27252 17.048C0.892029 17.2763 0.974352 17.5505 0.969785 17.9494C0.966825 18.2042 0.959773 18.4856 0.978574 18.7414C1.19913 19.6113 2.22011 19.3689 2.07232 18.4445C2.03353 18.2008 2.1134 17.7498 2.05572 17.4845C2.03483 17.3152 1.91837 17.1892 1.78814 17.092L1.78912 16.4963C2.86246 16.6405 3.95841 16.7426 5.03326 16.8839C5.40012 16.9321 5.80683 16.9649 6.16705 17.0197L8.16803 17.255C8.46736 17.2904 8.7687 17.3355 9.06939 17.3537C9.21387 17.3624 9.3338 17.2613 9.3526 17.1183C9.37515 16.9436 9.23872 16.8008 9.07037 16.7824C8.49204 16.7116 7.91196 16.6445 7.33307 16.5763L1.79791 15.9337C1.58289 15.9087 0.926292 15.8091 0.757871 15.8332ZM4.65826 5.84684C4.57369 5.88912 4.56673 5.94848 4.60553 6.03043C4.74901 6.33358 4.80974 6.65111 4.75885 6.98453C4.74774 7.06303 4.72311 7.12574 4.70123 7.19937C4.68247 7.26217 4.57351 7.43864 4.58502 7.48258C4.67404 7.56703 4.84582 7.58499 4.95318 7.64762C4.97755 7.66185 5.00004 7.67718 5.0235 7.69254C4.85459 7.80647 4.52147 8.02775 4.38971 8.17301C4.34192 8.08199 4.26007 8.01316 4.16217 7.9816C4.07837 7.95506 3.98619 7.95882 3.90826 8.00113C3.83821 8.03896 3.78604 8.10348 3.76373 8.17984C3.7115 8.36259 3.84994 8.5156 3.98736 8.61344C3.82658 8.86805 3.69853 9.08263 3.63092 9.38394C3.60083 9.51828 3.58328 9.70876 3.53033 9.82926C3.46562 9.95891 3.33501 10.0523 3.24322 10.1623C3.02169 10.4277 2.8507 10.7472 2.80572 11.0929C2.78515 11.2513 2.76662 11.5124 3.00494 11.3429C3.13164 11.2528 3.24479 11.1468 3.37213 11.0578C3.40673 11.1698 3.69512 11.843 3.83404 11.5207C3.8831 11.4062 3.87361 11.0809 3.87213 10.9484C3.8684 10.6204 3.79519 10.4265 4.14459 10.257C4.57863 10.0464 5.03917 10.127 5.4815 10.2609C5.6094 10.3005 5.74506 10.3446 5.87896 10.3439C5.57515 10.4383 5.44158 10.4532 5.17389 10.6564C4.96668 10.8322 4.81505 11.0276 4.73541 11.2912C4.71436 11.3609 4.6524 11.575 4.70123 11.633C4.73837 11.639 4.82162 11.5837 4.85943 11.5627C5.00119 11.484 5.14606 11.4132 5.30475 11.3752C5.98369 11.2347 6.61886 11.5123 7.24518 11.0754C7.46877 10.9192 7.6778 10.659 7.72564 10.382C7.74241 10.2786 7.74221 10.1729 7.72564 10.0695C7.77931 10.0382 7.84606 9.99176 7.90045 9.96598C7.94013 9.94958 8.03658 9.94057 8.06939 9.9191C8.20752 9.82861 8.40724 9.66324 8.45514 9.49918C8.51103 9.30692 8.24067 9.29366 8.12603 9.29215C8.36671 9.02918 8.60733 8.68997 8.57916 8.3234C8.51149 7.44759 7.48873 7.0592 6.72564 7.1066C6.35732 7.12948 6.11349 7.20809 5.78228 7.31754C5.73731 6.86 5.5187 6.35548 5.15631 6.06266C5.01661 5.94982 4.84454 5.8389 4.65826 5.84684ZM8.45318 1.04508C7.62832 1.22706 7.62956 2.04527 7.6358 2.72184C8.37857 2.72361 8.8837 2.76008 9.62213 2.82437C9.86441 2.85445 10.107 2.88641 10.3487 2.92008C10.3512 2.51869 10.3723 2.14436 10.1895 1.77164C9.86959 1.11955 9.24841 1.03527 8.58697 1.03824C8.54234 1.03869 8.49766 1.04148 8.45318 1.04508Z",fill:"#ADAFCE"})]}),f$=({className:t})=>e.jsxs("svg",{className:g("size-5",t),viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsxs("g",{clipPath:"url(#collectibles_packs_clip)",children:[e.jsx("path",{d:"M3.72919 2.16141C3.59409 2.65662 3.65445 3.18583 3.89797 3.63768L4.07613 3.96856L2.08726 11.2589L2.11061 4.95575C2.11155 4.69907 2.01366 4.45207 1.83737 4.26551L1.60177 4.01531C1.42552 3.82874 1.32757 3.58174 1.32853 3.32507L1.3327 2.24215C1.33475 1.68987 1.78391 1.24367 2.33619 1.24573L3.97718 1.25157L3.72919 2.16141Z",fill:"currentColor"}),e.jsx("path",{d:"M4.99736 1.30993C5.14284 0.777281 5.69315 0.463417 6.22588 0.608762L15.2454 3.0697C15.7778 3.2153 16.0917 3.76472 15.9466 4.29724L15.6429 5.41052C15.5752 5.65802 15.4152 5.87059 15.1956 6.00329L14.8743 6.19763C14.6545 6.3304 14.4937 6.54268 14.4261 6.7904L11.9485 15.8724C11.8811 16.1201 11.9116 16.3848 12.0335 16.6107L12.2112 16.9408C12.3329 17.1667 12.3637 17.4315 12.2962 17.6791L11.9925 18.7914C11.847 19.3239 11.2966 19.6386 10.764 19.4935L1.74443 17.0326C1.21185 16.8872 0.89811 16.3367 1.04326 15.8041L1.34697 14.6918C1.41453 14.4442 1.57461 14.2318 1.79424 14.099L2.11553 13.9047C2.3352 13.7719 2.49614 13.5595 2.56377 13.3119L5.04131 4.22986C5.10883 3.98235 5.07895 3.71744 4.95732 3.49158L4.77861 3.1615C4.65678 2.93563 4.62621 2.67082 4.69365 2.42322L4.99736 1.30993ZM3.9583 13.1156C3.7234 13.0516 3.48039 13.1903 3.41631 13.4252C3.3526 13.6599 3.49127 13.903 3.72588 13.9672L10.4798 15.8099C10.7144 15.8734 10.9576 15.7339 11.0218 15.4994C11.0855 15.2648 10.9465 15.0218 10.7122 14.9574L3.9583 13.1156ZM6.56865 3.8324C6.33381 3.76832 6.0909 3.90722 6.02666 4.14197C5.96276 4.37682 6.10138 4.61988 6.33623 4.68396L13.0892 6.52673C13.3239 6.59053 13.5669 6.45175 13.6312 6.21716C13.6952 5.98237 13.5562 5.73947 13.3216 5.67517L6.56865 3.8324Z",fill:"currentColor"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"collectibles_packs_clip",children:e.jsx("rect",{width:"16",height:"20",fill:"white"})})})]}),Jo="flex h-8 items-center gap-1.5 rounded-lg font-jost text-sm font-medium transition-colors",Qo="bg-[#323a4c] text-white",e0="text-[#adafce] hover:text-white",e5=({count:t})=>e.jsx("span",{className:"flex h-5 min-w-5 items-center justify-center rounded-[5px] bg-[#7086ff]/20 px-1 font-jost text-xs font-semibold text-[#7086ff]",children:t}),p$=()=>{const{openModal:t}=W();return e.jsxs("button",{type:"button","data-testid":"collectibles-header-deposit",className:"inline-flex h-9 items-center justify-center whitespace-nowrap rounded-lg bg-buttonv2-primary px-4 text-base leading-6 text-buttonv2-primary-text transition-all duration-200",onClick:()=>{X("Navigation - deposit button clicked"),t(es,{tab:"deposit",openReason:"header"})},children:[e.jsx("span",{className:"hidden md:flex",children:n("global_cashier")}),e.jsx("span",{className:"flex md:hidden",children:e.jsx(h3,{})})]})},h$=()=>{const t=Y(),{pathname:s,search:a}=at(),{openModal:l}=W(),[r,i,o,d,u,c,x]=C([te,Je,We,p7,q1,Yj,Xj]),p=u$(s),f=p&&new URLSearchParams(a).get("tab")==="shipments",h=p&&!f;m.useEffect(()=>{r&&j7()},[r]);const b=typeof c=="number"&&c>0,v=typeof x=="number"&&x>0;return e.jsx("header",{className:"flex w-full items-center border-b border-[#1f232f] py-3",children:e.jsxs("div",{className:"mx-auto flex w-full max-w-[1172px] items-center justify-between gap-4 px-4",children:[e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx("button",{type:"button",onClick:()=>t(J6()),className:"shrink-0","aria-label":"Collectibles home",children:e.jsx("img",{src:"/collectibles/landing/hero/logo.webp",alt:"Whale.io Collectibles",className:"h-[45px] w-auto"})}),e.jsxs("nav",{className:"hidden items-center gap-0.5 rounded-[10px] bg-[#1f232f] p-1 md:flex",children:[e.jsxs("button",{type:"button",onClick:()=>t(J6()),className:g(Jo,"px-3",p?e0:Qo),children:[e.jsx(f$,{className:"size-5"}),e.jsx("span",{children:n("lootbox.collectibles.nav_packs")})]}),e.jsxs("button",{type:"button",onClick:()=>t(h2("shipments")),disabled:!r,className:g(Jo,"px-3 disabled:pointer-events-none disabled:opacity-40",f?Qo:e0),children:[e.jsx(x$,{className:"size-5"}),e.jsx("span",{children:n("lootbox.collectibles.nav_item")}),r&&v?e.jsx(e5,{count:x}):null]}),e.jsxs("button",{type:"button",onClick:()=>t(h2()),disabled:!r,className:g(Jo,"px-2.5 disabled:pointer-events-none disabled:opacity-40",h?Qo:e0),children:[e.jsx(Vi,{className:"size-5"}),e.jsx("span",{children:n("lootbox.collectibles.inventory")}),r&&b?e.jsx(e5,{count:c}
116):null]})]})]}),i?r?e.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[e.jsxs("div",{className:"flex h-10 items-center gap-1 rounded-[10px] bg-[#1f232f] py-1 pl-2.5 pr-1",children:[e.jsxs("button",{type:"button","data-testid":"collectibles-header-balance",onClick:()=>l(es),className:"flex items-center gap-2 pr-1 font-jost text-sm font-medium text-white",children:[e.jsx(Om,{}),e.jsx(we,{currency:u.currency,className:"size-5"})]}),e.jsx(p$,{})]}),e.jsx(ss,{size:"lg",src:v3(o),isVip:d,userId:o==null?void 0:o.id,ariaLabel:n("global_profile"),onClick:()=>l(pl,{tab:"profile"})})]}):e.jsxs("div",{className:"flex shrink-0 items-center gap-2",children:[e.jsx("button",{type:"button","data-testid":"collectibles-header-login",onClick:()=>l(_e,{tab:"login"}),className:"flex h-8 items-center rounded-lg px-1.5 font-jost text-sm font-medium text-[#adafce] transition-colors hover:text-white",children:n("actions.button.login")}),e.jsxs("button",{type:"button","data-testid":"collectibles-header-signup",onClick:()=>l(_e,{tab:"register"}),className:"flex h-8 items-center gap-2 rounded-lg border border-[#7086ff] bg-[linear-gradient(90deg,#7086ff_0%,#2f3ec8_50%,#7086ff_100%)] px-3 font-jost text-sm font-medium text-white shadow-[0_0_0_6px_rgba(112,134,255,0.3)] transition-opacity hover:opacity-90",children:[n("actions.button.signup"),e.jsx(zn,{className:"size-5"})]})]}):e.jsx("div",{className:"h-10","aria-hidden":"true","data-testid":"collectibles-header-session-pending"})]})})},g$=ci({country:Dn().nullish(),allowed:Gh()}),t5={US:"whale.us"},b$=/(bot|crawler|spider|crawling|slurp|bingpreview|facebookexternalhit|whatsapp|telegrambot|twitterbot|linkedinbot|applebot|duckduckbot|yandex|baiduspider|semrushbot|ahrefsbot|mj12bot|dotbot|headlesschrome|lighthouse|gptbot|claudebot|perplexitybot|google-inspectiontool)/i,C$=()=>typeof navigator>"u"?!1:b$.test(navigator.userAgent||""),j$=async()=>{if(typeof navigator>"u"||typeof document>"u")return!1;try{const t=navigator.brave;return t&&await t.isBrave()?!0:!!getComputedStyle(document.documentElement).getPropertyValue("--arc-palette-title")}catch{return!1}},sx=Ze("geoResolved");At({location:void 0},{name:"geoLocation"}).on(sx,(t,s)=>({location:s}));const v$=()=>oi.get("/user/geo",{schema:g$}),ax=async()=>{let t,s=!0;try{const a=await v$();t=a.country??void 0,s=a.allowed,t&&t5[t]&&!C$()&&(window.location.href=`https://${t5[t]}`)}catch{await j$()&&(t="ZZ",s=!0)}return sx(t),{country:t,allowed:s}},w$=async t=>ue||t?!1:!(await ax()).allowed,y$=Ze("geoVerificationRequested"),nx=Wh(async t=>w$(t)),gc=Jj.map(t=>t==="anonymous"),lx=At(!1,{name:"anonymousGeoVerdictRestricted"}).reset(Zh);K1({clock:nx.doneData,source:gc,filter:t=>t,fn:(t,s)=>s,target:lx});const _$=di([lx,gc],([t,s])=>t&&s);K1({clock:[Qj.finally,y$],source:{isAuthenticated:te,isConfirmedAnonymous:gc,telegramAuthFailure:_3},filter:({isConfirmedAnonymous:t,telegramAuthFailure:s})=>t&&s===null,fn:({isAuthenticated:t})=>t,target:nx});const N$=()=>{const{search:t}=at(),s=new URLSearchParams(t);return s.get("modal")==="settings"&&s.get("tab")==="verification"&&s.get("skipToKYC")==="true"},rx=()=>{const t=m.useRef(null),{pathname:s,search:a}=at(),[l,r,i,o,d]=C([DI,_$,v7,lc,Am]),u=N$(),c=Us(),{isMediumBreakpointOrLarger:x,isLandscapeOrientation:p}=_l(),f=zm({gameMode:o,streamMode:d,streamViewerMode:!1,isLandscapeOrientation:p,isMediumBreakpointOrLarger:x,isTelegram:Vt()===zt.TELEGRAM,isTribesRoute:s.includes(Ae)}),h=f!==null,b=QD(s),v=t$(s);return m.useEffect(()=>{var j;a.includes("modal=")||(j=t.current)==null||j.scrollTo({top:0})},[b,a]),e.jsxs("div",{className:g("grid h-dvh overflow-hidden bg-background-primary pt-tg-safe-top font-jost text-label-communication-default",ue?"":"xl:grid-cols-[auto_1fr_auto]"),children:[r?e.jsx(iF,{}):null,i&&!u?e.jsx(TE,{}):null,e.jsx("div",{id:"content-container",ref:t,"data-page-scrollbar":v?"visible":"hidden",className:g("order-2 overflow-y-auto overflow-x-hidden",v?"":"no-scrollbar",ue?"pt-3 md:pt-[50px]":""),style:{containerType:"inline-size"},children:h?e.jsx(Gr,{resetKey:s,children:e.jsx(Q0,{})},b):e.jsxs(e.Fragment,{children:[ue?e.jsx(h$,{}):e.jsx(_O,{}),e.jsx("div",{className:g("container px-4 @container",ue?"max-w-[1172px] pb-28 pt-10 xl:pb-[50px]":"max-w-[1460px] pb-6 pt-4"),children:e.jsx(Gr,{resetKey:s,children:e.jsx(Q0,{})},b)}),l&&!ue?e.jsx(TD,{}):null,ue?e.jsx(m$,{}):null,ue?null:e.jsx("div",{"aria-hidden":"true","data-testid":"bottom-nav-clearance",className:"h-28 xl:hidden"})]})}),ue||c?null:e.jsx("div",{className:"z-sidebar order-1 hidden overflow-y-auto [scrollbar-width:none] xl:sticky xl:top-0 xl:block",children:e.jsx(KD,{})}),c?f==="stream"?null:e.jsx(QO,{}):ue?null:e.jsx("div",{className:"sticky top-0 order-3 h-screen overflow-y-auto",children:e.jsx(tD,{})}),Gm(f,o)?null:e.jsx(sF,{}),e.jsx(JO,{}),e.jsx(LO,{})]})},k$=()=>(ht.getState()||x8(),sn(n("global_whaleOriginals"),rt.meta.description,Z2),e.jsx("div",{"data-testid":"tribes-frame-layout",className:"min-h-dvh w-full bg-background-primary font-jost text-label-communication-default",children:e.jsx(Gr,{children:e.jsx(Q0,{})})})),Zr={Turbo:"turbo",Betby:"betby"},S$=ci({provider:Kh([Zr.Turbo,Zr.Betby])}),A$=async t=>{try{const{provider:s}=await oi.get("/game-session/sportsbook-provider",{schema:S$,signal:t});return s}catch{return Zr.Turbo}},ix=[{page:"aml-policy",eventName:"AML Policy Page"},{page:"fairness",eventName:"Fairness Page"},{page:"terms-and-conditions",eventName:"terms_and_conditions_viewed"},{page:"privacy-policy",eventName:"Privacy Policy Page"},{page:"responsible-gaming",eventName:"Responsible Gaming Page"},{page:"restricted-jurisdictions",eventName:"Restricted Jurisdictions Page"}],ox=ix.map(t=>t.page),L$=t=>ox.includes(t),M$=t=>{var s;return((s=ix.find(a=>a.page===t))==null?void 0:s.eventName)??""},B$={"terms-and-conditions":{titleKey:"meta.terms-and-conditions.title",descriptionKey:"meta.terms-and-conditions.description"},"responsible-gaming":{titleKey:"meta.responsible-gaming.title",descriptionKey:"meta.responsible-gaming.description"},fairness:{titleKey:"meta.fairness.title",descriptionKey:"meta.fairness.description"},"restricted-jurisdictions":{titleKey:"meta.restricted-jurisdictions.title",descriptionKey:"meta.restricted-jurisdictions.description"},"aml-policy":{titleKey:"meta.aml-policy.title",descriptionKey:"meta.aml-policy.description"},"privacy-policy":{titleKey:"meta.privacy-policy.title",descriptionKey:"meta.privacy-policy.description"}},E$="prerendered-static-page",R$="__WHALE_PRERENDERED_STATIC_PAGE__",T$=ci({content:Dn()}),I$=async({slug:t,language:s,signal:a})=>{try{const{content:l}=await oi.get(`/content/static/content/${t}`,{schema:T$,headers:{"X-Lang":qh(s)},signal:a});return{content:l}}catch(l){throw new Error(`Failed to load static page "${t}" content`,{cause:l})}},F$=ci({slug:Dn().refine(L$),locale:Dn().min(2),content:Dn().min(1)}),O$=()=>{if(typeof window>"u")return null;const t=window[R$];if(!t)return null;const s=F$.safeParse(t);return s.success?s.data:(console.warn("[prerender] Ignoring a malformed prerendered static-page payload",s.error.issues),null)},sr=O$(),D$=(t,s)=>sr&&sr.slug===t&&sr.locale===s?sr.content:null,$$="/assets/feature1-DDTHhfSZ.webp",P$="/assets/feature2-BC3zj1SX.webp",H$="/assets/feature3-DDDyKxhO.webp",U$="/assets/hero-BLUwjcyH.webp",V$="/assets/step1-DqXrnC2U.webp",z$="/assets/step2-DekuSHNt.webp",G$="/assets/step3-CR2hdVhC.webp",Z$="/assets/step4-C1aOmbcf.webp",W$=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M12 1.20001C9.86398 1.20001 7.77591 1.83342 5.99986 3.02014C4.22381 4.20686 2.83954 5.89359 2.02212 7.86703C1.20469 9.84047 0.990816 12.012 1.40754 14.107C1.82426 16.202 2.85286 18.1264 4.36326 19.6368C5.87367 21.1472 7.79805 22.1758 9.89304 22.5925C11.988 23.0092 14.1596 22.7953 16.133 21.9779C18.1064 21.1605 19.7932 19.7762 20.9799 18.0002C22.1666 16.2241 22.8 14.136 22.8 12C22.7969 9.13662 21.6581 6.3914 19.6333 4.36668C17.6086 2.34196 14.8634
1161.20311 12 1.20001ZM12 18.3C11.822 18.3 11.648 18.2472 11.5 18.1483C11.352 18.0494 11.2366 17.9089 11.1685 17.7444C11.1004 17.58 11.0826 17.399 11.1173 17.2244C11.152 17.0498 11.2378 16.8895 11.3636 16.7636C11.4895 16.6377 11.6499 16.552 11.8244 16.5173C11.999 16.4826 12.18 16.5004 12.3444 16.5685C12.5089 16.6366 12.6494 16.752 12.7483 16.9C12.8472 17.048 12.9 17.222 12.9 17.4C12.9 17.6387 12.8052 17.8676 12.6364 18.0364C12.4676 18.2052 12.2387 18.3 12 18.3ZM13.3743 12.63C13.2269 12.7017 13.1035 12.8148 13.0193 12.9554C12.9351 13.0961 12.8936 13.2582 12.9 13.422V13.8C12.9 14.0387 12.8052 14.2676 12.6364 14.4364C12.4676 14.6052 12.2387 14.7 12 14.7C11.7613 14.7 11.5324 14.6052 11.3636 14.4364C11.1948 14.2676 11.1 14.0387 11.1 13.8V13.422C11.0907 12.901 11.2367 12.389 11.5195 11.9513C11.8022 11.5135 12.2089 11.1699 12.6876 10.9641C13.0698 10.8059 13.3858 10.5208 13.5825 10.1569C13.7792 9.79306 13.8446 9.37253 13.7676 8.96611C13.6983 8.60997 13.5242 8.28264 13.2676 8.02609C13.0111 7.76953 12.6838 7.59543 12.3276 7.52611C12.0676 7.47798 11.8001 7.48774 11.5443 7.5547C11.2884 7.62166 11.0505 7.74418 10.8473 7.91354C10.6442 8.08289 10.4809 8.29493 10.369 8.53457C10.2571 8.7742 10.1994 9.03555 10.2 9.30001C10.2 9.53871 10.1052 9.76762 9.93641 9.93641C9.76763 10.1052 9.53871 10.2 9.30002 10.2C9.06132 10.2 8.8324 10.1052 8.66362 9.93641C8.49484 9.76762 8.40002 9.53871 8.40002 9.30001C8.40049 8.64805 8.57801 8.00846 8.91362 7.44951C9.24922 6.89056 9.73031 6.43325 10.3055 6.12638C10.8808 5.81951 11.5285 5.67461 12.1797 5.70714C12.8308 5.73968 13.4609 5.94843 14.0027 6.31111C14.5444 6.67379 14.9776 7.17679 15.2558 7.76641C15.534 8.35603 15.6469 9.01013 15.5823 9.65889C15.5178 10.3076 15.2783 10.9267 14.8895 11.45C14.5006 11.9733 13.9769 12.3811 13.3743 12.63Z",fill:"currentColor"})}),sl={apiEndpoint:"https://donut-sing.com",apkUrl:"https://download.whaleapk.com/whale.apk",storageKeys:{visitorId:"whale_visitor_id",trackingData:"whale_tracking_data"}},K$=t=>t.searchParams.get("ref")||t.searchParams.get("code")||t.searchParams.get("start")||`${t.hostname}_site`,q$=(t,s)=>{const a=Math.sqrt(t*t+s*s)/160;return a>=6.5?"large":a>=5.5?"medium":"small"},zi=t=>{const s=JSON.stringify(t,Object.keys(t).sort());let a=0;for(let l=0;l<s.length;l++){const r=s.charCodeAt(l);a=(a<<5)-a+r,a=a&a}return Math.abs(a).toString(36)},Y$=(t,s,a,l)=>`device_${zi({width:t.physicalWidth,height:t.physicalHeight,dpr:Math.round(t.dpr*10)/10,bucket:t.screenBucket,platform:s.platform,language:s.language,publicIP:a,networkType:l})}`,X$=(t,s,a)=>`strict_${zi({physicalWidth:t.physicalWidth,physicalHeight:t.physicalHeight,dpr:t.dpr,platform:s.platform,concurrency:s.hardwareConcurrency,publicIP:a,language:s.language})}`,J$=(t,s,a)=>`relaxed_${zi({screenBucket:t.screenBucket,dpr:Math.round(t.dpr),timezone:s.timezone,language:s.locale,publicIP:a})}`,Q$=(t,s)=>`basic_${zi({width:Math.round(t.physicalWidth/10)*10,height:Math.round(t.physicalHeight/10)*10,dpr:Math.round(t.dpr),publicIP:s})}`,eP=()=>{let t=localStorage.getItem(sl.storageKeys.visitorId);return t||(t=`web_${Date.now()}_${Math.random().toString(36).slice(2,11)}`,localStorage.setItem(sl.storageKeys.visitorId,t)),{visitorId:t,timestamp:Date.now()}},tP=async()=>{try{return(await(await fetch("https://api.ipify.org?format=json")).json()).ip}catch(t){return console.warn("Failed to get public IP:",t),"unknown"}},sP=()=>{const t=navigator,s=t.connection||t.mozConnection||t.webkitConnection;return s&&(s.type||s.effectiveType)||"unknown"},aP=()=>{const t=window.devicePixelRatio||1,s=Math.round(screen.width*t),a=Math.round((screen.availHeight||screen.height)*t);return{physicalWidth:s,physicalHeight:a,dpr:t,screenBucket:q$(s,a)}},nP=()=>{const t=navigator;return{platform:navigator.platform,language:navigator.language,languages:navigator.languages?navigator.languages.join(","):"",maxTouchPoints:navigator.maxTouchPoints||0,hardwareConcurrency:navigator.hardwareConcurrency||"unknown",deviceMemory:t.deviceMemory||"unknown",touchSupport:"ontouchstart"in window}},lP=()=>({timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,locale:navigator.language}),cx=async()=>{const t=aP(),s=nP(),a=lP(),l=await tP(),r=sP();return{publicIP:l,networkType:r,deviceSignature:Y$(t,s,l,r),physicalScreen:t,platformInfo:s,localeInfo:a,strictHash:X$(t,s,l),relaxedHash:J$(t,a,l),basicHash:Q$(t,l)}},dx=async(t,s)=>{try{const a=await fetch(`${sl.apiEndpoint}/${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});a.ok||console.warn(`APK ${t} failed:`,a.status)}catch(a){console.warn(`APK ${t} failed:`,a)}},Ys={isInitialized:!1,visitorId:"",affiliateCode:"",fingerprint:null},rP=async t=>{if(!Ys.isInitialized)try{const s=K$(t),a=eP(),l=await cx();Ys.isInitialized=!0,Ys.visitorId=a.visitorId,Ys.affiliateCode=s,Ys.fingerprint=l;const r={affiliateCode:s,identifiers:a,fingerprint:l,matchingHashes:{strict:l.strictHash,relaxed:l.relaxedHash,basic:l.basicHash,deviceSignature:l.deviceSignature},timestamp:Date.now(),url:t.href};localStorage.setItem(sl.storageKeys.trackingData,JSON.stringify(r)),await dx("track-visit",r)}catch(s){console.warn("Failed to initialize tracking:",s)}},s5=()=>{setTimeout(()=>{window.location.href=sl.apkUrl},300)},iP=async(t,s="apk")=>{if(!Ys.isInitialized||!Ys.fingerprint){console.warn("Tracking not initialized"),s5();return}try{const a=await cx();await dx("track-download",{affiliateCode:Ys.affiliateCode,visitorId:Ys.visitorId,buttonType:s,deviceSignature:a.deviceSignature,matchingHashes:{strict:a.strictHash,relaxed:a.relaxedHash,basic:a.basicHash,deviceSignature:a.deviceSignature},publicIP:a.publicIP,networkType:a.networkType,timestamp:Date.now(),event:"apk_download_click",url:t.href})}catch(a){console.warn("APK download tracking failed:",a)}s5()},g2=typeof navigator>"u"?"":navigator.userAgent.toLowerCase(),oP=/wv/.test(g2)||/Version\/[\d.]+.*Safari/.test(g2),cP=/(android)/i.test(g2)&&!oP,dP="bg-[linear-gradient(180deg,rgba(99,122,244,0.32)_0%,rgba(31,35,45,0.00)_100%),#1A1E27]",uP="bg-[linear-gradient(90deg,rgba(99,122,244,0.32)_0%,rgba(31,35,45,0.00)_100%),#1A1E27]",mP="bg-[radial-gradient(72.88%_73.44%_at_-1.55%_-1.73%,rgba(99,122,244,0.20)_0%,rgba(31,35,45,0.00)_100%),#1F232D]",a5=[{key:"lightningSpeed",image:$$},{key:"firstToKnow",image:P$},{key:"quickAccess",image:H$}],xP=[V$,z$,G$,Z$],fP=()=>{Qe("meta.apk.title","meta.apk.description");const[t,s]=m.useState(cP?"android":"ios");m.useEffect(()=>{rP(new URL(window.location.href))},[]);const a=()=>{iP(new URL(window.location.href))},l=t==="android"?"android":"ios";return e.jsxs("div",{className:"min-h-screen text-white",children:[e.jsx("section",{className:"mb-6 rounded md:mb-20 md:bg-[radial-gradient(71.32%_100%_at_50%_0%,_rgba(96,_119,_242,_0.24)_0%,_rgba(19,_22,_30,_0)_100%)]",children:e.jsxs("div",{className:"grid items-center gap-16 lg:grid-cols-[50%_50%]",children:[e.jsxs("div",{className:"mx-auto",children:[e.jsx("div",{className:"mb-2 w-fit roun
116ded-[6px] bg-[rgba(99,122,244,0.10)] p-1.5 text-xs font-semibold uppercase tracking-[2px] text-brandblue-300 md:mb-5",children:n("apk.hero.label")}),e.jsxs("h1",{className:"mb-3 text-[36px] font-bold leading-tight md:mb-5 lg:text-[52px]",children:[n("apk.hero.title")," ",e.jsx("span",{className:"text-brandblue-300",children:n("apk.hero.titleBrand")}),e.jsx("br",{}),n("apk.hero.titleSuffix")]}),e.jsx("p",{className:"mb-2 text-base leading-relaxed text-brandblue-100 md:mb-8",children:n("apk.hero.subtitle")}),e.jsx(O,{onClick:a,variant:"primary",className:"h-10 w-64 px-4",children:n("apk.common.downloadApp")})]}),e.jsx("div",{className:"relative hidden min-h-[300px] items-center justify-center md:flex lg:min-h-[400px] xl:min-h-[600px]",children:e.jsx("img",{className:"w-full md:w-[350px] xl:w-[450px]",src:U$,alt:"App mockup"})})]})}),e.jsx("section",{className:"mb-20 hidden gap-8 md:grid md:grid-cols-3",children:a5.map(({key:r,image:i})=>e.jsxs("div",{className:g("rounded-2xl p-6 text-center",dP),children:[e.jsx("div",{className:"mx-auto h-[88px] w-[88px]",children:e.jsx("img",{src:i,alt:"",width:88,height:88})}),e.jsx("h3",{className:"mb-4 pt-5 text-xl font-semibold",children:n(`apk.features.${r}.title`)}),e.jsx("p",{className:"text-sm leading-relaxed text-brandblue-100",children:n(`apk.features.${r}.description`)})]},r))}),e.jsx("section",{className:"mb-6 grid gap-4 md:hidden md:grid-cols-3",children:a5.map(({key:r,image:i})=>e.jsxs("div",{className:g("flex items-center rounded-2xl p-4",uP),children:[e.jsx("div",{className:"h-auto w-20 shrink-0",children:e.jsx("img",{src:i,alt:"",width:88,height:88})}),e.jsxs("div",{className:"ml-6",children:[e.jsx("h3",{className:"mb-1 font-semibold",children:n(`apk.features.${r}.title`)}),e.jsx("p",{className:"text-xs leading-relaxed text-brandblue-100",children:n(`apk.features.${r}.description`)})]})]},r))}),e.jsx("div",{className:"mb-8 hidden justify-end md:flex",children:e.jsxs("div",{className:"relative inline-flex items-center rounded-lg bg-gray-800/50 p-1",children:[e.jsx("div",{className:"absolute bottom-1 top-1 w-[calc(50%-0.25rem)] rounded-lg bg-indigo-500 transition-all duration-300 ease-out",style:{left:t==="android"?"0.25rem":"calc(50% + 0.25rem)"}}),e.jsx("button",{type:"button",className:g("relative z-10 w-24 rounded-lg px-6 py-2 text-sm font-semibold transition-colors duration-300",t==="android"?"text-white":"text-gray-400 hover:text-gray-300"),onClick:()=>s("android"),children:n("apk.common.android")}),e.jsx("button",{type:"button",className:g("relative z-10 w-24 rounded-lg px-6 py-2 text-sm font-semibold transition-colors duration-300",t==="ios"?"text-white":"text-gray-400 hover:text-gray-300"),onClick:()=>s("ios"),children:n("apk.common.ios")})]})}),e.jsxs("section",{className:"border-t-primary border-t-1 pt-6 md:mb-20 md:border-none md:pt-0",children:[e.jsxs("div",{className:"mb-4 flex items-center gap-4 text-lg font-semibold md:mb-6 md:text-2xl",children:[e.jsx("span",{className:"text-lg md:text-3xl",children:e.jsx(W$,{})}),n(`apk.steps.${l}.title`)]}),e.jsx("div",{className:"no-scrollbar -mx-4 flex snap-x snap-mandatory gap-6 overflow-x-auto px-4 pb-4 md:mx-0 md:mb-10 md:grid md:snap-none md:grid-cols-2 md:overflow-x-visible md:px-0 md:pb-0 xl:grid-cols-4",children:xP.map((r,i)=>e.jsxs("div",{className:g("min-w-[16rem] snap-center rounded-xl p-4 md:w-auto md:min-w-0",i===0?mP:"bg-primary"),children:[e.jsx("div",{className:"mb-3 h-11 w-11 md:mb-5",children:e.jsx("img",{src:r,alt:"",width:88,height:88})}),e.jsx("h4",{className:"mb-2 text-base font-semibold md:mb-3",children:n(`apk.steps.${l}.step${i+1}.title`)}),e.jsx("p",{className:g("text-[13px] leading-relaxed text-brandblue-100",l==="android"&&i===0&&"pb-5"),children:n(`apk.steps.${l}.step${i+1}.description`)}),l==="android"&&i===0?e.jsx(O,{onClick:a,variant:"primary",className:"w-full px-4",children:n("apk.common.downloadApp")}):null]},r))})]})]})},ux=m.createContext(null),pP=({game:t,children:s})=>e.jsx(ux.Provider,{value:t,children:s}),rs=()=>{const t=m.useContext(ux);if(!t)throw new Error("useFairGame must be used inside <FairGameProvider />");return t},an=({children:t})=>e.jsx("div",{className:"flex flex-col gap-4 lg:flex-row",children:t}),nn=({rootClass:t="",children:s})=>e.jsx("div",{className:g("order-1 w-full rounded-lg",t),children:s}),mx=({children:t})=>e.jsx("div",{className:"order-2 flex w-full min-w-drawer flex-col gap-y-4 rounded-xl bg-gunmetal p-4 lg:order-1 xl:max-w-[320px] landscape:max-w-[320px]",children:t}),hP={Primary:"[border:var(--color-buttonv2-primary-border)] bg-buttonv2-primary text-buttonv2-primary-text hover:bg-hover-buttonv2-primary",NonAccent:"bg-buttonv2-nonAccent-bg text-buttonv2-nonAccent-text hover:bg-hover-buttonv2-nonAccent",Accent:"!transition-none bg-buttonv2-accent text-buttonv2-accent-text hover:bg-hover-buttonv2-accent",Danger:"border border-buttonv2-danger-bg bg-buttonv2-danger-bg text-buttonv2-danger-text hover:bg-hover-buttonv2-danger",Green:"bg-gradient-to-l from-[#73DA69] via-[#36BD2B] to-[#73DA69] text-black-50",Link:"bg-transparent text-brandblue-100 hover:text-white"}
116,gP={small:"h-8 px-2 text-sm",medium:"h-10 px-3 text-sm",large:"h-11 px-3 text-sm"},bP={small:"size-8 !px-0",medium:"size-10 !px-0",large:"size-11 !px-0"},Z=({variant:t="Primary",height:s="medium",block:a=!1,iconOnly:l=!1,disabled:r=!1,className:i,testId:o,ariaLabel:d,onClick:u,children:c})=>e.jsx("button",{type:"button",disabled:r,"data-testid":o,"aria-label":d,onClick:u,className:g("inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md font-semibold transition-colors disabled:pointer-events-none disabled:opacity-50",gP[s],hP[t],l&&bP[s],a&&"w-full",i),children:c}),Ds=({label:t,toggled:s,disabled:a=!1,testId:l,onToggle:r})=>e.jsxs("div",{className:"flex w-full flex-row items-center justify-between gap-2",children:[e.jsx("span",{className:"text-sm text-brandblue-100",children:t}),e.jsx("button",{type:"button",role:"switch","aria-checked":s,disabled:a,"data-testid":l,onClick:r,className:g("relative h-5 w-9 shrink-0 rounded-full transition-colors disabled:pointer-events-none disabled:opacity-50",s?"bg-gradient-primary":"bg-stream-sub-highlight-color"),children:e.jsx("span",{className:g("absolute left-0 top-0.5 size-4 rounded-full bg-white transition-transform",s?"translate-x-[18px]":"translate-x-0.5")})})]}),na=({trigger:t,ariaLabel:s,testId:a,children:l,onOpen:r,align:i="start",panelClassName:o})=>{const[d,u]=m.useState(!1),[c,x]=m.useState(!1),p=m.useRef(null),f=m.useRef(null),h=m.useRef(null);return m.useLayoutEffect(()=>{var j,y;if(!d)return;const b=(j=f.current)==null?void 0:j.getBoundingClientRect(),v=(y=h.current)==null?void 0:y.getBoundingClientRect();!b||!v||x(b.bottom+v.height+8>window.innerHeight)},[d]),m.useEffect(()=>{if(!d)return;r==null||r();const b=j=>{var y;(y=p.current)!=null&&y.contains(j.target)||u(!1)},v=j=>{j.key==="Escape"&&u(!1)};return window.addEventListener("pointerdown",b),window.addEventListener("keydown",v),()=>{window.removeEventListener("pointerdown",b),window.removeEventListener("keydown",v)}},[d]),e.jsxs("div",{ref:p,className:"relative shrink-0",children:[e.jsx("div",{ref:f,children:e.jsx(Z,{variant:"NonAccent",height:"medium",iconOnly:!0,ariaLabel:s,testId:a,onClick:()=>u(b=>!b),children:t})}),d?e.jsx("div",{ref:h,className:g("absolute z-50 flex w-[220px] flex-col justify-between gap-y-5 rounded-md border border-highlight bg-secondary p-4 text-sm text-white",i==="end"?"right-0":"left-0",c?"bottom-full mb-2":"top-full mt-2",o),children:l}):null]})},Xe=({label:t,value:s})=>e.jsxs("div",{className:"flex flex-row justify-between gap-x-4",children:[e.jsx("span",{className:"text-brandblue-100",children:t}),e.jsx("span",{className:"text-white",children:s})]}),al=()=>e.jsx("div",{className:"flex w-full justify-center py-20","data-testid":"game-spinner",children:e.jsx("span",{className:"size-8 animate-spin rounded-full border-2 border-brandblue-400 border-t-brandblue-300"})}),xx=()=>e.jsx("span",{className:"inline-flex items-center gap-1","aria-label":"Loading",children:[0,150,300].map(t=>e.jsx("span",{className:"size-1.5 animate-pulse rounded-full bg-current",style:{animationDelay:`${t}ms`}},t))}),CP=({gameInfo:t,imageSrc:s,onStart:a})=>e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 roun
116ded-xl bg-primary p-4","data-testid":"game-preloader",children:[s?e.jsx("img",{src:s,alt:(t==null?void 0:t.name)??"",className:"w-[160px] rounded-lg",loading:"lazy"}):null,e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("span",{className:"text-xl font-semibold text-white",children:(t==null?void 0:t.name)??""}),e.jsxs("span",{className:"text-sm text-brandblue-100",children:[n("preloader.provider"),": ",n("global_whaleOriginals")]})]}),e.jsx(Z,{variant:"Primary",height:"medium",block:!0,testId:"game-preloader-start",onClick:a,children:n("slot.real_play")})]}),is=t=>({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t}),da=t=>e.jsxs("svg",{...is(t),children:[e.jsx("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"}),e.jsx("path",{d:"m9 12 2 2 4-4"})]}),jP=t=>e.jsxs("svg",{...is(t),children:[e.jsx("path",{d:"M21 8H5"}),e.jsx("path",{d:"m8 5-3 3 3 3"}),e.jsx("path",{d:"M3 16h16"}),e.jsx("path",{d:"m16 19 3-3-3-3"})]}),Nl=t=>e.jsxs("svg",{...is(t),children:[e.jsx("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2Z"}),e.jsx("circle",{cx:"12",cy:"12",r:"3"})]}),Gi=t=>e.jsxs("svg",{...is(t),children:[e.jsx("path",{d:"M3 3v18h18"}),e.jsx("rect",{x:"7",y:"12",width:"3",height:"6",rx:"1"}),e.jsx("rect",{x:"12",y:"8",width:"3",height:"10",rx:"1"}),e.jsx("rect",{x:"17",y:"4",width:"3",height:"14",rx:"1"})]}),vP=({crossed:t=!1,...s})=>e.jsxs("svg",{...is(s),children:[e.jsx("path",{d:"M18.178 8c1.014 0 1.907.375 2.617 1.084A3.582 3.582 0 0 1 21.879 11.7c0 1.014-.375 1.907-1.084 2.616A3.582 3.582 0 0 1 18.178 15.4c-2.4 0-3.6-1.85-6-3.7-2.4-1.85-3.6-3.7-6-3.7a3.582 3.582 0 0 0-2.617 1.084A3.582 3.582 0 0 0 2.477 11.7c0 1.014.375 1.907 1.084 2.616A3.582 3.582 0 0 0 6.178 15.4c2.4 0 3.6-1.85 6-3.7 2.4-1.85 3.6-3.7 6-3.7Z"}),t?e.jsx("path",{d:"m3 21 18-18"}):null]}),fx=t=>e.jsx("svg",{...is(t),children:e.jsx("path",{d:"M5 12h14"})}),wP=t=>e.jsx("svg",{...is(t),children:e.jsx("path",{d:"M12 5v14M5 12h14"})}),ln=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 14",fill:"
116currentColor","aria-hidden":"true",...t,children:[e.jsx("path",{d:"M7.00016 4.23165C6.37623 4.40226 6.00016 4.88102 6.00016 5.33333C6.00016 5.78563 6.37623 6.2644 7.00016 6.43501V4.23165Z"}),e.jsx("path",{d:"M8.00016 7.56498V9.76834C8.6241 9.59773 9.00016 9.11897 9.00016 8.66666C9.00016 8.21436 8.6241 7.73559 8.00016 7.56498Z"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1668 6.99999C14.1668 10.6819 11.1821 13.6667 7.50016 13.6667C3.81826 13.6667 0.833496 10.6819 0.833496 6.99999C0.833496 3.3181 3.81826 0.333328 7.50016 0.333328C11.1821 0.333328 14.1668 3.3181 14.1668 6.99999ZM7.50016 2.49999C7.7763 2.49999 8.00016 2.72385 8.00016 2.99999V3.21115C9.08712 3.40577 10.0002 4.2224 10.0002 5.33333C10.0002 5.60947 9.7763 5.83333 9.50016 5.83333C9.22402 5.83333 9.00016 5.60947 9.00016 5.33333C9.00016 4.88102 8.6241 4.40226 8.00016 4.23165V6.54448C9.08712 6.73911 10.0002 7.55573 10.0002 8.66666C10.0002 9.77759 9.08712 10.5942 8.00016 10.7888V11C8.00016 11.2761 7.7763 11.5 7.50016 11.5C7.22402 11.5 7.00016 11.2761 7.00016 11V10.7888C5.91321 10.5942 5.00016 9.77759 5.00016 8.66666C5.00016 8.39052 5.22402 8.16666 5.50016 8.16666C5.7763 8.16666 6.00016 8.39052 6.00016 8.66666C6.00016 9.11897 6.37623 9.59773 7.00016 9.76834V7.4555C5.91321 7.26088 5.00016 6.44425 5.00016 5.33333C5.00016 4.2224 5.91321 3.40577 7.00016 3.21115V2.99999C7.00016 2.72385 7.22402 2.49999 7.50016 2.49999Z"})]}),Gt=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none","aria-hidden":"true",...t,children:[e.jsx("g",{filter:"url(#whaleTokenCoinShadow)",children:e.jsx("path",{d:"M11 21C12.3132 21 13.6136 20.7413 14.8268 20.2388C16.0401 19.7362 17.1425 18.9997 18.0711 18.0711C18.9997 17.1425 19.7362 16.0401 20.2388 14.8268C20.7413 13.6136 21 12.3132 21 11C21 9.68678 20.7413 8.38642 20.2388 7.17317C19.7362 5.95991 18.9997 4.85752 18.0711 3.92893C17.1425 3.00035 16.0401 2.26375 14.8268 1.7612C13.6136 1.25866 12.3132 1 11 1C8.34784 1 5.8043 2.05357 3.92893 3.92893C2.05357 5.8043 1 8.34784 1 11C1 13.6522 2.05357 16.1957 3.92893 18.0711C5.8043 19.9464 8.34784 21 11 21Z",fill:"url(#whaleTokenCoinGradient)"})}),e.jsx("g",{filter:"url(#whaleTokenInnerShadow)",children:e.jsx("path",{d:"M19.3337 10.9998C19.3337 13.21 18.4557 15.3296 16.8929 16.8924C15.3301 18.4552 13.2105 19.3332 11.0003 19.3332C8.79019 19.3332 6.67057 18.4552 5.10777 16.8924C3.54497 15.3296 2.66699 13.21 2.66699 10.9998C2.66699 8.7897 3.54497 6.67008 5.10777 5.10728C6.67057 3.54448 8.79019 2.6665 11.0003 2.6665C13.2105 2.6665 15.3301 3.54448 16.8929 5.10728C18.4557 6.67008 19.3337 8.7897 19.3337 10.9998Z",fill:"#D66C07"})}),e.jsx("g",{filter:"url(#whaleTokenWhaleShadow)",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4104 4.52312C10.333 4.46841 10.268 4.42628 10.214 4.39594C10.1608 4.36602 10.1154 4.34586 10.0779 4.33767C10.0419 4.3298 9.99771 4.33016 9.96771 4.36481C9.94086 4.39581 9.94032 4.43862 9.94429 4.47227C9.95267 4.54322 9.99093 4.64527 10.0405 4.76234C10.0702 4.83245 10.1055 4.91128 10.1433 4.99568C10.1694 5.05394 10.1966 5.11486 10.2241 5.17741C10.3671 5.50333 10.332 5.89805 10.2028 6.26271C10.0737 6.62711 9.85378 6.95229 9.64023 7.13556C9.54279 7.2192 9.43146 7.26851 9.34074 7.30869L9.34057 7.30876L9.34056 7.30877C9.32336 7.31639 9.3069 7.32368 9.29142 7.33081C9.26777 7.34171 9.24523 7.35284 9.22662 7.36458C9.20905 7.37565 9.18892 7.39091 9.17667 7.41246C9.16178 7.43865 9.16177 7.46822 9.1758 7.49509C9.1876 7.51769 9.20819 7.53639 9.2308 7.55267C9.31591 7.6144 9.42701 7.6893 9.54071 7.76594L9.54084 7.76604L9.54093 7.76609C9.58946 7.79881 9.63847 7.83185 9.68612 7.86431C9.84785 7.97448 9.99167 8.07656 10.0588 8.14208C10.3947 8.47074 10.5621 8.66695 10.6521 8.81072C10.3116 8.96416 9.99476 9.12427 9.73772 9.27254C9.70125 9.29357 9.66511 9.31498 9.62929 9.33679C9.60371 9.31222 9.57416 9.29366 9.53929 9.28008C9.44566 9.24328 9.34145 9.2614 9.22374 9.31256C9.20404 9.32112 9.18371 9.33072 9.1627 9.34133C9.14181 9.2783 9.10935 9.21695 9.06602 9.16153L9.06595 9.16145C8.90246 8.95327 8.62288 8.87822 8.43842 9.02758C8.3003 9.13941 8.27103 9.33205 8.3335 9.5095L8.31921 9.50261L8.31903 9.50253C8.04351 9.37486 7.72058 9.43726 7.61167 9.67788C7.55748 9.7976 7.5722 9.93189 7.63344 10.0499C7.69465 10.1678 7.8033 10.2721 7.94353 10.3375L7.94365 10.3376C7.95135 10.3412 7.95909 10.3446 7.96686 10.3479C7.8461 10.4814 7.75461 10.59 7.71944 10.6358C7.50238 10.916 7.44576 11.1173 7.41866 11.2943C7.40787 11.3643 7.40008 11.4776 7.40498 11.6004C7.40736 11.6598 7.41274 11.7224 7.42248 11.7841C7.16992 12.2668 6.9618 12.7846 6.79398 13.3245C6.72958 13.531 6.57114 13.6664 6.37239 13.8362C6.21277 13.9726 6.02715 14.1312 5.84336 14.3667C5.44156 14.8818 5.05647 15.7165 5.16088 15.906C5.26948 16.1024 5.67295 15.8499 6.19002 15.3841C6.23275 15.3456 6.24726 15.4231 6.27439 15.568C6.29393 15.6724 6.32003 15.8118 6.36795 15.9681C6.49994 16.3999 6.77226 16.739 6.86415 16.6617C7.01406 16.536 7.04241 16.1843 7.07807 15.742C7.10004 15.4695 7.12478 15.1626 7.18241 14.8529C7.30938 14.1669 7.93673 13.9825 8.11883 13.9774C8.27494 13.9732 8.42196 13.9791 8.56193 13.9923C8.59835 14.0217 8.62976 14.0419 8.65739 14.0587L8.66234 14.0617L8.66857 14.0654L8.67647 14.0702C8.68534 14.0755 8.69344 14.0803 8.70103 14.0851L8.68954 14.1077C8.64668 14.1922 8.60648 14.2715 8.57828 14.3389C8.56233 14.377 8.54937 14.4133 8.54193 14.446C8.53469 14.4779 8.5313 14.512 8.54014 14.5431C8.55688 14.6018 8.60738 14.6445 8.67377 14.6643C8.74037 14.6842 8.82673 14.6829 8.92873 14.6536C9.10085 14.6041 9.32469 14.4729 9.5914 14.2093L9.62838 14.2198L9.6284 14.2198C9.9887 14.322 10.3364 14.4206 10.7318 14.4347C10.8364 14.4384 10.9372 14.4416 11.0343 14.4444C11.0678 14.5178 11.1037 14.5909 11.142 14.6623C11.025 14.658 10.9075 14.6486 10.7924 14.6338C10.312 14.5717 9.87599 14.6329 9.44078 14.9882C8.8694 15.4549 8.59875 15.9972 8.31975 16.7418C8.31482 16.755 8.34923 16.7316 8.41511 16.6869C8.71765 16.4816 9.68373 15.8258 10.5501 16.1944C11.8883 16.763 12.4747 16.8438 12.9225 16.797C13.8221 16.7035 14.3568 16.0635 14.6425 15.5169C14.9234 14.9794 14.912 14.1689 14.859 13.8307C15.3924 13.6204 15.9134 13.371 16.1406 12.9259C16.2308 12.7508 16.1749 12.6284 15.9694 12.5519C15.7555 12.4728 15.4089 12.4448 14.7172 12.4788C14.0832 12.5102 13.0298 12.8426 13.0298 12.8426C13.0298 12.8426 13.749 12.3368 14.378 12.2212C15.2694 12.0572 15.8449 12.2348 15.8449 12.2348C16.4697 11.4622 17.0169 10.5799 16.0638 9.19774C15.1356 7.8525 13.4246 7.9405 12.2845 8.21906C12.3624 8.10314 12.383 7.95073 12.3263 7.8113C12.2597 7.64781 12.1055 7.54828 11.9421 7.54573L11.8201 5.14892C11.8187 5.12079 11.7951 5.09917 11.7675 5.10063C11.7398 5.10208 11.7186 5.12606 11.72 5.15419L11.8422 7.55638C11.8193 7.56171 11.7965 7.56906 11.774 7.57853C11.5583 7.66944 11.4559 7.92104 11.5453 8.14051C11.5886 8.24703 11.6692 8.3264 11.7653 8.36948L11.7517 8.37408C11.6057 8.42385 11.4572 8.47812 11.309 8.535
11654C11.4132 8.05107 11.5127 7.37801 11.423 6.64633C11.3422 5.98553 11.2233 5.09843 10.4104 4.52312ZM12.2794 9.70318C12.3002 9.68464 12.3319 9.6868 12.3501 9.70801L12.9608 10.4186C12.973 10.4329 12.9765 10.4529 12.9698 10.4706C12.9631 10.4882 12.9473 10.5007 12.9288 10.5028L12.9285 10.5029L12.9278 10.503L12.9252 10.5033L12.915 10.5044L12.8765 10.5082C12.8431 10.5114 12.7951 10.5155 12.736 10.5195L12.7328 10.5197C12.7494 10.6702 12.7753 11.205 12.3233 11.2954C12.0058 11.3592 11.6658 11.156 11.5873 10.7897C11.5593 10.6583 11.5817 10.5126 11.594 10.4505C11.4649 10.4168 11.3458 10.3697 11.2509 10.3039C11.228 10.2881 11.2221 10.2564 11.2376 10.2331C11.2532 10.2098 11.2844 10.2038 11.3073 10.2196C11.4173 10.2959 11.5714 10.3471 11.7449 10.3798C11.9176 10.4123 12.1053 10.4258 12.2796 10.429C12.4537 10.4323 12.6133 10.4254 12.7295 10.4177C12.7641 10.4154 12.7948 10.413 12.8209 10.4108L12.2747 9.77515C12.2564 9.75394 12.2586 9.72172 12.2794 9.70318ZM12.3124 10.5315C12.4033 10.5326 12.4896 10.531 12.5673 10.5282C12.6023 10.5575 12.6294 10.599 12.6424 10.6485C12.6733 10.7667 12.6106 10.8848 12.5028 10.9137C12.3951 10.9418 12.2832 10.8695 12.2531 10.7522C12.231 10.6678 12.2567 10.5834 12.3124 10.5315Z",fill:"white"})}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"whaleTokenCoinShadow",x:"0.487595",y:"0.743798",width:"21.0248",height:"21.0248",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.256202"}),e.jsx("feGaussianBlur",{stdDeviation:"0.256202"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),e.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"dropShadow1"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.555556"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.704167 0 0 0 0 0.344328 0 0 0 0 0 0 0 0 1 0"}),e.jsx("feBlend",{mode:"normal",in2:"dropShadow1",result:"dropShadow2"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"dropShadow2",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.555556"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.75 0"}),e.jsx("feBlend",{mode:"overlay",in2:"shape",result:"innerShadow1"})]}),e.jsxs("filter",{id:"whaleTokenInnerShadow",x:"2.66699",y:"2.6665",width:"16.667",height:"16.6665",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.555556"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"innerShadow1"})]}),e.jsxs("filter",{id:"whaleTokenWhaleShadow",x:"4.03244",y:"4.3335",width:"12.5467",height:"13.5857",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dx:"-0.555556",dy:"0.555556"}),e.jsx("feGaussianBlur",{stdDeviation:"0.277778"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}
116),e.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"dropShadow1"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"dropShadow1",result:"shape"})]}),e.jsxs("linearGradient",{id:"whaleTokenCoinGradient",x1:"11",y1:"1",x2:"11",y2:"21",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFC839"}),e.jsx("stop",{offset:"1",stopColor:"#FF8819"})]})]})]}),px=t=>e.jsxs("svg",{...is(t),children:[e.jsx("path",{d:"M7 17 17 7"}),e.jsx("path",{d:"M7 7h10v10"})]}),hx=t=>e.jsxs("svg",{...is(t),children:[e.jsx("path",{d:"m7 7 10 10"}),e.jsx("path",{d:"M17 7v10H7"})]}),Zi=t=>e.jsxs("svg",{...is(t),children:[e.jsx("rect",{x:"4",y:"3",width:"16",height:"18",rx:"2"}),e.jsx("path",{d:"M8 8h8M8 12h8M8 16h5"})]}),gx=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 20",fill:"none","aria-hidden":"true",...t,children:[e.jsx("path",{d:"M6.71078 2.26039C7.02308 1.46854 8.14375 1.46854 8.45605 2.26039L9.42384 4.71427C9.51919 4.95603 9.71056 5.14739 9.95231 5.24274L12.4062 6.21054C13.198 6.52284 13.198 7.6435 12.4062 7.9558L9.95231 8.9236C9.71056 9.01895 9.51919 9.21031 9.42384 9.45207L8.45605 11.9059C8.14375 12.6978 7.02308 12.6978 6.71078 11.9059L5.74299 9.45207C5.64764 9.21031 5.45627 9.01895 5.21451 8.9236L2.76063 7.9558C1.96878 7.6435 1.96879 6.52284 2.76064 6.21054L5.21451 5.24274C5.45627 5.14739 5.64764 4.95603 5.74299 4.71427L6.71078 2.26039Z",fill:"currentColor"}),e.jsx("path",{d:"M14.6037 11.1599C14.7753 10.7247 15.3912 10.7247 15.5628 11.1599L16.3134 13.063C16.3658 13.1958 16.4709 13.301 16.6038 13.3534L18.5069 14.1039C18.942 14.2756 18.942 14.8914 18.5069 15.0631L16.6038 15.8136C16.4709 15.866 16.3658 15.9712 16.3134 16.104L15.5628 18.0071C15.3912 18.4423 14.7753 18.4423 14.6037 18.0071L13.8531 16.104C13.8007 15.9712 13.6956 15.866 13.5627 15.8136L11.6596 15.0631C11.2245 14.8914 11.2245 14.2756 11.6596 14.1039L13.5627 13.3534C13.6956 13.301 13.8007 13.1958 13.8531 13.063L14.6037 11.1599Z",fill:"currentColor"})]}),bc=t=>e.jsx("svg",{...is(t),children:e.jsx("path",{d:"m6 9 6 6 6-6"})}),yP=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",...t,children:[e.jsx("path",{d:"M2.5 5.32166C2.5 4.91795 2.78782 4.59068 3.14286 4.59068L5.36306 4.59029C5.80419 4.57757 6.19335 4.25863 6.34345 3.78678C6.3474 3.77438 6.35193 3.75908 6.36821 3.70355L6.46388 3.37715C6.52242 3.17703 6.57342 3.00267 6.64479 2.84683C6.92674 2.23115 7.4484 1.80362 8.05122 1.69416C8.20381 1.66645 8.3654 1.66657 8.55088 1.66671H11.4493C11.6347 1.66657 11.7963 1.66645 11.9489 1.69416C12.5517 1.80362 13.0734 2.23115 13.3554 2.84683C13.4267 3.00267 13.4777 3.17703 13.5363 3.37715L13.6319 3.70355C13.6482 3.75908 13.6527 3.77438 13.6567 3.78678C13.8068 4.25863 14.2732 4.57796 14.7143 4.59068H16.8571C17.2122 4.59068 17.5 4.91795 17.5 5.32166C17.5 5.72538 17.2122 6.05265 16.8571 6.05265H3.14286C2.78782 6.05265 2.5 5.72538 2.5 5.32166Z"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.663 18.3335H10.337C12.6559 18.3335 13.8154 18.3335 14.5693 17.5952C15.3231 16.8569 15.4003 15.6459 15.5545 13.2239L15.7768 9.73396C15.8605 8.4198 15.9023 7.76272 15.5241 7.34634C15.1459 6.92995 14.5073 6.92995 13.23 6.92995H6.77004C5.49272 6.92995 4.85407 6.92995 4.47588 7.34634C4.09769 7.76272 4.13953 8.4198 4.22323 9.73396L4.44549 13.2239C4.59975 15.6459 4.67687 16.8569 5.43074 17.5952C6.18461 18.3335 7.34407 18.3335 9.663 18.3335ZM8.53856 10.1572C8.50422 9.79565 8.19794 9.53187 7.85448 9.56802C7.51101 9.60418 7.26042 9.92657 7.29477 10.2881L7.71143 14.6741C7.74578 15.0356 8.05206 15.2994 8.39552 15.2632C8.73899 15.2271 8.98958 14.9047 8.95523 14.5432L8.53856 10.1572ZM12.1455 9.56802C12.489 9.60418 12.7396 9.92657 12.7052 10.2881L12.2886 14.6741C12.2542 15.0356 11.9479 15.2994 11.6045 15.2632C11.261 15.2271 11.0104 14.9047 11.0448 14.5432L11.4614 10.1572C11.4958 9.79565 11.8021 9.53187 12.1455 9.56802Z"})]}),kl=t=>e.jsxs("svg",{...is(t),children:[e.jsx("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),e.jsx("path",{d:"M12 11v5"}),e.jsx("path",{d:"M12 8h.01"})]}),_P=({fill:t,...s})=>e.jsx("svg",{width:"70",height:"80",viewBox:"0 0 70 80",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...s,children:e.jsx("path",{d:"M69.5063 20.2483C69.0903 19.4165 68.4487 18.7206 67.6559 18.2413L37.3485 0.631747C36.6265 0.217713 35.8101 0 34.9793 0C34.1485 0 33.3321 0.217713 32.6101 0.631747L2.32929 18.2384C1.52165 18.722 0.869852 19.4302 0.452262 20.278L0.472954 20.287C0.16849 20.9182 0 21.6299 0 22.3415V57.5875C0 59.3056 0.895654 60.8778 2.37068 61.7204L32.6515 79.33C33.3609 79.7588 34.1856 79.9643 34.9808 79.9702V80C35.7907 80 36.6272 79.7975 37.3514 79.3598L67.6588 61.7502C68.3744 61.3285 68.9674 60.7246 69.3783 59.9993
116C69.7892 59.2739 70.0036 58.4524 70 57.6173V22.3713C69.9956 21.6353 69.8268 20.9097 69.5063 20.2483ZM35.6629 41.3333L34.9778 79.068L34.3371 41.3333L1.22968 20.7068L35 40L68.5693 20.8021L35.6629 41.3333Z",fill:t})}),NP=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...t,children:[e.jsx("g",{opacity:"0.4",children:e.jsx("rect",{y:"4",width:"3",height:"12",rx:"1.5",fill:"#141820"})}),e.jsx("g",{opacity:"0.4",children:e.jsx("rect",{x:"17",y:"4",width:"3",height:"12",rx:"1.5",fill:"#141820"})}),e.jsx("g",{opacity:"0.4",children:e.jsx("rect",{x:"8.5",width:"3",height:"20",rx:"1.5",fill:"#141820"})})]}),kP=97,n5=({metrics:t})=>{if(!t)return null;const s=Number(t.defaultRtp??kP)/100,l=Number(t.rtp??0)>=s;return e.jsx("div",{className:"flex w-full min-w-drawer flex-col gap-y-4 lg:max-w-[320px] landscape:max-w-[320px]","data-testid":"rtp-stats",children:e.jsxs("div",{className:"w-full overflow-hidden rounded-xl",children:[t.defaultRtp?e.jsxs("div",{className:"flex h-10 w-full items-center justify-between border-b-1 border-tribe-live bg-gunmetal px-2 text-sm",children:[e.jsx("div",{className:"flex items-center gap-x-1",children:n("rtp_stats.label")}),e.jsxs("div",{className:"h-5 rounded-xs bg-[#323A4C] px-1","data-testid":"rtp-default",children:[u1(Number(t.defaultRtp)),"%"]})]}):null,t.rtp?e.jsx("div",{className:"flex h-10 w-full items-center justify-between bg-gunmetal px-2 text-sm",children:e.jsxs("div",{className:"flex h-[1.125rem] items-center rounded-xs bg-[#323A4C] pl-1.5 pr-0.5 text-xs",children:[e.jsx("span",{className:"pr-1 text-[#ADAFCE]",children:"24H"}),e.jsxs("span",{"data-testid":"rtp-live",children:[u1(Number(t.rtp)*100),"%"]}),l?e.jsx(px,{className:"size-4 text-brandblue-300","data-testid":"rtp-trend-up"}):e.jsx(hx,{className:"size-4 text-error","data-testid":"rtp-trend-down"})]})}):null]})})},Cc=({isSessionResolved:t,isAuthenticated:s,isProfileLoaded:a,isSelfExcluded:l,anonymousView:r="redirect"})=>s?a?l?"self-excluded":"allowed":"pending":r==="stub"?"stub-auth":t?"redirect-auth":"pending",ne=({label:t,value:s,name:a,type:l,placeholder:r="",disabled:i=!1,readOnly:o=!1,copyable:d=!1,sideLabel:u,minValue:c,maxValue:x,maximumFractionDigits:p=8,icon:f,beforeInput:h,endIcon:b,afterInput:v,testId:j,onChanged:y,onInput:N,onUnmountWithDraft:k})=>{const[w,S]=m.useState(s==null?"":String(s)),[M,_]=m.useState(!1),A=m.useRef(null),E=m.useRef(()=>{});m.useEffect(()=>{S(s==null?"":String(s)),A.current=null},[s]),m.useEffect(()=>()=>E.current(),[]),m.useEffect(()=>{if(!M)return;const V=window.setTimeout(()=>_(!1),1500);return()=>window.clearTimeout(V)},[M]);const L=V=>{if(l!=="number"||V==="")return V;let $=V;/^0+(?=\d)/.test($)&&($=(c==null?void 0:c.toString())??"0");const re=$.indexOf(".");return re!==-1&&$.length-re-1>p&&($=$.slice(0,re+p+1)),$},B=(V,$)=>{$==null||$(l==="number"&&V===""?null:V)},z=V=>{let $=L(V);return l==="number"&&(c!==void 0&&($===""||Number($)<c)&&($=String(c)),x!==void 0&&$!==""&&Number($)>x&&($=String(x))),$};E.current=()=>{if(A.current===null)return;const V=z(A.current);A.current=null,B(V,k)};const le=a??void 0;return e.jsxs("div",{className:"flex w-full flex-col gap-2",children:[t||u?e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("label",{htmlFor:le,className:"w-full text-sm font-normal text-brandblue-100 md:text-base",children:t}),u?e.jsx("span",{className:"text-lg text-white",children:u}):null]}):null,e.jsx("div",{className:"flex w-full items-center gap-2",children:e.jsx("div",{className:"flex flex-1 items-center gap-2",children:e.jsxs("div",{className:"relative flex w-full flex-row items-center justify-between gap-2",children:[e.jsxs("div",{className:g("flex w-full min-w-[124px] items-center gap-2 rounded-md bg-[#323A4C] px-3 py-2",i&&"opacity-50"),children:[h,f,e.jsx("input",{id:le,name:a,type:l??"text",placeholder:r,value:w,disabled:i,readOnly:o,min:c,max:x,"data-testid":j,className:g("w-full truncate bg-transparent outline-none [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",i||o?"cursor-default text-brandblue-100":"text-white"),onChange:V=>{const $=L(V.target.value);S($),A.current=$,B($,N)},onBlur:V=>{const $=z(V.target.value);A.current=null,S($),B($,y)},onKeyDown:V=>{V.key==="Enter"&&V.target.blur()}}),d?e.jsxs("div",{className:"relative",children:[e.jsx("button",{type:"button","aria-label":"Copy",className:"flex aspect-square size-6 items-center justify-center rounded-md text-brandblue-100 hover:text-white",onClick:()=>{navigator.clipboard.writeText(String(s??"")),_(!0)},children:e.jsx(Mr,{className:"size-4"})}),M?e.jsx("span",{className:"absolute right-0 top-8 z-overlay flex h-9 items-center rounded-md border border-brand-tertiary bg-secondary-active px-2 text-sm text-white",children:n("global_copied")}):null]}):null,b]}),v]})})})]})},SP=()=>{const[t,s,a]=C([vs,ws,ys]);return e.jsxs("div",{className:"flex flex-col gap-2 py-4","data-testid":"baccarat-verification-tab",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:t,onInput:l=>_s(l??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:s,onInput:l=>Ns(l??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:a,onInput:l=>ks(l??"")})]})},AP={cardDeal:360,cardDealStagger:180,cardFlip:300,cardReturn:380,chipPop:220,chipPopStagger:30,chipClear:200,chipSettleHold:450,chipSweep:520,chipToss:460,winPulse:900},LP={cardDeal:0,cardDealStagger:0,cardFlip:0,cardReturn:0,chipPop:0,chipPopStagger:0,chipClear:0,chipSettleHold:0,chipSweep:0,chipToss:0,winPulse:0},Wi=t=>t?LP:AP,b2="back",MP=(t,s)=>`${t}-${s}`,BP=({openedDeck:t,semiclosed:s,wasSemiclosed:a,scheduledKeys:l,dealDelayMs:r,animationMs:i})=>{const o=new Map,d=l.size===0?r:0;for(const[u,c]of t.entries()){const x=MP(c,u);
116if(!l.has(x)){const p=a&&u===1;o.set(x,{kind:p?"flip":"deal",delayMs:d+o.size*i.cardDealStagger,durationMs:p?i.cardFlip:i.cardDeal})}}return s&&!l.has(b2)&&o.set(b2,{kind:"deal",delayMs:d+o.size*i.cardDealStagger,durationMs:i.cardDeal}),o},EP=t=>{let s=0;for(const a of t)s=Math.max(s,a.delayMs+a.durationMs);return s},bx=520,C2=360,RP=250,jc=()=>{var t;return typeof window<"u"&&!!((t=window.matchMedia)!=null&&t.call(window,"(prefers-reduced-motion: reduce)").matches)},TP="/assets/back-CalyV55d.svg",IP="/assets/backLogo-DUSlDNJw.svg",l5="#13161E",Gn="#FF5244",r5=({suit:t,className:s})=>{switch(t){case"h":return e.jsx("svg",{viewBox:"0 0 10 10",fill:"none",className:s,"aria-hidden":"true",children:e.jsx("path",{d:"M7.62253 1.58373C8.49544 2.09248 9.10961 3.1254 9.08253 4.3304C9.02503 6.87498 5.54169 8.74998 4.91669 8.74998C4.29169 8.74998 0.807945 6.87498 0.750862 4.3304C0.723778 3.1254 1.33794 2.0929 2.21086 1.58373C3.02753 1.10832 4.05336 1.1054 4.91669 1.80748C5.78003 1.1054 6.80586 1.1079 7.62253 1.58373Z",fill:Gn})});case"d":return e.jsx("svg",{viewBox:"0 0 10 10",fill:"none",className:s,"aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.59302 0.997092C4.65152 0.922963 4.72605 0.863054 4.81103 0.821865C4.89601 0.780676 4.98921 0.759277 5.08364 0.759277C5.17807 0.759277 5.27128 0.780676 5.35625 0.821865C5.44123 0.863054 5.51577 0.922963 5.5
1167427 0.997092L8.32552 4.48376C8.44157 4.63081 8.50469 4.81268 8.50469 5.00001C8.50469 5.18734 8.44157 5.36921 8.32552 5.51626L5.57427 9.00293C5.51577 9.07713 5.44121 9.13711 5.3562 9.17834C5.27118 9.21958 5.17792 9.24101 5.08343 9.24101C4.98895 9.24101 4.89569 9.21958 4.81067 9.17834C4.72566 9.13711 4.6511 9.07713 4.5926 9.00293L1.84177 5.51668C1.72572 5.36962 1.6626 5.18776 1.6626 5.00043C1.6626 4.8131 1.72572 4.63123 1.84177 4.48418L4.59302 0.997509V0.997092Z",fill:Gn})});case"c":return e.jsx("svg",{viewBox:"0 0 10 10",fill:"none",className:s,"aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05156 7.75667C3.78154 7.86848 3.49101 7.92224 3.19886 7.91444C2.90671 7.90663 2.61947 7.83745 2.35581 7.71138C2.09214 7.58532 1.85795 7.40519 1.66845 7.18269C1.47895 6.9602 1.33838 6.70033 1.25588 6.41996C1.17338 6.1396 1.15078 5.84501 1.18957 5.55534C1.22836 5.26567 1.32766 4.9874 1.48102 4.73862C1.63438 4.48983 1.83837 4.2761 2.07973 4.1113C2.32109 3.94651 2.59443 3.83434 2.88197 3.78208C2.81511 3.47779 2.81735 3.16237 2.88852 2.85905C2.95969 2.55574 3.09799 2.27225 3.29323 2.02945C3.48846 1.78666 3.73567 1.59074 4.01665 1.45613C4.29762 1.32153 4.60521 1.25165 4.91676 1.25165C5.22832 1.25165 5.53591 1.32153 5.81688 1.45613C6.09786 1.59074 6.34506 1.78666 6.5403 2.02945C6.73554 2.27225 6.87383 2.55574 6.94501 2.85905C7.01618 3.16237 7.01842 3.47779 6.95156 3.78208C7.23978 3.83373 7.51389 3.94553 7.75602 4.11019C7.99815 4.27486 8.20287 4.4887 8.35682 4.73778C8.51078 4.98686 8.61052 5.26558 8.64955 5.55579C8.68858 5.846 8.66602 6.14117 8.58334 6.42207C8.50066 6.70297 8.35971 6.9633 8.16969 7.18609C7.97967 7.40887 7.74483 7.58912 7.48049 7.71508C7.21615 7.84103 6.92823 7.90987 6.6355 7.91711C6.34277 7.92435 6.0518 7.86982 5.78156 7.75708C5.87531 8.05833 5.98364 8.33 6.10697 8.53542C6.14495 8.59863 6.16547 8.6708 6.16644 8.74454C6.16741 8.81828 6.14878 8.89096 6.11247 8.95515C6.07616 9.01934 6.02346 9.07274 5.95976 9.1099C5.89606 9.14707 5.82364 9.16665 5.74989 9.16667H4.08322C4.00947 9.16665 3.93705 9.14707 3.87335 9.1099C3.80965 9.07274 3.75695 9.01934 3.72064 8.95515C3.68433 8.89096 3.6657 8.81828 3.66667 8.74454C3.66764 8.6708 3.68816 8.59863 3.72614 8.53542C3.84947 8.33 3.95781 8.05833 4.05156 7.75667Z",fill:l5})});default:return e.jsx("svg",{viewBox:"0 0 10 10",fill:"none",className:s,"aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.18178 7.87084C3.60261 7.99584 3.0172 7.86043 2.53428 7.54335C1.81011 7.06793 1.31095 6.18793 1.33428 5.16793C1.36511 3.82085 2.42511 2.64293 4.20428 1.60835C4.3697 1.5121 4.48303 1.43751 4.57553 1.37626C4.73053 1.27376 4.8897 1.16876 5.08345 1.16876C5.27678 1.16876 5.43636 1.27376 5.59136 1.37626C5.68386 1.4371 5.7972 1.5121 5.96261 1.60835C7.74178 2.6421 8.80178 3.82085 8.83261 5.16751C8.85595 6.18751 8.35678 7.06751 7.63261 7.54251C7.14928 7.86001 6.5647 7.99501 5.98511 7.87001C6.07095 8.12793 6.1672 8.35751 6.27428 8.53501C6.31239 8.59827 6.33299 8.67051 6.334 8.74435C6.335 8.81819 6.31636 8.89097 6.27999 8.95524C6.24362 9.01951 6.19082 9.07295 6.127 9.11011C6.06318 9.14726 5.99063 9.16678 5.91678 9.16668H4.25011C4.17637 9.16666 4.10394 9.14708 4.04024 9.10992C3.97654 9.07275 3.92384 9.01935 3.88753 8.95516C3.85122 8.89097 3.8326 8.81829 3.83356 8.74455C3.83453 8.67081 3.85505 8.59865 3.89303 8.53543C3.9997 8.35751 4.09595 8.12876 4.18178 7.87084Z",fill:l5})})}},FP=({className:t})=>e.jsxs("svg",{viewBox:"0 0 21 20",fill:"none",className:t,"aria-hidden":"true",children:[e.jsx("path",{d:"M6.01944 3.75658C4.79337 3.77912 4.08784 3.88287 3.61019 4.36052C3 4.97071 3 5.9528 3 7.91699V12.0837C3 14.0478 3 15.0299 3.61019 15.6401C4.08784 16.1178 4.79336 16.2215 6.01944 16.2441C6.01941 16.2439 6.01946 16.2443 6.01944 16.2441C5.91664 15.4795 5.91661 14.5241 5.91667 13.416V6.58472C5.91661 5.47662 5.91665 4.52115 6.01944 3.75658C6.01947 3.75635 6.01941 3.75681 6.01944 3.75658Z",fill:"#73DA69"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.89874 2.3989C7.1665 3.13113 7.1665 4.30964 7.1665 6.66667V13.3333C7.1665 15.6904 7.1665 16.8689 7.89874 17.6011C8.63097 18.3333 9.80948 18.3333 12.1665 18.3333H12.9998C15.3569 18.3333 16.5354 18.3333 17.2676 17.6011C17.9998 16.8689 17.9998 15.6904 17.9998 13.3333V6.66667C17.9998 4.30964 17.9998 3.13113 17.2676 2.3989C16.5354 1.66667 15.3569 1.66667 12.9998 1.66667H12.1665C9.80948 1.66667 8.63097 1.66667 7.89874 2.3989ZM13.0251 6.22472C12.781 5.98065 12.3853 5.98065 12.1412 6.22472L10.0579 8.30806C9.81382 8.5
1165214 9.81382 8.94786 10.0579 9.19194C10.302 9.43602 10.6977 9.43602 10.9418 9.19194L11.9582 8.17555V13.3333C11.9582 13.6785 12.238 13.9583 12.5832 13.9583C12.9283 13.9583 13.2082 13.6785 13.2082 13.3333V8.17555L14.2246 9.19194C14.4686 9.43602 14.8644 9.43602 15.1084 9.19194C15.3525 8.94786 15.3525 8.55214 15.1084 8.30806L13.0251 6.22472Z",fill:"#73DA69"})]}),OP=({className:t})=>e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",className:t,"aria-hidden":"true",children:[e.jsx("path",{d:"M3.67807 14.8828C3.97619 14.709 4.35963 14.8094 4.53354 15.1074C5.22256 16.289 6.27561 17.1829 7.57456 17.7627C7.88956 17.9034 8.03131 18.2728 7.89097 18.5879C7.75036 18.903 7.38087 19.0446 7.06577 18.9043C5.5562 18.2306 4.28926 17.1705 3.45347 15.7373C3.27976 15.4393 3.38019 15.0568 3.67807 14.8828Z",fill:Gn}),e.jsx("path",{d:"M8.09897 2.56739C8.62675 2.26587 9.14696 2.45122 9.32554 2.75685L12.1761 7.64552C12.3848 8.00344 12.2905 8.45531 12.016 8.76564C11.0338 9.87558 10.7264 11.4459 11.4867 12.75C11.6606 13.0482 12.044 13.1495 12.3421 12.9756C12.64 12.8016 12.7406 12.4182 12.5667 12.1201C12.0044 11.1551 12.3978 9.73451 13.683 9.00001C13.8276 8.91728 13.9338 8.78011 13.9769 8.61915C14.0198 8.45833 13.9973 8.28639 13.9134 8.14259L12.5101 5.73732C12.3349 5.43672 12.4274 4.90612 12.9535 4.60548C13.4814 4.30396 14.0016 4.48917 14.18 4.79493L16.2845 8.40431C17.6221 10.6981 16.6253 13.8995 13.8216 15.502C11.016 17.1054 7.70749 16.3595 6.36655 14.0606L3.20932 8.6465C3.03416 8.3459 3.12664 7.8153 3.65268 7.51466C4.18052 7.21325 4.70084 7.39936 4.87925 7.70509L6.28159 10.1104C6.45547 10.4085 6.83888 10.5098 7.13706 10.3359C7.43487 10.162 7.5353 9.77948 7.36167 9.48146L4.20444 4.06739C4.02928 3.76681 4.12182 3.23621 4.6478 2.93556C5.17573 2.63395 5.69593 2.82021 5.87436 3.12599L8.681 7.93751C8.85489 8.23569 9.23732 8.33698 9.5355 8.1631C9.8335 7.9892 9.93384 7.60671 9.76011 7.3086L7.65561 3.69923C7.48045 3.39864 7.57295 2.86804 8.09897 2.56739Z",fill:Gn}),e.jsx("path",{d:"M12.1839 1.22071C13.7987 0.761417 15.4787 1.19994 16.6478 2.39357C16.8892 2.64019 16.8856 3.03685 16.639 3.27833C16.3924 3.51957 15.9967 3.51501 15.7552 3.26857C14.9104 2.40572 13.7053 2.08732 12.5257 2.42286C12.1938 2.51731 11.8478 2.32503 11.7533 1.99317C11.6588 1.66118 11.8519 1.31518 12.1839 1.22071Z",fill:Gn})]}),DP=({className:t})=>e.jsxs("svg",{viewBox:"0 0 17 16",fill:"none",className:t,"aria-hidden":"true",children:[e.jsx("path",{d:"M15.4689 1.08301L9.43557 0.0191634C8.75698 -0.100493 8.10986 0.352632 7.9902 1.03123L7.93311 1.35507C8.80564 1.46257 9.54279 2.09113 9.77489 2.95723L10.1436 4.33332C10.3388 4.24866 10.5601 4.21816 10.7854 4.25788C11.2128 4.33326 11.5407 4.64085 11.6629 5.02794C11.91 4.70598 12.3234 4.52907 12.7508 4.60444C13.3625 4.71232 13.771 5.29566 13.6631 5.90738C13.4287 7.23657 12.0024 8.30491 11.3255 8.74432L12.3589 12.6013C12.4144 12.808 12.4374 13.0159 12.4324 13.2197L13.3019 13.373C13.9804 13.4927 14.6276 13.0396 14.7472 12.361L16.481 2.52844C16.6007 1.84979 16.1475 1.20266 15.4689 1.08301Z",fill:"#7086FF"}),e.jsx("path",{d:"M8.87085 3.19937C8.72148 2.64193 8.21738 2.27427 7.66648 2.27431C7.5596 2.27431 7.45092 2.28815 7.34276 2.31712L1.42507 3.90274C0.759478 4.08109 0.364478 4.76524 0.542822 5.43084L3.12692 15.0749C3.27629 15.6323 3.78038 15.9999 4.33129 15.9999C4.43817 15.9999 4.54685 15.9861 4.65498 15.9571L10.5727 14.3715C11.2383 14.1931 11.6333 13.509 11.4549 12.8434L8.87085 3.19937ZM4.26595 9.79159C4.1656 9.70331 4.12813 9.5634 4.17088 9.43681L5.07576 6.75749C5.15145 6.53337 5.43088 6.45849 5.60851 6.61474L7.73182 8.48268C7.83217 8.57096 7.86963 8.71087 7.82688 8.83746L6.92201 11.5168C6.84632 11.7409 6.56688 11.8158 6.38926 11.6595L4.26595 9.79159Z",fill:"#7086FF"})]}),$P=({className:t})=>e.jsxs("svg",{viewBox:"0 0 18 18",fill:"none",className:t,"aria-hidden":"true",children:[e.jsx("path",{d:"M17.3331 6.08333C17.3331 8.8 15.3331 11.0417 12.7331 11.4333V11.3833C12.4748 8.15 9.84976 5.525 6.59141 5.26667H6.56641C6.95807 2.66667 9.19976 0.666666 11.9164 0.666666C14.9081 0.666666 17.3331 3.09167 17.3331 6.08333Z",fill:"#FBB63F"}),e.jsx("path",{d:"M11.4832 11.4833C11.2748 8.84167 9.15817 6.725 6.5165 6.51667C6.37484 6.50833 6.22484 6.5 6.08317 6.5C3.0915 6.5 0.666504 8.925 0.666504 11.9167C0.666504 14.9083 3.0915 17.3333 6.08317 17.3333C9.07484 17.3333 11.4998 14.9083 11.4998 11.9167C11.4998 11.775 11.4915 11.625 11.4832 11.4833ZM6.8165 12.65L6.08317 14L5.34984 12.65L3.99984 11.9167L5.34984 11.1833L6.08317 9.83333L6.8165 11.1833L8.1665 11.9167L6.8165 12.65Z",fill:"#FBB63F"})]}),Cx=({className:t})=>
116e.jsxs("svg",{viewBox:"0 0 40 43",fill:"currentColor",className:t,"aria-hidden":"true",children:[e.jsx("path",{d:"M40 23C40 34.0457 31.0457 43 20 43C8.9543 43 0 34.0457 0 23C0 11.9543 8.9543 3 20 3C31.0457 3 40 11.9543 40 23Z",style:{fill:"var(--bottom-chip-color)"}}),e.jsx("path",{d:"M40 22C40 33.0457 31.0457 42 20 42C8.9543 42 0 33.0457 0 22C0 10.9543 8.9543 2 20 2C31.0457 2 40 10.9543 40 22Z",style:{fill:"var(--middle-chip-color)"}}),e.jsx("path",{d:"M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457 0 40 8.9543 40 20Z",style:{fill:"var(--top-chip-color)"}}),e.jsx("path",{d:"M10.0947 5.85501C10.5759 5.54879 11.2276 5.67119 11.5498 6.12854C11.8718 6.58598 11.7422 7.20554 11.261 7.51176C9.54581 8.60345 8.06865 10.0076 6.92023 11.638C6.59806 12.0953 5.94628 12.2186 5.4651 11.9125C4.98407 11.6063 4.85533 10.9867 5.17736 10.5293C6.47839 8.68209 8.15142 7.09177 10.0947 5.85501ZM28.4501 6.12854C28.7723 5.67115 29.424 5.54891 29.9053 5.85501C31.8485 7.09176 33.5215 8.68208 34.8226 10.5293C35.1447 10.9868 35.0161 11.6063 34.5348 11.9125C34.0536 12.2185 33.4018 12.0954 33.0797 11.638C31.9312 10.0076 30.4542 8.60344 28.7389 7.51176C28.2579 7.20552 28.1282 6.5859 28.4501 6.12854ZM20 3C21.189 3 22.352 3.11059 23.4775 3.3222C24.0456 3.42903 24.4153 3.95415 24.3029 4.49419C24.1903 5.03393 23.6389 5.38452 23.071 5.27778C22.0787 5.0912 21.0517 4.99355 20 4.99355C18.9483 4.99356 17.9212 5.09118 16.9289 5.27778C16.3611 5.38436 15.8096 5.03387 15.6971 4.49419C15.5847 3.95425 15.9545 3.42915 16.5224 3.3222C17.6479 3.11057 18.811 3.00002 20 3Z",fill:"white",opacity:"0.4"}),e.jsx("path",{d:"M29.9053 34.145C29.4241 34.4512 28.7724 34.3288 28.4502 33.8715C28.1282 33.414 28.2578 32.7945 28.739 32.4882C30.4542 31.3966 31.9314 29.9924 33.0798 28.362C33.4019 27.9047 34.0537 27.7814 34.5349 28.0875C35.0159 28.3937 35.1447 29.0133 34.8226 29.4707C33.5216 31.3179 31.8486 32.9082 29.9053 34.145ZM11.5499 33.8715C11.2277 34.3288 10.576 34.4511 10.0947 34.145C8.15145 32.9082 6.47849 31.3179 5.17743 29.4707C4.85526 29.0132 4.98395 28.3937 5.46518 28.0874C5.94638 27.7815 6.59821 27.9046 6.9203 28.3619C8.06876 29.9924 9.54585 31.3966 11.2611 32.4882C11.7421 32.7945 11.8718 33.4141 11.5499 33.8715ZM20 37C18.8111 37 17.648 36.8894 16.5225 36.6778C15.9544 36.571 15.5847 36.0458 15.6971 35.5058C15.8097 34.9661 16.3611 34.6155 16.929 34.7222C17.9213 34.9088 18.9483 35.0065 20 35.0065C21.0517 35.0064 22.0788 34.9088 23.0711 34.7222C23.6389 34.6156 24.1904 34.9661 24.3029 35.5058C24.4153 36.0457 24.0455 36.5709 23.4776 36.6778C22.3521 36.8894 21.189 37 20 37Z",fill:"white",opacity:"0.4"})]}),PP=({className:t,borderColor:s})=>e.jsxs("svg",{viewBox:"0 0 64 64",fill:"currentColor",className:t,"aria-hidden":"true",children:[e.jsx("path",{d:"M32 1C49.1208 1 63 14.8792 63 32C63 49.1208 49.1208 63 32 63C14.8792 63 1 49.1208 1 32C1 14.8792 14.8792 1 32 1Z",fill:"#292D3C"}),e.jsx("path",{d:"M32 1C49.1208 1 63 14.8792 63 32C63 49.1208 49.1208 63 32 63C14.8792 63 1 49.1208 1 32C1 14.8792 14.8792 1 32 1Z",stroke:s,strokeWidth:"2"}),e.jsx("path",{d:"M29.807 14.012C29.9118 14.0356 30.0389 14.095 30.1876 14.1812C30.3386 14.2687 30.5223 14.3887 30.7389 14.5466C33.0136 16.2066 33.3444 18.7672 33.5707 20.674C33.8216 22.7847 33.5439 24.7267 33.2524 26.1247C33.6673 25.959 34.0839 25.8048 34.4927 25.6612L34.5288 25.6476C34.2607 25.5235 34.0366 25.2941 33.9152 24.9879C33.6652 24.3546 33.9515 23.6261 34.5551 23.3638C34.6176 23.3367 34.6815 23.3148 34.7454 23.2995L34.4041 16.3703C34.4001 16.2893 34.4584 16.2192 34.5354 16.2146C34.6127 16.2104 34.679 16.2722 34.683 16.3533L35.0243 23.2691C35.4818 23.2765 35.9143 23.5653 36.1006 24.0371C36.2589 24.4392 36.2003 24.8803 35.9824 25.2146C38.2306 24.6481 41.2727 24.3528 43.7821 25.5867L44.2776 25.854L44.9043 26.2736C45.5156 26.7327 46.0743 27.3135 46.5581 28.0363C49.2255 32.0247 47.6964 34.5731 45.9477 36.8028C45.9477 36.8028 44.334 36.2888 41.8396 36.7622C41.7243 36.7841 41.6085 36.8126 41.4917 36.8434L40.865 37.043C39.4174 37.5799 38.0772 38.5498 38.0693 38.5554C38.0868 38.5497 39.5641 38.0714 41.052 37.7603L41.9577 37.5945C42.2515 37.5505 42.534 37.5197 42.7911 37.5066C44.7263 37.4085 45.6972 37.4883 46.2956 37.7163C46.8699 37.9371 47.0269 38.2907 46.7746 38.7957C46.1388 40.0799 44.6806 40.8008 43.1882 41.4077C43.3363 42.3844 43.3672 44.7225 42.5811 46.273C41.7815 47.8501 40.2849 49.698 37.7675 49.9678C36.6173 50.0914 35.1395 49.9046 32.0088 48.6042C31.7292 48.4881 31.4363 48.3632 31.1294 48.2287C28.7047 47.1651 26.0008 49.0571 25.1541 49.6497C24.9726 49.7768 24.8774 49.8438 24.8883 49.8087C25.6691 47.6601 26.4263 46.0937 28.0253 44.7471C29.2433 43.7218 30.4644 43.5463 31.8086 43.7253C32.1303 43.7681 32.4595 43.7942 32.7864 43.8065C32.6792 43.6007 32.5782 43.3891 32.4846 43.1772C32.2129 43.1692 31.9306 43.1609 31.638 43.1501C30.5314 43.1096 29.5586 42.8225 28.5503 42.5276L28.4453 42.5005C27.6993 43.2606 27.0728 43.6402 26.5913 43.7828C26.3069 43.867 26.0654 43.8701 25.8793 43.8133C25.6935 43.7561 25.5521 43.6311 25.5052 43.4614C25.4806 43.372 25.4883 43.2723 25.5085 43.1806C25.5294 43.0864 25.5658 42.9821 25.6102 42.8727C25.6891 42.6783 25.8021 42.4499 25.9219 42.2062L25.9548 42.1419C25.9336 42.1283 25.9105 42.1131 25.8859 42.0979L25.8629 42.0844L25.8465 42.0742L25.8334 42.0641C25.756 42.0156 25.6663 41.956 25.5643 41.8712C25.1729 41.8331 24.7604 41.8186 24.324 41.8306C23.8129 41.8461 22.0612 42.3781 21.7055 44.3546C21.5442 45.2484 21.4749 46.1364 21.4134 46.9227C21.3137 48.1989 21.2324 49.2125 20.813 49.5753C20.5557 49.7979 19.7944 48.8209 19.425 47.5757C19.2909 47.1248 19.2172 46.7198 19.1625 46.4185C19.0867 46.0012 19.0456 45.7796 18.9262 45.8907C17.4809 47.233 16.3535 47.9601 16.0485 47.3963C15.7563 46.8494 16.8337 44.4403 17.9582 42.9539C18.4726 42.2744 18.9914 41.8147 19.4381 41.4212C19.9937 40.9317 20.4359 40.5413 20.6161 39.946C21.0857 38.3881 21.6681 36.8929 22.3749 35.5002C22.3476 35.3225 22.3323 35.1403 22.3256 34.969C22.312 34.6152 22.3348 34.2875 22.365 34.0859C22.4409 33.5754 22.6013 32.9959 23.2083 32.1878C23.3068 32.0557 23.5627 31.7408 23.9007 31.3555C23.8789 31.346 23.8566 31.3353 23.835 31.325C23.4427 31.1362 23.1368 30.8363 22.9655 3
1160.4961C22.7943 30.1559 22.755 29.7688 22.9064 29.4235C23.2112 28.7293 24.1141 28.5478 24.8851 28.916C24.8981 28.9223 24.9116 28.9298 24.9244 28.9363C24.75 28.4245 24.8334 27.8683 25.2197 27.5457C25.7358 27.1154 26.5178 27.3314 26.9752 27.9315C27.0965 28.0914 27.1891 28.2706 27.2476 28.4525C27.3061 28.422 27.3633 28.3925 27.4182 28.3679C27.7472 28.2207 28.0392 28.1671 28.3009 28.2732C28.3985 28.3124 28.482 28.368 28.5536 28.439C28.6535 28.3762 28.7537 28.3134 28.8554 28.2529C29.5747 27.825 30.462 27.3626 31.4149 26.9198C31.1629 26.505 30.6942 25.9393 29.7545 24.9912C29.5665 24.8022 29.1637 24.5073 28.7111 24.1894C28.5777 24.0957 28.44 23.9996 28.3042 23.9052L27.4379 23.2894C27.3747 23.2424 27.3167 23.1887 27.2837 23.1236C27.2445 23.0462 27.2455 22.9622 27.287 22.8868C27.3211 22.8249 27.3758 22.78 27.4248 22.748C27.4766 22.7143 27.5395 22.6812 27.6053 22.6499C27.6484 22.6294 27.6952 22.6075 27.7431 22.5856C27.997 22.4697 28.3104 22.3263 28.5831 22.0849C29.1804 21.5559 29.797 20.6186 30.1581 19.5676C30.5196 18.5154 30.6175 17.375 30.2172 16.4345C30.1405 16.2543 30.0636 16.078 29.9908 15.9101C29.8852 15.6669 29.785 15.4389 29.702 15.2368C29.5635 14.8996 29.4564 14.6056 29.4329 14.4011C29.4218 14.304 29.4234 14.1793 29.4986 14.0898C29.5824 13.9902 29.7063 13.9895 29.807 14.012Z",fill:"#323A4C"})]}),Sa=4,D1=13,vc=74,wc=112,yc=({code:t,highlighted:s=!1,disabled:a=!1})=>{const l=ev(t.charAt(0)),r=t.charAt(1),i=sv(r)?"text-[#FF5244]":"text-[#13161E]",o=e.jsxs("div",{className:g("flex w-[16px] flex-col items-center",i),children:[e.jsx("span",{className:"text-[12px]/[18px] font-semibold",children:l}),e.jsx(r5,{suit:r,className:"size-2.5"})]});return e.jsxs("div",{"data-testid":"blackjack-card","data-card":t,className:g("relative flex h-[84px] w-[56px] flex-col justify-between overflow-hidden rounded-[8px] bg-white",a&&"opacity-50",s&&"ring-2 ring-green-500 ring-offset-1"),style:{filter:"drop-shadow(0 0.605px 1.816px rgba(0,0,0,0.25))"},children:[e.jsxs("div",{className:"pointer-events-none absolute inset-[4px] z-10 border-2 border-[#E7E8E8]",children:[e.jsx("span",{className:"absolute -bottom-[5px] -left-[5px] size-[10px] rounded-full border-2 border-white bg-[#E7E8E8]"}),e.jsx("span",{className:"absolute -right-[5px] -top-[5px] size-[10px] rounded-full border-2 border-white bg-[#E7E8E8]"})]}),e.jsx("div",{className:"z-10 p-1",children:o}),e.jsx(r5,{suit:r,className:"z-10 mx-auto size-4"}),e.jsx("div",{className:"z-10 rotate-180 p-1",children:o})]})},_c=()=>e.jsxs("div",{className:"relative flex h-[84px] w-[56px] flex-col justify-between overflow-hidden rounded-[8px] bg-white",style:{filter:"drop-shadow(0 0.8px 2.4px rgba(0,0,0,0.25))"},children:[e.jsx("img",{src:TP,alt:"","aria-hidden":"true",className:"absolute inset-0 size-full"}),e.jsx("img",{src:IP,alt:"","aria-hidden":"true",className:"absolute left-1/2 top-1/2 size-[32px] -translate-x-1/2 -translate-y-1/2"})]}),jx=({total:t,active:s=!1,inQueue:a=!1})=>{const{label:l,bust:r}=tv(t),i=s?"bg-[#73DA69] text-[#13161E]":r?"bg-[#513E4B] text-[#FF5244]":"bg-[#323A4C] text-white";return e.jsx("div",{"data-testid":"blackjack-card-badge",className:g("flex w-fit overflow-hidden px-1.5 text-[1rem]/[20px]",i,a?"rounded-t-[6px]":"rounded-[6px]"),children:l})},HP=({count:t,active:s=!1})=>{const l=C(He.$betCurrency)===U.WHALE;return e.jsxs("div",{className:g("flex w-fit items-center rounded-xs px-1",s?"bg-[#73DA69] text-black-50":"bg-stream-sub-highlight-color text-white"),children:[e.jsx("span",{className:"px-0.5 text-base",children:t}),l?e.jsx(Gt,{className:g("size-[16px]",s&&"text-black-50")}):e.jsx(ln,{className:g("size-[16px]",s&&"text-black-50")})]})},i5=t=>({animationDuration:`${t.durationMs}ms`,animationDelay:`${t.delayMs}ms`}),Wr=(t,s)=>{const a=m.useRef(null);return m.useLayoutEffect(()=>{const l=a.current,r=t==null?void 0:t.current;if(!l||!r)return;const i=l.getBoundingClientRect(),o=r.getBoundingClientRect();l.style.setProperty("--deal-dx",`${o.left+o.width/2-(i.left+i.width/2)}px`),l.style.setProperty("--deal-dy",`${o.top+o.height/2-(i.top+i.height/2)}px`)},[t,s]),a},j2=({deck:t,total:s,semiclosed:a=!1,isWon:l=!1,dealDelayMs:r=0,deckRef:i,animated:o=!0,onDealScheduled:d})=>{const u=C(He.$isTurboMode),c=Wi(u),x=m.useRef(new Map),p=m.useRef(!1),f=m.useRef(0),h=Wr(i,t.length);if(m.useLayoutEffect(()=>{d==null||d(performance.now()+f.current),f.current=0}),!t.length)return x.current.clear(),p.current=!1,null;const b=x.current,v=a?t.slice(0,1):t,j=(t.length-1)*D1+vc,y=(t.length-1)*Sa+wc;if(o){const k=BP({openedDeck:v,semiclosed:a,wasSemiclosed:p.current,scheduledKeys:new Set(b.keys()),dealDelayMs:r,animationMs:c});for(const[w,S]of k)b.set(w,S);
116f.current=Math.max(f.current,EP(k.values()))}p.current=a;const N=b.get(b2);return e.jsxs("div",{ref:h,className:"relative",style:{width:j,height:y},"data-testid":"blackjack-hand",children:[v.map((k,w)=>{const S=`${k}-${w}`,M=b.get(S);return e.jsx("div",{className:g("absolute",M&&(M.kind==="flip"?"blackjack-card-flip-in":"blackjack-card-deal-in")),style:{top:w*Sa,left:w*D1,zIndex:w,...M?i5(M):{}},children:e.jsx(yc,{code:k,highlighted:l})},S)}),a?e.jsx("div",{className:g("absolute",N&&"blackjack-card-deal-in"),style:{top:Sa,left:D1,zIndex:1,...N?i5(N):{}},children:e.jsx(_c,{})}):null,s?e.jsx("div",{className:"absolute left-0 top-[80px] z-drawer-buttons",children:e.jsx(jx,{total:s,active:l})}):null]})},o5=({deck:t,semiclosed:s=!1,deckRef:a,durationMs:l,staggerMs:r,baseDelayMs:i=0})=>{const o=Wr(a,t.length);if(!t.length)return null;const d=s?t.slice(0,1):t,u=(t.length-1)*D1+vc,c=(t.length-1)*Sa+wc;return e.jsxs("div",{ref:o,className:"relative",style:{width:u,height:c},"data-testid":"blackjack-hand-exit",children:[d.map((x,p)=>e.jsx("div",{className:"blackjack-card-return absolute",style:{top:p*Sa,left:p*D1,zIndex:p,animationDuration:`${l}ms`,animationDelay:`${i+p*r}ms`},children:e.jsx(yc,{code:x})},`${x}-${p}`)),s?e.jsx("div",{className:"blackjack-card-return absolute",style:{top:Sa,left:D1,zIndex:1,animationDuration:`${l}ms`,animationDelay:`${i}ms`},children:e.jsx(_c,{})}):null]})},UP=({count:t=5})=>{const s=(t-1)*Sa+wc;return e.jsx("div",{className:"relative",style:{width:vc,height:s},"data-testid":"blackjack-deck",children:Array.from({length:t},(a,l)=>e.jsx("div",{className:"absolute",style:{top:l*Sa,left:0,zIndex:t-l},children:e.jsx(_c,{})},l))})},VP=()=>{const[t,s,a,l,r]=C([He.$gameConfig,Hs,vs,ws,ys]),i=t,{deckCards:o,error:d}=m.useMemo(()=>{if(!s)return{deckCards:[],error:null};try{return{deckCards:av(s,i).deckCards,error:null}}catch(u){return{deckCards:[],error:u instanceof Error?u.message:String(u)}}},[s,i]);return e.jsxs("div",{"data-testid":"blackjack-verification-tab","data-deck-size":o.length,children:[o.length?e.jsx("div",{className:"relative flex w-full flex-wrap pb-12 pr-8 pt-4",children:o.map((u,c)=>e.jsx("div",{className:"relative h-[32px] w-[16px]",children:e.jsx("div",{className:"absolute h-[84px] w-[56px]",style:{zIndex:c},children:e.jsx(yc,{code:u})})},c))}):null,e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:u=>_s(u??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:u=>Ns(u??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:u=>ks(u??"")}),d?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:d}):null]})]})},zP=()=>{const[t,s,a,l,r,i,o,d]=C([ea.$gameConfig,ea.$metrics,ea.$multipliers,Hs,vs,ws,ys,w7]),u=t,c=Number((s==null?void 0:s.defaultRtp)??97),{multiplier:x,error:p}=m.useMemo(()=>{var f;if(!u||!l||!a)return{multiplier:null,error:null};try{const{fatalTick:h}=nv(l,u,c);return{multiplier:Number(((f=a[String(h)])==null?void 0:f.multiplier)??0),error:null}}catch(h){return{multiplier:null,error:h instanceof Error?h.message:String(h)}}},[u,l,a,c]);return e.jsxs("div",{"data-testid":"crash-verification-tab","data-crash-multiplier":x??"",children:[e.jsx("div",{className:"relative w-full overflow-hidden",children:e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-2 py-6 md:py-8",children:[e.jsx("span",{className:"text-sm font-bold text-brandblue-100",children:n("games.crash.crashed_at")}),e.jsx("span",{className:"text-[48px] font-bold text-white","data-testid":"crash-verified-multiplier",children:x===null?n("global_na"):`${x}x`})]})}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx(ne,{name:"verify-round",testId:"verify-round",label:n("global_round"),value:d,disabled:!0}),e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:r,onInput:f=>_s(f??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:i,onInput:f=>Ns(f??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:o,onInput:f=>ks(f??"")}),p?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:p}):null]})]})},Zt=({currency:t,className:s})=>t===U.WHALE?e.jsx(Gt,{className:g("size-6 text-brandblue-100",s)}):e.jsx(ln,{className:g("size-6 text-brandblue-100",s)}),GP=(t,s)=>s<=1?"crock-anim-slide-up":t===s-1?"crock-anim-slide-in":t===0?"crock-anim-slide-out":"crock-anim-slide-up",ZP=({result:t,index:s,count:a})=>{const l=t.multiplier>0,r=rv(y7(X1(t.betAmount,t.multiplier),t.betAmount),2);return e.jsxs("div",{"data-testid":"crock-autoplay-result","data-result":l?"win":"lose",className:g("flex h-10 items-center justify-between rounded-lg p-4 shadow-lg",l?"bg-gradient-success text-green-500":"bg-gradient-error text-red-500",GP(s,a)),children:[e.jsx("span",{className:"text-sm",children:l?`${n("global_win")} ${t.multiplier}x`:n("games.mines.result.unlucky")}),e.jsxs("div",{className:"flex flex-row items-center justify-center gap-2",children:[e.jsx(Zt,{currency:t.betCurrency,className:g("size-6",l?"text-green-500":"text-red-500")}),e.jsx("span",{className:"text-sm",children:`${r>=0?"+":""}${r}`})]})]})},WP=()=>{const[t,s]=C([Ue.$gameplayMode,lv]);if(t!==Bt.AUTOPLAY)return null;const a=s.slice(-4);return e.jsx("div",{className:"absolute right-0 top-0 z-10 flex w-[220px] flex-col gap-2 p-2.5 opacity-90","data-testid":"crock-autoplay-results",children:a.map((l,r)=>e.jsx(ZP,{result:l,index:r,count:a.length},`${s.length}-${r}`))})},KP=()=>{const t=m.useId().replace(/:/g,""),s=`filter0_i_${t}`,a=`filter1_diii_${t}`,l=`paint0_radial_${t}`;return e.jsxs("svg",{width:"22",height:"25",viewBox:"0 0 22 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("g",{filter:`url(#${s})`,children:e.jsx("rect",{x:"0.863647",y:"19",width:"20",height:"3",rx:"1.5",fill:"#010101"})}),e.jsxs("g",{filter:`url(#${a})`,children:[e.jsx("path",{d:"M2.86365 10C2.86365 5.58172 6.44537 2 10.8636 2C15.2819 2 18.8636 5.58172 18.8636 10V20C18.8636 20.5523 18.4159 21 17.8636 21H3.86365C3.31136 21 2.86365 20.5523 2.86365 20V10Z",fill:"#A5B5BC"}),e.jsx("path",{d:"M2.86365 10C2.86365 5.58172 6.44537 2 10.8636 2C15.2819 2 18.8636 5.58172 18.8636 10V20C18.8636 20.5523 18.4159 21 17.8636 21H3.86365C3.31136 21 2.86365 20.5523 2.86365 20V10Z",fill:`url(#${l})`})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:s,x:"0.863647",y:"19",width:"20",height:"3",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"Backgroun
116dImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.909091"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.268722 0 0 0 0 0.312995 0 0 0 0 0.479023 0 0 0 1 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow"})]}),e.jsxs("filter",{id:a,x:"0.238647",y:"0.6875",width:"21.25",height:"24.25",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"1.3125"}),e.jsx("feGaussianBlur",{stdDeviation:"1.3125"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}),e.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{}),e.jsx("feGaussianBlur",{stdDeviation:"0.492188"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect2_innerShadow"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{}),e.jsx("feGaussianBlur",{stdDeviation:"0.328125"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),e.jsx("feBlend",{mode:"normal",in2:"effect2_innerShadow",result:"effect3_innerShadow"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dx:"-1.3125",dy:"3.28125"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"normal",in2:"effect3_innerShadow",result:"effect4_innerShadow"})]}),e.jsxs("radialGradient",{id:l,cx:"0",cy:"0",r:"1",gradientTransform:"matrix(-0.156863 14.0741 -11.8519 -0.166152 11.0205 6.92593)",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})]})]})},qP=()=>{const[t,s,a]=C([Ue.$multipliers,_7,Ue.$roundResult]),l=m.useRef(null),r=m.useMemo(()=>Object.entries(t??{}).map(([c,x])=>({teeth:Number(c),multiplier:Number(x.multiplier)})).filter(({teeth:c})=>c>0).sort((c,x)=>c.teeth-x.teeth),[t]),i=s.length,o=(a==null?void 0:a.multiplier)==="0";if(m.useEffect(()=>{var c,x;(x=(c=l.current)==null?void 0:c.querySelector(`[data-teeth="${i>0?i:1}"]`))==null||x.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[i]),!r.length)return null;const d=i>1,u=r.length-1>i;return e.jsxs("div",{className:"relative w-full overflow-hidden rounded-md md:rounded-lg","data-testid":"crock-multipliers",children:[d?e.jsx("div",{className:"pointer-events-none absolute left-0 top-0 z-[1] h-full w-36 bg-gradient-to-r from-[#292d3c] to-transparent"}):null,u?e.jsx("div",{className:"pointer-events-none absolute right-0 top-0 z-[1] h-full w-36 bg-gradient-to-l from-[#292d3c] to-transparent"}):null,e.jsx("div",{ref:l,className:"crock-multipliers-scroll h-[80px] md:h-[88px]",children:e.jsx("div",{className:"flex min-w-max flex-row",children:r.map(({teeth:c,multiplier:x})=>{const p=c===i,f=p&&o;return e.jsxs("div",{"data-teeth":c,"data-testid":"crock-multiplier-item","data-selected":p,className:"crock-multipliers-item flex min-w-[70px] flex-1 shrink-0 flex-col gap-2 overflow-hidden",children:[e.jsxs("div",{className:g("flex h-9 items-center justify-center overflow-hidden border-x border-[#1f232d] px-1 py-1 text-center text-sm font-medium md:h-10 md:py-2","first:rounded-l-xl last:rounded-r-xl",f?"bg-[#e03131] text-black":p?"bg-[#73da69] text-black":"bg-[#292d3c] text-[#9092b2]"),children:[u1(x),"x"]}),e.jsxs("div",{className:g("flex h-9 items-center justify-center gap-1 overflow-hidden px-1 py-1 text-center text-sm font-medium md:h-10 md:py-2",f?"bg-[#49333d] text-[#9092b2]":p?"bg-[#303e40] text-[#9092b2]":"bg-[#292d3c] text-[#9092b2]"),children:[e.jsx(KP,{}),c]})]},c)})})})]})},YP=()=>{const[t,s]=C([Ue.$roundResult,Ue.$gameplayMode]);if(!t||t.roundClosed!==!0||s===Bt.AUTOPLAY)return null;const a=t.winAmount>0,l=t.betCurrency??U.USDT,r=()=>void Ue.placeBetFx();return e.jsx("div",{className:"crock-result-overlay absolute left-0 top-0 z-[1] flex min-h-full min-w-full items-center justify-center rounded-t-xl bg-[rgba(26,30,39,0.8)] p-2 md:rounded-l-none md:rounded-r-xl","data-testid":"crock-result-card","data-result":a?"win":"lose",children:a?e.jsx("div",{className:"crock-success flex min-w-[240px] flex-col items-center justify-center",children:e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-2 text-center",children:[e.jsx("div",{className:"p-5 text-4xl font-bold leading-3 text-green-500",children:t.isConstrained?e.jsxs("span",{className:"flex flex-col items-center justify-center",children:[e.jsxs("span",{className:"text-2xl font-bold",children:["ð ",n("global_congratulations")," ð"]}),e.jsx("span",{className:"text-sm",children:n("global_win_constrained")})]}):`x${t.multiplier}`}),e.jsxs("div",{className:"flex flex-row items-center justify-between gap-x-2 text-2xl font-bold text-green-500",children:[e.jsx(Zt,{currency:l,className:"size-5 text-green-500"}),e.jsx("span",{"data-testid":"crock-win-amount",children:l===U.WHALE?t.winAmount:t.winAmountInUsd})]}),t.isConstrained?e.jsx(Z,{variant:"Link",height:"small",className:"mt-4 bg-green/20 text-green hover:bg-green/20",testId:"crock-play-again",onClick:r,children:n("games.mines.result.play_again")}):null]})}):e.jsx("div",{className:"crock-lose flex flex-col items-center justify-center",children:e.jsxs("div",{className:"crock-lose-title flex flex-col items-center justify-center gap-y-4 p-2 text-center",children:[e.jsx("div",{className:"mb-2 flex flex-col text-4xl font-bold leading-tight",children:n("games.mines.result.unlucky")}),e.jsxs("div",{className:"flex w-full flex-col p-4 text-sm font-semibold leading-tight",children:[n("games.mines.result.better_luck_next_time"),e.jsx(Z,{variant:"Link",height:"small",className:"mt-4 border border-solid border-brand-tertiary bg-[#ff6659]/10 text-[#ff6659]",testId:"crock-play-again",onClick:r,children:n("games.mines.result.play_again")})]})]})})})},c5=[{left:40,top:0,zIndex:1},{left:27,top:42,zIndex:2},{left:11,top:85,zIndex:3},{left:9,top:126,zIndex:4},{left:45,top:153,zIndex:5},{left:95,top:160,zIndex:6},{right:95,top:160,zIndex:6},{right:45,top:153,zIndex:5},{right:9,top:126,zIndex:4}
116,{right:11,top:85,zIndex:3},{right:27,top:42,zIndex:2},{right:40,top:0,zIndex:1}],vx=({index:t,cellType:s,disabled:a=!1,readOnly:l=!1,onSelect:r,onHoverStart:i,onHoverEnd:o})=>{const d=iv(s),u=ov(s),c=a||s==="selected",x=g("crock-tooth-wrapper",u&&"down",d&&"mined",c&&"disabled");return l?e.jsx("div",{className:x,style:c5[t],"data-testid":"crock-tooth","data-cell-type":s,children:e.jsx("div",{className:"crock-tooth-shape",children:e.jsx("div",{className:"crock-tooth-pf"})})}):e.jsx("button",{type:"button","aria-label":`Tooth ${t+1}`,"data-testid":"crock-tooth","data-cell-type":s,disabled:c,className:x,style:c5[t],onClick:r,onMouseEnter:i,onMouseLeave:o,children:e.jsx("div",{className:"crock-tooth-shape",children:e.jsxs("div",{className:"crock-tooth",children:[e.jsx("div",{className:"crock-tooth-background"}),e.jsx("div",{className:g("crock-tooth-foreground",s==="autoPlaySelected"&&"border-4 border-yellow")})]})})})},XP=`<svg width="377" height="534" viewBox="0 0 377 534" fill="none" xmlns="http://www.w3.org/2000/svg"> 117 <g filter="url(#filter0_d_6984_19390)"> 118 <g filter="url(#filter1_d_6984_19390)"> 119 <g filter="url(#filter2_iii_6984_19390)"> 120 <path 121 d="M342.068 365.632C341.221 359.848 340.233 354.259 339.067 348.576C335.118 328.201 327.578 308.043 320.286 288.547C318.459 283.672 316.578 278.627 314.798 273.714C312.753 268.366 311.525 264.277 310.817 260.421C309.535 252.095 308.314 243.482 307.14 235.148C306.503 230.624 305.865 226.099 305.212 221.591L305.15 221.155L302.017 216.483C294.726 205.6 283.982 197.912 271.762 194.833C267.595 193.784 263.296 193.247 258.997 193.247H118.221C113.922 193.247 109.623 193.776 105.457 194.833C93.2361 197.912 82.4927 205.608 75.2008 216.483L72.068 221.155L72.0058 221.591C71.3528 226.099 70.7154 230.624 70.0779 235.148C68.9041 243.482 67.6913 252.095 66.4009 260.421C65.6935 264.277 64.4652 268.366 62.4207 273.714C60.6405 278.627 58.7592 283.672 56.9324 288.547C49.6405 308.043 42.0999 328.201 38.1508 348.576C36.9848 354.251 35.9975 359.84 35.1502 365.632C34.5671 369.184 34.0851 373.079 34.5438 377.502C38.4929 413.184 99.2686 423.772 130.885 424.378C141.053 424.394 150.848 424.402 159.399 424.402C175.094 424.402 186.809 424.386 188.597 424.378C190.385 424.378 202.108 424.402 217.796 424.402C226.347 424.402 236.15 424.402 246.31 424.378C277.926 423.764 338.702 413.176 342.651 377.502C343.11 373.079 342.628 369.184 342.045 365.632H342.068Z" 122 fill="#B01C1F" 123 /> 124 </g> 125 <g filter="url(#filter3_i_6984_19390)"> 126 <path 127 d="M302.993 204.333C298.003 175.072 266.387 167.392 244.892 167.392H131.868C110.374 167.392 78.7578 175.072 73.767 204.333L70.8984 226.061L76.5889 217.564C83.4454 207.318 93.7457 199.731 105.702 196.714C109.682 195.712 113.81 195.191 117.992 195.191H258.768C262.951 195.191 267.078 195.712 271.059 196.714C283.015 199.731 293.307 207.318 300.172 217.564L305.862 226.061L302.993 204.333Z" 128 fill="url(#paint0_radial_6984_19390)" 129 /> 130 </g> 131 <g filter="url(#filter4_i_6984_19390)"> 132 <path 133 d="M347.841 367.225L345.54 367C345.548 367.078 345.563 367.148 345.571 367.225C345.983 369.729 346.177 372.138 346.177 374.455C346.177 419.108 273.453 430.419 241.464 430.419H135.826C103.836 430.419 31.1123 419.108 31.1123 374.455C31.1123 372.138 31.3067 369.729 31.7187 367.225C31.7265 367.148 31.742 367.078 31.7498 367L29.4487 367.225C29.4487 367.225 25.8261 380.083 30.6537 402.029C35.4812 423.982 46.4578 447.024 75.8662 457.34C105.282 467.655 150.611 470.508 188.649 470.508C226.686 470.508 272.015 467.655 301.431 457.34C330.84 447.024 341.816 423.982 346.644 402.029C351.471 380.083 347.849 367.225 347.849 367.225H347.841Z" 134 fill="url(#paint1_radial_6984_19390)" 135 /> 136 </g> 137 <g filter="url(#filter5_dii_6984_19390)"> 138 <path 139 d="M347.841 367.225C344.762 346.57 339.429 326.327 331.92 306.846L317.461 269.299C315.867 265.171 314.732 260.887 314.064 256.511L306.08 204.333C301.089 175.072 269.473 167.392 247.978 167.392H129.311C107.816 167.392 76.2004 175.072 71.2096 204.333L63.2259 256.511C62.5573 260.887 61.4223 265.171 59.8287 269.299L45.3694 306.846C37.8599 326.327 32.5271 346.57 29.4486 367.225C29.0366 369.728 28.8423 372.138 28.8423 374.455C28.8423 419.108 101.566 430.419 133.556 430.419H243.734C275.723 430.419 348.447 419.108 348.447 374.455C348.447 372.138 348.253 369.728 347.841 367.225ZM340.767 377.292C336.895 412.259 274.821 421.891 246.354 422.443C215.663 422.489 188.641 422.443 188.641 422.443C188.641 422.443 161.619 422.489 130.928 422.443C102.46 421.891 40.3864 412.259 36.515 377.292C36.1108 373.398 36.4528 369.915 37.1058 365.95C37.9454 360.237 38.9327 354.608 40.091 348.972C45.0118 323.583 55.4987 298.66 64.2831 274.383C65.97 269.975 67.4937 265.419 68.3488 260.778C70.8287 244.772 72.9276 228.424 75.353 212.433C76.1382 207.139 76.6668 201.433 78.929 196.629C88.6074 176.114 114.58 171.877 135.188 172.468C164.456 172.616 159.427 172.662 188.641 173.183C217.855 172.662 212.825 172.616 242.094 172.468C262.702 171.877 288.674 176.114 298.353 196.629C300.615 201.433 301.143 207.139 301.929 212.433C304.354 228.424 306.453 244.772 308.933 260.778C309.788 265.419 311.312 269.975 312.999 274.383C321.783 298.66 332.27 323.583 337.191 348.972C338.349 354.608 339.336 360.237 340.176 365.95C340.829 369.915 341.171 373.398 340.767 377.292Z" 140 fill="url(#paint2_linear_6984_19390)" 141 /> 142 </g>
143 <g filter="url(#filter6_f_6984_19390)"> 144 <path 145 d="M233.143 232.083C230.559 228.059 226.561 225.695 222.316 225.695H154.965C150.72 225.695 146.722 228.051 144.137 232.083C135.132 246.098 116.302 281.952 123.966 327.149C133.895 385.73 188.64 378.562 188.64 378.562C188.64 378.562 243.392 385.722 253.315 327.149C260.972 281.952 242.142 246.098 233.143 232.083Z" 146 stroke="#411010" 147 stroke-opacity="0.5" 148 stroke-width="16.325" 149 /> 150 </g> 151 <g filter="url(#filter7_f_6984_19390)"> 152 <ellipse cx="188.672" cy="272.727" rx="5.05298" ry="47.0316" fill="#411010" fill-opacity="0.3" /> 153 </g> 154 <g filter="url(#filter8_diii_6984_19390)"> 155 <path 156 d="M83.3364 227.25C83.3364 214.37 93.7778 203.929 106.658 203.929C119.538 203.929 129.979 214.37 129.979 227.25V248.351C129.979 251.295 127.593 253.681 124.649 253.681H88.6671C85.723 253.681 83.3364 251.295 83.3364 248.351V227.25Z" 157 fill="#A5B5BC" 158 /> 159 <path 160 d="M83.3364 227.25C83.3364 214.37 93.7778 203.929 106.658 203.929C119.538 203.929 129.979 214.37 129.979 227.25V248.351C129.979 251.295 127.593 253.681 124.649 253.681H88.6671C85.723 253.681 83.3364 251.295 83.3364 248.351V227.25Z" 161 fill="url(#paint3_radial_6984_19390)" 162 /> 163 </g> 164 <g filter="url(#filter9_diii_6984_19390)"> 165 <path 166 d="M69.3433 269.229C69.3433 256.349 79.7846 245.907 92.6647 245.907C105.545 245.907 115.986 256.349 115.986 269.229V290.329C115.986 293.273 113.6 295.66 110.656 295.66H74.6739C71.7299 295.66 69.3433 293.273 69.3433 290.329V269.229Z" 167 fill="#A5B5BC" 168 /> 169 <path 170 d="M69.3433 269.229C69.3433 256.349 79.7846 245.907 92.6647 245.907C105.545 245.907 115.986 256.349 115.986 269.229V290.329C115.986 293.273 113.6 295.66 110.656 295.66H74.6739C71.7299 295.66 69.3433 293.273 69.3433 290.329V269.229Z" 171 fill="url(#paint4_radial_6984_19390)" 172 /> 173 </g> 174 <g filter="url(#filter10_diii_6984_19390)"> 175 <path 176 d="M53.7959 311.207C53.7959 298.327 64.2373 287.886 77.1173 287.886C89.9974 287.886 100.439 298.327 100.439 311.207V332.308C100.439 335.252 98.0522 337.638 95.1082 337.638H59.1265C56.1825 337.638 53.7959 335.252 53.7959 332.308V311.207Z" 177 fill="#A5B5BC" 178 /> 179 <path 180 d="M53.7959 311.207C53.7959 298.327 64.2373 287.886 77.1173 287.886C89.9974 287.886 100.439 298.327 100.439 311.207V332.308C100.439 335.252 98.0522 337.638 95.1082 337.638H59.1265C56.1825 337.638 53.7959 335.252 53.7959 332.308V311.207Z" 181 fill="url(#paint5_radial_6984_19390)" 182 /> 183 </g> 184 <g filter="url(#filter11_diii_6984_19390)"> 185 <path 186 d="M52.2412 353.186C52.2412 340.306 62.6826 329.865 75.5627 329.865C88.4427 329.865 98.8841 340.306 98.8841 353.186V374.286C98.8841 377.23 96.4975 379.617 93.5535 379.617H57.5718C54.6278 379.617 52.2412 377.23 52.2412 374.286V353.186Z" 187 fill="#A5B5BC" 188 /> 189 <path 190 d="M52.2412 353.186C52.2412 340.306 62.6826 329.865 75.5627 329.865C88.4427 329.865 98.8841 340.306 98.8841 353.186V374.286C98.8841 377.23 96.4975 379.617 93.5535 379.617H57.5718C54.6278 379.617 52.2412 377.23 52.2412 374.286V353.186Z" 191 fill="url(#paint6_radial_6984_19390)" 192 /> 193 </g> 194 <g filter="url(#filter12_diii_6984_19390)"> 195 <path 196 d="M88.0005 379.617C88.0005 366.737 98.4419 356.295 111.322 356.295C124.202 356.295 134.643 366.737 134.643 379.617V400.717C134.643 403.661 132.257 406.048 129.313 406.048H93.3311C90.3871 406.048 88.0005 403.661 88.0005 400.717V379.617Z" 197 fill="#A5B5BC" 198 /> 199 <path 200 d="M88.0005 379.617C88.0005 366.737 98.4419 356.295 111.322 356.295C124.202 356.295 134.643 366.737 134.643 379.617V400.717C134.643 403.661 132.257 406.048 129.313 406.048H93.3311C90.3871 406.048 88.0005 403.661 88.0005 400.717V379.617Z" 201 fill="url(#paint7_radial_6984_19390)" 202 /> 203 </g> 204 <g filter="url(#filter13_diii_6984_19390)"> 205 <path 206 d="M139.308 386.613C139.308 373.733 149.749 363.292 162.629 363.292C175.509 363.292 185.951 373.733 185.951 386.613V407.714C185.951 410.658 183.564 413.044 180.62 413.044H144.638C141.694 413.044 139.308 410.658 139.308 407.714V386.613Z" 207 fill="#A5B5BC" 208 /> 209 <path 210 d="M139.308 386.613C139.308 373.733 149.749 363.292 162.629 363.292C175.509 363.292 185.951 373.733 185.951 386.613V407.714C185.951 410.658 183.564 413.044 180.62 413.044H144.638C141.694 413.044 139.308 410.658 139.308 407.714V386.613Z" 211 fill="url(#paint8_radial_6984_19390)" 212 /> 213 </g>
214 <g filter="url(#filter14_diii_6984_19390)"> 215 <path 216 d="M293.229 227.25C293.229 214.37 282.788 203.929 269.908 203.929C257.028 203.929 246.587 214.37 246.587 227.25V248.351C246.587 251.295 248.973 253.681 251.917 253.681H287.899C290.843 253.681 293.229 251.295 293.229 248.351V227.25Z" 217 fill="#A5B5BC" 218 /> 219 <path 220 d="M293.229 227.25C293.229 214.37 282.788 203.929 269.908 203.929C257.028 203.929 246.587 214.37 246.587 227.25V248.351C246.587 251.295 248.973 253.681 251.917 253.681H287.899C290.843 253.681 293.229 251.295 293.229 248.351V227.25Z" 221 fill="url(#paint9_radial_6984_19390)" 222 /> 223 </g> 224 <g filter="url(#filter15_diii_6984_19390)"> 225 <path 226 d="M307.222 269.229C307.222 256.349 296.781 245.907 283.901 245.907C271.021 245.907 260.579 256.349 260.579 269.229V290.329C260.579 293.273 262.966 295.66 265.91 295.66H301.892C304.836 295.66 307.222 293.273 307.222 290.329V269.229Z" 227 fill="#A5B5BC" 228 /> 229 <path 230 d="M307.222 269.229C307.222 256.349 296.781 245.907 283.901 245.907C271.021 245.907 260.579 256.349 260.579 269.229V290.329C260.579 293.273 262.966 295.66 265.91 295.66H301.892C304.836 295.66 307.222 293.273 307.222 290.329V269.229Z" 231 fill="url(#paint10_radial_6984_19390)" 232 /> 233 </g> 234 <g filter="url(#filter16_diii_6984_19390)"> 235 <path 236 d="M322.77 311.207C322.77 298.327 312.329 287.886 299.449 287.886C286.569 287.886 276.127 298.327 276.127 311.207V332.308C276.127 335.252 278.514 337.638 281.458 337.638H317.439C320.383 337.638 322.77 335.252 322.77 332.308V311.207Z" 237 fill="#A5B5BC" 238 /> 239 <path 240 d="M322.77 311.207C322.77 298.327 312.329 287.886 299.449 287.886C286.569 287.886 276.127 298.327 276.127 311.207V332.308C276.127 335.252 278.514 337.638 281.458 337.638H317.439C320.383 337.638 322.77 335.252 322.77 332.308V311.207Z" 241 fill="url(#paint11_radial_6984_19390)" 242 /> 243 </g> 244 <g filter="url(#filter17_diii_6984_19390)"> 245 <path 246 d="M324.325 353.186C324.325 340.306 313.883 329.865 301.003 329.865C288.123 329.865 277.682 340.306 277.682 353.186V374.286C277.682 377.23 280.068 379.617 283.012 379.617H318.994C321.938 379.617 324.325 377.23 324.325 374.286V353.186Z" 247 fill="#A5B5BC" 248 /> 249 <path 250 d="M324.325 353.186C324.325 340.306 313.883 329.865 301.003 329.865C288.123 329.865 277.682 340.306 277.682 353.186V374.286C277.682 377.23 280.068 379.617 283.012 379.617H318.994C321.938 379.617 324.325 377.23 324.325 374.286V353.186Z" 251 fill="url(#paint12_radial_6984_19390)" 252 /> 253 </g> 254 <g filter="url(#filter18_diii_6984_19390)"> 255 <path 256 d="M288.565 379.617C288.565 366.737 278.124 356.295 265.243 356.295C252.363 356.295 241.922 366.737 241.922 379.617V400.717C241.922 403.661 244.309 406.048 247.253 406.048H283.234C286.178 406.048 288.565 403.661 288.565 400.717V379.617Z" 257 fill="#A5B5BC" 258 /> 259 <path 260 d="M288.565 379.617C288.565 366.737 278.124 356.295 265.243 356.295C252.363 356.295 241.922 366.737 241.922 379.617V400.717C241.922 403.661 244.309 406.048 247.253 406.048H283.234C286.178 406.048 288.565 403.661 288.565 400.717V379.617Z" 261 fill="url(#paint13_radial_6984_19390)" 262 /> 263 </g> 264 <g filter="url(#filter19_diii_6984_19390)"> 265 <path 266 d="M237.258 386.613C237.258 373.733 226.816 363.292 213.936 363.292C201.056 363.292 190.615 373.733 190.615 386.613V407.714C190.615 410.658 193.002 413.044 195.946 413.044H231.927C234.871 413.044 237.258 410.658 237.258 407.714V386.613Z" 267 fill="#A5B5BC" 268 /> 269 <path 270 d="M237.258 386.613C237.258 373.733 226.816 363.292 213.936 363.292C201.056 363.292 190.615 373.733 190.615 386.613V407.714C190.615 410.658 193.002 413.044 195.946 413.044H231.927C234.871 413.044 237.258 410.658 237.258 407.714V386.613Z" 271 fill="url(#paint14_radial_6984_19390)" 272 /> 273 </g> 274 <g filter="url(#filter20_i_6984_19390)"> 275 <path 276 d="M241.576 64.17C240.682 64.24 239.788 64.2944 238.886 64.3022C235.007 64.3488 220.4 65.4682 201.875 78.3183C193.86 83.8766 183.202 83.8766 175.188 78.3183C156.663 65.4682 142.063 64.3488 138.184 64.3022C137.283 64.2944 136.396 64.2322 135.495 64.17C47.2773 57.5078 40.895 248.876 40.895 248.876H336.183C336.183 248.876 329.801 57.5078 241.576 64.17Z" 277 fill="url(#paint15_linear_6984_19390)" 278 /> 279 </g>
280 <g filter="url(#filter21_ddi_6984_19390)"> 281 <path 282 d="M177.805 166.036C182.78 125.402 164.088 89.6795 136.056 86.2474C108.023 82.8154 81.2657 112.973 76.2909 153.607C71.3161 194.241 90.008 229.963 118.04 233.395C146.073 236.827 172.83 206.669 177.805 166.036Z" 283 fill="#FEFFFE" 284 /> 285 </g> 286 <g filter="url(#filter22_i_6984_19390)"> 287 <path 288 d="M165.702 167.506C168.947 140.999 156.754 117.696 138.468 115.457C120.181 113.218 102.727 132.892 99.4815 159.398C96.2362 185.905 108.429 209.208 126.716 211.447C145.002 213.686 162.457 194.012 165.702 167.506Z" 289 fill="#55AFC6" 290 /> 291 </g> 292 <g filter="url(#filter23_ii_6984_19390)"> 293 <path 294 d="M155.941 166.311C158.229 147.619 149.631 131.187 136.735 129.609C123.84 128.03 111.531 141.902 109.243 160.593C106.954 179.284 115.553 195.716 128.448 197.295C141.344 198.874 153.653 185.002 155.941 166.311Z" 295 fill="black" 296 /> 297 </g> 298 <path 299 d="M147.636 127.122C152.54 127.122 156.514 123.148 156.514 118.245C156.514 113.342 152.54 109.367 147.636 109.367C142.733 109.367 138.759 113.342 138.759 118.245C138.759 123.148 142.733 127.122 147.636 127.122Z" 300 fill="#FEFFFE" 301 /> 302 <path 303 d="M108.122 208.343C111.209 208.343 113.711 205.841 113.711 202.754C113.711 199.667 111.209 197.164 108.122 197.164C105.035 197.164 102.533 199.667 102.533 202.754C102.533 205.841 105.035 208.343 108.122 208.343Z" 304 fill="#FEFFFE" 305 /> 306 <g filter="url(#filter24_dii_6984_19390)"> 307 <path 308 d="M83.6629 117.853C96.0077 94.3916 115.893 81.3083 135.553 83.7182C149.896 85.4673 162.373 95.0602 170.691 110.717C178.822 126.031 182.064 145.489 179.802 165.491C179.592 167.38 177.563 168.468 175.868 167.613L84.8367 121.546C83.4841 120.861 82.9477 119.198 83.6551 117.853H83.6629Z" 309 fill="url(#paint16_linear_6984_19390)" 310 /> 311 <path 312 d="M83.6629 117.853C96.0077 94.3916 115.893 81.3083 135.553 83.7182C149.896 85.4673 162.373 95.0602 170.691 110.717C178.822 126.031 182.064 145.489 179.802 165.491C179.592 167.38 177.563 168.468 175.868 167.613L84.8367 121.546C83.4841 120.861 82.9477 119.198 83.6551 117.853H83.6629Z" 313 fill="url(#paint17_radial_6984_19390)" 314 fill-opacity="0.5" 315 /> 316 </g> 317 <g filter="url(#filter25_ddi_6984_19390)"> 318 <path 319 d="M199.626 166.036C194.652 125.402 213.344 89.6795 241.376 86.2474C269.408 82.8154 296.166 112.973 301.141 153.607C306.116 194.241 287.424 229.963 259.391 233.395C231.359 236.827 204.601 206.669 199.626 166.036Z" 320 fill="#FEFFFE" 321 /> 322 </g> 323 <g filter="url(#filter26_i_6984_19390)"> 324 <path 325 d="M211.73 167.506C208.485 140.999 220.678 117.696 238.964 115.457C257.25 113.219 274.705 132.892 277.95 159.399C281.195 185.905 269.002 209.208 250.716 211.447C232.43 213.686 214.975 194.013 211.73 167.506Z" 326 fill="#55AFC6" 327 /> 328 </g> 329 <g filter="url(#filter27_ii_6984_19390)"> 330 <path 331 d="M221.491 166.311C219.202 147.62 227.801 131.188 240.696 129.609C253.592 128.03 265.901 141.902 268.189 160.594C270.477 179.285 261.879 195.717 248.983 197.295C236.088 198.874 223.779 185.002 221.491 166.311Z" 332 fill="black" 333 /> 334 </g> 335 <path 336 d="M261.686 130.73C266.589 130.73 270.564 126.755 270.564 121.852C270.564 116.949 266.589 112.974 261.686 112.974C256.783 112.974 252.809 116.949 252.809 121.852C252.809 126.755 256.783 130.73 261.686 130.73Z" 337 fill="#FEFFFE" 338 /> 339 <path 340 d="M226.506 208.343C229.593 208.343 232.096 205.841 232.096 202.754C232.096 199.667 229.593 197.165 226.506 197.165C223.419 197.165 220.917 199.667 220.917 202.754C220.917 205.841 223.419 208.343 226.506 208.343Z" 341 fill="#FEFFFE" 342 /> 343 <g filter="url(#filter28_dii_6984_19390)"> 344 <path 345 d="M292.905 117.853C280.56 94.3916 260.674 81.3083 241.014 83.7182C226.672 85.4673 214.195 95.0602 205.877 110.717C197.745 126.031 194.504 145.489 196.766 165.491C196.976 167.38 199.005 168.468 200.699 167.613L291.731 121.546C293.083 120.861 293.62 119.198 292.912 117.853H292.905Z" 346 fill="url(#paint18_linear_6984_19390)" 347 /> 348 <path 349 d="M292.905 117.853C280.56 94.3916 260.674 81.3083 241.014 83.7182C226.672 85.4673 214.195 95.0602 205.877 110.717C197.745 126.031 194.504 145.489 196.766 165.491C196.976 167.38 199.005 168.468 200.699 167.613L291.731 121.546C293.083 120.861 293.62 119.198 292.912 117.853H292.905Z" 350 fill="url(#paint19_radial_6984_19390)" 351 fill-opacity="0.5" 352 /> 353 </g>
354 <g filter="url(#filter29_diii_6984_19390)"> 355 <path 356 d="M340.854 260.201C336.211 245.038 324.377 235.049 311.216 229.464C295.43 222.768 278.12 224.267 261.601 221.253C243.557 217.967 225.711 213.097 207.441 211.52C183.152 209.423 158.891 213.213 134.948 217.4C122.726 219.537 110.518 221.797 98.2396 223.475C87.1465 224.99 76.4134 224.997 65.8778 229.464C52.7172 235.049 40.8832 245.038 36.2399 260.201C35.4496 262.788 30.263 299.546 34.0665 299.546H343.042C346.838 299.546 341.658 262.78 340.868 260.201H340.854Z" 357 fill="url(#paint20_radial_6984_19390)" 358 /> 359 <path 360 d="M340.854 260.201C336.211 245.038 324.377 235.049 311.216 229.464C295.43 222.768 278.12 224.267 261.601 221.253C243.557 217.967 225.711 213.097 207.441 211.52C183.152 209.423 158.891 213.213 134.948 217.4C122.726 219.537 110.518 221.797 98.2396 223.475C87.1465 224.99 76.4134 224.997 65.8778 229.464C52.7172 235.049 40.8832 245.038 36.2399 260.201C35.4496 262.788 30.263 299.546 34.0665 299.546H343.042C346.838 299.546 341.658 262.78 340.868 260.201H340.854Z" 361 fill="url(#paint21_radial_6984_19390)" 362 /> 363 </g> 364 <g filter="url(#filter30_diii_6984_19390)"> 365 <path 366 d="M356.333 295.216C351.218 280.041 338.181 270.044 323.683 264.455C306.293 257.754 287.224 259.254 269.025 256.238C249.147 252.949 229.488 248.075 209.361 246.497C182.604 244.398 155.877 248.192 129.501 252.382C116.037 254.52 102.588 256.782 89.0614 258.461C76.8409 259.977 65.017 259.985 53.4107 264.455C38.9125 270.044 25.8758 280.041 20.7606 295.216C19.89 297.804 14.1762 334.59 18.3663 334.59H358.743C362.925 334.59 357.219 297.796 356.348 295.216H356.333Z" 367 fill="url(#paint22_radial_6984_19390)" 368 /> 369 <path 370 d="M356.333 295.216C351.218 280.041 338.181 270.044 323.683 264.455C306.293 257.754 287.224 259.254 269.025 256.238C249.147 252.949 229.488 248.075 209.361 246.497C182.604 244.398 155.877 248.192 129.501 252.382C116.037 254.52 102.588 256.782 89.0614 258.461C76.8409 259.977 65.017 259.985 53.4107 264.455C38.9125 270.044 25.8758 280.041 20.7606 295.216C19.89 297.804 14.1762 334.59 18.3663 334.59H358.743C362.925 334.59 357.219 297.796 356.348 295.216H356.333Z" 371 fill="url(#paint23_radial_6984_19390)" 372 /> 373 </g> 374 <g filter="url(#filter31_diii_6984_19390)"> 375 <path 376 d="M364.224 369.248C355.587 387.999 335.749 396.052 315.972 400.11C304.062 402.652 290.505 404.137 279.163 404.16C223.705 404.075 136.832 404.487 89.5907 403.997C63.5018 402.435 27.8821 396.946 14.1847 372.163C7.025 359.236 4.99603 341.915 13.555 329.19C20.5281 318.648 32.4143 312.577 43.4842 307.081C64.5823 296.625 81.3582 290.803 104.991 293.337C112.99 293.92 121.028 294.355 129.035 293.702C143.961 292.49 158.653 288.618 173.626 287.646C184.765 286.791 195.968 286.962 207.084 288.097C223.005 289.59 238.801 294.013 254.637 294.223C262.954 294.402 271.257 293.446 279.552 293.073C290.194 292.49 300.665 293.811 310.826 297.27C318.669 299.875 326.296 303.186 333.758 306.739C343.756 311.559 354.289 317.296 361.006 325.567C371.158 337.593 371.096 354.952 364.294 369.108L364.232 369.248H364.224Z" 377 fill="url(#paint24_radial_6984_19390)" 378 /> 379 <path 380 d="M364.224 369.248C355.587 387.999 335.749 396.052 315.972 400.11C304.062 402.652 290.505 404.137 279.163 404.16C223.705 404.075 136.832 404.487 89.5907 403.997C63.5018 402.435 27.8821 396.946 14.1847 372.163C7.025 359.236 4.99603 341.915 13.555 329.19C20.5281 318.648 32.4143 312.577 43.4842 307.081C64.5823 296.625 81.3582 290.803 104.991 293.337C112.99 293.92 121.028 294.355 129.035 293.702C143.961 292.49 158.653 288.618 173.626 287.646C184.765 286.791 195.968 286.962 207.084 288.097C223.005 289.59 238.801 294.013 254.637 294.223C262.954 294.402 271.257 293.446 279.552 293.073C290.194 292.49 300.665 293.811 310.826 297.27C318.669 299.875 326.296 303.186 333.758 306.739C343.756 311.559 354.289 317.296 361.006 325.567C371.158 337.593 371.096 354.952 364.294 369.108L364.232 369.248H364.224Z" 381 fill="url(#paint25_radial_6984_19390)" 382 /> 383 </g> 384 <g filter="url(#filter32_i_6984_19390)"> 385 <path 386 d="M70.5367 278.618C65.2894 278.883 45.7227 279.878 32.4917 295.884C20.8543 309.963 17.426 331.644 26.3426 347.098C37.0705 365.693 60.8428 366.921 84.8717 368.173C103.101 369.113 122.45 370.116 131.989 357.344C141.667 344.377 135.091 325.464 133.45 320.76C124.915 296.226 98.2271 277.211 70.529 278.618H70.5367Z" 387 fill="url(#paint26_radial_6984_19390)" 388 /> 389 <path 390 d="M70.5367 278.618C65.2894 278.883 45.7227 279.878 32.4917 295.884C20.8543 309.963 17.426 331.644 26.3426 347.098C37.0705 365.693 60.8428 366.921 84.8717 368.173C103.101 369.113 122.45 370.116 131.989 357.344C141.667 344.377 135.091 325.464 133.45 320.76C124.915 296.226 98.2271 277.211 70.529 278.618H70.5367Z" 391 fill="url(#paint27_radial_6984_19390)" 392 /> 393 </g>
394 <g filter="url(#filter33_i_6984_19390)"> 395 <path 396 d="M306.213 278.618C311.461 278.883 331.027 279.878 344.258 295.884C355.896 309.963 359.324 331.644 350.407 347.098C339.68 365.693 315.907 366.921 291.878 368.173C273.649 369.113 254.3 370.116 244.761 357.344C235.083 344.377 241.659 325.464 243.3 320.76C251.835 296.226 278.523 277.211 306.221 278.618H306.213Z" 397 fill="url(#paint28_radial_6984_19390)" 398 /> 399 <path 400 d="M306.213 278.618C311.461 278.883 331.027 279.878 344.258 295.884C355.896 309.963 359.324 331.644 350.407 347.098C339.68 365.693 315.907 366.921 291.878 368.173C273.649 369.113 254.3 370.116 244.761 357.344C235.083 344.377 241.659 325.464 243.3 320.76C251.835 296.226 278.523 277.211 306.221 278.618H306.213Z" 401 fill="url(#paint29_radial_6984_19390)" 402 /> 403 </g> 404 <g filter="url(#filter34_ddii_6984_19390)"> 405 <path 406 d="M59.629 314.059C53.3478 316.283 47.7506 320.799 44.9676 326.793C41.1818 335.569 45.7761 346.367 54.2029 350.441C64.3089 355.836 75.5964 356.908 87.2027 357.118C95.9949 356.971 108.829 357.67 114.598 350.892C123.608 340.265 113.175 328.635 103.924 322.509C99.1355 319.33 94.2147 317.083 88.843 315.186C79.6233 311.859 69.0353 310.802 59.7689 314.013L59.629 314.059Z" 407 fill="#162309" 408 /> 409 </g> 410 <g filter="url(#filter35_ddii_6984_19390)"> 411 <path 412 d="M317.449 314.059C323.73 316.283 329.327 320.799 332.11 326.793C335.896 335.569 331.302 346.367 322.875 350.441C312.769 355.836 301.481 356.908 289.875 357.118C281.083 356.971 268.248 357.67 262.48 350.892C253.47 340.265 263.903 328.635 273.153 322.509C277.942 319.33 282.863 317.083 288.235 315.186C297.454 311.859 308.042 310.802 317.309 314.013L317.449 314.059Z" 413 fill="#162309" 414 /> 415 </g> 416 </g> 417 </g> 418 <defs> 419 <filter 420 id="filter0_d_6984_19390" 421 x="0.937161" 422 y="0" 423 width="375.125" 424 height="559.654" 425 filterUnits="userSpaceOnUse" 426 color-interpolation-filters="sRGB" 427 > 428 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 429 <feColorMatrix 430 in="SourceAlpha" 431 type="matrix" 432 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 433 result="hardAlpha" 434 /> 435 <feOffset dy="18.6572" /> 436 <feGaussianBlur stdDeviation="3.49822" /> 437 <feComposite in2="hardAlpha" operator="out" /> 438 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 439 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 440 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 441 </filter> 442 <filter 443 id="filter1_d_6984_19390" 444 x="0.937161" 445 y="64" 446 width="375.125" 447 height="432.162" 448 filterUnits="userSpaceOnUse" 449 color-interpolation-filters="sRGB" 450 > 451 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 452 <feColorMatrix 453 in="SourceAlpha" 454 type="matrix" 455 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 456 result="hardAlpha" 457 /> 458 <feOffset dy="18.6572" /> 459 <feGaussianBlur stdDeviation="3.49822" /> 460 <feComposite in2="hardAlpha" operator="out" /> 461 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 462 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 463 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 464 </filter> 465 <filter 466 id="filter2_iii_6984_19390" 467 x="34.3613" 468 y="193.247" 469 width="308.472" 470 height="244.37" 471 filterUnits="userSpaceOnUse" 472 color-interpolation-filters="sRGB" 473 > 474 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 475 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 476 <feColorMatrix 477 in="SourceAlpha" 478 type="matrix" 479 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 480 result="hardAlpha" 481 /> 482 <feOffset /> 483 <feGaussianBlur stdDeviation="13.9929" /> 484 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 485 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" /> 486 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 487 <feColorMatrix 488 in="SourceAlpha" 489 type="matrix" 490 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 491 result="hardAlpha" 492 /> 493 <feOffset dy="34.2048" /> 494 <feGaussianBlur stdDeviation="6.60774" /> 495 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 496 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0" /> 497 <feBlend mode="normal" in2="effect1_innerShadow_6984_19390" result="effect2_innerShadow_6984_19390" /> 498 <feColorMatrix 499 in="SourceAlpha" 500 type="matrix" 501 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 502 result="hardAlpha" 503 /> 504 <feOffset dy="4.66429" /> 505 <feGaussianBlur stdDeviation="2.72083" /> 506 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 507 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 508 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 509 </filter> 510 <filter 511 id="filter3_i_6984_19390" 512 x="70.8984" 513 y="162.727" 514 width="234.963" 515 height="63.3332" 516 filterUnits="userSpaceOnUse" 517 color-interpolation-filters="sRGB" 518 >
519 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 520 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 521 <feColorMatrix 522 in="SourceAlpha" 523 type="matrix" 524 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 525 result="hardAlpha" 526 /> 527 <feOffset dy="-4.66429" /> 528 <feGaussianBlur stdDeviation="2.72083" /> 529 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 530 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 531 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 532 </filter> 533 <filter 534 id="filter4_i_6984_19390" 535 x="28.144" 536 y="367" 537 width="321.009" 538 height="106.618" 539 filterUnits="userSpaceOnUse" 540 color-interpolation-filters="sRGB" 541 > 542 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 543 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 544 <feColorMatrix 545 in="SourceAlpha" 546 type="matrix" 547 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 548 result="hardAlpha" 549 /> 550 <feOffset dy="3.10953" /> 551 <feGaussianBlur stdDeviation="1.55476" /> 552 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 553 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 554 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 555 </filter> 556 <filter 557 id="filter5_dii_6984_19390" 558 x="26.5101" 559 y="159.618" 560 width="324.269" 561 height="273.133" 562 filterUnits="userSpaceOnUse" 563 color-interpolation-filters="sRGB" 564 > 565 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 566 <feColorMatrix 567 in="SourceAlpha" 568 type="matrix" 569 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 570 result="hardAlpha" 571 /> 572 <feOffset dy="-5.44167" /> 573 <feGaussianBlur stdDeviation="1.16607" /> 574 <feComposite in2="hardAlpha" operator="out" /> 575 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 576 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 577 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 578 <feColorMatrix 579 in="SourceAlpha" 580 type="matrix" 581 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 582 result="hardAlpha" 583 /> 584 <feOffset dy="-2.33214" /> 585 <feGaussianBlur stdDeviation="1.55476" /> 586 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 587 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 588 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 589 <feColorMatrix 590 in="SourceAlpha" 591 type="matrix" 592 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 593 result="hardAlpha" 594 /> 595 <feOffset dy="2.33214" /> 596 <feGaussianBlur stdDeviation="1.55476" /> 597 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 598 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.33 0" /> 599 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 600 </filter> 601 <filter 602 id="filter6_f_6984_19390" 603 x="95.3511" 604 y="198.876" 605 width="186.576" 606 height="206.784" 607 filterUnits="userSpaceOnUse" 608 color-interpolation-filters="sRGB" 609 > 610 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 611 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 612 <feGaussianBlur stdDeviation="9.32858" result="effect1_foregroundBlur_6984_19390" /> 613 </filter> 614 <filter 615 id="filter7_f_6984_19390" 616 x="160.297" 617 y="202.374" 618 width="56.7488" 619 height="140.706" 620 filterUnits="userSpaceOnUse" 621 color-interpolation-filters="sRGB" 622 > 623 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 624 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 625 <feGaussianBlur stdDeviation="11.6607" result="effect1_foregroundBlur_6984_19390" /> 626 </filter> 627 <filter 628 id="filter8_diii_6984_19390" 629 x="76.0809" 630 y="200.301" 631 width="61.1542" 632 height="64.2636" 633 filterUnits="userSpaceOnUse" 634 color-interpolation-filters="sRGB" 635 >
636 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 637 <feColorMatrix 638 in="SourceAlpha" 639 type="matrix" 640 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 641 result="hardAlpha" 642 /> 643 <feOffset dy="3.62778" /> 644 <feGaussianBlur stdDeviation="3.62778" /> 645 <feComposite in2="hardAlpha" operator="out" /> 646 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 647 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 648 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 649 <feColorMatrix 650 in="SourceAlpha" 651 type="matrix" 652 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 653 result="hardAlpha" 654 /> 655 <feOffset /> 656 <feGaussianBlur stdDeviation="1.36042" /> 657 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 658 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 659 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 660 <feColorMatrix 661 in="SourceAlpha" 662 type="matrix" 663 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 664 result="hardAlpha" 665 /> 666 <feOffset /> 667 <feGaussianBlur stdDeviation="0.906945" /> 668 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 669 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 670 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 671 <feColorMatrix 672 in="SourceAlpha" 673 type="matrix" 674 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 675 result="hardAlpha" 676 /> 677 <feOffset dx="-3.62778" dy="9.06945" /> 678 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 679 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 680 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 681 </filter> 682 <filter 683 id="filter9_diii_6984_19390" 684 x="62.0877" 685 y="242.279" 686 width="61.1542" 687 height="64.2636" 688 filterUnits="userSpaceOnUse" 689 color-interpolation-filters="sRGB" 690 > 691 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 692 <feColorMatrix 693 in="SourceAlpha" 694 type="matrix" 695 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 696 result="hardAlpha" 697 /> 698 <feOffset dy="3.62778" /> 699 <feGaussianBlur stdDeviation="3.62778" /> 700 <feComposite in2="hardAlpha" operator="out" /> 701 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 702 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 703 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 704 <feColorMatrix 705 in="SourceAlpha" 706 type="matrix" 707 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 708 result="hardAlpha" 709 /> 710 <feOffset /> 711 <feGaussianBlur stdDeviation="1.36042" /> 712 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 713 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 714 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 715 <feColorMatrix 716 in="SourceAlpha" 717 type="matrix" 718 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 719 result="hardAlpha" 720 /> 721 <feOffset /> 722 <feGaussianBlur stdDeviation="0.906945" /> 723 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 724 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 725 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 726 <feColorMatrix 727 in="SourceAlpha" 728 type="matrix" 729 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 730 result="hardAlpha" 731 /> 732 <feOffset dx="-3.62778" dy="9.06945" /> 733 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 734 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 735 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 736 </filter> 737 <filter 738 id="filter10_diii_6984_19390" 739 x="46.5403" 740 y="284.258" 741 width="61.1542" 742 height="64.2636" 743 filterUnits="userSpaceOnUse" 744 color-interpolation-filters="sRGB" 745 >
746 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 747 <feColorMatrix 748 in="SourceAlpha" 749 type="matrix" 750 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 751 result="hardAlpha" 752 /> 753 <feOffset dy="3.62778" /> 754 <feGaussianBlur stdDeviation="3.62778" /> 755 <feComposite in2="hardAlpha" operator="out" /> 756 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 757 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 758 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 759 <feColorMatrix 760 in="SourceAlpha" 761 type="matrix" 762 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 763 result="hardAlpha" 764 /> 765 <feOffset /> 766 <feGaussianBlur stdDeviation="1.36042" /> 767 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 768 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 769 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 770 <feColorMatrix 771 in="SourceAlpha" 772 type="matrix" 773 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 774 result="hardAlpha" 775 /> 776 <feOffset /> 777 <feGaussianBlur stdDeviation="0.906945" /> 778 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 779 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 780 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 781 <feColorMatrix 782 in="SourceAlpha" 783 type="matrix" 784 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 785 result="hardAlpha" 786 /> 787 <feOffset dx="-3.62778" dy="9.06945" /> 788 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 789 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 790 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 791 </filter> 792 <filter 793 id="filter11_diii_6984_19390" 794 x="44.9857" 795 y="326.237" 796 width="61.1542" 797 height="64.2636" 798 filterUnits="userSpaceOnUse" 799 color-interpolation-filters="sRGB" 800 > 801 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 802 <feColorMatrix 803 in="SourceAlpha" 804 type="matrix" 805 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 806 result="hardAlpha" 807 /> 808 <feOffset dy="3.62778" /> 809 <feGaussianBlur stdDeviation="3.62778" /> 810 <feComposite in2="hardAlpha" operator="out" /> 811 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 812 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 813 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 814 <feColorMatrix 815 in="SourceAlpha" 816 type="matrix" 817 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 818 result="hardAlpha" 819 /> 820 <feOffset /> 821 <feGaussianBlur stdDeviation="1.36042" /> 822 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 823 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 824 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 825 <feColorMatrix 826 in="SourceAlpha" 827 type="matrix" 828 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 829 result="hardAlpha" 830 /> 831 <feOffset /> 832 <feGaussianBlur stdDeviation="0.906945" /> 833 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 834 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 835 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 836 <feColorMatrix 837 in="SourceAlpha" 838 type="matrix" 839 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 840 result="hardAlpha" 841 /> 842 <feOffset dx="-3.62778" dy="9.06945" /> 843 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 844 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 845 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 846 </filter> 847 <filter 848 id="filter12_diii_6984_19390" 849 x="80.7449" 850 y="352.668" 851 width="61.1542" 852 height="64.2636" 853 filterUnits="userSpaceOnUse" 854 color-interpolation-filters="sRGB" 855 >
856 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 857 <feColorMatrix 858 in="SourceAlpha" 859 type="matrix" 860 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 861 result="hardAlpha" 862 /> 863 <feOffset dy="3.62778" /> 864 <feGaussianBlur stdDeviation="3.62778" /> 865 <feComposite in2="hardAlpha" operator="out" /> 866 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 867 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 868 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 869 <feColorMatrix 870 in="SourceAlpha" 871 type="matrix" 872 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 873 result="hardAlpha" 874 /> 875 <feOffset /> 876 <feGaussianBlur stdDeviation="1.36042" /> 877 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 878 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 879 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 880 <feColorMatrix 881 in="SourceAlpha" 882 type="matrix" 883 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 884 result="hardAlpha" 885 /> 886 <feOffset /> 887 <feGaussianBlur stdDeviation="0.906945" /> 888 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 889 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 890 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 891 <feColorMatrix 892 in="SourceAlpha" 893 type="matrix" 894 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 895 result="hardAlpha" 896 /> 897 <feOffset dx="-3.62778" dy="9.06945" /> 898 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 899 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 900 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 901 </filter> 902 <filter 903 id="filter13_diii_6984_19390" 904 x="132.052" 905 y="359.664" 906 width="61.1542" 907 height="64.2636" 908 filterUnits="userSpaceOnUse" 909 color-interpolation-filters="sRGB" 910 > 911 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 912 <feColorMatrix 913 in="SourceAlpha" 914 type="matrix" 915 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 916 result="hardAlpha" 917 /> 918 <feOffset dy="3.62778" /> 919 <feGaussianBlur stdDeviation="3.62778" /> 920 <feComposite in2="hardAlpha" operator="out" /> 921 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 922 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 923 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 924 <feColorMatrix 925 in="SourceAlpha" 926 type="matrix" 927 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 928 result="hardAlpha" 929 /> 930 <feOffset /> 931 <feGaussianBlur stdDeviation="1.36042" /> 932 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 933 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 934 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 935 <feColorMatrix 936 in="SourceAlpha" 937 type="matrix" 938 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 939 result="hardAlpha" 940 /> 941 <feOffset /> 942 <feGaussianBlur stdDeviation="0.906945" /> 943 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 944 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 945 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 946 <feColorMatrix 947 in="SourceAlpha" 948 type="matrix" 949 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 950 result="hardAlpha" 951 /> 952 <feOffset dx="-3.62778" dy="9.06945" /> 953 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 954 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 955 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 956 </filter> 957 <filter 958 id="filter14_diii_6984_19390" 959 x="239.331" 960 y="200.301" 961 width="61.1542" 962 height="64.2636" 963 filterUnits="userSpaceOnUse" 964 color-interpolation-filters="sRGB" 965 >
966 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 967 <feColorMatrix 968 in="SourceAlpha" 969 type="matrix" 970 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 971 result="hardAlpha" 972 /> 973 <feOffset dy="3.62778" /> 974 <feGaussianBlur stdDeviation="3.62778" /> 975 <feComposite in2="hardAlpha" operator="out" /> 976 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 977 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 978 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 979 <feColorMatrix 980 in="SourceAlpha" 981 type="matrix" 982 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 983 result="hardAlpha" 984 /> 985 <feOffset /> 986 <feGaussianBlur stdDeviation="1.36042" /> 987 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 988 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 989 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 990 <feColorMatrix 991 in="SourceAlpha" 992 type="matrix" 993 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 994 result="hardAlpha" 995 /> 996 <feOffset /> 997 <feGaussianBlur stdDeviation="0.906945" /> 998 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 999 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 1000 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1001 <feColorMatrix 1002 in="SourceAlpha" 1003 type="matrix" 1004 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1005 result="hardAlpha" 1006 /> 1007 <feOffset dx="-3.62778" dy="9.06945" /> 1008 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1009 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 1010 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1011 </filter> 1012 <filter 1013 id="filter15_diii_6984_19390" 1014 x="253.324" 1015 y="242.279" 1016 width="61.1542" 1017 height="64.2636" 1018 filterUnits="userSpaceOnUse" 1019 color-interpolation-filters="sRGB" 1020 > 1021 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1022 <feColorMatrix 1023 in="SourceAlpha" 1024 type="matrix" 1025 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1026 result="hardAlpha" 1027 /> 1028 <feOffset dy="3.62778" /> 1029 <feGaussianBlur stdDeviation="3.62778" /> 1030 <feComposite in2="hardAlpha" operator="out" /> 1031 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 1032 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1033 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1034 <feColorMatrix 1035 in="SourceAlpha" 1036 type="matrix" 1037 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1038 result="hardAlpha" 1039 /> 1040 <feOffset /> 1041 <feGaussianBlur stdDeviation="1.36042" /> 1042 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1043 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 1044 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1045 <feColorMatrix 1046 in="SourceAlpha" 1047 type="matrix" 1048 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1049 result="hardAlpha" 1050 /> 1051 <feOffset /> 1052 <feGaussianBlur stdDeviation="0.906945" /> 1053 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1054 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 1055 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1056 <feColorMatrix 1057 in="SourceAlpha" 1058 type="matrix" 1059 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1060 result="hardAlpha" 1061 /> 1062 <feOffset dx="-3.62778" dy="9.06945" /> 1063 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1064 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 1065 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1066 </filter> 1067 <filter 1068 id="filter16_diii_6984_19390" 1069 x="268.871" 1070 y="284.258" 1071 width="61.1542" 1072 height="64.2636" 1073 filterUnits="userSpaceOnUse" 1074 color-interpolation-filters="sRGB" 1075 >
1076 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1077 <feColorMatrix 1078 in="SourceAlpha" 1079 type="matrix" 1080 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1081 result="hardAlpha" 1082 /> 1083 <feOffset dy="3.62778" /> 1084 <feGaussianBlur stdDeviation="3.62778" /> 1085 <feComposite in2="hardAlpha" operator="out" /> 1086 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 1087 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1088 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1089 <feColorMatrix 1090 in="SourceAlpha" 1091 type="matrix" 1092 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1093 result="hardAlpha" 1094 /> 1095 <feOffset /> 1096 <feGaussianBlur stdDeviation="1.36042" /> 1097 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1098 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 1099 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1100 <feColorMatrix 1101 in="SourceAlpha" 1102 type="matrix" 1103 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1104 result="hardAlpha" 1105 /> 1106 <feOffset /> 1107 <feGaussianBlur stdDeviation="0.906945" /> 1108 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1109 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 1110 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1111 <feColorMatrix 1112 in="SourceAlpha" 1113 type="matrix" 1114 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1115 result="hardAlpha" 1116 /> 1117 <feOffset dx="-3.62778" dy="9.06945" /> 1118 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1119 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 1120 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1121 </filter> 1122 <filter 1123 id="filter17_diii_6984_19390" 1124 x="270.426" 1125 y="326.237" 1126 width="61.1542" 1127 height="64.2636" 1128 filterUnits="userSpaceOnUse" 1129 color-interpolation-filters="sRGB" 1130 > 1131 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1132 <feColorMatrix 1133 in="SourceAlpha" 1134 type="matrix" 1135 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1136 result="hardAlpha" 1137 /> 1138 <feOffset dy="3.62778" /> 1139 <feGaussianBlur stdDeviation="3.62778" /> 1140 <feComposite in2="hardAlpha" operator="out" /> 1141 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 1142 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1143 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1144 <feColorMatrix 1145 in="SourceAlpha" 1146 type="matrix" 1147 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1148 result="hardAlpha" 1149 /> 1150 <feOffset /> 1151 <feGaussianBlur stdDeviation="1.36042" /> 1152 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1153 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 1154 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1155 <feColorMatrix 1156 in="SourceAlpha" 1157 type="matrix" 1158 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1159 result="hardAlpha" 1160 /> 1161 <feOffset /> 1162 <feGaussianBlur stdDeviation="0.906945" /> 1163 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1164 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 1165 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1166 <feColorMatrix 1167 in="SourceAlpha" 1168 type="matrix" 1169 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1170 result="hardAlpha" 1171 /> 1172 <feOffset dx="-3.62778" dy="9.06945" /> 1173 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1174 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 1175 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1176 </filter> 1177 <filter 1178 id="filter18_diii_6984_19390" 1179 x="234.666" 1180 y="352.668" 1181 width="61.1542" 1182 height="64.2636" 1183 filterUnits="userSpaceOnUse" 1184 color-interpolation-filters="sRGB" 1185 >
1186 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1187 <feColorMatrix 1188 in="SourceAlpha" 1189 type="matrix" 1190 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1191 result="hardAlpha" 1192 /> 1193 <feOffset dy="3.62778" /> 1194 <feGaussianBlur stdDeviation="3.62778" /> 1195 <feComposite in2="hardAlpha" operator="out" /> 1196 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 1197 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1198 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1199 <feColorMatrix 1200 in="SourceAlpha" 1201 type="matrix" 1202 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1203 result="hardAlpha" 1204 /> 1205 <feOffset /> 1206 <feGaussianBlur stdDeviation="1.36042" /> 1207 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1208 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 1209 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1210 <feColorMatrix 1211 in="SourceAlpha" 1212 type="matrix" 1213 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1214 result="hardAlpha" 1215 /> 1216 <feOffset /> 1217 <feGaussianBlur stdDeviation="0.906945" /> 1218 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1219 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 1220 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1221 <feColorMatrix 1222 in="SourceAlpha" 1223 type="matrix" 1224 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1225 result="hardAlpha" 1226 /> 1227 <feOffset dx="-3.62778" dy="9.06945" /> 1228 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1229 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 1230 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1231 </filter> 1232 <filter 1233 id="filter19_diii_6984_19390" 1234 x="183.359" 1235 y="359.664" 1236 width="61.1542" 1237 height="64.2636" 1238 filterUnits="userSpaceOnUse" 1239 color-interpolation-filters="sRGB" 1240 > 1241 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1242 <feColorMatrix 1243 in="SourceAlpha" 1244 type="matrix" 1245 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1246 result="hardAlpha" 1247 /> 1248 <feOffset dy="3.62778" /> 1249 <feGaussianBlur stdDeviation="3.62778" /> 1250 <feComposite in2="hardAlpha" operator="out" /> 1251 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 1252 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1253 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1254 <feColorMatrix 1255 in="SourceAlpha" 1256 type="matrix" 1257 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1258 result="hardAlpha" 1259 /> 1260 <feOffset /> 1261 <feGaussianBlur stdDeviation="1.36042" /> 1262 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1263 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 1264 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1265 <feColorMatrix 1266 in="SourceAlpha" 1267 type="matrix" 1268 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1269 result="hardAlpha" 1270 /> 1271 <feOffset /> 1272 <feGaussianBlur stdDeviation="0.906945" /> 1273 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1274 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 1275 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1276 <feColorMatrix 1277 in="SourceAlpha" 1278 type="matrix" 1279 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1280 result="hardAlpha" 1281 /> 1282 <feOffset dx="-3.62778" dy="9.06945" /> 1283 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1284 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 1285 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1286 </filter> 1287 <filter 1288 id="filter20_i_6984_19390" 1289 x="40.895" 1290 y="64" 1291 width="295.289" 1292 height="192.65" 1293 filterUnits="userSpaceOnUse" 1294 color-interpolation-filters="sRGB" 1295 >
1296 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1297 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1298 <feColorMatrix 1299 in="SourceAlpha" 1300 type="matrix" 1301 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1302 result="hardAlpha" 1303 /> 1304 <feOffset dy="7.77381" /> 1305 <feGaussianBlur stdDeviation="7.77381" /> 1306 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1307 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 1308 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1309 </filter> 1310 <filter 1311 id="filter21_ddi_6984_19390" 1312 x="67.7154" 1313 y="75.0979" 1314 width="114.001" 1315 height="169.447" 1316 filterUnits="userSpaceOnUse" 1317 color-interpolation-filters="sRGB" 1318 > 1319 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1320 <feColorMatrix 1321 in="SourceAlpha" 1322 type="matrix" 1323 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1324 result="hardAlpha" 1325 /> 1326 <feOffset dy="-7.77381" /> 1327 <feGaussianBlur stdDeviation="1.55476" /> 1328 <feComposite in2="hardAlpha" operator="out" /> 1329 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1330 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1331 <feColorMatrix 1332 in="SourceAlpha" 1333 type="matrix" 1334 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1335 result="hardAlpha" 1336 /> 1337 <feOffset dx="-4.66429" dy="7.77381" /> 1338 <feGaussianBlur stdDeviation="1.55476" /> 1339 <feComposite in2="hardAlpha" operator="out" /> 1340 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1341 <feBlend mode="normal" in2="effect1_dropShadow_6984_19390" result="effect2_dropShadow_6984_19390" /> 1342 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19390" result="shape" /> 1343 <feColorMatrix 1344 in="SourceAlpha" 1345 type="matrix" 1346 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1347 result="hardAlpha" 1348 /> 1349 <feOffset /> 1350 <feGaussianBlur stdDeviation="13.2155" /> 1351 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1352 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0" /> 1353 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19390" /> 1354 </filter> 1355 <filter 1356 id="filter22_i_6984_19390" 1357 x="98.9585" 1358 y="115.284" 1359 width="67.2666" 1360 height="99.4462" 1361 filterUnits="userSpaceOnUse" 1362 color-interpolation-filters="sRGB" 1363 > 1364 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1365 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1366 <feColorMatrix 1367 in="SourceAlpha" 1368 type="matrix" 1369 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1370 result="hardAlpha" 1371 /> 1372 <feOffset dy="3.10953" /> 1373 <feGaussianBlur stdDeviation="1.55476" /> 1374 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1375 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1376 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1377 </filter> 1378 <filter 1379 id="filter23_ii_6984_19390" 1380 x="108.874" 1381 y="126.377" 1382 width="47.436" 1383 height="78.8147" 1384 filterUnits="userSpaceOnUse" 1385 color-interpolation-filters="sRGB" 1386 > 1387 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1388 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1389 <feColorMatrix 1390 in="SourceAlpha" 1391 type="matrix" 1392 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1393 result="hardAlpha" 1394 /> 1395 <feOffset dy="7.77381" /> 1396 <feGaussianBlur stdDeviation="4.2756" /> 1397 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1398 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" /> 1399 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1400 <feColorMatrix 1401 in="SourceAlpha" 1402 type="matrix" 1403 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1404 result="hardAlpha" 1405 /> 1406 <feOffset dy="-3.10953" /> 1407 <feGaussianBlur stdDeviation="1.94345" /> 1408 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1409 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0" /> 1410 <feBlend mode="normal" in2="effect1_innerShadow_6984_19390" result="effect2_innerShadow_6984_19390" /> 1411 </filter> 1412 <filter 1413 id="filter24_dii_6984_19390" 1414 x="80.2332" 1415 y="70.9965" 1416 width="104.158" 1417 height="103.909" 1418 filterUnits="userSpaceOnUse" 1419 color-interpolation-filters="sRGB" 1420 >
1421 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1422 <feColorMatrix 1423 in="SourceAlpha" 1424 type="matrix" 1425 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1426 result="hardAlpha" 1427 /> 1428 <feOffset dy="3.10953" /> 1429 <feGaussianBlur stdDeviation="1.55476" /> 1430 <feComposite in2="hardAlpha" operator="out" /> 1431 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0" /> 1432 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1433 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1434 <feColorMatrix 1435 in="SourceAlpha" 1436 type="matrix" 1437 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1438 result="hardAlpha" 1439 /> 1440 <feOffset dx="3.88691" dy="6.99643" /> 1441 <feGaussianBlur stdDeviation="5.05298" /> 1442 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1443 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1444 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1445 <feColorMatrix 1446 in="SourceAlpha" 1447 type="matrix" 1448 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1449 result="hardAlpha" 1450 /> 1451 <feOffset dy="-12.4381" /> 1452 <feGaussianBlur stdDeviation="9.32858" /> 1453 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1454 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1455 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1456 </filter> 1457 <filter 1458 id="filter25_ddi_6984_19390" 1459 x="191.051" 1460 y="75.0979" 1461 width="114.001" 1462 height="169.447" 1463 filterUnits="userSpaceOnUse" 1464 color-interpolation-filters="sRGB" 1465 > 1466 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1467 <feColorMatrix 1468 in="SourceAlpha" 1469 type="matrix" 1470 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1471 result="hardAlpha" 1472 /> 1473 <feOffset dy="-7.77381" /> 1474 <feGaussianBlur stdDeviation="1.55476" /> 1475 <feComposite in2="hardAlpha" operator="out" /> 1476 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1477 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1478 <feColorMatrix 1479 in="SourceAlpha" 1480 type="matrix" 1481 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1482 result="hardAlpha" 1483 /> 1484 <feOffset dx="-4.66429" dy="7.77381" /> 1485 <feGaussianBlur stdDeviation="1.55476" /> 1486 <feComposite in2="hardAlpha" operator="out" /> 1487 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1488 <feBlend mode="normal" in2="effect1_dropShadow_6984_19390" result="effect2_dropShadow_6984_19390" /> 1489 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19390" result="shape" /> 1490 <feColorMatrix 1491 in="SourceAlpha" 1492 type="matrix" 1493 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1494 result="hardAlpha" 1495 /> 1496 <feOffset /> 1497 <feGaussianBlur stdDeviation="13.2155" /> 1498 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1499 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0" /> 1500 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19390" /> 1501 </filter> 1502 <filter 1503 id="filter26_i_6984_19390" 1504 x="211.207" 1505 y="115.284" 1506 width="67.2666" 1507 height="99.4462" 1508 filterUnits="userSpaceOnUse" 1509 color-interpolation-filters="sRGB" 1510 > 1511 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1512 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1513 <feColorMatrix 1514 in="SourceAlpha" 1515 type="matrix" 1516 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1517 result="hardAlpha" 1518 /> 1519 <feOffset dy="3.10953" /> 1520 <feGaussianBlur stdDeviation="1.55476" /> 1521 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1522 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1523 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1524 </filter> 1525 <filter 1526 id="filter27_ii_6984_19390" 1527 x="221.122" 1528 y="126.377" 1529 width="47.436" 1530 height="78.8147" 1531 filterUnits="userSpaceOnUse" 1532 color-interpolation-filters="sRGB" 1533 >
1534 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1535 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1536 <feColorMatrix 1537 in="SourceAlpha" 1538 type="matrix" 1539 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1540 result="hardAlpha" 1541 /> 1542 <feOffset dy="7.77381" /> 1543 <feGaussianBlur stdDeviation="4.2756" /> 1544 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1545 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" /> 1546 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1547 <feColorMatrix 1548 in="SourceAlpha" 1549 type="matrix" 1550 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1551 result="hardAlpha" 1552 /> 1553 <feOffset dy="-3.10953" /> 1554 <feGaussianBlur stdDeviation="1.94345" /> 1555 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1556 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0" /> 1557 <feBlend mode="normal" in2="effect1_innerShadow_6984_19390" result="effect2_innerShadow_6984_19390" /> 1558 </filter> 1559 <filter 1560 id="filter28_dii_6984_19390" 1561 x="192.953" 1562 y="70.9965" 1563 width="104.158" 1564 height="103.909" 1565 filterUnits="userSpaceOnUse" 1566 color-interpolation-filters="sRGB" 1567 > 1568 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1569 <feColorMatrix 1570 in="SourceAlpha" 1571 type="matrix" 1572 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1573 result="hardAlpha" 1574 /> 1575 <feOffset dy="3.10953" /> 1576 <feGaussianBlur stdDeviation="1.55476" /> 1577 <feComposite in2="hardAlpha" operator="out" /> 1578 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0" /> 1579 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1580 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1581 <feColorMatrix 1582 in="SourceAlpha" 1583 type="matrix" 1584 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1585 result="hardAlpha" 1586 /> 1587 <feOffset dx="3.88691" dy="6.99643" /> 1588 <feGaussianBlur stdDeviation="5.05298" /> 1589 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1590 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1591 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1592 <feColorMatrix 1593 in="SourceAlpha" 1594 type="matrix" 1595 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1596 result="hardAlpha" 1597 /> 1598 <feOffset dy="-12.4381" /> 1599 <feGaussianBlur stdDeviation="9.32858" /> 1600 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1601 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1602 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1603 </filter> 1604 <filter 1605 id="filter29_diii_6984_19390" 1606 x="24.9137" 1607 y="195.376" 1608 width="327.278" 1609 height="115.053" 1610 filterUnits="userSpaceOnUse" 1611 color-interpolation-filters="sRGB" 1612 > 1613 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1614 <feColorMatrix 1615 in="SourceAlpha" 1616 type="matrix" 1617 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1618 result="hardAlpha" 1619 /> 1620 <feOffset dy="-7.77381" /> 1621 <feGaussianBlur stdDeviation="3.88691" /> 1622 <feComposite in2="hardAlpha" operator="out" /> 1623 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1624 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1625 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1626 <feColorMatrix 1627 in="SourceAlpha" 1628 type="matrix" 1629 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1630 result="hardAlpha" 1631 /> 1632 <feOffset dy="-24.0988" /> 1633 <feGaussianBlur stdDeviation="4.2756" /> 1634 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1635 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0" /> 1636 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1637 <feColorMatrix 1638 in="SourceAlpha" 1639 type="matrix" 1640 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1641 result="hardAlpha" 1642 /> 1643 <feOffset dy="10.8833" /> 1644 <feGaussianBlur stdDeviation="11.6607" /> 1645 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1646 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1647 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1648 <feColorMatrix 1649 in="SourceAlpha" 1650 type="matrix" 1651 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1652 result="hardAlpha" 1653 /> 1654 <feOffset dy="4.66429" /> 1655 <feGaussianBlur stdDeviation="5.44167" /> 1656 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1657 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 1658 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1659 </filter> 1660 <filter 1661 id="filter30_diii_6984_19390" 1662 x="9.07335" 1663 y="230.353" 1664 width="358.959" 1665 height="115.12" 1666 filterUnits="userSpaceOnUse" 1667 color-interpolation-filters="sRGB" 1668 >
1669 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1670 <feColorMatrix 1671 in="SourceAlpha" 1672 type="matrix" 1673 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1674 result="hardAlpha" 1675 /> 1676 <feOffset dy="-7.77381" /> 1677 <feGaussianBlur stdDeviation="3.88691" /> 1678 <feComposite in2="hardAlpha" operator="out" /> 1679 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1680 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1681 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1682 <feColorMatrix 1683 in="SourceAlpha" 1684 type="matrix" 1685 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1686 result="hardAlpha" 1687 /> 1688 <feOffset dy="-24.0988" /> 1689 <feGaussianBlur stdDeviation="4.2756" /> 1690 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1691 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0" /> 1692 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1693 <feColorMatrix 1694 in="SourceAlpha" 1695 type="matrix" 1696 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1697 result="hardAlpha" 1698 /> 1699 <feOffset dy="10.8833" /> 1700 <feGaussianBlur stdDeviation="11.6607" /> 1701 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1702 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1703 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1704 <feColorMatrix 1705 in="SourceAlpha" 1706 type="matrix" 1707 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1708 result="hardAlpha" 1709 /> 1710 <feOffset dy="4.66429" /> 1711 <feGaussianBlur stdDeviation="5.44167" /> 1712 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1713 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 1714 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1715 </filter> 1716 <filter 1717 id="filter31_diii_6984_19390" 1718 x="0.15978" 1719 y="271.56" 1720 width="376.68" 1721 height="143.565" 1722 filterUnits="userSpaceOnUse" 1723 color-interpolation-filters="sRGB" 1724 > 1725 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1726 <feColorMatrix 1727 in="SourceAlpha" 1728 type="matrix" 1729 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1730 result="hardAlpha" 1731 /> 1732 <feOffset dy="-7.77381" /> 1733 <feGaussianBlur stdDeviation="3.88691" /> 1734 <feComposite in2="hardAlpha" operator="out" /> 1735 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1736 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1737 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19390" result="shape" /> 1738 <feColorMatrix 1739 in="SourceAlpha" 1740 type="matrix" 1741 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1742 result="hardAlpha" 1743 /> 1744 <feOffset dy="-24.0988" /> 1745 <feGaussianBlur stdDeviation="4.2756" /> 1746 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1747 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1748 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19390" /> 1749 <feColorMatrix 1750 in="SourceAlpha" 1751 type="matrix" 1752 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1753 result="hardAlpha" 1754 /> 1755 <feOffset dy="10.8833" /> 1756 <feGaussianBlur stdDeviation="11.272" /> 1757 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1758 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 1759 <feBlend mode="normal" in2="effect2_innerShadow_6984_19390" result="effect3_innerShadow_6984_19390" /> 1760 <feColorMatrix 1761 in="SourceAlpha" 1762 type="matrix" 1763 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1764 result="hardAlpha" 1765 /> 1766 <feOffset dy="20.2119" /> 1767 <feGaussianBlur stdDeviation="5.44167" /> 1768 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1769 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.45 0" /> 1770 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1771 </filter> 1772 <filter 1773 id="filter32_i_6984_19390" 1774 x="21.2974" 1775 y="278.545" 1776 width="115.86" 1777 height="97.9049" 1778 filterUnits="userSpaceOnUse" 1779 color-interpolation-filters="sRGB" 1780 >
1781 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1782 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1783 <feColorMatrix 1784 in="SourceAlpha" 1785 type="matrix" 1786 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1787 result="hardAlpha" 1788 /> 1789 <feOffset dy="10.8833" /> 1790 <feGaussianBlur stdDeviation="3.88691" /> 1791 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1792 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 1793 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1794 </filter> 1795 <filter 1796 id="filter33_i_6984_19390" 1797 x="239.593" 1798 y="278.545" 1799 width="115.86" 1800 height="97.9049" 1801 filterUnits="userSpaceOnUse" 1802 color-interpolation-filters="sRGB" 1803 > 1804 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1805 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 1806 <feColorMatrix 1807 in="SourceAlpha" 1808 type="matrix" 1809 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1810 result="hardAlpha" 1811 /> 1812 <feOffset dy="10.8833" /> 1813 <feGaussianBlur stdDeviation="3.88691" /> 1814 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1815 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 1816 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19390" /> 1817 </filter> 1818 <filter 1819 id="filter34_ddii_6984_19390" 1820 x="37.4079" 1821 y="305.859" 1822 width="81.4188" 1823 height="63.6979" 1824 filterUnits="userSpaceOnUse" 1825 color-interpolation-filters="sRGB" 1826 > 1827 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1828 <feColorMatrix 1829 in="SourceAlpha" 1830 type="matrix" 1831 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1832 result="hardAlpha" 1833 /> 1834 <feOffset dx="-1.55476" dy="3.10953" /> 1835 <feGaussianBlur stdDeviation="1.16607" /> 1836 <feComposite in2="hardAlpha" operator="out" /> 1837 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.7 0" /> 1838 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1839 <feColorMatrix 1840 in="SourceAlpha" 1841 type="matrix" 1842 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1843 result="hardAlpha" 1844 /> 1845 <feOffset dx="-3.10953" dy="-3.10953" /> 1846 <feGaussianBlur stdDeviation="1.55476" /> 1847 <feComposite in2="hardAlpha" operator="out" /> 1848 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" /> 1849 <feBlend mode="normal" in2="effect1_dropShadow_6984_19390" result="effect2_dropShadow_6984_19390" /> 1850 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19390" result="shape" /> 1851 <feColorMatrix 1852 in="SourceAlpha" 1853 type="matrix" 1854 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1855 result="hardAlpha" 1856 /> 1857 <feOffset dy="12.4381" /> 1858 <feGaussianBlur stdDeviation="12.4381" /> 1859 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1860 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 1 0" /> 1861 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19390" /> 1862 <feColorMatrix 1863 in="SourceAlpha" 1864 type="matrix" 1865 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1866 result="hardAlpha" 1867 /> 1868 <feOffset dy="-4.66429" /> 1869 <feGaussianBlur stdDeviation="1.55476" /> 1870 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1871 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 0.35 0" /> 1872 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1873 </filter> 1874 <filter 1875 id="filter35_ddii_6984_19390" 1876 x="258.251" 1877 y="305.859" 1878 width="81.4188" 1879 height="63.6979" 1880 filterUnits="userSpaceOnUse" 1881 color-interpolation-filters="sRGB" 1882 > 1883 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 1884 <feColorMatrix 1885 in="SourceAlpha" 1886 type="matrix" 1887 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1888 result="hardAlpha" 1889 /> 1890 <feOffset dx="1.55476" dy="3.10953" /> 1891 <feGaussianBlur stdDeviation="1.16607" /> 1892 <feComposite in2="hardAlpha" operator="out" /> 1893 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.7 0" />
1894 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19390" /> 1895 <feColorMatrix 1896 in="SourceAlpha" 1897 type="matrix" 1898 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1899 result="hardAlpha" 1900 /> 1901 <feOffset dx="3.10953" dy="-3.10953" /> 1902 <feGaussianBlur stdDeviation="1.55476" /> 1903 <feComposite in2="hardAlpha" operator="out" /> 1904 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" /> 1905 <feBlend mode="normal" in2="effect1_dropShadow_6984_19390" result="effect2_dropShadow_6984_19390" /> 1906 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19390" result="shape" /> 1907 <feColorMatrix 1908 in="SourceAlpha" 1909 type="matrix" 1910 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1911 result="hardAlpha" 1912 /> 1913 <feOffset dy="12.4381" /> 1914 <feGaussianBlur stdDeviation="12.4381" /> 1915 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1916 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 1 0" /> 1917 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19390" /> 1918 <feColorMatrix 1919 in="SourceAlpha" 1920 type="matrix" 1921 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 1922 result="hardAlpha" 1923 /> 1924 <feOffset dy="-4.66429" /> 1925 <feGaussianBlur stdDeviation="1.55476" /> 1926 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 1927 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 0.35 0" /> 1928 <feBlend mode="normal" in2="effect3_innerShadow_6984_19390" result="effect4_innerShadow_6984_19390" /> 1929 </filter> 1930 <radialGradient 1931 id="paint0_radial_6984_19390" 1932 cx="0" 1933 cy="0" 1934 r="1" 1935 gradientUnits="userSpaceOnUse" 1936 gradientTransform="translate(188.38 196.726) scale(117.482 74.814)" 1937 > 1938 <stop offset="0.211538" stop-color="#2C3B1A" /> 1939 <stop offset="1" stop-color="#152011" /> 1940 </radialGradient> 1941 <radialGradient 1942 id="paint1_radial_6984_19390" 1943 cx="0" 1944 cy="0" 1945 r="1" 1946 gradientUnits="userSpaceOnUse" 1947 gradientTransform="translate(188.649 418.754) scale(160.505 51.7542)" 1948 > 1949 <stop stop-color="#6CCF11" /> 1950 <stop offset="1" stop-color="#294D08" /> 1951 </radialGradient> 1952 <linearGradient 1953 id="paint2_linear_6984_19390" 1954 x1="188.645" 1955 y1="167.392" 1956 x2="188.645" 1957 y2="430.419" 1958 gradientUnits="userSpaceOnUse" 1959 > 1960 <stop stop-color="#294D08" /> 1961 <stop offset="1" stop-color="#6CCF11" /> 1962 </linearGradient> 1963 <radialGradient 1964 id="paint3_radial_6984_19390" 1965 cx="0" 1966 cy="0" 1967 r="1" 1968 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 107.115 216.827)" 1969 gradientUnits="userSpaceOnUse" 1970 > 1971 <stop stop-color="white" /> 1972 <stop offset="1" stop-color="white" stop-opacity="0" /> 1973 </radialGradient> 1974 <radialGradient 1975 id="paint4_radial_6984_19390" 1976 cx="0" 1977 cy="0" 1978 r="1" 1979 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 93.122 258.806)" 1980 gradientUnits="userSpaceOnUse" 1981 > 1982 <stop stop-color="white" /> 1983 <stop offset="1" stop-color="white" stop-opacity="0" /> 1984 </radialGradient> 1985 <radialGradient 1986 id="paint5_radial_6984_19390" 1987 cx="0" 1988 cy="0" 1989 r="1" 1990 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 77.5746 300.785)" 1991 gradientUnits="userSpaceOnUse" 1992 > 1993 <stop stop-color="white" /> 1994 <stop offset="1" stop-color="white" stop-opacity="0" /> 1995 </radialGradient> 1996 <radialGradient 1997 id="paint6_radial_6984_19390" 1998 cx="0" 1999 cy="0" 2000 r="1" 2001 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 76.0199 342.763)" 2002 gradientUnits="userSpaceOnUse" 2003 > 2004 <stop stop-color="white" /> 2005 <stop offset="1" stop-color="white" stop-opacity="0" /> 2006 </radialGradient> 2007 <radialGradient 2008 id="paint7_radial_6984_19390" 2009 cx="0" 2010 cy="0" 2011 r="1" 2012 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 111.779 369.194)" 2013 gradientUnits="userSpaceOnUse" 2014 > 2015 <stop stop-color="white" /> 2016 <stop offset="1" stop-color="white" stop-opacity="0" /> 2017 </radialGradient> 2018 <radialGradient 2019 id="paint8_radial_6984_19390" 2020 cx="0" 2021 cy="0" 2022 r="1" 2023 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 163.086 376.191)" 2024 gradientUnits="userSpaceOnUse" 2025 > 2026 <stop stop-color="white" /> 2027 <stop offset="1" stop-color="white" stop-opacity="0" /> 2028 </radialGradient> 2029 <radialGradient 2030 id="paint9_radial_6984_19390" 2031 cx="0" 2032 cy="0" 2033 r="1" 2034 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 269.451 216.827)" 2035 gradientUnits="userSpaceOnUse" 2036 > 2037 <stop stop-color="white" /> 2038 <stop offset="1" stop-color="white" stop-opacity="0" /> 2039 </radialGradient> 2040 <radialGradient 2041 id="paint10_radial_6984_19390" 2042 cx="0" 2043 cy="0" 2044 r="1" 2045 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 283.443 258.806)" 2046 gradientUnits="userSpaceOnUse" 2047 > 2048 <stop stop-color="white" /> 2049 <stop offset="1" stop-color="white" stop-opacity="0" /> 2050 </radialGradient> 2051 <radialGradient 2052 id="paint11_radial_6984_19390" 2053 cx="0" 2054 cy="0" 2055 r="1" 2056 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 298.991 300.785)" 2057 gradientUnits="userSpaceOnUse" 2058 > 2059 <stop stop-color="white" /> 2060 <stop offset="1" stop-color="white" stop-opacity="0" /> 2061 </radialGradient> 2062 <radialGradient 2063 id="paint12_radial_6984_19390" 2064 cx="0" 2065 cy="0" 2066 r="1" 2067 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 300.546 342.763)" 2068 gradientUnits="userSpaceOnUse" 2069 > 2070 <stop stop-color="white" /> 2071 <stop offset="1" stop-color="white" stop-opacity="0" /> 2072 </radialGradient> 2073 <radialGradient 2074 id="paint13_radial_6984_19390" 2075 cx="0" 2076 cy="0" 2077 r="1" 2078 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 264.786 369.194)" 2079 gradientUnits="userSpaceOnUse" 2080 > 2081 <stop stop-color="white" /> 2082 <stop offset="1" stop-color="white" stop-opacity="0" /> 2083 </radialGradient> 2084 <radialGradient 2085 id="paint14_radial_6984_19390" 2086 cx="0" 2087 cy="0" 2088 r="1" 2089 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 213.479 376.191)" 2090 gradientUnits="userSpaceOnUse" 2091 > 2092 <stop stop-color="white" /> 2093 <stop offset="1" stop-color="white" stop-opacity="0" /> 2094 </radialGradient> 2095 <linearGradient 2096 id="paint15_linear_6984_19390" 2097 x1="188.539" 2098 y1="64" 2099 x2="188.539" 2100 y2="248.876" 2101 gradientUnits="userSpaceOnUse" 2102 > 2103 <stop stop-color="#6CCF11" /> 2104 <stop offset="1" stop-color="#294D08" /> 2105 </linearGradient> 2106 <linearGradient 2107 id="paint16_linear_6984_19390" 2108 x1="131.924" 2109 y1="83.4346" 2110 x2="131.924" 2111 y2="167.909" 2112 gradientUnits="userSpaceOnUse" 2113 > 2114 <stop stop-color="#6CCF11" /> 2115 <stop offset="1" stop-color="#294D08" /> 2116 </linearGradient> 2117 <radialGradient 2118 id="paint17_radial_6984_19390" 2119 cx="0" 2120 cy="0" 2121 r="1" 2122 gradientUnits="userSpaceOnUse" 2123 gradientTransform="translate(146.3 108.311) rotate(119.358) scale(28.5417 51.7498)" 2124 > 2125 <stop stop-color="#C9DD91" /> 2126 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 2127 </radialGradient> 2128 <linearGradient 2129 id="paint18_linear_6984_19390" 2130 x1="244.644" 2131 y1="83.4346" 2132 x2="244.644" 2133 y2="167.909" 2134 gradientUnits="userSpaceOnUse" 2135 > 2136 <stop stop-color="#6CCF11" /> 2137 <stop offset="1" stop-color="#294D08" /> 2138 </linearGradient> 2139 <radialGradient 2140 id="paint19_radial_6984_19390" 2141 cx="0" 2142 cy="0" 2143 r="1" 2144 gradientUnits="userSpaceOnUse" 2145 gradientTransform="translate(230.268 108.311) rotate(60.6422)
2145scale(28.5417 51.7498)" 2146 > 2147 <stop stop-color="#C9DD91" /> 2148 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 2149 </radialGradient> 2150 <radialGradient 2151 id="paint20_radial_6984_19390" 2152 cx="0" 2153 cy="0" 2154 r="1" 2155 gradientUnits="userSpaceOnUse" 2156 gradientTransform="translate(188.311 226.465) rotate(90) scale(69.5224 165.055)" 2157 > 2158 <stop stop-color="#6CCF11" /> 2159 <stop offset="1" stop-color="#294D08" /> 2160 </radialGradient> 2161 <radialGradient 2162 id="paint21_radial_6984_19390" 2163 cx="0" 2164 cy="0" 2165 r="1" 2166 gradientUnits="userSpaceOnUse" 2167 gradientTransform="translate(188.311 225.689) rotate(90) scale(54.3751 100.062)" 2168 > 2169 <stop stop-color="#C9DD91" /> 2170 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 2171 </radialGradient> 2172 <radialGradient 2173 id="paint22_radial_6984_19390" 2174 cx="0" 2175 cy="0" 2176 r="1" 2177 gradientUnits="userSpaceOnUse" 2178 gradientTransform="translate(188.286 261.454) rotate(90) scale(69.5756 181.829)" 2179 > 2180 <stop stop-color="#6CCF11" /> 2181 <stop offset="1" stop-color="#294D08" /> 2182 </radialGradient> 2183 <radialGradient 2184 id="paint23_radial_6984_19390" 2185 cx="0" 2186 cy="0" 2187 r="1" 2188 gradientUnits="userSpaceOnUse" 2189 gradientTransform="translate(188.286 260.677) rotate(90) scale(54.4167 110.232)" 2190 > 2191 <stop stop-color="#C9DD91" /> 2192 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 2193 </radialGradient> 2194 <radialGradient 2195 id="paint24_radial_6984_19390" 2196 cx="0" 2197 cy="0" 2198 r="1" 2199 gradientUnits="userSpaceOnUse" 2200 gradientTransform="translate(188.286 324.033) rotate(90) scale(80.459 259.065)" 2201 > 2202 <stop stop-color="#6CCF11" /> 2203 <stop offset="1" stop-color="#294D08" /> 2204 </radialGradient> 2205 <radialGradient 2206 id="paint25_radial_6984_19390" 2207 cx="0" 2208 cy="0" 2209 r="1" 2210 gradientUnits="userSpaceOnUse" 2211 gradientTransform="translate(188.286 315.871) rotate(90) scale(56.7488 101.596)" 2212 > 2213 <stop stop-color="#C9DD91" /> 2214 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 2215 </radialGradient> 2216 <radialGradient 2217 id="paint26_radial_6984_19390" 2218 cx="0" 2219 cy="0" 2220 r="1" 2221 gradientUnits="userSpaceOnUse" 2222 gradientTransform="translate(184.399 331.418) rotate(89.4001) scale(74.244 180.358)" 2223 > 2224 <stop stop-color="#6CCF11" /> 2225 <stop offset="1" stop-color="#294D08" /> 2226 </radialGradient> 2227 <radialGradient 2228 id="paint27_radial_6984_19390" 2229 cx="0" 2230 cy="0" 2231 r="1" 2232 gradientUnits="userSpaceOnUse" 2233 gradientTransform="translate(181.679 313.15) rotate(92.7621) scale(88.7246 206.382)" 2234 > 2235 <stop stop-color="#C9DD91" /> 2236 <stop offset="0.60062" stop-color="#C9DD91" stop-opacity="0" /> 2237 </radialGradient> 2238 <radialGradient 2239 id="paint28_radial_6984_19390" 2240 cx="0" 2241 cy="0" 2242 r="1" 2243 gradientUnits="userSpaceOnUse" 2244 gradientTransform="translate(192.351 331.418) rotate(90.5999) scale(74.244 180.358)" 2245 > 2246 <stop stop-color="#6CCF11" /> 2247 <stop offset="1" stop-color="#294D08" /> 2248 </radialGradient> 2249 <radialGradient 2250 id="paint29_radial_6984_19390" 2251 cx="0" 2252 cy="0" 2253 r="1" 2254 gradientUnits="userSpaceOnUse" 2255 gradientTransform="translate(195.071 313.15) rotate(87.2379) scale(88.7246 206.382)" 2256 > 2257 <stop stop-color="#C9DD91" /> 2258 <stop offset="0.60062" stop-color="#C9DD91" stop-opacity="0" /> 2259 </radialGradient> 2260 </defs> 2261</svg> 2262`,JP=`<svg width="376" height="560" viewBox="0 0 376 560" fill="none" xmlns="http://www.w3.org/2000/svg"> 2263 <g filter="url(#filter0_d_6984_19016)"> 2264 <g filter="url(#filter1_d_6984_19016)"> 2265 <g filter="url(#filter2_i_6984_19016)"> 2266 <path 2267 d="M336.795 135.18C300.134 89.0893 228.801 87.8455 210.361 87.8455H166.976C148.536 87.8455 77.2038 89.0893 40.5425 135.18C40.5425 135.18 17.1356 162.622 19.802 184.971L25.2825 226.748H31.8125C30.903 218.997 32.1779 210.641 36.5235 201.499C39.7729 194.518 44.0174 188.174 48.9538 182.398C59.1297 170.466 72.2675 160.95 85.8483 153.223C107.397 140.956 128.239 135.491 153.037 134.271C164.83 133.579 176.662 133.314 188.665 133.143C200.675 133.314 212.499 133.579 224.292 134.271C249.091 135.491 269.932 140.956 291.481 153.223C305.062 160.95 318.2 170.466 328.376 182.398C333.312 188.174 337.557 194.518 340.806 201.499C345.152 210.641 346.427 218.997 345.517 226.748H352.047L357.528 184.971C360.194 162.622 336.787 135.18 336.787 135.18H336.795Z" 2268 fill="url(#paint0_radial_6984_19016)" 2269 /> 2270 </g>
2271 <g filter="url(#filter3_i_6984_19016)"> 2272 <path 2273 d="M325.888 175.86C281.904 121.086 193.959 127.266 188.665 127.686C183.371 127.259 95.4332 121.086 51.4412 175.86L48.9458 182.398C48.9458 182.398 58.6164 227.805 83.2672 261.831H294.046C318.697 227.805 328.368 182.398 328.368 182.398L325.872 175.86H325.888Z" 2274 fill="url(#paint1_radial_6984_19016)" 2275 /> 2276 </g> 2277 <path 2278 d="M50.2134 173.039C50.7731 176.265 51.3168 179.367 51.8843 182.399C56.8595 208.861 63.8483 230.153 99.522 284.329L74.9575 289.296C58.306 273.57 38.0551 258.838 30.3823 236.302C26.0135 223.235 27.6847 211.146 33.0796 198.669C37.2697 189.271 43.1703 180.727 50.2134 173.039ZM327.124 173.039C334.167 180.727 340.067 189.27 344.257 198.668C349.652 211.145 351.323 223.234 346.955 236.302C339.282 258.838 319.032 273.57 302.38 289.296L277.815 284.329C313.489 230.153 320.477 208.86 325.453 182.398C326.02 179.366 326.564 176.265 327.124 173.039Z" 2279 fill="#411010" 2280 /> 2281 <g filter="url(#filter4_i_6984_19016)"> 2282 <path 2283 d="M347.188 198.669C342.998 189.27 337.098 180.727 330.055 173.039C313.924 155.431 291.808 142.34 270.523 133.867C255.986 128.394 240.228 125.758 224.976 124.623C218.571 124.126 212.095 123.768 205.682 123.473C200.108 123.216 194.511 123.092 188.921 123.084C188.836 123.084 188.75 123.084 188.665 123.084C188.579 123.084 188.494 123.084 188.408 123.084C188.4 123.084 188.416 123.084 188.408 123.084C182.827 123.092 177.229 123.216 171.648 123.473C165.234 123.768 158.759 124.126 152.353 124.623C137.101 125.758 121.344 128.394 106.806 133.867C85.5218 142.34 63.4053 155.431 47.2746 173.039C40.2315 180.727 34.3312 189.27 30.1411 198.669C26.0832 208.052 24.132 217.217 25.2747 226.748C25.6479 229.889 26.3631 233.068 27.4436 236.302C35.1164 258.838 55.3672 273.57 72.0187 289.296C72.9748 290.19 73.9155 291.1 74.8483 292.009L78.3388 288.503C76.9395 287.104 75.5091 285.705 74.0399 284.305C56.2845 267.281 34.4945 249.673 31.8047 226.748C30.8952 218.998 32.1701 210.641 36.5157 201.499C39.7651 194.518 44.0096 188.174 48.946 182.398C59.1219 170.466 72.2597 160.95 85.8405 153.223C107.39 140.956 128.231 135.491 153.03 134.271C164.822 133.579 176.654 133.315 188.657 133.144C200.668 133.315 212.492 133.579 224.284 134.271C249.083 135.491 269.924 140.956 291.473 153.223C305.054 160.95 318.192 170.466 328.368 182.398C333.304 188.174 337.549 194.518 340.798 201.499C345.144 210.641 346.419 218.998 345.509 226.748C342.819 249.673 321.03 267.281 303.274 284.305C301.805 285.705 300.374 287.104 298.975 288.503L302.466 292.009C303.398 291.1 304.339 290.19 305.295 289.296C321.947 273.57 342.198 258.838 349.87 236.302C350.951 233.068 351.666 229.889 352.039 226.748C353.182 217.217 351.231 208.052 347.173 198.669H347.188Z" 2284 fill="url(#paint2_linear_6984_19016)" 2285 /> 2286 </g> 2287 <g filter="url(#filter5_di_6984_19016)"> 2288 <path 2289 d="M32.0068 155.602C31.7425 174.865 26.8372 192.652 25.8733 194.292C25.7644 194.292 25.6245 194.3 25.5234 194.308C25.0337 192.971 25.0337 190.903 25.0337 171.173C25.2902 162.489 27.7079 154.094 32.0068 146.149V155.602Z" 2290 fill="#CCCCCC" 2291 /> 2292 </g> 2293 <g filter="url(#filter6_di_6984_19016)"> 2294 <path 2295 d="M53.8591 130.189C53.3071 151.225 41.693 170.302 36.9044 165.856C34.0747 163.22 34.0747 156.752 34.0747 142.589C38.9256 134.776 45.6188 127.445 53.8591 120.744V130.197" 2296 fill="#CCCCCC" 2297 /> 2298 </g> 2299 <g filter="url(#filter7_di_6984_19016)"> 2300 <path 2301 d="M88.017 109.845C87.1697 133.182 69.0567 148.45 61.6016 140.909C57.6836 136.953 57.6836 131.332 57.6836 117.743C66.3825 111.245 76.5895 105.399 88.017 100.392V109.845Z" 2302 fill="#CCCCCC" 2303 /> 2304 </g> 2305 <g filter="url(#filter8_di_6984_19016)"> 2306 <path 2307 d="M131.908 96.0699C130.874 119.321 107.475 132.879 97.3615 120.9C93.2803 116.056 93.2803 112.271 93.2803 98.1844C105.073 93.4268 118.04 89.5166 131.908 86.6248C131.908 89.7732 131.978 92.9215 131.908 96.0777" 2308 fill="#CCCCCC" 2309 /> 2310 </g> 2311 <g filter="url(#filter9_di_6984_19016)"> 2312 <path 2313 d="M182.928 90.3719C181.676 115.225 154.063 121.483 143.118 108.858C138.244 103.238 138.244 99.4517 138.244 85.3889C152.376 82.8002 167.364 81.2532 182.928 80.9189V90.3719Z" 2314 fill="#CCCCCC" 2315 /> 2316 </g>
2317 <g filter="url(#filter10_di_6984_19016)"> 2318 <path 2319 d="M234.927 93.8778C233.831 117.44 209.242 119.803 196.796 106.914C189.994 99.8636 189.994 94.6863 189.994 80.8489C205.565 80.88 220.639 82.1238 234.927 84.4248V93.8778Z" 2320 fill="#CCCCCC" 2321 /> 2322 </g> 2323 <g filter="url(#filter11_di_6984_19016)"> 2324 <path 2325 d="M280.684 105.78C279.79 128.168 260.215 127.585 248.92 114.548C241.34 105.803 241.34 99.4517 241.34 85.5366C255.388 88.1564 268.603 91.8023 280.691 96.3267V105.78" 2326 fill="#CCCCCC" 2327 /> 2328 </g> 2329 <g filter="url(#filter12_di_6984_19016)"> 2330 <path 2331 d="M317.485 124.631C316.878 144.882 304.899 143.101 296.488 134.037C286.063 122.796 286.063 111.509 286.063 98.4409C297.801 103.222 308.374 108.858 317.485 115.186C317.485 116.414 317.485 118.046 317.485 119.267V121.311C317.485 122.307 317.5 123.644 317.485 124.639" 2332 fill="#CCCCCC" 2333 /> 2334 </g> 2335 <g filter="url(#filter13_di_6984_19016)"> 2336 <path 2337 d="M342.656 148.971C342.314 168.125 336.018 163.889 333.32 161.183C321.504 149.29 321.504 127.422 321.504 118.085C330.164 124.615 337.308 131.814 342.656 139.518V148.971Z" 2338 fill="#CCCCCC" 2339 /> 2340 </g> 2341 <g filter="url(#filter14_di_6984_19016)"> 2342 <path 2343 d="M353.509 177.369C353.478 188.796 353.167 190.794 352.436 191.183C352.358 191.144 344.95 180.727 344.95 143.047C349.746 150.906 352.692 159.248 353.501 167.923V177.376" 2344 fill="#CCCCCC" 2345 /> 2346 </g> 2347 <g filter="url(#filter15_iii_6984_19016)"> 2348 <path 2349 d="M344.401 429.124C343.553 423.34 342.566 417.751 341.4 412.068C337.451 391.693 329.91 371.535 322.618 352.038C320.792 347.164 318.91 342.119 317.13 337.206C315.086 331.858 313.857 327.769 313.15 323.913C311.867 315.587 310.647 306.974 309.473 298.64C308.835 294.116 308.198 289.591 307.545 285.083L307.483 284.647L304.35 279.975C297.058 269.092 286.315 261.404 274.094 258.325C269.928 257.276 265.629 256.739 261.33 256.739H120.554C116.255 256.739 111.956 257.268 107.789 258.325C95.5686 261.404 84.8252 269.1 77.5334 279.975L74.4005 284.647L74.3383 285.083C73.6853 289.591 73.0479 294.116 72.4104 298.64C71.2366 306.974 70.0239 315.587 68.7334 323.913C68.026 327.769 66.7977 331.858 64.7532 337.206C62.973 342.119 61.0917 347.164 59.2649 352.038C51.9731 371.535 44.4325 391.693 40.4834 412.068C39.3173 417.743 38.33 423.332 37.4827 429.124C36.8996 432.676 36.4177 436.571 36.8763 440.994C40.8254 476.676 101.601 487.264 133.217 487.87C143.385 487.886 153.18 487.894 161.732 487.894C177.427 487.894 189.142 487.878 190.93 487.87C192.718 487.87 204.441 487.894 220.128 487.894C228.68 487.894 238.482 487.894 248.643 487.87C280.259 487.256 341.035 476.668 344.984 440.994C345.442 436.571 344.96 432.676 344.377 429.124H344.401Z" 2350 fill="#B01C1F" 2351 /> 2352 </g> 2353 <g filter="url(#filter16_i_6984_19016)"> 2354 <path 2355 d="M305.326 267.825C300.335 238.564 268.719 230.884 247.224 230.884H134.201C112.706 230.884 81.0903 238.564 76.0995 267.825L73.231 289.553L78.9214 281.056C85.7779 270.81 96.0782 263.223 108.034 260.206C112.015 259.204 116.142 258.683 120.325 258.683H261.101C265.283 258.683 269.411 259.204 273.391 260.206C285.347 263.223 295.64 270.81 302.504 281.056L308.194 289.553L305.326 267.825Z" 2356 fill="url(#paint3_radial_6984_19016)" 2357 /> 2358 </g> 2359 <g filter="url(#filter17_i_6984_19016)"> 2360 <path 2361 d="M350.173 430.717L347.872 430.492C347.88 430.569 347.896 430.639 347.903 430.717C348.315 433.22 348.51 435.63 348.51 437.947C348.51 482.6 275.786 493.91 243.796 493.91H138.158C106.169 493.91 33.4449 482.6 33.4449 437.947C33.4449 435.63 33.6392 433.22 34.0512 430.717C34.059 430.639 34.0745 430.569 34.0823 430.492L31.7813 430.717C31.7813 430.717 28.1587 443.575 32.9862 465.521C37.8137 487.474 48.7904 510.515 78.1987 520.831C107.615 531.147 152.944 534 190.981 534C229.018 534 274.348 531.147 303.764 520.831C333.172 510.515 344.149 487.474 348.976 465.521C353.804 443.575 350.181 430.717 350.181 430.717H350.173Z" 2362 fill="url(#paint4_radial_6984_19016)" 2363 /> 2364 </g> 2365 <g filter="url(#filter18_dii_6984_19016)"> 2366 <path 2367 d="M350.173 430.717C347.095 410.062 341.762 389.819 334.253 370.338L319.793 332.79C318.2 328.663 317.065 324.379 316.396 320.003
2367L308.412 267.825C303.422 238.564 271.805 230.884 250.311 230.884H131.644C110.149 230.884 78.5329 238.564 73.5421 267.825L65.5584 320.003C64.8898 324.379 63.7549 328.663 62.1612 332.79L47.7019 370.338C40.1924 389.819 34.8596 410.062 31.7812 430.717C31.3692 433.22 31.1748 435.63 31.1748 437.947C31.1748 482.6 103.899 493.911 135.888 493.911H246.066C278.056 493.911 350.78 482.6 350.78 437.947C350.78 435.63 350.585 433.22 350.173 430.717ZM343.099 440.784C339.228 475.751 277.154 485.383 248.686 485.935C217.995 485.981 190.973 485.935 190.973 485.935C190.973 485.935 163.952 485.981 133.261 485.935C104.793 485.383 42.7189 475.751 38.8476 440.784C38.4433 436.89 38.7854 433.407 39.4384 429.442C40.2779 423.729 41.2652 418.1 42.4235 412.464C47.3443 387.075 57.8312 362.152 66.6156 337.875C68.3025 333.467 69.8262 328.911 70.6813 324.27C73.1612 308.264 75.2601 291.916 77.6855 275.925C78.4707 270.631 78.9993 264.925 81.2615 260.121C90.9399 239.606 116.912 235.369 137.521 235.96C166.789 236.108 161.759 236.154 190.973 236.675C220.187 236.154 215.158 236.108 244.426 235.96C265.034 235.369 291.007 239.606 300.685 260.121C302.947 264.925 303.476 270.631 304.261 275.925C306.687 291.916 308.785 308.264 311.265 324.27C312.12 328.911 313.644 333.467 315.331 337.875C324.115 362.152 334.602 387.075 339.523 412.464C340.681 418.1 341.669 423.729 342.508 429.442C343.161 433.407 343.503 436.89 343.099 440.784Z" 2368 fill="url(#paint5_linear_6984_19016)" 2369 /> 2370 </g> 2371 <g filter="url(#filter19_f_6984_19016)"> 2372 <path 2373 d="M235.476 295.575C232.891 291.55 228.893 289.187 224.648 289.187H157.298C153.052 289.187 149.055 291.543 146.47 295.575C137.465 3
237309.59 118.635 345.444 126.298 390.641C136.228 449.222 190.973 442.054 190.973 442.054C190.973 442.054 245.724 449.214 255.647 390.641C263.304 345.444 244.474 309.59 235.476 295.575Z" 2374 stroke="#411010" 2375 stroke-opacity="0.5" 2376 stroke-width="16.325" 2377 /> 2378 </g> 2379 <g filter="url(#filter20_f_6984_19016)"> 2380 <ellipse cx="191.004" cy="336.219" rx="5.05298" ry="47.0316" fill="#411010" fill-opacity="0.3" /> 2381 </g> 2382 <g filter="url(#filter21_di_6984_19016)"> 2383 <rect x="138.534" y="471.093" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2384 </g> 2385 <g filter="url(#filter22_di_6984_19016)"> 2386 <rect x="191.396" y="471.093" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2387 </g> 2388 <g filter="url(#filter23_di_6984_19016)"> 2389 <rect x="241.926" y="464.097" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2390 </g> 2391 <g filter="url(#filter24_di_6984_19016)"> 2392 <rect x="277.686" y="437.666" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2393 </g> 2394 <g filter="url(#filter25_di_6984_19016)"> 2395 <rect x="276.13" y="395.687" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2396 </g> 2397 <g filter="url(#filter26_di_6984_19016)"> 2398 <rect x="260.583" y="353.709" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2399 </g> 2400 <g filter="url(#filter27_di_6984_19016)"> 2401 <rect x="246.59" y="311.73" width="51.3072" height="7.77381" rx="3.88691" fill="#010101" /> 2402 </g> 2403 <g filter="url(#filter28_di_6984_19016)"> 2404 <rect 2405 width="49.7524" 2406 height="7.77381" 2407 rx="3.88691" 2408 transform="matrix(-1 0 0 1 138.534 464.097)" 2409 fill="#010101" 2410 /> 2411 </g> 2412 <g filter="url(#filter29_di_6984_19016)"> 2413 <rect 2414 width="51.3072" 2415 height="7.77381" 2416 rx="3.88691" 2417 transform="matrix(-1 0 0 1 103.552 437.666)" 2418 fill="#010101" 2419 /> 2420 </g> 2421 <g filter="url(#filter30_di_6984_19016)"> 2422 <rect 2423 width="51.3072" 2424 height="7.77381" 2425 rx="3.88691" 2426 transform="matrix(-1 0 0 1 105.106 395.687)" 2427 fill="#010101" 2428 /> 2429 </g> 2430 <g filter="url(#filter31_di_6984_19016)"> 2431 <rect 2432 width="51.3072" 2433 height="7.77381" 2434 rx="3.88691" 2435 transform="matrix(-1 0 0 1 120.654 353.709)" 2436 fill="#010101" 2437 /> 2438 </g> 2439 <g filter="url(#filter32_di_6984_19016)"> 2440 <rect 2441 width="51.3072" 2442 height="7.77381" 2443 rx="3.88691" 2444 transform="matrix(-1 0 0 1 134.647 311.73)" 2445 fill="#010101" 2446 /> 2447 </g> 2448 <path 2449 d="M18.9076 182.103C18.8765 183.564 18.9387 185.01 19.1097 186.433L19.3663 188.4L19.4207 188.446L19.1097 186.052C18.9542 184.754 18.8921 183.432 18.9076 182.103Z" 2450 fill="#32329B" 2451 /> 2452 <path 2453 d="M357.146 182.103C357.154 183.432 357.1 184.754 356.944 186.052L356.633 188.446C356.633 188.446 356.657 188.431 356.688 188.4L356.944 186.433C357.115 185.01 357.177 183.556 357.146 182.103Z" 2454 fill="#32329B" 2455 /> 2456 <g filter="url(#filter45_i_6984_19016)"> 2457 <path 2458 d="M368.045 155.05C367.167 129.808 355.537 25.9114 305.49 20.3531C255.442 14.7948 240.609 15.3701 240.609 15.3701C223.864 10.1461 206.498 7.79064 188.976 7.77509C176.67 7.75955 164.333 8.68463 152.252 11.1023C146.577 12.2295 140.964 13.6443 135.437 15.3701C135.437 15.3701 120.605 14.7948 70.5571 20.3531C20.517 25.9114 8.88739 129.808 8.00895 155.05C7.24711 176.949 12.5178 181.465 13.9248 182.282C7.71354 172.059 2.61393 149.911 38.1169 116.259C38.8632 115.551 39.6173 114.859 40.3869 114.175C65.6596 91.639 100.377 81.8984 133.253 77.4596C151.195 75.0419 169.09 74.6143 187.164 74.6688C205.86 74.7309 224.626 74.9797 243.182 77.5062C276.874 82.0928 312.68 92.3075 337.945 116.259C373.448 149.919 368.356 172.059 362.137 182.282C363.544 181.473 368.815 176.957 368.053 155.05H368.045Z" 2459 fill="url(#paint18_radial_6984_19016)" 2460 /> 2461 <path 2462 d="M368.045 155.05C367.167 129.808 355.537 25.9114 305.49 20.3531C255.442 14.7948 240.609 15.3701 240.609 15.3701C223.864 10.1461 206.498 7.79064 188.976 7.77509C176.67 7.75955 164.333 8.68463 152.252 11.1023C146.577 12.2295 140.964 13.6443 135.437 15.3701C135.437 15.3701 120.605 14.7948 70.5571 20.3531C20.517 25.9114 8.88739 129.808 8.00895 155.05C7.24711 176.949 12.5178 181.465 13.9248 182.282C7.71354 172.059 2.61393 149.911 38.1169 116.259C38.8632 115.551 39.6173 114.859 40.3869 114.175C65.6596 91.639 100.377 81.8984 133.253 77.4596C151.195 75.0419 169.09 74.6143 187.164 74.6688C205.86 74.7309 224.626 74.9797 243.182 77.5062C276.874 82.0928 312.68 92.3075 337.945 116.259C373.448 149.919 368.356 172.059 362.137 182.282C363.544 181.473 368.815 176.957 368.053 155.05H368.045Z" 2463 fill="url(#paint19_radial_6984_19016)" 2464 /> 2465 </g>
2466 <g filter="url(#filter46_i_6984_19016)"> 2467 <path 2468 d="M138.119 18.7984C136.572 16.5284 133.75 14.6005 129.226 11.9496C124.632 9.291 119.851 6.94331 114.736 4.98431C90.7457 -4.52307 63.0943 -0.67503 45.2611 18.6507C36.5078 28.3446 32.5121 40.5573 34.4477 52.3035C36.9509 65.9077 50.1742 71.7536 63.2186 71.1161C69.4299 70.9218 76.3952 69.1338 82.8397 66.7628C98.4884 61.2278 119.695 49.4583 129.996 39.1269C135.235 34.0895 142.278 25.4994 138.15 18.8528L138.112 18.7984H138.119Z" 2469 fill="url(#paint20_radial_6984_19016)" 2470 /> 2471 <path 2472 d="M138.119 18.7984C136.572 16.5284 133.75 14.6005 129.226 11.9496C124.632 9.291 119.851 6.94331 114.736 4.98431C90.7457 -4.52307 63.0943 -0.67503 45.2611 18.6507C36.5078 28.3446 32.5121 40.5573 34.4477 52.3035C36.9509 65.9077 50.1742 71.7536 63.2186 71.1161C69.4299 70.9218 76.3952 69.1338 82.8397 66.7628C98.4884 61.2278 119.695 49.4583 129.996 39.1269C135.235 34.0895 142.278 25.4994 138.15 18.8528L138.112 18.7984H138.119Z" 2473 fill="url(#paint21_radial_6984_19016)" 2474 /> 2475 </g> 2476 <g filter="url(#filter47_i_6984_19016)"> 2477 <path 2478 d="M237.755 18.7984C239.302 16.5284 242.124 14.6005 246.648 11.9496C251.243 9.291 256.024 6.94331 261.139 4.98431C285.129 -4.52307 312.78 -0.67503 330.613 18.6507C339.367 28.3446 343.362 40.5573 341.427 52.3035C338.924 65.9077 325.7 71.7536 312.656 71.1161C306.445 70.9218 299.479 69.1338 293.035 66.7628C277.386 61.2278 256.179 49.4583 245.879 39.1269C240.639 34.0895 233.596 25.4994 237.724 18.8528L237.763 18.7984H237.755Z" 2479 fill="url(#paint22_radial_6984_19016)" 2480 /> 2481 <path 2482 d="M237.755 18.7984C239.302 16.5284 242.124 14.6005 246.648 11.9496C251.243 9.291 256.024 6.94331 261.139 4.98431C285.129 -4.52307 312.78 -0.67503 330.613 18.6507C339.367 28.3446 343.362 40.5573 341.427 52.3035C338.924 65.9077 325.7 71.7536 312.656 71.1161C306.445 70.9218 299.479 69.1338 293.035 66.7628C277.386 61.2278 256.179 49.4583 245.879 39.1269C240.639 34.0895 233.596 25.4994 237.724 18.8528L237.763 18.7984H237.755Z" 2483 fill="url(#paint23_radial_6984_19016)" 2484 /> 2485 </g> 2486 <g filter="url(#filter48_ddii_6984_19016)"> 2487 <path 2488 d="M91.2274 11.4366C79.4189 10.7447 65.8847 13.0224 58.8727 23.8125C56.5639 27.3496 54.5427 32.1227 54.1618 36.4838C52.6537 53.5706 71.3031 50.2979 82.6373 48.1134C94.9121 45.4392 112.636 41.77 119.594 31.2676C124.81 22.3821 116.757 17.3447 109.029 14.9348C103.347 12.9991 97.3376 11.8252 91.3828 11.4443H91.2274V11.4366Z" 2489 fill="#162309" 2490 /> 2491 </g> 2492 <g filter="url(#filter49_di_6984_19016)"> 2493 <path 2494 d="M337.937 116.251C312.68 92.3077 276.866 82.0929 243.175 77.4986C224.619 74.9721 205.853 74.7156 187.157 74.6612C169.082 74.6067 151.187 75.0265 133.245 77.452C100.37 81.883 65.6518 91.6236 40.3792 114.168C39.6096 114.852 38.8555 115.544 38.1092 116.251C-12.5216 164.247 19.4132 188.827 19.4132 188.827L19.1022 186.433C16.4358 164.083 39.8428 136.642 39.8428 136.642C61.454 109.472 95.9775 96.8243 129.343 91.9035C152.602 88.4752 176.219 88.3897 199.672 88.965C215.554 89.3537 231.39 89.618 247.124 91.9657C278.965 96.7233 311.771 108.477 333.452 133.353C334.393 134.426 335.263 135.553 336.188 136.642C336.188 136.642 359.595 164.083 356.929 186.433L356.618 188.827C356.618 188.827 388.553 164.247 337.922 116.251H337.937Z" 2495 fill="url(#paint24_linear_6984_19016)" 2496 /> 2497 </g> 2498 <g filter="url(#filter50_ddii_6984_19016)"> 2499 <path 2500 d="M285.166 11.4366C296.974 10.7447 310.508 13.0224 317.52 23.8125C319.829 27.3496 321.85 32.1227 322.231 36.4838C323.739 53.5706 305.09 50.2979 293.756 48.1134C281.481 45.4392 263.757 41.77 256.799 31.2676C251.583 22.3821 259.637 17.3447 267.364 14.9348C273.046 12.9991 279.056 11.8252 285.01 11.4443H285.166V11.4366Z" 2501 fill="#162309" 2502 /> 2503 </g> 2504 </g> 2505 </g> 2506 <defs> 2507 <filter 2508 id="filter0_d_6984_19016" 2509 x="0.937649" 2510 y="0" 2511 width="374.993" 2512 height="559.654" 2513 filterUnits="userSpaceOnUse" 2514 color-interpolation-filters="sRGB" 2515 > 2516 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2517 <feColorMatrix 2518 in="SourceAlpha" 2519 type="matrix" 2520 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2521 result="hardAlpha" 2522 /> 2523 <feOffset dy="18.6572" /> 2524 <feGaussianBlur stdDeviation="3.49822" /> 2525 <feComposite in2="hardAlpha" operator="out" /> 2526 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
2527 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2528 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2529 </filter> 2530 <filter 2531 id="filter1_d_6984_19016" 2532 x="0.937649" 2533 y="0.00012207" 2534 width="374.187" 2535 height="559.653" 2536 filterUnits="userSpaceOnUse" 2537 color-interpolation-filters="sRGB" 2538 > 2539 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2540 <feColorMatrix 2541 in="SourceAlpha" 2542 type="matrix" 2543 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2544 result="hardAlpha" 2545 /> 2546 <feOffset dy="18.6572" /> 2547 <feGaussianBlur stdDeviation="3.49822" /> 2548 <feComposite in2="hardAlpha" operator="out" /> 2549 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2550 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2551 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2552 </filter> 2553 <filter 2554 id="filter2_i_6984_19016" 2555 x="19.5903" 2556 y="85.5133" 2557 width="338.149" 2558 height="141.235" 2559 filterUnits="userSpaceOnUse" 2560 color-interpolation-filters="sRGB" 2561 > 2562 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2563 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 2564 <feColorMatrix 2565 in="SourceAlpha" 2566 type="matrix" 2567 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2568 result="hardAlpha" 2569 /> 2570 <feOffset dy="-10.8833" /> 2571 <feGaussianBlur stdDeviation="1.16607" /> 2572 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2573 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2574 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 2575 </filter> 2576 <filter 2577 id="filter3_i_6984_19016" 2578 x="48.9458" 2579 y="127.273" 2580 width="279.422" 2581 height="137.667" 2582 filterUnits="userSpaceOnUse" 2583 color-interpolation-filters="sRGB" 2584 > 2585 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2586 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 2587 <feColorMatrix 2588 in="SourceAlpha" 2589 type="matrix" 2590 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2591 result="hardAlpha" 2592 /> 2593 <feOffset dy="3.10953" /> 2594 <feGaussianBlur stdDeviation="28.7631" /> 2595 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2596 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 2597 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 2598 </filter> 2599 <filter 2600 id="filter4_i_6984_19016" 2601 x="24.9517" 2602 y="123.084" 2603 width="327.411" 2604 height="172.035" 2605 filterUnits="userSpaceOnUse" 2606 color-interpolation-filters="sRGB" 2607 > 2608 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2609 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 2610 <feColorMatrix 2611 in="SourceAlpha" 2612 type="matrix" 2613 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2614 result="hardAlpha" 2615 /> 2616 <feOffset dy="3.10953" /> 2617 <feGaussianBlur stdDeviation="19.0458" /> 2618 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2619 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2620 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 2621 </filter> 2622 <filter 2623 id="filter5_di_6984_19016" 2624 x="23.4789" 2625 y="146.149" 2626 width="10.0827" 2627 height="52.0456" 2628 filterUnits="userSpaceOnUse" 2629 color-interpolation-filters="sRGB" 2630 > 2631 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2632 <feColorMatrix 2633 in="SourceAlpha" 2634 type="matrix" 2635 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2636 result="hardAlpha" 2637 /> 2638 <feOffset dy="2.33214" /> 2639 <feGaussianBlur stdDeviation="0.777381" /> 2640 <feComposite in2="hardAlpha" operator="out" /> 2641 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2642 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2643 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2644 <feColorMatrix 2645 in="SourceAlpha" 2646 type="matrix" 2647 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2648 result="hardAlpha" 2649 /> 2650 <feOffset dy="3.10953" /> 2651 <feGaussianBlur stdDeviation="6.21905" /> 2652 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2653 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2654 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2655 </filter> 2656 <filter 2657 id="filter6_di_6984_19016" 2658 x="32.5199" 2659 y="120.744" 2660 width="22.8937" 2661 height="49.6481" 2662 filterUnits="userSpaceOnUse" 2663 color-interpolation-filters="sRGB" 2664 >
2665 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2666 <feColorMatrix 2667 in="SourceAlpha" 2668 type="matrix" 2669 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2670 result="hardAlpha" 2671 /> 2672 <feOffset dy="2.33214" /> 2673 <feGaussianBlur stdDeviation="0.777381" /> 2674 <feComposite in2="hardAlpha" operator="out" /> 2675 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2676 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2677 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2678 <feColorMatrix 2679 in="SourceAlpha" 2680 type="matrix" 2681 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2682 result="hardAlpha" 2683 /> 2684 <feOffset dy="3.10953" /> 2685 <feGaussianBlur stdDeviation="6.21905" /> 2686 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2687 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2688 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2689 </filter> 2690 <filter 2691 id="filter7_di_6984_19016" 2692 x="56.1288" 2693 y="100.392" 2694 width="33.443" 2695 height="46.3464" 2696 filterUnits="userSpaceOnUse" 2697 color-interpolation-filters="sRGB" 2698 > 2699 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2700 <feColorMatrix 2701 in="SourceAlpha" 2702 type="matrix" 2703 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2704 result="hardAlpha" 2705 /> 2706 <feOffset dy="2.33214" /> 2707 <feGaussianBlur stdDeviation="0.777381" /> 2708 <feComposite in2="hardAlpha" operator="out" /> 2709 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2710 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2711 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2712 <feColorMatrix 2713 in="SourceAlpha" 2714 type="matrix" 2715 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2716 result="hardAlpha" 2717 /> 2718 <feOffset dy="3.10953" /> 2719 <feGaussianBlur stdDeviation="6.21905" /> 2720 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2721 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2722 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2723 </filter> 2724 <filter 2725 id="filter8_di_6984_19016" 2726 x="91.7255" 2727 y="86.6248" 2728 width="41.7687" 2729 height="42.6071" 2730 filterUnits="userSpaceOnUse" 2731 color-interpolation-filters="sRGB" 2732 > 2733 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2734 <feColorMatrix 2735 in="SourceAlpha" 2736 type="matrix" 2737 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2738 result="hardAlpha" 2739 /> 2740 <feOffset dy="2.33214" /> 2741 <feGaussianBlur stdDeviation="0.777381" /> 2742 <feComposite in2="hardAlpha" operator="out" /> 2743 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2744 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2745 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2746 <feColorMatrix 2747 in="SourceAlpha" 2748 type="matrix" 2749 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2750 result="hardAlpha" 2751 /> 2752 <feOffset dy="3.10953" /> 2753 <feGaussianBlur stdDeviation="6.21905" /> 2754 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2755 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2756 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2757 </filter> 2758 <filter 2759 id="filter9_di_6984_19016" 2760 x="136.689" 2761 y="80.9189" 2762 width="47.7936" 2763 height="38.1674" 2764 filterUnits="userSpaceOnUse" 2765 color-interpolation-filters="sRGB" 2766 > 2767 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2768 <feColorMatrix 2769 in="SourceAlpha" 2770 type="matrix" 2771 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2772 result="hardAlpha" 2773 /> 2774 <feOffset dy="2.33214" /> 2775 <feGaussianBlur stdDeviation="0.777381" /> 2776 <feComposite in2="hardAlpha" operator="out" /> 2777 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
2778 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2779 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2780 <feColorMatrix 2781 in="SourceAlpha" 2782 type="matrix" 2783 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2784 result="hardAlpha" 2785 /> 2786 <feOffset dy="3.10953" /> 2787 <feGaussianBlur stdDeviation="6.21905" /> 2788 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2789 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2790 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2791 </filter> 2792 <filter 2793 id="filter10_di_6984_19016" 2794 x="188.439" 2795 y="80.8489" 2796 width="48.0421" 2797 height="37.7206" 2798 filterUnits="userSpaceOnUse" 2799 color-interpolation-filters="sRGB" 2800 > 2801 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2802 <feColorMatrix 2803 in="SourceAlpha" 2804 type="matrix" 2805 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2806 result="hardAlpha" 2807 /> 2808 <feOffset dy="2.33214" /> 2809 <feGaussianBlur stdDeviation="0.777381" /> 2810 <feComposite in2="hardAlpha" operator="out" /> 2811 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2812 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2813 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2814 <feColorMatrix 2815 in="SourceAlpha" 2816 type="matrix" 2817 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2818 result="hardAlpha" 2819 /> 2820 <feOffset dy="3.10953" /> 2821 <feGaussianBlur stdDeviation="6.21905" /> 2822 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2823 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2824 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2825 </filter> 2826 <filter 2827 id="filter11_di_6984_19016" 2828 x="239.786" 2829 y="85.5366" 2830 width="42.4606" 2831 height="41.9782" 2832 filterUnits="userSpaceOnUse" 2833 color-interpolation-filters="sRGB" 2834 > 2835 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2836 <feColorMatrix 2837 in="SourceAlpha" 2838 type="matrix" 2839 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2840 result="hardAlpha" 2841 /> 2842 <feOffset dy="2.33214" /> 2843 <feGaussianBlur stdDeviation="0.777381" /> 2844 <feComposite in2="hardAlpha" operator="out" /> 2845 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2846 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2847 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2848 <feColorMatrix 2849 in="SourceAlpha" 2850 type="matrix" 2851 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2852 result="hardAlpha" 2853 /> 2854 <feOffset dy="3.10953" /> 2855 <feGaussianBlur stdDeviation="6.21905" /> 2856 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2857 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2858 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2859 </filter> 2860 <filter 2861 id="filter12_di_6984_19016" 2862 x="284.508" 2863 y="98.4409" 2864 width="34.5382" 2865 height="45.9636" 2866 filterUnits="userSpaceOnUse" 2867 color-interpolation-filters="sRGB" 2868 > 2869 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2870 <feColorMatrix 2871 in="SourceAlpha" 2872 type="matrix" 2873 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2874 result="hardAlpha" 2875 /> 2876 <feOffset dy="2.33214" /> 2877 <feGaussianBlur stdDeviation="0.777381" /> 2878 <feComposite in2="hardAlpha" operator="out" /> 2879 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2880 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2881 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2882 <feColorMatrix 2883 in="SourceAlpha" 2884 type="matrix" 2885 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2886 result="hardAlpha" 2887 /> 2888 <feOffset dy="3.10953" /> 2889 <feGaussianBlur stdDeviation="6.21905" /> 2890 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2891 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2892 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2893 </filter> 2894 <filter 2895 id="filter13_di_6984_19016" 2896 x="319.949" 2897 y="118.085" 2898 width="24.2619" 2899 height="49.3715" 2900 filterUnits="userSpaceOnUse" 2901 color-interpolation-filters="sRGB" 2902 >
2903 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2904 <feColorMatrix 2905 in="SourceAlpha" 2906 type="matrix" 2907 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2908 result="hardAlpha" 2909 /> 2910 <feOffset dy="2.33214" /> 2911 <feGaussianBlur stdDeviation="0.777381" /> 2912 <feComposite in2="hardAlpha" operator="out" /> 2913 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2914 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2915 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2916 <feColorMatrix 2917 in="SourceAlpha" 2918 type="matrix" 2919 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2920 result="hardAlpha" 2921 /> 2922 <feOffset dy="3.10953" /> 2923 <feGaussianBlur stdDeviation="6.21905" /> 2924 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2925 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2926 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2927 </filter> 2928 <filter 2929 id="filter14_di_6984_19016" 2930 x="343.395" 2931 y="143.047" 2932 width="11.6686" 2933 height="52.0224" 2934 filterUnits="userSpaceOnUse" 2935 color-interpolation-filters="sRGB" 2936 > 2937 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2938 <feColorMatrix 2939 in="SourceAlpha" 2940 type="matrix" 2941 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2942 result="hardAlpha" 2943 /> 2944 <feOffset dy="2.33214" /> 2945 <feGaussianBlur stdDeviation="0.777381" /> 2946 <feComposite in2="hardAlpha" operator="out" /> 2947 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 2948 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 2949 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 2950 <feColorMatrix 2951 in="SourceAlpha" 2952 type="matrix" 2953 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2954 result="hardAlpha" 2955 /> 2956 <feOffset dy="3.10953" /> 2957 <feGaussianBlur stdDeviation="6.21905" /> 2958 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2959 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0" /> 2960 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 2961 </filter> 2962 <filter 2963 id="filter15_iii_6984_19016" 2964 x="36.6938" 2965 y="256.739" 2966 width="308.472" 2967 height="244.37" 2968 filterUnits="userSpaceOnUse" 2969 color-interpolation-filters="sRGB" 2970 > 2971 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 2972 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 2973 <feColorMatrix 2974 in="SourceAlpha" 2975 type="matrix" 2976 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2977 result="hardAlpha" 2978 /> 2979 <feOffset /> 2980 <feGaussianBlur stdDeviation="13.9929" /> 2981 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2982 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" /> 2983 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 2984 <feColorMatrix 2985 in="SourceAlpha" 2986 type="matrix" 2987 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2988 result="hardAlpha" 2989 /> 2990 <feOffset dy="34.2048" /> 2991 <feGaussianBlur stdDeviation="6.60774" /> 2992 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 2993 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0" /> 2994 <feBlend mode="normal" in2="effect1_innerShadow_6984_19016" result="effect2_innerShadow_6984_19016" /> 2995 <feColorMatrix 2996 in="SourceAlpha" 2997 type="matrix" 2998 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 2999 result="hardAlpha" 3000 /> 3001 <feOffset dy="4.66429" /> 3002 <feGaussianBlur stdDeviation="2.72083" /> 3003 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3004 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 3005 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3006 </filter> 3007 <filter 3008 id="filter16_i_6984_19016" 3009 x="73.231" 3010 y="226.219" 3011 width="234.963" 3012 height="63.3332" 3013 filterUnits="userSpaceOnUse" 3014 color-interpolation-filters="sRGB" 3015 >
3016 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3017 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 3018 <feColorMatrix 3019 in="SourceAlpha" 3020 type="matrix" 3021 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3022 result="hardAlpha" 3023 /> 3024 <feOffset dy="-4.66429" /> 3025 <feGaussianBlur stdDeviation="2.72083" /> 3026 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3027 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 3028 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 3029 </filter> 3030 <filter 3031 id="filter17_i_6984_19016" 3032 x="30.4766" 3033 y="430.492" 3034 width="321.009" 3035 height="106.618" 3036 filterUnits="userSpaceOnUse" 3037 color-interpolation-filters="sRGB" 3038 > 3039 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3040 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 3041 <feColorMatrix 3042 in="SourceAlpha" 3043 type="matrix" 3044 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3045 result="hardAlpha" 3046 /> 3047 <feOffset dy="3.10953" /> 3048 <feGaussianBlur stdDeviation="1.55476" /> 3049 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3050 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 3051 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 3052 </filter> 3053 <filter 3054 id="filter18_dii_6984_19016" 3055 x="28.8427" 3056 y="223.11" 3057 width="324.269" 3058 height="273.133" 3059 filterUnits="userSpaceOnUse" 3060 color-interpolation-filters="sRGB" 3061 > 3062 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3063 <feColorMatrix 3064 in="SourceAlpha" 3065 type="matrix" 3066 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3067 result="hardAlpha" 3068 /> 3069 <feOffset dy="-5.44167" /> 3070 <feGaussianBlur stdDeviation="1.16607" /> 3071 <feComposite in2="hardAlpha" operator="out" /> 3072 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 3073 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3074 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3075 <feColorMatrix 3076 in="SourceAlpha" 3077 type="matrix" 3078 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3079 result="hardAlpha" 3080 /> 3081 <feOffset dy="-2.33214" /> 3082 <feGaussianBlur stdDeviation="1.55476" /> 3083 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3084 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 3085 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3086 <feColorMatrix 3087 in="SourceAlpha" 3088 type="matrix" 3089 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3090 result="hardAlpha" 3091 /> 3092 <feOffset dy="2.33214" /> 3093 <feGaussianBlur stdDeviation="1.55476" /> 3094 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3095 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.33 0" /> 3096 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3097 </filter> 3098 <filter 3099 id="filter19_f_6984_19016" 3100 x="97.6837" 3101 y="262.368" 3102 width="186.576" 3103 height="206.784" 3104 filterUnits="userSpaceOnUse" 3105 color-interpolation-filters="sRGB" 3106 > 3107 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3108 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 3109 <feGaussianBlur stdDeviation="9.32858" result="effect1_foregroundBlur_6984_19016" /> 3110 </filter> 3111 <filter 3112 id="filter20_f_6984_19016" 3113 x="162.63" 3114 y="265.866" 3115 width="56.7488" 3116 height="140.706" 3117 filterUnits="userSpaceOnUse" 3118 color-interpolation-filters="sRGB" 3119 > 3120 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3121 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 3122 <feGaussianBlur stdDeviation="11.6607" result="effect1_foregroundBlur_6984_19016" /> 3123 </filter> 3124 <filter 3125 id="filter21_di_6984_19016" 3126 x="136.979" 3127 y="471.093" 3128 width="54.4167" 3129 height="10.8835" 3130 filterUnits="userSpaceOnUse" 3131 color-interpolation-filters="sRGB" 3132 >
3133 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3134 <feColorMatrix 3135 in="SourceAlpha" 3136 type="matrix" 3137 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3138 result="hardAlpha" 3139 /> 3140 <feOffset dy="1.55476" /> 3141 <feGaussianBlur stdDeviation="0.777381" /> 3142 <feComposite in2="hardAlpha" operator="out" /> 3143 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3144 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3145 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3146 <feColorMatrix 3147 in="SourceAlpha" 3148 type="matrix" 3149 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3150 result="hardAlpha" 3151 /> 3152 <feOffset dy="2.33214" /> 3153 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3154 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3155 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3156 </filter> 3157 <filter 3158 id="filter22_di_6984_19016" 3159 x="189.841" 3160 y="471.093" 3161 width="54.4167" 3162 height="10.8835" 3163 filterUnits="userSpaceOnUse" 3164 color-interpolation-filters="sRGB" 3165 > 3166 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3167 <feColorMatrix 3168 in="SourceAlpha" 3169 type="matrix" 3170 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3171 result="hardAlpha" 3172 /> 3173 <feOffset dy="1.55476" /> 3174 <feGaussianBlur stdDeviation="0.777381" /> 3175 <feComposite in2="hardAlpha" operator="out" /> 3176 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3177 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3178 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3179 <feColorMatrix 3180 in="SourceAlpha" 3181 type="matrix" 3182 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3183 result="hardAlpha" 3184 /> 3185 <feOffset dy="2.33214" /> 3186 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3187 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3188 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3189 </filter> 3190 <filter 3191 id="filter23_di_6984_19016" 3192 x="240.371" 3193 y="464.097" 3194 width="54.4167" 3195 height="10.8835" 3196 filterUnits="userSpaceOnUse" 3197 color-interpolation-filters="sRGB" 3198 > 3199 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3200 <feColorMatrix 3201 in="SourceAlpha" 3202 type="matrix" 3203 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3204 result="hardAlpha" 3205 /> 3206 <feOffset dy="1.55476" /> 3207 <feGaussianBlur stdDeviation="0.777381" /> 3208 <feComposite in2="hardAlpha" operator="out" /> 3209 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3210 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3211 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3212 <feColorMatrix 3213 in="SourceAlpha" 3214 type="matrix" 3215 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3216 result="hardAlpha" 3217 /> 3218 <feOffset dy="2.33214" /> 3219 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3220 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3221 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3222 </filter> 3223 <filter 3224 id="filter24_di_6984_19016" 3225 x="276.131" 3226 y="437.666" 3227 width="54.4167" 3228 height="10.8835" 3229 filterUnits="userSpaceOnUse" 3230 color-interpolation-filters="sRGB" 3231 > 3232 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3233 <feColorMatrix 3234 in="SourceAlpha" 3235 type="matrix" 3236 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3237 result="hardAlpha" 3238 /> 3239 <feOffset dy="1.55476" /> 3240 <feGaussianBlur stdDeviation="0.777381" /> 3241 <feComposite in2="hardAlpha" operator="out" /> 3242 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" />
3243 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3244 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3245 <feColorMatrix 3246 in="SourceAlpha" 3247 type="matrix" 3248 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3249 result="hardAlpha" 3250 /> 3251 <feOffset dy="2.33214" /> 3252 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3253 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3254 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3255 </filter> 3256 <filter 3257 id="filter25_di_6984_19016" 3258 x="274.576" 3259 y="395.687" 3260 width="54.4167" 3261 height="10.8835" 3262 filterUnits="userSpaceOnUse" 3263 color-interpolation-filters="sRGB" 3264 > 3265 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3266 <feColorMatrix 3267 in="SourceAlpha" 3268 type="matrix" 3269 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3270 result="hardAlpha" 3271 /> 3272 <feOffset dy="1.55476" /> 3273 <feGaussianBlur stdDeviation="0.777381" /> 3274 <feComposite in2="hardAlpha" operator="out" /> 3275 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3276 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3277 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3278 <feColorMatrix 3279 in="SourceAlpha" 3280 type="matrix" 3281 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3282 result="hardAlpha" 3283 /> 3284 <feOffset dy="2.33214" /> 3285 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3286 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3287 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3288 </filter> 3289 <filter 3290 id="filter26_di_6984_19016" 3291 x="259.028" 3292 y="353.709" 3293 width="54.4167" 3294 height="10.8835" 3295 filterUnits="userSpaceOnUse" 3296 color-interpolation-filters="sRGB" 3297 > 3298 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3299 <feColorMatrix 3300 in="SourceAlpha" 3301 type="matrix" 3302 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3303 result="hardAlpha" 3304 /> 3305 <feOffset dy="1.55476" /> 3306 <feGaussianBlur stdDeviation="0.777381" /> 3307 <feComposite in2="hardAlpha" operator="out" /> 3308 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3309 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3310 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3311 <feColorMatrix 3312 in="SourceAlpha" 3313 type="matrix" 3314 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3315 result="hardAlpha" 3316 /> 3317 <feOffset dy="2.33214" /> 3318 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3319 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3320 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3321 </filter> 3322 <filter 3323 id="filter27_di_6984_19016" 3324 x="245.035" 3325 y="311.73" 3326 width="54.4167" 3327 height="10.8835" 3328 filterUnits="userSpaceOnUse" 3329 color-interpolation-filters="sRGB" 3330 > 3331 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3332 <feColorMatrix 3333 in="SourceAlpha" 3334 type="matrix" 3335 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3336 result="hardAlpha" 3337 /> 3338 <feOffset dy="1.55476" /> 3339 <feGaussianBlur stdDeviation="0.777381" /> 3340 <feComposite in2="hardAlpha" operator="out" /> 3341 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3342 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3343 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3344 <feColorMatrix 3345 in="SourceAlpha" 3346 type="matrix" 3347 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3348 result="hardAlpha" 3349 /> 3350 <feOffset dy="2.33214" /> 3351 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3352 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3353 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3354 </filter> 3355 <filter 3356 id="filter28_di_6984_19016" 3357 x="87.227" 3358 y="464.097" 3359 width="52.862" 3360 height="10.8835" 3361 filterUnits="userSpaceOnUse" 3362 color-interpolation-filters="sRGB" 3363 >
3364 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3365 <feColorMatrix 3366 in="SourceAlpha" 3367 type="matrix" 3368 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3369 result="hardAlpha" 3370 /> 3371 <feOffset dy="1.55476" /> 3372 <feGaussianBlur stdDeviation="0.777381" /> 3373 <feComposite in2="hardAlpha" operator="out" /> 3374 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3375 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3376 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3377 <feColorMatrix 3378 in="SourceAlpha" 3379 type="matrix" 3380 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3381 result="hardAlpha" 3382 /> 3383 <feOffset dy="2.33214" /> 3384 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3385 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3386 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3387 </filter> 3388 <filter 3389 id="filter29_di_6984_19016" 3390 x="50.6899" 3391 y="437.666" 3392 width="54.4167" 3393 height="10.8835" 3394 filterUnits="userSpaceOnUse" 3395 color-interpolation-filters="sRGB" 3396 > 3397 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3398 <feColorMatrix 3399 in="SourceAlpha" 3400 type="matrix" 3401 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3402 result="hardAlpha" 3403 /> 3404 <feOffset dy="1.55476" /> 3405 <feGaussianBlur stdDeviation="0.777381" /> 3406 <feComposite in2="hardAlpha" operator="out" /> 3407 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3408 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3409 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3410 <feColorMatrix 3411 in="SourceAlpha" 3412 type="matrix" 3413 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3414 result="hardAlpha" 3415 /> 3416 <feOffset dy="2.33214" /> 3417 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3418 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3419 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3420 </filter> 3421 <filter 3422 id="filter30_di_6984_19016" 3423 x="52.2446" 3424 y="395.687" 3425 width="54.4167" 3426 height="10.8835" 3427 filterUnits="userSpaceOnUse" 3428 color-interpolation-filters="sRGB" 3429 > 3430 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3431 <feColorMatrix 3432 in="SourceAlpha" 3433 type="matrix" 3434 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3435 result="hardAlpha" 3436 /> 3437 <feOffset dy="1.55476" /> 3438 <feGaussianBlur stdDeviation="0.777381" /> 3439 <feComposite in2="hardAlpha" operator="out" /> 3440 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3441 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3442 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3443 <feColorMatrix 3444 in="SourceAlpha" 3445 type="matrix" 3446 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3447 result="hardAlpha" 3448 /> 3449 <feOffset dy="2.33214" /> 3450 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3451 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3452 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3453 </filter> 3454 <filter 3455 id="filter31_di_6984_19016" 3456 x="67.7924" 3457 y="353.709" 3458 width="54.4167" 3459 height="10.8835" 3460 filterUnits="userSpaceOnUse" 3461 color-interpolation-filters="sRGB" 3462 > 3463 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3464 <feColorMatrix 3465 in="SourceAlpha" 3466 type="matrix" 3467 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3468 result="hardAlpha" 3469 /> 3470 <feOffset dy="1.55476" /> 3471 <feGaussianBlur stdDeviation="0.777381" /> 3472 <feComposite in2="hardAlpha" operator="out" /> 3473 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" />
3474 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3475 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3476 <feColorMatrix 3477 in="SourceAlpha" 3478 type="matrix" 3479 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3480 result="hardAlpha" 3481 /> 3482 <feOffset dy="2.33214" /> 3483 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3484 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3485 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3486 </filter> 3487 <filter 3488 id="filter32_di_6984_19016" 3489 x="81.7851" 3490 y="311.73" 3491 width="54.4167" 3492 height="10.8835" 3493 filterUnits="userSpaceOnUse" 3494 color-interpolation-filters="sRGB" 3495 > 3496 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3497 <feColorMatrix 3498 in="SourceAlpha" 3499 type="matrix" 3500 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3501 result="hardAlpha" 3502 /> 3503 <feOffset dy="1.55476" /> 3504 <feGaussianBlur stdDeviation="0.777381" /> 3505 <feComposite in2="hardAlpha" operator="out" /> 3506 <feColorMatrix type="matrix" values="0 0 0 0 0.838548 0 0 0 0 0.176613 0 0 0 0 0.186493 0 0 0 1 0" /> 3507 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3508 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3509 <feColorMatrix 3510 in="SourceAlpha" 3511 type="matrix" 3512 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3513 result="hardAlpha" 3514 /> 3515 <feOffset dy="2.33214" /> 3516 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3517 <feColorMatrix type="matrix" values="0 0 0 0 0.225999 0 0 0 0 0.0351935 0 0 0 0 0.038541 0 0 0 1 0" /> 3518 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3519 </filter> 3520 <filter 3521 id="filter33_diii_6984_19016" 3522 x="78.4134" 3523 y="263.793" 3524 width="61.1542" 3525 height="64.2636" 3526 filterUnits="userSpaceOnUse" 3527 color-interpolation-filters="sRGB" 3528 > 3529 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3530 <feColorMatrix 3531 in="SourceAlpha" 3532 type="matrix" 3533 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3534 result="hardAlpha" 3535 /> 3536 <feOffset dy="3.62778" /> 3537 <feGaussianBlur stdDeviation="3.62778" /> 3538 <feComposite in2="hardAlpha" operator="out" /> 3539 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3540 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3541 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3542 <feColorMatrix 3543 in="SourceAlpha" 3544 type="matrix" 3545 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3546 result="hardAlpha" 3547 /> 3548 <feOffset /> 3549 <feGaussianBlur stdDeviation="1.36042" /> 3550 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3551 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3552 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3553 <feColorMatrix 3554 in="SourceAlpha" 3555 type="matrix" 3556 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3557 result="hardAlpha" 3558 /> 3559 <feOffset /> 3560 <feGaussianBlur stdDeviation="0.906945" /> 3561 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3562 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3563 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3564 <feColorMatrix 3565 in="SourceAlpha" 3566 type="matrix" 3567 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3568 result="hardAlpha" 3569 /> 3570 <feOffset dx="-3.62778" dy="9.06945" /> 3571 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3572 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3573 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3574 </filter> 3575 <filter 3576 id="filter34_diii_6984_19016" 3577 x="64.4207" 3578 y="305.771" 3579 width="61.1542" 3580 height="64.2636" 3581 filterUnits="userSpaceOnUse" 3582 color-interpolation-filters="sRGB" 3583 >
3584 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3585 <feColorMatrix 3586 in="SourceAlpha" 3587 type="matrix" 3588 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3589 result="hardAlpha" 3590 /> 3591 <feOffset dy="3.62778" /> 3592 <feGaussianBlur stdDeviation="3.62778" /> 3593 <feComposite in2="hardAlpha" operator="out" /> 3594 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3595 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3596 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3597 <feColorMatrix 3598 in="SourceAlpha" 3599 type="matrix" 3600 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3601 result="hardAlpha" 3602 /> 3603 <feOffset /> 3604 <feGaussianBlur stdDeviation="1.36042" /> 3605 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3606 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3607 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3608 <feColorMatrix 3609 in="SourceAlpha" 3610 type="matrix" 3611 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3612 result="hardAlpha" 3613 /> 3614 <feOffset /> 3615 <feGaussianBlur stdDeviation="0.906945" /> 3616 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3617 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3618 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3619 <feColorMatrix 3620 in="SourceAlpha" 3621 type="matrix" 3622 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3623 result="hardAlpha" 3624 /> 3625 <feOffset dx="-3.62778" dy="9.06945" /> 3626 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3627 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3628 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3629 </filter> 3630 <filter 3631 id="filter35_diii_6984_19016" 3632 x="48.8729" 3633 y="347.75" 3634 width="61.1542" 3635 height="64.2636" 3636 filterUnits="userSpaceOnUse" 3637 color-interpolation-filters="sRGB" 3638 > 3639 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3640 <feColorMatrix 3641 in="SourceAlpha" 3642 type="matrix" 3643 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3644 result="hardAlpha" 3645 /> 3646 <feOffset dy="3.62778" /> 3647 <feGaussianBlur stdDeviation="3.62778" /> 3648 <feComposite in2="hardAlpha" operator="out" /> 3649 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3650 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3651 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3652 <feColorMatrix 3653 in="SourceAlpha" 3654 type="matrix" 3655 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3656 result="hardAlpha" 3657 /> 3658 <feOffset /> 3659 <feGaussianBlur stdDeviation="1.36042" /> 3660 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3661 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3662 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3663 <feColorMatrix 3664 in="SourceAlpha" 3665 type="matrix" 3666 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3667 result="hardAlpha" 3668 /> 3669 <feOffset /> 3670 <feGaussianBlur stdDeviation="0.906945" /> 3671 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3672 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3673 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3674 <feColorMatrix 3675 in="SourceAlpha" 3676 type="matrix" 3677 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3678 result="hardAlpha" 3679 /> 3680 <feOffset dx="-3.62778" dy="9.06945" /> 3681 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3682 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3683 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3684 </filter> 3685 <filter 3686 id="filter36_diii_6984_19016" 3687 x="47.3182" 3688 y="389.728" 3689 width="61.1542" 3690 height="64.2636" 3691 filterUnits="userSpaceOnUse" 3692 color-interpolation-filters="sRGB" 3693 >
3694 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3695 <feColorMatrix 3696 in="SourceAlpha" 3697 type="matrix" 3698 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3699 result="hardAlpha" 3700 /> 3701 <feOffset dy="3.62778" /> 3702 <feGaussianBlur stdDeviation="3.62778" /> 3703 <feComposite in2="hardAlpha" operator="out" /> 3704 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3705 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3706 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3707 <feColorMatrix 3708 in="SourceAlpha" 3709 type="matrix" 3710 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3711 result="hardAlpha" 3712 /> 3713 <feOffset /> 3714 <feGaussianBlur stdDeviation="1.36042" /> 3715 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3716 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3717 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3718 <feColorMatrix 3719 in="SourceAlpha" 3720 type="matrix" 3721 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3722 result="hardAlpha" 3723 /> 3724 <feOffset /> 3725 <feGaussianBlur stdDeviation="0.906945" /> 3726 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3727 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3728 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3729 <feColorMatrix 3730 in="SourceAlpha" 3731 type="matrix" 3732 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3733 result="hardAlpha" 3734 /> 3735 <feOffset dx="-3.62778" dy="9.06945" /> 3736 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3737 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3738 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3739 </filter> 3740 <filter 3741 id="filter37_diii_6984_19016" 3742 x="83.0779" 3743 y="416.159" 3744 width="61.1542" 3745 height="64.2636" 3746 filterUnits="userSpaceOnUse" 3747 color-interpolation-filters="sRGB" 3748 > 3749 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3750 <feColorMatrix 3751 in="SourceAlpha" 3752 type="matrix" 3753 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3754 result="hardAlpha" 3755 /> 3756 <feOffset dy="3.62778" /> 3757 <feGaussianBlur stdDeviation="3.62778" /> 3758 <feComposite in2="hardAlpha" operator="out" /> 3759 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3760 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3761 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3762 <feColorMatrix 3763 in="SourceAlpha" 3764 type="matrix" 3765 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3766 result="hardAlpha" 3767 /> 3768 <feOffset /> 3769 <feGaussianBlur stdDeviation="1.36042" /> 3770 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3771 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3772 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3773 <feColorMatrix 3774 in="SourceAlpha" 3775 type="matrix" 3776 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3777 result="hardAlpha" 3778 /> 3779 <feOffset /> 3780 <feGaussianBlur stdDeviation="0.906945" /> 3781 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3782 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3783 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3784 <feColorMatrix 3785 in="SourceAlpha" 3786 type="matrix" 3787 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3788 result="hardAlpha" 3789 /> 3790 <feOffset dx="-3.62778" dy="9.06945" /> 3791 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3792 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3793 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3794 </filter> 3795 <filter 3796 id="filter38_diii_6984_19016" 3797 x="133.608" 3798 y="423.156" 3799 width="61.1542" 3800 height="64.2636" 3801 filterUnits="userSpaceOnUse" 3802 color-interpolation-filters="sRGB" 3803 >
3804 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3805 <feColorMatrix 3806 in="SourceAlpha" 3807 type="matrix" 3808 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3809 result="hardAlpha" 3810 /> 3811 <feOffset dy="3.62778" /> 3812 <feGaussianBlur stdDeviation="3.62778" /> 3813 <feComposite in2="hardAlpha" operator="out" /> 3814 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3815 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3816 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3817 <feColorMatrix 3818 in="SourceAlpha" 3819 type="matrix" 3820 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3821 result="hardAlpha" 3822 /> 3823 <feOffset /> 3824 <feGaussianBlur stdDeviation="1.36042" /> 3825 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3826 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3827 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3828 <feColorMatrix 3829 in="SourceAlpha" 3830 type="matrix" 3831 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3832 result="hardAlpha" 3833 /> 3834 <feOffset /> 3835 <feGaussianBlur stdDeviation="0.906945" /> 3836 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3837 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3838 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3839 <feColorMatrix 3840 in="SourceAlpha" 3841 type="matrix" 3842 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3843 result="hardAlpha" 3844 /> 3845 <feOffset dx="-3.62778" dy="9.06945" /> 3846 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3847 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3848 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3849 </filter> 3850 <filter 3851 id="filter39_diii_6984_19016" 3852 x="241.663" 3853 y="263.793" 3854 width="61.1542" 3855 height="64.2636" 3856 filterUnits="userSpaceOnUse" 3857 color-interpolation-filters="sRGB" 3858 > 3859 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3860 <feColorMatrix 3861 in="SourceAlpha" 3862 type="matrix" 3863 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3864 result="hardAlpha" 3865 /> 3866 <feOffset dy="3.62778" /> 3867 <feGaussianBlur stdDeviation="3.62778" /> 3868 <feComposite in2="hardAlpha" operator="out" /> 3869 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3870 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3871 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3872 <feColorMatrix 3873 in="SourceAlpha" 3874 type="matrix" 3875 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3876 result="hardAlpha" 3877 /> 3878 <feOffset /> 3879 <feGaussianBlur stdDeviation="1.36042" /> 3880 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3881 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3882 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3883 <feColorMatrix 3884 in="SourceAlpha" 3885 type="matrix" 3886 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3887 result="hardAlpha" 3888 /> 3889 <feOffset /> 3890 <feGaussianBlur stdDeviation="0.906945" /> 3891 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3892 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3893 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3894 <feColorMatrix 3895 in="SourceAlpha" 3896 type="matrix" 3897 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3898 result="hardAlpha" 3899 /> 3900 <feOffset dx="-3.62778" dy="9.06945" /> 3901 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3902 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3903 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3904 </filter> 3905 <filter 3906 id="filter40_diii_6984_19016" 3907 x="255.656" 3908 y="305.771" 3909 width="61.1542" 3910 height="64.2636" 3911 filterUnits="userSpaceOnUse" 3912 color-interpolation-filters="sRGB" 3913 >
3914 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3915 <feColorMatrix 3916 in="SourceAlpha" 3917 type="matrix" 3918 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3919 result="hardAlpha" 3920 /> 3921 <feOffset dy="3.62778" /> 3922 <feGaussianBlur stdDeviation="3.62778" /> 3923 <feComposite in2="hardAlpha" operator="out" /> 3924 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3925 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3926 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3927 <feColorMatrix 3928 in="SourceAlpha" 3929 type="matrix" 3930 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3931 result="hardAlpha" 3932 /> 3933 <feOffset /> 3934 <feGaussianBlur stdDeviation="1.36042" /> 3935 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3936 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3937 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3938 <feColorMatrix 3939 in="SourceAlpha" 3940 type="matrix" 3941 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3942 result="hardAlpha" 3943 /> 3944 <feOffset /> 3945 <feGaussianBlur stdDeviation="0.906945" /> 3946 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3947 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 3948 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 3949 <feColorMatrix 3950 in="SourceAlpha" 3951 type="matrix" 3952 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3953 result="hardAlpha" 3954 /> 3955 <feOffset dx="-3.62778" dy="9.06945" /> 3956 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3957 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 3958 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 3959 </filter> 3960 <filter 3961 id="filter41_diii_6984_19016" 3962 x="271.204" 3963 y="347.75" 3964 width="61.1542" 3965 height="64.2636" 3966 filterUnits="userSpaceOnUse" 3967 color-interpolation-filters="sRGB" 3968 > 3969 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 3970 <feColorMatrix 3971 in="SourceAlpha" 3972 type="matrix" 3973 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3974 result="hardAlpha" 3975 /> 3976 <feOffset dy="3.62778" /> 3977 <feGaussianBlur stdDeviation="3.62778" /> 3978 <feComposite in2="hardAlpha" operator="out" /> 3979 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 3980 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 3981 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 3982 <feColorMatrix 3983 in="SourceAlpha" 3984 type="matrix" 3985 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3986 result="hardAlpha" 3987 /> 3988 <feOffset /> 3989 <feGaussianBlur stdDeviation="1.36042" /> 3990 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 3991 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 3992 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 3993 <feColorMatrix 3994 in="SourceAlpha" 3995 type="matrix" 3996 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 3997 result="hardAlpha" 3998 /> 3999 <feOffset /> 4000 <feGaussianBlur stdDeviation="0.906945" /> 4001 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4002 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 4003 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 4004 <feColorMatrix 4005 in="SourceAlpha" 4006 type="matrix" 4007 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4008 result="hardAlpha" 4009 /> 4010 <feOffset dx="-3.62778" dy="9.06945" /> 4011 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4012 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 4013 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 4014 </filter> 4015 <filter 4016 id="filter42_diii_6984_19016" 4017 x="272.759" 4018 y="389.728" 4019 width="61.1542" 4020 height="64.2636" 4021 filterUnits="userSpaceOnUse" 4022 color-interpolation-filters="sRGB" 4023 >
4024 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4025 <feColorMatrix 4026 in="SourceAlpha" 4027 type="matrix" 4028 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4029 result="hardAlpha" 4030 /> 4031 <feOffset dy="3.62778" /> 4032 <feGaussianBlur stdDeviation="3.62778" /> 4033 <feComposite in2="hardAlpha" operator="out" /> 4034 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 4035 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 4036 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 4037 <feColorMatrix 4038 in="SourceAlpha" 4039 type="matrix" 4040 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4041 result="hardAlpha" 4042 /> 4043 <feOffset /> 4044 <feGaussianBlur stdDeviation="1.36042" /> 4045 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4046 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 4047 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 4048 <feColorMatrix 4049 in="SourceAlpha" 4050 type="matrix" 4051 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4052 result="hardAlpha" 4053 /> 4054 <feOffset /> 4055 <feGaussianBlur stdDeviation="0.906945" /> 4056 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4057 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 4058 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 4059 <feColorMatrix 4060 in="SourceAlpha" 4061 type="matrix" 4062 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4063 result="hardAlpha" 4064 /> 4065 <feOffset dx="-3.62778" dy="9.06945" /> 4066 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4067 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 4068 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 4069 </filter> 4070 <filter 4071 id="filter43_diii_6984_19016" 4072 x="236.999" 4073 y="416.159" 4074 width="61.1542" 4075 height="64.2636" 4076 filterUnits="userSpaceOnUse" 4077 color-interpolation-filters="sRGB" 4078 > 4079 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4080 <feColorMatrix 4081 in="SourceAlpha" 4082 type="matrix" 4083 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4084 result="hardAlpha" 4085 /> 4086 <feOffset dy="3.62778" /> 4087 <feGaussianBlur stdDeviation="3.62778" /> 4088 <feComposite in2="hardAlpha" operator="out" /> 4089 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 4090 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 4091 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 4092 <feColorMatrix 4093 in="SourceAlpha" 4094 type="matrix" 4095 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4096 result="hardAlpha" 4097 /> 4098 <feOffset /> 4099 <feGaussianBlur stdDeviation="1.36042" /> 4100 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4101 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 4102 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 4103 <feColorMatrix 4104 in="SourceAlpha" 4105 type="matrix" 4106 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4107 result="hardAlpha" 4108 /> 4109 <feOffset /> 4110 <feGaussianBlur stdDeviation="0.906945" /> 4111 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4112 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 4113 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 4114 <feColorMatrix 4115 in="SourceAlpha" 4116 type="matrix" 4117 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4118 result="hardAlpha" 4119 /> 4120 <feOffset dx="-3.62778" dy="9.06945" /> 4121 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4122 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 4123 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 4124 </filter> 4125 <filter 4126 id="filter44_diii_6984_19016" 4127 x="186.47" 4128 y="423.156" 4129 width="61.1542" 4130 height="64.2636" 4131 filterUnits="userSpaceOnUse" 4132 color-interpolation-filters="sRGB" 4133 >
4134 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4135 <feColorMatrix 4136 in="SourceAlpha" 4137 type="matrix" 4138 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4139 result="hardAlpha" 4140 /> 4141 <feOffset dy="3.62778" /> 4142 <feGaussianBlur stdDeviation="3.62778" /> 4143 <feComposite in2="hardAlpha" operator="out" /> 4144 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 4145 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 4146 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 4147 <feColorMatrix 4148 in="SourceAlpha" 4149 type="matrix" 4150 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4151 result="hardAlpha" 4152 /> 4153 <feOffset /> 4154 <feGaussianBlur stdDeviation="1.36042" /> 4155 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4156 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 4157 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 4158 <feColorMatrix 4159 in="SourceAlpha" 4160 type="matrix" 4161 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4162 result="hardAlpha" 4163 /> 4164 <feOffset /> 4165 <feGaussianBlur stdDeviation="0.906945" /> 4166 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4167 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 4168 <feBlend mode="normal" in2="effect2_innerShadow_6984_19016" result="effect3_innerShadow_6984_19016" /> 4169 <feColorMatrix 4170 in="SourceAlpha" 4171 type="matrix" 4172 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4173 result="hardAlpha" 4174 /> 4175 <feOffset dx="-3.62778" dy="9.06945" /> 4176 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4177 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 4178 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 4179 </filter> 4180 <filter 4181 id="filter45_i_6984_19016" 4182 x="7.93408" 4183 y="5.44276" 4184 width="360.194" 4185 height="176.839" 4186 filterUnits="userSpaceOnUse" 4187 color-interpolation-filters="sRGB" 4188 > 4189 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4190 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 4191 <feColorMatrix 4192 in="SourceAlpha" 4193 type="matrix" 4194 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4195 result="hardAlpha" 4196 /> 4197 <feOffset dy="-3.10953" /> 4198 <feGaussianBlur stdDeviation="1.16607" /> 4199 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4200 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.4 0" /> 4201 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 4202 </filter> 4203 <filter 4204 id="filter46_i_6984_19016" 4205 x="33.9688" 4206 y="0.00012207" 4207 width="112.421" 4208 height="71.9403" 4209 filterUnits="userSpaceOnUse" 4210 color-interpolation-filters="sRGB" 4211 > 4212 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4213 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 4214 <feColorMatrix 4215 in="SourceAlpha" 4216 type="matrix" 4217 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4218 result="hardAlpha" 4219 /> 4220 <feOffset dx="8.5512" dy="0.777381" /> 4221 <feGaussianBlur stdDeviation="3.49822" /> 4222 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4223 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 4224 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 4225 </filter> 4226 <filter 4227 id="filter47_i_6984_19016" 4228 x="229.485" 4229 y="0.00012207" 4230 width="112.421" 4231 height="71.9403" 4232 filterUnits="userSpaceOnUse" 4233 color-interpolation-filters="sRGB" 4234 > 4235 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4236 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 4237 <feColorMatrix 4238 in="SourceAlpha" 4239 type="matrix" 4240 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4241 result="hardAlpha" 4242 /> 4243 <feOffset dx="-8.5512" dy="0.777381" /> 4244 <feGaussianBlur stdDeviation="3.49822" /> 4245 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4246 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 4247 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19016" /> 4248 </filter> 4249 <filter 4250 id="filter48_ddii_6984_19016" 4251 x="47.8566" 4252 y="5.10419" 4253 width="74.1756" 4254 height="57.2328" 4255 filterUnits="userSpaceOnUse" 4256 color-interpolation-filters="sRGB" 4257 >
4258 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4259 <feColorMatrix 4260 in="SourceAlpha" 4261 type="matrix" 4262 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4263 result="hardAlpha" 4264 /> 4265 <feOffset dx="-1.55476" dy="3.10953" /> 4266 <feGaussianBlur stdDeviation="1.16607" /> 4267 <feComposite in2="hardAlpha" operator="out" /> 4268 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.7 0" /> 4269 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 4270 <feColorMatrix 4271 in="SourceAlpha" 4272 type="matrix" 4273 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4274 result="hardAlpha" 4275 /> 4276 <feOffset dx="-3.10953" dy="-3.10953" /> 4277 <feGaussianBlur stdDeviation="1.55476" /> 4278 <feComposite in2="hardAlpha" operator="out" /> 4279 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" /> 4280 <feBlend mode="normal" in2="effect1_dropShadow_6984_19016" result="effect2_dropShadow_6984_19016" /> 4281 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19016" result="shape" /> 4282 <feColorMatrix 4283 in="SourceAlpha" 4284 type="matrix" 4285 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4286 result="hardAlpha" 4287 /> 4288 <feOffset dy="12.4381" /> 4289 <feGaussianBlur stdDeviation="8.93989" /> 4290 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4291 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 1 0" /> 4292 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19016" /> 4293 <feColorMatrix 4294 in="SourceAlpha" 4295 type="matrix" 4296 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4297 result="hardAlpha" 4298 /> 4299 <feOffset dy="-4.66429" /> 4300 <feGaussianBlur stdDeviation="1.55476" /> 4301 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4302 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 0.35 0" /> 4303 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 4304 </filter> 4305 <filter 4306 id="filter49_di_6984_19016" 4307 x="6.36704" 4308 y="74.6567" 4309 width="363.297" 4310 height="120.39" 4311 filterUnits="userSpaceOnUse" 4312 color-interpolation-filters="sRGB" 4313 > 4314 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4315 <feColorMatrix 4316 in="SourceAlpha" 4317 type="matrix" 4318 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4319 result="hardAlpha" 4320 /> 4321 <feOffset dy="3.10953" /> 4322 <feGaussianBlur stdDeviation="1.55476" /> 4323 <feComposite in2="hardAlpha" operator="out" /> 4324 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.65 0" /> 4325 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 4326 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19016" result="shape" /> 4327 <feColorMatrix 4328 in="SourceAlpha" 4329 type="matrix" 4330 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4331 result="hardAlpha" 4332 /> 4333 <feOffset dy="1.55476" /> 4334 <feGaussianBlur stdDeviation="1.16607" /> 4335 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4336 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.4 0" /> 4337 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19016" /> 4338 </filter> 4339 <filter 4340 id="filter50_ddii_6984_19016" 4341 x="254.361" 4342 y="5.10419" 4343 width="74.1756" 4344 height="57.2328" 4345 filterUnits="userSpaceOnUse" 4346 color-interpolation-filters="sRGB" 4347 > 4348 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4349 <feColorMatrix 4350 in="SourceAlpha" 4351 type="matrix" 4352 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4353 result="hardAlpha" 4354 /> 4355 <feOffset dx="1.55476" dy="3.10953" /> 4356 <feGaussianBlur stdDeviation="1.16607" /> 4357 <feComposite in2="hardAlpha" operator="out" /> 4358 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.7 0" /> 4359 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19016" /> 4360 <feColorMatrix 4361 in="SourceAlpha" 4362 type="matrix" 4363 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4364 result="hardAlpha" 4365 /> 4366 <feOffset dx="3.10953" dy="-3.10953" /> 4367 <feGaussianBlur stdDeviation="1.55476" /> 4368 <feComposite in2="hardAlpha" operator="out" /> 4369 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" /> 4370 <feBlend mode="normal" in2="effect1_dropShadow_6984_19016" result="effect2_dropShadow_6984_19016" /> 4371 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19016" result="shape" /> 4372 <feColorMatrix 4373 in="SourceAlpha" 4374 type="matrix" 4375 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4376 result="hardAlpha" 4377 /> 4378 <feOffset dy="12.4381" /> 4379 <feGaussianBlur stdDeviation="8.93989" /> 4380 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4381 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 1 0" /> 4382 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19016" /> 4383 <feColorMatrix 4384 in="SourceAlpha" 4385 type="matrix" 4386 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4387 result="hardAlpha" 4388 /> 4389 <feOffset dy="-4.66429" /> 4390 <feGaussianBlur stdDeviation="1.55476" /> 4391 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4392 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 0.35 0" /> 4393 <feBlend mode="normal" in2="effect3_innerShadow_6984_19016" result="effect4_innerShadow_6984_19016" /> 4394 </filter> 4395 <radialGradient 4396 id="paint0_radial_6984_19016" 4397 cx="0" 4398 cy="0" 4399 r="1" 4400 gradientUnits="userSpaceOnUse" 4401 gradientTransform="translate(188.284 106.891) rotate(168.825) scale(258.72 417.862)" 4402 > 4403 <stop stop-color="#DA383B" /> 4404 <stop offset="1" stop-color="#421511" /> 4405 </radialGradient> 4406 <radialGradient 4407 id="paint1_radial_6984_19016" 4408 cx="0" 4409 cy="0" 4410 r="1" 4411 gradientUnits="userSpaceOnUse" 4412 gradientTransform="translate(188.284 261.979) rotate(-90) scale(125.936 233.618)" 4413 > 4414 <stop offset="0.336538" stop-color="#1F320D" /> 4415 <stop offset="1" stop-color="#497322" /> 4416 </radialGradient> 4417 <linearGradient 4418 id="paint2_linear_6984_19016" 4419 x1="188.657" 4420 y1="123.084" 4421 x2="188.284" 4422 y2="370.424" 4423 gradientUnits="userSpaceOnUse" 4424 > 4425 <stop stop-color="#A2282A" /> 4426 <stop offset="1" stop-color="#421511" /> 4427 </linearGradient> 4428 <radialGradient 4429 id="paint3_radial_6984_19016" 4430 cx="0" 4431 cy="0" 4432 r="1" 4433 gradientUnits="userSpaceOnUse" 4434 gradientTransform="translate(190.713 260.218) scale(117.482 74.814)" 4435 > 4436 <stop offset="0.211538" stop-color="#2C3B1A" /> 4437 <stop offset="1" stop-color="#152011" /> 4438 </radialGradient> 4439 <radialGradient 4440 id="paint4_radial_6984_19016" 4441 cx="0" 4442 cy="0" 4443 r="1" 4444 gradientUnits="userSpaceOnUse" 4445 gradientTransform="translate(190.981 482.246) scale(160.505 51.7542)" 4446 > 4447 <stop stop-color="#6CCF11" /> 4448 <stop offset="1" stop-color="#294D08" /> 4449 </radialGradient> 4450 <linearGradient 4451 id="paint5_linear_6984_19016" 4452 x1="190.977" 4453 y1="230.884" 4454 x2="190.977" 4455 y2="493.911" 4456 gradientUnits="userSpaceOnUse" 4457 > 4458 <stop stop-color="#294D08" /> 4459 <stop offset="1" stop-color="#6CCF11" /> 4460 </linearGradient> 4461 <radialGradient 4462 id="paint6_radial_6984_19016" 4463 cx="0" 4464 cy="0" 4465 r="1" 4466 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 109.448 280.319)" 4467 gradientUnits="userSpaceOnUse" 4468 > 4469 <stop stop-color="white" /> 4470 <stop offset="1" stop-color="white" stop-opacity="0" /> 4471 </radialGradient> 4472 <radialGradient 4473 id="paint7_radial_6984_19016" 4474 cx="0" 4475 cy="0" 4476 r="1" 4477 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 95.455 322.298)" 4478 gradientUnits="userSpaceOnUse" 4479 > 4480 <stop stop-color="white" /> 4481 <stop offset="1" stop-color="white" stop-opacity="0" /> 4482 </radialGradient> 4483 <radialGradient 4484 id="paint8_radial_6984_19016" 4485 cx="0" 4486 cy="0" 4487 r="1" 4488 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 79.9071 364.276)" 4489 gradientUnits="userSpaceOnUse" 4490 > 4491 <stop stop-color="white" /> 4492 <stop offset="1" stop-color="white" stop-opacity="0" /> 4493 </radialGradient> 4494 <radialGradient 4495 id="paint9_radial_6984_19016" 4496 cx="0" 4497 cy="0" 4498 r="1" 4499 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 78.3525 406.255)" 4500 gradientUnits="userSpaceOnUse" 4501 > 4502 <stop stop-color="white" /> 4503 <stop offset="1" stop-color="white" stop-opacity="0" /> 4504 </radialGradient> 4505 <radialGradient 4506 id="paint10_radial_6984_19016" 4507 cx="0" 4508 cy="0" 4509 r="1" 4510 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 114.112 432.686)" 4511 gradientUnits="userSpaceOnUse" 4512 > 4513 <stop stop-color="white" /> 4514 <stop offset="1" stop-color="white" stop-opacity="0" /> 4515 </radialGradient> 4516 <radialGradient 4517 id="paint11_radial_6984_19016" 4518 cx="0" 4519 cy="0" 4520 r="1" 4521 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 164.642 439.682)" 4522 gradientUnits="userSpaceOnUse" 4523 > 4524 <stop stop-color="white" /> 4525 <stop offset="1" stop-color="white" stop-opacity="0" /> 4526 </radialGradient> 4527 <radialGradient 4528 id="paint12_radial_6984_19016" 4529 cx="0" 4530 cy="0" 4531 r="1" 4532 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 271.783 280.319)" 4533 gradientUnits="userSpaceOnUse" 4534 > 4535 <stop stop-color="white" /> 4536 <stop offset="1" stop-color="white" stop-opacity="0" /> 4537 </radialGradient> 4538 <radialGradient 4539 id="paint13_radial_6984_19016" 4540 cx="0" 4541 cy="0" 4542 r="1" 4543 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 285.776 322.298)" 4544 gradientUnits="userSpaceOnUse" 4545 > 4546 <stop stop-color="white" /> 4547 <stop offset="1" stop-color="white" stop-opacity="0" /> 4548 </radialGradient> 4549 <radialGradient 4550 id="paint14_radial_6984_19016" 4551 cx="0" 4552 cy="0" 4553 r="1" 4554 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 301.324 364.276)" 4555 gradientUnits="userSpaceOnUse" 4556 > 4557 <stop stop-color="white" /> 4558 <stop offset="1" stop-color="white" stop-opacity="0" /> 4559 </radialGradient> 4560 <radialGradient 4561 id="paint15_radial_6984_19016" 4562 cx="0" 4563 cy="0" 4564 r="1" 4565 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 302.879 406.255)" 4566 gradientUnits="userSpaceOnUse" 4567 > 4568 <stop stop-color="white" /> 4569 <stop offset="1" stop-color="white" stop-opacity="0" /> 4570 </radialGradient> 4571 <radialGradient 4572 id="paint16_radial_6984_19016" 4573 cx="0" 4574 cy="0" 4575 r="1" 4576 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 267.119 432.686)" 4577 gradientUnits="userSpaceOnUse" 4578 > 4579 <stop stop-color="white" /> 4580 <stop offset="1" stop-color="white" stop-opacity="0" /> 4581 </radialGradient> 4582 <radialGradient 4583 id="paint17_radial_6984_19016" 4584 cx="0" 4585 cy="0" 4586 r="1" 4587 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 216.589 439.682)" 4588 gradientUnits="userSpaceOnUse" 4589 > 4590 <stop stop-color="white" /> 4591 <stop offset="1" stop-color="white" stop-opacity="0" /> 4592 </radialGradient> 4593 <radialGradient 4594 id="paint18_radial_6984_19016" 4595 cx="0" 4596 cy="0" 4597 r="1" 4598 gradientUnits="userSpaceOnUse" 4599 gradientTransform="translate(188.284 45.0894) rotate(90.1054) scale(137.192 180.353)" 4600 > 4601 <stop stop-color="#6CCF11" /> 4602 <stop offset="1" stop-color="#294D08" /> 4603 </radialGradient> 4604 <radialGradient 4605 id="paint19_radial_6984_19016" 4606 cx="0" 4607 cy="0" 4608 r="1" 4609 gradientUnits="userSpaceOnUse" 4610 gradientTransform="translate(188.284 7.77509) rotate(90) scale(42.756 88.2513)" 4611 > 4612 <stop stop-color="#C9DD91" /> 4613 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 4614 </radialGradient> 4615 <radialGradient 4616 id="paint20_radial_6984_19016" 4617 cx="0" 4618 cy="0" 4619 r="1" 4620 gradientUnits="userSpaceOnUse" 4621 gradientTransform="translate(185.563 47.0329) rotate(89.3598) scale(139.16 169.464)" 4622 > 4623 <stop stop-color="#6CCF11" /> 4624 <stop offset="1" stop-color="#294D08" /> 4625 </radialGradient> 4626 <radialGradient 4627 id="paint21_radial_6984_19016" 4628 cx="0" 4629 cy="0" 4630 r="1" 4631 gradientUnits="userSpaceOnUse" 4632 gradientTransform="translate(126.482 -3.49691) rotate(94.1446) scale(26.89 74.8854)" 4633 > 4634 <stop stop-color="#C9DD91" /> 4635 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 4636 </radialGradient> 4637 <radialGradient 4638 id="paint22_radial_6984_19016" 4639 cx="0" 4640 cy="0" 4641 r="1" 4642 gradientUnits="userSpaceOnUse" 4643 gradientTransform="translate(190.312 47.0329) rotate(90.6402) scale(139.16 169.464)" 4644 > 4645 <stop stop-color="#6CCF11" /> 4646 <stop offset="1" stop-color="#294D08" /> 4647 </radialGradient> 4648 <radialGradient 4649 id="paint23_radial_6984_19016" 4650 cx="0" 4651 cy="0" 4652 r="1" 4653 gradientUnits="userSpaceOnUse" 4654 gradientTransform="translate(249.393 -3.49691) rotate(85.8554) scale(26.89 74.8854)" 4655 > 4656 <stop stop-color="#C9DD91" /> 4657 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 4658 </radialGradient> 4659 <linearGradient 4660 id="paint24_linear_6984_19016" 4661 x1="188.016" 4662 y1="74.6567" 4663 x2="188.016" 4664 y2="188.827" 4665 gradientUnits="userSpaceOnUse" 4666 > 4667 <stop stop-color="#1F320D" /> 4668 <stop offset="1" stop-color="#162409" /> 4669 </linearGradient> 4670 </defs> 4671</svg> 4672`,QP=`<svg width="377" height="534" viewBox="0 0 377 534" fill="none" xmlns="http://www.w3.org/2000/svg">
4673 <g filter="url(#filter0_d_6984_19013)"> 4674 <g filter="url(#filter1_iii_6984_19013)"> 4675 <path 4676 d="M342.135 365.632C341.287 359.848 340.3 354.259 339.134 348.576C335.185 328.201 327.644 308.043 320.352 288.547C318.525 283.673 316.644 278.627 314.864 273.714C312.819 268.366 311.591 264.277 310.884 260.421C309.601 252.095 308.381 243.482 307.207 235.148C306.569 230.624 305.932 226.1 305.279 221.591L305.217 221.156L302.084 216.483C294.792 205.6 284.049 197.912 271.828 194.833C267.661 193.784 263.362 193.248 259.064 193.248H118.288C113.989 193.248 109.69 193.776 105.523 194.833C93.3025 197.912 82.5591 205.608 75.2673 216.483L72.1344 221.156L72.0722 221.591C71.4192 226.1 70.7818 230.624 70.1443 235.148C68.9705 243.482 67.7577 252.095 66.4673 260.421C65.7599 264.277 64.5316 268.366 62.4871 273.714C60.7069 278.627 58.8256 283.673 56.9988 288.547C49.707 308.043 42.1664 328.201 38.2173 348.576C37.0512 354.251 36.0639 359.84 35.2166 365.632C34.6335 369.185 34.1515 373.079 34.6102 377.503C38.5593 413.184 99.335 423.772 130.951 424.379C141.119 424.394 150.914 424.402 159.465 424.402C175.161 424.402 186.876 424.386 188.664 424.379C190.452 424.379 202.175 424.402 217.862 424.402C226.414 424.402 236.216 424.402 246.377 424.379C277.993 423.764 338.768 413.177 342.718 377.503C343.176 373.079 342.694 369.185 342.111 365.632H342.135Z" 4677 fill="#B01C1F" 4678 /> 4679 </g> 4680 <g filter="url(#filter2_i_6984_19013)"> 4681 <path 4682 d="M303.06 204.333C298.069 175.072 266.453 167.392 244.958 167.392H131.935C110.44 167.392 78.8242 175.072 73.8334 204.333L70.9648 226.061L76.6553 217.564C83.5118 207.318 93.8121 199.731 105.768 196.715C109.748 195.712 113.876 195.191 118.059 195.191H258.835C263.017 195.191 267.145 195.712 271.125 196.715C283.081 199.731 293.374 207.318 300.238 217.564L305.928 226.061L303.06 204.333Z" 4683 fill="url(#paint0_radial_6984_19013)" 4684 /> 4685 </g> 4686 <g filter="url(#filter3_i_6984_19013)"> 4687 <path 4688 d="M347.907 367.225L345.606 367C345.614 367.078 345.63 367.148 345.637 367.225C346.049 369.729 346.244 372.138 346.244 374.455C346.244 419.108 273.52 430.419 241.53 430.419H135.892C103.903 430.419 31.1787 419.108 31.1787 374.455C31.1787 372.138 31.3731 369.729 31.7851 367.225C31.7929 367.148 31.8084 367.078 31.8162 367L29.5151 367.225C29.5151 367.225 25.8925 380.083 30.7201 402.029C35.5476 423.982 46.5242 447.024 75.9326 457.34C105.349 467.655 150.678 470.508 188.715 470.508C226.752 470.508 272.081 467.655 301.498 457.34C330.906 447.024 341.883 423.982 346.71 402.029C351.538 380.083 347.915 367.225 347.915 367.225H347.907Z" 4689 fill="url(#paint1_radial_6984_19013)" 4690 /> 4691 </g> 4692 <g filter="url(#filter4_dii_6984_19013)"> 4693 <path 4694 d="M347.907 367.226C344.829 346.57 339.496 326.327 331.986 306.846L317.527 269.299C315.933 265.171 314.798 260.888 314.13 256.511L306.146 204.333C301.155 175.072 269.539 167.392 248.045 167.392H129.377C107.883 167.392 76.2668 175.072 71.276 204.333L63.2923 256.511C62.6237 260.888 61.4887 265.171 59.8951 269.299L45.4358 306.846C37.9263 326.327 32.5935 346.57 29.515 367.226C29.103 369.729 28.9087 372.139 28.9087 374.455C28.9087 419.108 101.633 430.419 133.622 430.419H243.8C275.789 430.419 348.514 419.108 348.514 374.455C348.514 372.139 348.319 369.729 347.907 367.226ZM340.833 377.293C336.962 412.259 274.888 421.891 246.42 422.443C215.729 422.49 188.707 422.443 188.707 422.443C188.707 422.443 161.685 422.49 130.994 422.443C102.527 421.891 40.4528 412.259 36.5814 377.293C36.1772 373.398 36.5193 369.915 37.1723 365.951C38.0118 360.237 38.9991 354.609 40.1574 348.973C45.0782 323.583 55.5651 298.66 64.3495 274.383C66.0364 269.975 67.5601 265.42 68.4152 260.779C70.8951 244.772 72.994 228.424 75.4194 212.433C76.2046 207.139 76.7332 201.433 78.9954 196.629C88.6738 176.114 114.646 171.877 135.254 172.468C164.523 172.616 159.493 172.662 188.707 173.183C217.921 172.662 212.892 172.616 242.16 172.468C262.768 171.877 288.741 176.114 298.419 196.629C300.681 201.433 301.21 207.139 301.995 212.433C304.42 228.424 306.519 244.772 308.999 260.779C309.854 265.42 311.378 269.975 313.065 274.383C321.849 298.66 332.336 323.583 337.257 348.973C338.415 354.609 339.403 360.237 340.242 365.951C340.895 369.915 341.237 373.398 340.833 377.293Z" 4695 fill="url(#paint2_linear_6984_19013)" 4696 /> 4697 </g>
4698 <g filter="url(#filter5_f_6984_19013)"> 4699 <path 4700 d="M233.21 232.083C230.625 228.059 226.627 225.695 222.382 225.695H155.031C150.786 225.695 146.788 228.051 144.204 232.083C135.199 246.099 116.369 281.952 124.032 327.149C133.962 385.73 188.707 378.563 188.707 378.563C188.707 378.563 243.458 385.722 253.381 327.149C261.038 281.952 242.208 246.099 233.21 232.083Z" 4701 stroke="#411010" 4702 stroke-opacity="0.5" 4703 stroke-width="16.325" 4704 /> 4705 </g> 4706 <g filter="url(#filter6_f_6984_19013)"> 4707 <ellipse cx="188.738" cy="272.727" rx="5.05298" ry="47.0316" fill="#411010" fill-opacity="0.3" /> 4708 </g> 4709 <g filter="url(#filter7_diii_6984_19013)"> 4710 <path 4711 d="M83.4028 227.25C83.4028 214.37 93.8442 203.929 106.724 203.929C119.604 203.929 130.046 214.37 130.046 227.25V248.35C130.046 251.294 127.659 253.681 124.715 253.681H88.7335C85.7894 253.681 83.4028 251.294 83.4028 248.35V227.25Z" 4712 fill="#A5B5BC" 4713 /> 4714 <path 4715 d="M83.4028 227.25C83.4028 214.37 93.8442 203.929 106.724 203.929C119.604 203.929 130.046 214.37 130.046 227.25V248.35C130.046 251.294 127.659 253.681 124.715 253.681H88.7335C85.7894 253.681 83.4028 251.294 83.4028 248.35V227.25Z" 4716 fill="url(#paint3_radial_6984_19013)" 4717 /> 4718 </g> 4719 <g filter="url(#filter8_diii_6984_19013)"> 4720 <path 4721 d="M69.4102 269.229C69.4102 256.349 79.8515 245.907 92.7316 245.907C105.612 245.907 116.053 256.349 116.053 269.229V290.329C116.053 293.273 113.666 295.66 110.722 295.66H74.7408C71.7968 295.66 69.4102 293.273 69.4102 290.329V269.229Z" 4722 fill="#A5B5BC" 4723 /> 4724 <path 4725 d="M69.4102 269.229C69.4102 256.349 79.8515 245.907 92.7316 245.907C105.612 245.907 116.053 256.349 116.053 269.229V290.329C116.053 293.273 113.666 295.66 110.722 295.66H74.7408C71.7968 295.66 69.4102 293.273 69.4102 290.329V269.229Z" 4726 fill="url(#paint4_radial_6984_19013)" 4727 /> 4728 </g> 4729 <g filter="url(#filter9_diii_6984_19013)"> 4730 <path 4731 d="M53.8623 311.207C53.8623 298.327 64.3037 287.886 77.1837 287.886C90.0638 287.886 100.505 298.327 100.505 311.207V332.308C100.505 335.252 98.1186 337.638 95.1746 337.638H59.1929C56.2489 337.638 53.8623 335.252 53.8623 332.308V311.207Z" 4732 fill="#A5B5BC" 4733 /> 4734 <path 4735 d="M53.8623 311.207C53.8623 298.327 64.3037 287.886 77.1837 287.886C90.0638 287.886 100.505 298.327 100.505 311.207V332.308C100.505 335.252 98.1186 337.638 95.1746 337.638H59.1929C56.2489 337.638 53.8623 335.252 53.8623 332.308V311.207Z" 4736 fill="url(#paint5_radial_6984_19013)" 4737 /> 4738 </g> 4739 <g filter="url(#filter10_diii_6984_19013)"> 4740 <path 4741 d="M52.3076 353.186C52.3076 340.306 62.749 329.864 75.6291 329.864C88.5091 329.864 98.9505 340.306 98.9505 353.186V374.286C98.9505 377.23 96.5639 379.617 93.6199 379.617H57.6382C54.6942 379.617 52.3076 377.23 52.3076 374.286V353.186Z" 4742 fill="#A5B5BC" 4743 /> 4744 <path 4745 d="M52.3076 353.186C52.3076 340.306 62.749 329.864 75.6291 329.864C88.5091 329.864 98.9505 340.306 98.9505 353.186V374.286C98.9505 377.23 96.5639 379.617 93.6199 379.617H57.6382C54.6942 379.617 52.3076 377.23 52.3076 374.286V353.186Z" 4746 fill="url(#paint6_radial_6984_19013)" 4747 /> 4748 </g> 4749 <g filter="url(#filter11_diii_6984_19013)"> 4750 <path 4751 d="M88.0674 379.617C88.0674 366.737 98.5088 356.295 111.389 356.295C124.269 356.295 134.71 366.737 134.71 379.617V400.717C134.71 403.661 132.324 406.048 129.38 406.048H93.398C90.454 406.048 88.0674 403.661 88.0674 400.717V379.617Z" 4752 fill="#A5B5BC" 4753 /> 4754 <path 4755 d="M88.0674 379.617C88.0674 366.737 98.5088 356.295 111.389 356.295C124.269 356.295 134.71 366.737 134.71 379.617V400.717C134.71 403.661 132.324 406.048 129.38 406.048H93.398C90.454 406.048 88.0674 403.661 88.0674 400.717V379.617Z" 4756 fill="url(#paint7_radial_6984_19013)" 4757 /> 4758 </g> 4759 <g filter="url(#filter12_diii_6984_19013)"> 4760 <path 4761 d="M139.375 386.613C139.375 373.733 149.816 363.292 162.696 363.292C175.576 363.292 186.017 373.733 186.017 386.613V407.714C186.017 410.658 183.631 413.044 180.687 413.044H144.705C141.761 413.044 139.375 410.658 139.375 407.714V386.613Z" 4762 fill="#A5B5BC" 4763 /> 4764 <path 4765 d="M139.375 386.613C139.375 373.733 149.816 363.292 162.696 363.292C175.576 363.292 186.017 373.733 186.017 386.613V407.714C186.017 410.658 183.631 413.044 180.687 413.044H144.705C141.761 413.044 139.375 410.658 139.375 407.714V386.613Z" 4766 fill="url(#paint8_radial_6984_19013)" 4767 /> 4768 </g>
4769 <g filter="url(#filter13_diii_6984_19013)"> 4770 <path 4771 d="M293.296 227.25C293.296 214.37 282.855 203.929 269.974 203.929C257.094 203.929 246.653 214.37 246.653 227.25V248.35C246.653 251.294 249.04 253.681 251.984 253.681H287.965C290.909 253.681 293.296 251.294 293.296 248.35V227.25Z" 4772 fill="#A5B5BC" 4773 /> 4774 <path 4775 d="M293.296 227.25C293.296 214.37 282.855 203.929 269.974 203.929C257.094 203.929 246.653 214.37 246.653 227.25V248.35C246.653 251.294 249.04 253.681 251.984 253.681H287.965C290.909 253.681 293.296 251.294 293.296 248.35V227.25Z" 4776 fill="url(#paint9_radial_6984_19013)" 4777 /> 4778 </g> 4779 <g filter="url(#filter14_diii_6984_19013)"> 4780 <path 4781 d="M307.289 269.229C307.289 256.349 296.847 245.907 283.967 245.907C271.087 245.907 260.646 256.349 260.646 269.229V290.329C260.646 293.273 263.032 295.66 265.976 295.66H301.958C304.902 295.66 307.289 293.273 307.289 290.329V269.229Z" 4782 fill="#A5B5BC" 4783 /> 4784 <path 4785 d="M307.289 269.229C307.289 256.349 296.847 245.907 283.967 245.907C271.087 245.907 260.646 256.349 260.646 269.229V290.329C260.646 293.273 263.032 295.66 265.976 295.66H301.958C304.902 295.66 307.289 293.273 307.289 290.329V269.229Z" 4786 fill="url(#paint10_radial_6984_19013)" 4787 /> 4788 </g> 4789 <g filter="url(#filter15_diii_6984_19013)"> 4790 <path 4791 d="M322.836 311.207C322.836 298.327 312.395 287.886 299.515 287.886C286.635 287.886 276.194 298.327 276.194 311.207V332.308C276.194 335.252 278.58 337.638 281.524 337.638H317.506C320.45 337.638 322.836 335.252 322.836 332.308V311.207Z" 4792 fill="#A5B5BC" 4793 /> 4794 <path 4795 d="M322.836 311.207C322.836 298.327 312.395 287.886 299.515 287.886C286.635 287.886 276.194 298.327 276.194 311.207V332.308C276.194 335.252 278.58 337.638 281.524 337.638H317.506C320.45 337.638 322.836 335.252 322.836 332.308V311.207Z" 4796 fill="url(#paint11_radial_6984_19013)" 4797 /> 4798 </g> 4799 <g filter="url(#filter16_diii_6984_19013)"> 4800 <path 4801 d="M324.391 353.186C324.391 340.306 313.95 329.864 301.07 329.864C288.19 329.864 277.748 340.306 277.748 353.186V374.286C277.748 377.23 280.135 379.617 283.079 379.617H319.06C322.005 379.617 324.391 377.23 324.391 374.286V353.186Z" 4802 fill="#A5B5BC" 4803 /> 4804 <path 4805 d="M324.391 353.186C324.391 340.306 313.95 329.864 301.07 329.864C288.19 329.864 277.748 340.306 277.748 353.186V374.286C277.748 377.23 280.135 379.617 283.079 379.617H319.06C322.005 379.617 324.391 377.23 324.391 374.286V353.186Z" 4806 fill="url(#paint12_radial_6984_19013)" 4807 /> 4808 </g> 4809 <g filter="url(#filter17_diii_6984_19013)"> 4810 <path 4811 d="M288.632 379.617C288.632 366.737 278.19 356.295 265.31 356.295C252.43 356.295 241.989 366.737 241.989 379.617V400.717C241.989 403.661 244.376 406.048 247.32 406.048H283.301C286.245 406.048 288.632 403.661 288.632 400.717V379.617Z" 4812 fill="#A5B5BC" 4813 /> 4814 <path 4815 d="M288.632 379.617C288.632 366.737 278.19 356.295 265.31 356.295C252.43 356.295 241.989 366.737 241.989 379.617V400.717C241.989 403.661 244.376 406.048 247.32 406.048H283.301C286.245 406.048 288.632 403.661 288.632 400.717V379.617Z" 4816 fill="url(#paint13_radial_6984_19013)" 4817 /> 4818 </g> 4819 <g filter="url(#filter18_diii_6984_19013)"> 4820 <path 4821 d="M237.325 386.613C237.325 373.733 226.883 363.292 214.003 363.292C201.123 363.292 190.682 373.733 190.682 386.613V407.714C190.682 410.658 193.068 413.044 196.012 413.044H231.994C234.938 413.044 237.325 410.658 237.325 407.714V386.613Z" 4822 fill="#A5B5BC" 4823 /> 4824 <path 4825 d="M237.325 386.613C237.325 373.733 226.883 363.292 214.003 363.292C201.123 363.292 190.682 373.733 190.682 386.613V407.714C190.682 410.658 193.068 413.044 196.012 413.044H231.994C234.938 413.044 237.325 410.658 237.325 407.714V386.613Z" 4826 fill="url(#paint14_radial_6984_19013)" 4827 /> 4828 </g> 4829 <g filter="url(#filter19_i_6984_19013)"> 4830 <path 4831 d="M241.642 64.17C240.748 64.24 239.854 64.2944 238.953 64.3022C235.074 64.3488 220.467 65.4682 201.942 78.3183C193.927 83.8766 183.269 83.8766 175.254 78.3183C156.729 65.4682 142.13 64.3488 138.251 64.3022C137.349 64.2944 136.463 64.2322 135.561 64.17C47.3437 57.5078 40.9614 248.876 40.9614 248.876H336.25C336.25 248.876 329.867 57.5078 241.642 64.17Z" 4832 fill="url(#paint15_linear_6984_19013)" 4833 /> 4834 </g>
4835 <g filter="url(#filter20_ddi_6984_19013)"> 4836 <path 4837 d="M177.872 166.036C182.846 125.402 164.155 89.6795 136.122 86.2474C108.09 82.8154 81.3321 112.973 76.3573 153.607C71.3825 194.241 90.0744 229.963 118.107 233.395C146.139 236.827 172.897 206.669 177.872 166.036Z" 4838 fill="#FEFFFE" 4839 /> 4840 </g> 4841 <g filter="url(#filter21_i_6984_19013)"> 4842 <path 4843 d="M165.768 167.506C169.014 140.999 156.82 117.696 138.534 115.457C120.248 113.218 102.793 132.891 99.5479 159.398C96.3027 185.905 108.496 209.208 126.782 211.447C145.068 213.685 162.523 194.012 165.768 167.506Z" 4844 fill="#55AFC6" 4845 /> 4846 </g> 4847 <g filter="url(#filter22_ii_6984_19013)"> 4848 <path 4849 d="M156.007 166.311C158.296 147.619 149.697 131.187 136.802 129.609C123.906 128.03 111.597 141.902 109.309 160.593C107.021 179.284 115.619 195.716 128.515 197.295C141.41 198.874 153.719 185.002 156.007 166.311Z" 4850 fill="black" 4851 /> 4852 </g> 4853 <path 4854 d="M147.703 127.122C152.606 127.122 156.581 123.147 156.581 118.244C156.581 113.341 152.606 109.367 147.703 109.367C142.8 109.367 138.825 113.341 138.825 118.244C138.825 123.147 142.8 127.122 147.703 127.122Z" 4855 fill="#FEFFFE" 4856 /> 4857 <path 4858 d="M108.188 208.343C111.275 208.343 113.778 205.84 113.778 202.754C113.778 199.667 111.275 197.164 108.188 197.164C105.102 197.164 102.599 199.667 102.599 202.754C102.599 205.84 105.102 208.343 108.188 208.343Z" 4859 fill="#FEFFFE" 4860 /> 4861 <g filter="url(#filter23_ddi_6984_19013)"> 4862 <path 4863 d="M199.693 166.036C194.718 125.402 213.41 89.6795 241.442 86.2474C269.475 82.8154 296.232 112.973 301.207 153.607C306.182 194.241 287.49 229.963 259.458 233.395C231.425 236.827 204.668 206.669 199.693 166.036Z" 4864 fill="#FEFFFE" 4865 /> 4866 </g> 4867 <g filter="url(#filter24_i_6984_19013)"> 4868 <path 4869 d="M211.796 167.506C208.551 140.999 220.744 117.696 239.03 115.457C257.317 113.218 274.771 132.892 278.017 159.398C281.262 185.905 269.069 209.208 250.782 211.447C232.496 213.686 215.041 194.012 211.796 167.506Z" 4870 fill="#55AFC6" 4871 /> 4872 </g> 4873 <g filter="url(#filter25_ii_6984_19013)"> 4874 <path 4875 d="M221.558 166.311C219.269 147.62 227.868 131.188 240.763 129.609C253.659 128.03 265.968 141.902 268.256 160.593C270.544 179.285 261.946 195.717 249.05 197.295C236.155 198.874 223.846 185.002 221.558 166.311Z" 4876 fill="black" 4877 /> 4878 </g> 4879 <path 4880 d="M261.753 130.729C266.656 130.729 270.631 126.754 270.631 121.851C270.631 116.948 266.656 112.974 261.753 112.974C256.85 112.974 252.875 116.948 252.875 121.851C252.875 126.754 256.85 130.729 261.753 130.729Z" 4881 fill="#FEFFFE" 4882 /> 4883 <path 4884 d="M226.573 208.343C229.66 208.343 232.163 205.84 232.163 202.754C232.163 199.667 229.66 197.164 226.573 197.164C223.486 197.164 220.984 199.667 220.984 202.754C220.984 205.84 223.486 208.343 226.573 208.343Z" 4885 fill="#FEFFFE" 4886 /> 4887 <g filter="url(#filter26_diii_6984_19013)"> 4888 <path 4889 d="M340.92 260.201C336.277 245.038 324.443 235.049 311.282 229.464C295.497 222.768 278.187 224.267 261.667 221.253C243.623 217.967 225.777 213.097 207.507 211.52C183.219 209.423 158.958 213.213 135.015 217.4C122.793 219.537 110.585 221.797 98.306 223.475C87.2129 224.99 76.4798 224.997 65.9442 229.464C52.7836 235.049 40.9496 245.038 36.3063 260.201C35.516 262.788 30.3294 299.546 34.1329 299.546H343.108C346.904 299.546 341.725 262.78 340.934 260.201H340.92Z" 4890 fill="url(#paint16_radial_6984_19013)" 4891 /> 4892 <path 4893 d="M340.92 260.201C336.277 245.038 324.443 235.049 311.282 229.464C295.497 222.768 278.187 224.267 261.667 221.253C243.623 217.967 225.777 213.097 207.507 211.52C183.219 209.423 158.958 213.213 135.015 217.4C122.793 219.537 110.585 221.797 98.306 223.475C87.2129 224.99 76.4798 224.997 65.9442 229.464C52.7836 235.049 40.9496 245.038 36.3063 260.201C35.516 262.788 30.3294 299.546 34.1329 299.546H343.108C346.904 299.546 341.725 262.78 340.934 260.201H340.92Z" 4894 fill="url(#paint17_radial_6984_19013)" 4895 /> 4896 </g> 4897 <g filter="url(#filter27_diii_6984_19013)"> 4898 <path 4899 d="M356.399 295.215C351.284 280.041 338.247 270.044 323.749 264.454C306.359 257.753 287.29 259.254 269.091 256.238C249.213 252.949 229.553 248.075 209.427 246.497C182.67 244.398 155.943 248.192 129.567 252.382C116.102 254.52 102.654 256.782 89.1273 258.461C76.9068 259.977 65.0829 259.985 53.4766 264.454C38.9784 270.044 25.9417 280.041 20.8266 295.215C19.9559 297.804 14.2421 334.59 18.4322 334.59H358.809C362.991 334.59 357.285 297.796 356.414 295.215H356.399Z" 4900 fill="url(#paint18_radial_6984_19013)" 4901 /> 4902 <path 4903 d="M356.399 295.215C351.284 280.041 338.247 270.044 323.749 264.454C306.359 257.753 287.29 259.254 269.091 256.238C249.213 252.949 229.553 248.075 209.427 246.497C182.67 244.398 155.943 248.192 129.567 252.382C116.102 254.52 102.654 256.782 89.1273 258.461C76.9068 259.977 65.0829 259.985 53.4766 264.454C38.9784 270.044 25.9417 280.041 20.8266 295.215C19.9559 297.804 14.2421 334.59 18.4322 334.59H358.809C362.991 334.59 357.285 297.796 356.414 295.215H356.399Z" 4904 fill="url(#paint19_radial_6984_19013)" 4905 /> 4906 </g>
4907 <g filter="url(#filter28_diii_6984_19013)"> 4908 <path 4909 d="M364.29 369.248C355.654 387.999 335.815 396.052 316.038 400.11C304.129 402.652 290.571 404.137 279.229 404.16C223.771 404.075 136.899 404.487 89.6571 403.997C63.5682 402.435 27.9485 396.946 14.2511 372.163C7.09141 359.236 5.06244 341.915 13.6214 329.19C20.5945 318.648 32.4807 312.577 43.5506 307.081C64.6487 296.625 81.4246 290.803 105.057 293.337C113.056 293.92 121.094 294.355 129.101 293.702C144.027 292.49 158.72 288.618 173.692 287.646C184.832 286.791 196.034 286.962 207.151 288.097C223.071 289.59 238.868 294.013 254.703 294.223C263.021 294.402 271.323 293.446 279.618 293.073C290.26 292.49 300.732 293.811 310.892 297.27C318.736 299.875 326.362 303.186 333.825 306.739C343.822 311.559 354.355 317.296 361.072 325.567C371.225 337.593 371.162 354.952 364.36 369.108L364.298 369.248H364.29Z" 4910 fill="url(#paint20_radial_6984_19013)" 4911 /> 4912 <path 4913 d="M364.29 369.248C355.654 387.999 335.815 396.052 316.038 400.11C304.129 402.652 290.571 404.137 279.229 404.16C223.771 404.075 136.899 404.487 89.6571 403.997C63.5682 402.435 27.9485 396.946 14.2511 372.163C7.09141 359.236 5.06244 341.915 13.6214 329.19C20.5945 318.648 32.4807 312.577 43.5506 307.081C64.6487 296.625 81.4246 290.803 105.057 293.337C113.056 293.92 121.094 294.355 129.101 293.702C144.027 292.49 158.72 288.618 173.692 287.646C184.832 286.791 196.034 286.962 207.151 288.097C223.071 289.59 238.868 294.013 254.703 294.223C263.021 294.402 271.323 293.446 279.618 293.073C290.26 292.49 300.732 293.811 310.892 297.27C318.736 299.875 326.362 303.186 333.825 306.739C343.822 311.559 354.355 317.296 361.072 325.567C371.225 337.593 371.162 354.952 364.36 369.108L364.298 369.248H364.29Z" 4914 fill="url(#paint21_radial_6984_19013)" 4915 /> 4916 </g> 4917 <g filter="url(#filter29_i_6984_19013)"> 4918 <path 4919 d="M70.6027 278.618C65.3553 278.883 45.7887 279.878 32.5576 295.884C20.9202 309.962 17.492 331.644 26.4085 347.098C37.1364 365.693 60.9087 366.921 84.9376 368.173C103.167 369.113 122.516 370.116 132.055 357.344C141.733 344.377 135.156 325.463 133.516 320.76C124.98 296.226 98.293 277.211 70.5949 278.618H70.6027Z" 4920 fill="url(#paint22_radial_6984_19013)" 4921 /> 4922 <path 4923 d="M70.6027 278.618C65.3553 278.883 45.7887 279.878 32.5576 295.884C20.9202 309.962 17.492 331.644 26.4085 347.098C37.1364 365.693 60.9087 366.921 84.9376 368.173C103.167 369.113 122.516 370.116 132.055 357.344C141.733 344.377 135.156 325.463 133.516 320.76C124.98 296.226 98.293 277.211 70.5949 278.618H70.6027Z" 4924 fill="url(#paint23_radial_6984_19013)" 4925 /> 4926 </g> 4927 <g filter="url(#filter30_i_6984_19013)"> 4928 <path 4929 d="M306.28 278.618C311.527 278.883 331.094 279.878 344.325 295.884C355.962 309.962 359.39 331.644 350.474 347.098C339.746 365.693 315.974 366.921 291.945 368.173C273.715 369.113 254.366 370.116 244.828 357.344C235.149 344.377 241.726 325.463 243.366 320.76C251.902 296.226 278.589 277.211 306.287 278.618H306.28Z" 4930 fill="url(#paint24_radial_6984_19013)" 4931 /> 4932 <path 4933 d="M306.28 278.618C311.527 278.883 331.094 279.878 344.325 295.884C355.962 309.962 359.39 331.644 350.474 347.098C339.746 365.693 315.974 366.921 291.945 368.173C273.715 369.113 254.366 370.116 244.828 357.344C235.149 344.377 241.726 325.463 243.366 320.76C251.902 296.226 278.589 277.211 306.287 278.618H306.28Z" 4934 fill="url(#paint25_radial_6984_19013)" 4935 /> 4936 </g> 4937 <g filter="url(#filter31_ddii_6984_19013)"> 4938 <path 4939 d="M59.6954 314.059C53.4142 316.283 47.817 320.799 45.034 326.793C41.2482 335.569 45.8425 346.367 54.2693 350.441C64.3753 355.836 75.6628 356.908 87.2691 357.118C96.0613 356.971 108.896 357.67 114.664 350.892C123.674 340.265 113.241 328.635 103.991 322.509C99.2019 319.33 94.2811 317.083 88.9094 315.186C79.6897 311.859 69.1017 310.802 59.8354 314.013L59.6954 314.059Z" 4940 fill="#162309" 4941 /> 4942 </g> 4943 <g filter="url(#filter32_ddii_6984_19013)"> 4944 <path 4945 d="M317.515 314.059C323.796 316.283 329.393 320.799 332.176 326.793C335.962 335.569 331.368 346.367 322.941 350.441C312.835 355.836 301.548 356.908 289.941 357.118C281.149 356.971 268.315 357.67 262.546 350.892C253.537 340.265 263.969 328.635 273.22 322.509C278.009 319.33 282.929 317.083 288.301 315.186C297.521 311.859 308.109 310.802 317.375 314.013L317.515 314.059Z" 4946 fill="#162309" 4947 /> 4948 </g> 4949 </g> 4950 <defs> 4951 <filter 4952 id="filter0_d_6984_19013" 4953 x="1.00357" 4954 y="0" 4955 width="375.125" 4956 height="559.654" 4957 filterUnits="userSpaceOnUse" 4958 color-interpolation-filters="sRGB" 4959 >
4960 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4961 <feColorMatrix 4962 in="SourceAlpha" 4963 type="matrix" 4964 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4965 result="hardAlpha" 4966 /> 4967 <feOffset dy="18.6572" /> 4968 <feGaussianBlur stdDeviation="3.49822" /> 4969 <feComposite in2="hardAlpha" operator="out" /> 4970 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 4971 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 4972 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 4973 </filter> 4974 <filter 4975 id="filter1_iii_6984_19013" 4976 x="34.4277" 4977 y="193.248" 4978 width="308.472" 4979 height="244.37" 4980 filterUnits="userSpaceOnUse" 4981 color-interpolation-filters="sRGB" 4982 > 4983 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 4984 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 4985 <feColorMatrix 4986 in="SourceAlpha" 4987 type="matrix" 4988 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 4989 result="hardAlpha" 4990 /> 4991 <feOffset /> 4992 <feGaussianBlur stdDeviation="13.9929" /> 4993 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 4994 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" /> 4995 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 4996 <feColorMatrix 4997 in="SourceAlpha" 4998 type="matrix" 4999 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5000 result="hardAlpha" 5001 /> 5002 <feOffset dy="34.2048" /> 5003 <feGaussianBlur stdDeviation="6.60774" /> 5004 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5005 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0" /> 5006 <feBlend mode="normal" in2="effect1_innerShadow_6984_19013" result="effect2_innerShadow_6984_19013" /> 5007 <feColorMatrix 5008 in="SourceAlpha" 5009 type="matrix" 5010 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5011 result="hardAlpha" 5012 /> 5013 <feOffset dy="4.66429" /> 5014 <feGaussianBlur stdDeviation="2.72083" /> 5015 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5016 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5017 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5018 </filter> 5019 <filter 5020 id="filter2_i_6984_19013" 5021 x="70.9648" 5022 y="162.728" 5023 width="234.963" 5024 height="63.3332" 5025 filterUnits="userSpaceOnUse" 5026 color-interpolation-filters="sRGB" 5027 > 5028 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5029 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5030 <feColorMatrix 5031 in="SourceAlpha" 5032 type="matrix" 5033 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5034 result="hardAlpha" 5035 /> 5036 <feOffset dy="-4.66429" /> 5037 <feGaussianBlur stdDeviation="2.72083" /> 5038 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5039 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5040 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 5041 </filter> 5042 <filter 5043 id="filter3_i_6984_19013" 5044 x="28.2104" 5045 y="367" 5046 width="321.009" 5047 height="106.618" 5048 filterUnits="userSpaceOnUse" 5049 color-interpolation-filters="sRGB" 5050 > 5051 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5052 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5053 <feColorMatrix 5054 in="SourceAlpha" 5055 type="matrix" 5056 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5057 result="hardAlpha" 5058 /> 5059 <feOffset dy="3.10953" /> 5060 <feGaussianBlur stdDeviation="1.55476" /> 5061 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5062 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 5063 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 5064 </filter> 5065 <filter 5066 id="filter4_dii_6984_19013" 5067 x="26.5765" 5068 y="159.618" 5069 width="324.269" 5070 height="273.133" 5071 filterUnits="userSpaceOnUse" 5072 color-interpolation-filters="sRGB" 5073 >
5074 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5075 <feColorMatrix 5076 in="SourceAlpha" 5077 type="matrix" 5078 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5079 result="hardAlpha" 5080 /> 5081 <feOffset dy="-5.44167" /> 5082 <feGaussianBlur stdDeviation="1.16607" /> 5083 <feComposite in2="hardAlpha" operator="out" /> 5084 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5085 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5086 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5087 <feColorMatrix 5088 in="SourceAlpha" 5089 type="matrix" 5090 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5091 result="hardAlpha" 5092 /> 5093 <feOffset dy="-2.33214" /> 5094 <feGaussianBlur stdDeviation="1.55476" /> 5095 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5096 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 5097 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5098 <feColorMatrix 5099 in="SourceAlpha" 5100 type="matrix" 5101 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5102 result="hardAlpha" 5103 /> 5104 <feOffset dy="2.33214" /> 5105 <feGaussianBlur stdDeviation="1.55476" /> 5106 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5107 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.33 0" /> 5108 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5109 </filter> 5110 <filter 5111 id="filter5_f_6984_19013" 5112 x="95.4176" 5113 y="198.876" 5114 width="186.576" 5115 height="206.783" 5116 filterUnits="userSpaceOnUse" 5117 color-interpolation-filters="sRGB" 5118 > 5119 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5120 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5121 <feGaussianBlur stdDeviation="9.32858" result="effect1_foregroundBlur_6984_19013" /> 5122 </filter> 5123 <filter 5124 id="filter6_f_6984_19013" 5125 x="160.364" 5126 y="202.374" 5127 width="56.7488" 5128 height="140.706" 5129 filterUnits="userSpaceOnUse" 5130 color-interpolation-filters="sRGB" 5131 > 5132 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5133 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5134 <feGaussianBlur stdDeviation="11.6607" result="effect1_foregroundBlur_6984_19013" /> 5135 </filter> 5136 <filter 5137 id="filter7_diii_6984_19013" 5138 x="76.1473" 5139 y="200.301" 5140 width="61.1542" 5141 height="64.2636" 5142 filterUnits="userSpaceOnUse" 5143 color-interpolation-filters="sRGB" 5144 > 5145 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5146 <feColorMatrix 5147 in="SourceAlpha" 5148 type="matrix" 5149 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5150 result="hardAlpha" 5151 /> 5152 <feOffset dy="3.62778" /> 5153 <feGaussianBlur stdDeviation="3.62778" /> 5154 <feComposite in2="hardAlpha" operator="out" /> 5155 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5156 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5157 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5158 <feColorMatrix 5159 in="SourceAlpha" 5160 type="matrix" 5161 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5162 result="hardAlpha" 5163 /> 5164 <feOffset /> 5165 <feGaussianBlur stdDeviation="1.36042" /> 5166 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5167 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5168 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5169 <feColorMatrix 5170 in="SourceAlpha" 5171 type="matrix" 5172 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5173 result="hardAlpha" 5174 /> 5175 <feOffset /> 5176 <feGaussianBlur stdDeviation="0.906945" /> 5177 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5178 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5179 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5180 <feColorMatrix 5181 in="SourceAlpha" 5182 type="matrix" 5183 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5184 result="hardAlpha" 5185 /> 5186 <feOffset dx="-3.62778" dy="9.06945" /> 5187 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5188 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5189 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5190 </filter> 5191 <filter 5192 id="filter8_diii_6984_19013" 5193 x="62.1546" 5194 y="242.279" 5195 width="61.1542" 5196 height="64.2636" 5197 filterUnits="userSpaceOnUse" 5198 color-interpolation-filters="sRGB" 5199 >
5200 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5201 <feColorMatrix 5202 in="SourceAlpha" 5203 type="matrix" 5204 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5205 result="hardAlpha" 5206 /> 5207 <feOffset dy="3.62778" /> 5208 <feGaussianBlur stdDeviation="3.62778" /> 5209 <feComposite in2="hardAlpha" operator="out" /> 5210 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5211 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5212 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5213 <feColorMatrix 5214 in="SourceAlpha" 5215 type="matrix" 5216 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5217 result="hardAlpha" 5218 /> 5219 <feOffset /> 5220 <feGaussianBlur stdDeviation="1.36042" /> 5221 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5222 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5223 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5224 <feColorMatrix 5225 in="SourceAlpha" 5226 type="matrix" 5227 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5228 result="hardAlpha" 5229 /> 5230 <feOffset /> 5231 <feGaussianBlur stdDeviation="0.906945" /> 5232 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5233 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5234 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5235 <feColorMatrix 5236 in="SourceAlpha" 5237 type="matrix" 5238 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5239 result="hardAlpha" 5240 /> 5241 <feOffset dx="-3.62778" dy="9.06945" /> 5242 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5243 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5244 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5245 </filter> 5246 <filter 5247 id="filter9_diii_6984_19013" 5248 x="46.6067" 5249 y="284.258" 5250 width="61.1542" 5251 height="64.2636" 5252 filterUnits="userSpaceOnUse" 5253 color-interpolation-filters="sRGB" 5254 > 5255 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5256 <feColorMatrix 5257 in="SourceAlpha" 5258 type="matrix" 5259 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5260 result="hardAlpha" 5261 /> 5262 <feOffset dy="3.62778" /> 5263 <feGaussianBlur stdDeviation="3.62778" /> 5264 <feComposite in2="hardAlpha" operator="out" /> 5265 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5266 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5267 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5268 <feColorMatrix 5269 in="SourceAlpha" 5270 type="matrix" 5271 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5272 result="hardAlpha" 5273 /> 5274 <feOffset /> 5275 <feGaussianBlur stdDeviation="1.36042" /> 5276 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5277 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5278 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5279 <feColorMatrix 5280 in="SourceAlpha" 5281 type="matrix" 5282 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5283 result="hardAlpha" 5284 /> 5285 <feOffset /> 5286 <feGaussianBlur stdDeviation="0.906945" /> 5287 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5288 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5289 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5290 <feColorMatrix 5291 in="SourceAlpha" 5292 type="matrix" 5293 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5294 result="hardAlpha" 5295 /> 5296 <feOffset dx="-3.62778" dy="9.06945" /> 5297 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5298 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5299 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5300 </filter> 5301 <filter 5302 id="filter10_diii_6984_19013" 5303 x="45.0521" 5304 y="326.237" 5305 width="61.1542" 5306 height="64.2636" 5307 filterUnits="userSpaceOnUse" 5308 color-interpolation-filters="sRGB" 5309 >
5310 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5311 <feColorMatrix 5312 in="SourceAlpha" 5313 type="matrix" 5314 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5315 result="hardAlpha" 5316 /> 5317 <feOffset dy="3.62778" /> 5318 <feGaussianBlur stdDeviation="3.62778" /> 5319 <feComposite in2="hardAlpha" operator="out" /> 5320 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5321 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5322 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5323 <feColorMatrix 5324 in="SourceAlpha" 5325 type="matrix" 5326 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5327 result="hardAlpha" 5328 /> 5329 <feOffset /> 5330 <feGaussianBlur stdDeviation="1.36042" /> 5331 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5332 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5333 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5334 <feColorMatrix 5335 in="SourceAlpha" 5336 type="matrix" 5337 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5338 result="hardAlpha" 5339 /> 5340 <feOffset /> 5341 <feGaussianBlur stdDeviation="0.906945" /> 5342 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5343 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5344 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5345 <feColorMatrix 5346 in="SourceAlpha" 5347 type="matrix" 5348 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5349 result="hardAlpha" 5350 /> 5351 <feOffset dx="-3.62778" dy="9.06945" /> 5352 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5353 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5354 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5355 </filter> 5356 <filter 5357 id="filter11_diii_6984_19013" 5358 x="80.8118" 5359 y="352.668" 5360 width="61.1542" 5361 height="64.2636" 5362 filterUnits="userSpaceOnUse" 5363 color-interpolation-filters="sRGB" 5364 > 5365 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5366 <feColorMatrix 5367 in="SourceAlpha" 5368 type="matrix" 5369 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5370 result="hardAlpha" 5371 /> 5372 <feOffset dy="3.62778" /> 5373 <feGaussianBlur stdDeviation="3.62778" /> 5374 <feComposite in2="hardAlpha" operator="out" /> 5375 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5376 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5377 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5378 <feColorMatrix 5379 in="SourceAlpha" 5380 type="matrix" 5381 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5382 result="hardAlpha" 5383 /> 5384 <feOffset /> 5385 <feGaussianBlur stdDeviation="1.36042" /> 5386 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5387 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5388 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5389 <feColorMatrix 5390 in="SourceAlpha" 5391 type="matrix" 5392 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5393 result="hardAlpha" 5394 /> 5395 <feOffset /> 5396 <feGaussianBlur stdDeviation="0.906945" /> 5397 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5398 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5399 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5400 <feColorMatrix 5401 in="SourceAlpha" 5402 type="matrix" 5403 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5404 result="hardAlpha" 5405 /> 5406 <feOffset dx="-3.62778" dy="9.06945" /> 5407 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5408 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5409 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5410 </filter> 5411 <filter 5412 id="filter12_diii_6984_19013" 5413 x="132.119" 5414 y="359.664" 5415 width="61.1542" 5416 height="64.2636" 5417 filterUnits="userSpaceOnUse" 5418 color-interpolation-filters="sRGB" 5419 >
5420 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5421 <feColorMatrix 5422 in="SourceAlpha" 5423 type="matrix" 5424 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5425 result="hardAlpha" 5426 /> 5427 <feOffset dy="3.62778" /> 5428 <feGaussianBlur stdDeviation="3.62778" /> 5429 <feComposite in2="hardAlpha" operator="out" /> 5430 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5431 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5432 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5433 <feColorMatrix 5434 in="SourceAlpha" 5435 type="matrix" 5436 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5437 result="hardAlpha" 5438 /> 5439 <feOffset /> 5440 <feGaussianBlur stdDeviation="1.36042" /> 5441 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5442 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5443 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5444 <feColorMatrix 5445 in="SourceAlpha" 5446 type="matrix" 5447 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5448 result="hardAlpha" 5449 /> 5450 <feOffset /> 5451 <feGaussianBlur stdDeviation="0.906945" /> 5452 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5453 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5454 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5455 <feColorMatrix 5456 in="SourceAlpha" 5457 type="matrix" 5458 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5459 result="hardAlpha" 5460 /> 5461 <feOffset dx="-3.62778" dy="9.06945" /> 5462 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5463 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5464 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5465 </filter> 5466 <filter 5467 id="filter13_diii_6984_19013" 5468 x="239.397" 5469 y="200.301" 5470 width="61.1542" 5471 height="64.2636" 5472 filterUnits="userSpaceOnUse" 5473 color-interpolation-filters="sRGB" 5474 > 5475 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5476 <feColorMatrix 5477 in="SourceAlpha" 5478 type="matrix" 5479 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5480 result="hardAlpha" 5481 /> 5482 <feOffset dy="3.62778" /> 5483 <feGaussianBlur stdDeviation="3.62778" /> 5484 <feComposite in2="hardAlpha" operator="out" /> 5485 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5486 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5487 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5488 <feColorMatrix 5489 in="SourceAlpha" 5490 type="matrix" 5491 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5492 result="hardAlpha" 5493 /> 5494 <feOffset /> 5495 <feGaussianBlur stdDeviation="1.36042" /> 5496 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5497 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5498 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5499 <feColorMatrix 5500 in="SourceAlpha" 5501 type="matrix" 5502 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5503 result="hardAlpha" 5504 /> 5505 <feOffset /> 5506 <feGaussianBlur stdDeviation="0.906945" /> 5507 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5508 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5509 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5510 <feColorMatrix 5511 in="SourceAlpha" 5512 type="matrix" 5513 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5514 result="hardAlpha" 5515 /> 5516 <feOffset dx="-3.62778" dy="9.06945" /> 5517 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5518 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5519 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5520 </filter> 5521 <filter 5522 id="filter14_diii_6984_19013" 5523 x="253.39" 5524 y="242.279" 5525 width="61.1542" 5526 height="64.2636" 5527 filterUnits="userSpaceOnUse" 5528 color-interpolation-filters="sRGB" 5529 >
5530 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5531 <feColorMatrix 5532 in="SourceAlpha" 5533 type="matrix" 5534 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5535 result="hardAlpha" 5536 /> 5537 <feOffset dy="3.62778" /> 5538 <feGaussianBlur stdDeviation="3.62778" /> 5539 <feComposite in2="hardAlpha" operator="out" /> 5540 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5541 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5542 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5543 <feColorMatrix 5544 in="SourceAlpha" 5545 type="matrix" 5546 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5547 result="hardAlpha" 5548 /> 5549 <feOffset /> 5550 <feGaussianBlur stdDeviation="1.36042" /> 5551 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5552 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5553 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5554 <feColorMatrix 5555 in="SourceAlpha" 5556 type="matrix" 5557 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5558 result="hardAlpha" 5559 /> 5560 <feOffset /> 5561 <feGaussianBlur stdDeviation="0.906945" /> 5562 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5563 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5564 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5565 <feColorMatrix 5566 in="SourceAlpha" 5567 type="matrix" 5568 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5569 result="hardAlpha" 5570 /> 5571 <feOffset dx="-3.62778" dy="9.06945" /> 5572 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5573 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5574 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5575 </filter> 5576 <filter 5577 id="filter15_diii_6984_19013" 5578 x="268.938" 5579 y="284.258" 5580 width="61.1542" 5581 height="64.2636" 5582 filterUnits="userSpaceOnUse" 5583 color-interpolation-filters="sRGB" 5584 > 5585 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5586 <feColorMatrix 5587 in="SourceAlpha" 5588 type="matrix" 5589 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5590 result="hardAlpha" 5591 /> 5592 <feOffset dy="3.62778" /> 5593 <feGaussianBlur stdDeviation="3.62778" /> 5594 <feComposite in2="hardAlpha" operator="out" /> 5595 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5596 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5597 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5598 <feColorMatrix 5599 in="SourceAlpha" 5600 type="matrix" 5601 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5602 result="hardAlpha" 5603 /> 5604 <feOffset /> 5605 <feGaussianBlur stdDeviation="1.36042" /> 5606 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5607 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5608 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5609 <feColorMatrix 5610 in="SourceAlpha" 5611 type="matrix" 5612 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5613 result="hardAlpha" 5614 /> 5615 <feOffset /> 5616 <feGaussianBlur stdDeviation="0.906945" /> 5617 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5618 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5619 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5620 <feColorMatrix 5621 in="SourceAlpha" 5622 type="matrix" 5623 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5624 result="hardAlpha" 5625 /> 5626 <feOffset dx="-3.62778" dy="9.06945" /> 5627 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5628 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5629 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5630 </filter> 5631 <filter 5632 id="filter16_diii_6984_19013" 5633 x="270.492" 5634 y="326.237" 5635 width="61.1542" 5636 height="64.2636" 5637 filterUnits="userSpaceOnUse" 5638 color-interpolation-filters="sRGB" 5639 >
5640 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5641 <feColorMatrix 5642 in="SourceAlpha" 5643 type="matrix" 5644 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5645 result="hardAlpha" 5646 /> 5647 <feOffset dy="3.62778" /> 5648 <feGaussianBlur stdDeviation="3.62778" /> 5649 <feComposite in2="hardAlpha" operator="out" /> 5650 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5651 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5652 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5653 <feColorMatrix 5654 in="SourceAlpha" 5655 type="matrix" 5656 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5657 result="hardAlpha" 5658 /> 5659 <feOffset /> 5660 <feGaussianBlur stdDeviation="1.36042" /> 5661 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5662 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5663 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5664 <feColorMatrix 5665 in="SourceAlpha" 5666 type="matrix" 5667 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5668 result="hardAlpha" 5669 /> 5670 <feOffset /> 5671 <feGaussianBlur stdDeviation="0.906945" /> 5672 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5673 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5674 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5675 <feColorMatrix 5676 in="SourceAlpha" 5677 type="matrix" 5678 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5679 result="hardAlpha" 5680 /> 5681 <feOffset dx="-3.62778" dy="9.06945" /> 5682 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5683 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5684 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5685 </filter> 5686 <filter 5687 id="filter17_diii_6984_19013" 5688 x="234.733" 5689 y="352.668" 5690 width="61.1542" 5691 height="64.2636" 5692 filterUnits="userSpaceOnUse" 5693 color-interpolation-filters="sRGB" 5694 > 5695 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5696 <feColorMatrix 5697 in="SourceAlpha" 5698 type="matrix" 5699 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5700 result="hardAlpha" 5701 /> 5702 <feOffset dy="3.62778" /> 5703 <feGaussianBlur stdDeviation="3.62778" /> 5704 <feComposite in2="hardAlpha" operator="out" /> 5705 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5706 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5707 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5708 <feColorMatrix 5709 in="SourceAlpha" 5710 type="matrix" 5711 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5712 result="hardAlpha" 5713 /> 5714 <feOffset /> 5715 <feGaussianBlur stdDeviation="1.36042" /> 5716 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5717 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5718 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5719 <feColorMatrix 5720 in="SourceAlpha" 5721 type="matrix" 5722 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5723 result="hardAlpha" 5724 /> 5725 <feOffset /> 5726 <feGaussianBlur stdDeviation="0.906945" /> 5727 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5728 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5729 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5730 <feColorMatrix 5731 in="SourceAlpha" 5732 type="matrix" 5733 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5734 result="hardAlpha" 5735 /> 5736 <feOffset dx="-3.62778" dy="9.06945" /> 5737 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5738 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5739 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5740 </filter> 5741 <filter 5742 id="filter18_diii_6984_19013" 5743 x="183.426" 5744 y="359.664" 5745 width="61.1542" 5746 height="64.2636" 5747 filterUnits="userSpaceOnUse" 5748 color-interpolation-filters="sRGB" 5749 >
5750 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5751 <feColorMatrix 5752 in="SourceAlpha" 5753 type="matrix" 5754 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5755 result="hardAlpha" 5756 /> 5757 <feOffset dy="3.62778" /> 5758 <feGaussianBlur stdDeviation="3.62778" /> 5759 <feComposite in2="hardAlpha" operator="out" /> 5760 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" /> 5761 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5762 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 5763 <feColorMatrix 5764 in="SourceAlpha" 5765 type="matrix" 5766 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5767 result="hardAlpha" 5768 /> 5769 <feOffset /> 5770 <feGaussianBlur stdDeviation="1.36042" /> 5771 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5772 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0" /> 5773 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 5774 <feColorMatrix 5775 in="SourceAlpha" 5776 type="matrix" 5777 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5778 result="hardAlpha" 5779 /> 5780 <feOffset /> 5781 <feGaussianBlur stdDeviation="0.906945" /> 5782 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5783 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" /> 5784 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 5785 <feColorMatrix 5786 in="SourceAlpha" 5787 type="matrix" 5788 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5789 result="hardAlpha" 5790 /> 5791 <feOffset dx="-3.62778" dy="9.06945" /> 5792 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5793 <feColorMatrix type="matrix" values="0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0 0.545035 0 0 0 0.25 0" /> 5794 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 5795 </filter> 5796 <filter 5797 id="filter19_i_6984_19013" 5798 x="40.9614" 5799 y="64" 5800 width="295.289" 5801 height="192.65" 5802 filterUnits="userSpaceOnUse" 5803 color-interpolation-filters="sRGB" 5804 > 5805 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5806 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5807 <feColorMatrix 5808 in="SourceAlpha" 5809 type="matrix" 5810 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5811 result="hardAlpha" 5812 /> 5813 <feOffset dy="7.77381" /> 5814 <feGaussianBlur stdDeviation="7.77381" /> 5815 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5816 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 1 0" /> 5817 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 5818 </filter> 5819 <filter 5820 id="filter20_ddi_6984_19013" 5821 x="67.7818" 5822 y="75.098" 5823 width="114.001" 5824 height="169.447" 5825 filterUnits="userSpaceOnUse" 5826 color-interpolation-filters="sRGB" 5827 > 5828 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5829 <feColorMatrix 5830 in="SourceAlpha" 5831 type="matrix" 5832 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5833 result="hardAlpha" 5834 /> 5835 <feOffset dy="-7.77381" /> 5836 <feGaussianBlur stdDeviation="1.55476" /> 5837 <feComposite in2="hardAlpha" operator="out" /> 5838 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5839 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5840 <feColorMatrix 5841 in="SourceAlpha" 5842 type="matrix" 5843 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5844 result="hardAlpha" 5845 /> 5846 <feOffset dx="-4.66429" dy="7.77381" /> 5847 <feGaussianBlur stdDeviation="1.55476" /> 5848 <feComposite in2="hardAlpha" operator="out" /> 5849 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5850 <feBlend mode="normal" in2="effect1_dropShadow_6984_19013" result="effect2_dropShadow_6984_19013" /> 5851 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19013" result="shape" /> 5852 <feColorMatrix 5853 in="SourceAlpha" 5854 type="matrix" 5855 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5856 result="hardAlpha" 5857 /> 5858 <feOffset /> 5859 <feGaussianBlur stdDeviation="13.2155" /> 5860 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5861 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0" /> 5862 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19013" /> 5863 </filter> 5864 <filter 5865 id="filter21_i_6984_19013" 5866 x="99.0249" 5867 y="115.283" 5868 width="67.2666" 5869 height="99.4463" 5870 filterUnits="userSpaceOnUse" 5871 color-interpolation-filters="sRGB" 5872 >
5873 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5874 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5875 <feColorMatrix 5876 in="SourceAlpha" 5877 type="matrix" 5878 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5879 result="hardAlpha" 5880 /> 5881 <feOffset dy="3.10953" /> 5882 <feGaussianBlur stdDeviation="1.55476" /> 5883 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5884 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5885 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 5886 </filter> 5887 <filter 5888 id="filter22_ii_6984_19013" 5889 x="108.94" 5890 y="126.377" 5891 width="47.436" 5892 height="78.8147" 5893 filterUnits="userSpaceOnUse" 5894 color-interpolation-filters="sRGB" 5895 > 5896 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5897 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5898 <feColorMatrix 5899 in="SourceAlpha" 5900 type="matrix" 5901 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5902 result="hardAlpha" 5903 /> 5904 <feOffset dy="7.77381" /> 5905 <feGaussianBlur stdDeviation="4.2756" /> 5906 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5907 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" /> 5908 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 5909 <feColorMatrix 5910 in="SourceAlpha" 5911 type="matrix" 5912 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5913 result="hardAlpha" 5914 /> 5915 <feOffset dy="-3.10953" /> 5916 <feGaussianBlur stdDeviation="1.94345" /> 5917 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5918 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0" /> 5919 <feBlend mode="normal" in2="effect1_innerShadow_6984_19013" result="effect2_innerShadow_6984_19013" /> 5920 </filter> 5921 <filter 5922 id="filter23_ddi_6984_19013" 5923 x="191.117" 5924 y="75.098" 5925 width="114.001" 5926 height="169.447" 5927 filterUnits="userSpaceOnUse" 5928 color-interpolation-filters="sRGB" 5929 > 5930 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5931 <feColorMatrix 5932 in="SourceAlpha" 5933 type="matrix" 5934 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5935 result="hardAlpha" 5936 /> 5937 <feOffset dy="-7.77381" /> 5938 <feGaussianBlur stdDeviation="1.55476" /> 5939 <feComposite in2="hardAlpha" operator="out" /> 5940 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5941 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 5942 <feColorMatrix 5943 in="SourceAlpha" 5944 type="matrix" 5945 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5946 result="hardAlpha" 5947 /> 5948 <feOffset dx="-4.66429" dy="7.77381" /> 5949 <feGaussianBlur stdDeviation="1.55476" /> 5950 <feComposite in2="hardAlpha" operator="out" /> 5951 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5952 <feBlend mode="normal" in2="effect1_dropShadow_6984_19013" result="effect2_dropShadow_6984_19013" /> 5953 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19013" result="shape" /> 5954 <feColorMatrix 5955 in="SourceAlpha" 5956 type="matrix" 5957 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5958 result="hardAlpha" 5959 /> 5960 <feOffset /> 5961 <feGaussianBlur stdDeviation="13.2155" /> 5962 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5963 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0" /> 5964 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19013" /> 5965 </filter> 5966 <filter 5967 id="filter24_i_6984_19013" 5968 x="211.273" 5969 y="115.284" 5970 width="67.2666" 5971 height="99.4463" 5972 filterUnits="userSpaceOnUse" 5973 color-interpolation-filters="sRGB" 5974 > 5975 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5976 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 5977 <feColorMatrix 5978 in="SourceAlpha" 5979 type="matrix" 5980 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 5981 result="hardAlpha" 5982 /> 5983 <feOffset dy="3.10953" /> 5984 <feGaussianBlur stdDeviation="1.55476" /> 5985 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 5986 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 5987 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 5988 </filter> 5989 <filter 5990 id="filter25_ii_6984_19013" 5991 x="221.189" 5992 y="126.377" 5993 width="47.436" 5994 height="78.8147" 5995 filterUnits="userSpaceOnUse" 5996 color-interpolation-filters="sRGB" 5997 >
5998 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 5999 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 6000 <feColorMatrix 6001 in="SourceAlpha" 6002 type="matrix" 6003 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6004 result="hardAlpha" 6005 /> 6006 <feOffset dy="7.77381" /> 6007 <feGaussianBlur stdDeviation="4.2756" /> 6008 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6009 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" /> 6010 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 6011 <feColorMatrix 6012 in="SourceAlpha" 6013 type="matrix" 6014 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6015 result="hardAlpha" 6016 /> 6017 <feOffset dy="-3.10953" /> 6018 <feGaussianBlur stdDeviation="1.94345" /> 6019 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6020 <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0" /> 6021 <feBlend mode="normal" in2="effect1_innerShadow_6984_19013" result="effect2_innerShadow_6984_19013" /> 6022 </filter> 6023 <filter 6024 id="filter26_diii_6984_19013" 6025 x="24.9801" 6026 y="195.376" 6027 width="327.278" 6028 height="115.052" 6029 filterUnits="userSpaceOnUse" 6030 color-interpolation-filters="sRGB" 6031 > 6032 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6033 <feColorMatrix 6034 in="SourceAlpha" 6035 type="matrix" 6036 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6037 result="hardAlpha" 6038 /> 6039 <feOffset dy="-7.77381" /> 6040 <feGaussianBlur stdDeviation="3.88691" /> 6041 <feComposite in2="hardAlpha" operator="out" /> 6042 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6043 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 6044 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 6045 <feColorMatrix 6046 in="SourceAlpha" 6047 type="matrix" 6048 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6049 result="hardAlpha" 6050 /> 6051 <feOffset dy="-24.0988" /> 6052 <feGaussianBlur stdDeviation="4.2756" /> 6053 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6054 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0" /> 6055 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 6056 <feColorMatrix 6057 in="SourceAlpha" 6058 type="matrix" 6059 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6060 result="hardAlpha" 6061 /> 6062 <feOffset dy="10.8833" /> 6063 <feGaussianBlur stdDeviation="11.6607" /> 6064 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6065 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6066 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 6067 <feColorMatrix 6068 in="SourceAlpha" 6069 type="matrix" 6070 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6071 result="hardAlpha" 6072 /> 6073 <feOffset dy="4.66429" /> 6074 <feGaussianBlur stdDeviation="5.44167" /> 6075 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6076 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 6077 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 6078 </filter> 6079 <filter 6080 id="filter27_diii_6984_19013" 6081 x="9.13927" 6082 y="230.353" 6083 width="358.959" 6084 height="115.12" 6085 filterUnits="userSpaceOnUse" 6086 color-interpolation-filters="sRGB" 6087 > 6088 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6089 <feColorMatrix 6090 in="SourceAlpha" 6091 type="matrix" 6092 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6093 result="hardAlpha" 6094 /> 6095 <feOffset dy="-7.77381" /> 6096 <feGaussianBlur stdDeviation="3.88691" /> 6097 <feComposite in2="hardAlpha" operator="out" /> 6098 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6099 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 6100 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 6101 <feColorMatrix 6102 in="SourceAlpha" 6103 type="matrix" 6104 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6105 result="hardAlpha" 6106 /> 6107 <feOffset dy="-24.0988" /> 6108 <feGaussianBlur stdDeviation="4.2756" /> 6109 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6110 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0" /> 6111 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 6112 <feColorMatrix 6113 in="SourceAlpha" 6114 type="matrix" 6115 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6116 result="hardAlpha" 6117 /> 6118 <feOffset dy="10.8833" /> 6119 <feGaussianBlur stdDeviation="11.6607" /> 6120 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6121 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6122 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 6123 <feColorMatrix 6124 in="SourceAlpha" 6125 type="matrix" 6126 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6127 result="hardAlpha" 6128 /> 6129 <feOffset dy="4.66429" /> 6130 <feGaussianBlur stdDeviation="5.44167" /> 6131 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6132 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 6133 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 6134 </filter> 6135 <filter 6136 id="filter28_diii_6984_19013" 6137 x="0.226186" 6138 y="271.56" 6139 width="376.68" 6140 height="143.565" 6141 filterUnits="userSpaceOnUse" 6142 color-interpolation-filters="sRGB" 6143 >
6144 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6145 <feColorMatrix 6146 in="SourceAlpha" 6147 type="matrix" 6148 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6149 result="hardAlpha" 6150 /> 6151 <feOffset dy="-7.77381" /> 6152 <feGaussianBlur stdDeviation="3.88691" /> 6153 <feComposite in2="hardAlpha" operator="out" /> 6154 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6155 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 6156 <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_6984_19013" result="shape" /> 6157 <feColorMatrix 6158 in="SourceAlpha" 6159 type="matrix" 6160 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6161 result="hardAlpha" 6162 /> 6163 <feOffset dy="-24.0988" /> 6164 <feGaussianBlur stdDeviation="4.2756" /> 6165 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6166 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6167 <feBlend mode="normal" in2="shape" result="effect2_innerShadow_6984_19013" /> 6168 <feColorMatrix 6169 in="SourceAlpha" 6170 type="matrix" 6171 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6172 result="hardAlpha" 6173 /> 6174 <feOffset dy="10.8833" /> 6175 <feGaussianBlur stdDeviation="11.272" /> 6176 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6177 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> 6178 <feBlend mode="normal" in2="effect2_innerShadow_6984_19013" result="effect3_innerShadow_6984_19013" /> 6179 <feColorMatrix 6180 in="SourceAlpha" 6181 type="matrix" 6182 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6183 result="hardAlpha" 6184 /> 6185 <feOffset dy="20.2119" /> 6186 <feGaussianBlur stdDeviation="5.44167" /> 6187 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6188 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.45 0" /> 6189 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 6190 </filter> 6191 <filter 6192 id="filter29_i_6984_19013" 6193 x="21.3633" 6194 y="278.545" 6195 width="115.86" 6196 height="97.9049" 6197 filterUnits="userSpaceOnUse" 6198 color-interpolation-filters="sRGB" 6199 > 6200 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6201 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 6202 <feColorMatrix 6203 in="SourceAlpha" 6204 type="matrix" 6205 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6206 result="hardAlpha" 6207 /> 6208 <feOffset dy="10.8833" /> 6209 <feGaussianBlur stdDeviation="3.88691" /> 6210 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6211 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 6212 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 6213 </filter> 6214 <filter 6215 id="filter30_i_6984_19013" 6216 x="239.659" 6217 y="278.545" 6218 width="115.86" 6219 height="97.9049" 6220 filterUnits="userSpaceOnUse" 6221 color-interpolation-filters="sRGB" 6222 > 6223 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6224 <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" /> 6225 <feColorMatrix 6226 in="SourceAlpha" 6227 type="matrix" 6228 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6229 result="hardAlpha" 6230 /> 6231 <feOffset dy="10.8833" /> 6232 <feGaussianBlur stdDeviation="3.88691" /> 6233 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6234 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.55 0" /> 6235 <feBlend mode="normal" in2="shape" result="effect1_innerShadow_6984_19013" /> 6236 </filter> 6237 <filter 6238 id="filter31_ddii_6984_19013" 6239 x="37.4743" 6240 y="305.859" 6241 width="81.4188" 6242 height="63.6979" 6243 filterUnits="userSpaceOnUse" 6244 color-interpolation-filters="sRGB" 6245 > 6246 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6247 <feColorMatrix 6248 in="SourceAlpha" 6249 type="matrix" 6250 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6251 result="hardAlpha" 6252 /> 6253 <feOffset dx="-1.55476" dy="3.10953" /> 6254 <feGaussianBlur stdDeviation="1.16607" /> 6255 <feComposite in2="hardAlpha" operator="out" /> 6256 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.7 0" />
6257 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 6258 <feColorMatrix 6259 in="SourceAlpha" 6260 type="matrix" 6261 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6262 result="hardAlpha" 6263 /> 6264 <feOffset dx="-3.10953" dy="-3.10953" /> 6265 <feGaussianBlur stdDeviation="1.55476" /> 6266 <feComposite in2="hardAlpha" operator="out" /> 6267 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" /> 6268 <feBlend mode="normal" in2="effect1_dropShadow_6984_19013" result="effect2_dropShadow_6984_19013" /> 6269 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19013" result="shape" /> 6270 <feColorMatrix 6271 in="SourceAlpha" 6272 type="matrix" 6273 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6274 result="hardAlpha" 6275 /> 6276 <feOffset dy="12.4381" /> 6277 <feGaussianBlur stdDeviation="12.4381" /> 6278 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6279 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 1 0" /> 6280 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19013" /> 6281 <feColorMatrix 6282 in="SourceAlpha" 6283 type="matrix" 6284 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6285 result="hardAlpha" 6286 /> 6287 <feOffset dy="-4.66429" /> 6288 <feGaussianBlur stdDeviation="1.55476" /> 6289 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6290 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 0.35 0" /> 6291 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 6292 </filter> 6293 <filter 6294 id="filter32_ddii_6984_19013" 6295 x="258.317" 6296 y="305.859" 6297 width="81.4188" 6298 height="63.6979" 6299 filterUnits="userSpaceOnUse" 6300 color-interpolation-filters="sRGB" 6301 > 6302 <feFlood flood-opacity="0" result="BackgroundImageFix" /> 6303 <feColorMatrix 6304 in="SourceAlpha" 6305 type="matrix" 6306 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6307 result="hardAlpha" 6308 /> 6309 <feOffset dx="1.55476" dy="3.10953" /> 6310 <feGaussianBlur stdDeviation="1.16607" /> 6311 <feComposite in2="hardAlpha" operator="out" /> 6312 <feColorMatrix type="matrix" values="0 0 0 0 0.788235 0 0 0 0 0.866667 0 0 0 0 0.568627 0 0 0 0.7 0" /> 6313 <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_6984_19013" /> 6314 <feColorMatrix 6315 in="SourceAlpha" 6316 type="matrix" 6317 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6318 result="hardAlpha" 6319 /> 6320 <feOffset dx="3.10953" dy="-3.10953" /> 6321 <feGaussianBlur stdDeviation="1.55476" /> 6322 <feComposite in2="hardAlpha" operator="out" /> 6323 <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0" /> 6324 <feBlend mode="normal" in2="effect1_dropShadow_6984_19013" result="effect2_dropShadow_6984_19013" /> 6325 <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_6984_19013" result="shape" /> 6326 <feColorMatrix 6327 in="SourceAlpha" 6328 type="matrix" 6329 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6330 result="hardAlpha" 6331 /> 6332 <feOffset dy="12.4381" /> 6333 <feGaussianBlur stdDeviation="12.4381" /> 6334 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6335 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 1 0" /> 6336 <feBlend mode="normal" in2="shape" result="effect3_innerShadow_6984_19013" /> 6337 <feColorMatrix 6338 in="SourceAlpha" 6339 type="matrix" 6340 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" 6341 result="hardAlpha" 6342 /> 6343 <feOffset dy="-4.66429" /> 6344 <feGaussianBlur stdDeviation="1.55476" /> 6345 <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" /> 6346 <feColorMatrix type="matrix" values="0 0 0 0 0.121569 0 0 0 0 0.196078 0 0 0 0 0.0509804 0 0 0 0.35 0" /> 6347 <feBlend mode="normal" in2="effect3_innerShadow_6984_19013" result="effect4_innerShadow_6984_19013" /> 6348 </filter> 6349 <radialGradient 6350 id="paint0_radial_6984_19013" 6351 cx="0" 6352 cy="0" 6353 r="1" 6354 gradientUnits="userSpaceOnUse" 6355 gradientTransform="translate(188.447 196.726) scale(117.482 74.814)" 6356 > 6357 <stop offset="0.211538" stop-color="#2C3B1A" /> 6358 <stop offset="1" stop-color="#152011" /> 6359 </radialGradient> 6360 <radialGradient 6361 id="paint1_radial_6984_19013" 6362 cx="0" 6363 cy="0" 6364 r="1" 6365 gradientUnits="userSpaceOnUse" 6366 gradientTransform="translate(188.715 418.754) scale(160.505 51.7542)" 6367 > 6368 <stop stop-color="#6CCF11" /> 6369 <stop offset="1" stop-color="#294D08" /> 6370 </radialGradient> 6371 <linearGradient 6372 id="paint2_linear_6984_19013" 6373 x1="188.711" 6374 y1="167.392" 6375 x2="188.711" 6376 y2="430.419" 6377 gradientUnits="userSpaceOnUse" 6378 > 6379 <stop stop-color="#294D08" /> 6380 <stop offset="1" stop-color="#6CCF11" /> 6381 </linearGradient> 6382 <radialGradient 6383 id="paint3_radial_6984_19013" 6384 cx="0" 6385 cy="0" 6386 r="1" 6387 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 107.182 216.827)" 6388 gradientUnits="userSpaceOnUse" 6389 > 6390 <stop stop-color="white" /> 6391 <stop offset="1" stop-color="white" stop-opacity="0" /> 6392 </radialGradient> 6393 <radialGradient 6394 id="paint4_radial_6984_19013" 6395 cx="0" 6396 cy="0" 6397 r="1" 6398 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 93.1889 258.806)" 6399 gradientUnits="userSpaceOnUse" 6400 > 6401 <stop stop-color="white" /> 6402 <stop offset="1" stop-color="white" stop-opacity="0" /> 6403 </radialGradient> 6404 <radialGradient 6405 id="paint5_radial_6984_19013" 6406 cx="0" 6407 cy="0" 6408 r="1" 6409 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 77.641 300.785)" 6410 gradientUnits="userSpaceOnUse" 6411 > 6412 <stop stop-color="white" /> 6413 <stop offset="1" stop-color="white" stop-opacity="0" /> 6414 </radialGradient> 6415 <radialGradient 6416 id="paint6_radial_6984_19013" 6417 cx="0" 6418 cy="0" 6419 r="1" 6420 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 76.0863 342.763)" 6421 gradientUnits="userSpaceOnUse" 6422 > 6423 <stop stop-color="white" /> 6424 <stop offset="1" stop-color="white" stop-opacity="0" /> 6425 </radialGradient> 6426 <radialGradient 6427 id="paint7_radial_6984_19013" 6428 cx="0" 6429 cy="0" 6430 r="1" 6431 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 111.846 369.194)" 6432 gradientUnits="userSpaceOnUse" 6433 > 6434 <stop stop-color="white" /> 6435 <stop offset="1" stop-color="white" stop-opacity="0" /> 6436 </radialGradient> 6437 <radialGradient 6438 id="paint8_radial_6984_19013" 6439 cx="0" 6440 cy="0" 6441 r="1" 6442 gradientTransform="matrix(-0.457283 36.8536 -34.5503 -0.435078 163.153 376.191)" 6443 gradientUnits="userSpaceOnUse" 6444 > 6445 <stop stop-color="white" /> 6446 <stop offset="1" stop-color="white" stop-opacity="0" /> 6447 </radialGradient> 6448 <radialGradient 6449 id="paint9_radial_6984_19013" 6450 cx="0" 6451 cy="0" 6452 r="1" 6453 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 269.517 216.827)" 6454 gradientUnits="userSpaceOnUse" 6455 > 6456 <stop stop-color="white" /> 6457 <stop offset="1" stop-color="white" stop-opacity="0" /> 6458 </radialGradient> 6459 <radialGradient 6460 id="paint10_radial_6984_19013" 6461 cx="0" 6462 cy="0" 6463 r="1" 6464 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 283.51 258.806)" 6465 gradientUnits="userSpaceOnUse" 6466 > 6467 <stop stop-color="white" /> 6468 <stop offset="1" stop-color="white" stop-opacity="0" /> 6469 </radialGradient> 6470 <radialGradient 6471 id="paint11_radial_6984_19013" 6472 cx="0" 6473 cy="0" 6474 r="1" 6475 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 299.058 300.785)" 6476 gradientUnits="userSpaceOnUse" 6477 > 6478 <stop stop-color="white" /> 6479 <stop offset="1" stop-color="white" stop-opacity="0" /> 6480 </radialGradient> 6481 <radialGradient 6482 id="paint12_radial_6984_19013" 6483 cx="0" 6484 cy="0" 6485 r="1" 6486 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 300.612 342.763)" 6487 gradientUnits="userSpaceOnUse" 6488 > 6489 <stop stop-color="white" /> 6490 <stop offset="1" stop-color="white" stop-opacity="0" /> 6491 </radialGradient> 6492 <radialGradient 6493 id="paint13_radial_6984_19013" 6494 cx="0" 6495 cy="0" 6496 r="1" 6497 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 264.853 369.194)" 6498 gradientUnits="userSpaceOnUse" 6499 > 6500 <stop stop-color="white" /> 6501 <stop offset="1" stop-color="white" stop-opacity="0" /> 6502 </radialGradient> 6503 <radialGradient 6504 id="paint14_radial_6984_19013" 6505 cx="0" 6506 cy="0" 6507 r="1" 6508 gradientTransform="matrix(0.457283 36.8536 34.5503 -0.435078 213.546 376.191)" 6509 gradientUnits="userSpaceOnUse" 6510 > 6511 <stop stop-color="white" /> 6512 <stop offset="1" stop-color="white" stop-opacity="0" /> 6513 </radialGradient> 6514 <linearGradient 6515 id="paint15_linear_6984_19013" 6516 x1="188.606" 6517 y1="64" 6518 x2="188.606" 6519 y2="248.876" 6520 gradientUnits="userSpaceOnUse" 6521 > 6522 <stop stop-color="#6CCF11" /> 6523 <stop offset="1" stop-color="#294D08" /> 6524 </linearGradient> 6525 <radialGradient 6526 id="paint16_radial_6984_19013" 6527 cx="0" 6528 cy="0" 6529 r="1" 6530 gradientUnits="userSpaceOnUse" 6531 gradientTransform="translate(188.377 226.465) rotate(90) scale(69.5224 165.055)" 6532 > 6533 <stop stop-color="#6CCF11" /> 6534 <stop offset="1" stop-color="#294D08" /> 6535 </radialGradient> 6536 <radialGradient 6537 id="paint17_radial_6984_19013" 6538 cx="0" 6539 cy="0" 6540 r="1" 6541 gradientUnits="userSpaceOnUse" 6542 gradientTransform="translate(188.377 225.689) rotate(90) scale(54.3751 100.062)" 6543 > 6544 <stop stop-color="#C9DD91" /> 6545 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 6546 </radialGradient> 6547 <radialGradient 6548 id="paint18_radial_6984_19013" 6549 cx="0" 6550 cy="0" 6551 r="1" 6552 gradientUnits="userSpaceOnUse" 6553 gradientTransform="translate(188.352 261.454) rotate(90) scale(69.5756 181.829)" 6554 > 6555 <stop stop-color="#6CCF11" /> 6556 <stop offset="1" stop-color="#294D08" /> 6557 </radialGradient> 6558 <radialGradient 6559 id="paint19_radial_6984_19013" 6560 cx="0" 6561 cy="0" 6562 r="1" 6563 gradientUnits="userSpaceOnUse" 6564 gradientTransform="translate(188.352 260.676) rotate(90) scale(54.4167 110.232)" 6565 > 6566 <stop stop-color="#C9DD91" /> 6567 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 6568 </radialGradient> 6569 <radialGradient 6570 id="paint20_radial_6984_19013" 6571 cx="0" 6572 cy="0" 6573 r="1" 6574 gradientUnits="userSpaceOnUse" 6575 gradientTransform="translate(188.353 324.033) rotate(90) scale(80.459 259.065)" 6576 > 6577 <stop stop-color="#6CCF11" /> 6578 <stop offset="1" stop-color="#294D08" /> 6579 </radialGradient> 6580 <radialGradient 6581 id="paint21_radial_6984_19013" 6582 cx="0" 6583 cy="0" 6584 r="1" 6585 gradientUnits="userSpaceOnUse" 6586 gradientTransform="translate(188.352 315.871) rotate(90) scale(56.7488 101.596)" 6587 > 6588 <stop stop-color="#C9DD91" /> 6589 <stop offset="1" stop-color="#C9DD91" stop-opacity="0" /> 6590 </radialGradient> 6591 <radialGradient 6592 id="paint22_radial_6984_19013" 6593 cx="0" 6594 cy="0" 6595 r="1" 6596 gradientUnits="userSpaceOnUse" 6597 gradientTransform="translate(184.465 331.418) rotate(89.4001) scale(74.244 180.358)" 6598 > 6599 <stop stop-color="#6CCF11" /> 6600 <stop offset="1" stop-color="#294D08" /> 6601 </radialGradient> 6602 <radialGradient 6603 id="paint23_radial_6984_19013" 6604 cx="0" 6605 cy="0" 6606 r="1" 6607 gradientUnits="userSpaceOnUse" 6608 gradientTransform="translate(181.745 313.15) rotate(92.7621) scale(88.7246 206.382)" 6609 > 6610 <stop stop-color="#C9DD91" /> 6611 <stop offset="0.60062" stop-color="#C9DD91" stop-opacity="0" /> 6612 </radialGradient> 6613 <radialGradient 6614 id="paint24_radial_6984_19013" 6615 cx="0" 6616 cy="0" 6617 r="1" 6618 gradientUnits="userSpaceOnUse" 6619 gradientTransform="translate(192.417 331.418) rotate(90.5999) scale(74.244 180.358)" 6620 > 6621 <stop stop-color="#6CCF11" /> 6622 <stop offset="1" stop-color="#294D08" /> 6623 </radialGradient> 6624 <radialGradient 6625 id="paint25_radial_6984_19013" 6626 cx="0" 6627 cy="0" 6628 r="1" 6629 gradientUnits="userSpaceOnUse" 6630 gradientTransform="translate(195.138 313.15) rotate(87.2379) scale(88.7246 206.382)" 6631 > 6632 <stop stop-color="#C9DD91" /> 6633 <stop offset="0.60062" stop-color="#C9DD91" stop-opacity="0" /> 6634 </radialGradient> 6635 </defs> 6636</svg> 6637`,eH={[Pn.HAPPY]:{raw:QP,token:"_6984_19013"},[Pn.ANGRY]:{raw:XP,token:"_6984_19390"},[Pn.OPEN]:{raw:JP,token:"_6984_19016"}},wx=({state:t})=>{const s=m.useId().replace(/:/g,""),{raw:a,token:l}=eH[t],r=m.useMemo(()=>a.split(l).join(`_crock_${s}`),[a,l,s]);return e.jsx("div",{className:"pointer-events-none","data-testid":`crock-head-${t}`,"aria-hidden":"true",dangerouslySetInnerHTML:{__html:r}}
6637)},tH="/assets/biting-C97Pdm6-.mp3",sH="/assets/gamestart-oRnSisL-.mp3",aH="/assets/selected-tooth-CG3jckcN.mp3",nH="/assets/tooth-hover-Cp3VCu6q.mp3",F1={GAME_START:sH,SELECT_TOOTH:aH,BITING:tH,TOOTH_HOVER:nH},lH="/assets/card-deal-DgHflqpd.mp3",rH="/assets/card-shuffle-rApL6oT7.mp3",iH="/assets/chip-place-DmhI2BP8.mp3",oH="/assets/chip-throw-DRH6AqO1.mp3",cH="/assets/countdown-BMj2Vo9S.mp3",dH="/assets/silent-Cjfc0AMs.mp3",uH="/assets/win-DNxsbzP4.mp3",v2=new Map,w2=new Set,y2=new Map,xe={SILENT:dH,CARD_DEAL:lH,CARD_SHUFFLE:rH,CHIP_PLACE:iH,CHIP_THROW:oH,COUNTDOWN:cH,WIN:uH},Ki=t=>{if(typeof Audio>"u")return null;let s=v2.get(t);return s||(s=new Audio(t),s.preload="auto",s.muted=w2.has(t),v2.set(t,s)),s},qe=(t,s=!1)=>{const a=Ki(t);!a||a.muted||(a.loop=s,a.currentTime=0,a.play().catch(()=>{}))},_2=t=>{const s=Ki(t);if(!s||s.muted)return;const a=s.cloneNode(!0);let l=y2.get(t);l||(l=new Set,y2.set(t,l)),l.add(a);const r=()=>l.delete(a);a.addEventListener("ended",r,{once:!0}),a.addEventListener("error",r,{once:!0}),a.play().catch(()=>{})},yx=t=>{const s=v2.get(t);s&&(s.pause(),s.currentTime=0);const a=y2.get(t);a&&(a.forEach(l=>l.pause()),a.clear())},Vs=t=>{t.forEach(yx)},d5=(t,s)=>{s?w2.add(t):w2.delete(t);const a=Ki(t);a&&(a.muted=s)},rn=(t,s)=>(t.forEach(a=>d5(a,!s)),()=>t.forEach(a=>d5(a,!1))),mH=t=>{t.forEach(s=>{var a;(a=Ki(s))==null||a.load()})},xH={position:"absolute",width:326,height:312,bottom:27,left:28},_x={position:"absolute",top:36,left:11,width:304,height:228},Nx={transformOrigin:"top",position:"relative",width:376,height:560},fH=()=>{const[t,s,a,l,r,i,o,d,u]=C([Ue.$gameConfig,cv,Ue.$gameplayMode,Ue.$isPlaying,Ue.$isAutoplayPlaying,_7,dv,uv,Ue.$isAudioOn]),c=Number((t==null?void 0:t.cellsCount)??0),x=a===Bt.AUTOPLAY,p=C(ht),f=a===Bt.MANUAL&&!l||x&&r,h=()=>{u&&qe(F1.TOOTH_HOVER)},b=()=>yx(F1.TOOTH_HOVER);return e.jsxs("div",{className:g("crock-game relative flex flex-col justify-between gap-4 overflow-hidden rounded-xl border border-primary bg-gunmetal p-4 md:p-12",p&&"lg:p-5"),children:[e.jsx(WP,{}),e.jsx("div",{className:"flex items-center justify-center",children:e.jsxs("div",{className:g("relative h-full max-h-[380px] rounded-lg pt-6 md:max-h-[530px] md:pt-0",p&&"lg:max-h-[380px] xl:max-h-[420px]"),children:[e.jsx(YP,{}),e.jsxs("div",{className:"scale-[65%] md:scale-[90%]",style:Nx,"data-testid":"crock-head-container",children:[e.jsx(wx,{state:s}),s===Pn.OPEN?e.jsx("div",{style:xH,children:e.jsx("div",{style:_x,"data-testid":"crock-grid","data-cells-count":c,children:Array.from({length:c},(v,j)=>e.jsx(vx,{index:j,disabled:f,cellType:xv({cellIndex:j,isPlaying:l,isAutoplayPlaying:r,mines:d,selectedCells:i,selectedCellsWithNoResult:o,isAutoPlay:x}),onSelect:()=>mv(j),onHoverStart:h,onHoverEnd:b},j))})}):null]})]})}),e.jsx(qP,{})]})},pH={position:"absolute",width:326,height:312,bottom:16,left:28},hH=({cellsCount:t,minedCells:s})=>e.jsx("div",{className:"crock-game relative flex items-center justify-center overflow-hidden rounded-lg border border-primary bg-secondary",children:e.jsxs("div",{className:"scale-[55%]",style:Nx,"data-testid":"crock-verify-head-container",children:[e.jsx("div",{style:{filter:"grayscale(1)"},children:e.jsx(wx,{state:Pn.OPEN})}),e.jsx("div",{style:pH,children:e.jsx("div",{style:_x,"data-testid":"crock-verify-grid","data-mined-cells":s.join(","),children:Array.from({length:t},(a,l)=>e.jsx(vx,{index:l,readOnly:!0,cellType:s.includes(l)?"resultMine":"resultDiamond"},l))})})]})}),gH=()=>{const[t,s,a,l,r,i]=C([Ue.$gameConfig,Hs,vs,ws,ys,N7]),o=t;m.useEffect(()=>{!i&&o&&Br(Number(o.minesCount.default))},[i,o]);const{minedCells:d,error:u}=m.useMemo(()=>{if(!o||!s||!i)return{minedCells:[],error:null};try{return{minedCells:fv(s,{minesCount:i},o).minedCells,error:null}}catch(c){return{minedCells:[],error:c instanceof Error?c.message:String(c)}}},[o,s,i]);return e.jsxs("div",{"data-testid":"crock-verification-tab","data-mined-cells":d.join(","),children:[e.jsx("div",{className:"flex min-h-[300px] flex-col items-center justify-center",children:e.jsx(hH,{cellsCount:Number((o==null?void 0:o.cellsCount)??0),minedCells:d})}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:c=>_s(c??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:c=>Ns(c??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:c=>ks(c??"")}),e.jsx(ne,{name:"verify-mines-count",testId:"verify-mines-count",label:n("games.croc.title"),type:"number",minValue:Number((o==null?void 0:o.minesCount.min)??1),maxValue:Number((o==null?void 0:o.minesCount.max)??11),value:i||"",onChanged:c=>Br(Number(c??0))}),u?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:u}):null]})]})},bH={green:Rr,red:Er,white:"#FFFFFF"},CH={green:"text-green-500",red:"text-red-400",white:"text-black-300"},kx=({diceNumberResult:t,diceNumberBet:s,diceDirection:a=k7.ABOVE,fallback:l=50})=>{const r=Number(t??l),i=t!==void 0&&s!==void 0?pv(a,t,s)?"green":"red":"white";return e.jsx("div",{className:"pointer-events-none h-[64px] w-full px-[28px] md:h-[80px] md:px-[35px]",children:e.jsx("div",{className:"relative size-full px-[28px] md:px-[35px]",children:e.jsxs("div",{className:"absolute z-main h-[64px] w-[56px] transition-all duration-500 ease-out md:h-[80px] md:w-[70px]",style:{left:`${r}%`,transform:"translateX(-50%)"},"data-testid":"dice-cube","data-variant":i,"data-value":r,children:[e.jsx(_P,{fill:bH[i],className:"-z-1 size-full object-contain"}),e.jsx("div",{className:g("absolute left-1/2 top-1/4 flex h-6 w-10 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-opacity-90 md:h-7 md:w-12",i!=="white"&&"bg-black-300 backdrop-blur-sm"),children:e.jsx("span",{className:g("text-base font-semibold leading-none md:text-xl",CH[i]),children:r})})]})})})},jH=25,vH=(t,s,a)=>{const l=[];for(let r=0;t+r*a<=s;r+=1)r%jH===0&&l.push(t+r*a);return l},Sx=({min:t,max:s,step:a,value:l,baseColor:r,rangeColor:i,readOnly:o=!1,onChange:d,cube:u,testId:c})=>{const x=s-t||1,p=Math.min(Math.max((l-t)/x,0),1),f=vH(t,s,a);return e.jsxs("div",{className:"flex w-full flex-col gap-y-2 pb-10",children:[u,e.jsx("div",{className:"relative flex h-[72px] w-full scale-[0.98] items-center justify-center rounded-[48px] bg-highlight md:scale-100",children:e.jsx("div",{className:"relative flex h-[40px] w-[calc(100%-32px)] items-center justify-center rounded-[20px] bg-black-300",children:e.jsxs("div",{className:"relative flex w-[calc(100%-24px)] select-none flex-col items-center",children:[e.jsxs("span",{className:"relative h-4 w-full grow rounded-full",style:{backgroundColor:r},children:[e.jsx("span",{className:"absolute inset-y-0 left-0 rounded-full",style:{width:`${p*100}%`,backgroundColor:i}}),e.jsx("span",{className:"pointer-events-none absolute top-[-10px] flex size-9 items-center justify-center rounded-[10px] bg-white shadow-[inset_0px_-2px_0px_0px_rgba(0,0,0,0.25)]",style:{left:`calc(${p*100}% - ${p*36}px)`},children:e.jsx(NP,{className:"size-3/5"})}),e.jsx("input",{type:"range",min:t,max:s,step:a,value:l,disabled:o,"data-testid":c,"aria-label":"Dice number","aria-valuenow":l,className:"absolute inset-y-[-10px] left-0 w-full cursor-pointer appearance-none bg-transparent [&::-moz-range-thumb]:size-9 [&::-moz-range-thumb]:cursor-pointer [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-transparent [&::-webkit-slider-thumb]:size-9 [&::-webkit-slider-thumb]:cursor-pointer [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:bg-transparent",onChange:h=>d==null?void 0:d(Number(h.target.value))})]}),e.jsx("div",{className:"absolute left-0 top-16 flex size-full items-center justify-between md:top-14",children:f.map(h=>e.jsx("div",{className:"justify-start text-center text-base font-semibold leading-normal text-slate-400",children:h},h))})]})})})]})},wH=()=>{const[t,s,a,l,r,i,o,d]=C([S7,A7,hv,hs.$outcome,hs.$bet,hs.$isPlaying,hs.$isAutoplayPlaying,hs.$gameConfig]);if(!a)return null;const u=s===k7.ABOVE;return e.jsx(Sx,{testId:"dice-slider",min:a.min,max:a.max,step:a.step,value:t,baseColor:u?Rr:Er,rangeColor:u?Er:Rr,readOnly:i||o,onChange:c=>gv(c),cube:e.jsx(kx,{diceDirection:s,diceNumberResult:l==null?void 0:l.diceNumber,diceNumberBet:r==null?void 0:r.diceNumber,fallback:(d==null?void 0:d.diceRange.default)??50})})},yH=({config:t,diceNumber:s})=>e.jsx(Sx,{testId:"dice-slider-verify",min:t.diceRange.min,max:t.diceRange.max,step:t.diceRange.step,value:s,baseColor:Rr,rangeColor:Er,readOnly:!0,cube:e.jsx(kx,{diceNumberResult:s,fallback:t.diceRange.default})}),_H=()=>{const[t,s,a,l,r]=C([hs.$gameConfig,Hs,vs,ws,ys]),i=t,{diceNumber:o,error:d}=m.useMemo(()=>{const u=(i==null?void 0:i.diceRange.default)??50;if(!i||!s)return{diceNumber:u,error:null};try{return{diceNumber:bv(s,i).diceNumber,error:null}}catch(c){return{diceNumber:u,error:c instanceof Error?c.message:String(c)}}},[i,s]);return e.jsxs("div",{"data-testid":"dice-verification-tab","data-dice-number":o,children:[e.jsx("div",{className:"flex min-h-[270px] flex-col items-center justify-center",children:i?e.jsx(yH,{config:i,diceNumber:o}):null}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:u=>_s(u??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:u=>Ns(u??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:u=>ks(u??"")}),d?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:d}):null]})]})},NH=({multiplier:t})=>e.jsxs("svg",{width:"87",height:"56",viewBox:"0 0 87 56",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsxs("g",{clipPath:"url(#duck-popup-clip)",children:[e.jsx("g",{filter:"url
6637(#duck-popup-inner)",children:e.jsx("path",{d:"M79.1504 7.81395C83.4856 7.81395 87 11.3124 87 15.6279V48.186C87 52.5016 83.4856 56 79.1504 56H7.84962C3.5144 56 0 52.5016 0 48.186V15.6279C5.90022e-07 11.3124 3.5144 7.81395 7.84962 7.81395H36L43.1729 0L51 7.81395H79.1504Z",fill:"url(#duck-popup-fill)"})}),e.jsx("path",{d:"M50.0801 8.73535L50.4609 9.11621H79.1504C82.772 9.11622 85.6973 12.0372 85.6973 15.6279V48.1865C85.697 51.777 82.7718 54.6973 79.1504 54.6973H7.84961C4.22821 54.6973 1.30299 51.777 1.30273 48.1865V15.6279C1.30273 12.0372 4.22805 9.11622 7.84961 9.11621H36.5723L36.959 8.69434L43.2139 1.88086L50.0801 8.73535Z",stroke:"url(#duck-popup-stroke)",strokeOpacity:"0.4",strokeWidth:"2.60465"}),e.jsxs("text",{x:"43",y:"33",textAnchor:"middle",dominantBaseline:"middle",fill:"black",className:"text-xl",children:[t,"x"]})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"duck-popup-inner",x:"0",y:"0",width:"87",height:"56",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"-3.90698"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow"})]}),e.jsxs("radialGradient",{id:"duck-popup-fill",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(43.5 28) scale(43.5 16677.2)",children:[e.jsx("stop",{stopColor:"#FCD753"}),e.jsx("stop",{offset:"1",stopColor:"#E2B61A"})]}),e.jsxs("linearGradient",{id:"duck-popup-stroke",x1:"43.5",y1:"0",x2:"43.5",y2:"56",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"white"}),e.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),e.jsx("clipPath",{id:"duck-popup-clip",children:e.jsx("rect",{width:"87",height:"56",fill:"white"})})]})]}),kH="radial-gradient(55% 100% at 50% 0%, rgba(84, 209, 73, 0.36) 0%, rgba(84, 209, 73, 0) 100%), linear-gradient(0deg, rgba(84, 209, 73, 0.1) 0%, rgba(84, 209, 73, 0.1) 100%), #424B5C",SH=()=>{const[t,s]=C([Cv,St.$roundResult]);if(!t||!s)return null;const a=s.betCurrency===U.WHALE;return e.jsxs("div",{className:"absolute left-1/2 top-1/2 z-drawer-buttons flex min-w-40 -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center gap-4 roun
6637ded-lg p-3 shadow-lg",style:{background:kH},"data-testid":"duck-win-modal",children:[e.jsx("div",{className:"text-xl font-semibold text-golden",children:s.isConstrained?e.jsxs("span",{className:"flex flex-col items-center justify-center",children:[e.jsxs("span",{className:"text-2xl font-bold",children:["ð ",n("global_congratulations")," ð"]}),e.jsx("span",{className:"text-sm",children:n("global_win_constrained")})]}):`${n("global_win").toLocaleUpperCase()}!`}),e.jsxs("div",{className:"flex w-full place-items-center justify-center gap-2 rounded-xl bg-[#14182052] py-3 text-center text-green-500",children:[e.jsxs("span",{"data-testid":"duck-win-amount",children:["+",a?s.winAmount:s.winAmountInUsd]}),e.jsx(Zt,{currency:s.betCurrency??U.USDT,className:"size-5 text-green-500"})]})]})},AH="/assets/car1-BByyxZS0.svg",LH="/assets/car2-BXhhvGgP.svg",MH="/assets/dead-duck-CSjhLyTK.svg",BH="/assets/duck-body-BTH8U9c4.svg",EH="/assets/duck-leg-left-B4fV79ZE.svg",RH="/assets/duck-leg-right-DZjPVkWC.svg",TH="/assets/grass-pKN9gYPt.svg",IH="/assets/road-badge-B3KpDVB8.svg",FH="/assets/road-surface-ChJvElNz.svg",OH="/assets/roadblock-DDR8ZyTW.svg",Pt={GRASS:TH,ROAD:FH,ROAD_BADGE:IH,ROADBLOCK:OH,CAR1:AH,CAR2:LH,DUCK_BODY:BH,DUCK_LEG_LEFT:EH,DUCK_LEG_RIGHT:RH,DEAD_DUCK:MH},DH=({walking:t})=>e.jsxs("div",{className:"relative flex h-[120px] items-center justify-center","data-testid":"duck-sprite","data-walking":t,children:[e.jsx("img",{src:Pt.DUCK_BODY,alt:"","aria-hidden":"true",width:112,height:120,className:g(t&&"animate-duck-shake")}),e.jsx("img",{src:Pt.DUCK_LEG_LEFT,alt:"","aria-hidden":"true",width:32,height:21,className:g("absolute bottom-[-14px] left-[28px] -z-10 origin-top",t&&"animate-duck-leg")}),e.jsx("img",{src:Pt.DUCK_LEG_RIGHT,alt:"","aria-hidden":"true",width:34,height:17,className:g("absolute bottom-[-8px] left-[60px] -z-10 origin-top",t&&"animate-duck-leg"),style:t?{animationDelay:"0.15s"}:void 0})]}),Ax=({className:t})=>e.jsx("img",{src:Pt.DEAD_DUCK,alt:"","aria-hidden":"true",width:164,height:194,className:g("origin-center scale-[0.8]",t),"data-testid":"dead-duck"}),$H=({line:t,multiplier:s,available:a,isDuckOnRoad:l,car:r,isOriginalsInTribes:i,onCross:o})=>e.jsxs("div",{className:g("relative h-[440px] w-[170px]",i&&"md:h-[360px] xl:h-[440px]"),"data-testid":"duck-road","data-line":t,children:[!l&&r?e.jsx("div",{className:"absolute left-[13px] top-0 z-20 transition-transform ease-linear",style:{transform:`translateY(${r.show?"170%":"-170%"})`,transitionDuration:`${r.show?qt.CAR_ANIMATION_SPEED_MS:0}ms`},children:e.jsx("img",{src:r.carType==="car1"?Pt.CAR1:Pt.CAR2,alt:"","aria-hidden":"true"})}):null,e.jsxs("button",{type:"button",disabled:!a,"data-testid":"duck-road-badge","data-available":a,onClick:o,onKeyDown:d=>{d.key==="Enter"&&(d.preventDefault(),o())},className:g("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transition-all duration-100",a?"cursor-pointer opacity-100 hover:text-green-500":"pointer-events-none opacity-50",l&&"hidden"),children:[e.jsx("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 select-none text-center text-2xl font-bold leading-loose",children:s?`${s}x`:""}),e.jsx("img",{src:Pt.ROAD_BADGE,alt:"","aria-hidden":"true",width:108,height:108})]}),e.jsx("img",{src:Pt.ROAD,alt:"","aria-hidden":"true",width:170,height:440})]}),PH=()=>{const[t,s,a,l,r,i,o,d]=C([jv,vv,wv,yv,_v,St.$isRoundOpen,St.$isRequestPending,Nv]),u=C(ht),[c,x]=m.useState(!1),[p,f]=m.useState(!1),[h,b]=m.useState(!1),[v,j]=m.useState("car1"),[y,N]=m.useState({}),k=m.useRef([]),w=m.useCallback(A=>(k.current.push(A),A),[]);m.useEffect(()=>()=>{k.current.forEach(clearTimeout),k.current=[]},[]),m.useEffect(()=>{if(a===0){x(!1),f(!1),b(!1);return}x(!0),f(!1),b(!1),w(setTimeout(()=>{x(!1),f(!0)},qt.ANIMATION_SPEED_MS+qt.ANIMATION_DELAY_MS))},[a,w]),m.useEffect(()=>{!r||a===0||(j(Math.random()<.5?"car1":"car2"),f(!0),w(setTimeout(()=>b(!0),qt.CAR_ANIMATION_SPEED_MS)))},[r,a,w]),m.useEffect(()=>{if(r||s.length===0)return;const A=[],E=L=>{A.push(setTimeout(()=>{N(B=>({...B,[L]:{show:!0,carType:Math.random()<.5?"car1":"car2"}})),A.push(setTimeout(()=>{N(B=>({...B,[L]:{...B[L],show:!1}})),E(L)}
6637,qt.CAR_ANIMATION_SPEED_MS))},Math.random()*3e3+2e3))};return s.forEach(({line:L})=>E(L)),()=>A.forEach(clearTimeout)},[r,s]);const S=a*(qt.COL_WIDTH+qt.GAP),M=t*qt.COL_WIDTH+Math.max(t-1,0)*qt.GAP,_=a>0&&!c&&!r;return e.jsxs("div",{className:"relative touch-pan-y overflow-hidden bg-[#222833]",style:{width:M?`${M}px`:void 0},"data-testid":"duck-map","data-current-line":a,"data-lines-count":t,children:[e.jsx(SH,{}),r?null:e.jsx("div",{className:"absolute left-[13px] top-0 z-20 transition-transform ease-in-out",style:{transform:`translateY(${p?"30%":"-200%"})`,transitionDuration:`${qt.ROADBLOCK_ANIMATION_SPEED_MS}ms`},children:e.jsx("img",{src:Pt.ROADBLOCK,alt:"","aria-hidden":"true",width:144,height:82})}),r&&a>0?e.jsx("div",{className:"absolute left-[13px] top-0 z-20 transition-transform ease-linear",style:{transform:`translateY(${p?"170%":"-170%"})`,transitionDuration:`${qt.CAR_ANIMATION_SPEED_MS}ms`},children:e.jsx("img",{src:v==="car1"?Pt.CAR1:Pt.CAR2,alt:"","aria-hidden":"true"})}):null,e.jsx("div",{className:"absolute left-[25px] top-1/2 z-10 flex -translate-y-1/2 items-center justify-center",children:h?e.jsx(Ax,{}):e.jsx(DH,{walking:c})}),e.jsx("div",{className:"absolute left-[40px] top-3/4 z-10 flex items-center justify-center",children:_?e.jsx("div",{className:"animate-[fadeIn_1s_ease-out_forwards] opacity-0",children:e.jsx(NH,{multiplier:l})}):null}),e.jsxs("div",{className:g("grid h-[350px] w-fit auto-cols-[170px] grid-flow-col gap-2 transition-transform ease-in-out",u?"xl:h-[386px]":"md:h-auto"),style:{transform:`translateX(-${S}px)`,transitionDuration:`${qt.ANIMATION_SPEED_MS}ms`},children:[e.jsx("img",{src:Pt.GRASS,alt:"","aria-hidden":"true",width:170,height:440}),s.map(({line:A,multiplier:E})=>e.jsx($H,{line:A,multiplier:E,available:Sv({lineNumber:A,selectedLines:d,isRoundClosed:!i})&&!o,isDuckOnRoad:A===a,car:y[A],isOriginalsInTribes:u,onCross:()=>kv()},A)),e.jsx("img",{src:Pt.GRASS,alt:"","aria-hidden":"true",width:170,height:440,className:"rotate-180"})]})]})},HH=()=>{const[t,s,a,l,r,i]=C([St.$gameConfig,St.$gameInfo,Hs,vs,ws,ys]),[o,d]=m.useState(e2.EASY),u=t,c=Number((s==null?void 0:s.rtp)??0),{fatalLine:x,error:p}=m.useMemo(()=>{if(!u||!a||!c)return{fatalLine:0,error:null};try{return{fatalLine:Av(a,{difficulty:o},u,c).fatalLine,error:null}}catch(f){return{fatalLine:0,error:f instanceof Error?f.message:String(f)}}},[u,a,o,c]);return e.jsxs("div",{"data-testid":"duck-verification-tab","data-fatal-line":x,"data-difficulty":o,children:[e.jsxs("div",{className:"flex min-h-[270px] flex-col items-center justify-center gap-4 pb-4",children:[e.jsxs("div",{children:[e.jsx(Ax,{}),e.jsx("div",{className:"select-none justify-center text-center text-2xl font-bold leading-loose",children:n("games.duck.provablyFair.deadAtLine",{fatalLine:x||"?"})})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2.5",children:[e.jsx("div",{className:"h-6",children:e.jsx("span",{className:"text-sm font-normal text-brandblue-100 md:text-base",children:n("games.duck.controls.difficulty")})}),e.jsx("div",{className:"grid w-full grid-cols-3 rounded-sm bg-black-300 p-px",children:Object.values(e2).map(f=>e.jsx(Z,{height:"medium",block:!0,variant:f===o?"NonAccent":"Link",className:f===o?"text-white":void 0,testId:`verify-duck-difficulty-${f}`,onClick:()=>d(f),children:n(`games.duck.difficulty.${f}`)},f))})]})]}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:l,onInput:f=>_s(f??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:r,onInput:f=>Ns(f??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:i,onInput:f=>ks(f??"")}),p?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:p}):null]})]})},Lx="/assets/treasure-Bt3W0X2A.svg",UH=()=>{const[t,s,a]=C([Lv,Mv,vt.$gameConfig]),l=m.useRef(null);if(m.useEffect(()=>{var r;s===null||!l.current||(r=l.current.querySelector(`[data-matches="${s}"]`))==null||r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[s]),!t.length){const r=a;return e.jsx("div",{className:"flex min-h-[32px] items-center justify-center rounded-md bg-tribe-live p-1.5 md:rounded-lg xl:min-h-[56px] xl:rounded-xl xl:p-4","data-testid":"keno-multipliers-empty",children:e.jsx("span",{className:"text-center text-sm leading-5 text-[#ADAFCE] xl:text-base xl:leading-6",children:n("games.keno.cta.selectCells",{min:(r==null?void 0:r.cellsCountToSelect.min)??1,max:(r==null?void 0:r.cellsCountToSelect.max)??10})})})}return e.jsxs("div",{className:"relative w-full overflow-hidden rounded-md md:rounded-lg","data-testid":"keno-multipliers",children:[e.jsx("div",{className:"pointer-events-none absolute left-0 top-0 z-main h-full w-36 bg-gradient-to-r from-[#292D3C] to-transparent opacity-50"}),e.jsx("div",{className:"pointer-events-none absolute right-0 top-0 z-main h-full w-36 bg-gradient-to-l from-[#292D3C] to-transparent opacity-50"}),e.jsx("div",{ref:l,className:"h-[80px] overflow-x-auto scroll-smooth [-ms-overflow-style:none] [scrollbar-width:none] xl:h-[88px] [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex min-w-max flex-row",children:t.map(({matches:r,multiplier:i})=>{const o=r===s;return e.jsxs("div",{"data-matches":r,"data-testid":"keno-multiplier-row","data-selected":o,className:"flex min-w-[70px] flex-1 shrink-0 flex-col gap-2 overflow-hidden",children:[e.jsxs("div",{className:g("flex h-9 items-center justify-center overflow-hidden border-x border-[#1F232D] p-1 text-center text-sm font-medium xl:h-10 xl:py-2","first:rounded-l-xl last:rounded-r-xl",o?"text-black bg-[#73DA69]":"bg-tribe-live text-[#9092B2]"),children:[u1(i),"x"]}),e.jsx("div",{className:g("flex h-9 items-center justify-center overflow-hidden bg-tribe-live p-1 text-center text-sm font-medium xl:h-10 xl:py-2",o?"bg-[#303E40] text-white":"text-[#9092B2]"),style:{backgroundImage:`url("${Lx}")`,backgroundSize:"80% 80%",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:r})]},r)})})})]})},VH=()=>{const[t,s]=C([vt.$roundResult,Bv]);if(!t||!s||t.winAmount<=0)return null;const a=t.betCurrency===U.WHALE;return e.jsxs("div",{className:"absolute inset-x-2 top-2 z-main flex h-[36px] flex-row items-center justify-between gap-4 roun
6637ded-lg border border-[#233827] bg-[#1A2620]/50 p-4 text-sm font-medium leading-7 text-green-500 backdrop-blur-sm md:inset-x-3 md:top-3 md:h-[44px] md:text-lg","data-testid":"keno-result-card",children:[e.jsx("div",{className:"capitalize",children:n("global_youWon")}),e.jsxs("div",{className:"flex flex-row items-center justify-between gap-x-2",children:[e.jsxs("span",{"data-testid":"keno-win-amount",children:["+"," ",Ke(a?t.winAmount:t.winAmountInUsd,a?U.WHALE:Yh.USD)]}),a?e.jsx(Gt,{className:"size-5"}):null]})]})},u5=8,zH={initial:"bg-[#323A4C] text-white shadow-[inset_0_-4.43px_0_0_#292D3C]",selected:"bg-[#7086FF] text-white shadow-[inset_0_-4.43px_0_0_#2F3EC8]",missed:"bg-[#13161E] text-[#FF5244] shadow-none",matched:"bg-transparent text-white shadow-none"},Mx=({index:t,cellType:s,disabled:a,compact:l=!1,onSelect:r})=>e.jsx("button",{type:"button","aria-label":`Cell ${t+1}`,"data-testid":"keno-cell","data-cell-type":s,disabled:a,onClick:r,className:g("aspect-square size-full rounded-md p-2 transition-colors duration-75 md:rounded-lg xl:rounded-[20px]",zH[s],a?"pointer-events-none":"hover:opacity-50",l&&"rounded-md xl:rounded-md"),style:s==="matched"?{backgroundImage:`url("${Lx}")`,backgroundSize:"100% 100%",backgroundRepeat:"no-repeat",backgroundPosition:"center"}:void 0,children:e.jsx("span",{className:g("text-center font-semibold",l?"text-base":"text-base xl:text-2xl"),children:t+1})}),Bx=({cellsCount:t,compact:s=!1,footer:a,renderCell:l})=>{const r=Math.ceil(t/u5),i=C(ht);return e.jsx("div",{className:"flex items-center justify-center",children:e.jsxs("div",{className:g("grid aspect-square gap-1 xl:gap-2",s?"[--keno-cell:minmax(24px,1fr)]":g("py-4 [--keno-cell:minmax(37px,1fr)] sm:[--keno-cell:minmax(48px,1fr)] md:py-8 md:[--keno-cell:minmax(55px,1fr)]",i?"xl:[--keno-cell:minmax(80px,1fr)]":"xl:w-full xl:max-w-[min(800px,calc(100dvh_-_166px))] xl:[--keno-cell:minmax(48px,1fr)]")),style:{gridTemplateColumns:`repeat(${u5}, var(--keno-cell))`,gridTemplateRows:`repeat(${r}, var(--keno-cell))`},"data-testid":"keno-grid","data-cells-count":t,children:[Array.from({length:t},(o,d)=>l(d)),a?e.jsx("div",{className:"col-span-full pt-4",children:a}):null]})})},GH=()=>{const t=C(vt.$isAudioOn);m.useEffect(()=>{const s=Fv.watch(({isMatched:l})=>{vt.$isAudioOn.getState()&&qe(l?xe.WIN:xe.COUNTDOWN)}),a=Ov.watch(()=>{vt.$isAudioOn.getState()&&qe(xe.CHIP_THROW)});return()=>{s(),a(),Vs([xe.WIN,xe.COUNTDOWN,xe.CHIP_THROW])}},[t])},ZH=()=>{const[t,s,a,l,r,i,o]=C([vt.$gameConfig,Ev,L7,Rv,Tv,vt.$isPlaying,vt.$isAutoplayPlaying]);GH();const d=Number((t==null?void 0:t.cellsCount)??0),u=C(ht);return e.jsxs("div",{className:g("relative size-full overflow-hidden rounded-xl border border-primary bg-secondary md:gap-10",u?"p-5":"px-3 py-4 md:px-12 md:py-8"),children:[e.jsx(VH,{}),e.jsx(Bx,{cellsCount:d,footer:e.jsx(UH,{}),renderCell:c=>e.jsx(Mx,{index:c,disabled:!r&&!a.includes(c)||i||o,cellType:M7({cellIndex:c,phase:s,selectedCells:a,drawnCells:l}),onSelect:()=>Iv(c)},c)})]})},WH=({cellsCount:t,drawnCells:s})=>e.jsx(Bx,{cellsCount:t,compact:!0,renderCell:a=>e.jsx(Mx,{index:a,disabled:!0,compact:!0,cellType:M7({cellIndex:a,phase:Dv.OVER,selectedCells:[],drawnCells:s})},a)}),KH=()=>{const[t,s,a,l,r]=C([vt.$gameConfig,Hs,vs,ws,ys]),i=t,{drawnCells:o,error:d}=m.useMemo(()=>{if(!i||!s)return{drawnCells:[],error:null};try{return{drawnCells:$v(s,i).drawnCells,error:null}}catch(u){return{drawnCells:[],error:u instanceof Error?u.message:String(u)}}},[i,s]);return e.jsxs("div",{"data-testid":"keno-verification-tab","data-drawn-cells":o.join(","),children:[e.jsx("div",{className:"flex min-h-[270px] flex-col items-center justify-center",children:e.jsx(WH,{cellsCount:Number((i==null?void 0:i.cellsCount)??0),drawnCells:o})}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:u=>_s(u??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:u=>Ns(u??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:u=>ks(u??"")}),d?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:d}):null]})]})},qH="radial-gradient(32.63% 32.63% at 0.76% 0%, rgba(93, 236, 81, 0.24) 0%, rgba(26, 30, 39, 0) 100%), #1A1E27",YH="radial-gradient(55% 100% at 50% 0%, rgba(255, 102, 89, 0.32) 0%, rgba(255, 102, 89, 0) 100%), #252A35",XH=()=>{const[t,s,a,l,r]=C([Ye.$roundResult,Ye.$gameplayMode,Ye.$isAutoplayPlaying,Ye.$counterOfRemainingAutoplayBets,Ye.$numberOfAutoplayBets]),i=s===Bt.AUTOPLAY,o=((t==null?void 0:t.winAmount)??0)>0,d=i&&l===r,u=()=>{if(i){Ye.startAutoplayFx();return}Ye.placeBetFx()};return e.jsx("div",{className:"absolute left-0 top-0 z-main flex min-h-full min-w-full animate-[fadeIn_0.2s_ease-in-out_forwards] items-center justify-center rounded-t-xl bg-[rgba(26,30,39,0.8)] p-2 opacity-0 md:rounded-l-none md:rounded-r-xl","data-testid":"mines-result-card","data-result":t?o?"win":"lose":"none",children:t?o?e.jsxs("div",{className:"relative flex min-w-[240px] flex-col items-center justify-center gap-2 rounded-2xl border-2 border-green-500/40 p-3 text-center",style:{background:qH},children:[e.jsx("div",{className:"p-5 text-4xl font-bold leading-3 text-green-500",children:t.isConstrained?e.jsxs("span",{className:"flex flex-col items-center justify-center",children:[e.jsxs("span",{className:"text-2xl font-bold",children:["ð ",n("global_congratulations")," ð"]}),e.jsx("span",{className:"text-sm",children:n("global_win_constrained")})]}):`x${t.multiplier}`}),e.jsxs("div",{className:"flex flex-row items-center justify-between gap-x-2 text-2xl font-bold text-green-500",children:[e.jsx(Zt,{currency:t.betCurrency??U.USDT,className:"size-5 text-green-500"}),e.jsx("span",{"data-testid":"mines-win-amount",children:t.betCurrency===U.WHALE?t.winAmount:t.winAmountInUsd})]}),t.isConstrained||d?e.jsx(Z,{variant:"Link",height:"small",className:"bg-green/20 text-green hover:bg-green/20",testId:"mines-play-again",onClick:u,children:n("games.mines.result.play_again")}):null]}):(!i||!a)&&e.jsxs("div",{className:"relative flex flex-col items-center justify-center rounded-2xl border-2 border-[#FF6659]/40 px-[52px] py-6 text-center text-[#FF6659]",
6637style:{background:YH},children:[e.jsx("div",{className:"mb-2 p-2 text-4xl font-bold leading-tight",children:n("games.mines.result.unlucky")}),e.jsx("div",{className:"w-full p-4 text-sm font-semibold leading-tight",children:n("games.mines.result.better_luck_next_time")}),e.jsx(Z,{variant:"Link",height:"small",className:"border border-solid border-brand-tertiary bg-[#FF6659]/10 text-[#FF6659]",testId:"mines-play-again",onClick:u,children:n("games.mines.result.play_again")})]}):null})},JH="/assets/background-BchBLSCW.webp",QH="/assets/mine-BdWsQ8pf.svg",eU="/assets/treasure-DdcwVLY0.svg",tU=5,sU=t=>{const s=Math.round(Math.sqrt(t));return s>0&&s*s===t?s:tU},aU=()=>e.jsxs("div",{className:"absolute left-0 top-0 -z-10 size-full",children:[e.jsx("img",{className:"absolute left-0 top-0 -z-10 size-full object-cover brightness-150 grayscale",src:JH,alt:"","aria-hidden":"true"}),e.jsx("div",{className:"absolute inset-0 bg-[#1B1E27]/70"})]}),Ex=({index:t,cellType:s,disabled:a,grayed:l=!1,verify:r=!1,onSelect:i})=>{const o=cE(s),d=uE(s),u=s==="selected"||o||d,c=l?"bg-highlight shadow-none grayscale":r?o?"bg-[#FF6659]":"bg-[#54D149] shadow-[inset_0_-6px_0_0_#29971F]":pE(s)?"bg-[#FF6659] shadow-[inset_0_-6px_0_0_#D30000]":xE(s)?"bg-[#54D149] shadow-[inset_0_-6px_0_0_#29971F]":"bg-games-mines-cell shadow-[0_4px_8px_0_rgba(0,0,0,0.2)]";return e.jsx("button",{type:"button","aria-label":`Cell ${t+1}`,"data-testid":"mines-cell","data-cell-type":s,disabled:a,onClick:i,className:g("aspect-square size-full rounded-md p-2 transition-transform duration-[600ms]",r&&"p-0",c,u&&!l&&"[transform:rotateY(180deg)]",s==="selected"&&"shadow-inner",s==="autoPlaySelected"&&"border-4 border-yellow",a?"pointer-events-none":!u&&"hover:opacity-50"),children:d||o?e.jsx("span",{className:g("flex size-full items-center justify-center",u&&!l&&"[transform:rotateY(180deg)]"),children:e.jsx("img",{src:o?QH:eU,alt:"","aria-hidden":"true",className:g("size-full rounded-lg object-contain",r?"p-0":o?"px-2 md:px-4":"p-1")})}):null})},Rx=({cellsCount:t,compact:s=!1,overlay:a,renderCell:l})=>{const r=sU(t),i=r?Math.ceil(t/r):0,o=C(ht);return e.jsxs("div",{className:"flex items-center justify-center",children:[a,e.jsx("div",{className:g("grid aspect-square gap-1 rounded-lg bg-black-50 p-4 md:gap-2",s?"w-3/5 [--mines-cell:minmax(20px,1fr)] md:[--mines-cell:minmax(30px,1fr)]":g("[--mines-cell:minmax(55px,1fr)] md:[--mines-cell:minmax(120px,1fr)]",o&&"lg:[--mines-cell:minmax(80px,1fr)] xl:[--mines-cell:minmax(100px,1fr)]")),style:{gridTemplateColumns:`repeat(${r}, var(--mines-cell))`,gridTemplateRows:`repeat(${i}, var(--mines-cell))`},"data-testid":"mines-grid","data-cells-count":t,children:Array.from({length:t},(d,u)=>l(u))})]})},nU=()=>{const[t,s,a,l,r,i,o]=C([Ye.$gameConfig,Ye.$gameplayMode,Ye.$isPlaying,Ye.$isAutoplayPlaying,Pv,Hv,Uv]),d=Number((t==null?void 0:t.cellsCount)??0),u=s===Bt.AUTOPLAY,c=!u&&!a||u&&l&&!a,x=C(ht);return e.jsxs("div",{className:g("relative size-full overflow-hidden rounded-xl border border-primary p-4",!x&&"md:p-12"),children:[e.jsx(aU,{}),e.jsx(Rx,{cellsCount:d,overlay:c?e.jsx(XH,{}):null,renderCell:p=>e.jsx(Ex,{index:p,disabled:c,cellType:iE({cellIndex:p,isPlaying:a,isAutoplayPlaying:l,mines:o,selectedCells:r,selectedCellsWithNoResult:i,isAutoPlay:u}),onSelect:()=>Vv(p)},p)})]})},lU=({cellsCount:t,minedCells:s})=>e.jsx(Rx,{cellsCount:t,compact:!0,renderCell:a=>e.jsx(Ex,{index:a,disabled:!0,verify:!0,grayed:s.length===0,cellType:s.includes(a)?"resultMine":"resultDiamond"},a)}),rU=()=>{const[t,s,a,l,r,i]=C([Ye.$gameConfig,Hs,vs,ws,ys,N7]),o=t;m.useEffect(()=>{!i&&o&&Br(Number(o.minesCount.default))},[i,o]);const{minedCells:d,error:u}=m.useMemo(()=>{if(!o||!s||!i)return{minedCells:[],error:null};try{return{minedCells:hE(s,{minesCount:i},o).minedCells,error:null}}catch(c){return{minedCells:[],error:c instanceof Error?c.message:String(c)}}},[o,s,i]);return e.jsxs("div",{"data-testid":"mines-verification-tab","data-mined-cells":d.join(","),children:[e.jsx("div",{className:"flex min-h-[270px] flex-col items-center justify-center",children:e.jsx(lU,{cellsCount:Number((o==null?void 0:o.cellsCount)??0),minedCells:d})}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:c=>_s(c??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:c=>Ns(c??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:c=>ks(c??"")}),e.jsx(ne,{name:"verify-mines-count",testId:"verify-mines-count",label:n("games.mines.title"),type:"number",minValue:Number((o==null?void 0:o.minesCount.min)??1),maxValue:Number((o==null?void 0:o.cellsCount)??25)-1,value:i||"",onChanged:c=>Br(Number(c??0))}),u?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:u}):null]})]})},iU=()=>{const[t,s,a,l,r,i,o]=C([gl.$gameConfig,Hs,vs,ws,ys,B7,Tr]),d=t,{outcome:u,error:c}=m.useMemo(()=>
6637{if(!d||!s)return{outcome:null,error:null};try{return{outcome:zv(s,{riskLevel:i,rows:o},d),error:null}}catch(x){return{outcome:null,error:x instanceof Error?x.message:String(x)}}},[d,s,i,o]);return e.jsxs("div",{"data-testid":"plinko-verification-tab","data-bucket-index":(u==null?void 0:u.bucketIndex)??"","data-risk-level":i,"data-rows":o,children:[e.jsx("div",{className:"flex min-h-[200px] flex-col items-center justify-center gap-3",children:u?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("span",{className:"text-sm text-slate-400",children:n("games.plinko.verify.result")}),e.jsxs("span",{className:"text-3xl font-bold text-white",children:[u1(u.multiplier),"x"]}),e.jsxs("span",{className:"text-xs text-slate-400",children:[n("games.plinko.verify.bucket"),": ",u.bucketIndex]})]}),e.jsx("div",{className:"flex max-w-[280px] flex-wrap justify-center gap-1",children:u.path.map((x,p)=>e.jsx("span",{className:g("rounded bg-black-300 px-1.5 py-0.5 text-[10px] uppercase",x===Gv.RIGHT?"text-white":"text-slate-300"),children:x[0]},`${p}-${x}`))})]}):e.jsx("span",{className:"text-sm text-slate-400",children:n("games.plinko.verify.enterSeeds")})}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:x=>_s(x??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:x=>Ns(x??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:x=>ks(x??"")}),c?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:c}):null]})]})},oU=()=>{const[t,s,a,l,r,i,o]=C([Zv,bl,Hs,vs,ws,ys,w7]),{winnerItemId:d,error:u}=m.useMemo(()=>{if(!a||t.length===0)return{winnerItemId:null,error:null};try{return{winnerItemId:Wv(a,t).winnerItemId,error:null}}catch(c){return{winnerItemId:null,error:c instanceof Error?c.message:String(c)}}},[a,t]);return e.jsxs("div",{"data-testid":"roulette-verification-tab","data-winner-item-id":d??"",children:[e.jsx("div",{className:"relative w-full overflow-hidden",children:e.jsx("div",{className:"flex w-full items-center justify-center gap-2 py-6 md:py-8",children:s.map(c=>e.jsx("div",{"data-testid":"roulette-verified-coin","data-item-id":c.id,"data-winner":c.id===d?"true":"false",className:g(c.id===d?"filter-none":"opacity-50 grayscale"),children:e.jsx("img",{className:"size-24 md:size-32",src:c.image,alt:c.name})},c.id))})}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx(ne,{name:"verify-round",testId:"verify-round",label:n("global_round"),value:o,disabled:!0}),e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:l,onInput:c=>_s(c??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:r,onInput:c=>Ns(c??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:i,onInput:c=>ks(c??"")}),u?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:u}):null]})]})},cU=()=>{const[t,s,a,l,r]=C([Pe.$gameConfig,Hs,vs,ws,ys]),[i,o]=m.useState(t2.MEDIUM),d=t,{collapseFloor:u,error:c}=m.useMemo(()=>{if(!d||!s)return{collapseFloor:0,error:null};try{return{collapseFloor:Kv(s,{difficulty:i},d).collapseFloor,error:null}}catch(f){return{collapseFloor:0,error:f instanceof Error?f.message:String(f)}}},[d,s,i]),x=(d==null?void 0:d.floorsCount)??0,p=!!(x&&u>x);return e.jsxs("div",{"data-testid":"tower-verification-tab","data-collapse-floor":u,"data-difficulty":i,children:[e.jsxs("div",{className:"flex min-h-[270px] flex-col items-center justify-center gap-4 pb-4",children:[e.jsx("div",{className:"select-none justify-center text-center text-2xl font-bold leading-loose",children:p?n("games.tower.provablyFair.survived"):n("games.tower.provablyFair.collapseAtFloor",{collapseFloor:u||"?"})}),e.jsxs("div",{className:"flex w-full flex-col gap-2.5",children:[e.jsx("div",{className:"h-6",children:e.jsx("span",{className:"text-sm font-normal text-brandblue-100 md:text-base",children:n("games.tower.controls.difficulty")})}),e.jsx("div",{className:"grid w-full grid-cols-3 rounded-sm bg-black-300 p-px",children:Object.values(t2).map(f=>e.jsx(Z,{height:"medium",block:!0,variant:f===i?"NonAccent":"Link",className:f===i?"text-white":void 0,testId:`verify-tower-difficulty-${f}`,onClick:()=>o(f),children:n(`games.tower.difficulty.${f}`)},f))})]})]}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"verify-client-seed",testId:"verify-client-seed",label:n("modals.provablyFair.input.label.clientSeed"),value:a,onInput:f=>_s(f??"")}),e.jsx(ne,{name:"verify-server-seed",testId:"verify-server-seed",label:n("modals.provablyFair.input.label.serverSeed"),value:l,onInput:f=>Ns(f??"")}),e.jsx(ne,{name:"verify-nonce",testId:"verify-nonce",label:n("modals.provablyFair.input.label.nonce"),value:r,onInput:f=>ks(f??"")}),c?e.jsx("div",{className:"min-h-6 text-sm text-red-500","data-testid":"verify-error",children:c}):null]})]})},Nc=Ze("fairGameMounted"),kc=Ze("fairGameUnmounted"),Sl=At(null,{name:"activeFairGameCode"}).on(Nc,(t,s)=>s).reset(kc),Sc={[Mt.WhaleDice]:{game:hs,VerificationTab:_H},[Mt.WhaleMines]:{game:Ye,VerificationTab:rU},[Mt.WhaleKeno]:{game:vt,VerificationTab:KH},[Mt.WhaleDuck]:{game:St,VerificationTab:HH},[Mt.WhaleCrockDentist]:{game:Ue,VerificationTab:gH},[Mt.WhaleCrash]:{game:ea,PublicVerificationTab:zP},[Mt.WhaleRoulette]:{game:ze,PublicVerificationTab:oU},[Mt.WhaleBlackjack]:{game:He,VerificationTab:VP},[Mt.WhaleTower]:{game:Pe,VerificationTab:cU},[Mt.WhalePlinko]:{game:gl,VerificationTab:iU},[Mt.WhaleBaccarat]:{game:jt,VerificationTab:SP}},dU=di(Object.fromEntries(Object.entries(Sc).map(([t,s])=>[t,s.game.$isPlaying]))),uU=di(Sl,dU,(t,s)=>!!(t&&s[t])),mU=t=>t.scrollHeight>t.clientHeight,xU=(t,s)=>t?"global_read_less":s?"global_read_more":null,qi=({type:t,name:s,provider:a,providerSlug:l,description:r,imageSrc:i})=>{const o=m.useRef(null),[d,u]=m.useState(null),[c,x]=m.useState(!1),p=!!r&&d===r,f=xU(p,c);return m.useLayoutEffect(()=>{var j;const h=(j=o.current)==null?void 0:j.firstElementChild;if(!h||p)return;const b=()=>x(mU(h)),v=new ResizeObserver(b);return v.observe(h),b(),()=>v.disconnect()},[r,p]),s?e.jsx("div",{className:"relative flex h-full flex-col gap-4 roun
6637ded-xl bg-primary p-4 md:h-auto","data-testid":"entity-summary",children:e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[i?e.jsx("div",{className:"flex h-[120px] w-[160px] shrink-0 items-center justify-center pb-2 pr-4",children:e.jsx("img",{src:i,alt:s,className:"w-[160px] rounded-lg",loading:"lazy"})}):null,e.jsxs("div",{className:"flex min-w-0 flex-col items-start justify-center gap-2 md:justify-start",children:[e.jsxs("div",{className:"flex flex-col items-start gap-1",children:[t==="provider"?e.jsx("div",{className:"text-sm font-medium leading-5 text-brandblue-100",children:n("entity_summary.provider")}):null,e.jsx("div",{className:"text-xl font-semibold leading-6 text-white",children:s}),t==="game"&&a?l?e.jsx(De,{to:pi(l),className:"text-sm font-medium leading-5 text-brandblue-100 transition-colors hover:text-white",children:a}):e.jsx("div",{className:"text-sm font-medium leading-5 text-brandblue-100",children:a}):null]}),r?e.jsxs("div",{ref:o,className:"flex flex-col items-start gap-2",children:[e.jsx(s2,{as:"p",html:r,className:g("whitespace-pre-line text-sm text-brandblue-100",!p&&"line-clamp-4"),testId:"entity-summary-description"}),f?e.jsx("button",{type:"button","aria-expanded":p,"data-testid":"entity-summary-toggle",onClick:()=>u(p?null:r),className:"w-fit text-sm font-medium text-brandblue-100 underline underline-offset-4 transition hover:text-white",children:n(f)}):null]}):null]})]})}):null},fU=t=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2}).format(t||0),N2=({amount:t,usdAmount:s,currency:a,prefix:l="",className:r,testId:i})=>a===U.WHALE&&typeof t=="number"?e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:a,className:"size-4 shrink-0"}),e.jsx("span",{className:r,"data-testid":i,children:`${l}${Ke(t,a)}`})]}):e.jsx("span",{className:r,"data-testid":i,children:`${l}${fU(s??0)}`}),pU=6e4,m5=new Map,hU=t=>{const s=m5.get(t);if(s)return s;const a=new Intl.RelativeTimeFormat(t,{style:"short",numeric:"always"});return m5.set(t,a),a},gU=t=>{if(t<60)return{unit:"minute",value:t};const s=Math.round(t/60);return s<24?{unit:"hour",value:s}:{unit:"day",value:Math.round(s/24)}},bU={minute:"m",hour:"h",day:"d"},Tx=t=>{if(!t)return"";const s=new Date(t).getTime();if(Number.isNaN(s))return"";const a=Math.max(0,Math.round((Date.now()-s)/pU)),{unit:l,value:r}=gU(a),i=li();return i===mt.EN?`${r}${bU[l]} ago`:hU(i).format(-r,l)},CU={1:{accent:{start:"#E70002",end:"#FF696A"},medal:{start:"#CF8321",mid:"#F9F295",end:"#CF8321"},star:{start:"#FF9629",end:"#732300"}},2:{accent:{start:"#0053C0",end:"#318AFF"},medal:{start:"#636363",mid:"#DFDFDF",end:"#636363"},star:{start:"#A1A1A1",end:"#454545"}},3:{accent:{start:"#5C2F00",end:"#A55400"},medal:{start:"#965B31",mid:"#F9AA57",end:"#965B31"},star:{start:"#3D1F00",end:"#A55400"}}},jU=({rank:t,className:s})=>{const a=CU[t];return a?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:s,"aria-hidden":!0,id:`icon-rank-${t}`,children:[e.jsxs("g",{clipPath:`url(#clip0_rank_${t})`,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4282 11.4618L7.62048 7.65411L0.474786 14.7998C0.389868 14.8847 0.362017 15.0116 0.40362 15.1238C0.445604 15.2364 0.548836 15.3144 0.668217 15.3245C1.29999 15.3728 2.15222 15.4397 2.15222 15.4397L4.08538 15.0053L3.64676 16.9259C3.64676 16.9259 3.71164 17.7794 3.75908 18.412C3.76878 18.531 3.84634 18.6355 3.95979 18.6766C4.07239 18.7186 4.19924 18.6907 4.28416 18.6058C5.94888 16.9411 11.4282 11.4618 11.4282 11.4618Z",fill:`url(#paint0_linear_rank_${t})`}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.57793 11.4618L12.3856 7.65411L20.0038 15.2723L17.8539 15.4397L16.088 15.1726L16.3593 16.9259C16.3593 16.9259 16.2945 17.7794 16.247 18.412C16.2373 18.531 16.1598 18.6355 16.0463 18.6766C15.9337 18.7186 15.8069 18.6907 15.7219 18.6058C14.0572 16.9411 8.57793 11.4618 8.57793 11.4618Z",fill:`url(#paint1_linear_rank_${t})`}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.13208 15.4078L8.7533 8.78662L10.2425 10.2759L3.62131 16.8971L3.53012 15.5076L2.13208 15.4078Z",fill:`url(#paint2_linear_rank_${t})`}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.874 15.4079L11.2528 8.78668L9.76358 10.2759L16.3848 16.8971L16.476 15.5077L17.874 15.4079Z",fill:`url(#paint3_linear_rank_${t})`}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0747 2.39798C7.36469 2.47624 7.67079 2.34908 7.81982 2.08843C8.26229 1.41465 9.08394 0.942261 10.0069 0.942261C10.9298 0.942261 11.7514 1.41465 12.1933 2.089C12.3429 2.34907 12.649 2.47566 12.939 2.39741C13.7284 2.23343 14.6433 2.48026 15.2958 3.13332C15.9489 3.78581 16.1957 4.70068 16.0311 5.4901C15.9529 5.7801 16.08 6.0862 16.3407 6.23523C17.0145 6.6777 17.4869 7.49934 17.4869 8.42226C17.4869 9.34518 17.0145 10.1668 16.3401 10.6087C16.08 10.7583 15.9535 11.0644 16.0317 11.3544C16.1957 12.1438 15.9489 13.0587 15.2958 13.7112C14.6433 14.3643 13.7284 14.6111 12.939 14.4465C12.649 14.3683 12.3429 14.4954 12.1939 14.7561C11.7514 15.4299 10.9298 15.9023 10.0069 15.9023C9.08394 15.9023 8.26229 15.4299 7.82039 14.7555C7.67079 14.4954 7.36469 14.3689 7.0747 14.4471C6.28527 14.6111 5.37041 14.3643 4.71792 13.7112C4.06486 13.0587 3.81802 12.1438 3.98258 11.3544C4.06083 11.0644 3.93367 10.7583 3.67302 10.6093C2.99924 10.1668 2.52686 9.34518 2.52686 8.42226C2.52686 7.49934 2.99924 6.67769 3.67359 6.2358C3.93367 6.0862 4.06026 5.7801 3.982 5.4901C3.81802 4.70068 4.06486 3.78581 4.71792 3.13332C5.37041 2.48026 6.28527 2.23342 7.0747 2.39798Z",fill:`url(#paint4_linear_rank_${t})`}),e.jsx("path",{d:"M9.99532 14.2107C13.2005 14.2107 15.7988 11.6125 15.7988 8.40731C15.7988 5.20216 13.2005 2.60388 9.99532 2.60388C6.79018 2.60388 4.19189 5.20216 4.19189 8.40731C4.19189 11.6125 6.79018 14.2107 9.99532 14.2107Z",fill:`url(#paint5_linear_rank_${t})`}),e.jsx("path",{d:"M10.0293 13.4036C12.7636 13.4036 14.9803 11.1869 14.9803 8.45254C14.9803 5.71817 12.7636 3.50153 10.0293 3.50153C7.29489 3.50153 5.07825 5.71817 5.07825 8.45254C5.07825 11.1869 7.29489 13.4036 10.0293 13.4036Z",fill:`url(#paint6_radial_rank_${t})`}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.7291 5.54111C9.77834 5.42936 9.88861 5.35748 10.0107 5.35748C10.1328 5.35748 10.2431 5.42936 10.2923 5.54111C10.5714 6.17274 10.9574 7.04659 10.9574 7.04659C10.9574 7.04659 11.9076 7.14358 12.5943 7.21348C12.7159 7.22579 12.8183 7.3085 12.8562 7.42468C12.8937 7.54087 12.8592 7.66
6637788 12.7686 7.74911C12.2542 8.20991 11.5423 8.84696 11.5423 8.84696C11.5423 8.84696 11.7436 9.78038 11.8894 10.4558C11.915 10.575 11.8677 10.698 11.7692 10.7694C11.6708 10.8413 11.5388 10.8482 11.4335 10.7867C10.8363 10.4396 10.0107 9.95958 10.0107 9.95958C10.0107 9.95958 9.18511 10.4396 8.58794 10.7867C8.48258 10.8482 8.35064 10.8413 8.25218 10.7694C8.15372 10.698 8.10646 10.575 8.13206 10.4558C8.27778 9.78038 8.47914 8.84696 8.47914 8.84696C8.47914 8.84696 7.76726 8.20991 7.2528 7.74911C7.16221 7.66788 7.12775 7.54087 7.16517 7.42468C7.20307 7.3085 7.30547 7.22579 7.42707 7.21348C8.11384 7.14358 9.064 7.04659 9.064 7.04659C9.064 7.04659 9.44997 6.17274 9.7291 5.54111Z",fill:`url(#paint7_linear_rank_${t})`})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:`paint0_linear_rank_${t}`,x1:"6.80805",y1:"13.7646",x2:"3.6476",y2:"16.925",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:a.accent.start}),e.jsx("stop",{offset:"1",stopColor:a.accent.end})]}),e.jsxs("linearGradient",{id:`paint1_linear_rank_${t}`,x1:"13.1981",y1:"13.7646",x2:"16.3585",y2:"16.925",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:a.accent.start}),e.jsx("stop",{offset:"1",stopColor:a.accent.end})]}),e.jsxs("linearGradient",{id:`paint2_linear_rank_${t}`,x1:"6.72396",y1:"12.3074",x2:"2.86159",y2:"16.1698",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#BAD3E8"}),e.jsx("stop",{offset:"1",stopColor:"#E4EAEF"})]}),e.jsxs("linearGradient",{id:`paint3_linear_rank_${t}`,x1:"13.2821",y1:"12.3075",x2:"17.1445",y2:"16.1699",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#BAD3E8"}),e.jsx("stop",{offset:"1",stopColor:"#E4EAEF"})]}),e.jsxs("linearGradient",{id:`paint4_linear_rank_${t}`,x1:"14.4724",y1:"2.42215",x2:"7.03672",y2:"15.343",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:a.medal.start}),e.jsx("stop",{offset:"0.5",stopColor:a.medal.mid}),e.jsx("stop",{offset:"1",stopColor:a.medal.end})]}),e.jsxs("linearGradient",{id:`paint5_linear_rank_${t}`,x1:"7.02938",y1:"3.41132",x2:"11.38",y2:"14.5189",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:a.medal.start}),e.jsx("stop",{offset:"0.5",stopColor:a.medal.mid}),e.jsx("stop",{offset:"1",stopColor:a.medal.end})]}),e.jsxs("radialGradient",{id:`paint6_radial_rank_${t}`,cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.98884 3.92748) rotate(64.4758) scale(10.7756)",children:[e.jsx("stop",{stopColor:a.star.start}),e.jsx("stop",{offset:"1",stopColor:a.star.end})]}),e.jsxs("linearGradient",{id:`paint7_linear_rank_${t}`,x1:"12.4604",y1:"4.89619",x2:"8.62486",y2:"11.5369",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:a.medal.start}),e.jsx("stop",{offset:"0.5",stopColor:a.medal.mid}),e.jsx("stop",{offset:"1",stopColor:a.medal.end})]}),e.jsx("clipPath",{id:`clip0_rank_${t}`,children:e.jsx("rect",{width:"20",height:"20",fill:"white"})})]})]}):null},x5="grid grid-cols-[minmax(5.5rem,1fr)_repeat(6,minmax(0,1fr))] md:grid-cols-[minmax(5.5rem,1fr)_repeat(10,minmax(0,1fr))]",vU={0:"linear-gradient(90deg, rgba(243, 223, 130, 0.1) 0%, rgba(26, 30, 39, 0) 100%), #1a1e27",1:"linear-gradient(90deg, rgba(213, 213, 213, 0.1) 0%, rgba(26, 30, 39, 0) 100%), #1a1e27",2:"linear-gradient(90deg, rgba(249, 170, 87, 0.1) 0%, rgba(26, 30, 39, 0) 100%), #1a1e27"},k2=({gameCode:t})=>{const s=C(qv);m.useEffect(()=>{Yv(t)},[t]);const a=s[t]??[];if(!a.length)return null;const l="flex items-center px-3";return e.jsxs("div",{className:"flex w-full flex-col gap-y-3","data-testid":"game-biggest-wins",children:[e.jsx("p",{className:"text-base font-semibold text-white",children:n("leaderboard.title")}),e.jsxs("div",{className:"flex flex-col gap-y-1",children:[e.jsxs("div",{className:x5,children:[e.jsx("div",{className:l,children:e.jsx("span",{className:"truncate text-xs font-normal text-brandblue-100",children:n("leaderboard.rank")})}),e.jsx("div",{className:g(l,"col-span-2"),children:e.jsx("span",{className:"truncate text-xs font-normal text-brandblue-100",children:n("leaderboard.player")})}),e.jsx("div",{className:g(l,"col-span-2 hidden md:flex"),children:e.jsx("span",{className:"truncate text-xs font-normal text-brandblue-100",children:n("leaderboard.time")}
6637)}),e.jsx("div",{className:g(l,"col-span-2 hidden md:flex"),children:e.jsx("span",{className:"truncate text-xs font-normal text-brandblue-100",children:n("leaderboard.bet_amount")})}),e.jsx("div",{className:g(l,"col-span-2"),children:e.jsx("span",{className:"truncate text-xs font-normal text-brandblue-100",children:n("leaderboard.multiplier")})}),e.jsx("div",{className:g(l,"col-span-2 justify-end"),children:e.jsx("span",{className:"truncate text-xs font-normal text-brandblue-100",children:n("leaderboard.payout")})})]}),a.map((r,i)=>e.jsxs("div",{className:g(x5,"rounded-xl"),style:{background:vU[i]},children:[e.jsxs("div",{className:"flex items-center gap-x-2 rounded-l-[0.5rem] p-3",children:[e.jsx(jU,{rank:i+1,className:"aspect-square size-4 shrink-0"}),e.jsx("span",{className:"text-xs font-medium text-white",children:i+1})]}),e.jsx("div",{className:"col-span-2 flex items-center p-3",children:e.jsx("span",{className:"truncate text-xs font-medium text-white",children:r.nameFirst})}),e.jsx("div",{className:"col-span-2 hidden items-center p-3 md:flex",children:e.jsx("span",{className:"truncate text-xs font-medium text-brandblue-100",children:Tx(r.createdAt)})}),e.jsx("div",{className:"col-span-2 hidden items-center gap-x-2 p-3 md:flex",children:e.jsx(N2,{amount:r.betAmount,usdAmount:r.betUsdAmount,currency:r.betCurrency,className:"text-xs font-medium text-white",testId:"biggest-win-bet"})}),e.jsx("div",{className:"col-span-2 flex items-center p-3",children:e.jsxs("span",{className:"text-xs font-medium text-white",children:[r.multiplier,"x"]})}),e.jsx("div",{className:"col-span-2 flex items-center justify-end gap-x-2 rounded-r-[0.5rem] p-3",children:e.jsx(N2,{amount:r.winAmount,usdAmount:r.winUsdAmount,currency:r.betCurrency,className:"text-xs font-medium text-success",testId:"biggest-win-payout"})})]},`${r.createdAt}-${i}`))]})]})},Ac="h-[1em] w-auto flex-none",wU=()=>e.jsx("svg",{className:Ac,viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M5.02734 0.958496C5.43754 0.916762 5.88032 1.04618 6.1709 1.34717C6.29861 1.48034 6.37266 1.62918 6.47754 1.78369C6.61458 1.99838 6.76066 2.21555 6.88965 2.43311C6.96123 2.57318 6.8822 2.7367 6.75977 2.81689C6.65655 2.87939 6.52325 2.89123 6.43555 2.97998C6.36932 3.04949 6.36295 3.16472 6.41016 3.24072C6.48418 3.36623 6.65313 3.41248 6.78906 3.37354C6.88795 3.3427 6.96938 3.29109 7.07617 3.26807C7.24566 3.23654 7.41736 3.29781 7.5332 3.43213C7.58238 3.49581 7.61971 3.56483 7.66504 3.63232C7.78694 3.82184 7.91888 4.02837 8.04785 4.22998C9.18404 6.00319 10.4419 7.96435 11.1279 9.03369C11.3028 9.31968 11.3715 9.67124 11.3535 10.0005V10.0063C11.3256 10.4448 11.0792 10.866 10.6895 11.0845C10.3835 11.267 9.99983 11.4974 9.69531 11.6675C9.52944 11.7299 9.33074 11.6379 9.24707 11.4868C8.95621 10.9532 8.39862 10.7426 7.94043 10.8862C7.48851 11.0047 7.15857 11.5901 7.24414 12.1011C7.2625 12.2341 7.29785 12.363 7.34863 12.4878C7.38242 12.5746 7.43227 12.6548 7.43066 12.7505C7.43769 12.9232 7.32912 13.1003 7.16602 13.1694C6.9889 13.2693 6.63057 13.4895 6.42285 13.6089C6.21448 13.7288 6.01961 13.8662 5.79102 13.9312C5.10868 14.153 4.34094 13.8095 3.98828 13.2065C3.3179 11.7647 1.11267 6.33738 1.0498 6.23682C1.0485 6.23416 1.04029 6.21201 1.03516 6.19385C0.989237 6.03279 1.06001 5.85588 1.1875 5.74658C1.31875 5.6404 1.5551 5.57548 1.71777 5.49756C2.01573 5.36245 1.96561 4.97977 1.64062 4.95459C1.59274 4.95081 1.53679 4.9589 1.48828 4.97607C1.32059 5.03341 1.14972 5.13208 0.977539 5.16748C0.802003 5.19631 0.595137 5.12389 0.515625 4.95752C0.431351 4.76036 0.34109 4.53863 0.254883 4.3335C0.160332 4.08546 0.0368068 3.88583 0.00488281 3.63623C-0.0435181 3.16524 0.262749 2.74507 0.663086 2.52393C0.79615 2.44407 0.939373 2.39906 1.08496 2.34814C1.293 2.27268 1.5048 2.1948 1.70898 2.12061C1.84023 2.06177 2.01636 2.04481 2.12891 2.14795C2.18679 2.2136 2.23 2.31818 2.29883 2.37646C2.51428 2.59059 2.84191 2.65458 3.1377 2.59521C3.47982 2.52835 3.77688 2.28701 3.79883 1.93311C3.80172 1.84112 3.78356 1.74862 3.73926 1.66553C3.71294 1.61086 3.69028 1.54822 3.70996 1.48877C3.72765 1.4349 3.76645 1.39988 3.81445 1.37256C3.85714 1.34077 3.90307 1.31851 3.95312 1.30322L4.66602 1.0415C4.77968 1.00218 4.89432 0.97048 5.02734 0.958496ZM4.09863 5.00439L4.09375 5.00635C3.89885 5.10829 4.12719 5.25985 4.22852 5.33057C4.52745 5.50486 4.49629 5.95215 4.34473 6.21631C4.29588 6.32328 4.13766 6.37827 4.14551 6.50537C4.18001 6.6079 4.45784 6.58147 4.56055 6.604C4.712 6.61389 4.84913 6.65335 4.99512 6.70557C5.01503 6.71288 5.03539 6.72105 5.05371 6.729C5.06088 6.73217 5.06408 6.73637 5.0625 6.7417C5.06099 6.74398 5.05885 6.74836 5.05762 6.75049C4.95604 6.86821 4.85161 6.96339 4.75293 7.07861C4.74022 7.09458 4.72775 7.10712 4.70898 7.11279C4.64848 7.12341 4.60031 7.16379 4.54395 7.18701C4.5151 7.18593 4.49078 7.16375 4.46191 7.15771C4.2637 7.08624 3.97748 7.24087 4.02637 7.46924C4.03777 7.51645 3.97014 7.51303 3.94043 7.53467C3.84292 7.58367 3.77155 7.65099 3.74609 7.74756C3.71109 7.87532 3.80266 8.00338 3.92773 8.03955C3.95016 8.05066 3.98659 8.04531 3.99707 8.06885C3.96425 8.18054 3.91436 8.29216 3.91211 8.40576C3.89749 8.53553 3.94542 8.63967 3.97852 8.76123C3.93646 9.07853 3.92344 9.40547 3.91797 9.72021C3.88668 9.84072 3.80296 9.94836 3.74512 10.
66370571C3.62527 10.265 3.55025 10.4954 3.50684 10.731C3.48053 10.8597 3.46127 10.9916 3.45898 11.1226C3.45899 11.1998 3.46048 11.2789 3.49219 11.3481C3.67151 11.6041 3.91509 11.2654 4.02051 11.104C4.04358 11.0694 4.0661 11.0319 4.08789 10.9985C4.09684 10.9854 4.10972 10.9953 4.11523 11.0063C4.2275 11.1754 4.39703 11.3529 4.59863 11.4116C4.79124 11.4546 4.85793 11.2681 4.83105 11.1089C4.78764 10.804 4.65184 10.5225 4.62207 10.2163C4.61146 10.031 4.72107 9.8512 4.875 9.74951C4.92502 9.71779 4.97288 9.70197 5.02832 9.67725C5.05181 9.67116 5.11767 9.63084 5.11816 9.67334C5.11717 9.72228 5.1109 9.77343 5.12598 9.81982C5.15187 9.89179 5.24454 9.93028 5.31836 9.91553C5.51261 9.86673 5.6434 9.68134 5.73633 9.52002C5.76039 9.48697 5.80559 9.48756 5.84668 9.47998C5.88059 9.47649 5.92175 9.46914 5.95508 9.47314C5.61134 9.78352 5.45519 10.2751 5.4375 10.729C5.43618 10.8297 5.42828 10.9299 5.44336 11.0249C5.46888 11.0861 5.55304 11.0963 5.60352 11.0581C5.68835 10.9747 5.73908 10.8689 5.81934 10.7788C5.97498 10.5897 6.17477 10.4031 6.40527 10.3101C6.47897 10.2809 6.55531 10.2621 6.63379 10.2573C6.99374 10.2328 7.37332 10.2157 7.72461 10.1313C8.23509 10.0189 8.63128 9.72454 8.81348 9.22998C8.85549 9.12383 8.88548 9.01506 8.91309 8.90479C8.91563 8.89815 8.92093 8.89402 8.92676 8.89209C8.96668 8.88604 9.00383 8.87304 9.03613 8.84814C9.24327 8.68269 8.82182 8.37022 8.75488 8.20752C8.7237 8.12922 8.6673 8.05768 8.63574 7.98193C8.64661 7.92273 8.73668 7.92386 8.77539 7.89014C8.87372 7.82109 8.91713 7.70058 8.9541 7.59521C9.0879 7.38042 9.17946 7.01774 8.80566 7.03271C8.78428 7.03139 8.75677 7.04357 8.74805 7.02588C8.76026 6.96151 8.78659 6.89419 8.7998 6.82666C8.95454 6.22904 8.67699 5.83778 8.13281 5.59814C7.36377 5.23909 6.473 5.61747 5.83203 6.07471C5.73587 6.14363 5.65032 6.21715 5.56055 6.28955C5.54062 6.30625 5.53059 6.29707 5.52734 6.27295C5.38958 5.63362 4.85638 4.86148 4.09863 5.00439ZM8.52344 0.00341797C8.82237 0.0219052 9.1145 0.195275 9.38672 0.291504C9.54747 0.350734 9.6931 0.413365 9.62012 0.60791C9.58704 0.675013 9.57403 0.751942 9.5791 0.827637C9.6116 1.24442 10.1248 1.48291 10.501 1.34717C10.6433 1.29905 10.7667 1.20306 10.8291 1.06592C10.8516 1.02357 10.8967 0.993354 10.9404 0.979004C11.016 0.956062 11.0956 0.975778 11.167 1.00732C11.3846 1.09741 11.6443 1.19528 11.8574 1.2876C12.3295 1.50746 12.599 2.04566 12.3486 2.5249L12.3477 2.52881C12.2846 2.68845 12.2083 2.88108 12.1475 3.03467C12.106 3.12893 12.0862 3.23183 12.0059 3.30127C11.9165 3.37546 11.7825 3.39139 11.6719 3.34912C11.5692 3.31439 11.4642 3.23731 11.3496 3.26025C11.1272 3.30312 11.1429 3.56027 11.3076 3.65869C11.3796 3.69935 11.4642 3.72181 11.5361 3.76221C11.6356 3.82311 11.7084 3.92929 11.7178 4.04346C11.7242 4.14988 11.6714 4.22482 11.6338 4.33252C11.5553 4.53004 11.487 4.70581 11.4053 4.91162C11.0993 5.6773 10.7755 6.52582 10.4502 7.3208C10.31 7.11445 10.1799 6.89942 10.041 6.68701C9.52141 5.87586 8.16756 3.76452 7.85742 3.27979C7.702 3.04176 7.43304 2.91468 7.16113 2.90576C7.28435 2.71111 7.31038 2.45534 7.19043 2.24951C7.11616 2.12758 7.03342 1.99679 6.94727 1.86182C6.92088 1.83537 7.05022 1.85536 7.05762 1.85791C7.21847 1.8962 7.38383 2.04411 7.55176 1.99951C7.74738 1.94069 7.76774 1.70085 7.56836 1.62061C7.40818 1.5442 7.15761 1.50008 7.14453 1.28467C7.13424 1.18946 7.19907 1.11398 7.24219 1.03564C7.31998 0.904172 7.44815 0.685793 7.52637 0.552246C7.59972 0.419389 7.67823 0.294147 7.80273 0.205566C8.0061 0.0487935 8.26698 -0.016338 8.52344 0.00341797ZM3.58203 4.13037L3.57715 4.13135C3.44763 4.1626 3.33726 4.22486 3.20898 4.27197C3.01602 4.35106 2.7937 4.44148 2.76855 4.45166C2.70739 4.47679 2.64831 4.52097 2.61328 4.57861C2.49607 4.76066 2.63997 4.9617 2.83594 4.98291C2.89852 4.99149 2.96691 4.97954 3.02441 4.95166C3.13623 4.90457 3.26604 4.85111 3.39648 4.79639C3.52408 4.74292 3.65333 4.68926 3.75977 4.64404C3.79532 4.62817 3.83498 4.60162 3.8623 4.57373C4.04286 4.3924 3.86993 4.08355 3.58203 4.13037ZM5.47266 3.35693L5.46777 3.35791C5.29653 3.40562 4.79032 3.63229 4.70801 3.65967C4.57533 3.70638 4.49859 3.86101 4.55664 3.99072C4.58113 4.05081 4.63398 4.10363 4.69531 4.13037C4.85827 4.20893 4.99413 4.12768 5.14551 4.06494C5.30235 3.99938 5.5284 3.90538 5.67383 3.84326C5.97051 3.71294 5.80602 3.3085 5.47266 3.35693ZM10.1943 2.72705C9.97263 2.64293 9.86462 2.53733 9.69922 2.69092C9.62829 2.7633 9.63372 2.89911 9.73242 2.97998
6637C9.79463 3.02746 9.85661 3.0408 9.93066 3.07568C10.0899 3.14069 10.2495 3.21717 10.4004 3.27197C10.7235 3.33638 10.7946 2.94507 10.4912 2.85205L10.4873 2.85107C10.3946 2.81252 10.2905 2.76752 10.1943 2.72705ZM8.49609 2.01221C8.36616 1.94967 8.18671 2.02684 8.16699 2.16846C8.15091 2.26146 8.21174 2.34184 8.30273 2.38232C8.32783 2.39284 8.53726 2.48236 8.68945 2.54736C8.75217 2.57348 8.80346 2.59738 8.86328 2.62158C9.1702 2.71907 9.3212 2.3303 8.99902 2.22314L8.99512 2.22217C8.87413 2.17119 8.58233 2.04853 8.49609 2.01221Z",fill:"currentColor"})}),yU=()=>e.jsx("svg",{className:Ac,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M7 1.75L8.3175 4.4275L11.375 4.8825L9.1875 7.0175L9.635 10.0625L7 8.6625L4.365 10.0625L4.8125 7.0175L2.625 4.8825L5.6825 4.4275L7 1.75Z",fill:"currentColor"})}),_U=()=>e.jsx("svg",{className:Ac,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M3.5 1.75H10.5V2.625H12.25V4.375C12.25 5.34 11.465 6.125 10.5 6.125H10.3425C10.0275 7.2625 9.0125 8.1025 7.7875 8.2275V9.625H9.625V11.375H4.375V9.625H6.2125V8.2275C4.9875 8.1025 3.9725 7.2625 3.6575 6.125H3.5C2.535 6.125 1.75 5.34 1.75 4.375V2.625H3.5V1.75ZM3.5 3.5H2.625V4.375C2.625 4.855 3.02 5.25 3.5 5.25V3.5ZM10.5 5.25C10.98 5.25 11.375 4.855 11.375 4.375V3.5H10.5V5.25Z",fill:"currentColor"})}),t0=({glyph:t,children:s,className:a})=>e.jsx("div",{className:"absolute left-1/2 top-0 z-[6] flex -translate-x-1/2",children:e.jsxs("span",{className:g("inline-flex items-center justify-center gap-1 rounded px-1.5 py-0.5 text-[10px] font-bold uppercase",a),children:[t,s]})}),NU=({game:t})=>{var s;return t.comingSoon?e.jsx("div",{className:"absolute left-1/2 top-0 z-[6] -translate-x-1/2 whitespace-nowrap rounded-[2px] bg-black-50 p-1 text-[12px]/[12px] uppercase text-white",children:n("global_comingSoon")}):t.isBattlepassRequired?e.jsx(t0,{glyph:e.jsx(wU,{}),className:"h-[22px] bg-gradient-badge-battlepass pr-2 text-black-50",children:n("battlepass.badge.exclusive")}):t.weeklyChoice?e.jsx(t0,{glyph:e.jsx(yU,{}),className:"bg-gradient-badge-weekly-choice text-white",children:n("badge.weeklyChoice")}):(s=t.tournamentSlugs)!=null&&s.length?e.jsx(t0,{glyph:e.jsx(_U,{}),className:"h-[22px] bg-gradient-badge-tournament pr-2 text-white",children:n("badge.tournament")}):null},Yi=({game:t,href:s,variant:a="default",isLazy:l=!1,onOpen:r,onSelect:i})=>{const[o,d]=m.useState(!1),u=a==="grid",c=e.jsxs("div",{className:g("relative",u&&"w-full"),children:[e.jsx(NU,{game:t}),e.jsx("div",{className:g("overflow-hidden rounded-xl",u&&"aspect-[calc(157/112)]"),children:e.jsx(ce,{className:g("block bg-cover object-cover object-center",u?"size-full":"h-gameCardThumbnail w-gameCard"),src:t.urlThumb,alt:t.name,loading:l?"lazy":"eager",width:u?void 0:157,height:u?void 0:118,onLoad:()=>d(!0),onError:()=>d(!0)})}),o?null:e.jsx("div",{className:"absolute inset-0 z-skeleteon rounded-xl bg-gray-800",children:e.jsx("div",{className:g("animate-pulse rounded-xl bg-gradient-to-br from-gray-700 to-gray-600",u?"size-full":"h-gameCardThumbnail w-gameCard")})})]}),x=e.jsxs("div",{className:"relative flex flex-col items-start justify-start gap-y-1","data-testid":"card-meta",children:[e.jsx("p",{className:g("line-clamp-1 text-left text-sm font-semibold text-white",!o&&"invisible"),children:t.name}),t.provider?e.jsx("span",{className:g("text-xs font-medium text-brandblue-100",!o&&"invisible"),children:t.provider}):null,o?null:e.jsxs("div",{className:"absolute inset-0","data-testid":"card-meta-skeleton","aria-hidden":"true",children:[e.jsx("div",{className:"mb-1 h-4 w-3/4 animate-pulse rounded bg-gray-700"}),t.provider?e.jsx("div",{className:"h-3 w-1/3 animate-pulse rounded bg-gray-700"}):null]})]}),p=u?"relative flex flex-col gap-y-2":"flex h-gameCard w-gameCard flex-none cursor-pointer flex-col gap-y-2.5";return t.comingSoon?e.jsxs("div",{className:p,"data-testid":`game-card-${t.gameCode}`,children:[c,x]}):i?e.jsxs("button",{type:"button",className:g(p,"text-left"),"data-testid":`game-card-${t.gameC
6637ode}`,onClick:()=>i(t),children:[c,x]}):s?e.jsxs(De,{to:s,className:p,"data-testid":`game-card-${t.gameCode}`,onClick:()=>r==null?void 0:r(t),children:[c,x]}):e.jsxs("div",{className:p,"data-testid":`game-card-${t.gameCode}`,children:[c,x]})},kU={1:"linear-gradient(134.94deg, #e29609 0%, #ffc55a 49.74%, #e29609 100%)",2:"linear-gradient(134.94deg, #9092b2 -0.36%, #c3c5dd 49.39%, #9092b2 99.64%)",3:"linear-gradient(179.32deg, #cd5a13 -5.76%, #ff8d46 46.7%, #cd5a13 99.7%)"},SU="linear-gradient(135deg, #2f3ec8 0.71%, #637af4 49.66%, #3242cb 100.71%)",Ix=({gameName:t,provider:s,imageUrl:a,rank:l,winMultiplier:r,amount:i,amountUsd:o,currency:d,createdAt:u,onClick:c})=>e.jsxs("button",{type:"button","data-testid":`win-card-${l}`,className:"flex h-gameCard w-[227px] flex-none flex-col gap-y-2.5",onClick:c,children:[e.jsxs("div",{className:"relative h-28",children:[e.jsx(ce,{className:"h-[112px] w-[227px] rounded-xl object-cover",src:a,alt:t,loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 rounded-xl bg-[rgba(23,27,36,0.90)] backdrop-blur-md"}),e.jsxs("div",{className:"absolute inset-0 flex flex-row p-2",children:[e.jsxs("div",{className:"flex flex-col justify-between gap-y-2 p-2 text-left",children:[e.jsxs("div",{className:"flex flex-col gap-0.5",children:[e.jsx("span",{className:"truncate text-xs font-medium leading-[18px] text-brandblue-100",children:n("hallOfWhales.table.multiplier")}),e.jsxs("span",{className:"truncate text-sm font-semibold leading-5 text-white",children:[r,"x"]})]}),e.jsxs("div",{className:"flex flex-col gap-0.5",children:[e.jsx("span",{className:"truncate text-xs font-medium leading-[18px] text-brandblue-100",children:n("hallOfWhales.table.winAmount")}),e.jsx("div",{className:"flex min-w-0 items-center gap-x-1",children:e.jsx(N2,{amount:i,usdAmount:o,currency:d,prefix:"+",className:"truncate text-sm font-semibold leading-5 text-[#54D149]",testId:`win-card-${l}-amount`})})]})]}),e.jsxs("div",{className:"relative flex flex-1 flex-col items-end justify-between",children:[e.jsx(ce,{className:"absolute right-0 top-0 size-[96px] rounded-lg object-cover",src:a,alt:"","aria-hidden":"true",loading:"lazy"}),e.jsx("div",{className:"absolute right-[16px] top-0 rounded-b-lg border-1 border-white/20 px-1 py-0.5",style:{background:kU[l]??SU},children:e.jsxs("span",{className:"truncate text-sm font-semibold leading-5 text-white",children:["#",l]})}),e.jsx("div",{className:"absolute bottom-[12px] right-[16px] flex h-5 items-center rounded-lg bg-[rgba(0,0,0,0.80)] px-1.5",children:e.jsx("span",{className:"truncate text-xxs font-normal leading-[18px] text-white",children:Tx(u)})})]})]})]}),e.jsxs("div",{className:"flex flex-col items-start justify-start gap-y-1",children:[e.jsx("p",{className:"line-clamp-1 text-left text-sm font-semibold text-white",children:t}),s?e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:s}):null]})]}),Lc=157,nl=8,AU=(t,s)=>!Number.isFinite(t)||t<=0||s<=0?0:Math.max(2,Math.min(Math.ceil((t+nl)/(Lc+nl)),s)),LU=(t,s)=>(Lc+nl)*s>t,f5=12,MU=(t,s,a)=>{if(a<=0)return 0;if(!Number.isFinite(s)||s<=0)return Math.min(a,f5);const l=Math.ceil((Math.max(t,0)+s+nl)/(Lc+nl));return Math.min(a,l+f5)},BU={icon:"fire"},EU=t=>({"Most Popular Live Casino":{icon:"fire"},"Game Shows":{icon:"rocket"},"Win Big":{icon:"win"},"Book Games":{icon:"bookGames"},"Cluster Games":{icon:"cluster"},"Bingo Games":{icon:"bingo"},Megaways:{icon:"megaways"},"Table Games":{icon:"cardDeck"},[n("global_top10")]:{icon:"starTop"},[n("global_whaleOriginals")]:{icon:"whaleOriginals"},[n("global_newArrivals")]:{icon:"rocket"},[n("global_whaleSpecials")]:{icon:"star"},[n("global_cryptoGames")]:{icon:"crypto"},[n("global_liveCasino")]:{icon:"crown"},[n("global_buyFeature")]:{icon:"pockerChip"},[n("global_megaways")]:{icon:"megaways"},[n("global_recentlyPlayed")]:{icon:"cherry",className:"text-[#7086FF]"}
6637,[n("global_roulette")]:{icon:"fire"},[n("global_blackjack")]:{icon:"crypto"},[n("global_baccarat")]:{icon:"cardDeck"},[n("global_poker")]:{icon:"cardDeck"},[n("global_slots")]:{icon:"slots"},[n("global_casino")]:{icon:"pockerChip"},[n("global_earn")]:{icon:"diamond"}})[t]??BU,RU=t=>{const[s,a]=m.useState(0);return m.useEffect(()=>{const l=t.current;if(!l)return;const r=()=>a(l.clientWidth),i=new ResizeObserver(r);return i.observe(l),r(),()=>i.disconnect()},[t]),s},TU=(t,s,a)=>{const[l,r]=m.useState(0);return m.useEffect(()=>{const i=t.current;if(!i)return;let o=0;const d=()=>{o=0,r(c=>Math.max(c,MU(i.scrollLeft,i.clientWidth,a)))},u=()=>{o||(o=requestAnimationFrame(d))};return d(),i.addEventListener("scroll",u,{passive:!0}),()=>{i.removeEventListener("scroll",u),o&&cancelAnimationFrame(o)}},[t,s,a]),l},ua=({title:t,link:s,gameCodes:a,onViewAll:l,onSelectGame:r})=>{const i=C(ct),o=m.useRef(null),d=RU(o),u=Y(),c=a.map(v=>$s(i,v)).filter(v=>!!v),x=TU(o,d,c.length);if(!a.length)return null;const p=AU(d,c.length),f=LU(d,a.length),h=v=>X("Open game",{gameCode:v.gameCode,provider:v.provider}),b=t?EU(t):null;return e.jsxs("div",{className:"flex flex-col justify-center gap-y-3","data-testid":`games-row-${t??"untitled"}`,children:[t?e.jsxs("div",{className:"flex w-full flex-row items-center gap-4",children:[l?e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsx("button",{type:"button",className:"hover:shadow-sm",onClick:()=>{X("View all clicked",{title:t}),l()},children:e.jsxs("div",{className:"flex items-center gap-2 text-lg font-semibold",children:[b?e.jsx(ve,{icon:b.icon,className:g("size-5",b.className)}):null,t]})}),e.jsx(O,{variant:"outline",size:"sm",onClick:()=>{X("View all clicked",{title:t}),l()},children:n("global_viewAll")})]}):s?e.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsx(De,{className:"hover:shadow-sm",to:`/${s}`,children:e.jsxs("div",{className:"flex items-center gap-2 text-lg font-semibold",children:[b?e.jsx(ve,{icon:b.icon,className:g("size-5",b.className)}):null,t]})}),e.jsx(O,{variant:"outline",size:"sm",onClick:()=>{X("View all clicked",{title:t}),u(`/${s}`)},children:n("global_viewAll")})]}):e.jsxs("div",{className:"flex w-full items-center gap-2 text-lg font-semibold",children:[b?e.jsx(ve,{icon:b.icon,className:g("size-5",b.className)}):null,t]}),f?e.jsx(ns,{containerRef:o}):null]}):null,e.jsx("div",{ref:o,className:"content-skippable-row no-scrollbar flex min-h-gameCard gap-x-2 overflow-x-auto",children:c.slice(0,x).map((v,j)=>e.jsx(Yi,{game:v,href:r?void 0:la(i,v.gameCode),isLazy:j>=p,onOpen:h,onSelect:r},v.gameCode))})]})},IU=[{id:Ts.LIVE,labelKey:"hallOfWhales.menu.live",shortKey:"hallOfWhales.menuxxs.live"},{id:Ts.WEEK,labelKey:"hallOfWhales.menu.week",shortKey:"hallOfWhales.menuxxs.week"},{id:Ts.MONTH,labelKey:"hallOfWhales.menu.month",shortKey:"hallOfWhales.menuxxs.month"},{id:Ts.ALLTIME,labelKey:"hallOfWhales.menu.alltime",shortKey:"hallOfWhales.menuxxs.alltime"}],p5=({game:t,resolveSlug:s,resolveThumb:a,nameShown:l=!0})=>{const{thumbUrl:r,href:i}=sw(t,s,a),o=e.jsxs(e.Fragment,{children:[r?e.jsx("span",{className:"inline-block h-5 w-[26px] shrink-0 overflow-hidden rounded-xs",children:e.jsx(ce,{src:r,className:"size-full object-cover object-center",loading:"lazy"})}):null,l?e.jsx("span",{className:"truncate pl-2 text-xs",children:t==null?void 0:t.name}):null]});return i?e.jsx(De,{to:i,replace:!0,className:"flex items-center overflow-hidden hover:opacity-90",children:o}):e.jsx("span",{className:"flex items-center overflow-hidden",children:o})},FU={[Ts.LIVE]:{hour:"numeric",minute:"2-digit",hour12:!0},[Ts.WEEK]:{weekday:"long",hour:"numeric",minute:"2-digit"},[Ts.MONTH]:{day:"numeric",month:"short",hour:"numeric",minute:"2-digit"},[Ts.ALLTIME]:{day:"numeric",month:"short",year:"numeric"}},v1=({gameCode:t,group:s,provider:a,prefixFilter:l=null,tabsShown:r=!0})=>{const[i,o,d]=C([Xv,ct,Jv]),[u,c]=m.useState(Ts.LIVE),{resolveSlug:x,resolveThumb:p}=m.useMemo(()=>{const j=new Map(o.map(y=>[y.gameCode,y]));return{resolveSlug:y=>{var N;return(N=j.get(y))==null?void 0:N.providerSlug},resolveThumb:y=>{var N;return(N=j.get(y))==null?void 0:N.urlThumb}}
6637},[o]),f=(l==null?void 0:l.join(","))??"";m.useEffect(()=>{Qv(f?f.split(","):null)},[f]),m.useEffect(()=>{if(ew({period:u,gameCode:t,group:s,provider:a}),u!==Ts.LIVE){yd();return}return tw({gameCode:t,group:s}),()=>yd()},[u,t,s,a]);const h=(j,y)=>g("flex h-10 items-center",y,j%2===0&&"bg-gunmetal"),b=d&&i.length===0,v=i.length>0?Math.max(_d-i.length,0):0;return e.jsxs("div",{className:"w-full [overflow-anchor:none]","data-testid":"hall-of-whales",children:[r?e.jsxs("div",{className:"flex items-center justify-between gap-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx("img",{className:"size-8",src:"/logos/hall-of-whales.webp",alt:"","aria-hidden":"true",loading:"lazy",decoding:"async"}),n("hallOfWhales.title")]}),e.jsx("div",{className:"ml-auto flex gap-0.5 rounded-lg bg-primary p-0.5",role:"tablist",children:IU.map(j=>e.jsxs("button",{type:"button",role:"tab","aria-selected":u===j.id,"data-testid":`how-tab-${j.id}`,className:g("rounded-md px-3 py-1 text-sm font-normal transition-colors",u===j.id?"bg-primary-active text-white":"text-brandblue-100 hover:text-white"),onClick:()=>c(j.id),children:[e.jsx("span",{className:"hidden sm:inline",children:n(j.labelKey)}),e.jsx("span",{className:"sm:hidden",children:n(j.shortKey)})]},j.id))})]}):null,e.jsxs("div",{className:"grid w-full grid-cols-3 overflow-hidden rounded-lg text-sm text-[#ADAFCE] md:grid-cols-5",children:[e.jsx("div",{className:"ml-3 flex h-10 items-center text-left md:hidden",children:n("hallOfWhales.table.player")}),e.jsx("div",{className:"ml-3 hidden h-10 items-center text-left md:flex",children:n("hallOfWhales.table.game")}),e.jsx("div",{className:"hidden h-10 items-center justify-center text-center md:flex",children:n("hallOfWhales.table.player")}),e.jsx("div",{className:"hidden h-10 items-center justify-center text-center md:flex",children:n("hallOfWhales.table.time")}),e.jsx("div",{className:"flex h-10 items-center justify-center text-center",children:n("hallOfWhales.table.multiplier")}),e.jsx("div",{className:"mr-3 flex h-10 items-center justify-end text-left",children:n("hallOfWhales.table.winAmount")}),i.length===0&&!b?Array.from({length:_d}).map((j,y)=>e.jsxs("div",{className:"col-span-3 grid grid-cols-3 md:col-span-5 md:grid-cols-5",children:[e.jsx("div",{className:h(y,"justify-start md:hidden"),children:e.jsx("div",{className:"ml-3 h-4 w-24 animate-pulse rounded bg-[#2A2F3D]"})}),e.jsx("div",{className:h(y,"hidden justify-start md:flex"),children:e.jsx("div",{className:"ml-3 h-4 w-28 animate-pulse rounded bg-[#2A2F3D]"})}),e.jsx("div",{className:h(y,"hidden justify-center md:flex"),children:e.jsx("div",{className:"h-4 w-20 animate-pulse rounded bg-[#2A2F3D]"})}),e.jsx("div",{className:h(y,"hidden justify-center md:flex"),children:e.jsx("div",{className:"h-4 w-16 animate-pulse rounded bg-[#2A2F3D]"})}),e.jsx("div",{className:h(y,"justify-center"),children:e.jsx("div",{className:"h-4 w-10 animate-pulse rounded bg-[#2A2F3D]"})}),e.jsx("div",{className:h(y,"justify-end"),children:e.jsx("div",{className:"mr-3 h-4 w-16 animate-pulse rounded bg-[#2A2F3D]"})})]},y)):i.map((j,y)=>e.jsxs("div",{className:"col-span-3 grid grid-cols-3 md:col-span-5 md:grid-cols-5","data-testid":"how-row",children:[e.jsx("div",{className:h(y,"gap-x-2 justify-start md:hidden"),children:e.jsxs("span",{className:"ml-3 flex items-center gap-x-2 truncate",children:[e.jsx(p5,{game:j.game,resolveSlug:x,resolveThumb:p,nameShown:!1}),e.jsx("span",{className:"text-nowrap",children:j.nameFirst})]})}),e.jsx("div",{className:h(y,"gap-x-2 justify-start hidden md:flex"),children:e.jsx("div",{className:"truncate pl-3",children:e.jsx(p5,{game:j.game,resolveSlug:x,resolveThumb:p})})}),e.jsx("div",{className:h(y,"hidden justify-center md:flex"),children:j.nameFirst}),e.jsx("div",{className:h(y,"hidden justify-center md:flex"),children:new Date(j.createdAt).toLocaleString("en-US",FU[u])}),e.jsxs("div",{className:h(y,g("justify-center",j.multiplier>2&&"text-[#73DA69]")),children:["x",j.multiplier]}),e.jsxs("div",{className:h(y,"justify-end gap-x-2"),children:[e.jsx(we,{currency:j.betCurrency}),e.jsx("span",{className:"pr-3","data-testid":"how-win-amount",children:Ke(j.winAmount,j.betCurrency)})]})]},`${j.id}-${j.createdAt}`)),Array.from({length:v}).map((j,y)=>e.jsx("div",{className:"col-span-3 grid grid-cols-3 md:col-span-5 md:grid-cols-5","data-testid":"how-row-filler","aria-hidden":"true",children:e.jsx("div",{className:h(i.length+y,"col-span-3 md:col-span-5")})},`filler-${y}`)),b?e.jsx("div",{className:"col-span-3 flex h-60 items-center justify-center rounded-lg bg-gunmetal text-center md:col-span-5","data-testid":"how-empty",children:n("global_noRecords")}):null]})]})},OU=()=>
6637{const[t,s,a,l,r]=C([lc,Am,km,Sm,aa]),{isMediumBreakpointOrLarger:i,isLandscapeOrientation:o}=_l(),d=zm({gameMode:t,streamMode:s,streamViewerMode:!1,isLandscapeOrientation:o,isMediumBreakpointOrLarger:i,isTelegram:Vt()===zt.TELEGRAM,isTribesRoute:!1});return!Gm(d,t)&&a&&!l&&!r},DU=({endsAt:t})=>(IE(t),e.jsx("span",{className:"text-sm font-medium text-white",children:rw(t)})),$U=({tournamentSlug:t,onSettled:s})=>{var c;const[a,l]=C([aw,a3]),r=OU();m.useEffect(()=>{nw(t)},[t]);const i=()=>{iw(t),s==null||s()},o=()=>{l3({slug:t,source:"game_prompt"}),s==null||s()};if(!a||a.slug!==t||!lw(a.tournament,a.isJoinAllowed))return null;const{tournament:d}=a,u=l.includes(t);return e.jsxs("div",{"data-testid":"tournament-join-prompt",className:g("fixed inset-x-4 z-modal rounded-2xl border border-primary bg-highlight p-4 shadow-lg md:left-auto md:right-6 md:w-[400px]",Vt()===zt.TELEGRAM?"bottom-24":r?"bottom-28 xl:bottom-6":"bottom-[calc(1rem+env(safe-area-inset-bottom,0px))] xl:bottom-6"),children:[e.jsxs("div",{className:"flex items-start gap-3",children:[d.imageUrl?e.jsx(ce,{src:La(d.imageUrl),alt:"",className:"size-12 shrink-0 rounded-xl object-cover",loading:"lazy"}):null,e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[e.jsx("span",{className:"truncate text-sm font-semibold text-white",children:d.name}),e.jsxs("span",{className:"flex items-center gap-2 text-xs text-brandblue-100",children:[e.jsx("span",{className:"font-medium text-golden",children:ml(((c=d.metadata)==null?void 0:c.totalPrizePool)??0)}),e.jsx("span",{className:"text-brandblue-100/50",children:"|"}),n("tournaments.prompt.ends_in"),e.jsx(DU,{endsAt:d.endsAt??null})]})]}),e.jsx("button",{type:"button","aria-label":"Dismiss","data-testid":"tournament-join-prompt-dismiss",onClick:i,className:"flex size-6 shrink-0 items-center justify-center rounded-full text-brandblue-100 transition-colors hover:bg-primary hover:text-white",children:e.jsx("svg",{viewBox:"0 0 12 12",fill:"none",className:"size-3","aria-hidden":"true",children:e.jsx("path",{d:"M1 1L11 11M11 1L1 11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]}),e.jsxs("div",{className:"mt-3 flex gap-2",children:[e.jsx(O,{variant:"primary",size:"sm",className:"h-auto min-h-8 flex-1 whitespace-normal py-1 leading-tight","data-testid":"tournament-join-prompt-join",disabled:u,onClick:o,children:u?n("global_loading"):n("tournaments.join_tournament")}),e.jsx(O,{variant:"secondary-clean",size:"sm",className:"h-auto min-h-8 flex-1 py-1",onClick:i,children:n("tournaments.prompt.not_now")})]})]})},Fx=({gameCode:t,disabled:s=!1})=>{const[a,l,r]=C([ct,ow,te]),[i,o]=m.useState(!1),d=m.useMemo(()=>{const c=$s(a,t);return[...(c==null?void 0:c.tournamentSlugs)??[],...l]},[a,t,l]);if(s||!ke(Se.Tournaments)||i)return null;const u=cw(d,r);return u?e.jsx($U,{tournamentSlug:u,onSettled:()=>o(!0)},u):null},PU=t=>t.startsWith(`${xt}/`)||t.startsWith("/tribesog/")||t.startsWith(`${Nt}/`)||t.startsWith(Ae),HU=()=>{const{pathname:t}=at(),s=C(ht);return m.useEffect(()=>{s&&!PU(t)&&Xh()},[t,s]),m.useEffect(()=>{s&&Jh()},[s]),{isOriginalsInTribes:s}},h5="whale-originals",zs=({game:t,children:s})=>{var M,_;const[a,l,r,i,o,d,u]=C([te,Je,Ps,J1,hi,N3,ct]),{isOriginalsInTribes:c}=HU(),x=Cc({isSessionResolved:l,isAuthenticated:a,isProfileLoaded:r,isSelfExcluded:i}),p=c&&x==="redirect-auth"?"allowed":x,[f,h,b]=C([t.$isGameInitialised,t.$gameInfo,t.$metrics]),v=Us(),[j,y]=m.useState(v&&!c);if(m.useEffect(()=>{k3(h5)},[]),m.useEffect(()=>(Nc(t.gameId),()=>kc()),[t.gameId]),m.useEffect(()=>{if(p==="allowed")return t.initGameFx(),()=>{t.gameUnmounted()}},[t,p]),p==="redirect-auth")return e.jsx(kt,{to:"/?modal=auth&tab=login",replace:!0});if(p==="self-excluded")return o?e.jsx("div",{className:"flex w-full justify-center py-10",children:e.jsx(gi,{until:o})}):e.jsx(al,{});if(!f&&!j)return e.jsx(al,{});const N=(((M=d[h5])==null?void 0:M.games)??[]).filter(A=>A!==t.gameId),k=`originalGames.description.${t.gameId}`,w=n(k)===k?"":n(k),S=La((h==null?void 0:h.urlThumb)??"")||((_=$s(u,t.gameId))==null?void 0:_.urlThumb)||void 0;return e.jsx(pP,{game:t,children:e.jsxs("div",{className:g("flex flex-col gap-y-12 pb-4",c&&"pr-4 pt-4"),"data-testid":`game-page-${t.gameId}`,children:[j?e.jsxs(e.Fragment,{children:[e.jsx(CP,{gameInfo:h,imageSrc:S,onStart:()=>y(!1)}),e.jsxs("div",{className:"flex w-full flex-col gap-y-9 pt-4",children:[e.jsx(n5,{metrics:b}),e.jsx(k2,{gameCode:t.gameId})]})]}):s,e.jsx(Fx,{gameCode:t.gameId,disabled:c}),c?null:e.jsxs(e.Fragment,{children:[!j&&b?e.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row",children:[e.jsx(n5,{metrics:b}),e.jsx(k2,{gameCode:t.gameId})]}):null,e.jsx(v1,{gameCode:t.gameId}),N.length?e.jsx(ua,{title:n("global_suggestedGames"),gameCodes:N}):null,h?e.jsx(qi,{type:"game",name:h.name,provider:n("global_whaleOriginals"),description:w,imageSrc:S}):null]})]})})},Xi=({value:t,className:s="w-[44px]",labelClassName:a="text-[13px]",noLabel:l=!1})=>{const r=uw(t);return e.jsxs("span",{role:"img","aria-label":`${t} chip`,className:g("relative inline-flex flex-none",s),style:{"--top-chip-color":r.top,"--middle-chip-color":r.middle,"--bottom-chip-color":r.bottom},children:[e.jsx(Cx,{className:"block h-auto w-full"}),l?null:e.jsx("span",{className:g("absolute inset-0 flex items-center justify-center font-semibold text-white [text-shadow:0_1px_1px_rgba(0,0,0,0.35)]",a),children:R7(t)})]})},Ox="w-[40px] sm:w-[56px]",UU=({stack:t,total:s})=>{const a=bi(t);return e.jsxs("span",{className:"pointer-events-none absolute left-1/2 top-1/2 z-[3]","data-testid":"baccarat-chip-stack",children:[a.map((l,r)=>
6637e.jsx("span",{className:"absolute -left-5 sm:-left-7",style:{top:`calc(var(--baccarat-chip-offset) + ${(a.length-1-r)*4}px)`},children:e.jsx(Xi,{value:l,className:Ox,noLabel:!0})},r)),e.jsx("span",{className:"absolute left-0 top-0 z-[5] -translate-x-1/2 -translate-y-1/2 text-[12px] font-semibold tabular-nums text-white [text-shadow:0_1px_2px_rgba(0,0,0,0.55)] sm:text-[14px]",children:R7(s)})]})},VU=({stack:t,from:s})=>{const a=bi(t),[l,r]=m.useState(!0);return m.useEffect(()=>{let i=0;const o=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>r(!1))});return()=>{cancelAnimationFrame(o),cancelAnimationFrame(i)}},[]),s?e.jsx("span",{className:"pointer-events-none absolute left-1/2 top-1/2 z-[4]","aria-hidden":"true",children:a.map((i,o)=>e.jsx("span",{className:"absolute -left-5 transition-transform duration-[460ms] ease-out md:-left-7",style:{top:`calc(var(--baccarat-chip-offset) - ${(a.length+o)*4}px)`,transform:l?`translate(${s.dx}px, ${s.dy}px)`:"translate(0, 0)",transitionDelay:`${o*45}ms`},children:e.jsx(Xi,{value:i,className:Ox,labelClassName:"text-[13px]"})},o))}):null},g5=12,zU=({disabled:t=!1})=>{const[s,a]=C([dw,E7]),l=m.useRef(null),[r,i]=m.useState(!1);m.useEffect(()=>{const u=l.current;if(!u)return;const c=()=>i(u.scrollWidth>u.clientWidth+1);c();const x=new ResizeObserver(c);return x.observe(u),()=>x.disconnect()},[s]);const o=u=>{var c;return(c=l.current)==null?void 0:c.scrollBy({left:u*140,behavior:"smooth"})},d=(u,c)=>{mw(u);const x=l.current;if(!x)return;const p=x.getBoundingClientRect(),f=c.nextElementSibling,h=c.previousElementSibling;if(f&&f.getBoundingClientRect().right>p.right-1){x.scrollBy({left:f.getBoundingClientRect().right-p.right+g5,behavior:"smooth"});return}h&&h.getBoundingClientRect().left<p.left+1&&x.scrollBy({left:-(p.left-h.getBoundingClientRect().left+g5),behavior:"smooth"})};return e.jsxs("div",{className:"flex items-center gap-1 rounded-xl bg-[#323a4c] px-[6px] py-2 sm:gap-[6px] sm:px-[10px]","data-testid":"baccarat-chip-tray",children:[r?e.jsx(b5,{direction:-1,onClick:()=>o(-1)}):null,e.jsx("div",{ref:l,className:g("flex min-w-0 flex-1 items-center gap-2 overflow-x-auto rounded-xl bg-gunmetal px-[6px] py-2 [scrollbar-width:none] sm:gap-3 [&::-webkit-scrollbar]:hidden",r?"justify-start":"justify-center"),children:s.map(u=>e.jsx("button",{type:"button",disabled:t,"data-testid":`baccarat-chip-${u}`,onClick:c=>d(u,c.currentTarget),className:g("box-border flex size-9 flex-none items-center justify-center rounded-lg border border-transparent p-0 min-[380px]:size-10 sm:size-12",a===u&&"border-[#7086ff] bg-[linear-gradient(0deg,rgba(255,255,255,0.05)_0%,rgba(255,255,255,0.05)_100%),#323a4c]"),children:e.jsx(Xi,{value:u,className:"w-[30px] min-[380px]:w-[34px] sm:w-10",labelClassName:"text-[10px] sm:text-[13px]"})},u))}),r?e.jsx(b5,{direction:1,onClick:()=>o(1)}):null]})},b5=({direction:t,onClick:s})=>e.jsx("button",{type:"button",onClick:s,"aria-label":t<0?n("games.baccarat.aria.scrollLeft"):n("games.baccarat.aria.scrollRight"),className:"inline-flex flex-none items-center px-[2px] text-brandblue-100",children:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:g("block size-5",t<0&&"-scale-x-100"),"aria-hidden":"true",children:e.jsx("path",{d:"M13.196 9.69141L7.67064 4.33333C7.32586 3.99899 6.66675 4.20165 6.66675 4.642L6.66675 15.3582C6.66675 15.7985 7.32586 16.0012 7.67064 15.6668L13.196 10.3088C13.3792 10.1311 13.3792 9.86903 13.196 9.69141Z",fill:"currentColor"})})}),GU=({deal:t})=>{const[s,a,l,r,i,o,d,u,c,x,p]=C([xw,T7,jt.$isPlaying,fw,jt.$betCurrency,jt.$isFreeBet,jt.$remainingFreebetCount,jt.$availableFreebet,pw,hw,gw]),f=o&&s>=((u==null?void 0:u.betAmountInUsd)??0),h=()=>{const v=bw(S3.getState(),r);if(v){const j=Cw(v,r);be({level:"error",title:n("games.baccarat.errors.betNotAllowed"),body:n("games.baccarat.errors.minPerSpot",{min:i===U.WHALE?`${j.toLocaleString("en-US")} $WHALE`:`$${j.toLocaleString("en-US")}`})});return}jw()},b=v=>()=>{t.cancelDeal(),v()};return e.jsxs("section",{className:"flex flex-col gap-2 rounded-[18px] border border-[#21262f] bg-gunmetal p-[6px] min-[380px]:p-2 sm:gap-[10px] sm:p-3","data-testid":"baccarat-control
6637s",children:[e.jsx("div",{className:"flex items-stretch gap-2",children:t.isDealing?e.jsx("div",{className:"flex-1 grow",children:e.jsx(Z,{variant:"Primary",block:!0,height:"large",disabled:!0,children:n("games.baccarat.controls.dealing")})}):a?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex-1 grow",children:e.jsx(Z,{variant:"Primary",block:!0,height:"large",disabled:t.isAnimating,testId:"baccarat-new-bet",onClick:b(vw),children:n("games.baccarat.controls.newBet")})}),e.jsx(Z,{variant:"NonAccent",height:"large",disabled:t.isAnimating||!x,testId:"baccarat-rebet",onClick:b(ww),children:n("games.baccarat.controls.rebet")}),e.jsx(Z,{variant:"NonAccent",height:"large",disabled:t.isAnimating||o||!p,testId:"baccarat-double",onClick:b(yw),children:n("games.baccarat.controls.double")})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex-1 grow",children:e.jsx(Z,{variant:o?"Green":"Primary",block:!0,height:"large",disabled:s===0||l||c,testId:"baccarat-deal",onClick:h,children:l?n("games.baccarat.controls.dealing"):o?n("provablyFair.cta.freebet"):n("games.baccarat.controls.deal")})}),e.jsx(Z,{variant:"NonAccent",height:"large",disabled:s===0,testId:"baccarat-clear",onClick:()=>I7(),children:n("games.baccarat.controls.clear")})]})}),o?e.jsx("div",{className:"w-full text-center text-xs text-brandblue-100","data-testid":"baccarat-remaining-freebets",children:n("provablyFair.cta.remainingFreebetCount",{remainingFreebetCount:d})}):null,e.jsx(zU,{disabled:l||t.isAnimating||f}),e.jsx("span",{className:"self-end whitespace-nowrap text-xs text-brandblue-100",children:n("games.baccarat.controls.betsIn",{currency:i===U.WHALE?"WHALE":"USD"})})]})},s0=18,C5=8,a0=6,j5=22,v5=3,ZU=640,WU=t=>t.natural?"#ffdd62":t.side==="player"?"#5b8bff":"#ef4d4d",KU=t=>t.side==="player"?"#5b8bff":"#ef4d4d",qU=()=>{const t=C(_w),s=m.useRef(null),[a,l]=m.useState(a0),[r,i]=m.useState(j5);m.useEffect(()=>{const c=s.current;if(!c)return;const x=()=>{i(Math.max(1,Math.floor((c.clientWidth-C5*2)/s0))),l(window.innerWidth<=ZU?a0:Math.max(a0,Math.floor((c.clientHeight-C5*2)/s0)))};x();const p=new ResizeObserver(x);return p.observe(c),window.addEventListener("resize",x),()=>{p.disconnect(),window.removeEventListener("resize",x)}},[]);const o=m.useMemo(()=>Nw([...t].reverse()),[t]),d=Math.max(j5,r,o.length+v5),u=Math.max(0,o.length+v5-r)*s0;return e.jsx("div",{ref:s,"data-testid":"baccarat-scoreboard",className:"box-border h-full overflow-hidden rounded-xl border border-[#262c3a] bg-[#171b25] p-2",children:e.jsx("div",{className:"flex h-full min-h-[108px] w-max transition-transform duration-[450ms] ease-linear [will-change:transform]",style:{transform:`translateX(${-u}px)`},children:Array.from({length:d},(c,x)=>e.jsx("div",{className:"flex flex-none flex-col",children:Array.from({length:a},(p,f)=>{var b;const h=(b=o[x])==null?void 0:b[f];return e.jsx("div",{className:"flex min-h-[18px] w-[18px] flex-1 items-center justify-center",children:h?e.jsxs("svg",{viewBox:"0 0 20 20",className:"block size-[18px]","aria-hidden":"true",children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:WU(h),strokeWidth:"2"}),h.natural?e.jsx("circle",{cx:"10",cy:"10",r:"3",fill:KU(h)}):null,h.pairPlayer?e.jsx("circle",{cx:"5",cy:"5",r:"1.8",fill:"#5b8bff"}):null,h.pairBank?e.jsx("circle",{cx:"15",cy:"15",r:"1.8",fill:"#ef4d4d"}):null,h.ties>0?e.jsxs(e.Fragment,{children:[e.jsx("line",{x1:"4",y1:"16",x2:"16",y2:"4",stroke:"#46b94f",strokeWidth:"2",strokeLinecap:"round"}),h.ties>1?e.jsx("text",{x:"10",y:"13",textAnchor:"middle",fontSize:"9",fontWeight:"700",fill:"#8ff0b3",children:h.ties}):null]}):null]}):e.jsx("span",{className:"size-[3px] rounded-full bg-white/[0.12]"})},f)})},x))})})},YU="/assets/cardback-card-mpHFjSdx.svg",XU=({card:t,isFaceUp:s,highlight:a=!1,flipMs:l})=>e.jsx("div",{className:"h-[84px] w-[56px] flex-none [perspective:900px]",children:e.jsxs("div",{className:"relative size-full [transform-style:preserve-3d] [will-change:transform]",style:{transform:`rotateY(${s?360:180}deg)`,transition:`transform ${l}ms cubic-bezier(0.455, 0.03, 0.515, 0.955)`},children:[e.jsxs("div",{className:g("absolute inset-0 overflow-hidden rounded-[10px] bg-white [backface-visibility:hidden]",t.isRed?"text-[#db3d2e]":"text-[#1a1a22]",a&&"shadow-[inset_0_0_0_2px_#73da69]"),children:[e.jsxs("span",{className:"absolute left-[7px] top-[6px] flex flex-col items-center leading-none",children:[e.jsx("span",{className:"text-[17px] font-extrabold",children:t.rank}),e.jsx("span",{className:"mt-px text-[13px]",children:Nd(t.suit)})]}),e.jsxs("span",{className:"absolute bottom-[6px] right-[7px] flex rotate-180 flex-col items-center leading-none",children:[e.jsx("span",{className:"text-[17px] font-extrabold",children:t.rank}),e.jsx("span",{className:"mt-px text-[13px]",children:Nd(t.suit)})]})]}),e.jsx("div",{"aria-hidden":"true",className:"absolute inset-0 overflow-hidden rounded-[10px] bg-[#db3d2e] bg-cover bg-center bg-no-repeat [backface-visibility:hidden] [transform:rotateY(180deg)]",style:{backgroundImage:`url("${YU}")`}})]})}),JU="/assets/baccarat-table-texture-D-nu2Jh4.svg",QU="/assets/banker-pair-BaDSqmsC.svg",eV="/assets/banker-perfect-pair-BFDFcvJG.svg",tV="/assets/banker-right-5fgpazRL.svg",sV="/assets/player-actual-pair-BiD0EZOe.svg",aV="/assets/player-left-Dzz04qYq.svg",nV="/assets/player-perfect-pair-DrGPC-pX.svg",lV="/assets/tie-DxhTqWh6.svg",rV="/assets/cardback-wUrEZ7d1.svg",iV="/assets/dragon-D5QHYVFa.svg",oV="/assets/koi-D9djC-S9.svg",ar=360,Dx=420,cV=220,dV=750,uV=450,mV=700,xV=520,fV=460,pV=45,hV=500,gV=600,w5=300,y5=460,$x=360,Ft=t=>new Promise(s=>setTimeout(s,Math.max(0,t))),bV=()=>new Promise(t=>{let s=!1;const a=()=>{s||(s=!0,t())};requestAnimationFrame(a),setTimeout(a,50)}),_5=async(t,s)=>{for(let a=0;a<s&&!t();a+=1)await bV();return t()},CV=20,jV=10,Px=(t,s)=>{const a=t.getBoundingClientRect();return{dx:s.left+s.width/2-(a.left+a.width/2),dy:s.top+s.height/2-(a.top+a.height/2)}},N5=(t,s)=>{const a=Px(t,s),l=t.offsetWidth>0?t.getBoundingClientRect().width/t.offsetWidth:1;return{dx:a.dx/l,dy:a.dy/l}},vV=(t,s)=>[...Array.from({length:t},(a,l)=>`p${l}`),...Array.from({length:s},(a,l)=>`b${l}`)],nr={outcome:null,playerCards:[],bankerCards:[],playerRevealed:0,bankerRevealed:0,shownPlayerTotal:0,shownBankerTotal:0,isRevealDone:!1,isAnimating:!1,isDealing:!1,slotPhase:{},slotTransitionMs:{},faceUp:{},slotDelta:{},flipMs:Dx,chipPhase:"idle",chipTossFrom:{},chipSweepTo:{},winningSpots:[],paidSpots:[],isBannerCollapsing:!1},wV=()=>{const[t,s,a]=C([F7,jt.$gameConfig,jt.$isAudioOn]),[l,r]=m.useState(nr),i=m.useRef(null),o=m.useRef(null),d=m.useRef({}),u=m.useRef({}),c=m.useRef(0),x=m.useRef(null),p=m.useRef(!1),f=m.useRef(a),h=m.useRef(null);f.current=a,h.current=s??null,p.current=l.isAnimating;const b=m.useCallback(k=>{i.current=k},[]),v=m.useCallback(k=>{o.current=k},[]),j=m.useCallback(k=>w=>{d.current[k]=w},[]),y=m.useCallback(k=>w=>{u.current[k]=w},[]),N=m.useCallback(()=>{p.current&&(c.current+=1,p.current=!1,Ao(),r(nr))},[]);return m.useEffect(()=>{if(!t||t.round===x.current)return;x.current=t.round;const k=c.current+=1,w=()=>k!==c.current,S=(V,$=!1)=>{f.current&&($?_2(V):qe(V))},{outcome:M}=t,_=kd(M.playerCards),A=kd(M.bankerCards),E=(t.winAmountInUsd||t.winAmount)>0,L=vV(_.length,A.length),B=V=>r($=>({...$,...V})),z=(V,$,re)=>r(K=>({...K,slotPhase:{...K.slotPhase,[V]:$},slotTransitionMs:{...K.slotTransitionMs,[V]:re}}));(async()=>{var gt;B({...nr,outcome:M,playerCards:_,bankerCards:A,isAnimating:!0,isDealing:!0,winningSpots:Lo.filter(F=>Mo(F,M,h.current)),paidSpots:Lo.filter(F=>Mo(F,M,h.current)||Sd(F,M))});const V=["p0","b0","p1","b1"],$=await _5(()=>!!i.current&&V.every(F=>d.current[F]),CV);if(w())return;const re=i.current;if(!$){B({playerRevealed:_.length,bankerRevealed:A.length,shownPlayerTotal:pa(_),shownBankerTotal:pa(A),slotPhase:Object.fromEntries(L.map(F=>[F,"placed"])),faceUp:Object.fromEntries(L.map(F=>[F,!0])),isRevealDone:!0,isDealing:!1,isAnimating:!1}),Ao(),E&&S(xe.WIN);return}const K=re,ae={};for(const F of L){const J=d.current[F];J&&(ae[F]=Px(J,K.getBoundingClientRect()))}B({slotDelta:ae});const ee=async F=>{var J;z(F,"at-shoe",0),await _5(()=>{const Re=d.current[F],nt=Re?getComputedStyle(Re).transform:"none";return nt!=="none"&&nt!=="matrix(1, 0, 0, 1, 0, 0)"},jV),!w()&&((J=d.current[F])==null||J.getBoundingClientRect(),z(F,"placed",ar),S(xe.CARD_DEAL,!0))},ie=async F=>{r(J=>({...J,faceUp:{...J.faceUp,[F]:!0}})),await Ft(Dx)};for(let F=0;F<V.length;F+=1)if(await ee(V[F]),w()||(await Ft(F<V.length-1?cV:ar),w()))return;const Le=[{key:"p0",apply:()=>B({playerRevealed:1,shownPlayerTotal:pa(_.slice(0,1))})},{key:"p1",apply:()=>B({playerRevealed:2,shownPlayerTotal:pa(_.slice(0,2))})},{key:"b0",apply:()=>B({bankerRevealed:1,shownBankerTotal:pa(A.slice(0,1))})}
6637,{key:"b1",apply:()=>B({bankerRevealed:2,shownBankerTotal:pa(A.slice(0,2))})}];for(const F of Le){if(await ie(F.key),w())return;F.apply()}if(await Ft(dV),w())return;if(_.length===3){if(await ee("p2"),w()||(await Ft(ar),await ie("p2"),w()))return;B({playerRevealed:3,shownPlayerTotal:pa(_)})}if(A.length===3){if(await Ft(uV),w()||(await ee("b2"),w())||(await Ft(ar),await ie("b2"),w()))return;B({bankerRevealed:3,shownBankerTotal:pa(A)})}if(B({isRevealDone:!0,isDealing:!1}),Ao(),E&&S(xe.WIN),await Ft(mV),w())return;const de=S3.getState(),Ce=Lo.filter(F=>{var J;return(J=de[F])==null?void 0:J.length}),Be=Ce.filter(F=>Mo(F,M,h.current)||Sd(F,M)),Ie=Ce.filter(F=>!Be.includes(F));if(Ce.length){const F=K.getBoundingClientRect(),J={},Re={};for(const Me of Ie){const Te=u.current[Me];Te&&(Re[Me]=N5(Te,F))}for(const Me of Be){const Te=u.current[Me];Te&&(J[Me]=N5(Te,F))}B({chipPhase:"payout",chipTossFrom:J,chipSweepTo:Re});const nt=Be.reduce((Me,Te)=>Math.max(Me,bi(de[Te]).length),0);if(await Ft(Math.max(xV,fV+nt*pV)),w())return;if(Be.length){if(await Ft(hV),w())return;const Me=(gt=o.current)==null?void 0:gt.getBoundingClientRect();if(Me)for(const Te of Be){const Fe=u.current[Te];if(!Fe)continue;const bt=Fe.getBoundingClientRect(),yt=Fe.offsetWidth>0?bt.width/Fe.offsetWidth:1;Re[Te]={dx:(Me.left+Me.width/2-(bt.left+bt.width/2))/yt,dy:(Me.bottom-28-(bt.top+bt.height/2))/yt}}if(B({chipPhase:"sweep",chipSweepTo:{...Re}}),await Ft(gV),w())return}}I7(),B({chipPhase:"idle",chipTossFrom:{},chipSweepTo:{}}),B({flipMs:w5,faceUp:{}}),await Ft(w5),!w()&&(r(F=>({...F,slotPhase:Object.fromEntries(L.map(J=>[J,"returning"])),slotTransitionMs:Object.fromEntries(L.map(J=>[J,y5]))})),await Ft(y5),!w()&&(S(xe.CARD_SHUFFLE),!((E||M.winner===a2.TIE)&&(B({isBannerCollapsing:!0}),await Ft($x),w()))&&r({...nr})))})()},[t]),m.useEffect(()=>()=>{c.current+=1,Vs([xe.CARD_DEAL,xe.CARD_SHUFFLE,xe.CHIP_PLACE,xe.WIN])},[]),m.useMemo(()=>({...l,registerDeck:b,registerStage:v,registerSlot:j,registerSpot:y,cancelDeal:N}),[l,b,v,j,y,N])},yV={player:"#7086ff",tie:"#73da69",banker:"#ff5244"},_V=[{spot:Va.PLAYER_PAIR,image:sV,position:"top-[33px] left-[-209px]",labelClassName:"top-1/2 -translate-y-1/2 text-[13px] pl-[12px] pt-[18px]",labelKey:"games.baccarat.spot.playerPair",payout:"11:1",payoutClassName:"text-[#6B88CA]",clipPath:'path("M41.9845 5.14941C44.2453 1.23377 49.2374 -0.142711 53.2227 2.02539C103.333 29.2894 156.55 50.9597 211.937 66.4834C216.349 67.7203 218.969 72.2609 217.787 76.6719L196.691 155.407C195.503 159.839 190.94 162.453 186.542 161.196C123.573 143.195 62.674 117.835 5.15242 85.4639C1.18185 83.2294 -0.175694 78.174 2.10945 74.2158L41.9845 5.14941Z")'},{spot:Va.PERFECT_PAIR_PLAYER,image:nV,position:"top-[-17px] left-[-156px]",labelClassName:"top-[26px] text-[13px]",labelKey:"games.baccarat.spot.perfectPair",payout:"50:1",payoutClassName:"text-[#6B88CA]",clipPath:'path("M28.8614 1H145.729C152.344 1 158.912 2.13787 165.207 4.22168C172.379 6.59553 179.591 8.84042 186.841 10.9551C191.217 12.2316 193.801 16.7516 192.626 21.1367L171.203 101.085C170.021 105.497 165.49 108.111 161.106 106.882C106.726 91.6329 54.4702 70.3693 5.25101 43.6309C1.2106 41.4359 -0.197875 36.3322 2.10941 32.3359L15.8711 8.5C18.5506 3.85914 23.5025 1.00011 28.8614 1Z")'},{spot:Va.BANKER_PAIR,image:QU,position:"top-[33px] right-[-209px]",labelClassName:"top-1/2 -translate-y-1/2 text-[13px] pr-[12px] pt-[18px]",labelKey:"games.baccarat.spot.bankerPair",payout:"11:1",payoutClassName:"text-[#C38393]",clipPath:'path("M165.849 2.02539C169.834 -0.142705 174.826 1.23377 177.087 5.14941L216.962 74.2158C219.247 78.174 217.89 83.2294 213.919 85.4639C156.397 117.835 95.4984 143.195 32.5293 161.196C28.1315 162.453 23.5685 159.839 22.3809 155.407L1.28418 76.6719C0.1023 72.2609 2.72243 67.7203 7.13477 66.4834C62.5214 50.9597 115.738 29.2894 165.849 2.02539Z")'},{spot:Va.PERFECT_PAIR_BANK,image:eV,position:"top-[-19px] right-[-154px]",labelClassName:"top-[26px] text-[13px]",labelKey:"games.baccarat.spot.perfectPair",payout:"50:1",payoutClassName:"text-[#C38393]",clipPath:'path("M48.1817 1H165.048C170.407 1 175.36 3.85905 178.039 8.5L191.801 32.3359C194.108 36.3321 192.7 41.4358 188.659 43.6309C139.44 70.3692 87.184 91.6329 32.8038 106.882C28.4204 108.111 23.8896 105.497 22.7071 101.085L1.28424 21.1367C0.109259 16.7517 2.69233 12.2318 7.06842 10.9551C14.3181 8.84039 21.5314 6.59556 28.7032 4.22168C34.9986 2.13791 41.5666 1 48.1817 1Z")'},{spot:Va.PLAYER,image:aV,position:"top-0 left-0",labelClassName:"top-1/2 -translate-y-1/2 text-[20px] pl-[30px] pb-[42px]",labelKey:"games.baccarat.spot.player",payout:"1:1",payoutClassName:"text-[#ADAFCE]",marker:"player",clipPath:'path("M51.001 7.16895C52.1762 2.78303 56.
66376748 0.160287 61.1035 1.24414C105.776 12.1769 151.666 18.2457 197.975 19.2383C202.534 19.3361 206.202 23.0345 206.202 27.5762V132.817C206.202 137.385 202.499 141.088 197.932 141.088H124.434C109.993 141.088 96.6494 148.797 89.4355 161.307L61.9326 209.001C60.1837 212.034 56.7178 213.637 53.2881 212.98C37.8212 210.019 22.4449 206.625 7.17773 202.803C2.74127 201.692 0.0969783 197.146 1.28418 192.715L51.001 7.16895Z")'},{spot:Va.BANKER,image:tV,position:"top-0 right-0",labelClassName:"top-1/2 -translate-y-1/2 text-[20px] pr-[30px] pb-[42px]",labelKey:"games.baccarat.spot.banker",payout:"0.95:1",payoutClassName:"text-[#ADAFCE]",marker:"banker",clipPath:'path("M145.557 1.24414C149.985 0.160281 154.484 2.78303 155.659 7.16895L205.376 192.714C206.563 197.146 203.919 201.692 199.482 202.803C184.215 206.625 168.839 210.019 153.372 212.98C149.942 213.637 146.476 212.034 144.728 209.001L117.224 161.307C110.01 148.797 96.667 141.088 82.2266 141.088H9.27051C4.70288 141.088 1 137.385 1 132.817V27.5645C1.00018 23.0256 4.66415 19.3291 9.2207 19.2275C55.3478 18.1997 101.057 12.1348 145.557 1.24414Z")'},{spot:Va.TIE,image:lV,position:"left-1/2 bottom-[43px] -translate-x-1/2",labelClassName:"top-1/2 -translate-y-1/2 text-[20px]",labelKey:"games.baccarat.spot.tie",payout:"8:1",payoutClassName:"text-[#6FA185]",marker:"tie",clipPath:'path("M136.855 76.6416H136.854C136.855 76.6415 136.857 76.6408 136.859 76.6406C136.862 76.6405 136.865 76.6398 136.869 76.6396C136.862 76.64 136.856 76.6415 136.855 76.6416ZM49.799 1H224.064C234.475 1.00026 244.097 6.5577 249.298 15.5771L260.524 35.0439L271.749 54.5098C274.627 59.5004 271.648 65.8079 265.98 66.6875C223.561 73.2698 180.552 76.62 137.32 76.6387H136.904C93.5503 76.6386 50.4199 73.2882 7.88293 66.6875C2.21429 65.8079 -0.764593 59.5005 2.1134 54.5098L24.5646 15.5771C29.6849 6.69866 39.0877 1.17426 49.3116 1.00391L49.799 1Z")'}],NV=886,n0=(t,s)=>s===U.WHALE?`${t.toLocaleString("en-US")} $WHALE`:`$${t.toLocaleString("en-US")}`,kV=(t,s)=>{switch(t.reason){case"side-bet-ratio":return n("games.baccarat.errors.sideBetHalf");case"spot-max":return n("games.baccarat.errors.maxPerSpot",{max:n0(t.limit,s)});case"freebet-stake":return n("games.baccarat.errors.freebetStake",{max:n0(t.limit,s)});case"balance":return n("errors.INSUFFICIENT_BALANCE");default:return n("games.baccarat.errors.liabilityCap",{max:n0(t.limit,s)})}},Hx=300,SV="cubic-bezier(0.215, 0.61, 0.355, 1)",AV=({flight:t})=>{const[s,a]=m.useState(!1);m.useEffect(()=>{let r=0;const i=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>a(!0))});return()=>{cancelAnimationFrame(i),cancelAnimationFrame(r)}},[]);const l=s?t.to:t.from;return Oa.createPortal(e.jsx("span",{"aria-hidden":"true",className:"pointer-events-none fixed left-0 top-0 z-[1500]",style:{width:t.startSize,transform:`translate(${l.x-t.startSize/2}px, ${l.y-t.startSize/2}px) scale(${s?t.endScale:1})`,transition:s?`transform ${Hx}ms ${SV}`:"none"},children:e.jsx(Xi,{value:t.value,className:"w-full",labelClassName:"text-[10px] sm:text-[13px]"})}),document.body)},LV=({deal:t})=>{const[s,a,l,r,i,o,d,u,c,x]=C([S3,kw,Sw,E7,jt.$isPlaying,jt.$betCurrency,Aw,Lw,T7,jt.$isAudioOn]),p=o===U.WHALE,f=t.isRevealDone?t.winningSpots:[],h=m.useRef(null),[b,v]=m.useState(1),j=m.useCallback(A=>{h.current=A,t.registerStage(A)},[t.registerStage]);m.useEffect(()=>{const A=h.current;if(!A)return;const E=()=>v(Math.min(1,A.clientWidth/NV));E();const L=new ResizeObserver(E);return L.observe(A),()=>L.disconnect()},[]);const[y,N]=m.useState([]),k=m.useRef(0),w=m.useRef(!0);m.useEffect(()=>(w.current=!0,()=>{w.current=!1}),[]);const S=A=>{if(i||t.isAnimating||l.includes(A))return;const E=Mw(A,r),L=(E==null?void 0:E.reason)==="side-bet-ratio"?Bw(A):null;if(E&&L===null){be({level:"error",title:n("games.baccarat.errors.betNotAllowed"),body:kV(E,o)});return}t.cancelDeal();const B=L??r,z=()=>{Ew({spot:A,chip:B}),x&&w.current&&qe(xe.CHIP_PLACE)},le=document.querySelector(`[data-testid="baccarat-chip-${B}"] [role="img"]`),V=document.querySelector(`[data-testid="baccarat-spot-${A}"]`);if(!le||!V){z();return}const $=(window.innerWidth<=640?40:56)*b,re=le.getBoundingClientRect(),K=V.getBoundingClientRect(),ae=re.width||$,ee=k.current+=1;N(ie=>
6637[...ie,{id:ee,value:B,from:{x:re.left+re.width/2,y:re.top+re.height/2},to:{x:K.left+K.width/2,y:K.top+K.height/2},startSize:ae,endScale:$/ae}]),window.setTimeout(()=>{z(),N(ie=>ie.filter(Le=>Le.id!==ee))},Hx)},M=d.value.toLocaleString("en-US",{minimumFractionDigits:p?0:2,maximumFractionDigits:p?2:4}),_={animation:"baccarat-banner-text 520ms ease-out forwards"};return e.jsxs("section",{ref:j,"data-testid":"baccarat-stage",className:"relative isolate flex aspect-square flex-col overflow-hidden rounded-2xl border border-[#2c3242] bg-[radial-gradient(circle_at_50%_30%,#262b38_0%,#1f232f_72%)] px-[10px] pb-[10px] pt-3 sm:aspect-[900/500] sm:px-4 sm:pb-4 sm:pt-[18px]",children:[e.jsxs("div",{className:"absolute bottom-0 left-1/2 h-[492px] w-[886px] origin-bottom",style:{transform:`translateX(-50%) scale(${b})`},children:[e.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 z-[-1] h-[886px]",style:{background:`url("${JU}") center bottom / 1772px 1772px no-repeat`,WebkitMaskImage:"linear-gradient(to bottom, transparent 0%, #000 24%)",maskImage:"linear-gradient(to bottom, transparent 0%, #000 24%)"}}),e.jsx("img",{className:"pointer-events-none absolute left-[-7px] top-[-12px] z-0 w-[300px] max-[640px]:top-[-392px]",src:iV,alt:""}),e.jsx("img",{className:"pointer-events-none absolute left-[593px] top-[-12px] z-0 w-[300px] max-[640px]:top-[-392px]",src:oV,alt:""}),e.jsx("div",{className:"absolute bottom-0 left-1/2 z-[2] h-[273px] w-[426px] -translate-x-1/2 [--baccarat-chip-offset:-20px] sm:[--baccarat-chip-offset:-28px]","data-testid":"baccarat-bet-panel",children:_V.map(A=>e.jsx(MV,{deal:t,button:A,stack:s[A.spot]??[],total:a[A.spot],isActive:f.includes(A.spot),isBlocked:!c&&l.includes(A.spot),isDimmed:t.isRevealDone&&!f.includes(A.spot),isDisabled:i||t.isAnimating||l.includes(A.spot),onPlace:()=>S(A.spot)},A.spot))})]}),e.jsx("div",{ref:t.registerDeck,className:"absolute left-1/2 top-0 h-[78px] w-24 -translate-x-1/2 [filter:drop-shadow(0_7px_10px_rgba(0,0,0,0.5))] max-[640px]:h-[84px] max-[640px]:w-[79px]",children:[3,2,1,0].map(A=>e.jsx("img",{src:rV,alt:"",className:"absolute top-0 block h-auto w-[72px] max-[640px]:h-[84px] max-[640px]:w-[55px]",style:{left:A*8}},A))}),t.isRevealDone&&(d.isWin||u)?e.jsx("div",{"data-testid":"baccarat-win-banner",className:"absolute inset-x-3 top-3 z-[4] flex items-center justify-between gap-3 rounded-[10px] border border-[rgba(115,218,105,0.28)] bg-[linear-gradient(90deg,rgba(115,218,105,0.22)_0%,rgba(20,40,30,0.4)_55%)] px-[18px] py-[11px] font-medium shadow-[0_4px_18px_rgba(0,0,0,0.35)] backdrop-blur-[12px] [will-change:transform]",style:{animation:t.isBannerCollapsing?`baccarat-banner-out ${$x}ms cubic-bezier(0.6,-0.28,0.735,0.045) forwards`:"baccarat-banner-in 520ms cubic-bezier(0.34,1.56,0.64,1) forwards"},children:u?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-[#54d149]",style:_,children:n("games.baccarat.result.tie")}),e.jsx("span",{className:"text-[#54d149]",style:_,children:n("games.baccarat.result.refunded")})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-[#54d149]",style:_,children:n("games.baccarat.result.won")}),e.jsx("span",{className:"tabular-nums text-[#54d149]",style:_,children:p?`+${M} $WHALE`:`+$${M}`})]})}):null,y.map(A=>e.jsx(AV,{flight:A},A.id)),t.outcome?e.jsxs("div",{className:"absolute inset-x-0 top-[38px] flex justify-between gap-5 px-6 max-[480px]:px-3 max-[480px]:pb-3 max-[480px]:pt-1",children:[e.jsx(L5,{deal:t,prefix:"p",cards:t.playerCards,revealed:t.playerRevealed,total:t.shownPlayerTotal,isWinner:t.outcome.winner===a2.PLAYER,label:n("games.baccarat.hand.player")}),e.jsx(L5,{deal:t,prefix:"b",cards:t.bankerCards,revealed:t.bankerRevealed,total:t.shownBankerTotal,isWinner:t.outcome.winner===a2.BANKER,label:n("games.baccarat.hand.banker")})]}):null]})},MV=({deal:t,button:s,stack:a,total:l,isActive:r,isBlocked:i,isDimmed:o,isDisabled:d,onPlace:u})=>{const c=t.chipPhase!=="idle",x=t.paidSpots.includes(s.spot),p=t.chipSweepTo[s.spot],f=t.chipTossFrom[s.spot],h=c&&(x?t.chipPhase==="sweep":!0);return e.jsxs("div",{ref:t.registerSpot(s.spot),"data-spot":s.spot,"data-testid":`baccarat-spot-${s.spot}`,className:g("pointer-events-none absolute w-max",s.position),children:[e.jsxs("button",{type:"button",disabled:d,onClick:u,style:{clipPath:s.clipPath},className:g("pointer-events-auto relative block w-full cursor-pointer border-0 bg-transparent p-0 leading-[0] [transition:opacity_0.15s_ease,filter_0.25s_ease] disabled:cursor-default",!r&&"enabled:hover:brightness-110",o&&!r&&"opacity-50",i&&"cursor-not-allowed opacity-30"),children:[e.jsx("img",{className:"pointer-events-none block max-w-none",src:s.image,alt:""}),e.jsxs("span",{className:g("pointer-events-none absolute left-1/2 z-[1] flex -translate-x-1/2 flex-col items-center gap-px whitespace-nowrap text-center font-medium uppercase leading-[1.15] tracking-[0.03em] text-white",s.labelClassName),children:[e.jsxs("span",{className:"flex flex-row items-center gap-2",children:[s.marker?e.jsx("span",{className:"size-[14px] flex-none rounded-[5.587px] border-[2.793px] border-solid",style:{borderColor:yV[s.marker]}}):null,e.jsx("span",{className:"flex flex-col items-center gap-px",children:e.jsx("span",{children:n(s.labelKey)})})]}),e.jsx("span",{className:g("text-center text-[20px] font-medium leading-[27.93px]",s.payoutClassName),children:s.payout})]})]}),a.length?e.jsxs("span",{className:"pointer-events-none absolute inset-0 z-[3]",style:{transform:h&&p?`translate(${p.dx}px, ${p.dy}px)`:void 0,opacity:h&&p?0:1,scale:h&&p?x?"0.85":"0.7":void 0,transition:c?`transform ${x?600:520}ms ${x?"ease-in-out":"ease-in"}, opacity ${x?600:520}ms linear, scale ${x?600:520}ms ease-in-out`:void 0},children:[e.jsx(UU,{stack:a,total:l}),x&&t.chipPhase!=="idle"?e.jsx(VU,{stack:bi(a),from:f??null}):null]}):null]})},BV=56,k5=84,S5=24,A5=8,L5=({deal:t,prefix:s,cards:a,revealed:l,total:r,isWinner:i,label:o})=>e.jsxs("div",{className:"flex flex-col items-center gap-[14px]",children:[e.jsxs("div",{className:"relative",style:{width:BV+Math.max(0,a.length-1)*S5,height:k5+Math.max(0,a.length-1)*A5},children:[a.map((d,u)=>{const c=`${s}${u}`,x=t.slotPhase[c]??"hidden",p=t.slotDelta[c],f=t.slotTransitionMs[c]??0,h=p?`translate(${p.dx}px, ${p.dy}px)`:"translate(0, 0)";return e.jsx("span",{ref:t.registerSlot(c),className:"absolute [will-change:transform,opacity]",style:{to
6637p:u*A5,left:u*S5,zIndex:u,opacity:x==="hidden"||x==="returning"?0:1,transform:x==="at-shoe"?`${h} rotate(-12deg) scale(0.92)`:x==="returning"?`${h} scale(0.9)`:"translate(0, 0)",transition:f?`transform ${f}ms cubic-bezier(0.215,0.61,0.355,1), opacity ${f}ms linear`:"none"},children:e.jsx(XU,{card:d,isFaceUp:!!t.faceUp[c],highlight:t.isRevealDone&&i,flipMs:t.flipMs})},c)}),l>0?e.jsx("span",{className:g("absolute left-[2px] z-20 inline-flex h-6 min-w-[26px] items-center justify-center rounded-lg px-[6px] text-[15px] font-semibold tabular-nums shadow-[0_2px_6px_rgba(0,0,0,0.4)]",t.isRevealDone&&i?"bg-[#73da69] text-[#0d2c14]":"bg-[#0f1420] text-white"),style:{top:k5*.855},"data-testid":`baccarat-total-${s}`,children:r}):null]}),e.jsx("span",{className:"text-center text-sm font-semibold sm:text-[17px]",children:o})]}),L1="#5b8bff",l0="#ef4d4d",M5="#46b94f",EV="#ffdd62",Es=({title:t,children:s})=>e.jsxs("section",{className:"pt-4",children:[e.jsx("h3",{className:"mb-[6px] mt-0 text-sm font-semibold text-white",children:t}),s]}),za=({children:t})=>e.jsx("p",{className:"m-0 text-[13px] leading-[1.5] text-brandblue-100",children:t}),ha=({items:t,marker:s="list-disc"})=>e.jsx("ul",{className:`mb-0 mt-[6px] pl-[18px] ${s}`,children:t.map((a,l)=>e.jsx("li",{className:"text-[13px] leading-[1.5] text-brandblue-100",children:a},l))}),ga=({children:t,swatch:s})=>e.jsxs("li",{className:"flex items-center gap-[10px] text-[13px] leading-[1.5] text-brandblue-100",children:[e.jsx("svg",{className:"size-5 flex-none",viewBox:"0 0 20 20","aria-hidden":"true",children:s}),t]}),RV=()=>{const{closeModal:t}=W();return e.jsxs("div",{className:"flex h-full max-h-screen w-full flex-col bg-[#13161e] text-left text-white md:h-auto md:max-h-[80vh] md:w-[460px] md:rounded-xl","data-testid":"baccarat-rules-modal",children:[e.jsxs("header",{className:"flex flex-none items-center justify-between border-b border-b-[#262c3a] px-[18px] py-4",children:[e.jsxs("span",{className:"flex items-center gap-2 text-xl font-semibold leading-6",children:[e.jsx(kl,{className:"size-5 text-brandblue-100"}),n("games.baccarat.rules.title")]}),e.jsx("button",{type:"button","aria-label":n("games.baccarat.rules.close"),onClick:()=>t(),className:"flex size-7 items-center justify-center rounded-lg bg-transparent hover:bg-white/[0.06]",children:e.jsx(ia,{className:"size-5 text-brandblue-100"})})]}),e.jsxs("div",{className:"flex-1 overflow-y-auto px-[18px] pb-[22px] pt-1",children:[e.jsx(Es,{title:n("games.baccarat.rules.objective.title"),children:e.jsx(za,{children:n("games.baccarat.rules.objective.body")})}),e.jsx(Es,{title:n("games.baccarat.rules.decks.title"),children:e.jsx(za,{children:n("games.baccarat.rules.decks.body")})}),e.jsxs(Es,{title:n("games.baccarat.rules.betting.title"),children:[e.jsx(za,{children:n("games.baccarat.rules.betting.body")}),e.jsx(ha,{items:[n("games.baccarat.rules.betting.item1"),n("games.baccarat.rules.betting.item2"),n("games.baccarat.rules.betting.item3")]})]}),e.jsxs(Es,{title:n("games.baccarat.rules.sideBets.title"),children:[e.jsx(za,{children:n("games.baccarat.rules.sideBets.body")}),e.jsx(ha,{items:[n("games.baccarat.rules.sideBets.item1"),n("games.baccarat.rules.sideBets.item2")]})]}),e.jsx(Es,{title:n("games.baccarat.rules.dealing.title"),children:e.jsx(za,{children:n("games.baccarat.rules.dealing.body")})}),e.jsx(Es,{title:n("games.baccarat.rules.tie.title"),children:e.jsx(ha,{items:[n("games.baccarat.rules.tie.item1"),n("games.baccarat.rules.tie.item2"),n("games.baccarat.rules.tie.item3")]})}),e.jsxs(Es,{title:n("games.baccarat.rules.drawing.title"),children:[e.jsx(za,{children:n("games.baccarat.rules.drawing.body")}),e.jsx(ha,{items:[n("games.baccarat.rules.drawing.player"),e.jsxs(e.Fragment,{children:[n("games.baccarat.rules.drawing.bankerIntro"),e.jsx(ha,{marker:"list-[circle]",items:[n("games.baccarat.rules.drawing.banker02"),n("games.baccarat.rules.drawing.banker36"),n("games.baccarat.rules.drawing.banker7"),n("games.baccarat.rules.drawing.banker89")]})]}),n("games.baccarat.rules.drawing.auto"),e.jsxs(e.Fragment,{children:[n("games.baccarat.rules.drawing.sideIntro"),e.jsx(ha,{marker:"list-[circle]",items:[n("games.baccarat.rules.drawing.side1"),n("games.baccarat.rules.drawing.side2")]})]})]})]}),e.jsxs(Es,{title:n("games.baccarat.rules.scoreboard.title"),children:[e.jsxs("ul",{className:"mb-0 mt-[10px] flex list-none flex-col gap-2 pl-0",children:[e.jsx(ga,{swatch:e.jsx("circle",{cx:"10",cy:"10",r:"2",fill:"rgba(255,255,255,0.22)"}),children:n("games.baccarat.rules.scoreboard.grayDot")}),e.jsx(ga,{swatch:e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:l0,strokeWidth:"2"}),children:n("games.baccarat.rules.scoreboard.redStroke")}),e.jsx(ga,{swatch:e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:L1,strokeWidth:"2"}),children:n("games.baccarat.rules.scoreboard.blueStroke")}),e.jsx(ga,{swatch:e.jsxs(e.Fragment,{children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:L1,strokeWidth:"2"}),e.jsx("line",{x1:"4",y1:"16",x2:"16",y2:"4",stroke:M5,strokeWidth:"2",strokeLinecap:"round"})]}),children:n("games.baccarat.rules.scoreboard.greenSlash")}),e.jsx(ga,{swatch:e.jsxs(e.Fragment,{children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:l0,strokeWidth:"2"}),e.jsx("circle",{cx:"5",cy:"5",r:"1.8",fill:l0})]}),children:n("games.baccarat.rules.scoreboard.redDot")}
6637),e.jsx(ga,{swatch:e.jsxs(e.Fragment,{children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:L1,strokeWidth:"2"}),e.jsx("circle",{cx:"5",cy:"5",r:"1.8",fill:L1})]}),children:n("games.baccarat.rules.scoreboard.blueDot")}),e.jsx(ga,{swatch:e.jsxs(e.Fragment,{children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:L1,strokeWidth:"2"}),e.jsx("line",{x1:"4",y1:"16",x2:"16",y2:"4",stroke:M5,strokeWidth:"2",strokeLinecap:"round"}),e.jsx("text",{x:"10",y:"13",textAnchor:"middle",fontSize:"9",fontWeight:"700",fill:"#8ff0b3",children:"2"})]}),children:n("games.baccarat.rules.scoreboard.greenSlashNumber")}),e.jsx(ga,{swatch:e.jsxs(e.Fragment,{children:[e.jsx("circle",{cx:"10",cy:"10",r:"7",fill:"none",stroke:EV,strokeWidth:"2"}),e.jsx("circle",{cx:"10",cy:"10",r:"3",fill:L1})]}),children:n("games.baccarat.rules.scoreboard.goldStroke")})]}),e.jsx("p",{className:"m-0 pt-1 text-[13px] leading-[1.5] text-brandblue-100",children:n("games.baccarat.rules.scoreboard.recordIntro")}),e.jsx(ha,{items:[n("games.baccarat.rules.scoreboard.record1"),n("games.baccarat.rules.scoreboard.record2"),n("games.baccarat.rules.scoreboard.record3"),n("games.baccarat.rules.scoreboard.record4")]})]}),e.jsx(Es,{title:n("games.baccarat.rules.payouts.title"),children:e.jsx(ha,{items:[n("games.baccarat.rules.payouts.player"),n("games.baccarat.rules.payouts.banker"),n("games.baccarat.rules.payouts.tie"),n("games.baccarat.rules.payouts.pair"),n("games.baccarat.rules.payouts.perfectPair")]})}),e.jsx(Es,{title:n("games.baccarat.rules.fairness.title"),children:e.jsx(za,{children:n("games.baccarat.rules.fairness.body")})})]})]})},Ux="baccarat-rules",TV=$e({component:RV,wrapperClass:"bg-[#13161e] p-0",omitHeader:!0,title:()=>"",accessibleName:()=>n("games.baccarat.rules.title")}),ba={SEEDS:"seeds",VERIFY:"verify",OLD_SEEDS:"old-seeds"},IV=()=>{const[t,s,a,l]=C([Tw,Iw,Fw,uU]),[r,i]=m.useState(""),[o,d]=m.useState(null);m.useEffect(()=>{i((t==null?void 0:t.clientSeed)??"")},[t==null?void 0:t.clientSeed]);const u=()=>{if(l){d(n("modals.provablyFair.error.playing"));return}if(!r){d(n("modals.provablyFair.error.clientSeedRequired"));return}d(null),Hw(r)};return e.jsxs("div",{"data-testid":"pf-seeds-tab",children:[e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsx(ne,{name:"active-client-seed",testId:"active-client-seed",label:n("modals.provablyFair.input.label.activeClientSeed"),value:(t==null?void 0:t.clientSeed)??"",copyable:!0,disabled:!0}),e.jsx(ne,{name:"active-server-seed",testId:"active-server-seed",label:n("modals.provablyFair.input.label.activeServerSeed"),value:(t==null?void 0:t.serverSeedHash)??"",copyable:!0,disabled:!0}),e.jsx(ne,{name:"total-bets-with-pair",testId:"total-bets-with-pair",label:n("modals.provablyFair.input.label.totalBets"),value:(t==null?void 0:t.nonce)??"",copyable:!0,disabled:!0})]}),e.jsx("h2",{className:"truncate py-2 text-lg text-white",children:n("modals.provablyFair.rotateSeedPair")}),e.jsxs("div",{className:"py-2",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsx(ne,{name:"new-client-seed",testId:"new-client-seed",label:n("modals.provablyFair.input.label.newClientSeed"),value:r,onInput:c=>i(c??""),endIcon:e.jsx(Z,{variant:"Primary",height:"small",testId:"rotate-seed-pair",disabled:s||l,onClick:u,children:n("modals.provablyFair.cta.changePair")})})}),e.jsx("div",{className:"mt-2 flex min-h-6 items-center gap-2 text-red-500","data-testid":"pf-seeds-error",children:o??a??""})]})]})},FV=({onVerify:t})=>{const s=C(Ow);m.useEffect(()=>{Dw()},[]);const a="px-2 py-2 text-xs text-brandblue-50";return e.jsx("div",{className:"overflow-hidden rounded-xl bg-tribe-live p-1","data-testid":"pf-old-seeds-tab",children:e.jsx("div",{className:"overflow-x-auto rounded-lg",children:e.jsxs("table",{className:"w-full min-w-[420px] border-separate border-spacing-0 bg-[#171a22]",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-primary",children:[e.jsx("th",{className:g(a,"text-left"),children:n("modals.provablyFair.input.label.clientSeed")}),e.jsx("th",{className:g(a,"text-center"),children:n("modals.provablyFair.input.label.serverSeed")}),e.jsx("th",{className:g(a,"text-center"),children:n("modals.provablyFair.input.label.nonce")}),e.jsx("th",{className:g(a,"text-center"),children:"Action"})]})}),e.jsxs("tbody",{children:[s.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:4,className:"p-4 text-center text-xs text-brandblue-100",children:n("modals.provablyFair.activeSeed")})}
6637):null,s.map(l=>{const r=$w(l);return e.jsxs("tr",{className:"border-t border-secondary","data-testid":"pf-old-seed-row",children:[e.jsx("td",{className:"p-2 text-left text-xs font-normal text-[#e1e1e1]",children:Ad(l.clientSeed)}),e.jsx("td",{className:"p-2 text-center text-xs font-normal text-[#e1e1e1]",children:Ad(Pw(l))}),e.jsx("td",{className:"p-2 text-center text-xs font-normal text-brandblue-100",children:l.nonce}),e.jsx("td",{className:"p-2 text-center",children:r?e.jsx(Z,{variant:"NonAccent",height:"small",testId:"pf-verify-seed",onClick:()=>{O7({clientSeed:l.clientSeed,serverSeed:l.serverSeed,nonce:String(l.nonce)}),t()},children:n("modals.provablyFair.tab.verify").toLocaleLowerCase()}):e.jsx(Z,{variant:"NonAccent",height:"small",disabled:!0,testId:"pf-verify-seed-disabled",ariaLabel:n("modals.provablyFair.activeSeed"),children:n("modals.provablyFair.tab.verify").toLocaleLowerCase()})})]},l.index)})]})]})})})},OV=()=>{var i;const[t,s]=m.useState(ba.SEEDS),a=C(Sl),l=a?(i=Sc[a])==null?void 0:i.VerificationTab:void 0;m.useEffect(()=>{Rw()},[]);const r=[{id:ba.SEEDS,label:n("modals.provablyFair.tab.seeds")},{id:ba.VERIFY,label:n("modals.provablyFair.tab.verify")},{id:ba.OLD_SEEDS,label:n("global_history")}];return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"provably-fair-modal",children:[e.jsxs("div",{className:"flex w-full flex-row items-center gap-2 text-xl font-normal text-white",children:[e.jsx(da,{className:"size-5"}),n("provablyFair.title")]}),e.jsx("div",{className:"min-h-[640px]",children:e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("div",{className:"grid w-full grid-cols-3 gap-x-2 rounded-xl bg-tribe-live p-1",children:r.map(o=>e.jsx(Z,{height:"small",block:!0,variant:t===o.id?"Primary":"Link",testId:`pf-tab-${o.id}`,onClick:()=>s(o.id),children:o.label},o.id))}),e.jsxs("div",{className:"w-full",children:[t===ba.SEEDS?e.jsx(IV,{}):null,t===ba.VERIFY&&l?e.jsx(l,{}):null,t===ba.OLD_SEEDS?e.jsx(FV,{onVerify:()=>s(ba.VERIFY)}):null]})]})})]})},on="provably-fair",DV=$e({component:OV,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("provablyFair.title")}),B5="flex size-10 cursor-pointer items-center justify-center rounded-[10px] border-none bg-[#323a4c] text-brandblue-100 hover:bg-[#3a4356]",$V=()=>{const{openModal:t}=W(),[s,a,l]=C([jt.$isAudioOn,jt.$metrics,F7]),r=m.useRef(void 0);return e.jsxs("div",{className:"flex items-center justify-between gap-2","data-testid":"baccarat-toolbar",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx(na,{ariaLabel:n("games.baccarat.aria.settings"),testId:"baccarat-settings-popover",trigger:e.jsx(Nl,{className:"size-5"}),children:e.jsx(Ds,{label:n("provablyFair.settings.sounds"),toggled:s,testId:"baccarat-sounds-toggle",onToggle:()=>jt.audioToggled()})}),e.jsxs(na,{ariaLabel:n("games.baccarat.aria.statistics"),testId:"baccarat-stats-popover",trigger:e.jsx(Gi,{className:"size-5"}),onOpen:()=>{r.current!==(l==null?void 0:l.round)&&(r.current=l==null?void 0:l.round,jt.metricsRequested())},children:[e.jsx(Xe,{label:n("global_totalBets"),value:(a==null?void 0:a.bet_count)??0}),e.jsx(Xe,{label:n("provablyFair.stats.profit"),value:(a==null?void 0:a.ggr)??0}),e.jsx(Xe,{label:n("provablyFair.stats.wins"),value:(a==null?void 0:a.win_count)??0}),e.jsx(Xe,{label:n("provablyFair.stats.wagered"),value:(a==null?void 0:a.turnover)??0}),e.jsx(Xe,{label:n("provablyFair.stats.losses"),value:((a==null?void 0:a.bet_count)??0)-((a==null?void 0:a.win_count)??0)})]}),e.jsx("button",{type:"button","aria-label":n("games.baccarat.aria.rules"),"data-testid":"baccarat-rules-button",className:B5,onClick:()=>t(Ux),children:e.jsx(Zi,{className:"size-5"})})]}),e.jsx("button",{type:"button","aria-label":n("games.baccarat.aria.provablyFair"),"data-testid":"baccarat-provably-fair-button",className:B5,onClick:()=>t(on),children:e.jsx(da,{className:"size-5"})})]})},E5=()=>{const t=wV();return m.useEffect(()=>(p1(!1),()=>{p1(!0)}),[]),e.jsx(zs,{game:jt,children:e.jsxs("div",{className:"mx-auto flex w-full max-w-[920px] select-none flex-col px-2 pb-6 pt-3 sm:px-4",children:[e.jsx(LV,{deal:t}),e.jsxs("div",{className:"mt-[14px] flex flex-col items-stretch gap-4 md:flex-row-reverse",children:[e.jsx("div",{className:"min-w-0 flex-none md:flex-1",children:e.jsx(qU,{})}),e.jsx("div",{className:"min-w-0 flex-none md:flex-1",children:e.jsx(GU,{deal:t})})]}),e.jsx("div",{className:"mt-3",children:e.jsx($V,{})})]})})},Vx=({value:t,noLabel:s=!1,disabled:a=!1,fluid:l=!1})=>{const r=C(He.$betCurrency),i=Gw(t,r);return e.jsxs("div",{className:g("relative flex items-center justify-center text-[14px]",l?"aspect-square w-full":"size-[40px]",a&&"opacity-50"),style:{"--top-chip-color":i.top,"--middle-chip-color":i.middle,"--bottom-chip-color":i.bottom},children:[e.jsx(Cx,{className:"size-full"}),s?null:e.jsx("span",{className:"absolute inset-0 flex items-center justify-center font-semibold text-white",children:Zw(t)})]})},Zn=({total:t,animated:s=!0})=>{const[a,l]=C([He.$betCurrency,He.$isTurboMode]),r=Wi(l),i=m.useRef([]),o=Uw(t,Vw(a));t>0&&(i.current=o);const d=t===0&&i.current.length>0&&!jc(),u=t>0?o:d?i.current:[];return e.jsxs("div",{className:"relative","data-testid":"blackjack-chip-stack",children:[u.map((c,x)=>e.jsx("div",{className:g("absolute left-0",d?"blackjack-chip-clear-out":s&&"blackjack-chip-pop-in"),style:{to
6637p:x*2,zIndex:-x,animationDuration:`${d?r.chipClear:r.chipPop}ms`,animationDelay:d?void 0:`${x*r.chipPopStagger}ms`},children:e.jsx(Vx,{value:c,noLabel:!0})},x===0?`top-${t}`:x)),e.jsx("div",{className:"size-[40px]"}),t>0?e.jsx("span",{className:"absolute left-1/2 top-[10px] -translate-x-1/2 text-sm font-semibold text-white",children:zw(t)}):null]})},PV=({settlement:t,deckRef:s,dealerRef:a})=>{const l=C(He.$isTurboMode),r=Wi(l),i=!l&&!jc(),[o,d]=m.useState(!i),{keptStake:u,sweptStake:c,payout:x}=t,p=i&&o&&c>0,f=o&&x>0,h=Wr(s,p?1:0),b=Wr(a,f?1:0),v=o?u:ka(u,c);return m.useEffect(()=>{if(o)return;const j=setTimeout(()=>d(!0),r.chipPop+r.chipSettleHold);return()=>clearTimeout(j)},[o,r.chipPop,r.chipSettleHold]),e.jsxs("div",{"aria-hidden":"true","data-testid":`blackjack-settlement-${t.spot}`,"data-settled":o,className:g("pointer-events-none absolute left-1/2 top-0 isolate z-20 size-[40px] -translate-y-full text-white",x>0?"-ml-[42px]":"-ml-[20px]"),children:[v>0?e.jsx(Zn,{total:v}):null,p?e.jsx("div",{ref:h,className:"blackjack-chip-sweep absolute left-0 top-0",style:{animationDuration:`${r.chipSweep}ms`},"data-testid":"blackjack-settlement-sweep",children:e.jsx(Zn,{total:c,animated:!1})}):null,f?e.jsx("div",{ref:b,className:"absolute left-full top-0 ml-1","data-testid":"blackjack-settlement-payout",children:e.jsx("div",{className:g(i&&"blackjack-chip-toss-in"),style:i?{animationDuration:`${r.chipToss}ms`}:void 0,children:e.jsx(Zn,{total:x,animated:!1})})}):null]})},HV=({active:t=!1,disabled:s=!1,dropable:a=!1,onClick:l,children:r})=>e.jsxs("button",{type:"button",disabled:s,onClick:l,"aria-label":"Betting spot","data-testid":"blackjack-chip-spot",className:g("relative flex size-[64px] items-center justify-center rounded-full text-[#292d3c]",s?"cursor-default":"cursor-pointer hover:text-[#3438463d]"),children:[a?e.jsx("span",{className:"pointer-events-none absolute -inset-1.5 rounded-full",style:{background:"radial-gradient(circle, transparent 32px, #323a4c 32px)",animation:"blackjack-pulse 0.9s linear infinite"}}):null,e.jsx(PP,{className:"size-full",borderColor:t?"#7086FF":"#323A4C"}),r?e.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:r}):null]}),UV=()=>{const[t,s]=C([Ww,Kw]);return e.jsx("div",{className:"flex items-center overflow-hidden rounded-xl border-4 border-stream-sub-highlight-color py-1",children:e.jsx("div",{className:"flex min-w-0 flex-1 items-center justify-center gap-1 bg-gunmetal","data-testid":"blackjack-chip-list",children:t.map(({chip:a,disabled:l})=>e.jsx("button",{type:"button",onClick:()=>qw(a),"data-testid":`blackjack-chip-${a}`,className:g("min-w-0 max-w-[52px] flex-1 rounded-lg border-2 p-1",s===a?"border-[#7086ff] bg-[#3c4455]":"border-transparent"),children:e.jsx(Vx,{value:a,disabled:l,fluid:!0})},a))})})},R5=1e4,VV=()=>{const{visibleHands:t}=C(A3),s=t.filter(o=>o.bet>0),[a,l]=m.useState(new Set);m.useEffect(()=>{const o=setTimeout(()=>Ld(),R5);return()=>clearTimeout(o)},[]);const r=o=>{l(d=>{const u=new Set(d);return u.has(o)?u.delete(o):u.add(o),u})},i=a.size>0?[...a].reduce((o,d)=>{var u;return o+(((u=s.find(c=>c.name===d))==null?void 0:u.bet)??0)},0)/2:0;return e.jsx("div",{className:"flex flex-col justify-center gap-2",children:e.jsxs("div",{className:"flex w-full max-w-[380px] flex-col gap-[10px]",children:[e.jsx("div",{className:"text-xl font-semibold text-white",children:n("games.blackjack.insurance.title")}),e.jsx("div",{className:"text-sm font-semibold text-[#9092B2]",children:n("games.blackjack.insurance.description")}),e.jsx("div",{className:"flex w-full flex-row-reverse items-center justify-center gap-4",children:s.map(o=>e.jsx("button",{type:"button",onClick:()=>r(o.name),"data-testid":`blackjack-insurance-${o.name}`,className:`flex w-full cursor-pointer justify-center overflow-hidden rounded-md bg-tribe-live pl-3 pt-[10px] transition-colors ${a.has(o.name)?"bg-[#3A3F52] ring-2 ring-blue-500":"hover:bg-[#3A3F52]"}`,children:e.jsx("div",{className:"h-[60px] w-fit translate-y-2 scale-[0.8] overflow-hidden",children:e.jsx(j2,{deck:o.cards,total:o.total,animated:!1})})},o.name))}),e.jsxs("div",{className:"flex w-full flex-row items-stretch justify-center gap-0.5",children:[i>0?e.jsx(Z,{variant:"Primary",block:!0,disabled:a.size===0,onClick:()=>Yw([...a]),testId:"blackjack-insurance-confirm",children:e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(ln,{className:"size-4"}),i.toFixed(1)]})}):e.jsx(Z,{variant:"Primary",block:!0,disabled:!0,children:n("games.blackjack.insurance.selectHandsFirst")}),e.jsx(Z,{variant:"NonAccent",onClick:()=>Ld(),testId:"blackjack-insurance-skip",children:n("games.blackjack.insurance.skip")})]}),e.jsx("div",{className:"h-[6px] w-full overflow-hidden rounded-full bg-gray-600",children:e.jsx("div",{className:"h-full bg-blue-500",style:{width:"0%",animation:`blackjack-fill-progress ${R5}ms linear forwards`}})})]})})},zV=()=>{const[t,s,a,l]=C([Jw,He.$isRequestPending,Qw,He.$remainingFreebetCount]),r=a!==null;return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex flex-row gap-2",children:[e.jsx("div",{className:"min-w-0 flex-1",children:e.jsx(Z,{variant:r?"Green":"Primary",block:!0,disabled:!t||s,onClick:()=>ey(),testId:"blackjack-deal",children:r?n("provablyFair.cta.freebet"):n("games.blackjack.actions.deal")})}),r?null:e.jsx(Z,{variant:"NonAccent",disabled:!t,onClick:()=>ty(),testId:"blackjack-clear",children:n("games.blackjack.actions.clear")})]}),r?e.jsx("div",{className:"w-full text-center text-xs text-brandblue-100","data-testid":"blackjack-remaining-freebets",children:n("provablyFair.cta.remainingFreebetCount",{remainingFreebetCount:l})}):null]})},lr=({label:t,icon:s,disabled:a,onClick:l,testId:r})=>e.jsx(Z,{variant:"NonAccent",block:!0,disabled:a,onClick:l,testId:r,children:e.jsxs("span",{className:"flex items-center justify-center gap-2",children:[e.jsx("span",{className:"flex size-5 items-center justify-center",children:s}),e.jsx("span",{children:t})]})}),GV=()=>{const[t,s,a,l]=C([sy,ay,ny,ly]);return e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx(lr,{label:n("games.blackjack.actions.hit"),icon:e.jsx(FP,{className:"size-full"}),disabled:!t,onClick:()=>Wl(Kl.HIT),testId:"blackjack-hit"}),e.jsx(lr,{label:n("games.blackjack.actions.stand"),icon:e.jsx(OP,{className:"size-full"}),disabled:!s,onClick:()=>Wl(Kl.STAND),testId:"blackjack-stand"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx(lr,{label:n("games.blackjack.actions.split"),icon:e.jsx(DP,{className:"size-full"}),disabled:!a,onClick:()=>Wl(Kl.SPLIT),testId:"blackjack-split"}),e.jsx(lr,{label:n("games.blackjack.actions.double"),icon:e.jsx($P,{className:"size-full"}),disabled:!l,onClick:()=>Wl(Kl.DOUBLE),testId:"blackjack-double"})]})]})},ZV=()=>e.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[e.jsx(Z,{variant:"NonAccent",block:!0,onClick:()=>ry(),testId:"blackjack-newbet",children:n("games.blackjack.actions.newbet")}),e.jsx(Z,{variant:"NonAccent",onClick:()=>Md({x2:!1}),testId:"blackjack-rebet",children:n("games.blackjack.actions.rebet")}),e.jsx(Z,{variant:"NonAccent",block:!0,onClick:()=>Md({x2:!0}),testId:"blackjack-rebet-x2",children:"x2"})]}),WV=()=>C(D7)>0?null:e.jsx("span",{className:"text-center text-[14px]/[20px] text-[#ADAFCE]","data-testid":"blackjack-betting-hint",children:n("games.blackjack.actions.bettingHint")}),KV=()=>{const t=C(He.$betCurrency);return e.jsxs("div",{className:"inline-flex justify-end gap-1 self-stretch",children:[e.jsx("span",{className:"text-[14px]/[20px] text-[#ADAFCE]",children:n("games.blackjack.actions.helper",{currency:t===U.WHALE?"WHALE":"USD"})}),e.jsx(kl,{className:"size-5 text-[#ADAFCE]"})]})},qV=()=>{const[t,s]=C([L3,Xw]);return e.jsx("div",{className:"flex w-full flex-col items-center rounded-[20px] bg-gunmetal p-4",children:e.jsx("div",{className:"flex w-full max-w-[380px] flex-col gap-2.5",children:s?e.jsx(VV,{}):e.jsxs(e.Fragment,{children:[t==="betting"?e.jsx(zV,{}):null,t==="playerTurn"?e.jsx(GV,{}):null,t==="finished"?e.jsx(ZV,{}):null,e.jsxs("div",{className:"flex flex-col gap-3",children:[t==="betting"?e.jsx(WV,{}):null,e.jsx(UV,{}),e.jsx(KV,{})]})]})})})},YV="/assets/table-C73qwhWx.webp",XV=1.5,JV=2,QV=({cards:t,total:s})=>t.length===2&&s[1]===21,ez=({bet:t,result:s})=>{switch(s){case yn.WIN:return{keptStake:t,sweptStake:0,payout:t};case yn.BLACKJACK:return{keptStake:t,sweptStake:0,payout:X1(t,XV)};case yn.PUSH:return{keptStake:t,sweptStake:0,payout:0};case yn.SURRENDER:{const a=M3(t,2);return{keptStake:a,sweptStake:y7(t,a),payout:0}}case yn.LOSE:return{keptStake:0,sweptStake:t,payout:0};default:return null}}
6637,tz=(t,s)=>{const a=ez(t),l=t.insuranceStakeInUsd??0;return!a||l<=0?a:s?{keptStake:ka(a.keptStake,l),sweptStake:a.sweptStake,payout:ka(a.payout,X1(l,JV))}:{keptStake:a.keptStake,sweptStake:ka(a.sweptStake,l),payout:a.payout}},sz=(t,s)=>{const a=QV(s);return $7.flatMap(l=>{const r=t.filter(i=>i.spot===l&&i.bet>0).flatMap(i=>tz(i,a)??[]);return r.length?[{spot:l,keptStake:ka(...r.map(i=>i.keptStake)),sweptStake:ka(...r.map(i=>i.sweptStake)),payout:ka(...r.map(i=>i.payout))}]:[]})},Mc=t=>t?`baccarat-banner-out ${C2}ms cubic-bezier(0.6,-0.28,0.735,0.045) forwards`:`baccarat-banner-in ${bx}ms cubic-bezier(0.34,1.56,0.64,1) forwards`,Kr={animation:`baccarat-banner-text ${bx}ms ease-out forwards`},az=({winAmount:t,winAmountInUsd:s,isCollapsing:a})=>{const r=C(He.$betCurrency)===U.WHALE,i=r?Number(bs(t,U.WHALE)).toLocaleString("en-US",{maximumFractionDigits:4}):s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});return e.jsxs("div",{"data-testid":"blackjack-win",className:"inline-flex items-center justify-start gap-1.5 overflow-hidden rounded-lg p-2 text-green-500 backdrop-blur-xl [will-change:transform]",style:{background:"linear-gradient(0deg, rgba(115,218,105,0.1) 0%, rgba(115,218,105,0.1) 100%), rgba(0,0,0,0.5)",border:"1px solid rgba(115,218,105,0.1)",animation:Mc(a)},children:[e.jsx("div",{className:"flex-1 text-sm",style:Kr,children:n("games.blackjack.won")}),e.jsxs("div",{className:"text-center text-sm",style:Kr,children:["+",i]}),r?e.jsx(Gt,{className:"size-[16px] text-green-500"}):e.jsx(ln,{className:"size-[16px] text-green-500"})]})},nz=({isCollapsing:t})=>e.jsx("div",{"data-testid":"blackjack-loss",className:"inline-flex items-center justify-start gap-1.5 overflow-hidden rounded-lg p-2 text-red-500 backdrop-blur-xl [will-change:transform]",style:{background:"linear-gradient(0deg, rgba(219,61,46,0.1) 0%, rgba(219,61,46,0.1) 100%), rgba(0,0,0,0.5)",border:"1px solid rgba(219,61,46,0.1)",animation:Mc(t)},children:e.jsx("div",{className:"flex-1 text-sm",style:Kr,children:n("games.blackjack.result.dealerWins")})}),lz=({isCollapsing:t})=>e.jsx("div",{"data-testid":"blackjack-push",className:"inline-flex items-center justify-start gap-1.5 overflow-hidden rounded-lg p-2 text-white backdrop-blur-xl [will-change:transform]",style:{background:"linear-gradient(0deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 100%), rgba(0,0,0,0.5)",border:"1px solid rgba(255,255,255,0.1)",animation:Mc(t)},children:e.jsx("div",{className:"flex-1 text-sm",style:Kr,children:n("games.blackjack.result.push")})}),Ga="relative flex items-center justify-center",T5=()=>{const[t,s,a,l,{visibleHands:r,queueHands:i},o,d,u,c,x,p,f]=C([P7,iy,oy,cy,A3,L3,dy,uy,my,xy,He.$isTurboMode,He.$isAudioOn]),h=m.useRef(f);h.current=f;const b=Wi(p),v=F=>F*2*b.cardDealStagger,j=m.useRef(null),y=m.useRef(null),N=m.useRef(null),k=m.useRef(null),[w,S]=m.useState(null),M=m.useRef(0),_=m.useCallback(F=>{M.current=Math.max(M.current,F)},[]),[A,E]=m.useState(!1),L=m.useRef(!1),B=m.useRef(x);B.current=x,m.useEffect(()=>{if(o!=="finished"){L.current=!0,E(!1);return}const F=setTimeout(()=>{E(!0),L.current&&B.current==="win"&&h.current&&qe(xe.WIN)},Math.max(0,M.current-performance.now()));return()=>clearTimeout(F)},[o]),o==="finished"&&x&&(N.current={dealerCards:t,dealerSemiclosed:l,hands:r.filter(F=>F.cards.length>0).map(F=>({name:F.name,spot:F.spot,cards:F.cards})),outcome:x,winAmount:c.winAmount,winAmountInUsd:c.winAmountInUsd,bannerShown:A});const z=Math.round(b.cardDealStagger/3),le=w?Math.max(w.dealerCards.length,...w.hands.map(F=>F.cards.length),1):1,V=w?Math.max(C2,w.holdMs+w.returnMs+(le-1)*w.staggerMs):0;if(k.current!==o){if(o==="betting"&&k.current==="finished"&&N.current){if(!jc()&&!p){const F=N.current;S({...F,holdMs:F.bannerShown?C2+RP:0,returnMs:b.cardReturn,staggerMs:z})}N.current=null}k.current=o}m.useEffect(()=>{if(!w)return;const F=setTimeout(()=>{h.current&&qe(xe.CARD_SHUFFLE),S(null)},V);return()=>clearTimeout(F)},[w,V]);const $=o==="finished"?A?x:null:w!=null&&w.bannerShown?(w==null?void 0:w.outcome)??null:null,re=o==="finished"?c.winAmount:(w==null?void 0:w.winAmount)??0,K=o==="finished"?c.winAmountInUsd:(w==null?void 0:w.winAmountInUsd)??0,ae=o!=="finished"&&w!==null,ee=o!=="finished"||A,ie=m.useRef(null);o!=="finished"&&(ie.current=a?s:null);const Le=ee?s:ie.current,de=$==="win",Ce=$==="push",Be=$==="lose",Ie=o==="finished"&&A?sz([...r,...i],{cards:t,total:s}):[],gt=new Set(Ie.map(F=>F.spot));return e.jsxs("div",{className:"relative w-full overflow-hidden rounded-2xl shadow-xl","data-testid":"blackjack-table","data-phase":o,style:{backgroundImage:`url("${YV}")`,backgroundSize:"cover",backgroundPosition:"center"},children:[de||Ce||Be?e.jsx("div",{className:"absolute inset-4 z-30 flex flex-col",children:de?e.jsx(az,{winAmount:re,winAmountInUsd:K,isCollapsing:ae}):Ce?e.jsx(lz,{isCollapsing:ae}):e.jsx(nz,{isCollapsing:ae})}):null,e.jsxs("div",{className:"blackjack-table-grid",children:[e.jsx("div",{ref:y,style:{gridArea:"dealer"}
6637,className:g(Ga,"items-end"),children:a?e.jsx(j2,{deck:t,semiclosed:l,total:Le,dealDelayMs:v(r.length),deckRef:j,onDealScheduled:_}):null}),e.jsx("div",{style:{gridArea:"deck",transform:"translateY(-40%)"},className:g(Ga,"items-end justify-start"),children:e.jsx("div",{ref:j,children:e.jsx(UP,{count:5})})}),[...r,...i].map(F=>e.jsx("div",{style:{gridArea:`insurance-${F.spot}`},className:g(Ga,"min-h-[40px]"),children:F.insuranceStakeInUsd?e.jsx("div",{className:"absolute left-1/2 top-2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-white",children:e.jsx(Zn,{total:gt.has(F.spot)?0:F.insuranceStakeInUsd})}):null},`insurance-${F.name}`)),$7.map(F=>{const J=r.find(Fe=>Fe.spot===F),Re=o==="playerTurn"&&(d==null?void 0:d.name)!==(J==null?void 0:J.name),nt=ee&&((J==null?void 0:J.result)==="win"||(J==null?void 0:J.result)==="blackjack"),Me=o==="finished"&&nt,Te=Ie.find(Fe=>Fe.spot===F);return e.jsxs("div",{"data-testid":`blackjack-hand-area-${F}`,style:{gridArea:`hand-${F}`,...F==="center"?{transform:"translateY(25%)"}:{}},className:g(Ga,"items-start",Re&&"opacity-75"),children:[e.jsx("div",{className:"absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2",children:e.jsx(HV,{disabled:o!=="betting",dropable:o==="betting",active:o==="betting"&&u===F,onClick:()=>o==="betting"&&fy(F),children:o==="betting"?e.jsx("div",{className:"absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-white",children:e.jsx(Zn,{total:(J==null?void 0:J.bet)??0})}):J&&J.bet>0?e.jsx("div",{className:g("absolute left-0 top-1/2 flex -translate-y-1/2 items-center justify-center text-white",Me&&"blackjack-win-pulse"),style:Me?{animationDuration:`${b.winPulse}ms`}:void 0,children:e.jsx(j2,{deck:J.cards,total:J.total,isWon:nt,dealDelayMs:v(r.indexOf(J)),deckRef:j,onDealScheduled:_})}):null})}),J&&J.isActive?e.jsx("div",{className:"absolute bottom-0 flex items-center justify-center",children:e.jsx(HP,{count:J.bet})}):null,Te?e.jsx(PV,{settlement:Te,deckRef:j,dealerRef:y}):null]},`hand-${F}`)}),i.map(F=>e.jsx("div",{style:{gridArea:`queue-${F.spot}`},className:g(Ga,"items-end"),children:e.jsx(jx,{total:F.total,inQueue:!0,active:ee&&(F.result==="win"||F.result==="blackjack")})},`queue-${F.name}`))]}),w?e.jsxs("div",{className:"blackjack-table-grid pointer-events-none absolute left-0 top-0 z-20",children:[e.jsx("div",{style:{gridArea:"dealer"},className:g(Ga,"items-end"),children:e.jsx(o5,{deck:w.dealerCards,semiclosed:w.dealerSemiclosed,deckRef:j,durationMs:w.returnMs,staggerMs:w.staggerMs,baseDelayMs:w.holdMs})}),w.hands.map(F=>e.jsx("div",{style:{gridArea:`hand-${F.spot}`,...F.spot==="center"?{transform:"translateY(25%)"}:{}},className:g(Ga,"items-start"),children:e.jsx("div",{className:"absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2",children:e.jsx("div",{className:"relative flex size-[64px] items-center justify-center",children:e.jsx("div",{className:"absolute left-0 top-1/2 flex -translate-y-1/2 items-center justify-center text-white",children:e.jsx(o5,{deck:F.cards,deckRef:j,durationMs:w.returnMs,staggerMs:w.staggerMs,baseDelayMs:w.holdMs})})})})},`exit-${F.name}`))]}):null]})},rz=/^#{1,4}\s+(.+)$/,iz=/^[-*]\s+(.+)$/,oz=t=>{const s=[];let a={title:"",blocks:[]},l=[],r=[];const i=()=>{l.length>0&&(a.blocks.push({type:"paragraph",text:l.join(" ")}),l=[])},o=()=>{r.length>0&&(a.blocks.push({type:"list",items:r}),r=[])},d=()=>{i(),o(),(a.title!==""||a.blocks.length>0)&&s.push(a)};for(const u of t.split(` 6638`)){const c=u.trim(),x=c.match(rz);if(x){d(),a={title:x[1],blocks:[]};continue}const p=c.match(iz);if(p){i(),r.push(p[1]);continue}if(c===""){i(),o();continue}o(),l.push(c)}return d(),s},cz=()=>{const{closeModal:t}=W(),s=oz(n("games.blackjack.rules"));return e.jsxs("div",{className:"flex size-full max-h-screen flex-col bg-[#13161e] text-left text-white md:h-auto md:max-h-[80vh] md:w-[460px] md:rounded-xl","data-testid":"blackjack-rules-modal",children:[e.jsxs("header",{className:"flex flex-none items-center justify-between border-b border-b-[#262c3a] px-[18px] py-4",children:[e.jsxs("span",{className:"flex items-center gap-2 text-xl font-semibold leading-6",children:[e.jsx(kl,{className:"size-5 text-brandblue-100"}),n("global_rules")]}),e.jsx("button",{type:"button","aria-label":n("games.blackjack.aria.close"),onClick:()=>t(),className:"flex size-7 items-center justify-center rounded-lg bg-transparent hover:bg-white/[0.06]",children:e.jsx(ia,{className:"size-5 text-brandblue-100"})})]}),e.jsx("div",{className:"flex-1 overflow-y-auto px-[18px] pb-[22px] pt-1",children:s.map((a,l)=>e.jsxs("section",{className:"pt-4",children:[a.title===""?null:e.jsx("h3",{className:"mb-[6px] mt-0 text-sm font-semibold text-white",children:a.title}),a.blocks.map((r,i)=>r.type==="paragraph"?e.jsx("p",{className:"m-0 text-[13px] leading-normal text-brandblue-100",children:r.text}
6638,i):e.jsx("ul",{className:"mb-0 mt-[6px] list-disc pl-[18px]",children:r.items.map((o,d)=>e.jsx("li",{className:"text-[13px] leading-normal text-brandblue-100",children:o},d))},i))]},l))})]})},zx="blackjack-rules",dz=$e({component:cz,wrapperClass:"bg-[#13161e] p-0",omitHeader:!0,title:()=>"",accessibleName:()=>n("global_rules")}),I5="flex size-10 cursor-pointer items-center justify-center rounded-[10px] border-none bg-[#323a4c] text-brandblue-100 hover:bg-[#3a4356]",uz=()=>{const{openModal:t}=W(),[s,a,l,r,i]=C([He.$isPlaying,He.$isTurboMode,He.$isAudioOn,He.$metrics,He.$roundId]),o=m.useRef(void 0);return e.jsxs("div",{className:"flex items-center justify-between gap-2","data-testid":"blackjack-toolbar",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs(na,{ariaLabel:n("games.blackjack.aria.settings"),testId:"blackjack-settings-popover",trigger:e.jsx(Nl,{className:"size-5 text-[#ADAFCE]"}),children:[e.jsx(Ds,{label:n("provablyFair.settings.turboMode"),toggled:a,disabled:s,testId:"blackjack-turbo-mode-toggle",onToggle:()=>He.turboModeToggled(!a)}),e.jsx(Ds,{label:n("provablyFair.settings.sounds"),toggled:l,testId:"blackjack-sounds-toggle",onToggle:()=>He.audioToggled()})]}),e.jsxs(na,{ariaLabel:n("games.blackjack.aria.statistics"),testId:"blackjack-stats-popover",trigger:e.jsx(Gi,{className:"size-5 text-[#ADAFCE]"}),onOpen:()=>{o.current!==i&&(o.current=i,He.metricsRequested())},children:[e.jsx(Xe,{label:n("global_totalBets"),value:(r==null?void 0:r.bet_count)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.profit"),value:(r==null?void 0:r.ggr)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.wins"),value:(r==null?void 0:r.win_count)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.wagered"),value:(r==null?void 0:r.turnover)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.losses"),value:((r==null?void 0:r.bet_count)??0)-((r==null?void 0:r.win_count)??0)})]}),e.jsx("button",{type:"button","aria-label":n("games.blackjack.aria.rules"),"data-testid":"blackjack-rules-button",className:I5,onClick:()=>t(zx),children:e.jsx(Zi,{className:"size-5"})})]}),e.jsx("button",{type:"button","aria-label":n("games.blackjack.aria.provablyFair"),"data-testid":"blackjack-provably-fair-button",className:I5,onClick:()=>t(on),children:e.jsx(da,{className:"size-5"})})]})},mz=3,xz=120,fz=()=>{const[t,s,a,{visibleHands:l,queueHands:r},i]=C([He.$isAudioOn,D7,L3,A3,P7]),o=m.useRef(t),d=m.useRef(null),u=m.useRef(null),c=m.useRef(new Set);o.current=t,m.useEffect(()=>{const p=d.current;d.current=s,p!==null&&s>p&&a==="betting"&&o.current&&qe(xe.CHIP_PLACE)},[s,a]);const x=[...l,...r].reduce((p,f)=>p+f.cards.length,0)+i.length;m.useEffect(()=>{const p=u.current;if(u.current=x,p===null||x<=p||!o.current)return;const f=Math.min(x-p,mz);_2(xe.CARD_DEAL);for(let h=1;h<f;h+=1){const b=setTimeout(()=>{c.current.delete(b),_2(xe.CARD_DEAL)},h*xz);c.current.add(b)}},[x]),m.useEffect(()=>{const p=c.current;return()=>{p.forEach(clearTimeout),p.clear(),Vs([xe.CARD_DEAL,xe.CARD_SHUFFLE,xe.CHIP_PLACE,xe.WIN])}},[])},F5=()=>{const t=C(ht);fz(),m.useEffect(()=>(p1(!1),()=>{p1(!0)}),[]);const s=e.jsxs(e.Fragment,{children:[e.jsx(qV,{}),e.jsx(uz,{})]});return e.jsx(zs,{game:He,children:t?e.jsxs("div",{className:"grid h-[calc(100vh-32px)] grid-cols-[60%_40%] gap-4 px-5",children:[e.jsx("div",{children:e.jsx(T5,{})}),e.jsx("div",{className:"flex flex-col gap-4",children:s})]}):e.jsxs("div",{className:"mx-auto flex w-full max-w-[900px] flex-col gap-4",children:[e.jsx(T5,{}),s]})})},qr=()=>null,pz=5e3,cn=({section:t})=>{const s=C(py),a=Y(),[l,r]=m.useState(0);m.useEffect(()=>{t&&hy(t)},[t]);const i=t?s[t]:void 0,o=(i==null?void 0:i.banners)??[];m.useEffect(()=>{if(o.length<2)return;const c=window.setInterval(()=>r(x=>(x+1)%o.length),pz);return()=>window.clearInterval(c)},[o.length]);const d=c=>{if(X("Engaged Banner",{banner:c.title,route:window.location.pathname}),XF(c.link)){window.open(c.link,"_blank","noopener");return}a(wl(c.link))};if(!i)return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"hidden gap-x-5 @md:flex","data-testid":"banner-pack-skeleton",children:[0,1,2].map(c=>e.jsx("div",{className:"h-[122px] w-full animate-pulse rounded-lg bg-primary"},c))}),e.jsx("div",{className:"flex px-2 @md:hidden",children:e.jsx("div",{className:"h-[240px] w-full animate-pulse rounded-lg bg-primary"})})]});if(!o.length)return null;const u=()=>e.jsx("div",{className:"absolute -right-16 bottom-8 flex w-60 origin-center -rotate-45 justify-center",children:e.jsx("span",{className:"bg-gradient-battlepass px-6 py-1 text-xs font-semibold uppercase text-black-50",children:"Battlepass"})});return e.jsxs("div",{"data-testid":"banner-pack",children:[e.jsx("div",{className:"hidden gap-x-5 @md:flex",children:o.map(c=>e.jsx("button",{type:"button",className:g("relative rounded-xl",o.length===1?"max-w-full":"w-full"),"data-testid":"banner-desktop",onClick:()=>d(c),children:e.jsxs("div",{className:"relative overflow-hidden rounded-xl",children:[c.isBattlepassRequired?e.jsx(u,{}):null,e.jsx(ce,{className:g("rounded-xl",o.length===1?"size-auto max-h-[280px] max-w-full":"w-full object-cover"),src:c.imagePath.web,alt:c.altText})]})},c.title+c.imagePath.web))}),e.jsxs("div",{className:"relative @md:hidden",children:[e.jsx("div",{className:"overflow-hidden",children:e.jsx("div",{className:"flex transition-transform duration-500 ease-out",style:{transform:`translateX(-${l*100}%)`},children:o.map(c=>e.jsx("button",{type:"button","aria-label":c.altText,"data-testid":"banner-mobile",className:"relative w-full shrink-0 grow-0 basis-full px-2",onClick:()=>d(c),children:e.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[c.isBattlepassRequired?e.jsx(u,{}):null,e.jsx(ce,{className:"w-full rounded-lg object-cover",src:c.imagePath.mobile,alt:c.altText})]})},c.title+c.imagePath.mobile))})}),e.jsx("div",{className:"mt-2 flex items-center justify-center gap-1",children:o.map((c,x)=>e.jsx("button",{type:"button","aria-label":`Slide ${x+1}`,className:g("h-1.5 rounded-[3px] bg-[#1f232d] transition-all duration-200",x===l?"w-[60px] bg-brandblue-300":"w-3"),onClick:()=>r(x)},c.title+x))})]})]})},Gx=()=>{const[t,s,a]=C([gy,ct,te]),l=m.useRef(null),r=Y();return m.useEffect(()=>{a&&by()},[a]),t.length?e.jsxs("div",{className:"flex flex-col justify-center gap-y-3","data-testid":"biggest-wins-row",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 py-1",children:[e.jsxs("div",{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(ve,{icon:"trophy",className:"size-5 text-[#FFDD62]"}),n("global_myBiggestWins")]}),e.jsx(ns,{containerRef:l})]}),e.jsx("div",{ref:l,className:"no-scrollbar flex gap-x-4 overflow-x-auto",children:t.map((i,o)=>{var d,u,c,x,p;return e.jsx(Ix,{gameName:((d=i.game)==null?void 0:d.name)??"",provider:((u=i.game)==null?void 0:u.provider)??((c=i.game)==null?void 0:c.product),imageUrl:La(((x=i.game)==null?void 0:x.url_thumb)??""),rank:o+1,winMultiplier:i.multiplier??0,amount:i.winAmount,amountUsd:i.winUsdAmount??0,currency:i.betCurrency,createdAt:i.createdAt,onClick:()=>{var b,v;const f=(b=i.game)==null?void 0:b.game_code;if(!f)return;X("Open biggest win game",{gameCode:f,provider:(v=i.game)==null?void 0:v.provider});const h=la(s,f);h&&r(h)}},`${(p=i.game)==null?void 0:p.game_code}-${i.createdAt}-${o}`)})})]}):null},Zx=Qh,Wx=t=>`global_${t.replaceAll("-","").toLowerCase()}`,hz=Object.fromEntries(Object.keys(Zx).map(t=>
6638[t.toLowerCase(),t])),O5=/-\d+$/,gz=(t,s)=>t.trim().toLowerCase()===s.trim().toLowerCase(),bz=(t,s)=>{const a=hz[Wx(t)],l=a?Zx[a]:void 0;return a&&typeof l=="string"&&gz(l,s)?a:null},Bc=t=>{const s=n(t);return s===t?null:s},D5=(t,s)=>{const a=bz(t,s);return a?Bc(a):null},Cz=(t,s)=>Bc(Wx(t))??D5(t,s)??(O5.test(t)?D5(t.replace(O5,""),s):null),S2=t=>(t.title?Bc(Ci(t.title)):null)??(t.slug?Cz(t.slug,t.name):null)??t.name,ma=t=>{const s=C(Cy);return m.useEffect(()=>{jy(t)},[t]),s[t]},W1=({categories:t,from:s=0,to:a})=>e.jsx(e.Fragment,{children:t.slice(s,a).map(l=>e.jsx(ua,{title:S2(l),link:l.categoryLink,gameCodes:l.games},l.slug??l.name))}),jz="flex h-[80px] w-[144px] flex-col items-center justify-center gap-2 rounded-xl bg-gunmetal p-3 outline outline-1 -outline-offset-1 outline-[#323A4C]",$5=({provider:t})=>e.jsx("div",{className:jz,children:e.jsx("img",{className:"filter-white-to-brand w-28 object-cover",src:t.imageUrl,id:t.slug,alt:t.name,width:152,height:80,fetchPriority:"low",loading:"lazy"})}),Ec=({page:t="home",providers:s,onViewAll:a,onSelectProvider:l})=>{const r=C(H7),i=m.useRef(null);m.useEffect(()=>{hl()},[]);const o=s??r[t]??[];if(!o.length)return null;const d=e.jsxs(e.Fragment,{children:[e.jsx(kR,{className:"size-5 text-icon-inactive"}),n("providersSection_title")]});return e.jsxs("div",{className:"flex flex-col","data-testid":"providers-section",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 py-3",children:[a?e.jsx("button",{type:"button",className:"flex items-center gap-2 text-lg font-semibold",onClick:a,children:d}):e.jsx(De,{to:n2,className:"flex items-center gap-2 text-lg font-semibold",children:d}),e.jsxs("div",{className:"flex items-center gap-2",children:[a?e.jsx(O,{variant:"outline",size:"sm",onClick:a,children:n("global_viewAll")}):e.jsx(De,{to:n2,children:e.jsx(O,{variant:"outline",size:"sm",children:n("global_viewAll")})}),e.jsx(ns,{containerRef:i})]})]}),e.jsx("div",{ref:i,className:"no-scrollbar flex flex-row gap-2 overflow-x-auto",children:o.map(u=>l?e.jsx("button",{type:"button",className:"shrink-0","data-testid":`provider-tile-${u.slug}`,onClick:()=>l(u.slug),children:e.jsx($5,{provider:u})},u.slug):e.jsx(De,{to:pi(u.slug),"data-testid":`provider-tile-${u.slug}`,children:e.jsx($5,{provider:u})},u.slug))})]})},Kx=()=>{const[t,s]=C([vy,te]);return m.useEffect(()=>{s&&wy()},[s]),t.length<yy?null:e.jsx(ua,{title:n("global_recentlyPlayed"),gameCodes:t.map(a=>a.game_code)})},Ji="mx-auto flex justify-center gap-x-[3vw] sm:max-w-full md:max-w-full lg:max-w-[952px] xl:max-w-[1160px] 2xl:max-w-[1360px] 4xl:max-w-[1460px]",vz=()=>{Qe("meta.casino.title","meta.casino.description");const t=ma(Cs.Casino);return m.useEffect(()=>{X("Casino Page")},[]),e.jsx("div",{className:"mx-auto w-full overflow-hidden","data-testid":"casino-lobby",children:e.jsx("div",{className:Ji,children:e.jsx("div",{className:"flex w-full flex-col items-center gap-y-3 md:gap-y-6",children:e.jsxs("section",{className:"flex w-full flex-col gap-y-6 transition-all md:px-0",children:[e.jsxs("section",{className:"flex flex-col gap-y-7",children:[e.jsx(cn,{section:m1.CASINO}),e.jsx(yl,{placeholder:n("global_search_placeholder")})]}),e.jsxs("section",{className:"flex flex-col gap-y-[30px]",children:[e.jsx(Gx,{}),e.jsx(Kx,{}),t?e.jsx(W1,{categories:t.categories}):null,e.jsx(Ec,{page:"casino"}),e.jsx(v1,{})]})]})})})})},h1=({title:t,count:s,onBack:a})=>{const l=Y();return e.jsxs("div",{className:"flex items-center gap-4","data-testid":"game-section-header",children:[e.jsx(O,{variant:"secondary",className:"size-10 shrink-0 p-0","aria-label":n("global_go_back"),"data-testid":"game-section-back",onClick:()=>a?a():l(-1),children:e.jsx(ve,{icon:"arrowLeftSimple",className:"size-5"})}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"flex flex-row gap-x-2 text-xl font-medium text-white",children:t}),s===void 0?null:e.jsxs("span",{className:"text-sm font-medium text-brandblue-100",children:[e.jsx("span",{className:"text-white",children:s})," ",e.jsx("span",{className:"lowercase",children:n("global_games")})]})]})]})}
6638,r0=48,Fa=({gameCodes:t,title:s,onBack:a,onSelectGame:l})=>{const r=C(ct),i=t.join(","),[o,d]=m.useState({listKey:i,limit:r0}),u=o.listKey===i?o.limit:r0;if(!t.length)return null;const c=t.map(p=>$s(r,p)).filter(p=>!!p),x=c.slice(0,u);return e.jsxs("div",{className:"flex flex-col gap-y-8","data-testid":"game-grid",children:[e.jsx(h1,{title:s,count:t.length,onBack:a}),e.jsx("div",{className:"grid grid-cols-game-category gap-4",children:x.map(p=>e.jsx(Yi,{game:p,variant:"grid",href:l?void 0:la(r,p.gameCode),isLazy:!0,onSelect:l},p.gameCode))}),x.length<c.length?e.jsx(O,{variant:"outline",className:"self-center","data-testid":"game-grid-show-more",onClick:()=>d({listKey:i,limit:u+r0}),children:n("global_showmore")}):null]})},wz=()=>{const{categoryId:t=""}=as(),[s,a]=C([N3,_y]),[l,r]=m.useState(null);m.useEffect(()=>{k3(t),r(t),X(`Category page ${t}`)},[t]);const i=s[t];if(!i)return l===t&&a.includes(t)?e.jsx(hc,{}):e.jsx("div",{className:"pt-4","data-testid":"category-page-loading"});const o=i.title?n(i.title)===i.title?i.name:n(i.title):i.name;return e.jsx(Fa,{gameCodes:i.games,title:o})},A2="collectibles:claim-intent",qx=()=>{try{return typeof window>"u"?null:window.sessionStorage}catch{return null}},yz=t=>{var s;try{(s=qx())==null||s.setItem(A2,String(t))}catch{}},_z=()=>{const t=qx();if(!t)return null;try{const s=t.getItem(A2);if(t.removeItem(A2),!s)return null;const a=Number(s);return Number.isInteger(a)&&a>0?a:null}catch{return null}},Nz=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M12 5v14M5 12h14"})}),Qi=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z"})}),kz=t=>`${t.nameFirst} ${t.nameLast}`.trim(),Sz=t=>[t.city,t.postalCode,t.country?n(`country.${t.country}`):""].filter(Boolean).join(", "),Rc=({address:t,highlighted:s=!1,onChange:a})=>e.jsxs("div",{"data-testid":"collectibles-claim-address-card",className:g("flex items-start justify-between gap-4 p-4",s?"rounded-xl border border-[#7086ff] bg-[#7086ff]/5":"rounded-2xl border border-[#1f232f] bg-[#161923] p-5"),children:[e.jsxs("div",{className:"flex min-w-0 items-start gap-3",children:[e.jsx("span",{className:"mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-[#7086ff]/15 text-[#7086ff]",children:e.jsx(Qi,{className:"size-5"})}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[e.jsx("span",{className:"break-words font-jost text-sm font-semibold text-[#d7d8e6]",children:kz(t)}),e.jsxs("span",{className:"break-words font-jost text-sm font-normal leading-snug text-[#adafce]/60",children:[t.postalAddress,e.jsx("br",{}),Sz(t),e.jsx("br",{}),t.phoneCode," ",t.phone]})]})]}),e.jsx("button",{type:"button",onClick:a,"data-testid":"collectibles-claim-address-change",className:"shrink-0 font-jost text-sm font-medium text-[#7086ff] transition-opacity hover:opacity-80",children:n("lootbox.collectibles.claim_flow.change")})]}),L2=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M15 5l-7 7 7 7"})}),Al=({onBack:t,children:s})=>e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsx("button",{type:"button",onClick:t,"aria-label":n("lootbox.collectibles.claim_flow.back"),"data-testid":"collectibles-claim-back",className:"flex size-12 items-center justify-center rounded-lg bg-[#20222d] text-[#9092b2] transition-opacity hover:opacity-90",children:e.jsx(L2,{className:"size-5"})}),e.jsx("div",{className:"flex items-center gap-3",children:s})]}),eo=({disabled:t=!1,label:s,onClick:a})=>e.jsx("button",{type:"button",onClick:a,disabled:t,"data-testid":"collectibles-claim-continue",className:"flex h-12 items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-8 font-jost text-sm font-semibold text-white transition-opacity hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:s??n("lootbox.collectibles.claim_flow.continue")}),Ll=({title:t,subtitle:s})=>e.jsxs("div",{className:"flex flex-col items-center gap-4 text-center",children:[e.jsx("h1",{className:"font-gilroy text-3xl font-black uppercase leading-none text-[#c6c7d
6638d]",children:t}),e.jsx("p",{className:"max-w-[560px] font-jost text-base font-medium text-[#adafce]",children:s})]}),Wn=U7,M2="EE",Az=t=>{var s;return((s=Wn.find(a=>a.iso===t))==null?void 0:s.code)??""},P5=t=>!!t&&Wn.some(s=>s.iso===t),Lz={nameFirst:"",nameLast:"",email:"",phone:"",postalAddress:"",city:"",postalCode:"",country:M2},wr="h-11 w-full rounded-lg bg-[#11141b] px-4 font-jost text-sm text-[#c6c7dd] placeholder:text-[#adafce]/40 focus:outline-none",B2="font-jost text-xs font-medium text-[#adafce]",M1=({label:t,value:s,onChange:a,type:l="text",placeholder:r})=>e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:B2,children:t}),e.jsx("input",{className:wr,type:l,value:s,placeholder:r??t,onChange:i=>a(i.target.value)})]}),Mz=({address:t,onSave:s,onClose:a})=>{const l=t!=null,[r,i]=m.useState(()=>t?{nameFirst:t.nameFirst,nameLast:t.nameLast,email:t.email,phone:t.phone,postalAddress:t.postalAddress,city:t.city,postalCode:t.postalCode,country:t.country}:Lz),[o,d]=m.useState(()=>{var h;return t?((h=Wn.find(b=>`+${b.code}`===t.phoneCode))==null?void 0:h.iso)??(P5(t.country)?t.country:M2):M2});m.useEffect(()=>{if(l)return;let f=!0;return ax().then(({country:h})=>{f&&P5(h)&&(i(b=>({...b,country:h})),d(h))}).catch(()=>{}),()=>{f=!1}},[l]),m.useEffect(()=>{const f=h=>{h.key==="Escape"&&a()};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[a]);const u=Ny(r.country),c=ky(r),x=f=>h=>i(b=>({...b,[f]:h})),p=()=>{if(!c)return;const f=Sy.reduce((h,b)=>({...h,[b]:r[b].trim()}),{});s({...f,id:(t==null?void 0:t.id)??`addr-${Date.now()}`,phoneCode:`+${Az(o)}`})};return Oa.createPortal(e.jsx("div",{className:"bg-black/70 fixed inset-0 z-overlay flex items-center justify-center overflow-y-auto p-4","data-testid":"collectibles-address-modal",onClick:f=>{f.target===f.currentTarget&&a()},children:e.jsxs("div",{className:"relative my-auto flex w-full max-w-screen-sm flex-col gap-6 rounded-2xl bg-[#1a1e27] p-6",role:"dialog","aria-modal":"true",children:[e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(Qi,{className:"size-6 text-[#7086ff]"}),e.jsx("h2",{className:"font-jost text-lg font-semibold leading-none text-[#d7d8e6]",children:n(l?"lootbox.collectibles.claim_flow.edit_address_title":"lootbox.collectibles.claim_flow.add_address_title")}),e.jsx("button",{type:"button",onClick:a,"aria-label":n("lootbox.collectibles.claim_flow.cancel"),className:"ml-auto flex items-center justify-center rounded-2xl bg-[#9092b2]/10 p-2 text-[#adafce] transition-opacity duration-200 hover:opacity-80",children:e.jsx(ia,{className:"size-3.5"})})]}),e.jsx("p",{className:"font-jost text-sm font-medium leading-snug text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.add_address_subtitle")})]}),e.jsx("div",{className:"h-px w-full bg-[#292d3c]"}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsx(M1,{label:n("global_firstname"),value:r.nameFirst,onChange:x("nameFirst")}),e.jsx(M1,{label:n("global_lastname"),value:r.nameLast,onChange:x("nameLast")})]}),e.jsx(M1,{label:n("lootbox.collectibles.claim_flow.email"),value:r.email,onChange:x("email"),type:"email",placeholder:"[email protected]"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:B2,children:n("lootbox.collectibles.claim_flow.phone")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsxs("div",{className:"relative w-[110px] shrink-0",children:[e.jsx("select",{value:o,onChange:f=>d(f.target.value),"aria-label":n("lootbox.collectibles.claim_flow.phone"),className:`${wr} appearance-none pr-9`,children:Wn.map(f=>e.jsxs("option",{value:f.iso,children:["+",f.code]},`${f.iso}-${f.code}`))}),e.jsx(Qt,{className:"pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-[#adafce]/60"})]}),e.jsx("input",{className:wr,type:"tel",value:r.phone,placeholder:"883 219 00",onChange:f=>x("phone")(f.target.value)})]})]}),e.jsx(M1,{label:n("lootbox.collectibles.claim_flow.address_line"),value:r.postalAddress,onChange:x("postalAddress")}),e.jsx(M1,{label:n("lootbox.collectibles.claim_flow.city"),value:r.city,onChange:x("city")}),e.jsx(M1,{label:n("lootbox.collectibles.claim_flow.postal_code"),value:r.postalCode,onChange:x("postalCode")}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:B2,children:n("lootbox.collectibles.claim_flow.country")}),e.jsxs("div",{className:"relative",children:[e.jsx("select",{value:r.country,onChange:f=>x("country")(f.target.value),"aria-label":n("lootbox.collectibles.claim_flow.country"),className:`${wr} appearance-none pr-9`,children:Wn.map(f=>e.jsx("option",{value:f.iso,children:n(`country.${f.iso}`)},f.iso))}),e.jsx(Qt,{className:"pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-[#adafce]/60"})]}),u?e.jsxs("div",{className:"flex flex-col gap-1 rounded-lg border border-red-500/30 bg-red-500/10 p-3","data-testid":"collectibles-address-restricted",children:[e.jsx("span",{className:"font-jost text-sm font-medium text-red-400",children:n("lootbox.collectibles.claim_flow.restricted_country_title")}),e.jsx("span",{className:"font-jost text-xs font-normal text-red-400/80",children:n("lootbox.collectibles.claim_flow.restricted_country_description")})]}):null]})]}),e.jsx("button",{type:"button",onClick:p,disabled:!c,"data-testid":"collectibles-address-save",className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-4 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n("lootbox.collectibles.claim_flow.continue")})]})}),document.body)},Bz=()=>{const t=Y(),[s,a]=C([B3,V7]),[l,r]=m.useState(!1),[i,o]=m.useState(null),d=()=>{o(null),r(!0)},u=()=>{o(s),r(!0)},c=x=>{r(!1),Ay(x)};return e.jsxs("div",{className:"flex flex-1 flex-col gap-10","data-testid":"collectibles-claim-address",children:[e.jsx(Ll,{title:n("lootbox.collectibles.claim_flow.address_title"),subtitle:n("lootbox.collectibles.claim_flow.address_subtitle")}),e.jsx("div",{className:`flex flex-1 flex-col gap-6 rounded-2xl border border-[#1f232f] bg-[#161923] p-6 ${s?"":"items-center justify-center"}`,children:s?e.jsx(Rc,{address:s,highlighted:!0,onChange:u}):e.jsxs("div",{className:"flex flex-col items-center gap-6 py-10",children:[e.jsx("div",{className:"flex size-24 items-center justify-center rounded-full bg-[#7086ff]/20",children:e.jsx(Qi,{className:"size-10 text-[#7086ff]"})}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("span",{className:"font-gilroy text-2xl font-bold leading-tight text-[#c6c7d
6638d]",children:n("lootbox.collectibles.claim_flow.no_address")}),e.jsx("p",{className:"max-w-[293px] font-jost text-sm font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.no_address_subtitle")})]}),e.jsxs("button",{type:"button",onClick:d,"data-testid":"collectibles-claim-add-address",className:"flex items-center gap-1.5 rounded-lg border border-[#637af4] bg-active-menu px-5 py-2.5 font-jost text-sm font-semibold text-white transition-opacity hover:opacity-90",children:[e.jsx(Nz,{className:"size-4"}),n("lootbox.collectibles.claim_flow.add_address")]})]})}),e.jsx(Al,{onBack:()=>t(wt()),children:e.jsx(eo,{disabled:!a,onClick:()=>ji()})}),l?e.jsx(Mz,{address:i,onSave:c,onClose:()=>r(!1)}):null]})},ta=({className:t})=>e.jsx("span",{"data-testid":"collectibles-demo-badge",className:g("inline-flex shrink-0 items-center rounded-md border border-[#ffc53d]/40 bg-[#ffc53d]/15 px-2 py-1 font-jost text-xs font-bold uppercase leading-none tracking-wider text-[#ffc53d]",t),children:n("lootbox.collectibles.demo")}),Yx=({text:t,className:s})=>e.jsxs("div",{"data-testid":"collectibles-demo-notice",role:"status",className:g("flex items-center justify-center gap-2 rounded-lg border border-[#ffc53d]/30 bg-[#ffc53d]/10 px-3 py-2 text-center",s),children:[e.jsx(ta,{}),e.jsx("span",{className:"font-jost text-sm font-medium leading-5 text-[#ffc53d]",children:t})]}),Ez="/assets/sell-confetti-DEMNdGGb.webp",Rz=t=>{const s=t-1;return s*s*s+1},H5=()=>{var t;return typeof window<"u"&&!!((t=window.matchMedia)!=null&&t.call(window,"(prefers-reduced-motion: reduce)").matches)},Tz=(t,s,a)=>{const l=performance.now();let r=0;const i=o=>{const d=Math.min((o-l)/s,1);a(t*Rz(d)),d<1&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),{cancel:()=>cancelAnimationFrame(r)}},Iz=(t,s=800)=>{const[a,l]=m.useState(()=>H5()?t:0);return m.useEffect(()=>{if(H5()||s<=0||t<=0){l(t);return}const r=Tz(t,s,l);return()=>r.cancel()},[t,s]),a},Fz=[{left:4,width:6,height:10,color:"#e5484d",drift:18,spin:420,duration:1500,delay:0},{left:11,width:5,height:8,color:"#ffc53d",drift:-14,spin:-380,duration:1300,delay:140},{left:17,width:7,height:7,color:"#73da69",drift:22,spin:520,duration:1650,delay:60},{left:24,width:5,height:9,color:"#3e63dd",drift:-20,spin:-460,duration:1400,delay:220},{left:30,width:6,height:6,color:"#ff8fab",drift:12,spin:340,duration:1250,delay:30},{left:36,width:5,height:10,color:"#ffc53d",drift:-26,spin:480,duration:1550,delay:180},{left:42,width:7,height:8,color:"#e5484d",drift:16,spin:-420,duration:1350,delay:90},{left:48,width:5,height:7,color:"#30a46c",drift:-10,spin:400,duration:1450,delay:260},{left:54,width:6,height:9,color:"#3e63dd",drift:24,spin:-520,duration:1600,delay:10},{left:60,width:5,height:6,color:"#ff8fab",drift:-18,spin:360,duration:1300,delay:200},{left:66,width:7,height:10,color:"#73da69",drift:14,spin:-440,duration:1500,delay:120},{left:72,width:5,height:8,color:"#e5484d",drift:-22,spin:500,duration:1400,delay:50},{left:78,width:6,height:7,color:"#ffc53d",drift:20,spin:-360,duration:1250,delay:240},{left:84,width:5,height:9,color:"#3e63dd",drift:-12,spin:440,duration:1550,delay:160},{left:90,width:7,height:6,color:"#30a46c",drift:26,spin:-480,duration:1650,delay:80},{left:96,width:5,height:8,color:"#ff8fab",drift:-16,spin:380,duration:1350,delay:20},{left:21,width:4,height:6,color:"#adafce",drift:10,spin:320,duration:1200,delay:320},{left:45,width:4,height:7,color:"#73da69",drift:-24,spin:-400,duration:1450,delay:300},{left:63,width:4,height:6,color:"#e5484d",drift:18,spin:460,duration:1300,delay:360},{left:87,width:4,height:7,color:"#ffc53d",drift:-20,spin:-340,duration:1400,delay:340}],Tc=({items:t,title:s,onClose:a,demo:l=!1})=>{const r=t.reduce((o,d)=>o+(parseFloat(d.price??"")||0),0),i=Iz(r);return m.useEffect(()=>{const o=d=>{d.key==="Escape"&&a()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[a]),Oa.createPortal(e.jsx("div",{className:"bg-black/70 fixed inset-0 z-overlay flex items-center justify-center overflow-y-auto p-4","data-testid":"collectibles-sell-result",onClick:o=>{o.target===o.currentTarget&&a()},children:e.jsxs("div",{className:"relative my-auto flex w-full max-w-screen-sm flex-col gap-6 text-clip rounded-2xl bg-[#1a1e27] p-6",role:"dialog","aria-modal":"true",children:[e.jsx("div",{className:"collectibles-sell-wash-in pointer-events-none absolute inset-x-0 top-0 h-[260px] bg-[radial-gradient(ellipse_at_top,rgba(115,218,105,0.2),transparent_70%)]","aria-hidden":"true"}),e.jsx("img",{src:Ez,alt:"",className:"collectibles-sell-confetti-in pointer-events-none absolute inset-x-0 top-0 w-full","aria-hidden":"true"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-[260px] overflow-hidden","aria-hidden":"true",children:Fz.map((o,d)=>e.jsx("span",{className:"collectibles-sell-confetti-piece absolute top-0 rounded-[1px]",style:{left:`${o.left}%`,width:`${o.width}px`,height:`${o.height}px`,backgroundColor:o.color,"--confetti-drift":`${o.drift}px`,"--confetti-spin":`${o.spin}deg`,"--confetti-duration":`${o.duration}ms`,"--confetti-delay":`${o.delay}ms`}},d))}),e.jsxs("div",{className:"relative flex flex-col items-center gap-8 pt-20",children:[e.jsx("div",{className:"collectibles-sell-pop flex size-24 items-center justify-center rounded-full bg-[#73da69]/10",children:e.jsx(Ly,{className:"size-16 text-[#73da69]"})}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-4 text-center",children:[e.jsxs("span",{className:"flex items-center gap-2 font-jost text-sm font-semibold uppercase leading-6 text-[#adafce]",children:[l?e.jsx(ta,{}):null,s]}),e.jsxs("span",{className:"flex items-baseline gap-2 font-jost text-2xl font-semibold leading-none text-[#73da69]",children:[e.jsxs("span",{"data-testid":"collectibles-sell-result-total",children:["+",it(i)]}),l?null:e.jsx("span",{children:n("lootbox.collectibles.received")})]}),l?e.jsx("p",{className:"max-w-[320px] font-jost text-base font-medium leading-5 text-[#ffc53d]","data-testid":"collectibles-sell-result-demo-note",children:n("lootbox.collectibles.demo_sell_note")}):e.jsx("p",{className:"max-w-[268px] font-jost text-base font-medium leading-5 text-[#9092b2]",children:n("lootbox.collectibles.funds_delay_note")})]}),e.jsx("div",{className:"flex max-h-[280px] w-full flex-col gap-3 overflow-y-auto rounded-[10px] bg-[#adafce]/5 p-4",children:t.map((o,d)=>e.jsxs("div",{className:"flex flex-col gap-3",children:[d>0?e.jsx("div",{className:"h-px w-full shrink-0 bg-[#292d3c]"}):null,e.jsxs("div",{className:"flex items-center justify-between gap-2 text-[#adafce]",children:[e.jsx("p",{className:"min-w-0 truncate font-jost text-sm font-medium leading-5 opacity-60",children:o.name}),e.jsxs("p",{className:"shrink-0 font-jost text-base font-semibold leading-tight",children:["+",it(parseFloat(o.price??"")||0)]})]})]},o.key))})]}),e.jsx("button",{type:"button","data-testid":"collectibles-sell-result-continue",onClick:a,className:"relative flex h-11 w-full items-center justify-center rounded-lg border border-[#7086ff] bg-active-menu px-4 font-jost text-sm font-bold leading-5 text-white transition-opacity duration-200 hover:opacity-90",children:n("lootbox.collectibles.sell_continue")})]})}),document.body)},kn="M18.2246 11.0703C20.3315 11.0703 22.2761 12.2269 23.3525 14.0479C24.4281 15.9095 24.4269 18.1838 23.3525 20.002V20.0029C22.277 21.8644 20.333 22.9805 18.2246 22.9805C16.0738 22.9803 14.131 21.8638 13.0557 20.0029L13.0547 20.002L12.8662 19.6553C11.9849 17.9005 12.0463 15.7922 13.0547 14.0469C14.1308 12.2267 16.0754 11.0705 18.2246 11.0703ZM18.2246 18.9307C17.5647 18.9309 17.0929 19.4513 17.0928 20.0625C17.0928 20.7193 17.5679 21.1951 18.2246 21.1953C18.836 21.1953 19.3574 20.7227 19.3574 20.0625C19.3573 19.4479 18.8393 18.9307 18.2246 18.9307ZM17.2549 13.2354C16.2183 13.2354 15.4053 14.0484 15.4053 15.085V15.3379C15.4054 15.7838 15.7543 16.1328 16.2002 16.1328C16.599 16.1327 16.995 15.7884 16.9951 15.3379V15.085C16.9951 15.0104 17.0252 14.9319 17.0762 14.873C17.1269 14.8145 17.1911 14.7822 17.2549 14.7822H18.9844C19.0929 14.7822 19.2118 14.8379 19.3057 14.9316C19.3995 15.0254 19.4549 15.1444 19.4551 15.2529C19.4551 15.3581 19.4292 15.441 19.3848 15.5098C19.3402 15.5787 19.2721 15.6392 19.1797 15.6953L17.834 16.3691L17.8262 16.374C17.5741 16.5252 17.4298 16.8203 17.4297 17.1094V17.7002C17.4297 18.146 17.7788 18.4949 18.2246 18.4951C18.6235 18.4951 19.0195 18.1509 19.0195 17.7002V17.5615L19.9258 17.0898L19.9268 17.0889C20.597 16.7314 21.0449 16.0163 21.0449 15.2529C2
66381.0447 14.1287 20.1018 13.2354 18.9844 13.2354H17.2549Z",Xx=({className:t})=>e.jsxs("svg",{className:g("size-6",t),viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M12.3087 12.4141C12.1154 12.6624 11.9376 12.9249 11.7755 13.1992C10.4755 15.4491 10.4756 18.1995 11.7755 20.3994C11.9884 20.768 12.2303 21.1123 12.4962 21.4307C12.1396 21.5238 11.754 21.5188 11.4014 21.4131L3.30182 19.3877C2.77693 19.2752 2.40152 18.788 2.40143 18.2256V15.1133L7.16412 16.4629C8.21394 16.7626 9.33896 16.3129 9.90143 15.4131L12.001 11.8877L12.3087 12.4141ZM2.81354 8.47461L12.001 9.59961L21.1514 8.47461C21.4139 8.43716 21.6766 8.58754 21.7891 8.8125L23.3262 11.9248C23.344 11.9604 23.359 11.9969 23.3731 12.0332C22.0219 10.5172 20.0893 9.59961 18.0255 9.59961C16.1747 9.59971 14.4524 10.3112 13.1436 11.5137L12.001 9.59961L8.85162 14.8125C8.58911 15.2999 8.02601 15.525 7.50104 15.375L1.38873 13.6123C0.638918 13.4247 0.301342 12.5997 0.638734 11.9248L2.17682 8.8125C2.28926 8.55015 2.55119 8.4373 2.81354 8.47461ZM9.60162 2.40039C12.1889 2.40062 14.3264 4.50053 14.4014 7.08789L15.7139 3.60059C16.0514 2.6633 17.1012 2.17556 18.001 2.5127C18.9384 2.88775 19.4264 3.90048 19.0889 4.83789H19.0518L18.0391 7.61328L12.001 8.36328L7.23932 7.7627C7.24568 7.75119 7.24696 7.73701 7.25104 7.72266C7.24131 7.7361 7.2366 7.74889 7.23932 7.7627L4.80182 7.46289V7.2002C4.80193 4.57531 6.93923 2.40044 9.60162 2.40039Z",fill:"#ADAFCE",fillOpacity:"0.6"}),e.jsx("path",{d:kn,fill:"#7086FF"}),e.jsx("path",{d:kn,fill:"url(#collectibles_coin_grady)"}),e.jsx("path",{d:kn,fill:"#FFD58D",style:{mixBlendMode:"color"}}),e.jsx("path",{d:kn,fill:"white",fillOpacity:"0.2"}),e.jsx("path",{d:kn,stroke:"#FCC66A",strokeWidth:"0.24"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"collectibles_coin_grady",x1:"11.4",y1:"22.2002",x2:"36.1041",y2:"14.6113",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.0677083",stopColor:"#757575"}),e.jsx("stop",{offset:"0.21875",stopColor:"#9EA1A1"}),e.jsx("stop",{offset:"0.453125",stopColor:"#848B8A"}),e.jsx("stop",{offset:"0.531647",stopColor:"#576265"}),e.jsx("stop",{offset:"0.648252",stopColor:"#8EA0A5"}),e.jsx("stop",{offset:"0.895833",stopColor:"#757A7B"}),e.jsx("stop",{offset:"1",stopColor:"#576265"})]})})]}),Oz=({count:t,offerLabel:s,packsCovered:a,onSellAll:l,onConfirm:r,onClose:i})=>(m.useEffect(()=>{const o=d=>{d.key==="Escape"&&i()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[i]),Oa.createPortal(e.jsx("div",{className:"bg-black/70 fixed inset-0 z-overlay flex items-center justify-center overflow-y-auto p-4","data-testid":"collectibles-claim-confirm-sell",onClick:o=>{o.target===o.currentTarget&&i()},children:e.jsxs("div",{className:"relative my-auto flex w-full max-w-screen-sm flex-col items-center gap-8 rounded-2xl bg-[#1a1e27] p-6 text-center",role:"dialog","aria-modal":"true",children:[e.jsxs("div",{className:"flex flex-col items-center gap-6 pt-6",children:[e.jsx("div",{className:"flex size-20 items-center justify-center rounded-full bg-[#7086ff]/15",children:e.jsx(Xx,{className:"size-9"})}),e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[e.jsx("span",{className:"font-jost text-sm font-semibold uppercase leading-none text-[#adafce]",children:n("lootbox.collectibles.claim_flow.unsold_items",{count:t})}),e.jsx("span",{className:"font-gilroy text-3xl font-black uppercase leading-none text-[#c6c7dd]",children:n("lootbox.collectibles.claim_flow.are_you_sure")}),e.jsx("span",{className:"font-jost text-base font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.on_the_table",{amount:s})})]})]}
6638),e.jsxs("div",{className:"flex w-full flex-col gap-4 rounded-xl bg-[#adafce]/5 p-4 text-left",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"mt-0.5 text-lg","aria-hidden":"true",children:"â¡"}),e.jsxs("div",{className:"flex flex-col gap-0.5",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n("lootbox.collectibles.claim_flow.credit_instant_title")}),e.jsx("span",{className:"font-jost text-xs font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.credit_instant_desc")})]})]}),e.jsx("div",{className:"h-px w-full bg-[#292d3c]"}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"mt-0.5 text-lg","aria-hidden":"true",children:"ð"}),e.jsxs("div",{className:"flex flex-col gap-0.5",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n("lootbox.collectibles.claim_flow.credit_packs_title",{packs:a})}),e.jsx("span",{className:"font-jost text-xs font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.credit_packs_desc",{amount:s})})]})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsx("button",{type:"button",onClick:l,"data-testid":"collectibles-claim-confirm-sell-all",className:"flex h-12 w-full items-center justify-center gap-1.5 rounded-lg border border-[#637af4] bg-active-menu px-4 font-jost text-sm font-bold text-white transition-opacity hover:opacity-90",children:n("lootbox.collectibles.claim_flow.sell_all_for",{amount:s})}),e.jsx("button",{type:"button",onClick:r,"data-testid":"collectibles-claim-confirm-proceed",className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#20222d] px-4 font-jost text-sm font-semibold text-[#9092b2] transition-opacity hover:opacity-90",children:n("lootbox.collectibles.claim_flow.yeah_im_sure")})]})]})}),document.body)),U5=(t,s)=>Ty(parseFloat(t.value)||0,s),Dz=()=>{const[t,s,a,l]=C([vi,z7,My,E3]),[r,i]=m.useState(!1),o=t.items,d=t.selectedBuybackIds,u=By(t,l.buybackRate),c=Ey(l),x=f=>{i(!1),Dy(f)},p=()=>{i(!1),ji()};return e.jsxs("div",{className:"flex flex-1 flex-col gap-10","data-testid":"collectibles-claim-buybacks",children:[e.jsx(Ll,{title:n("lootbox.collectibles.claim_flow.buybacks_title"),subtitle:n("lootbox.collectibles.claim_flow.buybacks_subtitle",{rate:c})}
6638),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 rounded-2xl border border-[#1f232f] bg-[#161923] p-6",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsxs("span",{className:"font-jost text-sm font-medium text-[#adafce]/60",children:[n("lootbox.collectibles.claim_flow.total_offer")," ",e.jsxs("span",{className:"font-semibold text-[#7086ff]",children:["â ",n("lootbox.collectibles.claim_flow.market_value",{rate:c})]})]}),e.jsx("span",{className:"font-jost text-3xl font-bold text-[#c6c7dd]","data-testid":"collectibles-claim-total-offer",children:it(u)})]}),e.jsxs("button",{type:"button",onClick:()=>x(o.map(f=>f.id)),disabled:o.length===0||a,"data-testid":"collectibles-claim-sell-all",className:"flex h-11 items-center justify-center gap-2 rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold text-white transition-opacity hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:[e.jsx("span",{children:n("lootbox.collectibles.claim_flow.sell_all")}),e.jsx("span",{children:it(u)})]})]}),e.jsx("div",{className:"flex flex-col gap-3",children:o.map(f=>{const h=d.includes(f.id);return e.jsxs("div",{"data-testid":"collectibles-claim-buyback-row","data-selected":h,className:g("flex items-center gap-3 rounded-lg border p-3 transition-colors",h?"border-[#7086ff] bg-[#7086ff]/5":"border-transparent bg-[#11141b]"),children:[e.jsx("button",{type:"button",onClick:()=>Ry(f.id),"aria-pressed":h,"aria-label":f.name,className:g("flex size-5 shrink-0 items-center justify-center rounded-full",h?"bg-[#7086ff] text-white":"border border-[#3a3f4f]"),children:h?e.jsx(C1,{className:"size-3"}):null}),e.jsx("div",{className:"size-10 shrink-0 overflow-hidden rounded-md bg-[#1f232f]",children:f.image?e.jsx("img",{src:f.image,alt:f.name,loading:"lazy",className:"size-full object-cover"}):null}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[e.jsx("span",{className:"truncate font-jost text-sm font-semibold text-[#d7d8e6]",children:f.name}),f.subtitle?e.jsx("span",{className:"truncate font-jost text-xs font-medium text-[#adafce]/60",children:f.subtitle}):null]}),e.jsxs("button",{type:"button",onClick:()=>x([f.id]),disabled:a,className:"flex shrink-0 items-center gap-1.5 rounded-lg bg-[#1f232f] px-4 py-2 font-jost text-sm font-medium text-[#adafce] transition-opacity hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:[e.jsx("span",{className:"opacity-60",children:n("lootbox.collectibles.claim_flow.sell")}),e.jsx("span",{children:it(U5(f,l.buybackRate))})]})]},f.id)})})]}),e.jsxs(Al,{onBack:()=>wi(),children:[e.jsx("button",{type:"button",onClick:()=>o.length>0?i(!0):p(),"data-testid":"collectibles-claim-skip",className:"flex h-12 items-center justify-center rounded-lg px-6 font-jost text-sm font-medium text-[#9092b2] transition-opacity hover:opacity-90",children:n("lootbox.collectibles.claim_flow.skip_ship_everything")}),e.jsxs("button",{type:"button",onClick:()=>x(d),disabled:d.length===0||a,"data-testid":"collectibles-claim-sell-selected",className:"flex h-12 items-center justify-center gap-2 rounded-lg border border-[#637af4] bg-active-menu px-6 font-jost text-sm font-semibold text-white transition-opacity hover:opacity-90 disabled:pointer-events-none disabled:border-transparent disabled:bg-[#20222d] disabled:text-[#9092b2] disabled:opacity-100",children:[e.jsx("span",{children:n("lootbox.collectibles.claim_flow.sell_selected")}),d.length>0?e.jsx("span",{children:it(Iy(t,l.buybackRate))}):null]})]}),s.length>0?e.jsx(Tc,{items:s.map(f=>({key:f.id,name:f.name,price:String(U5(f,l.buybackRate))})),title:n("lootbox.collectibles.claim_flow.cards_sold"),onClose:()=>Fy()}):null,r?e.jsx(Oz,{count:o.length,offerLabel:it(u),packsCovered:Oy(t,l.buybackRate),onSellAll:()=>x(o.map(f=>f.id)),onConfirm:p,onClose:()=>i(!1)}):null]})},$z=()=>{const[t,s,a]=C([vi,V7,E3]),[l,r]=m.useState(""),[i,o]=m.useState(!0),d=t.items,u=t.claimItemIds,c=G7(t),x=$y(t),p=m.useMemo(()=>{const f=l.trim().toLowerCase();return d.filter(h=>!f||h.name.toLowerCase().includes(f)||(h.subtitle??"").toLowerCase().includes(f)).slice().sort((h,b)=>i?ql(b)-ql(h):ql(h)-ql(b))},[d,l,i]);return e.jsxs("div",{className:"flex flex-1 flex-col gap-8","data-testid":"collectibles-claim-items",children:[e.jsx(Ll,{title:n("lootbox.collectibles.claim_flow.items_title"),subtitle:n("lootbox.collectibles.claim_flow.items_subtitle")}),e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsx("input",{type:"text",value:l,onCh
6638ange:f=>r(f.target.value),placeholder:n("lootbox.collectibles.claim_flow.items_search"),"data-testid":"collectibles-claim-items-search",className:"h-11 min-w-0 flex-1 rounded-lg bg-[#11141b] px-4 font-jost text-sm text-[#adafce] placeholder:text-[#adafce]/40 focus:outline-none"}),e.jsxs("div",{className:"relative shrink-0",children:[e.jsxs("select",{value:i?"desc":"asc",onChange:f=>o(f.target.value==="desc"),"aria-label":n("lootbox.collectibles.sort_by"),className:"h-11 appearance-none rounded-lg bg-[#11141b] pl-4 pr-9 font-jost text-sm font-medium text-[#adafce] focus:outline-none",children:[e.jsx("option",{value:"desc",children:n("lootbox.collectibles.claim_flow.sort_highest")}),e.jsx("option",{value:"asc",children:n("lootbox.collectibles.claim_flow.sort_lowest")})]}),e.jsx(L2,{className:"pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 -rotate-90 text-[#adafce]/60"})]})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 lg:flex-row",children:[e.jsxs("div",{className:"flex flex-1 flex-col gap-4 roun
6638ded-2xl border border-[#1f232f] bg-[#161923] p-6",children:[e.jsx("span",{className:"font-jost text-sm font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.showing_count",{shown:p.length,total:d.length})}),p.length===0?e.jsx("div",{className:"flex flex-1 items-center justify-center py-10 text-center font-jost text-sm text-[#adafce]/60","data-testid":"collectibles-claim-items-empty",children:n("lootbox.collectibles.claim_flow.no_items")}):e.jsx("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 xl:grid-cols-4",children:p.map(f=>{const h=u.includes(f.id);return e.jsxs("button",{type:"button",onClick:()=>Py(f.id),"data-testid":"collectibles-claim-item","data-inventory-id":f.id,"data-selected":h,className:"flex flex-col gap-3 text-left",children:[e.jsxs("div",{className:g("relative flex items-center justify-center rounded-[10px] border-2 bg-[#1f232f] p-4 transition-colors",h?"border-[#7086ff]":"border-transparent"),children:[f.image?e.jsx("img",{src:f.image,alt:f.name,loading:"lazy",className:"h-[166px] w-[100px] max-w-full object-cover"}):e.jsx("div",{className:"h-[166px] w-[100px]"}),h?e.jsx("span",{className:"absolute left-[15px] top-[15px] flex size-6 items-center justify-center rounded-full bg-[#7086ff] text-white",children:e.jsx(C1,{className:"size-3.5"})}):null]}),e.jsxs("div",{className:"flex flex-col gap-2 px-2",children:[e.jsx("span",{className:"truncate font-jost text-base font-semibold text-[#adafce]",children:f.name}),f.subtitle?e.jsx("span",{className:"truncate font-jost text-xs font-medium text-[#adafce]/60",children:f.subtitle}):null]}),e.jsxs("span",{className:"flex w-fit items-center gap-2 rounded-md bg-[#1f232f] px-2 py-1.5 font-jost text-sm font-medium text-[#adafce]",children:[e.jsx(Z7,{className:"size-3 opacity-60"}),e.jsx("span",{className:"opacity-60",children:n("lootbox.collectibles.claim_flow.shipping")}),e.jsx("span",{"data-testid":"collectibles-claim-item-shipping",children:it(f.shippingUsd)})]})]},f.id)})})]}
6638),e.jsxs("div",{className:"flex w-full flex-col gap-4 rounded-2xl border border-[#1f232f] bg-[#161923] p-6 lg:w-[360px]",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n("lootbox.collectibles.claim_flow.n_selected",{count:u.length})}),u.length>0?e.jsx("button",{type:"button",onClick:()=>Hy(),className:"font-jost text-sm font-medium text-[#7086ff] transition-opacity hover:opacity-80",children:n("lootbox.collectibles.claim_flow.clear_selection")}):null]}),e.jsx("div",{className:"flex flex-1 flex-col gap-3 overflow-y-auto",children:c.length===0?e.jsx("p",{className:"py-6 text-center font-jost text-sm text-[#adafce]/50",children:n("lootbox.collectibles.claim_flow.none_selected")}):c.map(f=>e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"size-10 shrink-0 overflow-hidden rounded-md bg-[#1f232f]",children:f.image?e.jsx("img",{src:f.image,alt:f.name,loading:"lazy",className:"size-full object-cover"}):null}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[e.jsx("span",{className:"truncate font-jost text-sm font-medium text-[#d7d8e6]",children:f.name}),f.subtitle?e.jsx("span",{className:"truncate font-jost text-xs font-medium text-[#adafce]/60",children:f.subtitle}):null]}),e.jsx("button",{type:"button",onClick:()=>Vy(f.id),"aria-label":n("lootbox.collectibles.claim_flow.remove_item"),className:"shrink-0 text-[#adafce]/50 transition-colors hover:text-[#adafce]",children:e.jsx(X3,{className:"size-4"})})]}),Uy(f).map(h=>e.jsxs("div",{className:"flex flex-col gap-1 pl-[52px]",children:[e.jsx("span",{className:"truncate font-jost text-xs font-medium text-[#adafce]/60",children:n(h.label)}),e.jsxs("div",{className:"relative",children:[e.jsxs("select",{value:Gy(t,f.id,h.key),onChange:b=>zy({id:f.id,key:h.key,value:b.target.value}),"aria-label":n(h.label),"data-testid":"collectibles-claim-option","data-inventory-id":f.id,"data-variant-key":h.key,className:"h-9 w-full appearance-none rounded-lg bg-[#11141b] pl-3 pr-8 font-jost text-sm font-medium text-[#adafce] focus:outline-none",children:[e.jsx("option",{value:"",disabled:!0,children:n("lootbox.collectibles.claim_flow.options_placeholder")}),h.values.map(b=>e.jsx("option",{value:b.value,children:n(b.label)},b.value))]}),e.jsx(L2,{className:"pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 -rotate-90 text-[#adafce]/60"})]})]},h.key))]},f.id))}),e.jsxs("div",{className:"mt-auto flex items-center justify-between border-t border-[#292d3c] pt-4",children:[e.jsx("span",{className:"font-jost text-sm font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.shipping_total")}),e.jsx("span",{className:"font-jost text-lg font-semibold text-[#c6c7dd]","data-testid":"collectibles-claim-shipping-total",children:it(Zy(t,a))})]})]})]}),e.jsx(Al,{onBack:()=>wi(),children:e.jsxs("div",{className:"flex flex-col items-stretch gap-2",children:[x.length>0?e.jsx("p",{className:"max-w-[320px] font-jost text-xs font-medium text-[#ff6b6b]","data-testid":"collectibles-claim-options-required",children:n("lootbox.collectibles.claim_flow.options_required")}):null,e.jsx(eo,{disabled:!s,onClick:()=>ji()})]})})]})},Pz=2,Hz=({availableAmount:t,currency:s,rates:a})=>{const l=ni(s,a);if(!Number.isFinite(l)||l<=0)return null;const r=bs(t,s)*l;return Number.isFinite(r)?eg(r,Pz):null},Jx=di(q1,il,ol,(t,s,a)=>{var l;return Hz({availableAmount:((l=a[t.currency])==null?void 0:l.availableAmount)??0,currency:t.currency,rates:s})}),Uz=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M10.0176 17.3125C13.709 17.3125 16.7676 14.5703 17.2598 10.9844L16.2402 10.7383C15.8535 10.6328 15.5371 10.3516 15.4316 10L14.834 8.20703C14.6582 7.64453 14.9395 7.04688 15.502 6.80078L16.3809 6.44922C15.1855 4.30469 12.9355 2.82812 10.3691 2.72266L10.4395 2.86328C10.6855 3.28516 10.6504 3.77734 10.334 4.16406L9.77148 4.79688C9.41992 5.21875 9.41992 5.81641 9.77148 6.23828L10.2285 6.80078C10.4395 7.04688 10.4395 7.36328 10.2988 7.60938C10.123 7.85547 9.80664 7.96094 9.52539 7.89062L8.68164 7.60938C8.43555 7.53906 8.18945 7.53906 7.94336 7.67969L7.73242 7.78516C7.41602 7.92578 7.27539 8.27734 7.38086 8.62891C7.45117 8.80469 7.55664 8.94531 7.69727 9.01562L8.92773 9.71875C9.24414 9.89453 9.63086 10 10.0527 10H11.5645C11.9863
663810 12.4434 10.1758 12.7598 10.4922L12.8652 10.6328C13.1816 10.9492 13.3926 11.4062 13.3926 11.8281V12.1445C13.3926 12.7422 13.041 13.3047 12.5137 13.5859L12.1973 13.7969C11.7051 14.0781 11.3184 14.5352 11.1426 15.1328L11.1074 15.3086C10.9316 15.8711 10.5098 16.293 9.94727 16.4688C9.41992 16.6094 8.89258 16.2227 8.89258 15.6602V14.5703C8.89258 14.1836 8.64648 13.832 8.33008 13.6562C7.97852 13.5156 7.76758 13.1641 7.76758 12.7773V11.3711C7.76758 10.7383 7.3457 10.1758 6.74805 10L4.70898 9.4375C4.14648 9.26172 3.6543 8.875 3.37305 8.38281L3.02148 7.78516C2.81055 8.48828 2.70508 9.22656 2.70508 10C2.70508 14.043 5.97461 17.3125 10.0176 17.3125ZM10.0176 19C6.7832 19 3.83008 17.3125 2.21289 14.5C0.595703 11.7227 0.595703 8.3125 2.21289 5.5C3.83008 2.72266 6.7832 1 10.0176 1C13.2168 1 16.1699 2.72266 17.7871 5.5C19.4043 8.3125 19.4043 11.7227 17.7871 14.5C16.1699 17.3125 13.2168 19 10.0176 19Z",fill:"currentColor"})}),Ic=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 18 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M5.46875 0C6.31641 0 7 1.50391 7 2.37891V5.00391V5.03125V8.91406V11.1562V11.2656C7.02734 11.8672 7.35547 12.3867 7.875 12.6875V13.5625C7.875 13.7266 7.875 13.8633 7.92969 13.9727L5.46875 13.1523L2.95312 14C2.84375 14.0273 2.67969 14 2.57031 13.918C2.46094 13.8359 2.37891 13.7266 2.37891 13.5625V12.6875C2.37891 12.5781 2.46094 12.4414 2.54297 12.3594L3.91016 11.2656V9.05078L0.546875 10.0625C0.410156 10.0898 0.273438 10.
66380625 0.164062 9.98047C0.0546875 9.89844 0 9.78906 0 9.625V7.875C0 7.73828 0.0546875 7.60156 0.191406 7.51953L3.9375 5.27734V2.37891C3.9375 1.50391 4.62109 0 5.46875 0ZM7.875 4.8125C7.875 4.10156 8.44922 3.5 9.1875 3.5H16.1875C16.8984 3.5 17.5 4.10156 17.5 4.8125V10.9375C17.5 11.5117 17.1172 12.0039 16.625 12.1953V13.3438C16.625 13.7266 16.3242 14 15.9688 14H15.5312C15.1484 14 14.875 13.7266 14.875 13.3438V12.25H10.5V13.3438C10.5 13.7266 10.1992 14 9.84375 14H9.40625C9.02344 14 8.75 13.7266 8.75 13.3438V12.1953C8.23047 12.0039 7.875 11.5117 7.875 10.9375V4.8125ZM10.0352 6.97266L9.625 8.3125H15.75L15.3125 6.97266C15.2031 6.72656 14.9844 6.5625 14.7383 6.5625H10.6094C10.3633 6.5625 10.1445 6.72656 10.0352 6.97266ZM15.5312 9.625C15.1484 9.625 14.875 9.92578 14.875 10.2812C14.875 10.6641 15.1484 10.9375 15.5312 10.9375C15.8867 10.9375 16.1875 10.6641 16.1875 10.2812C16.1875 9.92578 15.8867 9.625 15.5312 9.625ZM9.1875 10.2812C9.1875 10.6641 9.46094 10.9375 9.84375 10.9375C10.1992 10.9375 10.5 10.6641 10.5 10.2812C10.5 9.92578 10.1992 9.625 9.84375 9.625C9.46094 9.625 9.1875 9.92578 9.1875 10.2812Z"})}),Vz=()=>{const{openModal:t}=W(),[s,a,l,r,i]=C([vi,B3,Wy,E3,Jx]),[o,d]=m.useState(!1),u=Ky(s),c=G7(s),x=qy(s,r),p=Yy(s,o),f=!Xy(s),h=W7(s),b=Jy({shippingUsd:h,balanceUsd:i,itemCount:c.length})===Qy.INSUFFICIENT,v=()=>{if(b){t("wallet",{tab:"deposit",openReason:"lootbox"});return}e_()};return e.jsxs("div",{className:"flex flex-1 flex-col gap-10","data-testid":"collectibles-claim-review",children:[e.jsx(Ll,{title:n("lootbox.collectibles.claim_flow.review_title"),subtitle:n("lootbox.collectibles.claim_flow.review_subtitle")}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 lg:flex-row lg:items-start",children:[e.jsxs("div",{className:"flex flex-1 flex-col gap-4",children:[a?e.jsx(Rc,{address:a,onChange:()=>gr(Dt.ADDRESS)}):null,e.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-2xl border border-[#1f232f] bg-[#161923] p-5",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"mt-0.5 flex size-8 items-center justify-center rounded-lg bg-[#7086ff]/15 text-[#7086ff]",children:e.jsx(Ic,{className:"size-5"})}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n(u.nameKey)}),u.recommended?e.jsx("span",{className:"rounded bg-[#7086ff]/15 px-1.5 py-0.5 font-jost text-[10px] font-semibold uppercase text-[#7086ff]",children:n("lootbox.collectibles.claim_flow.recommended")}):null]}),e.jsx("span",{className:"font-jost text-xs font-medium text-[#adafce]/60",children:n(u.etaKey)})]})]}),e.jsx("button",{type:"button",onClick:()=>gr(Dt.SHIPPING),className:"shrink-0 font-jost text-sm font-medium text-[#7086ff] transition-opacity hover:opacity-80",children:n("lootbox.collectibles.claim_flow.change")})]})]}
6638),e.jsxs("div",{className:"flex w-full flex-col gap-4 rounded-2xl border border-[#1f232f] bg-[#161923] p-5 lg:flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n("lootbox.collectibles.claim_flow.n_items",{count:c.length})}),e.jsx("button",{type:"button",onClick:()=>gr(Dt.ITEMS),className:"font-jost text-sm font-medium text-[#7086ff] transition-opacity hover:opacity-80",children:n("lootbox.collectibles.claim_flow.change")})]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:c.map(j=>e.jsx("div",{className:"h-16 w-12 shrink-0 overflow-hidden rounded-md bg-[#1f232f]",children:j.image?e.jsx("img",{src:j.image,alt:j.name,loading:"lazy",className:"size-full object-cover"}):null},j.id))}),e.jsxs("div",{className:"flex flex-col gap-2 border-t border-[#292d3c] pt-4",children:[e.jsxs("div",{className:"flex items-center justify-between font-jost text-sm",children:[e.jsx("span",{className:"font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.withdrawal_fees")}),e.jsx("span",{className:"font-medium text-[#c6c7dd]",children:it(x.withdrawalFees)})]}),e.jsxs("div",{className:"flex items-center justify-between font-jost text-sm",children:[e.jsx("span",{className:"font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.shipping")}),e.jsx("span",{className:"font-medium text-[#c6c7dd]","data-testid":"collectibles-claim-review-shipping",children:it(x.shipping)})]}),e.jsxs("div",{className:"flex items-center justify-between border-t border-[#292d3c] pt-2 font-jost",children:[e.jsx("span",{className:"text-base font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.total")}),e.jsx("span",{className:"text-xl font-semibold text-[#c6c7dd]","data-testid":"collectibles-claim-review-total",children:it(x.total)})]})]})]})]}
6638),e.jsxs("div",{className:"flex flex-col gap-4 rounded-2xl border border-[#1f232f] bg-[#161923] p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[#7086ff]",children:[e.jsx(Uz,{className:"size-5"}),e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n("lootbox.collectibles.claim_flow.duties_title")})]}),e.jsx("p",{className:"font-jost text-sm font-medium leading-relaxed text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.duties_description")}),e.jsxs("button",{type:"button",onClick:()=>d(j=>!j),"aria-pressed":o,"data-testid":"collectibles-claim-duties-accept",className:"flex items-center gap-2 text-left",children:[e.jsx("span",{className:g("flex size-5 shrink-0 items-center justify-center rounded",o?"bg-[#7086ff] text-white":"border border-[#3a3f4f]"),children:o?e.jsx(C1,{className:"size-3"}):null}),e.jsx("span",{className:"font-jost text-sm font-medium text-[#adafce]",children:n("lootbox.collectibles.claim_flow.duties_accept")})]})]}),e.jsx(Al,{onBack:()=>wi(),children:e.jsxs("div",{className:"flex flex-col items-stretch gap-2",children:[b?e.jsx("p",{className:"font-jost text-xs font-medium text-[#ff6b6b]","data-testid":"collectibles-claim-underfunded",children:n("lootbox.collectibles.claim_flow.insufficient_funds")}):null,f?e.jsx("p",{className:"max-w-[320px] font-jost text-xs font-medium text-[#ff6b6b]","data-testid":"collectibles-claim-options-required",children:n("lootbox.collectibles.claim_flow.options_required")}):null,e.jsx(eo,{disabled:!p||l,label:n("lootbox.collectibles.claim_flow.submit_claim"),onClick:v})]})})]})},zz=()=>{const[t,s]=C([vi,B3]),a=W7(t);return e.jsxs("div",{className:"flex flex-1 flex-col gap-10","data-testid":"collectibles-claim-shipping",children:[e.jsx(Ll,{title:n("lootbox.collectibles.claim_flow.shipping_title"),subtitle:n("lootbox.collectibles.claim_flow.shipping_subtitle")}),e.jsxs("div",{className:"mx-auto flex w-full max-w-screen-md flex-1 flex-col gap-4",children:[s?e.jsx(Rc,{address:s,onChange:()=>gr(Dt.ADDRESS)}
6638):null,e.jsxs("div",{className:"flex flex-col gap-4 rounded-2xl border border-[#1f232f] bg-[#161923] p-5",children:[e.jsx("span",{className:"font-jost text-sm font-medium uppercase text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.choose_method")}),t_.map(l=>{const r=l.id===t.shippingMethodId;return e.jsx("button",{type:"button",onClick:()=>s_(l.id),"aria-pressed":r,"data-testid":"collectibles-claim-method","data-method":l.id,"data-selected":r,className:g("flex items-center justify-between gap-4 rounded-xl border p-4 text-left transition-colors",r?"border-[#7086ff] bg-[#7086ff]/5":"border-transparent bg-[#1f232f]"),children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:g("flex size-5 shrink-0 items-center justify-center rounded-full",r?"bg-[#7086ff] text-white":"border border-[#3a3f4f]"),children:r?e.jsx(C1,{className:"size-3"}):null}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n(l.nameKey)}),l.recommended?e.jsx("span",{className:"rounded bg-[#7086ff]/15 px-1.5 py-0.5 font-jost text-[10px] font-semibold uppercase text-[#7086ff]",children:n("lootbox.collectibles.claim_flow.recommended")}):null]}),e.jsx("span",{className:"font-jost text-xs font-medium text-[#adafce]/60",children:n(l.etaKey)})]})]})},l.id)}),e.jsxs("div",{className:"flex items-center justify-between border-t border-[#292d3c] pt-4",children:[e.jsx("span",{className:"font-jost text-sm font-medium text-[#adafce]/60",children:n("lootbox.collectibles.claim_flow.shipping_total")}),e.jsx("span",{className:"font-jost text-lg font-semibold text-[#c6c7dd]","data-testid":"collectibles-claim-shipping-total",children:it(a)})]})]}),e.jsxs("div",{className:"flex flex-col gap-3 rounded-2xl border border-[#1f232f] bg-[#161923] p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[#7086ff]",children:[e.jsx(Ic,{className:"size-5"}),e.jsx("span",{className:"font-jost text-sm font-semibold text-[#d7d8e6]",children:n("lootbox.collectibles.claim_flow.shipping_calc_title")})]}),e.jsxs("ul",{className:"flex list-disc flex-col gap-2 pl-5 font-jost text-xs font-medium leading-relaxed text-[#adafce]/60",children:[e.jsx("li",{children:n("lootbox.collectibles.claim_flow.shipping_calc_1")}),e.jsx("li",{children:n("lootbox.collectibles.claim_flow.shipping_calc_2")})]})]})]}),e.jsx(Al,{onBack:()=>wi(),children:e.jsx(eo,{onClick:()=>ji()})})]})},Gz=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 18 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M14.6289 1.17578C14.3555 0.929688 14.3555 0.519531 14.6289 0.273438C14.875 0 15.2852 0 15.5312 0.273438L17.2812 2.02344C17.418 2.13281 17.4727 2.29688 17.4727 2.48828C17.4727 2.65234 17.418 2.81641 17.2812 2.95312L15.5312 4.70312C15.2852 4.94922 14.875 4.94922 14.6289 4.70312C14.3555 4.42969 14.3555 4.01953 14.6289 3.77344L15.2578 3.14453L10.5 3.11719C10.1172 3.11719 9.84375 2.84375 9.84375 2.46094C9.84375 2.10547 10.1172 1.80469 10.5 1.80469H15.2578L14.6289 1.17578ZM2.87109 10.3633L2.24219 10.9922H7C7.35547 10.9922 7.65625 11.293 7.65625 11.6484C7.65625 12.0312 7.35547 12.3047 7 12.3047H2.21484L2.84375 12.9336C3.11719 13.207 3.11719 13.6172 2.84375 13.8633C2.59766 14.1367 2.1875 14.1367 1.94141 13.8633L0.191406 12.1133C0.0546875 12.0039 0 11.8398 0 11.6484C0 11.4844 0.0546875 11.3203 0.191406 11.1836L1.94141 9.43359C2.1875 9.1875 2.59766 9.1875 2.84375 9.43359C3.11719 9.70703 3.11719 10.1172 2.84375 10.3633H2.87109ZM2.625 1.80469H9.21484C9.13281 2.02344 9.07812 2.24219 9.07812 2.46094C9.07812 3.25391 9.70703 3.88281 10.5 3.88281H13.6992C13.5898 4.34766 13.7266 4.86719 14.082 5.22266C14.6289 5.79688 15.5312 5.79688 16.0781 5.22266L16.625 4.70312V10.5547C16.625 11.5391 15.832 12.3047 14.875 12.3047H8.25781C8.33984 12.1133 8.42188 11.8945 8.42188 11.6484C8.42188 10.8828 7.76562 10.2266 7 10.2266H3.77344C3.88281 9.76172 3.77344 9.26953 3.39062 8.91406C2.84375 8.33984 1.94141 8.33984 1.39453 8.91406L0.875 9.43359V3.55469C0.875 2.59766 1.64062 1.80469 2.625 1.80469ZM4.375 3.55469H2.625V5.30469C3.58203 5.30469 4.375 4.53906 4.375 3.55469ZM14.875 8.80469C13.8906 8.80469 13.125 9.59766 13.125 10.5547H14.875V8.80469ZM8.75 9.67969C9.67969 9.67969 10.5273 9.1875 11.0195 8.36719C11.4844 7.57422 11.4844 6.5625 11.0195 5.74219C10.5273 4.94922 9.67969 4.42969 8.75 4.42969C7.79297 4.42969
66386.94531 4.94922 6.45312 5.74219C5.98828 6.5625 5.98828 7.57422 6.45312 8.36719C6.94531 9.1875 7.79297 9.67969 8.75 9.67969Z"})}),Zz=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 13 13",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M1.36719 0.738281C1.58594 0.300781 2.05078 0 2.54297 0H5.25L4.375 3.5H0L1.36719 0.738281ZM7.875 3.5L7 0H9.67969C10.1719 0 10.6367 0.300781 10.8555 0.738281L12.25 3.5H7.875ZM4.375 4.375V6.125C4.375 6.61719 4.75781 7 5.25 7H7C7.46484 7 7.875 6.61719 7.875 6.125V4.375H12.25V10.5C12.25 11.4844 11.457 12.25 10.5 12.25H1.75C0.765625 12.25 0 11.4844 0 10.5V4.375H4.375Z"})}),Wz=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 18 13",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M5.25 2.625V3.5C5.25 3.99219 4.83984 4.375 4.375 4.375C3.88281 4.375 3.5 3.99219 3.5 3.5V2.625C3.5 1.17578 4.67578 0 6.125 0C7.57422 0 8.75 1.17578 8.75 2.625V2.84375C8.75 3.41797 8.69531 3.99219 8.64062 4.56641L11.9766 3.55469C12.3047 3.44531 12.6328 3.55469 12.8789 3.77344C13.0977 4.01953 13.1797 4.34766 13.0703 4.67578L12.5781 6.125H14.875C15.3398 6.125 15.75 6.53516 15.75 7C15.75 7.49219 15.3398 7.875 14.875 7.875H11.375C11.0742 7.875 10.8281 7.73828 10.6641 7.51953C10.5 7.30078 10.4453 7 10.5273 6.72656L10.8828 5.71484L8.28516 6.48047C7.95703 7.92969 7.4375 9.32422 6.69922 10.6094L6.31641 11.2656C5.96094 11.8945 5.30469 12.25 4.59375 12.25C3.5 12.25 2.625 11.375 2.625 10.2812V8.3125C2.625 7.16406 3.36328 6.125 4.48438 5.79688L6.78125 5.11328C6.91797 4.375 7 3.60938 7 2.84375V2.625C7 2.16016 6.58984 1.75 6.125 1.75C5.63281 1.75 5.25 2.16016 5.25 2.625ZM4.97656 7.46484C4.62109 7.57422 4.34766 7.92969 4.34766 8.3125V10.2812C4.34766 10.418 4.45703 10.5273 4.59375 10.5273C4.67578 10.5273 4.75781 10.4727 4.78516 10.3906L5.16797 9.73438C5.66016 8.88672 6.04297 8.01172 6.31641 7.08203L4.97656 7.46484ZM0.65625 9.1875H1.75V10.2812C1.75 10.3633 1.75 10.4453 1.75 10.5H0.65625C0.273438 10.5 0 10.2266 0 9.84375C0 9.48828 0.273438 9.1875 0.65625 9.1875ZM16.8438 10.5H7.73828C7.95703 10.0898 8.17578 9.65234 8.33984 9.1875H16.8438C17.1992 9.1875 17.5 9.48828 17.5 9.84375C17.5 10.2266 17.1992 10.5 16.8438 10.5Z"})}),V5={[Dt.ADDRESS]:{labelKey:"lootbox.collectibles.claim_flow.step_address",Icon:Qi},[Dt.BUYBACKS]:{labelKey:"lootbox.collectibles.claim_flow.step_buybacks",Icon:Gz},[Dt.ITEMS]:{labelKey:"lootbox.collectibles.claim_flow.step_items",Icon:Zz},[Dt.SHIPPING]:{labelKey:"lootbox.collectibles.claim_flow.step_shipping",Icon:Ic},[Dt.REVIEW]:{labelKey:"lootbox.collectibles.claim_flow.step_review",Icon:Wz}},Kz=({current:t})=>e.jsxs("div",{className:"mx-auto flex w-full max-w-[900px] flex-col gap-4","data-testid":"collectibles-claim-stepper",children:[e.jsx("div",{className:"flex items-center gap-2",children:Bo.map((s,a)=>{const l=V5[s],r=s<t,i=s===t;return e.jsxs("div",{className:"flex flex-1 items-center gap-2 last:flex-none",children:[e.jsx("div",{"data-testid":"collectibles-claim-step","data-step":s,"data-state":r?"completed":i?"active":"upcoming",className:g("flex size-8 shrink-0 items-center justify-center rounded-full transition-colors duration-200",r&&"bg-[#7086ff] text-white",i&&"border border-[#7086ff] bg-[#1f232f] text-[#7086ff] shadow-[0_0_0_4px_rgba(112,134,255,0.2)]",!r&&!i&&"bg-[#1f232f] text-[#adafce]/60"),children:r?e.jsx(C1,{className:"size-4"}):e.jsx(l.Icon,{className:"size-5"})}),a<Bo.length-1?e.jsx("div",{className:g("h-1 flex-1 rounded-full transition-colors duration-200",s<t?"bg-[#7086ff]":"bg-[#1f232f]")}):null]},s)})}),e.jsx("div",{className:"flex justify-between",children:Bo.map(s=>e.jsx("span",{className:g("w-8 whitespace-nowrap text-center font-jost text-sm font-medium leading-none",s===t?"text-[#c6c7dd]":"text-[#adafce]/60"),children:n(V5[s].labelKey)},s))})]}),qz=()=>{const t=Y(),[s,a,l,r]=C([a_,n_,l_,z7]);return m.useEffect(()=>(r_({preselectedId:_z()}),()=>i_()),[]),m.useEffect(()=>o_.watch(()=>{be({level:"success",title:n("lootbox.toast.success"),body:n("lootbox.collectibles.claim_flow.claim_submitted")}),t(wt())}),[t]),m.useEffect(()=>c_.watch(()=>{be({level:"error",title:n("notification.toast.error.title"),body:n("lootbox.collectibles.claim_flow.claim_failed")})}),[]),m.useEffect(()=>d_.watch(()=>{be({level:"error",title:n("notification.toast.error.title"),body:n("lootbox.collectibles.claim_flow.insufficient_funds")})}),[]),m.useEffect(()=>{l&&r.length===0&&t(wt())},[l,r.length,t]),e.jsxs("section",{className:"mx-auto flex min-h-[70vh] w-full max-w-screen-custom-xl flex-col gap-12 px-4 py-10","data-testid":"collectibles-claim","data-step":s,children:[e.jsx(Kz,{current:s}),a?e.jsxs("div",{className:"flex flex-1 items-center justify-center py-20",children:[e.jsx("div",{className:"size-8 animate-spin rounded-full border-2 border-[#1f232f] border-t-[#7086ff]"}),e.jsx("span",{className:"sr-only",children:n("lootbox.collectibles.claim_flow.loading")})]}
6638):s===Dt.ADDRESS?e.jsx(Bz,{}):s===Dt.BUYBACKS?e.jsx(Dz,{}):s===Dt.ITEMS?e.jsx($z,{}):s===Dt.SHIPPING?e.jsx(zz,{}):e.jsx(Vz,{})]})},Qx=()=>{const{openModal:t}=W();m.useEffect(()=>u_.watch(()=>{t("wallet",{tab:"deposit",openReason:"lootbox"})}),[t])},ef=()=>{const t=Y(),[s,a]=C([te,Je]);Qx();const l=m_({deliveryEnabled:js.collectiblesDeliveryEnabled,isSessionResolved:a,isAuthenticated:s});return m.useEffect(()=>{l===Bd.DENIED&&t(st(),{replace:!0})},[l,t]),l!==Bd.ALLOWED?null:e.jsx(qz,{})},Yz=Array.from({length:9},(t,s)=>s+1),tf=()=>{const[t,s]=m.useState(null);return e.jsxs("section",{className:"flex flex-col items-center gap-10 py-10","data-testid":"collectibles-faq",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4 text-center",children:[e.jsx("h2",{className:"max-w-[560px] font-gilroy text-[32px] font-bold uppercase leading-tight text-[#c6c7dd] md:text-[40px]",children:n("lootbox.collectibles.faq_title")}),e.jsx("p",{className:"max-w-[480px] font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:n("lootbox.collectibles.faq_subtitle")})]}),e.jsx("div",{className:"flex w-full flex-col gap-3",children:Yz.map((a,l)=>{const r=t===l;return e.jsxs("div",{className:"overflow-hidden rounded-xl bg-[#1f232f]",children:[e.jsxs("button",{type:"button","data-testid":`collectibles-faq-item-${a}`,"aria-expanded":r,onClick:()=>s(r?null:l),className:"flex w-full items-center justify-between gap-4 px-6 py-4 text-left font-jost text-base font-medium text-[#adafce] transition-colors hover:text-white",children:[e.jsx("span",{children:n(`lootbox.faq.faq_item_${a}.heading`)}),e.jsx("svg",{className:g("size-5 shrink-0 text-[#adafce]/60 transition-transform duration-200",r&&"rotate-180"),viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M5 8l5 5 5-5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),r?e.jsx("p",{className:"px-6 pb-4 font-jost text-sm leading-snug text-[#adafce] opacity-60",children:n(`lootbox.faq.faq_item_${a}.paragraph`)}):null]},a)})})]})},Xz="/assets/hero-collage-Di8d3ZKE.webp",Jz=Xz,sf="'Gilroy', sans-serif",Qz={fontFamily:sf,textTransform:"uppercase",color:"#c6c7dd",background:"linear-gradient(77deg, #b6b8c6 13.78%, #e3e5ee 32.73%, #c9ccda 62.14%, #8f95a8 72%, #d9dce8 86.63%, #b0b3c4 117.7%, #8f95a8 130.77%)",WebkitBackgroundClip:"text",backgroundClip:"text",WebkitTextFillColor:"transparent"},eG={color:"#f0c56e",fontFamily:sf,verticalAlign:"middle",paddingTop:"0.2em",marginTop:"-0.2em",background:"linear-gradient(77deg, #bc9857 13.78%, #e4c084 32.73%, #cba96c 62.14%, #a5824a 72%, #ddba7c 86.63%, #b99756 117.7%, #a5824a 130.77%)",WebkitBackgroundClip:"text",backgroundClip:"text",WebkitTextFillColor:"transparent",WebkitTextStroke:"0.5px #fcc66a",paintOrder:"stroke fill",filter:"drop-shadow(0 3px 0 #433723)"},tG=()=>e.jsxs("section",{className:"relative flex min-h-[240px] items-center rounded-2xl md:min-h-[360px]",children:[e.jsxs("div",{className:"relative z-10 flex w-full flex-col items-center gap-4 py-6 text-center md:w-auto md:max-w-[600px] md:items-start md:text-left",children:[e.jsx("span",{className:"text-[20px] font-[900] uppercase leading-[1.2] md:text-[26px] lg:text-[32px]",style:Qz,children:n("lootbox.collectibles.hero_overline")}),e.jsxs("h1",{className:"text-[40px] font-[900] uppercase leading-[0.9] md:text-[56px] lg:text-[80px]",style:eG,children:[n("lootbox.collectibles.hero_title_line1"),e.jsx("br",{}),n("lootbox.collectibles.hero_title_line2")]}),e.jsx("p",{className:"max-w-[372px] font-jost text-base font-medium leading-snug text-[#adafce]",children:n("lootbox.collectibles.win_paragraph")})]}),e.jsx("img",{src:Jz,alt:"","aria-hidden":"true",className:"pointer-events-none absolute right-0 top-1/2 hidden max-h-[115%] max-w-[60%] -translate-y-1/2 select-none drop-shadow-[0_40px_28px_rgba(0,0,0,0.45)] md:block"})]}),af=()=>{const t=Y(),[s,a,l]=C([x_,f_,te]);return m.useEffect(()=>{l&&p_()},[l]),l?e.jsxs("button",{type:"button","data-testid":"collectibles-inventory",className:g("flex h-10 items-center gap-4 roun
6638ded-lg bg-[#9092b2]/10 py-2.5 pl-2.5",a?"pr-1":"pr-2.5"),onClick:()=>t(wt()),children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(Vi,{}),e.jsx("span",{className:"font-jost text-base font-semibold leading-6 text-[#9092b2]",children:n("lootbox.collectibles.inventory")})]}),a?e.jsx("span",{className:"flex size-8 items-center justify-center rounded-[5px] bg-[#7086ff]/20 font-jost text-base font-semibold leading-none text-[#7086ff]",children:s}):null]}):null},sG=1.3,z5=new Map,aG=(t,s)=>t>0&&s/t>=sG,Fc=t=>new Promise(s=>{if(typeof window>"u"||!t){s(!1);return}const a=z5.get(t);if(a!==void 0){s(a);return}const l=new Image;l.onload=()=>{const r=aG(l.naturalWidth,l.naturalHeight);z5.set(t,r),s(r)},l.onerror=()=>s(!1),l.src=t}),E2=({card:t,layout:s="pack",label:a})=>{const l=Y(),r=Ke(t.costInUsd,U.USDT),i=s==="box",o=t.freeOpensRemaining>0,[d,u]=m.useState(!0);return m.useEffect(()=>{if(s!=="pack"||!t.image)return;let c=!0;return Fc(t.image).then(x=>{c&&u(x)}),()=>{c=!1}},[s,t.image]),e.jsxs("button",{type:"button","data-testid":"collectibles-pack-card","data-slug":t.urlSlug,onClick:()=>l(Jt(t.urlSlug)),className:g("group relative flex w-full flex-col items-center text-left",i?"gap-4 overflow-hidden rounded-2xl bg-[#11141b] p-3 md:gap-8 md:p-4":"gap-6"),children:[i?e.jsxs(e.Fragment,{children:[e.jsx(Xx,{className:"absolute right-4 top-4 size-6"}),e.jsx("div",{className:"flex aspect-square w-[79%] items-center justify-center",children:e.jsx("img",{src:t.image,alt:t.name,loading:"lazy",className:"size-full object-contain transition-transform duration-200 group-hover:scale-[1.03]"})})]}):e.jsx("div",{className:"flex w-full items-center justify-center transition-transform duration-200 group-hover:scale-[1.02]",children:e.jsx("img",{src:t.image,alt:t.name,loading:"lazy",className:g("aspect-[37/67] w-[120px] rounded-md sm:w-[160px]",d?"object-cover":"object-contain")})}),e.jsxs("div",{className:g("flex w-full flex-1 flex-col",i?"gap-6":"min-h-[108px] justify-between"),children:[e.jsxs("div",{className:g("flex w-full justify-between gap-2",i?"flex-col items-start md:flex-row md:items-end":"items-end"),children:[e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start gap-2 uppercase",children:[e.jsx("span",{className:"w-full truncate font-jost text-xs font-medium leading-none text-[#adafce]/60",children:a??n(i?"lootbox.collectibles.label_lootbox":"lootbox.collectibles.label_booster_pack")}),e.jsx("span",{className:g("w-full truncate font-jost font-semibold leading-none text-[#adafce]",i?"text-sm md:text-lg":"text-sm"),children:t.name})]}),o?e.jsx("span",{"data-testid":"collectibles-pack-card-free",className:g("whitespace-nowrap text-right font-jost font-semibold uppercase leading-none text-[#7cc6a0]",i?"text-sm md:text-lg":"text-base"),children:n("lootbox.collectibles.free")}):e.jsxs("span",{className:g("whitespace-nowrap text-right font-jost font-semibold leading-none",i?"text-sm md:text-lg":"text-base"),children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:r})]})]}),e.jsx("div",{className:g("flex w-full items-center justify-center rounded-md font-jost font-semibold text-white transition-opacity duration-200 group-hover:opacity-90",i?"border border-[#7086ff] bg-[linear-gradient(90deg,#7086ff_0%,#2f3ec8_50%,#7086ff_100%)] px-3 py-2.5 text-center text-sm leading-5 md:px-4 md:text-base md:leading-6":"border border-[#637af4] bg-active-menu px-3 py-2.5 text-sm leading-5"),children:n(o?"lootbox.collectibles.open_free":"lootbox.collectibles.view_pack")})]})]})},nf=({title:t,subtitle:s,icon:a,columns:l="grid-cols-2 sm:grid-cols-3 xl:grid-cols-5",gap:r="gap-x-4 gap-y-8 xl:gap-x-14 xl:gap-y-20",className:i,children:o})=>e.jsxs("section",{className:g("flex flex-col gap-10",i),children:[t?e.jsxs("header",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[a,e.jsx("h2",{className:"font-gilroy text-[32px] font-bold leading-[1.2] text-[#c6c7dd]",children:t})]}),s?e.jsx("p",{className:"max-w-[293px] font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:s}):null]}):null,e.jsx("div",{className:g("grid",l,r),children:o})]}),Sn="M24.2998 14.7607C27.0215 14.7607 29.5396 16.2085 30.999 18.5068
6638L31.1377 18.7324C32.5707 21.2142 32.5696 24.2454 31.1377 26.6689L31.1367 26.6709C29.7026 29.1529 27.111 30.6406 24.2998 30.6406C21.4318 30.6406 18.841 29.1522 17.4072 26.6709L17.4062 26.6689C15.9743 24.2453 15.9731 21.2143 17.4062 18.7324C18.8409 16.3045 21.4334 14.7608 24.2998 14.7607ZM24.2998 25.2402C23.4197 25.2403 22.79 25.9358 22.79 26.751C22.7902 27.6266 23.4242 28.2606 24.2998 28.2607C25.1149 28.2607 25.8094 27.631 25.8096 26.751C25.8096 25.9314 25.1194 25.2402 24.2998 25.2402ZM23.0059 17.6465C21.6239 17.6467 20.54 18.7313 20.54 20.1133V20.4502C20.54 21.0447 21.0052 21.5105 21.5996 21.5107C22.1315 21.5107 22.6602 21.0512 22.6602 20.4502V20.1133C22.6602 20.0138 22.7006 19.9095 22.7686 19.8311C22.8361 19.7532 22.921 19.7111 23.0059 19.7109H25.3125C25.4573 19.7109 25.616 19.785 25.7412 19.9102C25.8661 20.0352 25.9404 20.1933 25.9404 20.3379C25.9404 20.4781 25.905 20.588 25.8457 20.6797C25.787 20.7705 25.6991 20.8517 25.5781 20.9258L23.7783 21.8262L23.7676 21.832C23.4315 22.0337 23.2402 22.428 23.2402 22.8135V23.6006C23.2402 24.1951 23.7053 24.6601 24.2998 24.6602C24.8317 24.6602 25.3604 24.2016 25.3604 23.6006V23.416L26.5674 22.7861L26.5693 22.7852C27.4627 22.3085 28.0596 21.3556 28.0596 20.3379C28.0595 18.8388 26.8024 17.6465 25.3125 17.6465H23.0059Z",Gs=({className:t})=>e.jsxs("svg",{className:g("size-8",t),viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsxs("g",{clipPath:"url(#collectibles_ticket_clip)",children:[e.jsx("path",{d:"M9.16769 3.45775C8.95154 4.24998 9.04753 5.09659 9.43702 5.81949L9.72192 6.34925L6.53983 18.0155L6.57761 7.93003C6.57914 7.5193 6.42264 7.12339 6.14055 6.82486L5.76331 6.42569C5.48108 6.12713 5.32472 5.73136 5.32625 5.32052L5.33191 3.5872C5.33532 2.7037 6.05453 1.98994 6.93804 1.99316L9.56438 2.00325L9.16769 3.45775Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M11.1984 2.09779C11.431 1.2453 12.3107 0.742156 13.1632 0.974746L27.5939 4.91225C28.4464 5.14483 28.9495 6.02461 28.7169 6.87709L28.2306 8.65736C28.1225 9.05356 27.8662 9.39315 27.5148 9.60561L27.0002 9.91713C26.6487 10.1296 26.3924 10.4691 26.2843 10.8654L25.6476 13.1984C25.2068 13.134 24.7588 13.0998 24.3058 13.0997C20.8392 13.0997 17.7052 14.9663 15.9718 17.8996C15.1637 19.2983 14.7324 20.8421 14.6779 22.3888L9.53531 20.9855C9.15939 20.8829 8.77068 21.1057 8.66812 21.4816C8.56568 21.8574 8.78738 22.2462 9.16324 22.3488L14.7423 23.8703C14.8963 25.1354 15.3053 26.3722 15.9718 27.5001C16.7821 28.9025 17.8989 30.0419 19.2121 30.8585L5.99331 27.2531C5.14089 27.0205 4.6388 26.1406 4.87124 25.2882L5.3566 23.507C5.46477 23.1107 5.7218 22.7711 6.07339 22.5587L6.58706 22.2482C6.93872 22.0357 7.19572 21.6963 7.30386 21.2999L11.2687 6.76869C11.3768 6.37234 11.328 5.94865 11.133 5.58705L10.8478 5.05873C10.6528 4.69716 10.604 4.2744 10.7121 3.87807L11.1984 2.09779ZM13.7111 6.13295C13.3352 6.03039 12.9465 6.25313 12.8439 6.62904C12.7415 7.0049 12.9632 7.39368 13.339 7.49623L24.1437 10.4435C24.5196 10.5461 24.9083 10.3243 25.0109 9.94838C25.1134 9.57247 24.8917 9.18375 24.5158 9.08119L13.7111 6.13295Z",fill:"#ADAFCE"})]}),e.jsx("path",{d:Sn,fill:"#7086FF"}),e.jsx("path",{d:Sn,fill:"url(#collectibles_ticket_grady)"}),e.jsx("path",{d:Sn,fill:"#FFD58D",style:{mixBlendMode:"color"}}),e.jsx("path",{d:Sn,fill:"white",fillOpacity:"0.2"}),e.jsx("path",{d:Sn,stroke:"#FCC66A",strokeWidth:"0.32"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"collectibles_ticket_grady",x1:"15.2",y1:"29.6006",x2:"48.1388",y2:"19.4821",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.0677083",stopColor:"#757575"}),e.jsx("stop",{offset:"0.21875",stopColor:"#9EA1A1"}),e.jsx("stop",{offset:"0.453125",stopColor:"#848B8A"}),e.jsx("stop",{offset:"0.531647",stopColor:"#576265"}),e.jsx("stop",{offset:"0.648252",stopColor:"#8EA0A5"}),e.jsx("stop",{offset:"0.895833",stopColor:"#757A7B"}),e.jsx("stop",{offset:"1",stopColor:"#576265"})]}),e.jsx("clipPath",{id:"collectibles_ticket_clip",children:e.jsx("rect",{width:"25.6",height:"32",fill:"white",transform:"translate(3.2002)"})})]})]}),G5=8,Z5=10,nG="rounded-lg bg-[#1f232f] px-8 py-3 font-jost text-sm font-semibold text-[#adafce] transition-colors duration-200 hover:bg-[#262b39]",W5=({onClick:t})=>e.jsx("button",{type:"button",onClick:t,"data-testid":"collectibles-load-more",className:nG,children:n("table.load_more")}),lG=()=>{const[t,s,a,l,r]=C([ts,K7,q7,Y7,h_]),[i,o]=m.useState(G5),[d,u]=m.useState({});m.useEffect(()=>{X("Lootbox Page")},[]),m.useEffect(()=>{t&&X7({currency:t})},[t]);const c=n("lootbox.collectibles.home_subtitle"),x=[{id:x1.POKEMON,title:n("lootbox.collectibles.pokemon_packs"),label:n("lootbox.collectibles.tab_pokemon"),items:a},{id:x1.FREESPIN,title:n("lootbox.collectibles.slots_packs"),label:n("lootbox.collectibles.label_booster_pack"),items:l}].filter(h=>h.items.length>0),p=h=>d[h]??Z5,f=h=>u(b=>({...b,[h]:p(h)+Z5}));return e.jsxs("div",{className:"mx-auto flex w-full max-w-screen-custom-xl flex-col gap-8 xxs:px-4 lg:px-0",children:[e.jsx("div",{className:"flex h-10 items-center justify-end",children:e.jsx(af,{})}),e.jsx(tG,{}),r?e.jsx("div",{className:"py-10 text-center font-jost text-xl font-semibold text-[#adafce]",children:n("lootbox.collectibles.coming_soon")}):e.jsxs("div",{className:"flex flex-col gap-14",children:[s.length>0?e.jsxs("div",{className:"flex flex-col items-center gap-8",children:[e.jsx("div",{className:"grid w-full grid-cols-2 gap-4 sm:grid-cols-3 md:gap-6 xl:grid-cols-4",children:s.slice(0,i).map(h=>e.jsx(E2,{card:h,layout:"box"},h.key))}),s.length>i?e.jsx(W5,{onClick:()=>o(h=>h+G5)}):null]}):null,x.map(h=>e.jsxs("div",{className:"flex flex-col items-center gap-8",children:[e.jsx(nf,{title:h.title,subtitle:c,icon:e.jsx(Gs,{className:"size-8"}),className:"w-full md:rounded-2xl md:bg-[#11141b] md:p-6",children:h.items.slice(0,p(h.id)).map(b=>e.jsx(E2,{card:b,layout:"pack",label:h.label},`${h.id}-${b.key}`))}),h.items.length>p(h.id)?e.jsx(W5,{onClick:()=>f(h.id)}):null]},h.id))]}),e.jsx(tf,{})]})},rG=()=>(Qe("meta.lootbox.title","meta.lootbox.description"),e.jsx(lG,{})),i1={CARD:"card",GAME:"game",PRODUCT:"product"},lf=t=>t.category===Ed.PHYSICAL?i1.PRODUCT:t.category===Ed.FREESPINS?i1.GAME:i1.CARD,iG={[$t.CLAIM]:"lootbox.inventory.withdraw_freebet",[$t.ACTIVATING]:"lootbox.inventory.activating",[$t.PLAY]:"lootbox.inventory.play_freebet"},oG=(t,s)=>{const a=g_(t),l=iG[a];return l?{action:a,labelKey:l,disabled:a===$t.ACTIVATING||s}:null},cG={[$t.CLAIM]:"lootbox.inventory.withdraw_freespin",[$t.ACTIVATING]:"lootbox.inventory.activating",[$t.PLAY]:"lootbox.inventory.play_freespin"},dG=(t,s)=>{const a=b_(t),l=cG[a];return l?{action:a,labelKey:l,disabled:a===$t.ACTIVATING||s}:null},uG=({expired:t,alreadyClaimed:s})=>s?"notification.toast.error.already_claimed":t?"lootbox.inventory.item_expired":"errors.default",mG=({card:t,selling:s=!1,onClose:a,onSell:l})=>{const r=Y(),[i,o,d,u]=C([C_,j_,v_,w_]),[c,x]=m.useState(!1),[p,f]=m.useState(!1),[h,b]=m.useState(""),v=lf(t),j=y_(t),y=__(t,js.collectiblesDeliveryEnabled),N=dG(t,i||o),k=oG(t,i||u),w=N_(t),S=k_(t),M=S_(t),_=A_(t),A=L_(t);m.useEffect(()=>M_.watch(({id:B,status:z})=>{if(B===t.id){if(x(!1),A){be(z===Rd.ACTIVATING?{level:"info",title:n("lootbox.inventory.activating"),body:t.name}:{level:"success",title:n("lootbox.toast.success"),body:t.name});return}if(_&&z!==Rd.WITHDRAWN){be({level:"info",title:n("lootbox.inventory.activating"),body:t.name});return}be({level:"success",title:n("lootbox.toast.success"),body:_?t.name:n("lootbox.confirm_withdraw.will_receive",{name:t.freespinGameName,bet_count:t.betCount})})}}),[t.id,t.name,t.freespinGameName,t.betCount,_,A]),m.useEffect(()=>B_.watch(({id:B,expired:z,alreadyClaimed:le})=>{B===t.id&&(x(!1),be({level:"error",title:n("notification.toast.error.title"),body:n(uG({expired:z,alreadyClaimed:le}))}))}),[t.id]),m.useEffect(()=>E_.watch(({id:B,gameCode:z})=>{B===t.id&&r(G1(z)??Ve)}),[t.id,r]),m.useEffect(()=>R_.watch(({id:B,expired:z})=>{B===t.id&&be({level:"error",title:n("notification.toast.error.title"),body:n(z?"lootbox.inventory.item_expired":"errors.default")})}),[t.id]),m.useEffect(()=>T_.watch(({id:B})=>{B===t.id&&(f(!1),b(""),be({level:"success",title:n("lootbox.toast.success"),body:n("lootbox.confirm_withdraw.will_receive_crypto",{name:t.name,network:t.network})}))}),[t.id,t.name,t.network]),m.useEffect(()=>I_.watch(({id:B})=>{B===t.id&&be({level:"error",title:n("notification.toast.error.title"),body:n("errors.default")})}),[t.id]),m.useEffect(()=>F_.watch(({id:B})=>{B===t.id&&r(Xn(`whale_${t.freebetGameType}`)??Ve)}),[t.id,t.freebetGameType,r]),m.useEffect(()=>O_.watch(({id:B,expired:z})=>{B===t.id&&be({level:"error",title:n("notification.toast.error.title"),body:n(z?"lootbox.inventory.item_expired":"errors.default")})}),[t.id]),m.useEffect(()=>{const B=z=>{z.key==="Escape"&&a()};return window.addEventListener("keydown",B),()=>window.removeEventListener("keydown",B)},[a]);const E=()=>{yz(t.id),r(Oi())},L=()=>
6638{if(!Xn(`whale_${t.freebetGameType}`)){be({level:"error",title:n("notification.toast.error.title"),body:n("errors.default")});return}P_(t.id)};return Oa.createPortal(e.jsx("div",{className:"fixed inset-0 z-overlay flex items-center justify-center overflow-y-auto bg-black/70 p-4","data-testid":"collectibles-card-modal",onClick:B=>{B.target===B.currentTarget&&a()},children:e.jsxs("div",{className:"relative my-auto flex w-full max-w-screen-sm flex-col items-center gap-8 text-clip rounded-2xl bg-[#1a1e27] px-6 pb-6 pt-[60px]",role:"dialog","aria-modal":"true",children:[e.jsx("button",{type:"button",onClick:a,"aria-label":n("lootbox.collectibles.sell_continue"),"data-testid":"collectibles-card-modal-close",className:"absolute right-6 top-6 flex items-center justify-center rounded-2xl bg-[#9092b2]/10 p-1.5 text-[#adafce] transition-opacity duration-200 hover:opacity-80",children:e.jsx(ia,{className:"size-5"})}),e.jsxs("div",{className:"flex flex-col items-center gap-8",children:[v===i1.PRODUCT?e.jsx("div",{className:"flex h-[300px] w-[220px] max-w-full items-center justify-center",children:e.jsx("img",{src:t.image,alt:t.name,className:"max-h-full max-w-full object-contain"})}):e.jsx("div",{"data-testid":"collectibles-card-art","data-frame":v,className:g("shrink-0 overflow-hidden rounded-lg",v===i1.GAME?"aspect-[4/3] w-drawer max-w-full":"h-[300px] w-[180px]"),children:e.jsx("img",{src:t.image,alt:t.name,className:"size-full object-cover"})}),e.jsxs("div",{className:"flex flex-col items-center gap-6",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[t.tierName?e.jsxs("span",{className:"flex items-center gap-2 rounded-lg px-3 py-2 font-jost text-sm leading-none",style:{backgroundColor:`${t.badgeColor}33`,color:t.badgeColor},children:[e.jsx("span",{className:"font-medium",children:t.tierName}),t.odds?e.jsx("span",{className:"font-semibold",children:t.odds}):null]}):null,e.jsxs("span",{className:"flex items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm font-medium leading-none text-[#adafce]",children:[e.jsx("span",{className:"opacity-60",children:n("lootbox.collectibles.value")}),e.jsx("span",{children:l2(t.value)})]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-4 text-center text-[#d7d8e6]",children:[e.jsx("span",{className:"line-clamp-3 break-words font-jost text-2xl font-semibold leading-tight",children:t.name}),t.subtitle?e.jsx("span",{className:"line-clamp-2 break-words font-jost text-sm font-medium leading-tight opacity-60",children:t.subtitle}):null]})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-4",children:[S?e.jsx("div",{"data-testid":"collectibles-card-freespin-already-claimed",className:"flex min-h-11 w-full items-center justify-center rounded-lg bg-[#1f232f] px-4 py-2 text-center font-jost text-sm font-medium leading-5 text-[#adafce]",children:n("notification.toast.error.already_claimed")}):null,N&&c&&N.action===$t.CLAIM?e.jsxs(e.Fragment,{children:[e.jsx("div",{"data-testid":"collectibles-card-freespin-receive",className:"flex min-h-11 w-full items-center justify-center rounded-lg bg-[#1f232f] px-4 py-2 text-center font-jost text-sm font-medium leading-5 text-[#adafce]",children:n("lootbox.confirm_withdraw.will_receive",{name:t.freespinGameName,bet_count:t.betCount})}),e.jsxs("div",{className:"flex w-full items-center gap-4",children:[e.jsx("button",{type:"button","data-testid":"collectibles-card-freespin-cancel",onClick:()=>x(!1),className:"flex h-11 items-center justify-center rounded-lg bg-[#9092b2]/10 px-6 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-90",children:n("lootbox.confirm_withdraw.cancel")}),e.jsx("button",{type:"button","data-testid":"collectibles-card-freespin-confirm",onClick:()=>Eo(t.id),disabled:N.disabled,className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n("lootbox.confirm_withdraw.confirm")})]})]}):N?e.jsx("button",{type:"button","data-testid":"collectibles-card-freespin-action","data-action":N.action,onClick:()=>{N.action===$t.CLAIM?x(!0):N.action===$t.PLAY&&D_(t.id)},disabled:N.disabled,className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n(N.labelKey)}):null,k?e.jsx("button",{type:"button","data-testid":"collectibles-card-freebet-action","data-action":k.action,onClick:()=>{k.action===$t.CLAIM?Eo(t.id):k.action===$t.PLAY&&L()},disabled:k.disabled,className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n(k.labelKey)}):null,M&&p?e.jsxs(e.Fragment,{children:[e.jsx("label",{htmlFor:"collectibles-card-onchain-address","data-testid":"collectibles-card-onchain-label",className:"flex min-h-11 w-full items-center justify-center rounded-lg bg-[#1f232f] px-4 py-2 text-center font-jost text-sm font-medium leading-5 text-[#adafce]",children:n("lootbox.confirm_withdraw.provide_wallet_address",{network:t.network})}),e.jsx("input",{id:"collectibles-card-onchain-address",type:"text",value:h,onChange:B=>b(B.target.value),placeholder:t.network,"data-testid":"collectibles-card-onchain-address",className:"h-11 w-full rounded-lg bg-[#11141b] px-4 font-jost text-sm text-[#adafce] placeholder:text-[#adafce]/40 focu
6638s:outline-none"}),e.jsxs("div",{className:"flex w-full items-center gap-4",children:[e.jsx("button",{type:"button","data-testid":"collectibles-card-onchain-cancel",onClick:()=>f(!1),className:"flex h-11 items-center justify-center rounded-lg bg-[#9092b2]/10 px-6 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-90",children:n("lootbox.confirm_withdraw.cancel")}),e.jsx("button",{type:"button","data-testid":"collectibles-card-onchain-confirm",onClick:()=>$_({id:t.id,address:h}),disabled:d||h.trim()==="",className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n("lootbox.confirm_withdraw.confirm")})]})]}):M?e.jsx("button",{type:"button","data-testid":"collectibles-card-onchain-action",onClick:()=>f(!0),className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90",children:n("lootbox.inventory.withdraw_crypto")}):null,w?e.jsx("button",{type:"button","data-testid":"collectibles-card-deposit-claim",onClick:()=>Eo(t.id),disabled:i||o,className:"flex h-11 w-full items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n("lootbox.inventory.withdraw_deposit")}):null,j?e.jsxs("button",{type:"button","data-testid":"collectibles-card-sell",onClick:()=>l(t),disabled:s,className:N?"flex h-11 w-full items-center justify-center gap-1.5 rounded-lg bg-[#9092b2]/10 px-6 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40":"flex h-11 w-full items-center justify-center gap-1.5 rounded-lg border border-[#637af4] bg-active-menu px-5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:[e.jsx("span",{children:n("lootbox.collectibles.sell_for")}),e.jsx("span",{className:"whitespace-nowrap",children:l2(t.value)})]}):null,y?e.jsx("button",{type:"button","data-testid":"collectibles-card-claim",onClick:E,className:"flex h-11 w-full items-center justify-center rounded-lg bg-[#9092b2]/10 px-6 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-90",children:n("lootbox.collectibles.claim")}):null]})]})}),document.body)},xG=({card:t,onOpen:s})=>{const a=lf(t);return e.jsxs("button",{type:"button","data-testid":"collectibles-inventory-card","data-inventory-id":t.id,onClick:()=>s(t),className:"group flex w-full flex-col gap-3 text-left",children:[e.jsxs("div",{className:"relative flex h-[300px] w-full flex-col items-center justify-center gap-4 text-clip rounded-lg bg-[#161922] p-4 transition-colors duration-200 group-hover:bg-[#191d27]",children:[e.jsx(Gs,{className:"absolute right-3 top-3 size-6"}),a===i1.PRODUCT?e.jsx("div",{className:"flex h-[224px] w-full items-center justify-center",children:e.jsx("img",{src:t.image,alt:t.name,loading:"lazy",className:"max-h-full max-w-full object-contain"})}):e.jsx("div",{"data-frame":a,className:g("shrink-0 overflow-hidden rounded-[6px] bg-black/20 shadow-[12px_12px_11px_rgba(0,0,0,0.25)]",a===i1.GAME?"aspect-[4/3] w-full max-w-[240px]":"h-[224px] w-[135px]"),children:e.jsx("img",{src:t.image,alt:t.name,loading:"lazy",className:"size-full object-cover transition-transform duration-200 group-hover:scale-[1.03]"})}),e.jsx("span",{className:"font-jost text-lg font-semibold leading-none text-[#adafce]",children:l2(t.value)})]}),e.jsxs("div",{className:"flex w-full items-center gap-4 px-2",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start gap-3",children:[e.jsx("span",{className:"w-full truncate font-jost text-base font-semibold leading-none text-[#adafce]",children:t.name}),t.subtitle?e.jsx("span",{className:"w-full truncate font-jost text-xs font-medium leading-none text-[#adafce]/60",children:t.subtitle}):null]}),t.odds?e.jsx("span",{className:"shrink-0 rounded-md bg-[#7086ff]/20 px-3 py-1.5 font-jost text-xs font-semibold leading-none text-[#7086ff]",children:t.odds}):null]})]})},fG=({className:t})=>
6638e.jsx("svg",{className:g("size-4",t),viewBox:"0 0 14 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M5.25 2.85938C5.25 2.95312 5.29688 3 5.39062 3C5.41406 3 5.4375 3 5.46094 3L6.5625 2.36719C6.65625 2.29688 6.82031 2.29688 6.91406 2.36719L8.01562 3C8.03906 3 8.0625 3 8.08594 3C8.17969 3 8.22656 2.95312 8.22656 2.85938V0H10.1016C10.7344 0 11.2266 0.515625 11.2266 1.125V4.875C11.2266 5.50781 10.7344 6 10.1016 6H3.375C2.74219 6 2.25 5.50781 2.25 4.875V1.125C2.25 0.515625 2.74219 0 3.375 0H5.25V2.85938ZM13.3125 7.89844C13.6172 8.32031 13.5234 8.90625 13.1016 9.21094L10.1484 11.3906C9.58594 11.7891 8.92969 12 8.25 12H4.5H0.75C0.328125 12 0 11.6719 0 11.25V9.75C0 9.35156 0.328125 9 0.75 9H1.59375L2.64844 8.15625C3.1875 7.73438 3.84375 7.5 4.52344 7.5H6.375H6.75H8.25C8.64844 7.5 9 7.85156 9 8.25C9 8.67188 8.64844 9 8.25 9H6.75H6.375C6.16406 9 6 9.1875 6 9.375C6 9.58594 6.16406 9.75 6.375 9.75H9.1875L12 7.6875C12.4219 7.38281 13.0078 7.47656 13.3125 7.89844ZM4.52344 9H4.5C4.52344 9 4.52344 9 4.52344 9Z"})}),pG=({className:t})=>e.jsx("svg",{className:g("size-4",t),viewBox:"0 0 15 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M0 1.125C0 0.515625 0.492188 0 1.125 0H8.625C9.23438 0 9.75 0.515625 9.75 1.125V2.25H10.9219C11.3203 2.25 11.7188 2.41406 12 2.69531L13.8047 4.5C14.0859 4.78125 14.25 5.17969 14.25 5.57812V6V6.75V8.25C14.6484 8.25 15 8.60156 15 9C15 9.42188 14.6484 9.75 14.25 9.75H13.5C13.5 10.9922 12.4922 12 11.25 12C10.0078 12 9 10.9922 9 9.75H6C6 10.9922 4.99219 12 3.75 12C2.50781 12 1.5 10.9922 1.5 9.75H1.125C0.492188 9.75 0 9.25781 0 8.625V1.125ZM9.75 6H12.75V5.57812L10.9219 3.75H9.75V6ZM3.75 10.875C4.14844 10.875 4.5 10.6641 4.71094 10.3125C4.92188 9.98438 4.92188 9.53906 4.71094 9.1875C4.5 8.85938 4.14844 8.625 3.75 8.625C3.32812 8.625 2.97656 8.85938 2.76562 9.1875C2.55469 9.53906 2.55469 9.98438 2.76562 10.3125C2.97656 10.6641 3.32812 10.875 3.75 10.875ZM12.375 9.75C12.375 9.35156 12.1406 9 11.8125 8.78906C11.4609 8.57812 11.0156 8.57812 10.6875 8.78906C10.3359 9 10.125 9.35156 10.125 9.75C10.125 10.1719 10.3359 10.5234 10.6875 10.7344C11.0156 10.9453 11.4609 10.9453 11.8125 10.7344C12.1406 10.5234 12.375 10.1719 12.375 9.75ZM6.02344 2.22656C5.78906 2.01562 5.4375 2.01562 5.22656 2.22656C4.99219 2.46094 4.99219 2.8125 5.22656 3.02344L6.14062 3.9375H2.25C1.92188 3.9375 1.6875 4.19531 1.6875 4.5C1.6875 4.82812 1.92188 5.0625 2.25 5.0625H6.14062L5.22656 5.97656C4.99219 6.21094 4.99219 6.5625 5.22656 6.77344C5.4375 7.00781 5.78906 7.00781 6.02344 6.77344L7.89844 4.89844C8.10938 4.6875 8.10938 4.33594 7.89844 4.10156L6.02344 2.22656Z"})}),hG=({className:t})=>e.jsx("svg",{className:g("size-4",t),viewBox:"0 0 9 13",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M1.875 2.25C1.45312 2.25 1.10156 2.03906 0.890625 1.6875C0.679688 1.35938 0.679688 0.914062 0.890625 0.5625C1.10156 0.234375 1.45312 0 1.875 0C2.27344 0 2.625 0.234375 2.83594 0.5625C3.04688 0.914062 3.04688 1.35938 2.83594 1.6875C2.625 2.03906 2.27344 2.25 1.875 2.25ZM2.25 7.19531H2.22656L3.42188 8.39062C3.60938 8.55469 3.70312 8.76562 3.75 9L4.10156 11.1328C4.17188 11.5547 3.89062 11.9297 3.49219 12C3.07031 12.0703 2.69531 11.7891 2.625 11.3906L2.29688 9.375L0.421875 7.5C0.140625 7.21875 0 6.84375 0 6.44531V4.38281C0 3.63281 0.609375 3 1.35938 3C1.92188 3 2.46094 3.28125 2.76562 3.75L3.77344 5.25H4.5V3C4.5 2.60156 4.82812 2.25 5.25 2.25H8.25C8.64844 2.25 9 2.60156 9 3V6C9 6.42188 8.64844 6.75 8.25 6.75H5.25H3.5625C3.1875 6.75 2.83594 6.5625 2.625 6.25781L2.25 5.67188V7.19531ZM0 8.13281L1.5 9.63281V11.25C1.5 11.6719 1.14844 12 0.75 12C0.328125 12 0 11.6719 0 11.25V8.13281Z"})}),gG={[Ro.DELIVERED]:{labelKey:"lootbox.collectibles.shipments.status_delivered",color:"text-[#73da69]",Icon:fG},[Ro.IN_TRANSIT]:{labelKey:"lootbox.collectibles.shipments.status_in_transit",color:"text-[#7086ff]",Icon:pG},[Ro.PREPARING]:{labelKey:"lootbox.collectibles.shipments.status_preparing",color:"text-[#fbb63f]",Icon:hG}},bG=t=>{var s;(s=navigator.clipboard)==null||s.writeText(t).catch(()=>{})},CG=({shipment:t})=>{const s=gG[V_(t.status)],a=z_(t.status),l=[n("lootbox.collectibles.shipments.stage_origin"),n("lootbox.collectibles.shipments.stage_transit"),n("lootbox.collectibles.shipments.stage_customs"),t.destination];return e.jsxs("div",{className:"flex flex-col gap-6 rounded-lg bg-[#161922] p-6 lg:flex-row lg:items-center lg:gap-8","data-testid":"collectibles-shipment","data-status":t.status,children:[e.jsxs("div",{className:"flex items-center gap-4 lg:w-[360
6638px] lg:shrink-0",children:[e.jsx("div",{className:"flex size-[100px] shrink-0 items-center justify-center overflow-hidden rounded bg-[#1f232f]",children:t.image?e.jsx("img",{src:t.image,alt:t.name,loading:"lazy",className:"max-h-full max-w-full object-contain"}):null}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("span",{className:s.color,children:e.jsx(s.Icon,{className:"size-4"})}),e.jsx("span",{className:g("font-jost text-sm font-medium",s.color),children:n(s.labelKey)}),t.arrives?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-jost text-sm font-medium text-[#adafce]/60",children:"·"}),e.jsx("span",{className:"font-jost text-sm font-medium text-[#adafce]/60",children:n("lootbox.collectibles.shipments.arrives",{date:t.arrives})})]}):null]}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"truncate font-jost text-lg font-semibold uppercase text-[#adafce]",children:t.name}),t.subtitle?e.jsx("span",{className:"truncate font-jost text-xs font-medium text-[#adafce]/60",children:t.subtitle}):null]}),t.trackingNumber?e.jsxs("button",{type:"button",onClick:()=>bG(t.trackingNumber??""),"aria-label":n("lootbox.collectibles.shipments.copy_tracking"),className:"flex w-fit max-w-full items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm font-medium text-[#adafce] transition-opacity hover:opacity-90",children:[e.jsx("span",{className:"shrink-0 opacity-60",children:n("lootbox.collectibles.shipments.tracking_nr")}),e.jsx("span",{className:"min-w-0 truncate",children:t.trackingNumber}),e.jsx(Mr,{className:"size-4 shrink-0 opacity-60"})]}):null]})]}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-4 lg:px-10",children:[e.jsx("div",{className:"flex items-center gap-2",children:l.map((r,i)=>e.jsxs("div",{className:"flex flex-1 items-center gap-2 last:flex-none",children:[i<a?e.jsx("span",{className:"flex size-6 shrink-0 items-center justify-center rounded-full border border-[#7086ff] bg-[#7086ff]/20 text-[#7086ff]",children:e.jsx(C1,{className:"size-3"})}):e.jsx("span",{className:"size-4 shrink-0 rounded-full bg-[#1f232f]"}),i<G_-1?e.jsx("div",{className:g("h-1 flex-1 rounded-full",i<a-1?"bg-[#7086ff]":"bg-[#1f232f]")}):null]},`${r}-${i}`))}),e.jsx("div",{className:"flex justify-between gap-2",children:l.map((r,i)=>e.jsx("span",{className:"min-w-0 truncate font-jost text-sm font-medium text-[#adafce]/60",children:r},`${r}-label-${i}`))})]})]})},jG=()=>{const[t,s]=C([H_,U_]);return s&&t.length===0?e.jsx("div",{className:"flex items-center justify-center py-16",children:e.jsx("div",{className:"size-8 animate-spin rounded-full border-2 border-[#1f232f] border-t-[#7086ff]"})}):t.length===0?e.jsx("div",{className:"py-16 text-center font-jost text-base font-medium text-[#adafce]/60","data-testid":"collectibles-shipments-empty",children:n("lootbox.collectibles.shipments.empty")}):e.jsx("div",{className:"flex flex-col gap-6","data-testid":"collectibles-shipments",children:t.map(a=>e.jsx(CG,{shipment:a},a.id))})},vG=({className:t})=>e.jsxs("svg",{className:g("size-4",t),viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M10.833 2C9.02118 2.00856 7.26347 2.6003 5.83526 3.6825C4.40705 4.76471 3.38903 6.27624 2.94069 7.98028L2.39226 7.1752C2.34034 7.09091 2.27137 7.0177 2.18951 6.95999C2.10766 6.90228 2.01461 6.86126 1.91597 6.8394C1.81734 6.81755 1.71517 6.81531 1.61562 6.83282C1.51607 6.85033 1.42121 6.88723 1.33675 6.9413C1.25229 6.99536 1.17999 7.06547 1.1242 7.1474C1.06841 7.22932 1.0303 7.32137 1.01215 7.41798C0.994004 7.51459 0.996203 7.61377 1.01862 7.70954C1.04103 7.8053 1.08319 7.89567 1.14256 7.97519L2.79085 10.3999C2.90534 10.5554 3.07415 10.6652 3.26585 10.709C3.4616 10.7467 3.66477 10.7088 3.83226 10.6035L6.3047 8.98681C6.38994 8.93513 6.46361 8.86734 6.5213 8.78746C6.579 8.70758 6.61955 8.61725 6.64055 8.52184C6.66154 8.42644 6.66254 8.32791 6.64349 8.23212C6.62444 8.13633 6.58574 8.04524 6.52968 7.96427C6.47361 7.8833 6.40134 7.81411 6.31716 7.76081C6.23299 7.70751 6.13862 7.6712 6.03968 7.65403C5.94075 7.63687 5.83927 7.6392 5.74128 7.66088C5.64329 7.68257 5.5508 7.72318 5.46931 7.78028L4.34473 8.51627C4.64403 7.33693 5.27881 6.26301 6.17664 5.41702C7.07447 4.57103 8.1992 3.98704 9.42251 3.73169C10.
66386458 3.47634 11.9184 3.55991 13.0952 3.97286C14.2719 4.38581 15.3053 5.11151 16.0776 6.06717C16.8499 7.02283 17.3299 8.16996 17.4628 9.37768C17.5958 10.5854 17.3763 11.8051 16.8295 12.8975C16.2827 13.99 15.4305 14.9113 14.3702 15.5563C13.31 16.2012 12.0843 16.5439 10.833 16.5452C9.76036 16.5424 8.70429 16.2883 7.75455 15.8043C6.80481 15.3204 5.98949 14.621 5.37791 13.7656C5.32313 13.684 5.25202 13.6139 5.16878 13.5594C5.08555 13.505 4.99189 13.4673 4.89337 13.4487C4.79485 13.4301 4.69348 13.4308 4.59528 13.451C4.49707 13.4711 4.40404 13.5102 4.32169 13.5659C4.23935 13.6216 4.16937 13.6928 4.11592 13.7753C4.06247 13.8577 4.02664 13.9498 4.01055 14.0459C3.99446 14.1421 3.99844 14.2404 4.02226 14.3351C4.04607 14.4297 4.08923 14.5188 4.14918 14.5969C5.14345 15.9883 6.57129 17.0334 8.22286 17.5786C9.87443 18.1238 11.6626 18.1404 13.3246 17.6259C14.9866 17.1114 16.4348 16.093 17.4562 14.7203C18.4777 13.3477 19.0186 11.6931 18.9995 9.99988C19.0069 7.88858 18.1512 5.86063 16.6203 4.3609C15.0893 2.86117 13.008 2.01212 10.833 2Z"}),e.jsx("path",{d:"M10.7581 5.59995C10.5594 5.59995 10.3688 5.67657 10.2283 5.81296C10.0878 5.94935 10.0088 6.13433 10.0088 6.32721V9.99988C10.012 10.1921 10.0905 10.376 10.2284 10.5141L12.476 12.7155C12.6171 12.8502 12.8
6638068 12.9262 13.0047 12.9271C13.2026 12.9281 13.393 12.854 13.5354 12.7206C13.6765 12.5848 13.7562 12.4001 13.757 12.2073C13.7579 12.0145 13.6798 11.8292 13.5399 11.6922L11.5073 9.70098V6.32721C11.5073 6.13433 11.4284 5.94935 11.2879 5.81296C11.1473 5.67657 10.9568 5.59995 10.7581 5.59995Z"})]}),rr="M18.2247 10.9856C20.3763 10.9856 22.3593 12.1674 23.4562 14.0237C24.5529 15.922 24.5529 18.2417 23.4562 20.0979C22.3593 21.9963 20.3763 23.136 18.2247 23.136C16.0311 23.1359 14.0481 21.9962 12.9513 20.0979C11.8548 18.2419 11.8548 15.9219 12.9513 14.0237C14.0481 12.1675 16.0311 10.9857 18.2247 10.9856ZM17.1271 12.5842C16.8743 12.5154 16.6132 12.6645 16.5441 12.9172L16.4005 13.4456C16.3684 13.5631 16.3828 13.6889 16.4406 13.7961L16.5245 13.9534C16.5822 14.0604 16.5974 14.1856 16.5656 14.303L15.3888 18.6165C15.3567 18.7339 15.2801 18.8347 15.1759 18.8977L15.0236 18.9895C14.9194 19.0524 14.8429 19.1534 14.8107 19.2708L14.6661 19.7991C14.5971 20.0521 14.7471 20.314 15.0001 20.3831L19.2823 21.551C19.5353 21.62 19.7963 21.471 19.8654 21.218L20.0099 20.6897C20.0419 20.5722 20.0276 20.4463 19.9698 20.3391L19.8849 20.1819C19.8273 20.0748 19.813 19.9496 19.8448 19.8323L21.0216 15.5188C21.0538 15.4015 21.1303 15.3005 21.2345 15.2375L21.3868 15.1458C21.4909 15.0828 21.5666 14.9818 21.5988 14.8645L21.7433 14.3352C21.8118 14.0824 21.663 13.8212 21.4103 13.7522L17.1271 12.5842ZM16.0509 18.5227L19.2579 19.3977C19.3694 19.4281 19.4356 19.5441 19.4054 19.6555C19.3749 19.767 19.2591 19.8324 19.1476 19.802L15.9406 18.927C15.8293 18.8964 15.7637 18.7816 15.7941 18.6702C15.8246 18.5589 15.9396 18.4926 16.0509 18.5227ZM17.2902 14.1145L20.4972 14.9895C20.6086 15.0199 20.6749 15.1359 20.6447 15.2473C20.6141 15.3587 20.4983 15.4242 20.3868 15.3938L17.1798 14.5188C17.0686 14.4882 17.0031 14.3733 17.0333 14.262C17.0639 14.1507 17.1788 14.0843 17.2902 14.1145Z",rf=({className:t})=>e.jsxs("svg",{className:g("size-6",t),viewBox:"0 0 24.2787 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:rr,fill:"url(#collectibles_lootbag_grady)"}),e.jsx("path",{d:rr,fill:"#FFD58D",style:{mixBlendMode:"color"}}),e.jsx("path",{d:rr,fill:"white",fillOpacity:"0.2"}),e.jsx("path",{d:rr,stroke:"#FCC66A",strokeWidth:"0.24"}),e.jsx("path",{d:"M13.4843 2.41187C14.6346 2.41193 15.5624 3.33964 15.5624 4.48999V5.97437C17.8955 5.97442 19.8201 7.63316 20.2303 9.84253C19.5876 9.65887 18.9161 9.56132 18.2303 9.56128C17.2863 9.56128 16.3736 9.73828 15.5282 10.0662C15.5492 9.99161 15.5624 9.91394 15.5624 9.83374C15.5624 9.35136 15.1541 8.94318 14.6718 8.94312H9.328C8.84558 8.94312 8.43738 9.35132 8.43738 9.83374C8.43752 10.3161 8.84566 10.7244 9.328 10.7244H14.2245C13.21 11.3662 12.3472 12.2492 11.7196 13.3113C11.6469 13.4371 11.5784 13.5645 11.5135 13.6931H9.328C7.84363 13.6931 6.65613 14.8806 6.65613 16.365V21.4119H6.06238C4.76363 21.4119 3.68751 20.3356 3.68738 19.0369V10.7244C3.68738 8.0896 5.80261 5.97437 8.43738 5.97437V4.48999C8.43738 3.3396 9.36511 2.41187 10.5155 2.41187H13.4843ZM10.8798 15.4744C10.4823 17.2818 10.7616 19.19 11.7196 20.8113C11.8397 21.019 11.9687 21.2192 12.1053 21.4119H8.43738V16.365C8.43738 15.8826 8.84558 15.4744 9.328 15.4744H10.8798ZM10.5155 4.19312C10.3671 4.19312 10.2186 4.34155 10.2186 4.48999V5.97437H13.7811V4.48999C13.7811 4.34159 13.6326 4.1932 13.4843 4.19312H10.5155Z",fill:"#C6C7DD"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"collectibles_lootbag_grady",x1:"11.4",y1:"22.236",x2:"36.1039",y2:"14.6475",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.0677083",stopColor:"#757575"}),e.jsx("stop",{offset:"0.21875",stopColor:"#9EA1A1"}),e.jsx("stop",{offset:"0.453125",stopColor:"#848B8A"}),e.jsx("stop",{offset:"0.531647",stopColor:"#576265"}),e.jsx("stop",{offset:"0.648252",stopColor:"#8EA0A5"}),e.jsx("stop",{offset:"0.895833",stopColor:"#757A7B"}),e.jsx("stop",{offset:"1",stopColor:"#576265"})]})})]}),R2="collectibles:inventory-card-intent",of=()=>{try{return typeof window>"u"?null:window.sessionStorage}catch{return null}},wG=t=>{var s;try{(s=of())==null||s.setItem(R2,String(t))}catch{}},yG=()=>{const t=of();if(!t)return null;try{const s=t.getItem(R2);if(t.removeItem(R2),!s)return null;const a=Number(s);return Number.isInteger(a)&&a>0?a:null}catch{return null}},_G=t=>Z_.find(s=>
6638s===t)??Ks.ALL,NG=t=>t===Ks.ALL?null:t,kG=(t,s)=>{const a=new URLSearchParams(t),l=NG(s);return l===null?a.delete("tab"):a.set("tab",l),a},SG={[Ks.ALL]:"lootbox.collectibles.tab_all",[Ks.POKEMON]:"lootbox.collectibles.tab_pokemon",[Ks.REWARDS]:"lootbox.collectibles.tab_rewards",[Ks.FREESPINS]:"lootbox.collectibles.tab_free_spins",[Ks.SHIPMENTS]:"lootbox.collectibles.tab_shipments"},i0=({label:t,value:s})=>e.jsxs("div",{className:"flex flex-col gap-1 rounded-xl bg-[#11141b] px-5 py-4",children:[e.jsx("span",{className:"font-jost text-xs font-medium text-[#adafce]/60",children:t}),e.jsx("span",{className:"font-jost text-lg font-semibold text-[#c6c7dd]",children:s})]}),AG=()=>{const t=Y(),[s,a]=Q1(),[l,r,i,o,d,u,c,x,p,f,h,b]=C([W_,K_,q_,Y_,X_,J_,Q_,eN,tN,sN,aN,Td]),v=m.useRef(!1),j=m.useRef(0),[y,N]=m.useState(null);m.useEffect(()=>{v.current||(v.current=!0,j.current=Td.getState(),N(yG()))},[]),m.useEffect(()=>{y!=null&&(c.some(_=>_.id===y)?(Id(y),N(null)):b>j.current&&!h&&N(null))},[y,c,b,h]);const k=nN(_G(s.get("tab")),r),w=lN(r);m.useEffect(()=>{Fd(k)},[k]);const S=_=>{Fd(_),a(A=>kG(A,_),{replace:!0,preventScrollReset:!0})},M=k===Ks.SHIPMENTS;return e.jsxs(e.Fragment,{children:[e.jsxs("section",{className:"mx-auto flex w-full max-w-[1184px] flex-col gap-8 px-4 lg:px-0","data-testid":"collectibles-inventory",children:[e.jsxs("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-start lg:justify-between",children:[e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(rf,{className:"size-8"}),e.jsx("h1",{className:"font-gilroy text-3xl font-black uppercase leading-none text-[#c6c7dd]",children:n("lootbox.collectibles.my_inventory")}),e.jsx("span",{className:"rounded-lg bg-[#1f232f] px-2 py-1 font-jost text-sm font-semibold text-[#adafce]",children:r[Ks.ALL]})]}),e.jsx("p",{className:"max-w-[420px] font-jost text-sm font-medium leading-snug text-[#adafce]/60",children:n("lootbox.collectibles.inventory_subtitle")})]}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsx(i0,{label:n("lootbox.collectibles.inventory_value"),value:d.inventoryValue}),e.jsx(i0,{label:n("lootbox.collectibles.open_buyback_offers"),value:d.buybackValue}),e.jsx(i0,{label:n("lootbox.collectibles.items_in_transit"),value:u})]})]}),e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[e.jsx("div",{className:"flex flex-wrap items-center gap-2",children:w.map(_=>e.jsxs("button",{type:"button","data-testid":"collectibles-inventory-tab","data-tab":_,"data-active":_===k,onClick:()=>S(_),className:g("flex items-center gap-2 rounded-full px-4 py-2 font-jost text-sm font-medium transition-colors duration-200",_===k?"bg-active-menu text-white":"bg-[#1f232f] text-[#adafce] hover:bg-[#262b39]"),children:[n(SG[_]),r[_]>0?e.jsx("span",{className:"text-xs opacity-60",children:r[_]}):null]},_))}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("button",{type:"button","data-testid":"collectibles-unboxing-history",onClick:()=>t(Di()),className:"flex items-center gap-2 font-jost text-sm font-medium text-[#adafce] transition-opacity hover:opacity-80",children:[e.jsx(vG,{}),n("lootbox.history.button")]}),js.collectiblesDeliveryEnabled?e.jsx("button",{type:"button","data-testid":"collectibles-claim-items",onClick:()=>t(Oi()),disabled:!rN(c,js.collectiblesDeliveryEnabled),className:"flex items-center justify-center rounded-lg border border-[#637af4] bg-active-menu px-6 py-2.5 font-jost text-sm font-semibold text-white transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:n("lootbox.collectibles.claim_items")}):null]})]}),M?null:e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsx("input",{type:"text",value:i,onChange:_=>iN(_.target.value),placeholder:n("lootbox.collectibles.search_inventory"),"data-testid":"collectibles-inventory-search",className:"h-11 min-w-0 basis-full rounded-lg bg-[#11141b] px-4 font-jost text-sm text-[#adafce] placeholder:text-[#adafce]/40 focu
6638s:outline-none sm:flex-1 sm:basis-0"}),e.jsxs("button",{type:"button","data-testid":"collectibles-inventory-sort",onClick:()=>oN(),className:"flex h-11 w-full shrink-0 items-center justify-center gap-2 rounded-lg bg-[#11141b] px-4 font-jost text-sm font-medium text-[#adafce] transition-opacity hover:opacity-90 sm:w-auto sm:justify-start",children:[e.jsxs("span",{className:"opacity-60",children:[n("lootbox.collectibles.sort_by"),":"]}),e.jsx("span",{children:n(o?"lootbox.collectibles.claim_flow.sort_highest":"lootbox.collectibles.claim_flow.sort_lowest")})]})]}),M?e.jsx(jG,{}):h&&l.length===0?e.jsx("div",{className:"flex items-center justify-center py-16",children:e.jsx("div",{className:"size-8 animate-spin rounded-full border-2 border-[#1f232f] border-t-[#7086ff]"})}):l.length===0?e.jsx("div",{className:"py-16 text-center font-jost text-base font-medium text-[#adafce]/60","data-testid":"collectibles-inventory-empty",children:n("lootbox.inventory.empty")}):e.jsx("div",{className:"grid grid-cols-2 gap-x-2 gap-y-6 sm:grid-cols-3 md:gap-6 xl:grid-cols-4","data-testid":"collectibles-inventory-grid",children:l.map(_=>e.jsx(xG,{card:_,onOpen:()=>Id(_.id)},_.id))})]}),x?e.jsx(mG,{card:x,selling:f,onClose:()=>dN(),onSell:_=>cN(_.id)}):null,p?e.jsx(Tc,{items:[{key:p.id,name:p.name,price:p.value}],title:n("lootbox.collectibles.card_sold"),onClose:()=>uN()}):null]})},cf=()=>{const t=Y(),[s,a]=C([te,Je]);return m.useEffect(()=>{a&&!s&&t(st(),{replace:!0})},[s,a,t]),m.useEffect(()=>{s&&mN()},[s]),m.useEffect(()=>()=>xN(),[]),e.jsx(AG,{})},LG=({className:t})=>e.jsxs("svg",{className:g("h-6 w-auto",t),viewBox:"0 0 58 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsxs("g",{clipPath:"url(#collectibles_alt_clip)",children:[e.jsx("path",{d:"M16.9949 23.9039H22.0601L13.9203 0.179688H9.24902L16.9949 23.9039Z",fill:"#C6C7DD"}),e.jsx("path",{d:"M7.3545 23.9031H7.3159L3.80527 13.4648L0 23.9033L7.3545 23.9031Z",fill:"#C6C7DD"}),e.jsx("path",{d:"M29.5051 0.0957031H24.6143V23.8649H40.8843V19.7893H29.5051V0.0957031Z",fill:"#C6C7DD"}),e.jsx("path",{d:"M49.5995 4.17136H56.5444V0.0957031H37.5029V4.17136H44.7086V23.8649H49.5995V4.17136Z",fill:"#C6C7DD"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"collectibles_alt_clip",children:e.jsx("rect",{width:"57.1429",height:"24",fill:"white"})})})]}),MG=({className:t})=>e.jsxs("svg",{className:g("h-6 w-auto",t),viewBox:"0 0 116 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsxs("g",{clipPath:"url(#collectibles_fanatics_clip)",children:[e.jsx("path",{d:"M62.1324 11.4591C64.9184 11.4591 66.8108 13.6143 66.8108 16.8208V22.7871C66.8108 22.8659 66.732 22.9448 66.6531 22.9448H63.9197C63.8408 22.9448 63.762 22.8659 63.762 22.7871V16.8471C63.762 15.6118 63.1575 14.2714 61.4491 14.2714H61.3965C60.1086 14.2977 59.0047 15.4541 59.0047 16.7683V22.7871C59.0047 22.8659 58.9259 22.9448 58.847 22.9448H56.1399C56.061 22.9448 55.9822 22.8659 55.9822 22.7871V11.7482C55.9822 11.6693 56.061 11.5905 56.1399 11.5905H58.7682C58.847 11.5905 58.9259 11.6693 58.9259 11.7482V12.7207C59.9247 11.8533 60.9497 11.4591 62.1324 11.4591ZM103.791 20.9473C103.739 20.9998 103.765 21.105 103.817 21.1575C105.447 22.7871 107.208 22.9974 108.732 22.9974C110.888 22.9974 112.491 22.1826 113.174 20.737C113.385 20.2902 113.49 19.8171 113.49 19.3177C113.49 16.4003 110.966 15.8746 108.785 15.7432C107.05 15.6381 107.05 15.0336 107.05 14.8233C107.05 14.0874 108.233 14.0085 108.732 14.0085C109.705 14.0085 110.441 14.2451 111.045 14.7707C111.098 14.8233 111.203 14.8233 111.256 14.7445L112.806 12.9572C112.859 12.9046 112.859 12.7995 112.78 12.7469C111.65 11.8008 110.441 11.4065 108.68 11.4065C107.55 11.4065 106.446 11.6956 105.631 12.1687C104.58 12.7995 104.028 13.7457 104.028 14.9022C104.028 16.926 105.631 18.1613 108.575 18.3715C110.231 18.4767 110.441 18.9498 110.441 19.3703C110.441 19.9748 109.626 20.2902 108.838 20.2902H108.759C107.471 20.2639 106.236 19.7908 105.421 19.0286C105.342 18.976 105.237 18.976 105.184 19.0549L103.791 20.9473ZM76.3253 19.0812C76.7721 18.5555 76.9824 17.8196 76.9824 17.0311C76.9824 15.6118 76.1151 14.1137 74.0124 14.1137C72.2777 14.1137 71.1213 15.2964 71.1213 17.0574C71.
66381213 18.8183 72.2777 20.0274 74.0124 20.0274C74.906 20.0274 75.7997 19.6857 76.3253 19.0812ZM76.9035 11.7219C76.9035 11.6431 76.9824 11.5642 77.0612 11.5642H79.7684C79.8473 11.5642 79.9261 11.6431 79.9261 11.7219V22.7871C79.9261 22.8659 79.8473 22.9448 79.7684 22.9448H77.0612C76.9824 22.9448 76.9035 22.8659 76.9035 22.7871V21.946C75.9574 22.8134 74.8272 22.8397 73.8547 22.8659H73.697C72.0675 22.8659 70.7007 22.3666 69.702 21.3941C68.6507 20.3691 68.125 18.8709 68.125 17.0837C68.125 13.6143 70.3328 11.3802 73.7759 11.3802H73.8284C74.906 11.3802 76.0362 11.4854 76.9298 12.2213L76.9035 11.7219ZM43.2349 8.83076V6.17617C43.2349 6.07104 43.156 5.99219 43.0509 5.99219H33.1947C33.0896 5.99219 33.0107 6.07104 33.0107 6.17617V22.7345C33.0107 22.8397 33.0896 22.9185 33.1947 22.9185H35.8493C35.9545 22.9185 36.0333 22.8397 36.0333 22.7345V15.9798C36.0333 15.8746 36.1122 15.7958 36.2173 15.7958H41.1848C41.2899 15.7958 41.3688 15.7169 41.3688 15.6118V12.9309C41.3688 12.8258 41.2899 12.7469 41.1848 12.7469H36.2173C36.1122 12.7469 36.0333 12.6681 36.0333 12.563V9.22501C36.0333 9.11988 36.1122 9.04103 36.2173 9.04103H43.0246C43.156 9.04103 43.2349 8.9359 43.2349 8.83076ZM101.189 19.3966C101.137 19.344 101.031 19.344 100.979 19.3966C100.453 19.8434 99.7699 20.0799 99.1128 20.0799C97.4569 20.0799 96.3005 18.8972 96.3005 17.1888C96.3005 15.4804 97.4569 14.2977 99.1128 14.2977C99.7699 14.2977 100.427 14.5342 100.979 14.981C101.031 15.0336 101.137 15.0336 101.189 14.981L102.95 13.1412C103.003 13.0886 103.003 12.9835 102.95 12.9309C101.82 11.8533 100.663 11.4065 99.0865 11.4065C95.5383 11.4065 93.2517 13.6931 93.2517 17.2414C93.2517 20.7896 95.5383 23.0762 99.0865 23.0762C100.663 23.0762 101.82 22.6294 102.95 21.5518C103.003 21.4992 103.003 21.3941 102.95 21.3415L101.189 19.3966ZM87.0488 22.9448C87.1277 22.9448 87.2065 22.8659 87.2065 22.7871V20.3165C87.2065 20.2376 87.1277 20.1588 87.0488 20.1588H85.7084C84.9199 20.1325 84.5519 19.7383 84.5519 18.8972V14.6656H87.0488C87.1277 14.6656 87.2065 14.5868 87.2065 14.5079V11.7482C87.2065 11.6693 87.1277 11.5905 87.0488 11.5905H84.5782V9.19873C84.5782 9.11988 84.4994 9.04103 84.4205 9.04103H81.6871C81.6082 9.04103 81.5294 9.11988 81.5294 9.19873V18.8972C81.5294 21.4729 82.975 22.9448 85.5244 22.9448H86.0238H87.0488ZM50.7256 19.0812C51.1724 18.5555 51.3826 17.8196 51.3826 17.0311C51.3826 15.6118 50.5153 14.1137 48.4126 14.1137C46.678 14.1137 45.5215 15.2964 45.5215 17.0574C45.5215 18.8183 46.678 20.0274 48.4126 20.0274C49.3326 20.0274 50.2262 19.6857 50.7256 19.0812ZM51.3301 11.7219C51.3301 11.6431 51.4089 11.5642 51.4878 11.5642H54.1949C54.2738 11.5642 54.3526 11.6431 54.3526 11.7219V22.7871C54.3526 22.8659 54.2738 22.9448 54.1949 22.9448H51.4878C51.4089 22.9448 51.3301 22.8659 51.3301 22.7871V21.946C50.3839 22.8134 49.2537 22.8397 48.2812 22.8659H48.1235C46.494 22.8659 45.1273 22.3666 44.1285 21.3941C43.0772 20.3691 42.5515 18.8709 42.5515 17.0837C42.5252 13.6143 44.733 11.3539 48.1498 11.3539H48.2024C49.28 11.3539 50.4102 11.4591 51.3038 12.195L51.3301 11.7219ZM88.8361 22.9448H91.5695C91.6484 22.9448 91.7272 22.8659 91.7272 22.7871V11.7219C91.7272 11.6431 91.6484 11.5642 91.5695 11.5642H88.8361C88.7572 11.5642 88.6784 11.6431 88.6784 11.7219V22.7871C88.7047 22.8659 88.7572 22.9448 88.8361 22.9448ZM91.9375 8.22625C91.9375 5.99219 88.5733 5.99219 88.5733 8.22625C88.547 10.434 91.9375 10.434 91.9375 8.22625Z",fill:"#C6C7DD"}),e.jsx("path",{d:"M28.3859 2.78683L25.5473 7.20239C25.4948 7.28124 25.3633 7.3338 25.2845 7.28124C18.74 3.99585 11.1705 10.041 4.49455 8.59539C4.44199 8.56911 4.38942 8.54283 4.33686 8.49026C4.36314 8.49026 1.13032 3.54904 0.0527086 1.8932C-0.078707 1.68293 0.0789917 1.39382 0.368106 1.4201C0.946335 1.55152 3.46951 2.10346 5.41446 2.26116C15.5335 2.81311 21.0266 -3.25829 28.3596 2.49771C28.4385 2.55028 28.4648 2.68169 28.3859 2.78683ZM20.133 15.429C20.1856 15.4553 20.2381 15.429 20.2907 15.3764L23.7075 10.041C23.7601 9.96212 23.7075 9.88327 23.6287 9.85698C18.6612 8.14858 14.009 11.434 6.9126 11.618C6.72862 11.618 6.54464 11.8282 6.67605 12.0648L14.3244 23.8922C14.4296 24.1024 14.6924 23.971 14.6661 23.787L13.0103 16.2963C12.984 16.2175 13.0366 16.1649 13.0891 16.1386C13.7462 15.9547 18.0829 14.4828 20.133 15.429Z",fill:"#C6C7DD"}),e.jsx("path",{d:"M115.435 10.3816C115.435 10.9335 115.093 11.3803 114.463 11.3803C113.832 11.3803 113.49 10.9335 113.49 10.3816C113.49 9.82963 113.832 9.38281 114.463 9.38281C115.093 9.38281 115.435 9.82963 115.435 10.3816ZM114.463 11.2226C114.988 11.2226 115.277 10.8547 115.277 10.3816C115.277 9.90847 114.988 9.54051 114.463 9.54051C113.937 9.54051 113.648 9.90847 113.648 10.3816C113.648 10.8547 113.937 11.2226 114.463 11.2226ZM114.62 10.513C115.015 10.4604 114.988 9.85591 114.542 9.85591H114.068V10.881H114.226V10.513H114.436L114.752 10.881H114.936V10.8547L114.62 10.513ZM114.542 10.0136C114.804 10.
66380136 114.804 10.3816 114.542 10.3816H114.226V10.0136H114.542Z",fill:"#C6C7DD"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"collectibles_fanatics_clip",children:e.jsx("rect",{width:"115.436",height:"24",fill:"white"})})})]}),BG=({className:t})=>e.jsx("svg",{className:g("h-5 w-auto",t),viewBox:"0 0 64 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M22.472 10.992C22.472 10.992 22.464 10.928 22.432 10.92C20.84 10.432 19.504 9.48 19.504 7.216C19.504 6.424 19.744 5.352 19.944 4.584C20.296 3.264 20.656 2.416 21.24 1.72C21.264 1.696 21.256 1.656 21.24 1.64C20.184 0.608 18.52 0 15.952 0H0.168C0.072 0 0 0.08 0 0.168V19.336C0 19.432 0.072 19.504 0.168 19.504H5.688C5.784 19.504 5.856 19.424 5.856 19.336V14.776C5.856 14.68 5.928 14.608 6.024 14.608H17.48C20.376 14.608 21.848 12.976 22.472 11V10.992ZM16.848 7.68C16.848 8.84 16.32 9.752 14.952 9.752H6.024C5.928 9.752 5.856 9.672 5.856 9.584V5.024C5.856 4.928 5.928 4.856 6.024 4.856H14.448C16.216 4.856 16.848 5.608 16.848 6.928V7.68ZM50.528 0.0879999C50.5139 0.061933 50.4931 0.040062 50.4679 0.0246067C50.4426 0.00915139 50.4136 0.00066197 50.384 0H42.968C42.904 0 42.848 0.0319999 42.816 0.0879999L37.248 10.6C37.2 10.696 37.216 10.816 37.296 10.888C38.16 11.688 38.632 12.752 38.632 13.96C38.632 15.52 38.056 17.584 35.608 19.344C35.536 19.392 35.568 19.504 35.656 19.504H38.96C39.024 19.504 39.08 19.464 39.112 19.408L40.76 16.088C40.76 16.088 40.792 16.056 40.816 16.056H52.608C52.608 16.056 52.648 16.072 52.664 16.088L54.416 19.416C54.448 19.472 54.504 19.504 54.568 19.504H60.872C60.92 19.504 60.952 19.456 60.928 19.408L50.528 0.0879999ZM50.376 11.856H43.032C43.032 11.856 42.976 11.816 42.992 11.792L46.608 4.6C46.608 4.6 46.672 4.568 46.688 4.6L50.408 11.792C50.408 11.792 50.408 11.856 50.368 11.856H50.376ZM64 18.808C64 19.392 63.552 19.848 62.976 19.848C62.4 19.848 61.944 19.392 61.944 18.808C61.944 18.224 62.4 17.784 62.976 17.784C63.552 17.784 64 18.24 64 18.808ZM62.2 18.808C62.2 19.264 62.528 19.624 62.984 19.624C63.44 19.624 63.752 19.264 63.752 18.816C63.752 18.368 63.424 17.992 62.984 17.992C62.544 17.992 62.208 18.36 62.208 18.808H62.2ZM62.816 19.344H62.584V18.32C62.672 18.304 62.808 18.288 62.968 18.288C63.16 18.288 63.24 18.32 63.32 18.36C63.376 18.408 63.416 18.488 63.416 18.584C63.416 18.696 63.328 18.784 63.208 18.824V18.84C63.304 18.88 63.36 18.952 63.392 19.088C63.424 19.24 63.44 19.304 63.464 19.344H63.216C63.216 19.344 63.168 19.216 63.136 19.096C63.12 18.984 63.056 18.936 62.928 18.936H62.816V19.344ZM62.824 18.76H62.936C63.064 18.76 63.168 18.712 63.168 18.608C63.168 18.512 63.104 18.448 62.952 18.448C62.888 18.448 62.848 18.448 62.824 18.464V18.76Z",fill:"#C6C7DD"})}),EG=[{x:163,y:127,n:6},{x:0,y:140,n:2},{x:81,y:153,n:6},{x:244,y:170,n:2},{x:163,y:0,n:4},{x:0,y:13,n:1},{x:81,y:26,n:3},{x:244,y:43,n:5}],o0=({step:t})=>e.jsx("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-[#7086ff]/10 font-jost text-base font-medium text-[#7086ff]",children:t}),RG=()=>e.jsx("section",{className:"py-10",children:e.jsxs("div",{className:"flex flex-col gap-6 overflow-hidden rounded-2xl bg-[#161923] p-6",children:[e.jsxs("div",{className:"flex flex-col gap-4 md:flex-row md:items-start md:gap-6",children:[e.jsxs("div",{className:"flex flex-col gap-4 md:flex-1",children:[e.jsx("h2",{className:"font-gilroy text-2xl font-bold leading-tight text-[#c6c7dd]",children:n("lootbox.collectibles.how_it_works")}),e.jsx("p",{className:"max-w-[293px] font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:n("lootbox.collectibles.win_paragraph")})]}),e.jsxs("div",{className:"flex shrink-0 flex-wrap items-center gap-x-6 gap-y-3",children:[e.jsx("span",{className:"whitespace-nowrap font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:n("lootbox.collectibles.secured_by")}),e.jsx(BG,{className:"shrink-0"}),e.jsx(MG,{className:"shrink-0"}),e.jsx(LG,{className:"shrink-0"})]})]}),e.jsxs("div",{className:"grid gap-4 md:grid-cols-3",children:[e.jsxs("div",{className:"relative flex h-[302px] flex-col overflow-hidden rounded-lg bg-[#1f222d] p-4",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(o0,{step:1}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h3",{className:"font-jost text-base font-semibold leading-none text-[#c6c7d
6638d]",children:n("lootbox.collectibles.step_pick_title")}),e.jsx("p",{className:"font-jost text-xs font-medium leading-[1.3] text-[#adafce] opacity-40",children:n("lootbox.collectibles.step_pick_text")})]})]}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 top-[88px] flex justify-center overflow-hidden",children:e.jsx("div",{className:"relative h-[291px] w-drawer",children:EG.map(t=>e.jsx("img",{src:`/collectibles/landing/packs/${t.n}.webp`,alt:"","aria-hidden":"true",loading:"lazy",className:"absolute w-[76px] object-contain drop-shadow-[3px_5px_6px_rgba(0,0,0,0.4)]",style:{left:`${t.x}px`,top:`${t.y}px`}},`${t.x}-${t.y}`))})}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-[57px] bg-[linear-gradient(to_top,#1f222d,rgba(31,34,45,0))]"})]}),e.jsxs("div",{className:"relative flex h-[302px] flex-col overflow-hidden rounded-lg bg-[#1f222d] p-4",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(o0,{step:2}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h3",{className:"font-jost text-base font-semibold leading-none text-[#c6c7dd]",children:n("lootbox.collectibles.step_reveal_title")}),e.jsx("p",{className:"font-jost text-xs font-medium leading-[1.3] text-[#adafce] opacity-40",children:n("lootbox.collectibles.step_reveal_text")})]})]}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex h-[210px] items-end justify-center",children:e.jsx("img",{src:"/collectibles/landing/steps/2.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"h-full w-auto object-contain object-bottom"})}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-[57px] bg-[linear-gradient(to_top,#1f222d,rgba(31,34,45,0))]"})]}),e.jsxs("div",{className:"relative flex h-[302px] flex-col overflow-hidden rounded-lg bg-[#1f222d] p-4",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(o0,{step:3}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h3",{className:"font-jost text-base font-semibold leading-none text-[#c6c7dd]",children:n("lootbox.collectibles.step_keep_title")}),e.jsx("p",{className:"font-jost text-xs font-medium leading-[1.3] text-[#adafce] opacity-40",children:n("lootbox.collectibles.step_keep_text")})]})]}),e.jsx("div",{className:"pointer-events-none absolute left-[-9px] top-[30px] flex h-[354px] w-[315px] items-center justify-center",children:e.jsx("img",{src:"/collectibles/landing/steps/3.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"h-[292px] w-[211px] max-w-none rotate-[25.08deg] object-cover drop-shadow-[20px_36px_34px_rgba(0,0,0,0.25)]"})})]})]})]})}),df=3,Fn=(t,s,a)=>Math.min(a,Math.max(s,t)),TG=(t,s,a,l)=>{const r=t-s,i=Math.min(Math.abs(r),df),o=Fn(-r*38,-52,52),d=1-Math.min(i,1)*.26-Math.max(i-1,0)*.06,u=Math.max(0,1-Math.min(i,1)*.52-Math.max(i-1,0)*.22);return{width:`${a}px`,transform:`translate(-50%,-50%) translateX(${r*l}px) rotateY(${o}deg) scale(${d})`,filter:`brightness(${u})`,zIndex:100-Math.round(i*10)}},K5=({packs:t})=>{const[s,a]=m.useState(1),[l,r]=m.useState(!1),[i,o]=m.useState(0),d=m.useRef(null),u=m.useRef(!1),c=m.useRef({x:0,position:0});m.useEffect(()=>{!u.current&&t.length&&(a(Math.min(1,t.length-1)),u.current=!0)},[t.length]),m.useEffect(()=>{const j=d.current;if(!j)return;o(j.clientWidth);const y=new ResizeObserver(()=>o(j.clientWidth));return y.observe(j),()=>y.disconnect()},[]);const x=Math.min(Math.max(i*.3,120),210),p=x*.56,f=j=>{r(!0),c.current={x:j.clientX,position:s},j.currentTarget.setPointerCapture(j.pointerId)},h=j=>{l&&a(Fn(c.current.position-(j.clientX-c.current.x)/p,0,t.length-1))},b=()=>{l&&(r(!1),a(j=>Fn(Math.round(j),0,t.length-1)))},v=j=>{j.key==="ArrowLeft"?a(y=>Fn(Math.round(y)-1,0,t.length-1)):j.key==="ArrowRight"&&a(y=>Fn(Math.round(y)+1,0,t.length-1))};return e.jsx("div",{ref:d,role:"slider",tabIndex:0,"aria-label":"Pack spinner","aria-valuemin":0,"aria-valuemax":t.length-1,"aria-valuenow":Math.round(s),className:"collectibles-spinner-stage relative size-full cursor-grab touch-pan-y select-none [perspective:1100px] active:cursor-grabbing",onPointerDown:f,onPointerMove:h,onPointerUp:b,onPointerCancel:b,onKeyDown:v,children:t.map((j,y)=>Math.abs(y-s)<=df?e.jsx(ce,{src:j.image,alt:j.name,draggable:!1,style:TG(y,s,x,p),className:g("pointer-events-none absolute left-1/2 top-1/2 max-w-none drop-shadow-[7px_8px_10px_rgba(0,0,0,0.45)]",l?"":"transition-[transform,filter] duration-300 ease-out")},j.id):null)})},uf=({className:t})=>e.jsxs("svg",{className:g("size-[52px]",t),viewBox:"0 0 52 52",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("g",{clipPath:"url(#collectibles_hand_clip)",children:e.jsx("path",{d:"M21.1689 11.4168C21.302 11.3151 21.6682 11.1589 21.8329 11.084C22.6663 10.705 23.37 10.3865 24.3003 10.2679C24.8698 10.1903 25.4472 10.1915 26.0166 10.2711C26.9662 10.4022 28.5563 10.8248 29.5331 11.0456C31.2689 11.44 32.9983 11.8615 34.7208 12.3097C35.8911 12.6114 37.
66380524 12.9182 38.1832 13.3064C40.2774 14.0326 40.8418 15.7688 41.2452 17.7256C41.6732 19.8026 41.7817 21.5759 41.2265 23.6363C40.8195 25.1461 40.1667 26.6531 39.61 28.1213C38.8122 30.1886 38.1026 32.2887 37.4837 34.4163C37.2498 35.232 37.0408 36.0546 36.8564 36.8829C36.7685 37.2762 36.6382 38.0303 36.5149 38.3819C36.4424 38.5897 36.3348 38.7839 36.197 38.9558C35.8379 39.4062 35.2762 39.685 34.7094 39.7364C34.0094 39.7996 33.39 39.5905 32.8583 39.1355C31.2348 37.7454 31.6132 35.7092 31.9419 33.85C32.1068 32.9175 32.2865 32.0312 32.4642 31.1055C32.5883 30.4597 32.7462 29.6604 32.6847 29.0162C32.6249 28.3868 32.3786 27.7489 31.8753 27.3451C31.6982 27.203 31.4936 27.099 31.2743 27.0397C30.6902 26.8771 28.6675 26.7487 27.9768 26.7548C27.7035 26.7572 27.2644 26.9845 27.1052 27.2421C26.7296 27.8497 26.5884 28.9193 26.3955 29.684C26.252 30.4693 25.8979 31.374 25.8903 32.1607C25.8867 32.5293 26.8844 33.2849 27.1555 33.5164C27.9031 34.1427 28.6449 34.7756 29.3816 35.4148C30.0052 35.9575 30.7052 36.5113 31.1667 37.1955C31.4146 37.558 31.5717 37.975 31.625 38.4109C31.7595 39.5499 31.086 40.7259 29.8733 40.8525C29.5338 40.8872 29.1913 40.8301 28.8814 40.6871C28.5144 40.5138 27.8463 39.9185 27.4979 39.6315L25.6499 38.1206L23.0431 35.9928C21.7137 34.9086 20.0101 33.9482 20.2811 32.004C20.3576 31.4559 20.4641 30.9185 20.5665 30.3754L21.1415 27.3012C19.9667 29.3052 18.6638 31.3697 17.4445 33.3552L16.0708 35.5695C15.5169 36.4492 15.0756 37.3443 14.0675 37.7514C12.4565 38.4021 10.825 37.0087 11.3917 35.3128C11.5143 34.9462 11.766 34.5506 11.9538 34.2099C12.2682 33.6456 12.5773 33.0783 12.8811 32.5083C14.1247 30.1764 15.4945 27.6785 16.6395 25.3024C16.6187 25.3267 16.5976 25.3507 16.5762 25.3743C15.8425 26.1744 14.7307 27.201 13.9357 27.9797C13.3545 28.5509 12.7706 29.1192 12.1837 29.6845C11.7165 30.1331 11.1255 30.7156 10.5851 31.0588C10.2443 31.2722 9.85435 31.3945 9.45272 31.414C8.8452 31.4441 8.25126 31.2278 7.80531 30.8142C7.36382 30.409 7.13935 29.9045 7.11954 29.3061C7.10704 28.8421 7.24207 28.3861 7.50519 28.0038C7.75767 27.6445 8.28429 27.1874 8.62276 26.861C9.13495 26.3615 9.64251 25.8572 10.1454 25.3482C11.8195 23.6108 13.47 21.8507 15.0964 20.0685C13.9193 20.5579 12.7335 21.148 11.5616 21.6527C11.0947 21.8538 10.2955 22.263 9.83293 22.3726C9.47612 22.4543 9.10534 22.453 8.74913 22.3687C8.26322 22.2513 7.79446 21.9168 7.54345 21.4833C7.31687 21.0891 7.25905 20.6202 7.38305 20.1828C7.5861 19.471 8.16703 19.2249 8.74674 18.8687C9.04475 18.6856 9.34851 18.51 9.64912 18.3311C10.665 17.7275 11.6777 17.1187 12.6873 16.5047L17.7434 13.4302C18.8369 12.7672 20.0451 12.0204 21.1689 11.4168Z",fill:"currentColor"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"collectibles_hand_clip",children:e.jsx("rect",{width:"38.7879",height:"38.7879",fill:"white",transform:"translate(0 15.8584) rotate(-24.1318)"})})})]}),IG=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 13.3333 16.6667",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M1.39127 6.5953L3.94305 3.14277C5.59252 0.911062 6.41726 -0.204792 7.18672 0.0310112C7.95619 0.266815 7.95619 1.63541 7.95619 4.3726V4.63068C7.95619 5.61793 7.95619 6.11155 8.27164 6.42118L8.28833 6.43722C8.61059 6.7403 9.12435 6.7403 10.1519 6.7403C12.0009 6.7403 12.9255 6.7403 13.2379 7.30109C13.2431 7.31037 13.2481 7.31973 13.253 7.32916C13.548 7.89863 13.0127 8.62289 11.942 10.0714L9.39025 13.5239C7.74075 15.7556 6.916 16.8715 6.14653 16.6357C5.37706 16.3998 5.37708 15.0312 5.37712 12.294L5.37713 12.036C5.37714 11.0488 5.37715 10.5552 5.0617 10.2455L5.04501 10.2295C4.72275 9.92639 4.20899 9.92639 3.18146 9.92639C1.3324 9.92639 0.407873 9.92639 0.0954139 9.36561C0.0902405 9.35632 0.0852112 9.34696 0.0803277 9.33754C-0.214632 8.76807 0.320669 8.04381 1.39127 6.5953Z",fill:"currentColor"})}),FG=({className:t})=>e.jsxs("svg",{className:g("size-5",t),viewBox:"0 0 17.5008 16.5789",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M7.20591 9.55104C7.20591 9.28274 6.97546 9.06518 6.6912 9.06518H6.51143L4.74866 5.30952C4.4103 5.3935 4.06943 5.46708 3.7266 5.53073L5.38557 9.06518H1.8204L3.45689 5.57859C3.05851 5.64609 2.65772 5.70007 2.25522 5.74001L0.694499 9.06518H0.514729C0.230474 9.06518 2.29881e-05 9.28274 2.29881e-05 9.5
66385104C-0.00759466 11.2206 1.87938 12.3412 3.60297 12.3039C5.3262 12.3416 7.21404 11.2202 7.20591 9.55104Z",fill:"currentColor"}),e.jsx("path",{d:"M16.9861 9.06518H16.8064L15.2457 5.74001C14.8432 5.70007 14.4424 5.64609 14.044 5.57859L15.6804 9.06518H12.1154L13.7743 5.53073C13.4315 5.46712 13.0905 5.3935 12.7522 5.30952L10.9894 9.06518H10.8096C10.5254 9.06518 10.2949 9.28274 10.2949 9.55104C10.2949 10.3098 10.6867 11.0153 11.3982 11.5376C12.725 12.5522 15.0708 12.5523 16.3976 11.5376C17.109 11.0153 17.5008 10.3098 17.5008 9.55104C17.5008 9.28274 17.2704 9.06518 16.9861 9.06518Z",fill:"currentColor"}),e.jsx("path",{d:"M0.515153 4.85484C1.92772 4.85484 3.33409 4.6739 4.69525 4.31709C7.34791 3.62159 10.1521 3.62159 12.8048 4.31709C14.1659 4.67393 15.5723 4.85484 16.9848 4.85484C17.5686 4.85484 17.7014 4.08248 17.1476 3.90821C15.8116 3.4879 14.51 2.94752 13.2791 2.30202L12.4659 1.87565C11.4823 1.35989 10.385 1.05523 9.26468 0.98349V0.482732C9.23935 -0.161154 8.26034 -0.160667 8.23526 0.482732V0.98349C7.11496 1.05523 6.01767 1.35989 5.03406 1.87565L4.22083 2.30202C2.98986 2.94752 1.68834 3.4879 0.352369 3.90821C-0.201454 4.08248 -0.0686945 4.85484 0.515153 4.85484Z",fill:"currentColor"}),e.jsx("path",{d:"M10.8083 14.6357H6.69061C5.8378 14.6357 5.14648 15.2883 5.14648 16.0932C5.14648 16.3614 5.37694 16.5789 5.66119 16.5789H11.8377C12.1219 16.5789 12.3524 16.3614 12.3524 16.0932C12.3524 15.2883 11.661 14.6357 10.8083 14.6357Z",fill:"currentColor"}),e.jsx("path",{d:"M8.23633 13.6642H9.26575V4.77617C8.92299 4.76412 8.57909 4.76412 8.23633 4.77617V13.6642Z",fill:"currentColor"})]}),OG=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 15 16.6667",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7.01388C0 4.34923 0 3.0169 0.314596 2.56867C0.629193 2.12045 1.88194 1.69163 4.38743 0.833994L4.86477 0.670597C6.17082 0.223532 6.82384 0 7.5 0C8.17616 0 8.82918 0.223533 10.1352 0.670598L10.6126 0.833994C13.1181 1.69163 14.3708 2.12045 14.6854 2.56867C15 3.0169 15 4.34923 15 7.01388V8.32613C15 13.0245 11.4675 15.3046 9.2512 16.2727C8.64999 16.5354 8.34938 16.6667 7.5 16.6667C6.65062 16.6667 6.35001 16.5354 5.7488 16.2727C3.53247 15.3046 0 13.0245 0 8.32613V7.01388ZM9.16667 5.83333C9.16667 6.75381 8.42047 7.5 7.5 7.5C6.57953 7.5 5.83333 6.75381 5.83333 5.83333C5.83333 4.91286 6.57953 4.16667 7.5 4.16667C8.42047 4.16667 9.16667 4.91286 9.16667 5.83333ZM7.5 12.5C10.8333 12.5 10.8333 11.7538 10.8333 10.8333C10.8333 9.91286 9.34095 9.16667 7.5 9.16667C5.65905 9.16667 4.16667 9.91286 4.16667 10.8333C4.16667 11.7538 4.16667 12.5 7.5 12.5Z",fill:"currentColor"})}),q5="/collectibles/landing/hero/hero-pack.webp",c0="flex h-11 items-center justify-center gap-2.5 rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(158deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-base font-semibold text-white shadow-[0_0_80px_8px_rgba(112,134,255,0.3)]",Y5="flex h-11 items-center justify-center gap-2 rounded-lg bg-[#252a35] px-6 font-jost text-base font-semibold text-[#9092b2] transition-colors hover:bg-[#2c313d]",DG=({variant:t,loading:s,packs:a,primarySlug:l,bestPull:r})=>{const i=Y(),{openModal:o}=W(),d=t==="member-empty",u=t==="member-items"&&r!==null,c=()=>{l&&i(tl(l))},x=()=>o(_e,{tab:"register"}),p=()=>i(h2());return e.jsxs("section",{className:"relative flex flex-col items-center justify-center gap-6 lg:min-h-[500px] lg:flex-row lg:justify-between",children:[e.jsx("div",{className:"h-[260px] w-full lg:hidden",children:s?e.jsx("div",{className:"mx-auto h-full w-[220px] animate-pulse rounded-3xl bg-[#1f232f]/40"}):e.jsx(K5,{packs:a})}),e.jsxs("div",{className:"relative z-10 flex w-full flex-col items-center gap-8 py-6 text-center lg:max-w-[600px] lg:items-start lg:text-left",children:[e.jsx("div",{className:"flex flex-col items-center gap-4 md:items-start",children:s?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"h-6 w-40 animate-pulse rounded-md bg-[#1f232f]"}),e.jsx("div",{className:"h-11 w-64 animate-pulse rounded-lg bg-[#1f232f] md:h-14 md:w-80"}),e.jsx("div",{className:"h-5 w-full max-w-[420px] animate-pulse rounded-md bg-[#1f232f]"})]}):u?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"collectibles-hero-overline text-[20px] font-[900] leading-[1.2] md:text-[24px] lg:text-[28px]",children:n("lootbox.collectibles.hero_best_pull")}),e.jsx("h1",{className:"line-clamp-3 break-words font-gilroy text-[40px] font-black uppercase leading-[0.95] text-[#c6c7d
6638d] md:text-[56px]",children:r.card}),e.jsx("p",{className:"line-clamp-2 max-w-[440px] break-words font-jost text-base font-medium leading-[1.4] text-[#adafce] opacity-60",children:r.subtitle}),e.jsxs("div",{className:"mt-1 flex flex-wrap items-center justify-center gap-2 md:justify-start",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-md bg-[#7086ff]/20 px-2.5 py-1.5 font-jost text-xs leading-none text-[#7086ff]",children:[e.jsx("span",{className:"font-medium",children:r.rarity}),e.jsx("span",{className:"font-semibold",children:r.odds})]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-md bg-[#1f232f] px-2.5 py-1.5 font-jost text-xs leading-none",children:[e.jsx("span",{className:"text-[#adafce]/60",children:"Value"}),e.jsxs("span",{className:"font-semibold text-[#adafce]",children:["$",r.value]})]}),r.psa?e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-md bg-[#1f232f] px-2.5 py-1.5 font-jost text-xs leading-none",children:[e.jsx("span",{className:"text-[#adafce]/60",children:"PSA"}),e.jsx("span",{className:"font-semibold text-[#adafce]",children:r.psa})]}):null]})]}):d?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"collectibles-hero-overline text-[20px] font-[900] leading-[1.2] md:text-[24px] lg:text-[28px]",children:n("lootbox.collectibles.hero_empty_overline")}),e.jsx("h1",{className:"collectibles-hero-title text-[34px] font-[900] uppercase leading-[0.95] md:text-44 lg:text-[56px]",children:n("lootbox.collectibles.hero_empty_title")}),e.jsx("p",{className:"max-w-[440px] font-jost text-base font-medium leading-[1.4] text-[#adafce] opacity-60",children:n("lootbox.collectibles.hero_empty_text")})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"collectibles-hero-overline text-[20px] font-[900] leading-[1.2] md:text-[26px] lg:text-[32px]",children:[e.jsx("span",{className:"lg:hidden",children:n("lootbox.collectibles.hero_overline")}),e.jsx("span",{className:"hidden lg:inline",children:n("lootbox.collectibles.hero_guest_overline")})]}),e.jsxs("h1",{className:"collectibles-hero-title text-[40px] font-[900] uppercase leading-[0.9] md:text-[56px] lg:text-[80px]",children:[n("lootbox.collectibles.hero_guest_title_line1"),e.jsx("br",{}),n("lootbox.collectibles.hero_guest_title_line2")]}),e.jsxs("p",{className:"max-w-[440px] font-jost text-base font-medium leading-[1.4] text-[#adafce] opacity-60",children:[e.jsx("span",{className:"lg:hidden",children:n("lootbox.collectibles.win_paragraph")}),e.jsx("span",{className:"hidden lg:inline",children:n("lootbox.collectibles.hero_guest_paragraph")})]})]})}),e.jsx("div",{className:"flex flex-col items-center gap-8 md:items-start",children:s?e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"h-11 w-44 animate-pulse rounded-lg bg-[#1f232f]"}),e.jsx("div",{className:"h-11 w-28 animate-pulse rounded-lg bg-[#1f232f]"})]}):u?e.jsxs("div",{className:"flex w-full flex-col items-stretch gap-3 sm:w-auto sm:flex-row sm:items-center sm:gap-4",children:[e.jsxs("button",{type:"button",onClick:c,className:g(c0,"w-full whitespace-nowrap sm:w-auto"),children:[n("lootbox.collectibles.open_another_pack"),e.jsx(zn,{className:"size-[18px]"})]}),e.jsxs("button",{type:"button",onClick:p,className:g(Y5,"w-full whitespace-nowrap sm:w-auto"),children:[e.jsx(Vi,{className:"size-[18px]"}),n("lootbox.collectibles.view_your_inventory")]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex w-full flex-col items-stretch gap-3 sm:w-auto sm:flex-row-reverse sm:items-center sm:gap-4",children:[d?e.jsxs("button",{type:"button",onClick:c,className:g(c0,"w-full whitespace-nowrap sm:w-auto"),children:[n("lootbox.collectibles.pick_first_pack"),e.jsx(zn,{className:"size-[18px]"})]}):e.jsxs("button",{type:"button",onClick:x,className:g(c0,"w-full whitespace-nowrap sm:w-auto"),children:[n("lootbox.collectibles.hero_cta_start"),e.jsx(zn,{className:"size-[18px]"})]}),e.jsx("button",{type:"button",onClick:c,className:g(Y5,"w-full whitespace-nowrap sm:w-auto"),children:n("lootbox.collectibles.demo")})]}),e.jsxs("div",{className:"flex items-center gap-6 text-[#adafce]",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(OG,{className:"size-[18px]"}),e.jsx("span",{className:"font-jost text-xs",children:n("lootbox.collectibles.chip_graded")})]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(FG,{className:"size-[18px]"}),e.jsx("span",{className:"font-jost text-xs",children:n("lootbox.collectibles.chip_provably_fair")})]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(IG,{className:"size-[18px]"}),e.jsx("span",{className:"font-jost text-xs",children:n("lootbox.collectibles.chip_instant_sell")})]})]})]})})]}),s?e.jsx("div",{className:"absolute right-0 top-1/2 hidden h-[440px] w-[420px] -translate-y-1/2 animate-pulse rounded-3xl bg-[#1f232f]/40 lg:block xl:right-4"}):u?e.jsxs("div",{className:"pointer-events-none absolute right-0 top-1/2 hidden size-[500px] -translate-y-1/2 lg:block xl:right-4",children:[e.jsx("img",{src:q5,alt:"","aria-hidden":"true",className:"absolute left-0 top-1/2 w-[360px] -translate-y-1/2 -rotate-6 select-none"}),e.jsx(ce,{src:r.slab,alt:r.card,className:"absolute right-0 top-1/2 w-[250px] -translate-y-1/2 rotate-[4deg] select-none drop-shadow-[0_12px_28px_rgba(0,0,0,0.5)]"})]}):d?e.jsx("div",{className:"absolute left-[46%] right-[-40px] top-1/2 hidden h-[440px] -translate-y-1/2 lg:block",children:e.jsx(K5,{packs:a})}):e.jsxs("div",{className:"pointer-events-none absolute right-0 top-1/2 hidden shrink-0 -translate-y-1/2 lg:block xl:right-4",children:[e.jsx("img",{src:q5,alt:"","aria-hidden":"true",className:"relative w-[420px] rotate-[8.82deg] select-none xl:w-[490px]"}),e.jsx("span",{className:"absolute left-[16%] top-[17%] flex size-20 rotate-[-16deg] items-center justify-center rounded-full border border-[rgba(173,175,206,0.2)] bg-[rgba(47,52,70,0.6)] text-[#adafce] shadow-[inset_1px_1px_1px_0_#7086ff] backdrop-blur-md",children:e.jsx(uf,{className:"size-10"})})]})]})},$G=640,Oc=(t=30,s)=>m.useCallback(a=>
6638{if(!a)return;const l=s!==void 0&&window.matchMedia(`(min-width: ${$G}px)`).matches?s:t,r=()=>{a.scrollWidth>a.clientWidth&&a.scrollLeft<l&&(a.scrollLeft=l)};r(),requestAnimationFrame(r)},[t,s]),PG=["r1","r2","r3","r4"],HG=()=>{const t=Oc(50,0);return e.jsxs("section",{className:"flex flex-col gap-14 pt-6",children:[e.jsxs("header",{className:"flex flex-col items-start gap-6 text-left",children:[e.jsx("h2",{className:"max-w-[514px] font-gilroy text-[32px] font-black uppercase leading-tight text-[#c6c7dd] md:text-[40px]",children:n("lootbox.collectibles.opening_title")}),e.jsx("p",{className:"max-w-[514px] font-jost text-base font-medium leading-[1.4] text-[#adafce]",children:n("lootbox.collectibles.opening_subtitle")}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("a",{href:"https://discord.com",target:"_blank",rel:"noreferrer","aria-label":"Discord",className:"flex size-9 items-center justify-center rounded-[18px] bg-[#704eff]/10 transition-opacity hover:opacity-80",children:e.jsx(Qm,{className:"size-5"})}),e.jsx("a",{href:"https://instagram.com",target:"_blank",rel:"noreferrer","aria-label":"Instagram",className:"flex size-9 items-center justify-center rounded-[18px] bg-[#e51e68]/10 transition-opacity hover:opacity-80",children:e.jsx(ex,{className:"size-5"})}),e.jsx("a",{href:"https://x.com",target:"_blank",rel:"noreferrer","aria-label":"X",className:"flex size-9 items-center justify-center rounded-[18px] bg-white/10 text-white transition-opacity hover:opacity-80",children:e.jsx(tx,{className:"size-5"})})]})]}),e.jsx("div",{className:"mr-[calc((100%_-_100vw)/2)]",children:e.jsx("div",{ref:t,className:"no-scrollbar flex gap-6 overflow-x-auto py-2",children:PG.map(s=>e.jsx("img",{src:`/collectibles/landing/banners/${s}.webp`,alt:"",loading:"lazy",className:"aspect-[9/16] w-[360px] max-w-[80vw] shrink-0 select-none rounded-[24px] bg-[#1f232f] object-cover"},s))})})]})},UG=({primarySlug:t})=>{const s=Y(),a=()=>{t&&s(tl(t))};return e.jsxs("section",{className:"relative py-10",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-2xl bg-[#161923] px-6 py-12 md:px-20 md:py-[120px]",children:[e.jsx("img",{src:"/collectibles/landing/banners/1.webp",alt:"","aria-hidden":"true",className:"pointer-events-none absolute inset-0 size-full object-cover"}),e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(101.7deg,rgba(22,25,35,0.92)_5%,rgba(22,25,35,0.55)_38%,rgba(22,25,35,0)_60%)]"}),e.jsxs("div",{className:"relative flex max-w-[486px] flex-col items-start gap-10 md:gap-14",children:[e.jsx("img",{src:"/collectibles/landing/hero/logo.webp",alt:"Whale.io Collectibles",className:"h-11 w-auto select-none"}),e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx("h2",{className:"font-gilroy text-[32px] font-black uppercase leading-tight text-white md:text-[40px]",children:n("lootbox.collectibles.promo_title")}),e.jsx("p",{className:"font-jost text-base font-medium leading-[1.4] text-[#adafce]",children:n("lootbox.collectibles.promo_text")})]}),e.jsxs("button",{type:"button",onClick:a,className:"flex h-11 items-center justify-center gap-2.5 rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(158deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-base font-semibold text-white shadow-[0_0_80px_8px_rgba(112,134,255,0.3)] transition-opacity hover:opacity-90",children:[n("lootbox.collectibles.open_demo"),e.jsx(zn,{className:"size-[18px]"})]})]})]}),e.jsx("img",{src:"/collectibles/landing/packs/3.webp",alt:"","aria-hidden":"true",className:"pointer-events-none absolute left-[56%] top-0 hidden w-[330px] max-w-none rotate-[8.77deg] select-none drop-shadow-[13px_13px_6px_rgba(0,0,0,0.25)] lg:block"})]})},VG=()=>{const t=C(fN),s=Oc(50);return t.length?e.jsxs("section",{className:"flex flex-col gap-10 pt-6",children:[e.jsxs("header",{className:"flex flex-col items-start gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Gs,{className:"size-8"}),e.jsx("h2",{className:"font-gilroy text-[32px] font-bold leading-tight text-[#c6c7d
6638d]",children:n("lootbox.collectibles.recent_pulls")})]}),e.jsx("p",{className:"font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:n("lootbox.collectibles.recent_pulls_subtitle")})]}),e.jsxs("div",{className:"relative inset-x-1/2 -mx-[50vw] w-screen",children:[e.jsx("div",{ref:s,className:"no-scrollbar flex gap-6 overflow-x-auto rounded-2xl bg-[#11141b] px-4 py-10",children:t.map(a=>e.jsxs("div",{className:"flex w-[170px] shrink-0 flex-col items-center gap-4",children:[e.jsxs("div",{className:"relative h-[260px] w-[170px]",children:[e.jsx(ce,{src:a.pack,alt:"","aria-hidden":"true",loading:"lazy",className:"absolute left-0 top-0 w-[150px] max-w-none -rotate-[5deg] object-contain drop-shadow-[6px_6px_2.6px_rgba(0,0,0,0.25)]"}),e.jsx(ce,{src:a.image,alt:a.name,loading:"lazy",className:"absolute left-[8px] top-[30px] z-10 w-[144px] max-w-none rotate-[5deg] object-contain drop-shadow-[0_8px_14px_rgba(0,0,0,0.4)]"})]}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("span",{className:"font-jost text-xs font-medium leading-none text-[#adafce] opacity-60",children:n("lootbox.collectibles.first_edition")}),e.jsx("span",{className:"line-clamp-2 break-words font-jost text-sm font-semibold uppercase leading-none text-[#adafce]",children:a.name})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[a.chance?e.jsxs("span",{className:"inline-flex items-center gap-2 rounded bg-[#7086ff]/20 px-2 py-1.5 font-jost text-[10px] leading-none text-[#7086ff]",children:[e.jsx("span",{className:"font-medium",children:n("lootbox.collectibles.chance")}),e.jsx("span",{className:"font-semibold",children:a.chance})]}):null,e.jsx("span",{className:"font-jost text-[10px] font-medium leading-none text-[#adafce]",children:a.timeAgo})]})]},a.id))}),e.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-12 rounded-l-2xl bg-[linear-gradient(to_right,#11141b,rgba(17,20,27,0))]"}),e.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-12 rounded-r-2xl bg-[linear-gradient(to_left,#11141b,rgba(17,20,27,0))]"})]})]}):null},zG=({packs:t})=>{const s=Y(),a=Oc(50);if(!t.length)return null;const l=()=>{var i;const r=(i=t[0])==null?void 0:i.urlSlug;r&&s(tl(r))};return e.jsxs("section",{className:"flex flex-col gap-10 pt-6",children:[e.jsxs("header",{className:"flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between sm:gap-10",children:[e.jsxs("div",{className:"flex min-w-0 flex-col items-start gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Gs,{className:"size-8"}),e.jsx("h2",{className:"font-gilroy text-[32px] font-bold leading-tight text-[#c6c7dd]",children:n("lootbox.collectibles.this_weeks_packs")})]}),e.jsx("p",{className:"max-w-[293px] font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:n("lootbox.collectibles.home_subtitle")})]}),e.jsx("button",{type:"button",onClick:l,className:"flex h-9 shrink-0 items-center justify-center rounded-lg bg-[#252a35] px-6 py-2 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-colors hover:text-[#adafce]",children:n("global_viewAll")})]}),e.jsx("div",{className:"relative inset-x-1/2 -mx-[50vw] w-screen",children:e.jsx("div",{ref:a,className:"no-scrollbar flex gap-6 overflow-x-auto px-4 py-2",children:t.map((r,i)=>e.jsxs("button",{type:"button",onClick:()=>s(tl(r.urlSlug)),className:"group flex shrink-0 flex-col items-center gap-6",children:[e.jsx(ce,{src:r.image,alt:r.name,loading:"lazy",className:"w-[150px] select-none object-contain drop-shadow-[7.886px_7.729px_3.47px_rgba(0,0,0,0.25)] transition-transform duration-200 group-hover:scale-[1.03] sm:w-[200px]"}),e.jsxs("div",{className:"flex w-[150px] flex-col items-center gap-4 sm:w-[173.6px]",children:[e.jsx("div",{className:"flex flex-col items-center gap-2 text-center",children:e.jsx("span",{className:"line-clamp-2 break-words font-jost text-sm font-semibold uppercase leading-none text-[#adafce]",children:r.name})}),pN(r.freeBets)>0?e.jsx("span",{className:"font-jost text-sm font-semibold uppercase leading-none text-[#7cc6a0
6638]",children:n("lootbox.collectibles.free")}):e.jsxs("span",{className:"font-jost text-sm font-semibold leading-none",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:Ke(Number(r.costInUsd),U.USDT)})]})]})]},i))})})]})},GG=({className:t})=>e.jsxs("svg",{className:g("size-[18px]",t),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M14 4h6v6"}),e.jsx("path",{d:"M20 4l-8.5 8.5"}),e.jsx("path",{d:"M18 13.5V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5.5"})]}),ZG="https://whale.io",WG=()=>e.jsxs("section",{className:"relative py-10",children:[e.jsxs("div",{className:"relative overflow-hidden rounded-2xl bg-[#161923] px-6 py-12 md:px-20 md:py-[120px]",children:[e.jsx("img",{src:"/collectibles/landing/banners/lambo.webp",alt:"","aria-hidden":"true",className:"pointer-events-none absolute right-0 top-1/2 hidden w-[520px] max-w-none -translate-y-1/2 select-none lg:block xl:right-6 xl:w-[600px]"}),e.jsxs("div",{className:"relative flex max-w-[486px] flex-col items-start gap-10 md:gap-14",children:[e.jsx("img",{src:"/collectibles/landing/hero/logo.webp",alt:"Whale.io",className:"h-11 w-auto select-none"}),e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx("h2",{className:"font-gilroy text-[32px] font-black uppercase leading-tight text-white md:text-[40px]",children:n("lootbox.collectibles.whale_banner_title")}),e.jsx("p",{className:"font-jost text-base font-medium leading-[1.4] text-[#adafce]",children:n("lootbox.collectibles.whale_banner_text")})]}),e.jsxs("a",{href:ZG,target:"_blank",rel:"noreferrer",className:"flex h-11 items-center justify-center gap-2.5 rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(158deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-base font-semibold text-white shadow-[0_0_80px_8px_rgba(112,134,255,0.3)] transition-opacity hover:opacity-90",children:[n("lootbox.collectibles.check_it_out"),e.jsx(GG,{className:"size-[18px]"})]})]})]}),e.jsx("img",{src:"/collectibles/landing/banners/Swag_Lootbox.webp",alt:"","aria-hidden":"true",className:"pointer-events-none absolute right-[-3%] top-[-44px] hidden w-[210px] max-w-none -translate-x-[65px] translate-y-[25px] select-none lg:block xl:w-[240px]"})]}),KG=()=>{const[t,s,a,l,r,i,o,d]=C([ts,C7,hN,gN,bN,CN,te,Je]);m.useEffect(()=>{t&&jN({currency:t})},[t]),m.useEffect(()=>{o&&j7()},[o]);const u=vN(s),c=!d||o&&!i,x=o?r>0?"member-items":"member-empty":"guest";return e.jsxs("div",{className:"flex flex-col gap-10",children:[e.jsx(DG,{variant:x,loading:c,packs:s,primarySlug:a,bestPull:l}),e.jsx("div",{id:"collectibles-packs",children:e.jsx(zG,{packs:u})}),e.jsx(RG,{}),e.jsx(VG,{}),e.jsx(HG,{}),e.jsxs("div",{className:"flex flex-col-reverse gap-10 lg:flex-col",children:[e.jsx(tf,{}),o?e.jsx(WG,{}):e.jsx(UG,{primarySlug:a})]})]})},qG=()=>(Qe("meta.lootbox.title","meta.lootbox.description"),e.jsx(KG,{})),mf=({onClick:t})=>e.jsxs(O,{variant:"ghost",size:"md",className:"group flex items-center gap-x-2 px-0 text-brandblue-100 hover:text-brandblue-100 active:opacity-90","data-testid":"collectibles-back",onClick:t,children:[e.jsx("span",{className:g("xxs:h-8 xxs:w-8 xxs:rounded-sm sm:h-9 sm:w-9 sm:rounded-md p-1","flex items-center justify-center border-solid border-1 border-primary bg-primary group-hover:border-brand-tertiary group-hover:bg-secondary-active"),children:e.jsx(ve,{icon:"arrowLeftSimple",className:"size-5"})}),e.jsx("span",{children:n("global_go_back")})]}),YG=({className:t})=>e.jsxs("svg",{className:g("size-4",t),viewBox:"0 0 18 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M4 10.25C4.3125 10.25 4.59375 10.4375 4.6875 10.7188C4.8125 11 4.75 11.3125 4.53125 11.5312L3.4375 12.625C4.70414 13.8607 6.30674 14.484 7.94336 14.498C8.10139 14.9411 8.31098 15.3589 8.56445 15.7451C8.43065 15.8993 8.23444 16 8 16C5.9687
66385 16 3.9375 15.2188 2.375 13.6875L1.28125 14.7812C1.0625 15 0.75 15.0625 0.46875 14.9375C0.1875 14.8438 0 14.5625 0 14.25V11C0 10.5938 0.34375 10.25 0.75 10.25H4ZM5 0C5.4375 0 5.75 0.34375 5.75 0.75V4C5.75 4.3125 5.5625 4.59375 5.28125 4.6875C5 4.8125 4.6875 4.75 4.46875 4.53125L3.375 3.4375C2.125 4.6875 1.5 6.34375 1.5 8C1.5 8.40625 1.1875 8.75 0.75 8.75C0.34375 8.75 0 8.40625 0 8C0 5.96875 0.78125 3.9375 2.3125 2.375L1.21875 1.28125C1 1.0625 0.9375 0.75 1.0625 0.46875C1.1875 0.1875 1.46875 0 1.75 0H5ZM8 0C10.0312 0 12.0938 0.78125 13.625 2.3125L14.7188 1.21875C14.9375 1 15.2812 0.9375 15.5625 1.0625C15.8438 1.1875 16 1.4375 16 1.75V5C16 5.40625 15.6875 5.75 15.25 5.75H12C11.7188 5.75 11.4375 5.5625 11.3125 5.28125C11.1875 5 11.25 4.6875 11.4688 4.46875L12.5625 3.375C11.3125 2.125 9.65625 1.5 8 1.5C7.59375 1.5 7.25 1.15625 7.25 0.75C7.25 0.34375 7.59375 0 8 0Z",fill:"#46516A"}),e.jsx("path",{d:"M13.5 8C16 8 18 10 18 12.5C18 15 16 17 13.5 17C11 17 9 15 9 12.5C9 10 11 8 13.5 8ZM13.5 10C13.2188 10 13 10.2188 13 10.5V14.5C13 14.7812 13.2188 15 13.5 15C13.7812 15 14 14.7812 14 14.5V10.5C14 10.2188 13.7812 10 13.5 10Z",fill:"#ADAFCE"})]}),xf=t=>{const s=(t??"").split(" X "),a=s[0]??"",l=s[1]??"";return{spins:a,spinValue:l,isSpins:/^\d/.test(a)&&l!==""}},ff=({loot:t,highlight:s=!1,demo:a=!1})=>{const{spins:l,spinValue:r,isSpins:i}=xf(t.subtitle);return e.jsxs("div",{className:g("flex w-full flex-col gap-3",s&&"collectibles-loot-in"),children:[e.jsxs("div",{className:"relative flex h-[300px] w-full flex-col items-center justify-center gap-4 text-clip rounded-lg bg-[#161922] p-4",children:[e.jsx(Gs,{className:"absolute right-3 top-3 size-6"}),a?e.jsx(ta,{className:"absolute left-3 top-3"}):null,i?e.jsx("div",{className:g("bg-black/20 h-[224px] w-[135px] shrink-0 overflow-hidden rounded-[6px] shadow-[12px_12px_11px_rgba(0,0,0,0.25)]",t.sold&&"opacity-30 grayscale"),children:e.jsx("img",{src:t.image,alt:t.name,className:"size-full object-cover"})}):e.jsx("div",{className:g("flex h-[224px] w-full items-center justify-center",t.sold&&"opacity-30 grayscale"),children:e.jsx("img",{src:t.image,alt:t.name,className:"max-h-full max-w-full object-contain"})}),t.sold?e.jsx("span",{className:"font-jost text-lg font-semibold leading-tight text-[#9092b2]",children:n("lootbox.collectibles.sold")}):i?e.jsxs("span",{className:"flex items-end gap-0.5 font-jost text-lg font-semibold uppercase leading-none text-[#adafce]",children:[r,e.jsx(YG,{className:"size-3"})]}):e.jsx("span",{className:"font-jost text-lg font-semibold leading-none text-[#adafce]",children:it(parseFloat(t.value??"")||0)})]}),e.jsxs("div",{className:"flex w-full items-center gap-4 px-2",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start gap-3",children:[e.jsx("span",{className:"w-full truncate font-jost text-base font-semibold leading-none text-[#adafce]",children:t.name}),i?e.jsx("span",{className:"font-jost text-xs font-medium leading-none text-[#adafce]/60",children:n("lootbox.collectibles.free_spins_count",{count:l})}):null]}),e.jsx("span",{className:"shrink-0 rounded-md bg-[#7086ff]/20 px-3 py-1.5 font-jost text-xs font-semibold leading-none text-[#7086ff]",children:t.odds})]})]})},XG=({loot:t,emptySlots:s=0,highlightKeys:a=[],keptCount:l,totalValue:r,sellAllPrice:i,showSellAll:o,onSellAll:d,demo:u=!1})=>{const c=t.length+s,x=c*240+Math.max(0,c-1)*24+48;return e.jsxs("section",{className:"mx-auto flex w-full flex-col gap-6 rounded-2xl bg-[#11141b] px-4 pb-10 pt-6 sm:px-6",style:{maxWidth:`${x}px`},children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-4 md:h-10",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(rf,{className:"size-6"}),e.jsx("h2",{className:"font-gilroy text-lg font-bold leading-tight text-[#c6c7dd]",children:n("lootbox.collectibles.my_loot")}),e.jsxs("span",{className:"font-gilroy text-lg font-bold leading-tight text-[#adafce] opacity-60",children:[l,"/",c]}),u?e.jsx(ta,{}):null]}),l>0?e.jsxs("span",{className:"flex items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm leading-none",children:[e.jsx("span",{className:"font-medium text-[#adafce] opacity-60",children:n("lootbox.collectibles.total_value")}),e.jsx("span",{className:"font-medium text-[#adafce]",children:r})]}):null]}),o?e.jsxs("button",{type:"button","data-testid":"collectibles-sell-all",onClick:d,className:"flex h-10 items-center gap-1.5 rounded-lg border border-[#637af4] bg-active-menu px-6 font-jost font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90",children:[e.jsx("span",{className:"text-sm",children:n("lootbox.collectibles.sell_all_for")}),e.jsx("span",{className:"whitespace-nowrap text-base",children:i})]}):null]}),e.jsxs("div",{className:"flex flex-wrap items-start justify-center gap-6",children:[t.map(p=>e.jsx("div",{className:"w-[240px] max-w-full",children:e.jsx(ff,{loot:p,highlight:a.includes(p.key),demo:u||p.demo===!0})},p.key)),Array.from({length:s},(p,f)=>e.jsx("div",{className:"w-[240px] max-w-full",children:e.jsx("div",{className:"flex h-[347px] w-full items-center justify-center rounded-lg bg-[rgba(173,175,206,0.02)] p-4","aria-hidden":"true",children:e.jsx("div",{className:"flex size-[120px] items-center justify-center rounded-full bg-[rgba(173,175,206,0.05)]",children:e.jsx(Gs,{className:"size-10"})})})},`empty-${f}`))]})]})},JG=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M19 21V15M16 18H22M12 15H8C6.13623 15 5.20435 15 4.46927 15.3045C3.48915 15.7105 2.7104
66386 16.4892 2.30448 17.4693C2 18.2044 2 19.1362 2 21M15.5 3.29076C16.9659 3.88415 18 5.32131 18 7C18 8.67869 16.9659 10.1159 15.5 10.7092M13.5 7C13.5 9.20914 11.7091 11 9.5 11C7.29086 11 5.5 9.20914 5.5 7C5.5 4.79086 7.29086 3 9.5 3C11.7091 3 13.5 4.79086 13.5 7Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),pf=t=>e.jsx("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M7.15833 11.7583L12.85 15.075M12.8417 5.92499L7.15833 9.24166M17.5 4.66666C17.5 6.04737 16.3807 7.16666 15 7.16666C13.6193 7.16666 12.5 6.04737 12.5 4.66666C12.5 3.28594 13.6193 2.16666 15 2.16666C16.3807 2.16666 17.5 3.28594 17.5 4.66666ZM7.5 10.5C7.5 11.8807 6.38071 13 5 13C3.61929 13 2.5 11.8807 2.5 10.5C2.5 9.11928 3.61929 7.99999 5 7.99999C6.38071 7.99999 7.5 9.11928 7.5 10.5ZM17.5 16.3333C17.5 17.714 16.3807 18.8333 15 18.8333C13.6193 18.8333 12.5 17.714 12.5 16.3333C12.5 14.9526 13.6193 13.8333 15 13.8333C16.3807 13.8333 17.5 14.9526 17.5 16.3333Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),hf=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M14.3219 10.8793C15.4648 10.33 16.2571 9.20184 16.2571 7.88571C16.2571 6.03502 14.7067 4.53825 12.7981 4.53825C12.4248 4.53825 12.0743 4.60829 11.739 4.71521C12.379 5.53364 12.7638 6.55115 12.7638 7.65714C12.7638 8.64885 12.4552 9.57051 11.9295 10.341C13.861 11.0378 15.7848 12.4461 15.7848 14.3631V15.0157C15.7848 15.2147 15.9524 15.3806 16.1619 15.3806H18.6229C18.8324 15.3806 19 15.2184
663819 15.0157V13.8802C19 12.2212 16.059 10.8793 14.3486 10.8793H14.3219ZM8.98095 11.0894C10.4362 10.5806 11.48 9.23871 11.48 7.65346C11.48 5.63687 9.78857 4 7.70476 4C5.61714 4 3.92571 5.63318 3.92571 7.65346C3.92571 9.23502 4.96571 10.5806 6.42476 11.0894H6.06286C4.2 11.0894 1 12.553 1 14.3631V15.635C1 15.8341 1.16762 16 1.37714 16H14.1276C14.3371 16 14.5048 15.8378 14.5048 15.635V14.3631C14.5048 12.553 11.3048 11.0894 9.44191 11.0894H8.98095Z",fill:"currentColor"})}),QG=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M7.375 6.25C10.8958 6.25 13.75 5.07475 13.75 3.625C13.75 2.17525 10.8958 1 7.375 1C3.85419 1 1 2.17525 1 3.625C1 5.07475 3.85419 6.25 7.375 6.25Z",fill:"currentColor"}),e.jsx("path",{d:"M6.55825 9.976C7.05625 8.91925 7.80475 8.0065 8.72875 7.31125C8.28025 7.3495 7.82875 7.375 7.375 7.375C4.89175 7.375 2.39425 6.79975 1 5.68975V7.375C1 8.71075 3.424 9.81025 6.55825 9.976Z",fill:"currentColor"}),e.jsx("path",{d:"M5.875 13C5.875 12.331 5.974 11.686 6.14725 11.0717C4.09675 10.9142 2.16325 10.366 1 9.43975V11.125C1 12.367 3.09625 13.4043 5.9095 13.6772C5.8885 13.4545 5.875 13.2288 5.875 13Z",fill:"currentColor"}),e.jsx("path",{d:"M13 7C9.69175 7 7 9.69175 7 13C7 16.3082 9.69175 19 13 19C16.3082 19 19 16.3082 19 13C19 9.69175 16.3082 7 13 7ZM12.715 12.4375H13.285C14.1617 12.4375 14.875 13.1508 14.875 14.0275C14.875 14.8
6638158 14.3065 15.4645 13.5625 15.5965V16.1867C13.5625 16.4972 13.3105 16.7492 13 16.7492C12.6895 16.7492 12.4375 16.4972 12.4375 16.1867V15.625H11.6875C11.377 15.625 11.125 15.373 11.125 15.0625C11.125 14.752 11.377 14.5 11.6875 14.5H13.285C13.5415 14.5 13.75 14.2915 13.75 14.035C13.75 13.771 13.5415 13.5625 13.285 13.5625H12.715C11.8382 13.5625 11.125 12.8492 11.125 11.9725C11.125 11.1842 11.6935 10.5355 12.4375 10.4035V9.8125C12.4375 9.502 12.6895 9.25 13 9.25C13.3105 9.25 13.5625 9.502 13.5625 9.8125V10.375H14.3125C14.623 10.375 14.875 10.627 14.875 10.9375C14.875 11.248 14.623 11.5 14.3125 11.5H12.715C12.4585 11.5 12.25 11.7085 12.25 11.965C12.25 12.229 12.4585 12.4375 12.715 12.4375Z",fill:"currentColor"})]}),eZ=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M17.7777 6.66671H17.2222V12.7778C17.2222 13.6945 16.4722 14.4445 15.5555 14.4445H3.88885V16.1112C3.88885 16.4167 4.13885 16.6667 4.4444 16.6667H17.7777C18.0833 16.6667 18.3333 16.4167 18.3333 16.1112V7.22226C18.3333 6.916
663871 18.0833 6.66671 17.7777 6.66671Z",fill:"currentColor"}),e.jsx("path",{d:"M16.1111 12.7778V3.88893C16.1111 3.58337 15.8611 3.33337 15.5555 3.33337H2.22218C1.91663 3.33337 1.66663 3.58337 1.66663 3.88893V12.7778C1.66663 13.0834 1.91663 13.3334 2.22218 13.3334H15.5555C15.8611 13.3334 16.1111 13.0834 16.1111 12.7778ZM5.27774 8.88893H4.72218C4.41663 8.88893 4.16663 8.63893 4.16663 8.33337C4.16663 8.02782 4.41663 7.77782 4.72218 7.77782H5.27774C5.58329 7.77782 5.83329 8.02782 5.83329 8.33337C5.83329 8.63893 5.58329 8.88893 5.27774 8.88893ZM8.47218 7.77782H9.30551C10.0722 7.77782 10.6944 8.40004 10.6944 9.16671C10.6944 9.88337 10.1444 10.4723 9.4444 10.5389V10.8334C9.4444 11.1389 9.1944 11.3889 8.88885 11.3889C8.58329 11.3889 8.33329 11.1389 8.33329 10.8334V10.5556H7.63885C7.33329 10.5556 7.08329 10.3056 7.08329 10C7.08329 9.69448 7.33329 9.44448 7.63885 9.44448H9.30551C9.46107 9.44448 9.58329 9.32226 9.58329 9.16671C9.58329 9.01115 9.46107 8.88893 9.30551 8.88893H8.47218C7.70551 8.88893 7.08329 8.26671 7.08329 7.50004C7.08329 6.78337 7.63329 6.19448 8.33329 6.12782V5.83337C8.33329 5.52782 8.58329 5.27782 8.88885 5.27782C9.1944 5.27782 9.4444 5.52782 9.4444 5.83337V6.11115H10.1388C10.4444 6.11115 10.6944 6.36115 10.6944 6.66671C10.6944 6.97226 10.4444 7.22226 10.1388 7.22226H8.47218C8.31663 7.22226 8.1944 7.34448 8.1944 7.50004C8.1944 7.6556 8.31663 7.77782 8.47218 7.77782ZM13.0555 8.88893H12.5C12.1944 8.88893 11.9444 8.63893 11.9444 8.33337C11.9444 8.02782 12.1944 7.77782 12.5 7.77782H13.0555C13.3611 7.77782 13.6111 8.02782 13.6111 8.33337C13.6111 8.63893 13.3611 8.88893 13.0555 8.88893Z",fill:"currentColor"})]}),gf=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M7.11252 5.00022H12.8875L14.3063 2.15647C14.3718 2.02498 14.389 1.8746 14.3547 1.73173C14.3204 1.58886 14.2369 1.46263 14.1188 1.37522C14.0002 1.28681 13.8541 1.24331 13.7065 1.25246C13.5589 1.26162 13.4193 1.32283 13.3125 1.42522C12.9036 1.74417 12.3928 1.90404 11.875 1.87522C11.3602 1.90372 10.8522 1.74623 10.4438 1.43147C10.3267 1.31506 10.1683 1.24973 10.0031 1.24973C9.83802 1.24973 9.67962 1.31506 9.56252 1.43147C9.15269 1.74819 8.64206 1.90582 8.12502 1.87522C7.61016 1.90372 7.1022 1.74623 6.69377 1.43147C6.58873 1.32562 6.44931 1.26081 6.30068 1.24875C6.15204 1.23669 6.004 1.27817 5.88327 1.3657C5.76254 1.45323 5.67708 1.58104 5.64233 1.72605C5.60758 1.87107 5.62582 2.02373 5.69377 2.15647L7.11252 5.00022Z",fill:"#54D149"}),e.jsx("path",{d:"M13.275 6.25012H6.725C5.3875 7.86887 3.125 11.0814 3.125 14.3751C3.125 17.2314 5.3 18.7501 6.875 18.7501H13.125C14.7 18.7501 16.875 17.2314 16.875 14.3751C16.875 11.0814 14.6125 7.86887 13.275 6.25012ZM10.625 15.0001V15.6251C10.625 15.7909 10.5592 15.9499 10.4419 16.0671C10.3247 16.1843 10.1658 16.2501 10 16.2501C9.83424 16.2501 9.67527 16.1843 9.55806 16.0671C9.44085 15.9499 9.375 15.7909 9.375 15.6251V15.0001C9.04673 14.9992 8.72444 14.9122 8.44036 14.7477C8.15629 14.5831 7.92039 14.3469 7.75625 14.0626C7.70481 13.9919 7.66879 13.9112 7.65052 13.8256C7.63224 13.7401 7.63211 13.6517 7.65015 13.5661C7.66818 13.4806 7.70397 13.3997 7.7552 13.3289C7.80644 13.258 7.87197 13.1987 7.94758 13.1547C8.02318 13.1107 8.10716 13.0831 8.1941 13.0737C8.28104 13.0642 8.369 13.0731 8.45229 13.0998C8.53557 13.1264 8.61234 13.1703 8.67762 13.2285C8.7429 13.2867 8.79523 13.3579 8.83125 13.4376C8.88632 13.533 8.96561 13.6121 9.06109 13.667C9.15658 13.7219 9.26487 13.7506 9.375 13.7501H10.625C10.7908 13.7501 10.9497 13.6843 11.0669 13.5671C11.1842 13.4499 11.25 13.2909 11.25 13.1251C11.25 12.9594 11.1842 12.8004 11.0669 12.6832C10.9497 12.566 10.7908 12.5001 10.625 12.5001H9.375C8.87772 12.5001 8.40081 12.3026 8.04917 11.9509C7.69754 11.5993 7.5 11.1224 7.5 10.6251C7.5 10.1278 7.69754 9.65093 8.04917 9.2993C8.40081 8.94767 8.87772 8.75012 9.375 8.75012V8.12512C9.375 7.95936 9.44085 7.80039 9.55806 7.68318C9.67527 7.56597 9.83424 7.50012 10 7.50012C10.1658 7.50012 10.3247 7.56597 10.4419 7.68318C10.5592 7.80039 10.625 7.95936 10.625 8.12512V8.75012C10.9533 8.75101 11.2756 8.83806 11.5596 9.00258C11.8437 9.16711 12.0796 9.40333 12.2437 9.68762C12.2952 9.75835 12.3312 9.83908 12.3495 9.9246C12.3678 10.0101 12.3679 10.0985 12.3499 10.1841C12.3318 10.2697 12.296 10.3505 12.2448 10.4214C12.1936 10.4923 12.128 10.5516 12.0524 10.5955C11.9768 10.6395 11.8928 10.6671 11.8059 10.6766C11.719 10.686 11.631 10.6771 11.5477 10.6505C11.4644 10.6238 11.3877 10.5799 11.3224 10.5218C11.2571 10.4636 11.2048 10.3923 11.1688 10.3126C11.1137 10.2172 11.0344 10.1381 10.9389 10.0832C10.8434 10.0284 10.7351 9.99968 10.625 10.0001H9.375C9.20924 10.0001 9.05027 10.066 8.93306 10.1832C8.81585 10.3004 8.75 10.4594 8.75 10.6251C8.75 10.7909 8.81585 10.9499 8.93306 11.0671C9.05027 11.1843 9.20924 11.2501 9.375 11.2501H10.625C11.1223 11.2501 11.5992
663811.4477 11.9508 11.7993C12.3025 12.1509 12.5 12.6278 12.5 13.1251C12.5 13.6224 12.3025 14.0993 11.9508 14.4509C11.5992 14.8026 11.1223 15.0001 10.625 15.0001Z",fill:"#54D149"})]}),tZ=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19.1665C8.8181 19.1665 7.64778 18.9337 6.55585 18.4814C5.46392 18.0291 4.47177 17.3662 3.63604 16.5305C2.80031 15.6947 2.13738 14.7026 1.68509 13.6107C1.23279 12.5187 1 11.3484 1 10.1665C1 8.98461 1.23279 7.81428 1.68509 6.72235C2.13738 5.63042 2.80031 4.63827 3.63604 3.80254C4.47177 2.96682 5.46392 2.30388 6.55585 1.85159C7.64778 1.3993 8.8181 1.1665 10 1.1665C12.3869 1.1665 14.6761 2.11472 16.364 3.80254C18.0518 5.49037 19 7.77955 19 10.1665C19 12.5535 18.0518 14.8426 16.364 16.5305C14.6761 18.2183 12.3869 19.1665 10 19.1665ZM11.707 7.8735C11.8025 7.78126 11.8787 7.67091 11.9311 7.54891C11.9835 7.4269 12.0111 7.29568 12.0123 7.1629C12.0134 7.03012 11.9881 6.89845 11.9378 6.77555C11.8875 6.65265 11.8133 6.541 11.7194 6.44711C11.6255 6.35322 11.5139 6.27896 11.391 6.22868C11.2681 6.1784
663811.1364 6.1531 11.0036 6.15425C10.8708 6.15541 10.7396 6.18299 10.6176 6.2354C10.4956 6.28781 10.3852 6.36399 10.293 6.4595L7.293 9.4595C7.10553 9.64703 7.00021 9.90134 7.00021 10.1665C7.00021 10.4317 7.10553 10.686 7.293 10.8735L10.293 13.8735C10.4816 14.0557 10.7342 14.1565 10.9964 14.1542C11.2586 14.1519 11.5094 14.0467 11.6948 13.8613C11.8802 13.6759 11.9854 13.4251 11.9877 13.1629C11.99 12.9007 11.8892 12.6481 11.707 12.4595L9.414 10.1665L11.707 7.8735Z",fill:"#707290"})}),sZ=t=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19.1665C11.1819 19.1665 12.3522 18.9337 13.4441 18.4814C14.5361 18.0291 15.5282 17.3662 16.364 16.5305C17.1997 15.6947 17.8626 14.7026 18.3149 13.6107C18.7672 12.5187 19 11.3484 19 10.1665C19 8.98461 18.7672 7.81428 18.3149 6.72235C17.8626 5.63042 17.1997 4.63827 16.364 3.80254C15.5282 2.96682 14.5361 2.30388 13.4441 1.85159C12.3522 1.3993 11.1819 1.1665 10 1.1665C7.61305 1.1665 5.32387 2.11472 3.63604 3.80254C1.94821 5.49037 1 7.77955 1 10.1665C1 12.5535 1.94821 14.8426 3.63604 16.5305C5.32387 18.2183 7.61305 19.1665 10 19.1665ZM8.293 7.8735C8.19749 7.78126 8.12131 7.67091 8.0689 7.54891C8.01649 7.4269 7.9889 7.29568 7.98775 7.1629C7.98659 7.03012 8.0119 6.89845 8.06218 6.77555C8.11246 6.65265 8.18671 6.541 8.2806 6.44711C8.3745 6.35322 8.48615 6.27896 8.60905 6.22868C8.73194 6.1784 8.86362 6.1531 8.9964 6.15425C9.12918 6.15541 9.2604 6.18299 9.3824 6.2354C9.50441 6.28781 9.61475 6.36399 9.707 6.4595L12.707 9.4595C12.8945 9.64703 12.9998 9.90134 12.9998 10.1665C12.9998 10.4317 12.8945 10.686 12.707 10.8735L9.707 13.8735C9.5184 14.0557 9.26579 14.1565 9.0036 14.1542C8.7414 14.1519 8.49059 14.0467 8.30518 13.8613C8.11977 13.6759 8.0146 13.4251 8.01233 13.1629C8.01005 12.9007 8.11084 12.6481 8.293 12.4595L10.586 10.1665L8.293 7.8735Z",fill:"#707290"})}),aZ=t=>e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[e.jsx("path",{d:"M10 5.09089C11.1297 5.09089 12.0455 4.17511 12.0455 3.04544C12.0455 1.91578 11.1297 1 10 1C8.87037 1 7.95459 1.91578 7.95459 3.04544C7.95459 4.17511 8.87037 5.09089 10 5.09089Z",fill:"#5DEC51"}),e.jsx("path",{d:"M7.19486 9.18182H12.8055C13.2889 9.18182 13.682 8.75753 13.682 8.23578V7.97372C13.682 7.29017 13.3436 6.66576 12.7983 6.34413C12.1451 5.959 11.1296 5.5 10.0002 5.5C8.87078 5.5 7.85525 5.95904 7.20207 6.34413C6.65674 6.66572 6.31836 7.29017 6.31836 7.97372V8.23578C6.31836 8.75757 6.71147 9.18182 7.19486 9.18182Z",fill:"#5DEC51"}),e.jsx("path",{d:"M4.68167 14.9091C5.81134 14.9091 6.72712 13.9933 6.72712 12.8637C6.72712 11.734 5.81134 10.8182 4.68167 10.8182C3.55201 10.8182 2.63623 11.734 2.63623 12.8637C2.63623 13.9933 3.55201 14.9091 4.68167 14.9091Z",fill:"#5DEC51"}),e.jsx("path",{d:"M7.47993 16.1624C6.82675 15.7772 5.81122 15.3182 4.68182 15.3182C3.55242 15.3182 2.53689 15.7773 1.88371 16.1624C1.33838 16.484 1 17.1084 1 17.7919V18.054C1 18.5757 1.39311 19 1.8765 19H7.48714C7.97053 19 8.36364 18.5757 8.36364 18.054V17.7919C8.36364 17.1084 8.02526 16.484 7.47993 16.1624Z",fill:"#5DEC51"}),e.jsx("path",{d:"M15.3184 14.9091C16.4481 14.9091 17.3638 13.9933 17.3638 12.8637C17.3638 11.734 16.4481 10.8182 15.3184 10.8182C14.1887 10.8182 13.2729 11.734 13.2729 12.8637C13.2729 13.9933 14.1887 14.9091 15.3184 14.9091Z",fill:"#5DEC51"}),e.jsx("path",{d:"M18.1162 16.1624C17.463 15.7772 16.4474 15.3182 15.3181 15.3182C14.1887 15.3182 13.1731 15.7773 12.5199 16.1624C11.9746 16.484 11.6362 17.1084 11.6362 17.792V18.054C11.6362 18.5758 12.0293 19.0001 12.5127 19.0001H18.1234C18.6068 19.0001 18.9999 18.5758 18.9999 18.054V17.792C18.9998 17.1084 18.6615 16.484 18.1162 16.1624Z",fill:"#5DEC51"}),e.jsx("path",{d:"M12.0451 14.9091C12.1653 14.9091 12.284 14.8564 12.3651 14.7557C12.5061 14.5791 12.4773 14.3218 12.3011 14.1804L10.4091 12.6668V10.4091C10.4091 10.183 10.2261 10 10 10C9.77388 10 9.5909 10.1829 9.5909 10.4091V12.6671L7.69886 14.1804C7.52267 14.3218 7.49391 14.5791 7.63493 14.7556C7.71604 14.8563 7.83467 14.9091 7.95494 14.9091C8.04442 14.9091 8.13474 14.8799 8.21021 14.8
6638196L10 13.3878L11.7897 14.8196C11.8653 14.8799 11.9555 14.9091 12.0451 14.9091Z",fill:"#5DEC51"})]}),nZ=t=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:e.jsx("path",{d:"M12 1.19995C9.86392 1.19995 7.77585 1.83336 5.9998 3.02008C4.22375 4.2068 2.83948 5.89353 2.02206 7.86697C1.20463 9.84041 0.990755 12.0119 1.40747 14.1069C1.8242 16.2019 2.8528 18.1263 4.3632 19.6367C5.87361 21.1471 7.79798 22.1757 9.89298 22.5924C11.988 23.0091 14.1595 22.7953 16.1329 21.9778C18.1064 21.1604 19.7931 19.7762 20.9798 18.0001C22.1665 16.2241 22.8 14.136 22.8 11.9999C22.7969 9.13656 21.658 6.39134 19.6333 4.36662C17.6086 2.3419 14.8633 1.20305 12 1.19995ZM12 18.2999C11.822 18.2999 11.6479 18.2472 11.4999 18.1483C11.3519 18.0494 11.2366 17.9088 11.1685 17.7444C11.1003 17.5799 11.0825 17.3989 11.1172 17.2244C11.152 17.0498 11.2377 16.8894 11.3636 16.7636C11.4894 16.6377 11.6498 16.552 11.8244 16.5172C11.999 16.4825 12.1799 16.5003 12.3444 16.5685C12.5088 16.6366 12.6494 16.7519 12.7483 16.8999C12.8472 17.0479 12.9 17.2219 12.9 17.3999C12.9 17.6386 12.8051 17.8676 12.6363 18.0363C12.4676 18.2051 12.2386 18.2999 12 18.2999ZM13.3743 12.6299C13.2268 12.7017 13.1035 12.8147 13.0193 12.9554C12.935 13.096 12.8936 13.2581 12.9 13.4219V13.7999C12.9 14.0386 12.8051 14.2676 12.6363 14.4363C12.4676 14.6051 12.2386 14.6999 12 14.6999C11.7613 14.6999 11.5323 14.6051 11.3636 14.4363C11.1948 14.2676 11.1 14.0386 11.1 13.7999V13.4219C11.0907 12.9009 11.2367 12.3889 11.5194 11.9512C11.8022 11.5135 12.2088 11.1698 12.6876 10.964C13.0697 10.8058 13.3858 10.5208 13.5825 10.1569C13.7792 9.793 13.8445 9.37247 13.7676 8.96605C13.6982 8.60991 13.5241 8.28258 13.2676 8.02603C13.011 7.76947 12.6837 7.59537 12.3276 7.52605C12.0675 7.47792 11.8 7.48768 11.5442 7.55464C11.2883 7.6216 11.0504 7.74412 10.8473 7.91348C10.6441 8.08283 10.4808 8.29487 10.369 8.5345C10.2571 8.77414 10.1994 9.03548 10.2 9.29995C10.2 9.53864 10.1051 9.76756 9.93635 9.93635C9.76757 10.1051 9.53865 10.1999 9.29995 10.1999C9.06126 10.1999 8.83234 10.1051 8.66356 9.93635C8.49478 9.76756 8.39995 9.53864 8.39995 9.29995C8.40043 8.64799 8.57795 8.0084 8.91355 7.44945C9.24916 6.8905 9.73025 6.43319 10.3055 6.12632C10.8807 5.81945 11.5285 5.67454 12.1796 5.70708C12.8308 5.73962 13.4608 5.94837 14.0026 6.31105C14.5444 6.67373 14.9775 7.17673 15.2557 7.76635C15.5339 8.35596 15.6468 9.01007 15.5823 9.65883C15.5178 10.3076 15.2783 10.9267 14.8894 11.4499C14.5005 11.9732 13.9768 12.3811 13.3743 12.6299Z",fill:"#9092B2"})}),lZ="content-container",rZ=({pack:t,backHref:s,onClose:a,onOpenAnother:l})=>{const r=Y(),[i,o,d,u,c,x,p,f,h,b,v,j,y]=C([ts,J7,wN,yN,_N,NN,kN,Q7,eu,SN,q7,Y7,K7]);m.useLayoutEffect(()=>{var _;(_=document.getElementById(lZ))==null||_.scrollTo({top:0})},[]);const N=new Set(b.filter(_=>AN(LN(_),js.collectiblesDeliveryEnabled)).map(_=>_.id));m.useEffect(()=>(i&&X7({currency:i}),()=>MN()),[i]);const k=t.tag===x1.PHYSICAL,w=h||o.some(_=>_.demo===!0),S=(k?y:t.tag===x1.POKEMON?v:j).filter(_=>_.urlSlug!==t.urlSlug),M=()=>{var A;if(typeof window>"u")return;const _=`${window.location.origin}${s}`;
6638if(typeof navigator<"u"&&navigator.share){navigator.share({url:_}).catch(()=>{});return}(A=navigator==null?void 0:navigator.clipboard)==null||A.writeText(_).catch(()=>{})};return e.jsxs(e.Fragment,{children:[e.jsxs("section",{className:"mx-auto flex w-full max-w-[1032px] flex-col gap-14 px-4 lg:px-0","data-testid":"collectibles-pack-complete",children:[e.jsxs("div",{className:"-mb-8 flex justify-end gap-2",children:[e.jsxs("button",{type:"button",onClick:M,"data-testid":"collectibles-pack-complete-share",className:"flex h-10 items-center gap-2 rounded-lg bg-[#9092b2]/10 py-2.5 pl-2.5 pr-3 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-80",children:[e.jsx(pf,{className:"size-5 text-[#adafce]"}),n("lootbox.collectibles.share")]}),e.jsx("button",{type:"button",onClick:a,"aria-label":n("lootbox.collectibles.sell_continue"),"data-testid":"collectibles-pack-complete-close",className:"flex size-10 items-center justify-center rounded-lg bg-[#9092b2]/10 text-[#adafce] transition-opacity duration-200 hover:opacity-80",children:e.jsx(ia,{className:"size-4"})})]}),e.jsxs("div",{className:"flex flex-col items-center gap-6",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4 text-center uppercase",children:[e.jsx("span",{className:"font-jost text-sm font-semibold leading-6 text-[#adafce]",children:t.name}),e.jsx("h1",{className:"font-gilroy text-5xl font-black leading-tight text-[#c6c7dd]",children:n("lootbox.collectibles.pack_complete")})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-jost text-base font-medium leading-tight text-[#adafce]",children:n("lootbox.collectibles.items_count",{count:o.length})}),e.jsxs("span",{className:"flex items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm font-medium leading-none",children:[e.jsx("span",{className:"text-[#adafce] opacity-60",children:n("lootbox.collectibles.total_value")}),e.jsx("span",{className:"text-[#7086ff]","data-testid":"collectibles-pack-complete-total",children:it(d)})]})]}),w?e.jsx(Yx,{text:n("lootbox.collectibles.demo_no_real_prize")}):null]}),e.jsx("div",{className:"flex flex-wrap items-start justify-center gap-6",children:o.map(_=>e.jsxs("div",{className:"flex w-[240px] max-w-full flex-col items-center gap-6",children:[e.jsx(ff,{loot:_,demo:w}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-2",children:[BN(_)?e.jsxs("button",{type:"button",onClick:()=>EN(_.key),disabled:_.sold||p,"data-testid":"collectibles-pack-complete-sell","data-loot-key":_.key,className:"flex h-10 min-w-[157px] max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-lg bg-[#9092b2]/10 px-6 py-2.5 font-jost font-semibold leading-5 transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:[e.jsx("span",{className:"text-sm text-[#9092b2]",children:n("lootbox.collectibles.sell_for")}),e.jsx("span",{className:"text-base text-[#c6c7dd]",children:it(parseFloat(_.price??"")||0)}),w?e.jsx(ta,{}):null]}):null,f&&!_.sold&&_.inventoryId!=null&&N.has(_.inventoryId)?e.jsx("button",{type:"button",onClick:()=>{wG(_.inventoryId),r(wt())},"data-testid":"collectibles-pack-complete-claim","data-loot-key":_.key,className:"flex h-10 min-w-[157px] max-w-full items-center justify-center gap-2 whitespace-nowrap rounded-lg border border-[#637af4] bg-active-menu px-6 py-2.5 font-jost text-sm font-semibold leading-5 text-white transition-opacity duration-200 hover:opacity-90",children:n("lootbox.collectibles.claim")}):null]})]},_.key))}),e.jsxs("div",{className:"mx-auto flex w-fit max-w-full flex-wrap items-center justify-center gap-4 roun
6638ded-3xl border border-[#1f232f] bg-[#161922] p-4",children:[c?e.jsxs("button",{type:"button",onClick:()=>RN(),disabled:p,"data-testid":"collectibles-pack-complete-sell-all",className:"flex h-12 items-center justify-center gap-2.5 rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(157deg,rgba(112,134,255,0.8)_5%,rgba(47,62,200,0.8)_40%,rgba(47,62,200,0.75)_66%,rgba(112,134,255,0.8)_112%)] px-10 font-jost text-base font-semibold leading-none text-white shadow-[0_0_0_6px_rgba(112,134,255,0.2)] transition-opacity duration-200 hover:opacity-90 disabled:pointer-events-none disabled:opacity-40",children:[e.jsx("span",{children:n("lootbox.collectibles.sell_all_for")}),e.jsx("span",{children:it(u)}),w?e.jsx(ta,{}):null]}):null,e.jsx("button",{type:"button",onClick:l,"data-testid":"collectibles-pack-complete-open-another",className:"flex h-12 items-center justify-center rounded-lg bg-[#9092b2]/10 px-6 py-2.5 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-90",children:n("lootbox.collectibles.open_another_pack")}),e.jsxs("button",{type:"button",onClick:()=>r(wt()),"data-testid":"collectibles-pack-complete-inventory",className:"flex h-12 items-center justify-center gap-2 rounded-lg bg-[#9092b2]/10 px-6 py-2.5 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-opacity duration-200 hover:opacity-90",children:[e.jsx(Vi,{className:"size-5"}),n("lootbox.collectibles.inventory")]})]}),S.length>0?e.jsx(nf,{title:n("lootbox.collectibles.more_packs_title"),subtitle:n("lootbox.collectibles.more_packs_subtitle"),columns:"grid-cols-2 sm:grid-cols-3 xl:grid-cols-5",gap:"gap-x-4 gap-y-8",className:"md:rounded-2xl md:bg-[#11141b] md:p-6",icon:e.jsx(Gs,{className:"size-8"}),children:S.map(_=>e.jsx(E2,{card:_,layout:k?"box":"pack",label:n(k?"lootbox.collectibles.label_lootbox":"lootbox.collectibles.label_booster_pack")},_.key))}):null]}),x.length>0?e.jsx(Tc,{items:x,title:n(x.length>1?"lootbox.collectibles.all_cards_sold":"lootbox.collectibles.card_sold"),onClose:()=>TN(),demo:w}):null]})},iZ=({image:t,count:s=1,activeIndex:a=0})=>e.jsx("div",{className:"flex items-end justify-center gap-[7px] pt-2",children:Array.from({length:s},(l,r)=>e.jsx("img",{src:t,alt:"",className:g("h-[72px] w-auto rounded-[2px] shadow-[0_5px_9px_rgba(0,0,0,0.4)] transition-[transform,opacity,filter] duration-300",r===a?"-translate-y-2":"opacity-30 grayscale")},r))}),T2=({className:t})=>e.jsx("svg",{className:g("size-[9px]",t),viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M8.63281 4.88281L4.88281 8.63281C4.62891 8.86719 4.23828 8.86719 3.98438 8.63281C3.75 8.37891 3.75 7.98828 3.98438 7.73438L7.30469 4.43359L3.98438 1.13281C3.75 0.878906 3.75 0.488281 3.98438 0.234375C4.23828 0 4.62891 0 4.88281 0.234375L8.63281 3.98438C8.86719 4.23828 8.86719 4.62891 8.63281 4.88281ZM1.13281 8.63281C0.878906 8.86719 0.488281 8.86719 0.234375 8.63281C0 8.37891 0 7.98828 0.234375 7.73438L3.55469 4.43359L0.234375 1.13281C0 0.878906 0 0.488281 0.234375 0.234375C0.488281 0 0.878906 0 1.13281 0.234375L4.88281 3.98438C5.11719 4.23828 5.11719 4.62891 4.88281 4.88281L1.13281 8.63281Z",fill:"currentColor"})}),oZ=()=>e.jsxs("div",{className:"pointer-events-none flex items-center gap-2","aria-hidden":"true",children:[e.jsx("span",{className:"collectibles-peel-chevrons inline-flex",children:e.jsx(T2,{className:"size-2.5 text-[#46516a]"})}),e.jsx(uf,{className:"size-5 text-[#adafce]"}),e.jsx("span",{className:"font-jost text-sm font-semibold leading-6 text-[#adafce]",children:n("lootbox.collectibles.peel_to_open")})]}),cZ=t=>{const s=t.replace("#","");return[0,2,4].map(a=>parseInt(s.substr(a,2),16)/255)},dZ=t=>{const{canvas:s,images:a,onPainted:l,onLand:r}=t,i=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches,o={count:10,radius:2.06,cardH:.8,aspect:t.aspect??4/3,corner:.175,faceCam:0,camDist:9,fov:26,tilt:-9,ringY:.04,idleSpeed:i?0:.2,shutter:1.6,maxSamples:72,spinPeak:11.2,decelTime:2,crawlSpeed:.59,crawlTime:2.4,fogNear:6.2,fogFar:12.5,fogAmt:.9,bloom:.55,bloomThresh:.62,focusPop:.34,focusLift:.45,straighten:0,dimOthers:.34,spinZoom:.3,pulseAmp:.03,pulseFreq:4,ambient:.71,ambientSize:2.38,ambientSizeY:.8,ambientBlur:6.6,ambientSat:1.68,landPunch:0,landFlash:.84,landBacklash:.058,streaks:1,vignette:.55,aberration:.0022,bg:cZ(t.background??"#13161e")};typeof matchMedia=="function"&&matchMedia("(max-width: 767px)").matches&&(o.c
6638amDist*=.82,o.ringY-=.12);let d=640,u=480;const c=s.getContext("webgl2",{antialias:!1,alpha:!1,depth:!1,stencil:!1,preserveDrawingBuffer:!1,powerPreference:"high-performance"});if(!c)return null;c.getExtension("EXT_color_buffer_half_float"),c.getExtension("EXT_color_buffer_float");const x=c.getExtension("EXT_texture_filter_anisotropic");function p(I,G){const T=c.createShader(I);if(c.shaderSource(T,G),c.compileShader(T),!c.getShaderParameter(T,c.COMPILE_STATUS))throw new Error(c.getShaderInfoLog(T)+` 6639`+G);return T}function f(I,G){const T=c.createProgram();if(c.attachShader(T,p(c.VERTEX_SHADER,I)),c.attachShader(T,p(c.FRAGMENT_SHADER,G)),c.linkProgram(T),!c.getProgramParameter(T,c.LINK_STATUS))throw new Error(c.getProgramInfoLog(T)??"");const q={},Ne=c.getProgramParameter(T,c.ACTIVE_UNIFORMS);for(let me=0;me<Ne;me++){const fe=c.getActiveUniform(T,me).name.replace(/\[0\]$/,"");q[fe]=c.getUniformLocation(T,fe)}return T.u=q,T}const h=`#version 300 es 6640layout(location=0) in vec2 aPos; 6641out vec2 vUV; 6642void main(){ vUV = aPos*0.5+0.5; gl_Position = vec4(aPos,0.0,1.0); }`,b=`#version 300 es 6643layout(location=0) in vec2 aPos; 6644layout(location=1) in vec4 aM0; 6645layout(location=2) in vec4 aM1; 6646layout(location=3) in vec4 aM2; 6647layout(location=4) in vec4 aM3; 6648layout(location=5) in vec4 aData; 6649uniform mat4 uProj, uView; 6650uniform vec3 uFog; 6651out vec2 vUV; 6652out float vLayer, vBright, vFogT, vFade, vFocus, vGlow; 6653void main(){ 6654 mat4 M = mat4(aM0,aM1,aM2,aM3); 6655 vec4 vp = uView * (M * vec4(aPos,0.0,1.0)); 6656 gl_Position = uProj * vp; 6657 vUV = vec2(aPos.x+0.5, 0.5-aPos.y); 6658 vLayer = aData.x; vFocus = aData.y; vBright = aData.z; vGlow = aData.w; 6659 vec3 c = (uView * vec4(aM3.xyz,1.0)).xyz; 6660 vec3 n = normalize(mat3(uView) * normalize(aM2.xyz)); 6661 vFade = smoothstep(0.0, 0.22, dot(n, normalize(-c))); 6662 vFogT = smoothstep(uFog.x, uFog.y, -c.z) * uFog.z; 6663}`,v=`#version 300 es 6664precision highp float; 6665precision highp sampler2DArray; 6666in vec2 vUV; 6667in float vLayer, vBright, vFogT, vFade, vFocus, vGlow; 6668uniform sampler2DArray uTex; 6669uniform vec3 uFogColor; 6670uniform vec2 uHalf; 6671uniform float uRadius; 6672out vec4 frag; 6673void main(){ 6674 vec2 q = abs(vUV-0.5)*2.0*uHalf; 6675 vec2 d = q - (uHalf - uRadius); 6676 float sd = length(max(d,0.0)) + min(max(d.x,d.y),0.0) - uRadius; 6677 float aa = max(fwidth(sd), 1e-4); 6678 float mask = 1.0 - smoothstep(-aa, aa, sd); 6679 if (mask <= 0.0) discard; 6680 vec4 tex = texture(uTex, vec3(vUV, vLayer)); 6681 vec3 rgb = tex.rgb * vBright; 6682 float edge = smoothstep(0.0, 2.0*aa + 0.010, -sd); 6683 rgb = mix(rgb*1.45 + vec3(0.10,0.10,0.13), rgb, edge); 6684 rgb = mix(rgb, uFogColor, vFogT); 6685 float rim = 1.0 - smoothstep(0.0, 0.038, -sd); 6686 rgb += vec3(1.0, 0.95, 0.82) * pow(rim, 1.5) * vGlow * 2.6; 6687 float a = mask * vFade * tex.a; 6688 frag = vec4(rgb*a, a); 6689}`,j=`#version 300 es 6690layout(location=0) in vec2 aPos; 6691layout(location=1) in vec4 aM0; 6692layout(location=2) in vec4 aM1; 6693layout(location=3) in vec4 aM2; 6694layout(location=4) in vec4 aM3; 6695layout(location=5) in vec4 aData; 6696uniform mat4 uProj, uView; 6697out vec2 vUV; 6698out float vLayer, vAmt, vLod, vSat; 6699void main(){ 6700 mat4 M = mat4(aM0,aM1,aM2,aM3); 6701 gl_Position = uProj * (uView * (M * vec4(aPos,0.0,1.0))); 6702 vUV = vec2(aPos.x+0.5, 0.5-aPos.y); 6703 vLayer = aData.x; vAmt = aData.y; vLod = aData.z; vSat = aData.w; 6704}`,y=`#version 300 es 6705precision highp float; 6706precision highp sampler2DArray; 6707in vec2 vUV; 6708in float vLayer, vAmt, vLod, vSat; 6709uniform sampler2DArray uTex; 6710out vec4 frag; 6711void main(){ 6712 vec2 p = (vUV-0.5)*2.0; 6713 float a = 1.0 - smoothstep(0.25, 1.0, length(p)); 6714 a *= a; 6715 if (a*vAmt <= 0.002) discard; 6716 // The thumbnail already carries a mip chain, so a coarse mip IS a heavy blur â one fetch, no blur pass. 6717 vec3 c = textureLod(uTex, vec3(vUV, vLayer), vLod).rgb; 6718 // Averaging that far down pulls complementary colours toward grey, so push saturation back out â else the 6719 // wash reads as haze rather than light. 6720 float l = dot(c, vec3(0.2126, 0.7152, 0.0722)); 6721 c = max(vec3(0.0), mix(vec3(l), c, vSat)); 6722 frag = vec4(c * (a * vAmt), 0.0); // additive: only ever adds light 6723}`,N=`#version 300 es 6724layout(location=0) in vec2 aPos; 6725layout(location=1) in vec4 aM0; 6726layout(location=2) in vec4 aM1; 6727layout(location=3) in vec4 aM2; 6728layout(location=4) in vec4 aM3; 6729layout(location=5) in vec4 aCol; 6730uniform mat4 uProj, uView; 6731uniform vec3 uFog; 6732out vec2 vUV; out vec4 vCol; out float vFogT; 6733void main(){ 6734 mat4 M = mat4(aM0,aM1,aM2,aM3); 6735 vec4 vp = uView * (M * vec4(aPos,0.0,1.0)); 6736 gl_Position = uProj * vp; 6737 vUV = aPos+0.5; vCol = aCol; 6738 vFogT = smoothstep(uFog.x, uFog.y, -(uView*vec4(aM3.xyz,1.0)).z); 6739}`,k=`#version 300 es 6740precision highp float; 6741in vec2 vUV; in vec4 vCol; in float vFogT; 6742out vec4 frag; 6743void main(){ 6744 vec2 p = (vUV-0.5)*2.0; 6745 float k = max(0.0, 1.0 - dot(p,p)); 6746 k = k*k*k; 6747 frag = vec4(vCol.rgb * (k * vCol.a * (1.0 - vFogT*0.7)), 0.0); 6748}`,w=`#version 300 es 6749precision highp float; 6750in vec2 vUV; uniform sampler2D uTex; uniform float uW; 6751out vec4 frag; 6752void main(){ frag = texture(uTex, vUV) * uW; }`,S=`#version 300 es 6753precision highp float; 6754in vec2 vUV; uniform sampler2D uTex; uniform float uT; 6755out vec4 frag; 6756void main(){ 6757 vec3 c = texture(uTex, vUV).rgb; 6758 float l = dot(c, vec3(0.2126,0.7152,0.0722)); 6759 frag = vec4(c * (max(0.0, l-uT)/max(l,1e-4)), 1.0); 6760}`,M=`#version 300 es 6761precision highp float; 6762in vec2 vUV; uniform sampler2D uTex; uniform vec2 uDir; 6763out vec4 frag; 6764void main(){ 6765 vec3 s = texture(uTex, vUV).rgb * 0.227027; 6766 s += (texture(uTex, vUV+uDir*1.3846).rgb + texture(uTex, vUV-uDir*1.3846).rgb) * 0.3162162; 6767 s += (texture(uTex, vUV+uDir*3.2308).rgb + texture(uTex, vUV-uDir*3.2308).rgb) * 0.0702702;
6768 frag = vec4(s, 1.0); 6769}`,_=`#version 300 es 6770precision highp float; 6771in vec2 vUV; 6772uniform sampler2D uAccum, uBloom; 6773uniform vec3 uBg; 6774uniform float uBloomAmt, uVig, uAberr, uTime; 6775out vec4 frag; 6776void main(){ 6777 vec2 c = vUV-0.5; 6778 float r2 = dot(c,c); 6779 vec2 off = c * uAberr * (0.4 + r2*3.0); 6780 vec3 col = vec3( 6781 texture(uAccum, vUV+off).r, 6782 texture(uAccum, vUV).g, 6783 texture(uAccum, vUV-off).b); 6784 col += texture(uBloom, vUV).rgb * uBloomAmt; 6785 vec3 over = max(col-0.90, 0.0); 6786 col = min(col, vec3(0.90)) + over/(1.0+over); 6787 col = uBg + (col - uBg) * (1.0 - uVig*smoothstep(0.16, 0.80, r2)); 6788 float n = fract(sin(dot(gl_FragCoord.xy + uTime, vec2(12.9898,78.233)))*43758.5453); 6789 col += (n-0.5)*0.0045; 6790 frag = vec4(col, 1.0); 6791}`;let A,E,L,B,z,le,V;try{if(c.isContextLost())throw new Error("WebGL2 context is already lost");A=f(b,v),E=f(j,y),L=f(N,k),B=f(h,w),z=f(h,S),le=f(h,M),V=f(h,_)}catch(I){return console.error("[collectibles] reel shader setup failed",I),null}const $=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,$),c.bufferData(c.ARRAY_BUFFER,new Float32Array([-.5,-.5,.5,-.5,-.5,.5,.5,.5]),c.STATIC_DRAW);const re=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,re),c.bufferData(c.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),c.STATIC_DRAW);const K=c.createVertexArray();c.bindVertexArray(K),c.bindBuffer(c.ARRAY_BUFFER,re),c.enableVertexAttribArray(0),c.vertexAttribPointer(0,2,c.FLOAT,!1,0,0);const ae=20*4;function ee(I){const G=c.createVertexArray(),T=c.createBuffer();c.bindVertexArray(G),c.bindBuffer(c.ARRAY_BUFFER,$),c.enableVertexAttribArray(0),c.vertexAttribPointer(0,2,c.FLOAT,!1,0,0),c.bindBuffer(c.ARRAY_BUFFER,T),c.bufferData(c.ARRAY_BUFFER,I*ae,c.DYNAMIC_DRAW);for(let q=0;q<5;q++)c.enableVertexAttribArray(1+q),c.vertexAttribPointer(1+q,4,c.FLOAT,!1,ae,q*16),c.vertexAttribDivisor(1+q,1);return c.bindVertexArray(null),{vao:G,vbo:T,cap:I}}let ie=ee(64),Le=ee(64),de=ee(256),Ce=1,Be=1,Ie=1,gt=1,F=[],J=[],Re=[];const nt=c.RGBA16F,Me=c.HALF_FLOAT;let Te=nt,Fe=Me;function bt(I,G,T,q){const Ne=c.createTexture();return c.bindTexture(c.TEXTURE_2D,Ne),c.texImage2D(c.TEXTURE_2D,0,T,I,G,0,c.RGBA,q,null),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,c.LINEAR),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,c.LINEAR),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE),c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE),Ne}function yt(I){const G=c.createFramebuffer();return c.bindFramebuffer(c.FRAMEBUFFER,G),c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,I,0),G}function xa(){for(const T of F)c.deleteTexture(T.sceneTex),c.deleteTexture(T.accumTex),c.deleteFramebuffer(T.sceneFBO),c.deleteFramebuffer(T.accumFBO);Re.forEach(T=>c.deleteTexture(T)),J.forEach(T=>c.deleteFramebuffer(T)),F=[],Re=[],J=[];const I=bt(4,4,Te,Fe),G=yt(I);c.checkFramebufferStatus(c.FRAMEBUFFER)!==c.FRAMEBUFFER_COMPLETE&&Te===nt&&(Te=c.RGBA8,Fe=c.UNSIGNED_BYTE),c.deleteTexture(I),c.deleteFramebuffer(G);for(const T of[1,2,3]){const q=Math.max(2,Math.round(Ce/T)),Ne=Math.max(2,Math.round(Be/T)),me=bt(q,Ne,Te,Fe),fe=yt(me),pe=bt(q,Ne,Te,Fe),_t=yt(pe);F.push({w:q,h:Ne,sceneTex:me,sceneFBO:fe,accumTex:pe,accumFBO:_t})}for(let T=0;T<2;T++){const q=bt(Ie,gt,Te,Fe);Re.push(q),J.push(yt(q))}c.bindFramebuffer(c.FRAMEBUFFER,null)}function Ss(){const I=Math.min(window.devicePixelRatio||1,2),G=Math.max(2,Math.round(s.clientWidth*I)),T=Math.max(2,Math.round(s.clientHeight*I));G===Ce&&T===Be||(Ce=G,Be=T,s.width=Ce,s.height=Be,Ie=Math.max(2,Ce>>2),gt=Math.max(2,Be>>2),xa())}const $a=new ResizeObserver(Ss);$a.observe(s);let os=null,Ge=1;function cs(I,G){const T=G*67%360,q=I.createLinearGradient(0,0,d,u);q.addColorStop(0,`hsl(${T} 72% 52%)`),q.addColorStop(1,`hsl(${(T+55)%360} 70% 26%)`),I.fillStyle=q,I.fillRect(0,0,d,u)}async function y1(){const I=a.length?a:[""],G=await Promise.all(I.map(me=>new Promise(fe=>{if(!me)return fe(null);const pe=new Image;pe.crossOrigin="anonymous",pe.onload=()=>fe(pe),pe.onerror=()=>fe(null),pe.src=me})));Ge=Math.max(1,G.length);const T=G.find(me=>!!me&&me.naturalWidth>0&&me.naturalHeight>0);
6791T&&(o.aspect=T.naturalWidth/T.naturalHeight,o.aspect>=1?(d=640,u=Math.max(2,Math.round(640/o.aspect))):(u=640,d=Math.max(2,Math.round(640*o.aspect))));const q=document.createElement("canvas");q.width=d,q.height=u;const Ne=q.getContext("2d");os=c.createTexture(),c.bindTexture(c.TEXTURE_2D_ARRAY,os),c.texImage3D(c.TEXTURE_2D_ARRAY,0,c.RGBA8,d,u,Ge,0,c.RGBA,c.UNSIGNED_BYTE,null);for(let me=0;me<Ge;me++){Ne.clearRect(0,0,d,u);const fe=G[me];if(fe){const pe=Math.min(d/fe.width,u/fe.height),_t=fe.width*pe,Tt=fe.height*pe;Ne.drawImage(fe,(d-_t)/2,(u-Tt)/2,_t,Tt)}else cs(Ne,me);c.texSubImage3D(c.TEXTURE_2D_ARRAY,0,0,0,me,d,u,1,c.RGBA,c.UNSIGNED_BYTE,q)}if(c.generateMipmap(c.TEXTURE_2D_ARRAY),c.texParameteri(c.TEXTURE_2D_ARRAY,c.TEXTURE_MIN_FILTER,c.LINEAR_MIPMAP_LINEAR),c.texParameteri(c.TEXTURE_2D_ARRAY,c.TEXTURE_MAG_FILTER,c.LINEAR),c.texParameteri(c.TEXTURE_2D_ARRAY,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE),c.texParameteri(c.TEXTURE_2D_ARRAY,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE),x){const me=c.getParameter(x.MAX_TEXTURE_MAX_ANISOTROPY_EXT);c.texParameterf(c.TEXTURE_2D_ARRAY,x.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(16,me))}}let Lt=[],As=[],Rt=new Float32Array(0),Ct=new Float32Array(0),ds=new Float32Array(0),Ls=1337;const us=()=>(Ls=Ls*1664525+1013904223>>>0)/4294967296;function lo(){const I=o.cardH*o.aspect,G=o.aspect<.9?.12:.3;o.count=Math.max(Ge,Math.round(2*Math.PI*o.radius/(I+G)));const T=o.count|0;Lt=[];for(let me=0;me<T;me++)Lt.push({theta:me*2*Math.PI/T,layer:me%Ge,z:0});ie.cap<T&&(c.deleteVertexArray(ie.vao),c.deleteBuffer(ie.vbo),ie=ee(T*2)),Rt=new Float32Array(T*20),Le.cap<T&&(c.deleteVertexArray(Le.vao),c.deleteBuffer(Le.vbo),Le=ee(T*2)),Ct=new Float32Array(T*20),Ls=1337;const q=[[1,.92,.78],[1,.74,.32],[.42,.78,1],[.86,.46,1],[1,.42,.6],[.62,1,.86]],Ne=120;As=[];for(let me=0;me<Ne;me++){const fe=q[us()*q.length|0],pe=.3+us()*.75;As.push({theta:us()*Math.PI*2,rad:o.radius*(.7+us()*.7),y:(us()*2-1)*o.cardH*1.3,len:.14+us()*.7,thick:.005+us()*.032,mul:.72+us()*.78,r:fe[0]*pe,g:fe[1]*pe,b:fe[2]*pe,a:.45+us()*.75})}de.cap<Ne&&(c.deleteVertexArray(de.vao),c.deleteBuffer(de.vbo),de=ee(Ne*2)),ds=new Float32Array(Ne*20)}const ms=2*Math.PI,mn=.42,ro=.6,io=.6,R={ang:0,prev:0,vel:o.idleSpeed,mode:"idle",t:0,from:0,to:0,dur:1,landT:1e3,target:0,landAngle:0,resolve:null};function _1(I){const G=Math.max(1,o.count|0),T=(I%G+G)%G;if(R.mode!=="idle"&&R.mode!=="hold")return Promise.resolve(R.target);const q=ms/G,Ne=-T*q,me=o.spinPeak*1.2+ms*2;let fe=R.ang+me;return fe+=((Ne-fe)%ms+ms)%ms,R.target=T,R.landAngle=fe,R.mode="accel",R.t=0,new Promise(pe=>R.resolve=pe)}function oo(I){const G=Math.max(1,o.count|0),T=(I%G+G)%G,q=-T*(ms/G);return R.target=T,R.to=q,R.from=q,R.ang=q,R.prev=q,R.vel=0,R.t=0,R.landT=0,R.mode="hold",r==null||r(T),T}const co=()=>o.decelTime*(o.crawlSpeed+(o.spinPeak-o.crawlSpeed)*.25),uo=()=>o.crawlSpeed*o.crawlTime;function D(I){R.prev=R.ang;const G=ms/Math.max(1,o.count|0);switch(R.mode){case"idle":R.vel+=(o.idleSpeed-R.vel)*Math.min(1,I*3),R.ang+=R.vel*I;break;case"accel":{R.t+=I;const T=Math.min(1,R.t/mn),q=T*T*(3-2*T);R.vel=o.idleSpeed+(o.spinPeak-o.idleSpeed)*q,R.ang+=R.vel*I,R.t>=mn&&(R.mode="cruise",R.t=0);break}case"cruise":{R.t+=I,R.vel=o.spinPeak,R.ang+=R.vel*I,R.landAngle-R.ang<=co()+uo()+G&&(R.mode="decel",R.t=0);break}case"decel":{R.t+=I;const T=Math.min(1,R.t/Math.max(.05,o.decelTime));R.vel=o.crawlSpeed+(o.spinPeak-o.crawlSpeed)*Math.pow(1-T,3),R.ang+=R.vel*I,T>=1&&(R.mode="crawl",R.t=0);break}case"crawl":{R.t+=I,R.vel=o.crawlSpeed,R.ang+=R.vel*I;const T=o.crawlSpeed*ro/3,q=R.landAngle-R.ang;q<=T&&(R.from=R.ang,R.to=R.landAngle,R.dur=Math.max(.2,3*Math.max(0,q)/Math.max(.05,o.crawlSpeed)),R.mode="settle",R.t=0);break}case"settle":{R.t+=I;const T=Math.min(1,R.t/R.dur),q=1-Math.pow(1-T,3),Ne=R.from+(R.to-R.from)*q;R.vel=I>0?Math.abs(Ne-R.ang)/I:0,R.ang=Ne,T>=1&&(R.mode="land",R.t=0,R.landT=0);break}case"land":{R.t+=I,R.landT+=I;const T=R.to+o.landBacklash*Math.exp(-R.t*11)*Math.sin(R.t*30);if(R.vel=I>0?Math.abs(T-R.ang)/I:0,R.ang=T,R.t>=io&&(R.mode="hold",R.t=0,R.ang=R.to,R.vel=0,R.resolve)){const q=R.resolve;R.resolve=null,q(R.target),r==null||r(R.target)}break}case"hold":R.vel=0,R.landT+=I;break}}const je=new Float32Array(16),dt=new Float32Array(16);function fa(I,G,T,q){const Ne=1/Math.tan(I*Math.PI/360);je.fill(0),je[0]=Ne/G,je[5]=Ne,je[10]=(q+T)/(T-q),je[11]=-1,je[14]=2*q*T/(T-q)}function xn(I){dt.fill(0),dt[0]=dt[5]=dt[10]=dt[15]=1,dt[14]=-I}function sd(I,G,T,q,Ne,me,fe,pe,_t,Tt,N1,po,Hl,Ul){T=T%ms,T>Math.PI?T-=ms:T<=-Math.PI&&(T+=ms);const k1=Math.cos(T),he=Math.sin(T),ge=Math.cos(q),et=Math.sin(q),bn=-q*_t,Ha=Math.cos(bn),Ua=Math.sin(bn),od=-T*Ul,Cn=Math.cos(od),jn=Math.sin(od),ho=k1,go=et*he,bo=-ge*he,cd=0,dd=ge,ud=et,Vl=he,zl=-et*k1,Gl=ge*k1,Co=jn*Ua,jo=Cn*Ua,vo=jn*Ha,wo=Cn*Ha,ih=Cn*ho-jn*Vl,oh=Cn*go-jn*zl,ch=Cn*bo-jn*Gl,dh=Co*ho+Ha*cd+jo*Vl,uh=Co*go+Ha*dd+jo*zl,mh=Co*bo+Ha*ud+jo*Gl,xh=vo*ho-Ua*cd+wo*Vl,fh=vo*go-Ua*dd+wo*zl,ph=vo*bo-Ua*ud+wo*Gl,yo=Ne+me;return I[G]=ih*fe,I[G+1]=oh*fe,I[G+2]=ch*fe,I[G+3]=0,I[G+4]=dh*pe,I[G+5]=uh*pe,I[G+6]=mh*pe,I[G+7]=0,I[G+8]=xh,I[G+9]=fh,I[G+10]=ph,I[G+11]=0,I[G+12]=Vl*yo,I[G+13]=zl*yo+Tt,I[G+14]=Gl*yo,I[G+15]=1,I[G+16]=N1,I[G+17]=po,I[G+18]=Hl,I[G+19]=0,I[G+14]-o.camDist}const fn=[];let Pa=new Float32Array(0),Ol=0,mo=0,Dl=0;const ad=I=>(I=Math.min(1,Math.max(0,I)),I*I*(3-2*I));function nh(){const I=R.mode==="land"||R.mode==="hold",G=I?0:ad((Math.abs(R.vel)-.4)/4);Ol+=(G-Ol)*(G>Ol?.3:.1);const T=I||R.mode==="idle"&&Math.abs(R.vel)<.02;mo+=((T?1:0)-mo)*(T?.13:.05);const q=I?0:Math.min(1,Math.abs(R.vel)/o.spinPeak);Dl+=(q-Dl)*(q>Dl?.12:.06)}function lh(I,G){const T=o.count|0,q=o.tilt*Math.PI/180,Ne=o.cardH*o.aspect,me=o.cardH,fe=o.ringY+o.radius*Math.sin(q),pe=R.mode==="land"||R.mode==="hold",_t=pe?1:1-ad((Math.abs(G)-.15)/1.6),Tt=2*Math.PI/T,N1=Math.exp(-R.landT*8.5)*Math.cos(R.landT*19),po=Math.exp(-R.landT*5),Hl=pe?o.pulseAmp*Math.sin(R.landT*o.pulseFreq):0;fn.length=0;for(let he=0;he<T;he++){let ge=(I+Lt[he].theta)%(2*Math.PI);ge>Math.PI?ge-=2*Math.PI:ge<-Math.PI&&(ge+=2*Math.PI);let et=Math.max(0,1-Math.abs(ge)/(Tt*.92));et=et*et*(3-2*et)*_t;const bn=1+(o.focusPop+o.landPunch*N1+Hl)*et,Ha=o.focusLift*et*(1+.6*N1),Ua=1-o.dimOthers*_t+(o.dimOthers*_t+.1)*et;Lt[he].z=sd(Rt,he*20,I+Lt[he].theta,q,o.radius,Ha,Ne*bn,me*bn,et*o.straighten,fe,Lt[he].layer,et,Ua,o.faceCam),Rt[he*20+19]=o.landFlash*po*et,fn.push(he)}fn.sort((he,ge)=>Lt[he].z-Lt[ge].z),Pa.length!==T*20&&(Pa=new Float32Array(T*20));for(let he=0;he<T;he++)Pa.set(Rt.subarray(fn[he]*20,fn[he]*20+20),he*20);const Ul=o.ambient*mo*(1+Hl*2);if(Ul>.002){for(let he=0;he<T;he++){const ge=he*20;Ct.set(Pa.subarray(ge,ge+20),ge);for(let et=0;et<3;et++)Ct[ge+et]*=o.ambientSize,Ct[ge+4+et]*=o.ambientSize*o.ambientSizeY;Ct[ge+16]=Pa[ge+16],Ct[ge+17]=Ul*Pa[ge+17],Ct[ge+18]=o.ambientBlur,Ct[ge+19]=o.ambientSat}c.useProgram(E),c.uniformMatrix4fv(E.u.uProj,!1,je),c.uniformMatrix4fv(E.u.uView,!1,dt),c.uniform1i(E.u.uTex,0),c.activeTexture(c.TEXTURE0),c.bindTexture(c.TEXTURE_2D_ARRAY,os),c.bindVertexArray(Le.vao),c.bindBuffer(c.ARRAY_BUFFER,Le.vbo),c.bufferSubData(c.ARRAY_BUFFER,0,Ct),c.drawArraysInstanced(c.TRIANGLE_STRIP,0,4,T)}c.useProgram(A),c.uniformMatrix4fv(A.u.uProj,!1,je),c.uniformMatrix4fv(A.u.uView,!1,dt),c.uniform3f(A.u.uFog,o.fogNear,o.fogFar,o.fogAmt),c.uniform3f(A.u.uFogColor,o.bg[0]*1.6,o.bg[1]*1.6,o.bg[2]*1.9),c.uniform2f(A.u.uHalf,o.aspect,1),c.uniform1f(A.u.uRadius,o.corner),c.uniform1i(A.u.uTex,0),c.activeTexture(c.TEXTURE0),c.bindTexture(c.TEXTURE_2D_ARRAY,os),c.bindVertexArray(ie.vao),c.bindBuffer(c.ARRAY_BUFFER,ie.vbo),c.bufferSubData(c.ARRAY_BUFFER,0,Pa),c.drawArraysInstanced(c.TRIANGLE_STRIP,0,4,T);const k1=o.streaks*Ol;if(k1>.002){for(let he=0;he<As.length;he++){const ge=As[he];sd(ds,he*20,I*ge.mul+ge.theta,q,ge.rad,0,ge.len,ge.thick,0,fe+ge.y,0,0,0,0),ds[he*20+16]=ge.r,ds[he*20+17]=ge.g,ds[he*20+18]=ge.b,ds[he*20+19]=ge.a*k1}c.useProgram(L),c.uniformMatrix4fv(L.u.uProj,!1,je),c.uniformMatrix4fv(L.u.uView,!1,dt),c.uniform3f(L.u.uFog,o.fogNear,o.fogFar,1),c.bindVertexArray(de.vao),c.bindBuffer(c.ARRAY_BUFFER,de.vbo),c.bufferSubData(c.ARRAY_BUFFER,0,ds),c.drawArraysInstanced(c.TRIANGLE_STRIP,0,4,As.length)}}function pn(){c.bindVertexArray(K),c.drawArrays(c.TRIANGLES,0,3)}let nd=performance.now(),hn=o.maxSamples,$l=16.7,gn=16.7,ld=0,xo=0,Pl=!1,rd=!1;function id(I){if(Pl||(xo=requestAnimationFrame(id),!os))return;Ss(),rd||(rd=!0,l==null||l());const G=Math.min(.05,(I-nd)/1e3);nd=I,D(G),nh();const T=o.camDist/(1+o.spinZoom*Dl);fa(o.fov,Ce/Be,.1,60),xn(T);const q=(R.ang-R.prev)*o.shutter,Ne=Be*.5/(Math.tan(o.fov*Math.PI/360)*Math.max(.5,T-o.radius)),me=Math.abs(q)*o.radius*Ne,fe=Math.max(1,Math.min(hn|0,Math.ceil(me/2))),pe=me>45?F[2]:me>14?F[1]:F[0];c.disable(c.DEPTH_TEST),c.enable(c.BLEND),c.bindFramebuffer(c.FRAMEBUFFER,pe.accumFBO),c.viewport(0,0,pe.w,pe.h),c.clearColor(0,0,0,1),c.clear(c.COLOR_BUFFER_BIT);for(let Tt=0;Tt<fe;Tt++){const N1=R.ang+q*((Tt+(fe>1?Math.random():.5))/fe-.5);c.bindFramebuffer(c.FRAMEBUFFER,pe.sceneFBO),c.viewport(0,0,pe.w,pe.h),c.clearColor(o.bg[0],o.bg[1],o.bg[2],1),c.clear(c.COLOR_BUFFER_BIT),c.blendFunc(c.ONE,c.ONE_MINUS_SRC_ALPHA),lh(N1,R.vel),c.bindFramebuffer(c.FRAMEBUFFER,pe.accumFBO),c.blendFunc(c.ONE,c.ONE),c.useProgram(B),c.uniform1i(B.u.uTex,0),c.uniform1f(B.u.uW,1/fe),c.activeTexture(c.TEXTURE0),c.bindTexture(c.TEXTURE_2D,pe.sceneTex),pn()}c.disable(c.BLEND),c.bindFramebuffer(c.FRAMEBUFFER,J[0]),c.viewport(0,0,Ie,gt),c.useProgram(z),c.uniform1i(z.u.uTex,0),c.uniform1f(z.u.uT,o.bloomThresh),c.bindTexture(c.TEXTURE_2D,pe.accumTex),pn(),c.useProgram(le),c.uniform1i(le.u.uTex,0);for(let Tt=0;Tt<2;Tt++)c.bindFramebuffer(c.FRAMEBUFFER,J[1]),c.uniform2f(le.u.uDir,1/Ie,0),c.bindTexture(c.TEXTURE_2D,Re[0]),pn(),c.bindFramebuffer(c.FRAMEBUFFER,J[0]),c.uniform2f(le.u.uDir,0,1/gt),c.bindTexture(c.TEXTURE_2D,Re[1]),pn();c.bindFramebuffer(c.FRAMEBUFFER,null),c.viewport(0,0,Ce,Be),c.useProgram(V),c.uniform1i(V.u.uAccum,0),c.uniform1i(V.u.uBloom,1),c.uniform1f(V.u.uBloomAmt,o.bloom),c.uniform1f(V.u.uVig,o.vignette),c.uniform1f(V.u.uAberr,o.aberration),c.uniform3f(V.u.uBg,o.bg[0],o.bg[1],o.bg[2]),c.uniform1f(V.u.uTime,I%1e3*.01),c.activeTexture(c.TEXTURE0),c.bindTexture(c.TEXTURE_2D,pe.accumTex),c.activeTexture(c.TEXTURE1),c.bindTexture(c.TEXTURE_2D,Re[0]),pn();const _t=I-(ld||I-gn);ld=I,_t>3&&_t<40&&(gn=Math.min(gn*1.0008,Math.max(_t,6))),$l+=(_t-$l)*.12,$l>gn*1.4?hn=Math.max(4,hn*.85):$l<gn*1.12&&(hn=Math.min(o.maxSamples,hn+.25))}let fo=()=>{};const rh=new Promise(I=>fo=I);return(async()=>
6791{if(await y1(),Pl){fo();return}lo(),Ss(),fo(),xo=requestAnimationFrame(id)})(),{spin:async(I,G=!1)=>(await rh,Pl?I:G?oo(I):_1(I)),reset:()=>{R.mode="idle",R.vel=o.idleSpeed,R.landT=1e3,R.resolve=null},destroy:()=>{var I;Pl=!0,cancelAnimationFrame(xo),$a.disconnect(),R.resolve=null,(I=c.getExtension("WEBGL_lose_context"))==null||I.loseContext()}}},bf=m.forwardRef(({images:t,aspect:s,background:a="#13161e",onLand:l,onUnsupported:r},i)=>{const o=m.useRef(null),d=m.useRef(null),u=m.useRef(l),c=m.useRef(r);u.current=l,c.current=r;const x=m.useRef(t),p=m.useRef(s),f=m.useRef(a);return m.useEffect(()=>{var j;const h=o.current;if(!h)return;const b=document.createElement("canvas");b.className="collectibles-reel-canvas",b.setAttribute("aria-hidden","true"),b.dataset.testid="collectibles-reel",b.style.backgroundColor=f.current,b.style.opacity="0",h.appendChild(b);const v=dZ({canvas:b,images:x.current,aspect:p.current,background:f.current,onPainted:()=>{b.style.opacity="1"},onLand:y=>{var N;return(N=u.current)==null?void 0:N.call(u,y)}});if(!v){b.remove(),(j=c.current)==null||j.call(c);return}return d.current=v,()=>{d.current=null,v.destroy(),b.remove()}},[]),m.useImperativeHandle(i,()=>({spin:(h,b)=>{var v;return((v=d.current)==null?void 0:v.spin(h,b))??Promise.resolve(h)},reset:()=>{var h;return(h=d.current)==null?void 0:h.reset()}}),[]),e.jsx("div",{ref:o,className:"size-full","data-testid":"collectibles-reel-stage"})});bf.displayName="CollectiblesReel";const uZ=({loot:t,hasNext:s=!1,demo:a=!1,onOpenNext:l,onContinue:r})=>{const{spins:i,spinValue:o,isSpins:d}=xf(t.subtitle),u=(t.value??"")!=="";return e.jsxs("div",{className:"flex flex-col items-center gap-8",children:[e.jsxs("div",{className:"flex flex-col items-center gap-6",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[a?e.jsx(ta,{className:"px-3 py-2 text-sm"}):null,t.tierName?e.jsxs("span",{className:"flex items-center gap-2 rounded-lg px-3 py-2 font-jost text-sm leading-none",style:{backgroundColor:`${t.badgeColor}33`,color:t.badgeColor},children:[e.jsx("span",{className:"font-medium",children:t.tierName}),t.odds?e.jsx("span",{className:"font-semibold",children:t.odds}):null]}):null,d?e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"flex items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm font-medium leading-none text-[#adafce]",children:[e.jsx("span",{className:"opacity-60",children:n("lootbox.collectibles.spins")}),e.jsx("span",{children:i})]}),e.jsxs("span",{className:"flex items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm font-medium leading-none text-[#adafce]",children:[e.jsx("span",{className:"opacity-60",children:n("lootbox.collectibles.bet_size")}),e.jsx("span",{children:o})]})]}):null,u?e.jsxs("span",{className:"flex items-center gap-2 rounded-lg bg-[#1f232f] px-3 py-2 font-jost text-sm font-medium leading-none text-[#adafce]",children:[e.jsx("span",{className:"opacity-60",children:n("lootbox.collectibles.value")}),e.jsxs("span",{children:["$",t.value]})]}):null]}),e.jsxs("div",{className:"flex flex-col items-center gap-4 text-center text-[#d7d8e6]",children:[e.jsx("span",{className:"font-jost text-2xl font-semibold leading-none",children:t.name}),a?e.jsx("span",{className:"font-jost text-sm font-medium text-[#ffc53d]","data-testid":"collectibles-reveal-demo-note",children:n("lootbox.collectibles.demo_no_real_prize")}):null]})]}),s?e.jsxs("button",{type:"button","data-testid":"collectibles-open-next",onClick:l,className:g("flex h-10 max-w-full items-center justify-center gap-2 rounded-lg bg-[#9092b2]/10 font-jost text-sm font-semibold leading-6 text-[#9092b2] transition-colors duration-200 hover:bg-[#9092b2]/20",a?"min-w-[185.6px] px-4":"w-[185.6px]"),children:[e.jsx(T2,{className:"size-4"}),n("lootbox.collectibles.open_next_pack"),a?e.jsx(ta,{className:"ml-1"}):null]}):e.jsxs("button",{type:"button","data-testid":"collectibles-continue",onClick:r,className:"flex h-10 items-center justify-center gap-1.5 rounded-lg border border-[#637af4] bg-active-menu px-6 font-jost text-sm font-semibold leading-6 text-white transition-opacity duration-200 hover:opacity-90",children:[e.jsx(T2,{className:"h-4 w-5"}),n("lootbox.collectibles.continue"),a?e.jsx(ta,{className:"ml-1"}):null]})]})},Cf=m.forwardRef(({image:t,onOpened:s,onUnsupported:a},l)=>{const r=m.useRef(null),i=m.useRef(null),o=m.useRef(s),d=m.useRef(a);o.current=s,d.current=a;const u=m.useRef(t);return m.useEffect(()=>{const c=r.current;if(!c)return;const x=document.createElement("canvas");x.className="block size-full",x.setAttribute("aria-hidden","true"),c.appendChild(x);const p=()=>{var b;return(b=d.current)==null?void 0:b.call(d)};x.addEventListener("webglcontextlost",p);let f=!1;return(async()=>{var b;try{const v=typeof matchMedia=="function"&&matchMedia("(hover: none), (pointer: coarse)").matches||window.innerWidth<768,{createBoosterExperience:j}=await g1(async()=>{const{createBoosterExperience:N}=await import("./engine-6shNbFrT.js");return{createBoosterExperience:N}},[]),y=await j({canvas:x,stage:c,baseTextureUrl:u.current,quality:v?"low":"high",onOpened:()=>{var N;return(N=o.current)==null?void 0:N.call(o)}});if(f){y.destroy();return}i.current=y}catch(v){console.error("[collectibles] booster failed to initialise",v),f||(b=d.current)==null||b.call(d)}})(),()=>{var b;f=!0,x.removeEventListener("webglcontextlost",p),(b=i.current)==null||b.destroy(),i.current=null,x.remove()}},[]),m.useImperativeHandle(l,()=>({rip:()=>{var c;return(c=i.current)==null?void 0:c.rip()}}),[]),e.jsx("div",{ref:r,className:"booster-stage relative size-full touch-none","data-testid":"collectibles-unpack"})});Cf.displayName="CollectiblesUnpack";const mZ=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M10.6562 0.1875C10.9375 0.375 11.0625 0.71875 10.9688 1.0625L9.125 6.5625H12.9062C13.5 6.5625 14 7.0625 14 7.65625C14 7.96875 13.875 8.28125 13.625 8.46875L4.25 16.875C4 17.0938 3.625 17.125 3.34375 16.9375C3.0625 16.75 2.9375 16.4062 3.03125 16.0938L4.875 10.5625H1.09375C0.5 10.5625 0 10.0625 0 9.46875C0 9.15625 0.125 8.875 0.375 8.65625L9.75 0.25C10 0.03125 10.375 0 10.6562 0.1875ZM2.15625 9.0625H5.90625C6.15625 9.0625 6.375 9.1875 6.53125 9.375C6.65625 9.5625 6.71875 9.8125 6.625 10.0625L5.34375 13.875L11.8438 8.0625H8.09375C7.84375 8.0625 7.625 7.9375 7.46875 7.75C7.34375 7.5625 7.3125 7.3125 7.375 7.0625L8.65625 3.25L2.15625 9.0625Z",fill:"currentColor"})}),xZ=({className:t})=>e.jsx("svg",{className:g("size-5",t),viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M1.34375 0.28125L6.53125 5.46875L11.8125 0.75C12.0625 0.53125 12.4375 0.5 12.7188 0.6875C13 0.875 13.125 1.21875 13.0312 1.5625L11.1875 7.0625H14.9688C15.5625 7.0625 16.0625 7.5625 16.0625 8.15625C16.0625 8.46875 15.9375 8.78125 15.6875 8.96875L12.7188 11.6562L17.8438 16.7812C18.125 17.0625 18.125 17.5625 17.8438 17.8438C17.5625 18.125 17.0625 18.125 16.7812 17.8438L0.28125 1.34375C0 1.0625 0 0.5625 0.28125 0.28125C0.5625 0 1.0625 0 1.34375 0.28125ZM7.59375 6.53125L11.6562 10.5938L13.9062 8.5625H10.1562C9.90625 8.5625 9.6875 8.4375 9.53125 8.25C9.40625 8.0625 9.375 7.8125 9.4375 7.5625L10.7188 3.75L7.59375 6.53125ZM7.40625 14.375H7.4375L9.40625 12.5938L10.4688 13.6562L6.3125 17.375C6.0625 17.5938 5.6875 17.625 5.40625 17.4375C5.125 17.25 5 16.9
6791062 5.09375 16.5625L6.9375 11.0625H3.15625C2.5625 11.0625 2.0625 10.5625 2.0625 9.96875C2.0625 9.65625 2.1875 9.34375 2.4375 9.15625L4.3125 7.46875L5.375 8.53125L4.21875 9.5625H6.375L8.375 11.5312L7.40625 14.375Z",fill:"currentColor"})}),jf="collectiblesSpinAnimation",vf=()=>{try{return typeof window>"u"?null:window.localStorage}catch{return null}},fZ=()=>{var t;try{return((t=vf())==null?void 0:t.getItem(jf))!=="false"}catch{return!0}},pZ=t=>{var s;try{(s=vf())==null||s.setItem(jf,String(t))}catch{}},hZ=500,gZ=({pack:t,backHref:s,count:a,runId:l,demo:r=!1})=>{const i=Y(),o=m.useRef(null),[d,u,c,x,p,f,h,b,v,j,y,N,k,w,S,M,_]=C([ts,br,IN,FN,ON,DN,$N,PN,HN,Q7,eu,UN,J7,VN,zN,GN,ZN]),A=t.tag===x1.PHYSICAL,E=r||y,[L,B]=m.useState(!1),[z,le]=m.useState(!1),V=!A&&!!t.packImage&&z;m.useEffect(()=>{let Ge=!0;if(A||!t.packImage){le(!1),B(!0);return}return Fc(t.packImage).then(cs=>{Ge&&(le(cs),B(!0))}),()=>{Ge=!1}},[A,t.packImage]);const $=m.useMemo(()=>WN(t),[t]),re=m.useMemo(()=>$.map(Ge=>Ge.image),[$]),[K,ae]=m.useState(!1),[ee,ie]=m.useState(!1),[Le,de]=m.useState(!1),[Ce,Be]=m.useState(fZ),Ie=m.useRef(Ce);Ie.current=Ce;const gt=m.useCallback(()=>{const Ge=!Ie.current;Ie.current=Ge,Be(Ge),pZ(Ge)},[]);m.useEffect(()=>{L&&V&&ae(!0)},[L,V]);const F=m.useRef(null),J=m.useRef(null),Re=m.useRef(!0),nt=m.useRef(void 0),Me=u.pack!==null,Te=m.useRef(h);Te.current=h;const Fe=m.useRef(!1),bt=m.useCallback(()=>{!Te.current||Fe.current||(Fe.current=!0,KN())},[]),yt=()=>{bt(),i(s)};m.useEffect(()=>(Re.current=!0,qN({pack:t,count:a,demo:r,currency:d,runId:l}),()=>{Re.current=!1,bt(),clearTimeout(nt.current),F.current=null,YN()}),[]);const xa=m.useRef(f);xa.current=f;const Ss=m.useCallback(async Ge=>{var Lt,As;const cs=o.current;if(!cs)return;if(j){const Rt=br.getState().wonItems[Ge];if(!Rt)return;const Ct=XN($,Rt);if(Ct===JN?console.warn("[collectibles] awarded item is not on the reel; revealing it without a spin",{lootboxItemId:(Lt=Rt.item)==null?void 0:Lt.id,image:(As=Rt.item)==null?void 0:As.image}):await cs.spin(Ct,!Ie.current),!Re.current)return;if(o.current!==cs){Ss(Ge);return}Od(QN(Rt)),de(xa.current),ie(!0);return}const y1=await cs.spin(Math.floor(Math.random()*Math.max(1,re.length)),!Ie.current);if(Re.current){if(o.current!==cs){Ss(Ge);return}Od({...ek($,y1),demo:!0}),de(xa.current),ie(!0)}},[j,re,$]);m.useEffect(()=>{!Me||N||K||h||!L||j&&(v||!br.getState().wonItems[x])||V&&J.current!==x||F.current!==x&&(F.current=x,Ss(x))},[Me,N,K,h,v,j,x,Ss,L,V]),m.useEffect(()=>{x!==0&&(ie(!1),!N&&V&&ae(!0))},[x,N,V]);const $a=m.useCallback(()=>{J.current=x,nt.current=setTimeout(()=>{Re.current&&ae(!1)},hZ)},[x]),os=m.useCallback(()=>{J.current=x,ae(!1)},[x]);return Me&&N?e.jsx(rZ,{pack:t,backHref:s,onOpenAnother:()=>i(s),onClose:()=>i(st())}):e.jsxs("div",{className:"mx-auto flex w-full max-w-screen-custom-xl flex-col gap-8 xxs:px-4 lg:px-0","data-testid":"collectibles-open-page",children:[e.jsxs("div",{className:"relative z-10 flex items-center justify-between",children:[e.jsx(mf,{onClick:yt}),e.jsx("button",{type:"button","data-testid":"collectibles-spin-animation-toggle",onClick:gt,"aria-pressed":!Ce,"aria-label":Ce?"Disable spin animation":"Enable spin animation",className:"flex items-center justify-center rounded-lg bg-[#9092b2]/10 p-2.5 text-[#adafce] transition-colors hover:bg-[#9092b2]/20",children:e.jsx("span",{className:"flex size-5 items-center justify-center",children:Ce?e.jsx(mZ,{className:"h-[18px] w-auto"}):e.jsx(xZ,{className:"h-[19px] w-auto"})})})]}),E?e.jsx(Yx,{text:n("lootbox.collectibles.demo_no_real_prize"),className:"relative z-10 mx-auto w-fit max-w-full"}):null,e.jsxs("div",{className:"flex flex-col items-center gap-4 md:gap-8",children:[e.jsxs("div",{className:"flex w-full flex-col items-center gap-3",children:[e.jsx("div",{className:"relative z-10",children:e.jsx(iZ,{image:t.packImage,count:c,activeIndex:x})}),e.jsx("div",{className:"relative -mt-[80px] mb-6 h-[360px] w-full max-w-screen-custom-xl md:-mb-[220px] md:-mt-[180px] md:h-[760px]",children:L?K?e.jsxs("div",{className:"flex size-full flex-col items-center gap-3 pt-[70px] md:pt-[180px]",children:[e.jsx(oZ,{}),e.jsx("div",{className:"-mt-[20px] aspect-[310/500] w-[300px] max-w-[92vw] md:-mt-[20px] md:aspect-auto md:h-[500px] md:w-[310px] md:max-w-none",children:e.jsx(Cf,{image:t.packImage,onOpened:$a,onUnsupported:os},x)})]}):e.jsx("div",{className:"pointer-events-none absolute left-1/2 top-0 h-full w-screen -translate-x-1/2",children:e.jsx(bf,{ref:o,images:re})}):null})]}),h?e.jsxs("div",{className:"relative z-10 flex w-full flex-col items-center gap-3 md:-mt-[40px]",children:[e.jsx("p",{className:"font-jost text-base font-semibold text-[#ff5f7a]",children:n("lootbox.collectibles.open_failed")}),b?e.jsx("p",{className:"font-jost text-sm text-[#9092b2]","data-testid":"collectibles-open-error",children:b}):null,e.jsx("p",{className:"font-jost text-sm text-[#9092b2]","data-testid":"collectibles-open-inventory-note",children:n("lootbox.collectibles.open_failed_inventory_note")}),e.jsx("button",{type:"button","data-testid":"collectibles-open-failed-back",className:"rounded-lg bg-[#7086ff] px-6 py-2.5 font-jost text-base font-semibold text-white transition-opacity hover:opacity-90",onClick:yt,children:n("lootbox.collectibles.view_pack")})]}):e.jsx("div",{className:g("relative z-10 min-h-[150px] w-full transition-opacity duration-300 md:-mt-[40px]",ee?"opacity-100":"pointer-events-none opacity-0"),"aria-hidden":!ee,children:p?e.jsx(uZ,{loot:p,hasNext:Le,demo:E||p.demo===!0,onOpenNext:()=>Dd(),onContinue:()=>Dd()}):null}),e.jsx("div",{className:"relative z-10 mt-5 w-full md:mt-0",children:e.jsx(XG,{loot:k,emptySlots:S,highlightKeys:w,keptCount:M.length,totalValue:_,sellAllPrice:"",showSellAll:!1,onSellAll:()=>{},demo:E||k.some(Ge=>Ge.demo===!0)})})]})]})},I2="collectibles:open-intent",Dc="|",bZ="demo",wf=(t,s)=>`${t}${Dc}${s}`,CZ=()=>{const t=`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;try{return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():t}catch{return t}},yf=()=>{try{return typeof window>"u"?null:window.sessionStorage}catch{return null}},jZ=(t,s)=>{var a;try{(a=yf())==null||a.setItem(I2,`${wf(t,s)}${Dc}${CZ()}`)}catch{}},vZ=({pricePerPack:t,count:s,balanceUsd:a})=>{if(a===null)return!0;const l=typeof t=="number"?t:parseFloat(t);return!Number.isFinite(l)||l<=0?!0:l*s<=a},wZ=(t,s)=>{const a=yf();if(!a)return null;try{const l=a.getItem(I2);if(a.removeItem(I2),!l)return null;const r=`${wf(t,s)}${Dc}`;return l.startsWith(r)&&l.slice(r.length)||null}catch{return null}},yZ=({slug:t,currency:s,activeRunId:a})=>!!t&&!!s&&a==="",_Z=({intentChecked:t,runId:s,requested:a,pack:l})=>t&&!!s&&a&&l!=null,_f=()=>{const t=Y(),{slug:s=""}=as();Qx();const[a]=Q1(),[l,r,i]=C([ts,tu,tk]),o=sk(a.get("count")),d=a.get("demo")==="1",u=l||U.USDT,c=m.useRef(!1),[x,p]=m.useState(""),[f,h]=m.useState(!1);m.useEffect(()=>{if(c.current)return;c.current=!0;const k=d?bZ:wZ(s,o);k?p(k):t(Jt(s),{replace:!0}),h(!0)},[]);const[b,v]=m.useState(!1);m.useEffect(()=>()=>su(),[]),m.useEffect(()=>
6791{yZ({slug:s,currency:u,activeRunId:br.getState().runId})&&(au({slug:s,currency:u}),v(!0))},[s,u]);const j=m.useRef(null);r&&(j.current=r);const y=r??j.current,N=b&&!i;return m.useEffect(()=>{N&&!y&&t(Jt(s),{replace:!0})},[N,y,s,t]),!y||!_Z({intentChecked:f,runId:x,requested:b,pack:y})?null:e.jsx(gZ,{pack:y,count:o,demo:d,runId:x,backHref:Jt(s)},`${y.id??y.urlSlug}:${d}`)},NZ=(t,s)=>{const a=typeof t=="number"?t:parseFloat(t);return(Number.isFinite(a)?a:0)*s},yr=(t,s)=>it(NZ(t,s)),kZ=({isAuthenticated:t,pricePerPack:s,chargedCount:a,balanceUsd:l})=>t?vZ({pricePerPack:s,count:a,balanceUsd:l})?"confirm":"deposit":"auth",X5=({slug:t,openHref:s,count:a})=>(jZ(t,a),`${s}?count=${a}`),SZ=({packName:t,count:s,pricePerPack:a,onConfirm:l,onClose:r})=>(m.useEffect(()=>{const i=o=>{o.key==="Escape"&&r()};return window.addEventListener("keydown",i),()=>window.removeEventListener("keydown",i)},[r]),Oa.createPortal(e.jsx("div",{className:"bg-black/70 fixed inset-0 z-overlay flex items-center justify-center overflow-y-auto p-4","data-testid":"collectibles-buy-confirm",onClick:i=>{i.target===i.currentTarget&&r()},children:e.jsxs("div",{className:"relative my-auto flex w-full max-w-md flex-col items-center gap-8 rounded-2xl bg-[#1a1e27] p-6 text-center",role:"dialog","aria-modal":"true",children:[e.jsxs("div",{className:"flex flex-col items-center gap-3 pt-6",children:[e.jsx("span",{className:"font-jost text-sm font-semibold uppercase leading-none text-[#adafce]",children:n("lootbox.collectibles.buy_confirm.title")}),e.jsx("span",{className:"line-clamp-2 break-words font-gilroy text-3xl font-black uppercase leading-none text-[#c6c7dd]",children:t})]}),e.jsxs("div",{className:"flex w-full flex-col gap-2 rounded-xl bg-[#adafce]/5 p-4 text-left",children:[e.jsxs("div",{className:"flex items-center justify-between font-jost text-sm",children:[e.jsx("span",{className:"font-medium text-[#adafce]/60",children:n("lootbox.collectibles.buy_confirm.quantity")}),e.jsx("span",{className:"font-medium text-[#c6c7dd]","data-testid":"collectibles-buy-confirm-count",children:s})]}),e.jsxs("div",{className:"flex items-center justify-between font-jost text-sm",children:[e.jsx("span",{className:"font-medium text-[#adafce]/60",children:n("lootbox.collectibles.buy_confirm.price_per_pack")}),e.jsx("span",{className:"font-medium text-[#c6c7dd]",children:yr(a,1)})]}),e.jsxs("div",{className:"flex items-center justify-between border-t border-[#292d3c] pt-2 font-jost",children:[e.jsx("span",{className:"text-base font-medium text-[#adafce]/60",children:n("lootbox.collectibles.buy_confirm.total")}),e.jsx("span",{className:"text-xl font-semibold text-[#c6c7dd]","data-testid":"collectibles-buy-confirm-total",children:yr(a,s)})]})]}),e.jsxs("div",{className:"flex w-full flex-col gap-3",children:[e.jsxs("button",{type:"button",onClick:l,"data-testid":"collectibles-buy-confirm-accept",className:"flex h-12 w-full items-center justify-center gap-1.5 rounded-lg border border-[#637af4] bg-active-menu px-4 font-jost text-sm font-bold text-white transition-opacity hover:opacity-90",children:[e.jsx("span",{children:n("lootbox.collectibles.buy_confirm.confirm")}),e.jsx("span",{className:"whitespace-nowrap",children:yr(a,s)})]}),e.jsx("button",{type:"button",onClick:r,"data-testid":"collectibles-buy-confirm-cancel",className:"flex h-12 w-full items-center justify-center rounded-lg bg-[#20222d] px-4 font-jost text-sm font-semibold text-[#9092b2] transition-opacity hover:opacity-90",children:n("lootbox.collectibles.buy_confirm.cancel")})]})]})}),document.body)),J5=({slide:t,stepLabel:s,stepClassName:a,reversed:l})=>e.jsxs("div",{className:g("flex flex-col items-center justify-between gap-6 md:flex-row",l?"md:flex-row-reverse":""),children:[e.jsxs("div",{children:[e.jsx("div",{className:g("w-max rounded-3xl px-2.5 py-1",a),children:s(t.step)}),e.jsx("h3",{className:"mb-2 mt-3 text-xl text-white",children:t.title}),e.jsx("p",{className:"font-medium text-brandblue-100",children:t.description})]}),e.jsx(ce,{src:t.imageUrl,alt:"",className:"h-[202px] w-[332px] object-contain"})]}),Nf=({slides:t,stepLabel:s,stepClassName:a,finalLabel:l,nextLabel:r,checkboxLabel:i,checked:o,onCheckedChange:d,onFinish:u,testId:c})=>{const[x,p]=m.useState(0),f=x===t.length-1;return e.jsxs("div",{className:"flex flex-col","data-testid":c,children:[e.jsxs("div",{className:"flex flex-col md:hidden",children:[e.jsx(J5,{slide:t[x],stepLabel:s,stepClassName:a,reversed:x===1}),e.jsx("div",{className:"flex justify-center gap-2 pt-4",children:t.map((h,b)=>e.jsx("button",{type:"button","aria-label":`Slide ${h.step}`,onClick:()=>
6791p(b),className:g("size-2 rounded-full",b===x?"bg-white":"bg-white/30")},h.step))}),e.jsxs("div",{className:"sticky bottom-0 mt-8 w-full border-t border-t-highlight bg-primary pt-8",children:[e.jsx(O,{variant:"primary",className:"h-11 w-full","data-testid":`${c}-button`,onClick:()=>f?u():p(x+1),children:f?l:`${r} (${x+1}/${t.length})`}),e.jsxs("label",{className:"flex items-center pt-8",children:[e.jsx("input",{type:"checkbox",checked:o,"data-testid":`${c}-dont-show-again`,onChange:h=>d(h.target.checked),className:"size-5 rounded-md"}),e.jsx("span",{className:"ml-2.5 text-base text-brandblue-100",children:i})]})]})]}),e.jsxs("div",{className:"hidden flex-col md:flex",children:[t.map((h,b)=>e.jsx(J5,{slide:h,stepLabel:s,stepClassName:a,reversed:b===1},h.step)),e.jsxs("div",{className:"sticky bottom-0 mt-8 w-full border-t border-t-highlight bg-primary pt-8",children:[e.jsxs("label",{className:"flex items-center pb-8",children:[e.jsx("input",{type:"checkbox",checked:o,"data-testid":`${c}-dont-show-again-desktop`,onChange:h=>d(h.target.checked),className:"size-5 rounded-md"}),e.jsx("span",{className:"ml-2.5 text-base text-brandblue-100",children:i})]}),e.jsx(O,{variant:"primary",className:"h-11 w-full","data-testid":`${c}-button-desktop`,onClick:u,children:l})]})]})]})},AZ=[1,2,3].map(t=>({step:t,title:n(`lootbox.verification.step_${t}_title`),description:n(`lootbox.verification.step_${t}_body`),imageUrl:`/lootbox/lootbox-verification-illustration-${t}.webp`})),LZ=()=>{const{closeModal:t,openModal:s}=W(),[a,l]=m.useState(()=>yi(ll));return e.jsx(Nf,{slides:AZ,stepLabel:r=>`${n("lootbox.verification.step")} ${r}`,stepClassName:"bg-[#FDB5411A] text-[#FDB541]",finalLabel:n("lootbox.verification.button"),nextLabel:n("lootbox.verification.button_next"),checkboxLabel:n("lootbox.verification.dont_show_again"),checked:a,onCheckedChange:r=>{l(r),nu(ll,r)},onFinish:()=>{t(),window.setTimeout(()=>s(ul,{tab:"verification",skipToKYC:"true"}),500)},testId:"lootbox-kyc"})},$c="lootboxKyc",ll="whale:lootbox_kyc:dont_show_again",MZ=$e({component:LZ,title:()=>n("lootbox.verification.title"),big:!0,isDrawer:!0,hideContentHorizontalPadding:!0,wrapperClass:"bg-gradient-lootbox-kyc-modal md:rounded-2xl rounded-t-2xl",modalStorageKey:ll}),BZ=[1,2,3,4],Q5=[{cw:250.237,ch:303.293,ml:0,mt:18.2,rot:-26.62,w:146.744,h:265.707},{cw:226.872,ch:333.347,ml:39.18,mt:2.9,rot:-11.62,w:168.786,h:305.618},{cw:203.812,ch:344.243,ml:84.98,mt:6.92,rot:3.38,w:184.43,h:333.943},{cw:298.969,ch:400,ml:72.09,mt:0,rot:18.38,w:196.691,h:356.145}],EZ=({pack:t,slug:s})=>{const a=Y(),{openModal:l}=W(),[r,i,o,d]=C([te,Ps,We,Jx]),[u,c]=m.useState($d),x=ak({pack:t,isAuthenticated:r,kycPassed:(o==null?void 0:o.kycStatus)==="LEVEL_TWO_PASSED",kycKnown:i}),p=x.kind==="free"?x.maxCount:$d,f=Math.min(u,p),h=x.kind==="free",b=Bm(s),v=t.tag===x1.PHYSICAL?1:f,[j,y]=m.useState(!1),N=()=>{const E=kZ({isAuthenticated:r,pricePerPack:t.pricePerPack,chargedCount:v,balanceUsd:d});if(E==="auth"){l(_e,{tab:"login"});return}if(E==="deposit"){l("wallet",{tab:"deposit",openReason:"lootbox"});return}y(!0)},k=()=>{y(!1),a(X5({slug:s,openHref:b,count:f}))},w=()=>{if(!r){l(_e,{tab:"login"});return}if(x.kind==="free"&&x.needsKyc){yi(ll)?l(ul,{tab:"verification",skipToKYC:"true"}):l($c);return}a(X5({slug:s,openHref:b,count:f}))},[S,M]=m.useState(!1);m.useEffect(()=>{if(!t.packImage)return;let E=!0;return M(!1),Fc(t.packImage).then(L=>{E&&M(L)}),()=>{E=!1}},[t.packImage]);const _=t.tag!==x1.PHYSICAL,A=_&&S;return e.jsxs("section",{className:"flex flex-col md:grid md:grid-cols-[minmax(0,1fr)_auto] md:items-center md:gap-x-10 lg:pl-6",children:[e.jsxs("div",{className:"contents md:col-start-1 md:row-start-1 md:flex md:flex-col md:gap-10 md:self-center md:justify-self-start",children:[e.jsx("div",{className:"order-1 w-full py-6 md:w-auto md:py-0",children:e.jsxs("div",{className:"flex items-start gap-6 md:block",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col items-start gap-2 text-left md:max-w-[452px] md:gap-[19px]",children:[e.jsxs("div",{className:"flex flex-col items-start gap-2 md:gap-2.5",children:[e.jsx("span",{className:"font-jost text-sm font-medium leading-none text-[#adafce] opacity-60",children:t.label}),e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx(Gs,{className:"size-8 shrink-0 md:size-14"}),e.jsx("h1",{className:"font-gilroy text-[32px] font-black uppercase leading-none text-[#c6c7d
6791d] md:text-[56px] xl:text-[80px]",children:t.name})]})]}),e.jsx("div",{className:"hidden items-center gap-2 md:flex","data-testid":"collectibles-hero-price",children:h?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-jost text-[32px] font-semibold uppercase leading-none text-[#7cc6a0]",children:n("lootbox.collectibles.free")}),e.jsx("span",{className:"font-jost text-sm font-medium leading-none text-[#adafce] opacity-40",children:n("lootbox.collectibles.free_opens_left",{count:p})})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"font-jost text-[32px] font-semibold leading-none",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:t.pricePerPack})]}),e.jsx("span",{className:"font-jost text-sm font-medium leading-none text-[#adafce] opacity-40",children:n("lootbox.collectibles.per_pack")})]})}),e.jsx("p",{className:"font-jost text-sm font-medium leading-[1.4] text-[#adafce] md:text-base",children:n("lootbox.collectibles.win_paragraph")})]}),e.jsx("div",{className:"flex shrink-0 flex-col items-end gap-1 md:hidden",children:h?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-jost text-[32px] font-semibold uppercase leading-none text-[#7cc6a0]",children:n("lootbox.collectibles.free")}),e.jsx("span",{className:"font-jost text-sm font-medium leading-none text-[#adafce] opacity-60",children:n("lootbox.collectibles.free_opens_left",{count:p})})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"font-jost text-[32px] font-semibold leading-none",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:t.pricePerPack})]}),e.jsx("span",{className:"font-jost text-sm font-medium leading-none text-[#adafce] opacity-60",children:n("lootbox.collectibles.per_pack")})]})})]})}),e.jsxs("div",{className:"order-3 flex w-full flex-col items-center gap-8 py-6 md:w-auto md:flex-row md:items-center md:gap-4 md:py-0",children:[_?e.jsx("div",{className:"flex h-11 items-center gap-0.5 rounded-[10px] bg-[#1a1e27] p-0.5",children:BZ.filter(E=>E<=p).map(E=>e.jsx("button",{type:"button","data-testid":"collectibles-count",onClick:()=>c(E),className:g("flex aspect-square h-full items-center justify-center rounded-lg px-3 font-jost text-base font-semibold leading-6 transition-colors",f===E?"bg-active-menu text-white shadow-[0_6px_16px_rgba(9,8,115,0.2)]":"text-[#adafce] hover:bg-[#252a35]"),children:E},E))}):null,e.jsxs("div",{className:"flex items-center gap-4",children:[x.kind==="guest"?e.jsx("button",{type:"button","data-testid":"collectibles-login",onClick:()=>l(_e,{tab:"login"}),className:"flex h-[46px] min-w-[180px] items-center justify-center gap-1.5 whitespace-nowrap rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(136deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-sm font-semibold text-white shadow-[0_0_0_6px_rgba(112,134,255,0.2)] md:min-w-0 md:px-10",children:n("lootbox.case.login")}):x.kind==="pending"?e.jsx("button",{type:"button","data-testid":"collectibles-open-pending",disabled:!0,className:"flex h-[46px] min-w-[180px] items-center justify-center gap-1.5 whitespace-nowrap rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(136deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-sm font-semibold text-white opacity-40 shadow-[0_0_0_6px_rgba(112,134,255,0.2)] md:min-w-0 md:px-10",children:n("global_loading")}):x.kind==="locked"?e.jsx("button",{type:"button","data-testid":"collectibles-open-locked",disabled:!0,className:"flex h-[46px] min-w-[180px] items-center justify-center gap-1.5 whitespace-nowrap rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(136deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-sm font-semibold text-white opacity-40 shadow-[0_0_0_6px_rgba(112,134,255,0.2)] md:min-w-0 md:px-10",children:n("lootbox.case.open_case_free_disabled")}):x.kind==="free"?e.jsx("button",{type:"button","data-testid":"collectibles-open-free",onClick:w,className:"flex h-[46px] min-w-[180px] items-center justify-center gap-1.5 whitespace-nowrap rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(136deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-sm font-semibold text-white shadow-[0_0_0_6px_rgba(112,134,255,0.2)] md:min-w-0 md:px-10",children:n(x.needsKyc?"lootbox.case.open_case_free_verification_required":"lootbox.case.open_case_free")}):e.jsxs("button",{type:"button","data-testid":"collectibles-buy",onClick:N,className:"flex h-[46px] min-w-[180px] items-center justify-center gap-1.5 rounded-lg border-2 border-[#7086ff] bg-[linear-gradient(136deg,rgba(112,134,255,0.85)_5%,rgba(47,62,200,0.85)_38%,rgba(47,62,200,0.78)_66%,rgba(112,134,255,0.85)_112%)] px-6 font-jost text-sm font-semibold text-white shadow-[0_0_0_6px_rgba(112,134,255,0.2)] md:min-w-0 md:px-10",children:[e.jsx("span",{children:n("lootbox.collectibles.buy_for")}),e.jsx("span",{className:"whitespace-nowrap","data-testid":"collectibles-buy-total",children:yr(t.pricePerPack,v)})]}),e.jsx("button",{type:"button","data-testid":"collectibles-demo",onClick:()=>a(`${b}?count=${f}&demo=1`),className:"flex h-[46px] items-center justify-center rounded-lg bg-[#252a35] px-6 font-jost text-base font-semibold text-[#9092b2] transition-colors hover:bg-[#2c313d]",children:n("lootbox.collectibles.demo")})]})]})]}),e.jsx("div",{className:"order-2 flex h-drawer w-full shrink-0 items-center justify-center md:col-start-2 md:row-start-1 md:size-[400px] md:place-self-ce
6791nter",children:A?e.jsx("div",{className:"scale-[0.8] md:scale-100",children:e.jsx("div",{className:"collectibles-fan-in grid grid-cols-[max-content] grid-rows-[max-content] place-items-start drop-shadow-[-14px_18px_20px_rgba(0,0,0,0.5)]",children:Q5.map((E,L)=>{const B=L>=Q5.length-f;return e.jsx("div",{className:"col-start-1 row-start-1 flex items-center justify-center transition-[opacity,transform] duration-300 ease-out",style:{width:`${E.cw}px`,height:`${E.ch}px`,marginLeft:`${E.ml}px`,marginTop:`${E.mt}px`,opacity:B?1:0,transform:`scale(${B?1:.82})`},children:e.jsx("div",{className:"shrink-0 overflow-hidden rounded-[7.7px]",style:{width:`${E.w}px`,height:`${E.h}px`,transform:`rotate(${E.rot}deg)`},children:e.jsx("img",{src:t.packImage,alt:t.name,className:"size-full object-cover"})})},L)})},t.packImage)}):e.jsx("img",{src:t.packImage,alt:t.name,className:"collectibles-fan-in size-[300px] max-w-none object-contain md:size-[438px]"},t.packImage)}),j?e.jsx(SZ,{packName:t.name,count:v,pricePerPack:t.pricePerPack,onConfirm:k,onClose:()=>y(!1)}):null]})},RZ=({packs:t,selectedIndex:s=0,title:a,onSelect:l})=>e.jsxs("section",{className:"flex flex-col gap-6 py-6 md:p-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Gs,{className:"size-6"}),e.jsx("h2",{className:"font-gilroy text-2xl font-bold leading-tight text-[#c6c7dd]",children:a??n("lootbox.collectibles.switch_packs")})]}),e.jsx("div",{className:"no-scrollbar flex gap-3 overflow-x-auto pt-5 md:pt-8",children:t.map((r,i)=>e.jsx("button",{type:"button","data-testid":"collectibles-switch-pack",onClick:()=>l(i),className:g("h-[130px] min-w-[56px] shrink-0 overflow-hidden rounded transition-[transform,opacity] duration-200 active:scale-95 md:h-[180px]",i===s?"-translate-y-5 md:-translate-y-8":"opacity-50 hover:opacity-100"),children:e.jsx("img",{src:r.packImage,alt:r.name,className:"h-full w-auto max-w-none object-contain"})},i))})]}),TZ=({src:t,alt:s="",aspect:a="aspect-square"})=>e.jsx("div",{className:g("w-full overflow-hidden rounded-xl",a),children:e.jsx("img",{src:t,alt:s,loading:"lazy",className:"size-full object-contain"})}),IZ=({image:t,label:s,subtitle:a,price:l})=>{const r=s!==a;return e.jsxs("div",{className:"flex flex-col gap-6 md:w-[180px] md:shrink-0",children:[e.jsx(TZ,{src:t,alt:s}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[e.jsxs("div",{className:"flex w-full min-w-0 flex-col items-start gap-2 uppercase",children:[r&&e.jsx("span",{className:"w-full truncate font-jost text-xs font-medium leading-none text-[#adafce]/60",children:s}),e.jsx("span",{className:"line-clamp-2 w-full break-words font-jost text-sm font-semibold leading-none text-[#adafce]",children:a})]}),e.jsxs("span",{className:"whitespace-nowrap font-jost text-base font-semibold leading-none",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:nk(parseFloat(l)||0)})]})]})]})},FZ=({tier:t})=>e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"font-gilroy text-2xl font-extrabold uppercase leading-tight text-[#c6c7dd]",children:t.name}),e.jsx("span",{className:"rounded-lg border px-5 py-2 font-jost text-base font-semibold leading-none",style:{borderColor:t.badgeColor,color:t.badgeColor},children:t.odds})]}),e.jsx("div",{className:"grid grid-cols-2 gap-x-10 gap-y-8 sm:grid-cols-3 md:flex md:flex-wrap md:justify-start md:gap-x-10",children:t.prizes.map((s,a)=>e.jsx(IZ,{image:s.image,label:s.label,subtitle:s.subtitle,price:s.price},`${t.name}-${a}`))})]}),OZ=({tiers:t,subtitle:s})=>e.jsxs("section",{className:"flex flex-col gap-10 rounded-2xl bg-[#11141b] p-6",children:[e.jsxs("header",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Gs,{className:"size-8"}),e.jsx("h2",{className:"font-gilroy text-[32px] font-bold leading-tight text-[#c6c7dd]",children:n("lootbox.collectibles.whats_inside")})]}),e.jsx("p",{className:"line-clamp-4 max-w-[293px] break-words font-jost text-sm font-medium leading-snug text-[#adafce] opacity-60",children:s??n("lootbox.collectibles.win_paragraph")})]}),t.map(a=>e.jsx(FZ,{tier:a},a.name))]}),DZ=()=>{const t=Y(),{slug:s=""}=as(),[a,l,r,i]=C([ts,tu,lk,rk]);if(m.useEffect(()=>{s&&a&&au({slug:s,currency:a})},[s,a]),m.useEffect(()=>()=>su(),[]),m.useEffect(()=>{i===s&&t(st(),{replace:!0})},[i,s,t]),!l)return null;const o=ik(r,l),d=o.findIndex(u=>u.urlSlug===l.urlSlug);return e.jsxs("div",{className:"mx-auto flex w-full max-w-screen-custom-xl flex-col gap-8 xxs:px-4 lg:px-0","data-testid":"collectibles-pack-page","data-slug":l.urlSlug,children:[e.jsxs("div",{className:"flex h-10 items-center justify-between",children:[e.jsx(mf,{onClick:()=>t(st())}),e.jsx(af,{})]}),e.jsxs("div",{className:"flex flex-col gap-14",children:[e.jsx(EZ,{pack:l,slug:s}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(RZ,{packs:o,selectedIndex:d,onSelect:u=>t(Jt(o[u].urlSlug))}),e.jsx(OZ,{tiers:l.tiers})]})]})]})},kf=()=>e.jsx(DZ,{}),$Z=()=>{const s=`originalGames.rules.${C(Sl)??""}`,a=n(s);return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"game-rules-modal",children:[e.jsxs("div",{className:"flex w-full flex-row items-center gap-2 text-xl font-normal text-white",children:[e.jsx(ve,{icon:"infoSquare",className:"size-5"}),n("global_rules")]}),a===s?null:e.jsx("div",{dangerouslySetInnerHTML:{__html:a}})]})},Pc="game-rules",PZ=$e({component:$Z,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("global_rules")}),B1={VERIFY:"verify",CLOSED_ROUNDS:"closed-rounds"},HZ=({onVerify:t})=>{const[s,a,l,r,i]=C([ok,ck,dk,uk,Sl]);m.useEffect(()=>
6791{i&&Pd({gameCode:i,page:1})},[i]);const o=(s==null?void 0:s.rounds)??[],d=(s==null?void 0:s.pagination.pageCount)??1,u="px-2 py-2 text-xs text-brandblue-50";return e.jsxs("div",{className:"rounded-xl bg-tribe-live p-1","data-testid":"pf-closed-rounds-tab",children:[e.jsx("div",{className:"overflow-x-auto rounded-lg",children:e.jsxs("table",{className:"w-full min-w-[420px] border-separate border-spacing-0 bg-[#171a22]",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-primary",children:[e.jsx("th",{className:g(u,"w-2/4 text-left"),children:n("global_round")}),e.jsx("th",{className:g(u,"w-2/4 text-center"),children:n("modals.user.transactions.date")}),e.jsx("th",{className:g(u,"w-1/4 text-center")})]})}),e.jsxs("tbody",{children:[o.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:3,className:"p-4 text-center text-xs text-brandblue-100",children:l?n("global_loading"):r??n("provablyFair.closedRounds.empty")})}):null,o.map(c=>e.jsxs("tr",{className:"border-t border-secondary","data-testid":"pf-closed-round-row",children:[e.jsx("td",{className:"truncate p-2 text-left text-xs font-normal text-white",children:c.round}),e.jsx("td",{className:"p-2 text-center text-xs font-normal text-white",children:mk(c.createdAt)}),e.jsx("td",{className:"p-2 text-right",children:e.jsx(Z,{variant:"NonAccent",height:"small",testId:"pf-verify-round",onClick:()=>{O7({clientSeed:c.clientSeed,serverSeed:c.serverSeed,nonce:String(c.nonce),round:c.round}),t()},children:n("modals.provablyFair.tab.verify")})})]},c.round))]})]})}),d>1?e.jsx("div",{className:"flex flex-row items-center justify-center gap-2 py-2","data-testid":"pf-closed-rounds-pager",children:Array.from({length:d},(c,x)=>x+1).map(c=>e.jsx(Z,{variant:c===a?"Primary":"NonAccent",height:"small",testId:`pf-closed-rounds-page-${c}`,onClick:()=>i&&Pd({gameCode:i,page:c}),children:c},c))}):null]})},UZ=()=>{var i;const[t,s]=m.useState(B1.CLOSED_ROUNDS),a=C(Sl),l=a?(i=Sc[a])==null?void 0:i.PublicVerificationTab:void 0,r=[{id:B1.VERIFY,label:n("modals.provablyFair.tab.verify")},{id:B1.CLOSED_ROUNDS,label:n("global_history")}];return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"public-rounds-provably-fair-modal",children:[e.jsxs("div",{className:"flex w-full flex-row items-center gap-2 text-xl font-normal text-white",children:[e.jsx(da,{className:"size-5"}),n("provablyFair.title")]}),e.jsx("div",{className:"min-h-[640px]",children:e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("div",{className:"grid w-full grid-cols-2 gap-x-2 rounded-xl bg-tribe-live p-1",children:r.map(o=>e.jsx(Z,{height:"small",block:!0,variant:t===o.id?"Primary":"Link",testId:`pf-tab-${o.id}`,onClick:()=>s(o.id),children:o.label},o.id))}),e.jsxs("div",{className:"w-full",children:[t===B1.VERIFY&&l?e.jsx(l,{}):null,t===B1.CLOSED_ROUNDS?e.jsx(HZ,{onVerify:()=>s(B1.VERIFY)}):null]})]})})]})},Hc="provably-fair-rounds",VZ=$e({component:UZ,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("provablyFair.title")}),zZ=({betControls:t})=>{const s=rs(),{openModal:a}=W(),[l,r,i,o,d]=C([s.$isPlaying,s.$isTurboMode,s.$isAudioOn,s.$metrics,s.$roundId]),u=`originalGames.rules.${s.gameId}`,c=n(u)!==u;return e.jsx(mx,{children:e.jsxs("div",{className:"flex flex-col gap-y-6 md:h-full md:justify-between",children:[e.jsx("div",{className:"flex flex-col gap-y-2",children:t}),e.jsxs("div",{className:"flex w-full flex-row items-end justify-end gap-x-2",children:[e.jsxs(na,{ariaLabel:n("provablyFair.settings.turboMode"),testId:"game-settings-popover",trigger:e.jsx(Nl,{className:"size-5"}),children:[s.capabilities.turbo?e.jsx(Ds,{label:n("provablyFair.settings.turboMode"),toggled:r,disabled:l,testId:"turbo-mode-toggle",onToggle:()=>s.turboModeToggled(!r)}):null,s.capabilities.audio?e.jsx(Ds,{label:n("provablyFair.settings.sounds"),toggled:i,testId:"sounds-toggle",onToggle:()=>s.audioToggled()}):null]}),e.jsxs(na,{ariaLabel:n("global_gamestats"),testId:"game-statistics-popover",trigger:e.jsx(Gi,{className:"size-5"}),onOpen:()=>s.metricsRequested(),children:[e.jsx(Xe,{label:n("global_totalBets"),value:(o==null?void 0:o.bet_count)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.profit"),value:(o==null?void 0:o.ggr)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.wins"),value:(o==null?void 0:o.win_count)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.wagered"),value:(o==null?void 0:o.turnover)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.losses"),value:((o==null?void 0:o.bet_count)??0)-((o==null?void 0:o.win_count)??0)},d??"no-round")]}),c?e.jsx(Z,{variant:"NonAccent",height:"medium",iconOnly:!0,testId:"game-rules-button",ariaLabel:n("global_rules"),onClick:()=>a(Pc),children:e.jsx(Zi,{className:"size-5"})}):null,e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"min-w-0 flex-1",testId:"provably-fair-button",onClick:()=>a(Hc),children:[e.jsx(da,{className:"size-5"}),e.jsx("span",{className:"line-clamp-1 text-sm text-brandblue-100",children:n("provablyFair.title")})]})]})]})})},GZ=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[e.jsx("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),e.jsx("circle",{cx:"9",cy:"7",r:"4"}),e.jsx("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),e.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}),e4=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("path",{d:"M12 6v6l4 2"})]}),ZZ=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("path",{d:"m9 12 2 2 4-4"})]}),WZ=({fill:t="#9092B2",...s})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",...s,children:e.jsx("path",{d:"M16.6554 5.23483C18.0848 6.39954 19.0013 8.17638 19.0013 10.165C19.0013 12.1536 18.0848 13.9304 16.6554 15.0951C16.3146 15.3731 15.8149 15.3201 15.537 14.9793C15.2591 14.6385 15.312 14.1389 15.6528 13.8609C16.7282 12.9874 17.4131 11.6573 17.4131 10.165C17.4131 8.6727 16.7282 7.34255 15.6528 6.46572C15.312 6.18777 15.2624 5.68814 15.537 5.34733C15.8116 5.00652 16.3146 4.95689 16.6554 5.23152V5.23483ZM14.6535 7.69991C15.3649 8.28226 15.8249 9.16902 15.8249 10.165C15.8249 11.1609 15.3649 12.0477 14.6535 12.6301C14.3127 12.908 13.8131 12.8551 13.5352 12.5142C13.2572 12.1734 13.3102 11.6738 13.651 11.3959C14.0083 11.1047 14.2366 10.6613 14.2366 10.165C14.2366 9.66866 14.0083 9.22527 13.651 8.93079C13.3102 8.65285 13.2605 8.15322 13.5352 7.81241C13.8098 7.4716 14.3127 7.42196 14.6535 7.6966V7.69991ZM10.9642 2.84586C11.3447 3.01792 11.5896 3.39513 11.5896 3.81204V16.5179C11.5896 16.9348 11.3447 17.312 10.9642
679117.4841C10.5837 17.6562 10.137 17.5867 9.82598 17.3087L5.36237 13.3415H3.11899C1.95098 13.3415 1.00134 12.3918 1.00134 11.2238V9.10616C1.00134 7.93814 1.95098 6.98851 3.11899 6.98851H5.36237L9.82598 3.02123C10.137 2.74329 10.5837 2.67711 10.9642 2.84586Z",fill:t})}),KZ=({fill:t="#9092B2",...s})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",...s,children:e.jsx("path",{d:"M10.4102 3.0869C10.7696 3.2494 11.0009 3.60564 11.0009 3.99939V15.9992C11.0009 16.393 10.7696 16.7492 10.4102 16.9117C10.0508 17.0742 9.62887 17.0086 9.3351 16.7461L5.11911 12.9993H3.00017C1.89695 12.9993 1 12.1024 1 10.9993V8.99932C1 7.89621 1.89695 6.99935 3.00017 6.99935H5.11911L9.3351 3.25252C9.62887 2.99003 10.0508 2.92753 10.4102 3.0869ZM14.2824 7.2181L16.0013 8.93682L17.7202 7.2181C18.014 6.92435 18.489 6.92435 18.7797 7.2181C19.0703 7.51184 19.0734 7.98684 18.7797 8.27746L17.0608 9.99619L18.7797 11.7149C19.0734 12.0087 19.0734 12.4837 18.7797 12.7743C18.4859 13.0649 18.0109 13.068 17.7202 12.7743L16.0013 11.0555L14.2824 12.7743C13.9886 13.068 13.5136 13.068 13.2229 12.7743C12.9323 12.4805 12.9292 12.0055 13.2229 11.7149L14.9418 9.99619L13.2229 8.27746C12.9292 7.98371 12.9292 7.50872 13.2229 7.2181C13.5167 6.92748 13.9918 6.92435 14.2824 7.2181Z",fill:t})}),t4=t=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2}).format(t||0),qZ=()=>{const[t,s,a]=C([xk,fk,We]);return e.jsxs("div",{className:"flex w-full flex-col gap-y-1 p-1","data-testid":"crash-bets-table",children:[e.jsxs("div",{className:"flex w-full flex-row items-center justify-between gap-x-2 text-sm text-[#ADAFCE]",children:[e.jsxs("div",{className:"flex flex-row items-center gap-x-2",children:[e.jsx(GZ,{className:"size-4"}),e.jsx("span",{className:"text-sm","data-testid":"crash-bettors-count",children:s.usersCount})]}),e.jsx("span",{className:"w-full text-right text-sm","data-testid":"crash-bets-total",children:t4(Number(s.totalAmountInUsd))})]}),t.slice(0,pk).map((l,r)=>{var d,u,c;const i=l.betCurrency===U.WHALE,o=((d=l.result)==null?void 0:d.winAmount)??l.betAmount??0;return e.jsxs("div",{"data-testid":"crash-bet-row",className:"grid w-full grid-cols-3 gap-x-2 rounded-md px-3 py-2 odd:bg-tribe-live",children:[e.jsxs("div",{className:"flex w-full flex-row items-center gap-x-2 text-xs",children:[e.jsx(ss,{size:"sm",src:l.user.avatarSrc,userId:l.user.id,alt:""}),(a==null?void 0:a.id)===l.user.id?e.jsx("span",{className:"text-xs font-light text-golden",children:n("global_you")}):e.jsx("span",{className:"truncate text-xs",children:l.user.displayName})]}),e.jsx("div",{className:g("flex w-full items-center justify-center text-center text-xs text-[#ADAFCE]",Number(((u=l.result)==null?void 0:u.multiplier)??0)>=2&&"text-green-500"),children:lu((c=l.result)==null?void 0:c.multiplier)}),e.jsxs("div",{className:"flex w-full flex-row items-center justify-end gap-x-1 text-xs",children:[i?e.jsx(Gt,{className:"size-4 text-brandblue-100"}):null,e.jsx("span",{className:"text-sm",children:i?Number(o):t4(Number(o))})]})]},`${l.user.id}-${l.bet.betId}-${r}`)})]})},YZ="1/2",XZ="2x",JZ="Max",rl=({disabled:t})=>{var h,b;const s=rs(),[a,l,r,i,o,d,u]=C([s.$betAmount,s.$betCurrency,s.$isPlaying,s.$isAutoplayPlaying,s.$isFreeBet,s.$gameC
6791onstraints,s.$isMaxBetOn]),c=((h=d==null?void 0:d.betAmountInUsd)==null?void 0:h.min)??Jn.betAmountInUsd.min,x=((b=d==null?void 0:d.betAmountInUsd)==null?void 0:b.max)??Jn.betAmountInUsd.max,p=t??(r||i||o),f=v=>{p||(s.maxBetToggled(!1),s.betAmountSet(Math.max(Number(v??0),c)))};return e.jsx(ne,{name:"bet-amount",testId:"bet-amount-input",label:n("provablyFair.mode.manual.betAmount"),type:"number",maximumFractionDigits:2,value:a,disabled:p,minValue:c,maxValue:x,icon:e.jsx(Zt,{currency:l}),onInput:()=>{u&&!p&&s.maxBetToggled(!1)},onChanged:f,onUnmountWithDraft:v=>{s.$isGameInitialised.getState()&&f(v)},afterInput:e.jsxs(e.Fragment,{children:[e.jsx(Z,{variant:"NonAccent",iconOnly:!0,testId:"bet-amount-half",disabled:p||a<=c,onClick:()=>{s.maxBetToggled(!1),s.betAmountSet(M3(a,2))},children:e.jsx("span",{className:"text-sm text-brandblue-100",children:YZ})}),e.jsx(Z,{variant:"NonAccent",iconOnly:!0,testId:"bet-amount-double",disabled:p||a>=x,onClick:()=>{s.maxBetToggled(!1),s.betAmountSet(X1(a,2))},children:e.jsx("span",{className:"text-sm text-brandblue-100",children:XZ})}),e.jsx(Z,{variant:u?"Danger":"NonAccent",iconOnly:!0,testId:"bet-amount-max",disabled:p,onClick:()=>{s.maxBetToggled(!u),s.betAmountSet(x)},children:e.jsx("span",{className:g("text-sm",u?"text-white":"text-brandblue-100"),children:JZ})})]})})},QZ=t=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2}).format(t||0),eW=()=>{const[t,s,a,l,r,i,o,d,u]=C([R3,hk,gk,bk,Ck,jk,ru,vk,iu]),[c,x]=C([ea.$isFreeBet,ea.$remainingFreebetCount]),p=yk,f=_=>{var A;return!!o[_]&&((A=o[_])==null?void 0:A.bet.betType)===_k.BET_PLACED},h=_=>!!d[_],b=_=>{var A;return(A=o[_])==null?void 0:A.betCurrency},v=_=>{var A;return(A=d[_])==null?void 0:A.betCurrency},j=(_,A)=>A===U.WHALE?`${Number(_)}`:QZ(Number(_)),y=_=>{var A,E;return l[_]?n("games.crash.cashout",{multiplier:lu(t===Ht.TICK?u:1)}):h(_)?j(Number(((A=d[_])==null?void 0:A.betAmount)??0),v(_)):s===_&&(a[_]||r[_])?c?n("provablyFair.cta.freebet"):n("games.crash.place_the_bet"):f(_)?j(Number(((E=o[_])==null?void 0:E.betAmount)??0),b(_)):_===1?n("games.crash.1st_bet"):n("games.crash.2nd_bet")},N=_=>t===Ht.TICK?!1:l[_]||f(_)?b(_)===U.WHALE:h(_)?v(_)===U.WHALE:!1,k=_=>l[_]?"Primary":s!==_?"NonAccent":c?"Green":"Primary",w=_=>l[_]&&!i[_]?!1:s!==_,S=_=>a[_]||r[_],M=_=>r[_]&&!h(_);return e.jsxs("div",{className:"order-2 flex w-full flex-col gap-y-4","data-testid":"crash-controls",children:[e.jsxs("div",{className:"flex flex-col gap-y-0",children:[e.jsx("div",{className:"grid w-full grid-cols-2 gap-0",children:wk.map(_=>e.jsx("div",{className:g("flex size-full items-center justify-center rounded-t-xl p-1",s===_&&S(_)&&"bg-tribe-live"),children:e.jsxs(Z,{variant:k(_),height:"medium",block:!0,disabled:w(_),testId:`crash-slot-${_}`,onClick:()=>p(_),children:[N(_)?e.jsx(Gt,{className:"size-4"}):null,e.jsx("span",{className:"text-sm",children:y(_)})]})},_))}),s&&S(s)?e.jsxs("div",{className:g("relative w-full rounded-b-xl bg-tribe-live p-2",s===1?"rounded-tr-xl":"rounded-tl-xl"),children:[e.jsx("svg",{className:"absolute left-1/2 top-[-12px] -translate-x-1/2",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"12",viewBox:"0 0 24 12",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M12 0C12 6.62742 17.3726 12 24 12H0C6.62742 12 12 6.62742 12 0Z",fill:"#292D3C"})}),e.jsx(rl,{disabled:c}),c?e.jsx("div",{className:"w-full pt-2 text-center text-xs text-brandblue-100","data-testid":"crash-freebet-remaining",children:n("provablyFair.cta.remainingFreebetCount",{remainingFreebetCount:x})}):null,M(s)?e.jsx("div",{className:"flex w-full flex-col items-center justify-center gap-2 pt-4",children:e.jsxs("div",{className:"flex w-full flex-row items-center justify-center gap-2 rounded-lg border-golden/10 bg-golden/10 p-2.5 px-2 text-sm text-golden",children:[e.jsx(e4,{className:"size-4"}),n("games.crash.place_bets_next_round")]})}):null]}):e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-y-2 rounded-xl bg-tribe-live p-2","data-testid":"crash-bets-placed",children:[e.jsx("span",{className:"pt-4 text-sm",children:n("games.crash.bets_placed")}),h(1)||h(2)?e.jsxs("span",{className:"flex flex-row items-center justify-center gap-2 pb-4 text-sm text-brandblue-100",children:[e.jsx(e4,{className:"size-4"}),n("games.crash.new_game_starts_soon")]}):e.jsx(ZZ,{className:"size-10 pb-4 text-white"})]})]}),e.jsx(qZ,{})]})},tW=({isPlaying:t})=>{const[s,a]=C([Nk,kk]);return s.length?e.jsx("div",{className:g("relative h-auto w-[72px] overflow-hidden border-l border-[#323A4C] pl-3","before:absolute before:inset-x-0 before:bottom-0 before:z-main before:h-[30px] before:bg-gradient-to-t before:from-[#1f232d] before:to-transparent","after:absolute after:inset-x-0 after:top-0 after:z-main after:h-[30px] after:bg-gradient-to-b after:from-[#1f232d] after:to-transparent",!t&&"hidden"),"data-testid":"crash-multipliers-scale",children:e.jsx("div",{className:"absolute transition-transform duration-500 ease-linear",style:{transform:`translateY(${a}%)`,bottom:`${a-6}%`},children:[...s].reverse().map(l=>e.jsxs("div",{className:"flex h-[72px] items-center text-left text-sm text-brandblue-100",children:[l,"x"]},l))})}):null},sW=()=>{const s=[...C(Sk)].reverse();return e.jsx("div",{className:"relative h-8 w-full overflow-hidden before:pointer-events-none before:absolute before:inset-y-0 before:left-0 before:z-[10] before:w-10 before:bg-gradient-to-r before:from-[#1f232d] before:to-transparent","data-testid":"crash-previous-rolls",children:e.jsx("div",{className:"absolute inset-x-0 top-0 flex h-8 flex-row items-center justify-end gap-2",children:s.map(a=>e.jsx("div",{"data-testid":"crash-roll-chip",className:g("inline-flex shrink-0 items-center justify-center gap-2.5 overflow-hidden rounded-3xl px-3 py-1.5 backdrop-blur-3xl",Number(a.multiplier)>2?"bg-[#54D14933]":"bg-highlight"),children:e.jsx("div",{className:g("justify-center text-center text-sm font-semibold leading-tight",Number(a.multiplier)>2?"text-green-500":"text-slate-400"),children:Number(a.multiplier).toFixed(2)})},a.round))})})},aW=({onBeep:t})=>{const[s,a]=C([R3,ou]),[l,r]=m.useState(0),i=m.useRef({playedAt:0,count:0}),o=!!a&&(s===Ht.BET_COLLECTION_OPEN||s===Ht.COOLDOWN);return m.useEffect(()=>{if(!o||!a){r(0);return}i.current={playedAt:0,count:0};const d=()=>{const c=Date.now();if(a<=c){r(0);return}const x=Math.max(0,(a-c)/1e3);r(x);const p=i.current;x<=Rs.THRESHOLD_SECONDS-Rs.OFFSET_SECONDS&&(!p.playedAt||c-p.playedAt>1e3)&&p.count<Rs.THRESHOLD_SECONDS&&(p.playedAt=c,p.count+=1,t==null||t())};d();const u=window.setInterval(d,Rs.INTERVAL_MS);return()=>window.clearInterval(u)},[o,a]),e.jsxs("div",{className:"flex flex-col items-center justify-center","data-testid":"crash-countdown",children:[e.jsx("span",{className:"text-sm text-brandblue-100",children:n("games.crash.round_countdown.starts_in")}),e.jsx("span",{className:g("text-center text-[48px] font-bold md:text-[72px]",l<=Rs.THRESHOLD_SECONDS?"text-red-400":"text-white"),"data-testid":"crash-countdown-value",children:l.toFixed(2)})]})},nW=t=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2}).format(t||0),lW=({tickProgress:t})=>{var u;const s=C(Mk),[a,l]=m.useState(null),[r,i]=m.useState(0),o=[...s].reverse().find(c=>c.result),d=Number(((u=o==null?void 0:o.result)==null?void 0:u.multiplier)??0);return m.useEffect(()=>{if(!s.length){l(null),i(0);return}if(d<=Hd.MIN_MULTIPLIER||a!==null||d<=r)return;i(d),l(d);const c=window.setTimeout(()=>l(null),Hd.VISIBLE_MS);return()=>window.clearTimeout(c)},[s.length,d]),e.jsx("div",{className:"absolute right-0 top-0 flex flex-col gap-2",style:{transform:`rotateZ(${-70+t*.7}deg)`}
6791,children:a!==null?e.jsxs("div",{className:"crash-cashout-label inline-flex items-center justify-center gap-1 overflow-hidden rounded-3xl bg-[#54D14933] px-3 py-1.5 backdrop-blur-3xl","data-testid":"crash-cashout-label",children:[e.jsx(ss,{size:"xs",alt:""}),e.jsxs("span",{className:"text-sm text-green-500",children:[a.toFixed(2),"x"]})]}):null})},rW=()=>{const t=C(ru);return e.jsx("div",{className:"pointer-events-none absolute inset-0 z-overlay flex flex-col gap-2",children:Object.values(t).map((s,a)=>{var l,r,i;return s&&Number(((l=s.result)==null?void 0:l.multiplier)??0)>0?e.jsxs("div",{"data-testid":"crash-result-card",className:"flex h-[36px] flex-row items-center justify-between gap-4 rounded-lg border-1 border-[#233827] bg-[#1A2620] bg-opacity-50 p-4 text-sm font-medium leading-7 text-green-500 backdrop-blur-sm md:h-[44px] md:text-lg",children:[e.jsx("div",{className:"capitalize",children:n("global_youWon")}),e.jsxs("div",{className:"flex flex-row items-center justify-between gap-x-2",children:[e.jsxs("span",{children:["+"," ",s.betCurrency===U.WHALE?Number(((r=s.result)==null?void 0:r.winAmount)??0):nW(Number(((i=s.result)==null?void 0:i.winAmount)??0))]}),s.betCurrency===U.WHALE?e.jsx(Gt,{className:"size-5"}):null]})]},a):null})})},iW=({onCountdownBeep:t})=>{const[s,a,l,r,i,o]=C([R3,Ak,ou,iu,Lk,ea.$isPlaying]),d=C(ht);return e.jsxs("div",{className:g("relative isolate flex size-full flex-col gap-2 overflow-hidden rounded-xl border border-primary bg-secondary md:gap-4",d?"p-5":"p-2 md:p-4"),"data-testid":"crash-grid","data-game-state":s??"","data-round":a??"",children:[e.jsx(sW,{}),e.jsxs("div",{className:"relative flex min-h-[300px] w-full flex-row items-center",children:[e.jsxs("div",{className:"relative flex w-full flex-row items-stretch",children:[e.jsxs("div",{className:"relative mx-auto aspect-square w-full max-w-[400px] origin-top-left overflow-hidden",children:[e.jsxs("div",{className:"absolute left-0 top-0 size-full",children:[e.jsxs("div",{className:"absolute left-0 top-0 z-overlay flex size-full flex-col items-center justify-center",children:[s===Ht.TICK?e.jsx("div",{className:"flex flex-col items-center justify-center",children:e.jsxs("span",{className:"text-[48px] font-bold text-white md:text-[72px]","data-testid":"crash-multiplier",children:[r.toFixed(2),"x"]})}):null,s===Ht.COOLDOWN?e.jsxs("div",{className:"flex flex-col items-center justify-center","data-testid":"crash-crashed",children:[e.jsx("span",{className:"text-xl text-error",children:n("games.crash.round_over")}),e.jsx("span",{className:"text-[48px] font-bold text-white md:text-[72px]",children:n("games.crash.crashed")})]}):null,s===Ht.BET_COLLECTION_OPEN&&l?e.jsx(aW,{onBeep:t}):null]}),e.jsx("div",{className:g("crash-glow",o&&"crash-glow-playing",s===Ht.COOLDOWN&&"crash-glow-crashed")})]}),e.jsxs("div",{className:g("crash-arc",!o&&"hidden"),style:{transform:`rotateZ(${70-i*.7}deg)`},"data-testid":"crash-arc",children:[e.jsx("div",{className:"crash-arc-clip",children:e.jsx("div",{className:"crash-arc-circle"})}),e.jsx(lW,{tickProgress:i})]})]}),e.jsx(tW,{isPlaying:o})]}),e.jsx(rW,{})]})]})},d0={[Cr.BET]:xe.CHIP_THROW,[Cr.WIN]:xe.WIN,[Cr.COUNTDOWN]:xe.COUNTDOWN},oW=()=>{const t=C(ea.$isAudioOn);return m.useEffect(()=>rn(Object.values(d0),t),[t]),m.useEffect(()=>{const s=Ud.watch(a=>qe(d0[a]));return()=>{s(),Vs(Object.values(d0))}},[]),()=>Ud(Cr.COUNTDOWN)},cW=()=>{const t=oW();return m.useEffect(()=>(Bk(),()=>Ek()),[]),e.jsxs(an,{children:[e.jsx(zZ,{betControls:e.jsx(eW,{})}),e.jsx(nn,{children:e.jsx(iW,{onCountdownBeep:t})})]})},s4=()=>e.jsx(zs,{game:ea,children:e.jsx(cW,{})}),dW=({isAutoplay:t,isPlaying:s,isAutoplayPlaying:a,isCashoutAvailable:l,isBetAvailable:r,isRunningAutoplayAvailable:i,hasAmountError:o})=>{const d=o||r===!1;return t?a?{action:"autoplay-stop",disabled:!1}:{action:"autoplay-start",disabled:d||!i}:s?l?{action:"cashout",disabled:!1}:{action:"bet",disabled:!0}:{action:"bet",disabled:d}},F2=({cashoutButtonVariant:t="Primary",testId:s="game-action-button"})=>{const a=rs(),[l,r,i,o,d,u,c,x,p,f,h,b]=C([a.$gameplayMode,a.$isPlaying,a.$isAutoplayPlaying,a.$isCashoutAvailable,a.$isBetAvailable,a.$isRunningAutoplayAvailable,a.$isFreeBet,a.$remainingFreebetCount,a.$betCurrency,a.$roundResult,a.$amountError,a.$isActionLoading]),v=l===Bt.AUTOPLAY,{action:j,disabled:y}=dW({isAutoplay:v,isPlaying:r,isAutoplayPlaying:i,isCashoutAvailable:o,isBetAvailable:d,isRunningAutoplayAvailable:u,hasAmountError:!!h}),N=c?n("provablyFair.cta.freebet"):n("provablyFair.cta.bet"),k=c?n("provablyFair.mode.auto.startFreebet"):n("provablyFair.mode.auto.start"),S=j==="autoplay-stop"?n("provablyFair.mode.auto.stop"):j==="autoplay-start"?k:j==="cashout"?(()=>{const E=p===U.WHALE?f==null?void 0:f.winAmount:f==null?void 0:f.winAmountInUsd;return`${n("provablyFair.cta.cashout")} ${E}`})():N,M=j==="autoplay-stop"?()=>a.autoplayStopped():j==="autoplay-start"?()=>void a.startAutoplayFx():j==="cashout"?()=>void a.cashOutFx():()=>
6791void a.placeBetFx(),_=c?"Green":j==="cashout"?t:j==="bet"&&r?"NonAccent":j==="autoplay-stop"?"Danger":"Primary",A=!!p&&j==="cashout";return e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-y-2",children:[e.jsxs(Z,{variant:_,height:"medium",block:!0,disabled:y,testId:s,onClick:M,children:[e.jsx("span",{className:"line-clamp-1",children:b?e.jsx(xx,{}):S}),A?e.jsx(Zt,{currency:p,className:"text-black size-6"}):null]}),c?e.jsx("div",{className:"w-full text-center text-xs text-brandblue-100",children:n("provablyFair.cta.remainingFreebetCount",{remainingFreebetCount:x})}):null]})},Ml=()=>{const t=rs(),[s,a,l,r]=C([t.$numberOfAutoplayBets,t.$counterOfRemainingAutoplayBets,t.$isPlaying,t.$isAutoplayPlaying]),[i,o]=m.useState(!1);m.useEffect(()=>{!r&&a<=0&&t.numberOfAutoplayBetsSet(i?0:Yl)},[t,r,a,i]);const d=u=>{o(!1),t.numberOfAutoplayBetsSet(u)};return e.jsx(ne,{name:"number-of-bets",testId:"number-of-bets-input",label:n("provablyFair.mode.manual.numberOfBets"),type:i?"text":"number",value:i&&!r?"â":Math.abs(a),minValue:1,disabled:i&&!r,readOnly:r||l,onChanged:u=>t.numberOfAutoplayBetsSet(Number(Number(u??0).toFixed(0))),afterInput:e.jsxs(e.Fragment,{children:[e.jsx(Z,{variant:"NonAccent",iconOnly:!0,testId:"number-of-bets-infinity",disabled:l||r,onClick:()=>{if(i){d(Yl);return}o(!0),t.numberOfAutoplayBetsSet(0)},children:e.jsx(vP,{crossed:i,className:"size-5"})}),e.jsx(Z,{variant:"NonAccent",iconOnly:!0,testId:"number-of-bets-minus",disabled:l||r,onClick:()=>i?d(Yl-1):t.numberOfAutoplayBetsSet(s-1),children:e.jsx(fx,{className:"size-5"})}),e.jsx(Z,{variant:"NonAccent",iconOnly:!0,testId:"number-of-bets-plus",disabled:l||r,onClick:()=>i?d(Yl+1):t.numberOfAutoplayBetsSet(s+1),children:e.jsx(wP,{className:"size-5"})})]})})},Bl=()=>{const t=rs(),[s,a,l,r,i]=C([t.$stopOnProfit,t.$isPlaying,t.$isAutoplayPlaying,t.$betAmount,t.$betCurrency]),[o,d]=m.useState(!1),u=a||l||!o;return e.jsx(ne,{name:"stop-on-profit",testId:"stop-on-profit-input",label:e.jsx(Ds,{label:n("provablyFair.mode.auto.stopOnProfit"),toggled:o,disabled:a||l,testId:"stop-on-profit-toggle",onToggle:()=>{const c=!o;d(c),t.stopOnProfitSet(c?X1(r,100):0)}}),type:"number",maximumFractionDigits:2,value:s||"",minValue:0,disabled:u,placeholder:n("provablyFair.mode.auto.cashoutOff"),icon:e.jsx(Zt,{currency:i}),onChanged:c=>t.stopOnProfitSet(c===""||c===null?0:Number(c))})},El=()=>{const t=rs(),[s,a,l,r]=C([t.$stopOnLoss,t.$isPlaying,t.$isAutoplayPlaying,t.$betCurrency]),[i,o]=m.useState(!1),d=a||l||!i;return e.jsx(ne,{name:"stop-on-loss",testId:"stop-on-loss-input",label:e.jsx(Ds,{label:n("provablyFair.mode.auto.stopOnLoss"),toggled:i,disabled:a||l,testId:"stop-on-loss-toggle",onToggle:()=>{const u=!i;o(u),t.stopOnLossSet(u?"max":0)}}),type:"number",maximumFractionDigits:2,value:s||"",minValue:0,disabled:d,placeholder:n("provablyFair.mode.auto.cashoutOff"),icon:e.jsx(Zt,{currency:r}),onChanged:u=>t.stopOnLossSet(u===""||u===null?0:Number(u)),afterInput:e.jsx(Z,{variant:"NonAccent",iconOnly:!0,testId:"stop-on-loss-max",disabled:d,onClick:()=>t.stopOnLossSet("max"),children:e.jsx("span",{className:"text-sm text-brandblue-100",children:"MAX"})})})},uW=()=>{const t=rs(),[s,a]=C([t.$totalProfitAmount,t.$betCurrency]),l=s===0?e.jsx(fx,{className:"size-5 text-white"}):s>0?e.jsx(px,{className:"size-5 text-green-500"}):e.jsx(hx,{className:"size-5 text-red-500"});return e.jsx(ne,{name:"total-profit",testId:"total-profit-input",label:n("provablyFair.mode.auto.profitAmount"),type:"number",value:s,readOnly:!0,placeholder:n("provablyFair.mode.auto.cashoutOff"),icon:e.jsx(Zt,{currency:a}),endIcon:l})},mW=({manual:t,autoplay:s})=>{const a=rs(),[l,r,i]=C([a.$gameplayMode,a.$isPlaying,a.$isAutoplayPlaying]),o=r||i,d=r||i||!a.isAutoplayAvailable;return e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsxs("div",{className:"grid w-full grid-cols-2 gap-x-2 rounded-xl bg-tribe-live p-1",children:[e.jsx(Z,{height:"small",block:!0,variant:l===Bt.MANUAL?"Primary":"Link",disabled:o,testId:"gameplay-mode-manual",onClick:()=>a.gameplayModeSet(Bt.MANUAL),children:e.jsx("span",{className:"text-sm",children:n("provablyFair.mode.manual.title")})}),e.jsx(Z,{height:"small",block:!0,variant:l===Bt.AUTOPLAY?"Primary":"Link",disabled:d,testId:"gameplay-mode-auto",onClick:()=>a.gameplayModeSet(Bt.AUTOPLAY),children:e.jsx("span",{className:"text-sm",children:n("provablyFair.mode.auto.title")})})]}),e.jsx("div",{className:"w-full",children:l===Bt.MANUAL?t:s})]})},xW=()=>{const t=rs(),[s,a,l]=C([t.$isPlaying,t.$isTurboMode,t.$isAudioOn]);return e.jsxs(na,{ariaLabel:n("provablyFair.settings.turboMode"),testId:"game-settings-popover",trigger:e.jsx(Nl,{className:"size-5"}),children:[t.capabilities.turbo?e.jsx(Ds,{label:n("provablyFair.settings.turboMode"),toggled:a,disabled:s,testId:"turbo-mode-toggle",onToggle:()=>t.turboModeToggled(!a)}):null,t.capabilities.audio?e.jsx(Ds,{label:n("provablyFair.settings.sounds"),toggled:l,testId:"sounds-toggle",onToggle:()=>t.audioToggled()}):null]})},fW=()=>{const t=rs(),[s,a]=C([t.$metrics,t.$roundId]);return e.jsxs(na,{ariaLabel:n("global_gamestats"),testId:"game-statistics-popover",trigger:e.jsx(Gi,{className:"size-5"}),onOpen:()=>t.metricsRequested(),children:[e.jsx(Xe,{label:n("global_totalBets"),value:(s==null?void 0:s.bet_count)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.profit"),value:(s==null?void 0:s.ggr)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.wins"),value:(s==null?void 0:s.win_count)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.wagered"),value:(s==null?void 0:s.turnover)??"-"}),e.jsx(Xe,{label:n("provablyFair.stats.losses"),value:((s==null?void 0:s.bet_count)??0)-((s==null?void 0:s.win_count)??0)},a??"no-round")]})},pW=()=>{const t=rs(),[s,a]=C([t.$amountError,t.$gameConstraints]);if(!s)return"";const l=(a==null?void 0:a.betAmountInUsd)??Jn.betAmountInUsd,r=s===Rk.BAD_MAX_AMOUNT?`${l.max}
6791`:l.min.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:2});return n(`games.mines.${s}`,{amount:r})},Rl=({betControls:t,autoplayControls:s,playingControls:a,cashoutButtonVariant:l="Primary"})=>{const r=rs(),i=C(r.$isPlaying),{openModal:o}=W(),d=pW(),u=`originalGames.rules.${r.gameId}`,c=n(u)!==u,x=d?e.jsx("div",{className:"flex min-h-6 items-center text-red-500","data-testid":"bet-amount-error",children:e.jsx("span",{children:d})}):null;return e.jsxs(mx,{children:[e.jsx("div",{className:"flex flex-col gap-y-2 md:hidden",children:e.jsx(F2,{cashoutButtonVariant:l,testId:"game-action-button-mobile"})}),e.jsxs("div",{className:"flex flex-col gap-y-6 md:h-full md:justify-between",children:[e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx(mW,{manual:e.jsxs("div",{className:"flex flex-col gap-y-4",children:[i&&a?a:null,e.jsx(rl,{}),x,t]}),autoplay:e.jsxs("div",{className:"flex flex-col gap-y-4",children:[e.jsx(rl,{}),x,t,s,e.jsx(uW,{})]})}),e.jsx("div",{className:"hidden py-4 md:flex md:w-full",children:e.jsx(F2,{cashoutButtonVariant:l,testId:"game-action-button-desktop"})})]}),e.jsxs("div",{className:"flex w-full flex-row items-end justify-end gap-x-2",children:[e.jsx(xW,{}),e.jsx(fW,{}),c?e.jsx(Z,{variant:"NonAccent",height:"medium",iconOnly:!0,testId:"game-rules-button",ariaLabel:n("global_rules"),onClick:()=>o(Pc),children:e.jsx(Zi,{className:"size-5"})}):null,e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"min-w-0 flex-1",testId:"provably-fair-button",onClick:()=>o(on),children:[e.jsx(da,{className:"size-5"}),e.jsx("span",{className:"line-clamp-1 text-sm text-brandblue-100",children:n("provablyFair.title")})]})]})]})]})},hW=()=>{var c;const[t,s,a]=C([Ue.$multipliers,Tk,Ue.$isAutoplayPlaying]),l=Object.keys(t??{}),r=Math.max(0,l.length-1),i=Math.min(Math.max(0,s),r),o=a||l.length===0,d=r?i/r:0,u=Number(((c=t==null?void 0:t[String(i)])==null?void 0:c.multiplier)??0);return e.jsxs("div",{className:g("flex w-full flex-col gap-y-3 py-2",a&&"opacity-50"),children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-medium text-slate-400",children:n("provablyFair.mode.auto.cashoutAt")}),i>0?e.jsxs("span",{className:"text-sm font-medium text-white","data-testid":"crock-cashout-at-value",children:[u1(u),"x"]}):e.jsx("span",{className:"text-sm font-medium text-slate-400","data-testid":"crock-cashout-at-value",children:n("provablyFair.mode.auto.cashoutOff")})]}),e.jsxs("div",{className:"relative flex h-5 w-full items-center",children:[e.jsx("span",{className:"relative h-2 w-full overflow-hidden rounded-full bg-tribe-live",children:e.jsx("span",{className:"absolute inset-y-0 left-0 rounded-full bg-gradient-primary",style:{width:`${d*100}%`}})}),e.jsx("span",{className:"pointer-events-none absolute top-1/2 size-[25px] -translate-y-1/2 rounded-full bg-white shadow-sm",style:{left:`calc(${d*100}% - ${d*25}px)`}}),e.jsx("input",{type:"range",min:0,max:r,step:1,value:i,disabled:o,"data-testid":"crock-cashout-at-slider","aria-label":n("provablyFair.mode.auto.cashoutAt"),"aria-valuenow":i,className:"absolute inset-x-0 top-1/2 h-5 w-full -translate-y-1/2 cursor-pointer appearance-none bg-transparent disabled:cursor-not-allowed [&::-moz-range-thumb]:size-[25px] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-transparent [&::-webkit-slider-thumb]:size-[25px] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:bg-transparent",onChange:x=>Ik(Number(x.target.value))})]})]})},gW=({className:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"22",viewBox:"0 0 24 22",fill:"none","aria-hidden":"true",className:t,children:[e.jsx("rect",{x:"1",y:"16",width:"22",height:"5",rx:"2.5",stroke:"#9092B2",strokeWidth:"2"}),e.jsx("path",{d:"M4 8C4 3.58172 7.58172 0 12 0C16.4183 0 20 3.58172 20 8V19H4V8Z",fill:"#9092B2"})]}),bW=({className:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none","aria-hidden":"true",className:t,children:[e.jsx("path",{d:"M6.71078 2.26039C7.02308 1.46854 8.14375 1.46854 8.45605 2.26039L9.42384 4.71427C9.51919 4.95603 9.71056 5.14739 9.95231 5.24274L12.4062 6.21054C13.198 6.52284 13.198 7.6435 12.4062 7.9558L9.95231 8.9236C9.71056 9.01895 9.51919 9.21031 9.42384 9.45207L8.45605 11.9059C8.14375 12.6978 7.02308 12.6978 6.71078 11.9059L5.74299 9.45207C5.64764 9.21031 5.45627 9.01895 5.21451 8.9236L2.76063 7.9558C1.96878 7.6435 1.96879 6.52284 2.76064 6.21054L5.21451 5.24274C5.45627 5.14739 5.64764 4.95603 5.74299 4.71427L6.71078 2.26039Z",fill:"white"}),e.jsx("path",{d:"M14.6037 11.1599C14.7753 10.7247 15.3912 10.7247 15.5628 11.1599L16.3134 13.063C16.3658 13.1958 16.4709 13.301 16.6038 13.3534L18.5069 14.1039C18.942 14.2756 18.942 14.8914 18.5069 15.0631L16.6038 15.8136C16.4709 15.866 16.3658 15.9712 16.3134 16.104L15.5628 18.0071C15.3912 18.4423 14.7753 18.4423 14.6037 18.0071L13.8531 16.104C13.8007 15.9712 13.6956 15.866 13.5627 15.8136L11.6596 15.0631C11.2245 14.8914 11.2245 14.2756 11.6596 14.1039L13.5627 13.3534C13.6956 13.301 13.8007 13.1958 13.8531 13.063L14.6037 11.1599Z",fill:"white"})]}),CW=()=>{const[t,s,a,l,r]=C([Dk,$k,Ue.$isPlaying,Ue.$isAutoplayPlaying,Ue.$isFreeBet]);return e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("label",{htmlFor:"crock-mines-count",className:"text-sm font-medium text-slate-400",children:n("games.croc.title")}),e.jsxs("div",{className:"relative h-11",children:[e.jsx(gW,{className:"pointer-events-none absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2"}),e.jsx("select",{id:"crock-mines-count","data-testid":"crock-mines-count-select",value:t||"",disabled:a||l||r,onChange:i=>Pk(Number(i.target.value)),className:"h-11 w-full appearance-none rounded-md bg-[#323A4C] pl-10 pr-9 text-sm text-white outline-none disabled:opacity-50",children:s.map(i=>e.jsx("option",{value:i,children:i},i))}),e.jsx(bc,{className:"pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-brandblue-100"})]})]})},jW=()=>{const[t,s,a,l]=C([Fk,Ue.$gameplayMode,Ue.$isAutoplayPlaying,Ue.$isPlaying]),r=s===Bt.AUTOPLAY,i=!t||r&&a||!r&&!l;return e.jsxs(Z,{variant:"NonAccent",height:"medium",block:!0,testId:"crock-pick-random",disabled:i,onClick:()=>Ok(),children:[e.jsx(bW,{className:"size-5"}),n("games.croc.cta.pickRandomCell")]})},vW=()=>e.jsx("div",{className:"flex flex-col gap-y-4",children:e.jsx(CW,{})}),wW=()=>e.jsxs("div",{className:"flex flex-col gap-y-4 pb-2",children:[e.jsx(hW,{}),e.jsx(Ml,{}),e.jsx(Bl,{}),e.jsx(El,{})]}),u0={[_n.GAME_START]:F1.GAME_START,[_n.SELECT_TOOTH]:F1.SELECT_TOOTH,[_n.BITING]:F1.BITING,[_n.WIN]:xe.WIN,[_n.TOOTH_HOVER]:F1.TOOTH_HOVER},yW=()=>{const t=C(Ue.$isAudioOn);m.useEffect(()=>rn(Object.values(u0),t),[t]),m.useEffect(()=>{const s=Hk.watch(a=>{Ue.$isAudioOn.getState()&&qe(u0[a])});return()=>{s.unsubscribe(),Vs(Object.values(u0))}},[])},a4=()=>(yW(),m.useEffect(()=>(p1(!1),()=>{p1(!0)}),[]),e.jsx(zs,{game:Ue,children:e.jsxs(an,{children:[e.jsx(Rl,{betControls:e.jsx(vW,{}),autoplayControls:e.jsx(wW,{}),playingControls:e.jsx(jW,{})}),e.jsx(nn,{children:e.jsx(fH,{})})]})})),n4=7,_W=(t=new Date)=>{const s=new Date(t);return s.setUTCHours(n4,0,0,0),t.getUTCHours()>=n4&&s.setUTCDate(s.getUTCDate()+1),s},NW=(t,s)=>{const a=Math.max(0,t-s);return{days:Math.floor(a/(1e3*60*60*24)),hours:Math.floor(a/(1e3*60*60)%24),minutes:Math.floor(a/(1e3*60)%60),seconds:Math.floor(a/1e3%60)}},kW=t=>t.toString().padStart(2,"0"),SW=t=>t.enableCountdown&&t.countdownUnitl?new Date(t.countdownUnitl):null,Tl=({color:t="#fcd753",duration:s="5s",tailLength:a=.5,borderThickness:l="2px",className:r})=>e.jsx("div",{"aria-hidden":"true",className:g("border-animation z-border-animation",r),style:{"--border-color":t,"--border-duration":s,"--tail-length":a,"--border-thickness":l}}),ir=({value:t,label:s})=>e.jsxs("div",{children:[e.jsx("div",{className:"flex h-[40px] w-[36px] items-center justify-center rounded-md bg-[#151922] text-base font-bold text-white md:h-[72px] md:w-[64px] md:text-2xl",children:kW(t)}),e.jsx("div",{className:"hidden pt-1 text-center text-sm text-[#FFFFFF99] md:block",children:s})]}),m0=()=>e.jsx("span",{className:"text-3xl text-brandblue-100 md:pb-6",children:" : "}
6791),dn=({title:t,description:s,timerLabel:a,countdownUntil:l=null,backgroundImage:r="",mobileBackgroundImage:i="",showBorderAnimation:o=!0})=>{const d=ls(),u=m.useMemo(()=>l?l.getTime():_W().getTime(),[l]),{days:c,hours:x,minutes:p,seconds:f}=NW(u,d);return e.jsxs("div",{className:"relative isolate flex flex-col items-start justify-between gap-4 overflow-hidden rounded-2xl p-5 md:flex-row md:items-center md:gap-0 md:p-8","data-testid":"countdown-banner",children:[e.jsx(ce,{src:r,alt:"Countdown Banner",className:"-z-1 absolute inset-0 hidden size-full object-cover md:block"}),e.jsx(ce,{src:i,alt:"Countdown Banner",className:"-z-1 absolute inset-0 block size-full object-cover md:hidden"}),o?e.jsx(Tl,{borderThickness:"1px"}):null,e.jsxs("div",{className:"max-w-[210px] md:max-w-[400px]",children:[e.jsx("h2",{className:"text-balance text-[17px] font-bold uppercase italic md:text-[22px]",dangerouslySetInnerHTML:{__html:t}}),e.jsx("p",{className:"pt-2 text-brandblue-100",dangerouslySetInnerHTML:{__html:s}})]}),e.jsxs("div",{className:"z-main md:pr-4",children:[e.jsx("h5",{className:"golden-highlight hidden pb-3 text-center text-xl font-bold uppercase italic md:block",children:a}),e.jsx("div",{className:"flex w-full items-center justify-center",children:e.jsxs("div",{className:"flex items-center gap-2","data-testid":"countdown-banner-timer",children:[l?e.jsxs(e.Fragment,{children:[e.jsx(ir,{value:c,label:n("intervals.days")}),e.jsx(m0,{})]}):null,e.jsx(ir,{value:x,label:n("intervals.hours")}),e.jsx(m0,{}),e.jsx(ir,{value:p,label:n("intervals.minutes")}),e.jsx(m0,{}),e.jsx(ir,{value:f,label:n("intervals.seconds")})]})})]})]})},AW=()=>{Qe("meta.crypto-games.title","meta.crypto-games.description");const t=ma(Cs.CryptoGames),s=(t==null?void 0:t.categories)??[];return m.useEffect(()=>{X("Crypto Games Page")},[]),e.jsx("div",{className:"mx-auto w-full overflow-hidden","data-testid":"crypto-games-lobby",children:e.jsx("div",{className:Ji,children:e.jsx("div",{className:"flex w-full flex-col items-center gap-y-3 md:gap-y-6",children:e.jsxs("section",{className:"flex w-full flex-col gap-y-6 transition-all md:px-0",children:[e.jsx(cn,{section:m1.CRYPTO_CASINO}),e.jsxs("div",{className:"flex flex-col gap-y-5",children:[e.jsx(W1,{categories:s,from:0,to:2}),e.jsx("div",{className:"pt-3",children:e.jsx(dn,{title:n("countdown_banner.cashback.title"),description:n("countdown_banner.cashback.description"),timerLabel:n("countdown_banner.cashback.timer_label"),backgroundImage:"/banners/crypto-casino/countdown-w-crypto.webp",mobileBackgroundImage:"/banners/crypto-casino/countdown-m-crypto.webp"})}),e.jsx(W1,{categories:s,from:2})]})]})})})})},LW=()=>{const[t,s]=C([Uk,hs.$betCurrency]);return e.jsx(ne,{name:"profit-on-win",testId:"profit-on-win-input",label:n("provablyFair.controls.profit_on_win"),type:"number",value:t,readOnly:!0,icon:e.jsx(Zt,{currency:s})})},MW=()=>e.jsx("div",{className:"flex flex-col gap-y-4",children:e.jsx(LW,{})}),BW=()=>e.jsxs("div",{className:"flex flex-col gap-y-4",children:[e.jsx(Ml,{}),e.jsx(Bl,{}),e.jsx(El,{})]}),x0=({label:t,children:s})=>e.jsxs("div",{className:"inline-flex min-w-0 flex-1 flex-col items-start justify-start gap-2",children:[e.jsx("div",{className:"justify-start text-sm font-medium leading-tight text-slate-400",children:t}),s]}),EW=()=>{const[t,s,a,l,r,i]=C([Vk,zk,S7,A7,hs.$isPlaying,hs.$isAutoplayPlaying]);return e.jsxs("div",{className:"inline-flex w-full select-none items-end justify-start gap-4 overflow-hidden rounded-xl bg-transparent px-1 py-2 md:bg-highlight md:p-4","data-testid":"dice-odds-form",children:[e.jsx(x0,{label:n("provablyFair.controls.payout"),children:e.jsxs("div",{className:"inline-flex h-10 items-center justify-between self-stretch rounded-xl bg-secondary px-3 py-0.5 md:bg-black-300",children:[e.jsx("div",{className:"justify-start text-sm font-semibold leading-tight text-white","data-testid":"dice-payout",children:t??"-"}),e.jsx("div",{className:"justify-start text-sm font-semibold leading-tight text-slate-400",children:"X"})]})}),e.jsx(x0,{label:`${n("provablyFair.controls.roll")} ${n(`provablyFair.controls.${l}`)}`,children:e.jsxs("div",{className:"inline-flex h-10 items-center justify-between self-stretch rounded-xl bg-secondary py-0.5 pl-3 pr-0.5 md:bg-black-300",children:[e.jsx("div",{className:"justify-start text-sm font-semibold leading-tight text-white","data-testid":"dice-roll-number",children:a}),e.jsx(Z,{variant:"NonAccent",height:"small",iconOnly:!0,testId:"dice-invert",ariaLabel:n("provablyFair.controls.roll"),disabled:r||i,onClick:()=>Gk(),children:e.jsx(jP,{className:"size-5 text-brandblue-100"})})]})}),e.jsx(x0,{label:n("provablyFair.controls.winChance"),children:e.jsxs("div",{className:"inline-flex h-10 items-center justify-between self-stretch rounded-xl bg-secondary px-3 py-0.5 md:bg-black-300",children:[e.jsx("div",{className:"justify-start text-sm font-semibold leading-tight text-white","data-testid":"dice-win-chance",children:s??"-"}),e.jsx("div",{className:"justify-start text-sm font-semibold leading-tight text-slate-400",children:"%"})]})})]})},RW=()=>{const t=C(Zk),s=t.slice(0,_i).reverse();return e.jsx("div",{className:"relative flex h-8 w-full flex-row items-center justify-end gap-2 after:pointer-events-none after:absolute after:inset-y-0 after:right-0 after:z-main after:w-10 after:bg-[linear-gradient(270deg,#141820,transparent)] after:content-['']","data-testid":"previous-rolls",children:s.map((a,l)=>e.jsx("div",{"data-testid":"previous-roll-chip","data-win":a.winAmount>0,className:g("inline-flex animate-fadeIn items-center justify-center gap-2.5 overflow-hidden rounded-3xl px-3 py-1.5 backdrop-blur-3xl",a.winAmount>0?"bg-[#54D14933]":"bg-highlight"),children:e.jsx("div",{className:g("justify-center text-center text-sm font-semibold leading-tight",a.winAmount>0?"text-green-500":"text-slate-400"),children:a.diceNumber})},`${t.length-l}`))})},TW="size-full flex flex-col gap-y-4 items-center justify-between p-4 bg-black-300 rounded-xl border border-primary",l4=()=>{const t=C(ht);return e.jsx(zs,{game:hs,children:e.jsxs(an,{children:[e.jsx(Rl,{betControls:e.jsx(MW,{}),autoplayControls:e.jsx(BW,{})}
6791),e.jsxs(nn,{rootClass:`${t?"lg:h-[calc(100vh-32px)]":"h-full md:h-[520px] xl:h-[648px]"} ${TW}`,children:[e.jsx(RW,{}),e.jsx(wH,{}),e.jsx(EW,{})]})]})})},Sf=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...t,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33334 4.16667V15.8333C3.33334 17.214 4.45263 18.3333 5.83334 18.3333H14.1667C15.5474 18.3333 16.6667 17.214 16.6667 15.8333V7.5C16.6667 6.11929 15.5474 5 14.1667 5H4.16668C3.70644 5 3.33334 4.6269 3.33334 4.16667ZM6.04168 10C6.04168 9.65482 6.3215 9.375 6.66668 9.375H13.3333C13.6785 9.375 13.9583 9.65482 13.9583 10C13.9583 10.3452 13.6785 10.625 13.3333 10.625H6.66668C6.3215 10.625 6.04168 10.3452 6.04168 10ZM6.04168 12.9167C6.04168 12.5715 6.3215 12.2917 6.66668 12.2917H11.25C11.5952 12.2917 11.875 12.5715 11.875 12.9167C11.875 13.2618 11.5952 13.5417 11.25 13.5417H6.66668C6.3215 13.5417 6.04168 13.2618 6.04168 12.9167Z",fill:"#9092B2"}),e.jsx("path",{d:"M3.674 3.40592C3.9644 3.53615 4.16668 3.82779 4.16668 4.16667H14.1667C14.4544 4.16667 14.7337 4.20313 15 4.27168V3.58837C15 2.57412 14.1017 1.79501 13.0976 1.93845L4.09967 3.22387C3.93928 3.24679 3.79393 3.31145 3.674 3.40592Z",fill:"#9092B2"})]}),IW=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...t,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99999 18.3333C6.07162 18.3333 4.10743 18.3333 2.88704 17.1129C1.66666 15.8925 1.66666 13.9283 1.66666 9.99996C1.66666 6.07159 1.66666 4.1074 2.88704 2.88701C4.10743 1.66663 6.07162 1.66663 9.99999 1.66663C13.9284 1.66663 15.8925 1.66663 17.1129 2.88701C18.3333 4.1074 18.3333 6.07159 18.3333 9.99996C18.3333 13.9283 18.3333 15.8925 17.1129 17.1129C15.8925 18.3333 13.9284 18.3333 9.99999 18.3333ZM9.99999 14.7916C10.3452 14.7916 10.625 14.5118 10.625 14.1666V9.16663C10.625 8.82145 10.3452 8.54163 9.99999 8.54163C9.65481 8.54163 9.37499 8.82145 9.37499 9.16663V14.1666C9.37499 14.5118 9.65481 14.7916 9.99999 14.7916ZM9.99999 5.83329C10.4602 5.83329 10.8333 6.20639 10.8333 6.66663C10.8333 7.12686 10.4602 7.49996 9.99999 7.49996C9.53975 7.49996 9.16666 7.12686 9.16666 6.66663C9.16666 6.20639 9.53975 5.83329 9.99999 5.83329Z",fill:"#9092B2"})}),FW=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...t,children:e.jsx("path",{d:"M22.2678 10.0457H22.8001V7.25501C22.8001 5.899 21.69 4.80029 20.3199 4.80029L16.118 4.80029V7.47262C16.118 7.85208 15.8071 8.15978 15.4237 8.15978C15.0403 8.15978 14.7294 7.85208 14.7294 7.47262V4.80029H3.68022C2.31016 4.80029 1.20007 5.899 1.20007 7.25501V10.0457H1.73236C2.82316 10.0457 3.70722 10.9207 3.70722 12.0003C3.70722 13.0799 2.82316 13.9549 1.73236 13.9549H1.20007V16.7456C1.20007 18.1016 2.31016 19.2003 3.68022 19.2003H14.7286V16.528C14.7286 16.1485 15.0395 15.8408 15.4229 15.8408C15.8063 15.8408 16.1172 16.1485 16.1172 16.528V19.2003H20.3192C21.6892 19.2003 22.7993 18.1016 22.7993 16.7456V13.9549H22.267C21.1762 13.9549 20.2922 13.0799 20.2922 12.0003C20.2929 10.9207 21.177 10.0457 22.2678 10.0457ZM16.1195 13.3823C16.1195 13.7564 15.8032 14.0618 15.4252 14.0618C15.0395 14.0618 14.7317 13.7564 14.7317 13.3823V10.6183C14.7317 10.2442 15.0395 9.93879 15.4252 9.93879C15.8032 9.93879 16.1195 10.2442 16.1195 10.6183V13.3823Z",fill:"#FCD753"})}),Af=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...t,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33325 4.16667V15.8333C3.33325 17.214 4.45254 18.3333 5.83325 18.3333H14.1666C15.5473 18.3333 16.6666 17.214 16.6666 15.8333V7.5C16.6666 6.11929 15.5473 5 14.1666 5H4.16659C3.70635 5 3.33325 4.6269 3.33325 4.16667ZM6.04159 10C6.04159 9.65482 6.32141 9.375 6.66659 9.375H13.3333C13.6784 9.375 13.9583 9.65482 13.9583 10C13.9583 10.3452 13.6784 10.625 13.3333 10.625H6.66659C6.32141 10.625 6.04159 10.3452 6.04159 10ZM6.04159 12.9167C6.04159 12.5715 6.32141 12.2917 6.66659 12.2917H11.2499C11.5951 12.2917 11.8749 12.5715 11.8749 12.9167C11.8749 13.2618 11.5951 13.5417 11.2499 13.5417H6.66659C6.32141 13.5417 6.04159 13.2618 6.04159 12.9167Z",fill:"currentColor"}),e.jsx("path",{d:"M3.67391 3.40592C3.96431 3.53615 4.16659 3.82779 4.16659 4.16667H14.1666C14.4543 4.16667 14.733
67916 4.20313 14.9999 4.27168V3.58837C14.9999 2.57412 14.1016 1.79501 13.0975 1.93845L4.09958 3.22387C3.93919 3.24679 3.79384 3.31145 3.67391 3.40592Z",fill:"currentColor"})]}),Lf={brandblue:"#9092B2",red:"#D43D3D"},Mf=({variant:t="brandblue",...s})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...s,children:e.jsx("path",{d:"M16.6554 5.23483C18.0848 6.39954 19.0013 8.17638 19.0013 10.165C19.0013 12.1536 18.0848 13.9304 16.6554 15.0951C16.3146 15.3731 15.8149 15.3201 15.537 14.9793C15.2591 14.6385 15.312 14.1389 15.6528 13.8609C16.7282 12.9874 17.4131 11.6573 17.4131 10.165C17.4131 8.6727 16.7282 7.34255 15.6528 6.46572C15.312 6.18777 15.2624 5.68814 15.537 5.34733C15.8116 5.00652 16.3146 4.95689 16.6554 5.23152V5.23483ZM14.6535 7.69991C15.3649 8.28226 15.8249 9.16902 15.8249 10.165C15.8249 11.1609 15.3649 12.0477 14.6535 12.6301C14.3127 12.908 13.8131 12.8551 13.5352 12.5142C13.2572 12.1734 13.3102 11.6738 13.651 11.3959C14.0083 11.1047 14.2366 10.6613 14.2366 10.165C14.2366 9.66866 14.0083 9.22527 13.651 8.93079C13.3102 8.65285 13.2605 8.15322 13.5352 7.81241C13.8098 7.4716 14.3127 7.42196 14.6535 7.6966V7.69991ZM10.9642 2.84586C11.3447 3.01792 11.5896 3.39513 11.5896 3.81204V16.5179C11.5896 16.9348 11.3447 17.312 10.9642 17.4841C10.5837 17.6562 10.137 17.5867 9.82598 17.3087L5.36237 13.3415H3.11899C1.95098 13.3415 1.00134 12.3918 1.00134 11.2238V9.10616C1.00134 7.93814 1.95098 6.98851 3.11899 6.98851H5.36237L9.82598 3.02123C10.137 2.74329 10.5837 2.67711 10.9642 2.84586Z",fill:Lf[t]})}),Bf=({variant:t="red",...s})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...s,children:e.jsx("path",{d:"M10.4102 3.0869C10.7696 3.2494 11.0009 3.60564 11.0009 3.99939V15.9992C11.0009 16.393 10.7696 16.7492 10.4102 16.9117C10.0508 17.0742 9.62887 17.0086 9.3351 16.7461L5.11911 12.9993H3.00017C1.89695 12.9993 1 12.1024 1 10.9993V8.99932C1 7.89621 1.89695 6.99935 3.00017 6.99935H5.11911L9.3351 3.25252C9.62887 2.99003 10.0508 2.92753 10.4102 3.0869ZM14.2824 7.2181L16.0013 8.93682L17.7202 7.2181C18.014 6.92435 18.489 6.92435 18.7797 7.2181C19.0703 7.51184 19.0734 7.98684 18.7797 8.27746L17.0608 9.99619L18.7797 11.7149C19.0734 12.0087 19.0734 12.4837 18.7797 12.7743C18.4859 13.0649 18.0109 13.068 17.7202 12.7743L16.0013 11.0555L14.2824 12.7743C13.9886 13.068 13.5136 13.068 13.2229 12.7743C12.9323 12.4805 12.9292 12.0055 13.2229 11.7149L14.9418 9.99619L13.2229 8.27746C12.9292 7.98371 12.9292 7.50872 13.2229 7.2181C13.5167 6.92748 13.9918 6.92435 14.2824 7.2181Z",fill:Lf[t]})}),OW=()=>{const[t,s,a,l]=C([Wk,St.$isPlaying,St.$isAutoplayPlaying,St.$isFreeBet]);return e.jsxs("div",{className:"flex w-full flex-col gap-2.5",children:[e.jsx("div",{className:"h-6",children:e.jsx("span",{className:"text-sm font-normal text-brandblue-100 md:text-base",children:n("games.duck.controls.difficulty")})}),e.jsx("div",{className:"grid w-full grid-cols-3 rounded-sm bg-black-300",children:Object.values(e2).map(r=>e.jsx(Z,{height:"medium",block:!0,variant:r===t?"NonAccent":"Link",className:r===t?"text-white":void 0,disabled:s||a||l,testId:`duck-difficulty-${r}`,onClick:()=>Kk(r),children:n(`games.duck.difficulty.${r}`)},r))})]})},DW=()=>{const t=C(St.$isAudioOn);return e.jsx("button",{type:"button",className:"hover:opacity-90","aria-label":n("provablyFair.settings.sounds"),"aria-pressed":t,"data-testid":"duck-audio-toggle",onClick:()=>St.audioToggled(),children:t?e.jsx(Mf,{variant:"brandblue",className:"size-5"}):e.jsx(Bf,{variant:"red",className:"size-5"})})},$W=()=>{const s=C(qk).slice(0,_i).reverse();return s.length?e.jsxs("div",{className:"relative flex h-8 w-full flex-row items-center justify-end gap-2 after:absolute after:inset-y-0 after:right-0 after:z-battlepass-card after:w-10 after:bg-gradient-to-l after:from-[#141820] after:to-transparent","data-testid":"duck-previous-rolls",children:[e.jsx("div",{className:"text-sm text-slate-400",children:n("games.duck.lastGames")}),s.map((a,l)=>e.jsx("div",{"data-testid":"duck-roll-chip",className:g("inline-flex items-center justify-center gap-2.5 overflow-hidden rounded-3xl px-3 py-1.5 backdrop-blur-3xl",a.winAmount>0?"bg-[#54D14933]":"bg-highlight"),children:e.jsxs("div",{className:g("justify-center text-center text-sm font-semibold leading-tight",a.winAmount>0?"text-green-500":"text-slate-400"),children:[a.multiplier,"x"]})},`${l}-${a.multiplier}`))]}):null},PW="/assets/tires-screech-BWmFHr-M.mp3",HW={TIRES_SCREECH:PW},UW="/assets/Step1-Bc3v1Ziv.webp",VW="/assets/Step2-CjdqmzUZ.webp",zW="/assets/Step3-BIpG0cs7.webp",GW=[1,2,3],ZW={1:UW,2:VW,3:zW},WW=()=>{const{closeModal:t}=W();return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"duck-how-to-play-modal",children:[e.jsxs("div",{className:"mb-4 flex w-full flex-row items-center gap-x-2 border-b border-primary pb-4",children:[e.jsx(FW,{className:"size-6"}),e.jsx("span",{className:"line-clamp-2 text-pretty text-sm font-semibold text-white",children:n("games.duck.howToPlay.title")})]}),e.jsx("div",{className:"flex w-full flex-col gap-4",children:GW.map(s=>e.jsxs("div",{className:"flex flex-col items-center justify-between gap-4 md:flex-row",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("div",{className:"w-max rounded-full bg-golde
6791n/10 px-2.5 py-1 text-sm font-semibold text-golden",children:n("games.duck.howToPlay.step.value",{step:s})}),e.jsx("h3",{className:"py-4 text-left text-sm font-semibold text-white",children:n(`games.duck.howToPlay.step.${s}.title`)}),e.jsx("p",{className:"pb-4 text-left text-sm font-medium text-brandblue-100",children:n(`games.duck.howToPlay.step.${s}.description`)})]}),e.jsx("img",{src:ZW[s],alt:"","aria-hidden":"true",className:`order-first h-auto w-full self-start md:w-1/2 ${s===2?"md:order-last":""}`})]},s))}),e.jsx(Z,{variant:"Primary",height:"medium",block:!0,testId:"duck-how-to-play-close",onClick:()=>t(),children:n("games.duck.howToPlay.tryNow")})]})},Ef="duck-how-to-play",KW=$e({component:WW,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("games.duck.howToPlay.title")}),f0=({label:t,value:s,currency:a})=>e.jsxs("div",{className:"flex w-full flex-row justify-between rounded-lg bg-secondary p-2",children:[e.jsx("div",{className:"text-brandblue-100",children:t}),e.jsxs("div",{className:"flex flex-row place-items-center gap-1 text-white",children:[Ke(s,void 0,2),e.jsx(Zt,{currency:a,className:"size-4"})]})]}),qW=()=>{const[t,s,a]=C([St.$gameConstraints,St.$betCurrency,Yk]),{closeModal:l}=W(),r=(t==null?void 0:t.betAmountInUsd.min)??0,i=(t==null?void 0:t.betAmountInUsd.max)??0;return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"duck-rules-modal",children:[e.jsx("div",{className:"mb-4 flex w-full flex-row items-center gap-x-2 border-b border-primary pb-4",children:e.jsxs("span",{className:"flex flex-row place-items-center gap-2 text-pretty text-sm font-semibold text-white",children:[e.jsx(Af,{className:"size-5 text-violet"}),n("games.duck.gameRules.bettingRange")]})}),e.jsx("div",{className:"text-brandblue-100",children:n("games.duck.gameRules.bettingRangeDescription",{minBet:`$${Ke(r,void 0,2)}`,maxBet:`$${Ke(i,void 0,2)}`,maxWin:`$${Ke(a,void 0,2)}`})}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(f0,{label:n("games.duck.gameRules.minBet"),value:r,currency:s}),e.jsx(f0,{label:n("games.duck.gameRules.maxBet"),value:i,currency:s}),e.jsx(f0,{label:n("games.duck.gameRules.maxWin"),value:a,currency:s})]}),e.jsx(Z,{variant:"Primary",height:"medium",block:!0,testId:"duck-rules-close",onClick:()=>l(),children:n("games.duck.gameRules.close")})]})},Rf="duck-rules",YW=$e({component:qW,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("global_rules")}),p0={[To.STEP]:xe.CHIP_THROW,[To.WIN]:xe.WIN,[To.CRASH]:HW.TIRES_SCREECH},XW=()=>{const t=C(St.$isAudioOn);m.useEffect(()=>rn(Object.values(p0),t),[t]),m.useEffect(()=>{const s=Xk.watch(a=>qe(p0[a]));return()=>{s(),Vs(Object.values(p0))}},[])},JW=()=>{const{openModal:t}=W(),s=C(ht);return XW(),e.jsxs("div",{className:g("flex w-full flex-col pb-4",s&&"pl-4"),children:[e.jsx("div",{className:"relative overflow-hidden rounded-t-xl md:rounded-none",children:e.jsx(PH,{})}),e.jsxs("div",{className:"flex flex-col items-end gap-4 bg-primary p-4 md:flex-row md:rounded-b-xl",children:[e.jsx(rl,{}),e.jsx(OW,{}),e.jsx("div",{className:"order-first w-full md:order-last",children:e.jsx(F2,{cashoutButtonVariant:"Accent",testId:"game-action-button-desktop"})})]}),e.jsxs("div",{className:"flex w-full flex-col justify-between rounded-b-xl rounded-t-none bg-primary px-4 pb-4 md:order-first md:flex-row md:rounded-b-none md:rounded-t-xl md:border-1 md:border-b-0 md:border-primary md:bg-black-300 md:p-4",children:[e.jsx("div",{className:"mb-4 h-px w-full bg-highlight md:hidden"}),e.jsxs("div",{className:"flex flex-row justify-between gap-x-3",children:[e.jsxs("div",{className:"flex flex-row gap-x-3",children:[e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"gap-x-3",ariaLabel:n("games.duck.gameRules.button"),testId:"duck-rules-button",onClick:()=>t(Rf),children:[e.jsx(Sf,{className:"size-5"}),e.jsx("span",{className:"hidden md:block",children:n("games.duck.gameRules.button")})]}),e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"gap-x-3",ariaLabel:n("provablyFair.title"),testId:"provably-fair-button",onClick:()=>t(on),children:[e.jsx(da,{className:"size-5"}),e.jsx("span",{className:"hidden md:block",children:n("provablyFair.title")})]}),e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"gap-x-3",ariaLabel:n("games.duck.howToPlay.button"),testId:"duck-how-to-play-button",onClick:()=>t(Ef),children:[e.jsx(IW,{className:"size-5"}),e.jsx("span",{children:n("games.duck.howToPlay.button")})]})]}),e.jsxs("div",{className:"order-first flex flex-row items-center gap-x-3 md:order-last",children:[e.jsx("div",{className:"hidden h-full w-px bg-primary md:block"}),e.jsx(DW,{})]})]}),e.jsx("div",{className:"hidden md:flex",children:e.jsx($W,{})})]})]})},r4=()=>e.jsx(zs,{game:St,children:e.jsx(JW,{})}),i4=t=>{var s;
6791return typeof((s=t.metadata)==null?void 0:s.channelUrl)=="string"?t.metadata.channelUrl:void 0},o4=t=>{var s;return typeof((s=t.metadata)==null?void 0:s.tweetUrl)=="string"?t.metadata.tweetUrl:void 0},E1=()=>({checkStatusOnAction:!0,valueToCheck:i4,openUrl:i4}),QW={[Q.ActionKycPassed]:{openModal:{name:"user",params:{tab:"verification"}}},[Q.KYC]:{openModal:{name:"user",params:{tab:"verification"}}},[Q.ActionEmailVerified]:{openModal:{name:"user",params:{tab:"account"}}},[Q.ActionFollowX]:E1(),[Q.ActionFollowTikTok]:E1(),[Q.ActionFollowYoutube]:E1(),[Q.ActionFollowTwitch]:E1(),[Q.ActionFollowInstagram]:E1(),[Q.ActionFollowDiscord]:E1(),[Q.ActionRetweet]:{checkStatusOnAction:!0,valueToCheck:o4,openUrl:o4}},eK=new Set([Q.WageringTotal,Q.WageringGame,Q.DepositTotal,Q.AffiliatesCount,Q.Level,Q.XP,Q.ActionDailyStreak,Q.ActionWager]),tK=new Set([Q.WageringGame,Q.WageringTotal,Q.ActionWager,Q.Level,Q.XP,Q.ActionLevelUp,Q.ActionDailyStreak]),sK={[Q.WageringTotal]:"bonuses.missions.titles.wager",[Q.WageringGame]:"bonuses.missions.titles.wager_game",[Q.DepositTotal]:"bonuses.missions.titles.deposit",[Q.Level]:"bonuses.missions.titles.level",[Q.XP]:"bonuses.missions.titles.xp",[Q.ActionDailyStreak]:"bonuses.missions.titles.streak",[Q.ActionWager]:"bonuses.missions.titles.place_bet",[Q.KYC]:"bonuses.missions.titles.kyc",[Q.ActionEmailVerified]:"bonuses.missions.titles.connect_email",[Q.ActionClaimCashback]:"bonuses.missions.titles.claim_cashback",[Q.ActionReviewWhale]:"bonuses.missions.titles.review"},Tf=t=>{const s=Object.values(t.metadata??{}).map(a=>Number(a)).filter(a=>Number.isFinite(a)&&a>0);return s.length?s[0]:0},Kn=t=>t.toLocaleString("en-US"),aK=t=>t.charAt(0).toUpperCase()+t.slice(1).replace(/-/g," "),nK=t=>t.split("_").map(s=>s.charAt(0).toUpperCase()+s.slice(1)).join(" "),If=t=>t.conditions.find(s=>!s.conditionMet)??t.conditions[0],Ff=t=>{var c,x,p,f,h,b;const s=Kn(Tf(t)),a=typeof((c=t.metadata)==null?void 0:c.gameCode)=="string"?t.metadata.gameCode:void 0,l=a===cu,r=a&&!l?(x=Lr(a))==null?void 0:x.name:void 0,i=(f=(p=t.metadata)==null?void 0:p.sportsbookFilter)==null?void 0:f.disciplineId;if(t.type===Q.WageringTotal)return n("bonuses.missions.titles.wager",{amount:s});if(t.type===Q.WageringGame)return l?n("bonuses.missions.titles.wager_sportsbook",{amount:s}):r?n("bonuses.missions.titles.wager_game_named",{amount:s,game:r}):n("bonuses.missions.titles.wager_game",{amount:s});if(t.type===Q.ActionWager){if(l)return i?n("bonuses.missions.titles.bet_discipline",{discipline:aK(i)}):n("bonuses.missions.titles.bet_sportsbook");if(a)return r?n("bonuses.missions.titles.bet_in_game",{game:r}):n("bonuses.missions.titles.place_bet");const v=Number((h=t.metadata)==null?void 0:h.minUsdAmount)||0,j=Number((b=t.metadata)==null?void 0:b.maxUsdAmount)||0;return v>0?n("bonuses.missions.titles.place_bet_over",{amount:Kn(v)}):j>0?n("bonuses.missions.titles.place_bet_below",{amount:Kn(j)}):n("bonuses.missions.titles.place_bet")}const o=sK[t.type];if(o)return n(o,{amount:s});const d=`mission_card.actions.${t.type}.heading`,u=n(d);return u===d?n("bonuses.missions.default_title"):u},lK={[Qa.NOT_FOUND]:"rewards.code_form.not_found",[Qa.ALREADY_USED]:"rewards.code_form.already_used",[Qa.EXPIRED]:"rewards.code_form.expired",[Qa.NOT_AVAILABLE_YET]:"rewards.code_form.not_available_yet",[Qa.UNKNOWN]:"rewards.code_form.failed"},rK=t=>{if(t.reason===Qa.CONDITIONS_NOT_MET){const s=t.conditions[0];return s?{text:n("rewards.code_form.locked",{condition:Ff(s)}),tone:"locked"}:{text:n("rewards.code_form.locked_generic"),tone:"locked"}}return{text:n(lK[t.reason]),tone:"error"}},iK=2e3,oK=1e4,cK=()=>{const[t,s,a,l]=C([Jk,Qk,eS,te]),{openModal:r}=W(),[i,o]=m.useState(""),d=s?rK(s):null;m.useEffect(()=>{if(!s&&!a)return;const c=(s==null?void 0:s.reason)===Qa.CONDITIONS_NOT_MET?oK:iK,x=window.setTimeout(()=>tS(),c);return()=>window.clearTimeout(x)},[s,a]),m.useEffect(()=>{a&&o("")},[a]);const u=c=>{c.preventDefault();const x=i.trim();x&&sS(x)};return l?e.jsxs("form",{"data-testid":"reward-code-form",className:"flex flex-col gap-2",onSubmit:u,children:[e.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row",children:[e.jsx("input",{name:"reward-code","data-testid":"reward-code-input",value:i,placeholder:n("rewards.code_form.placeholder"),autoComplete:"off",className:"h-11 flex-1 rounded-lg border border-highlight bg-primary px-3 text-sm text-white placeholder:text-brandblue-100 focus:border-brand-tertiary focus:outline-none",onChange:c=>o(c.target.value)}),e.jsx(O,{variant:"primary",type:"submit","data-testid":"reward-code-submit",className:"h-11 rounded-lg sm:w-32",disabled:t||!i.trim(),children:n("rewards.buttons.claim")})]}),d?e.jsx("p",{"data-testid":d.tone==="locked"?"reward-code-locked":"reward-code-error",className:g("text-xs font-medium",d.tone==="locked"?"text-brandblue-100":"text-warning"),children:d.text}):null,a?e.jsx("p",{"data-testid":"reward-code-success",className:"text-xs font-medium text-brand-tertiary",children:n("rewards.code_form.success")}):null]}):e.jsx(O,{variant:"primary","data-testid":"reward-code-login",className:"h-11 w-full rounded-lg",onClick:()=>r(_e,{tab:"login"}),children:n("header.login")})},dK=()=>e.jsxs("div",{"data-testid":"earn-battlepass-card",className:"flex flex-col gap-4 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] p-4",children:[e.jsxs("div",{className:"flex flex-row items-center gap-3",children:[e.jsx("img",{src:"/rewards/bigger-rewards.webp",alt:"",className:"size-12 shrink-0 rounded-lg object-cover",loading:"lazy",decoding:"async"}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[e.jsx("p",{className:"text-base font-semibold text-white",children:n("battlepass.banner.title")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100",children:n("battlepass.banner.description")})]})]}),e.jsx(cK,{})]}),or=({title:t,description:s,icon:a,children:l,testId:r,className:i})=>e.jsxs("section",{className:g("flex flex-col",i),"data-testid":r,children:[e.jsx("div",{className:"flex flex-row items-center justify-between pb-3",children:e.jsxs("h1",{className:"flex flex-row items-center gap-2 text-sm font-semibold text-white xxs:text-sm",children:[a?e.jsx("span",{className:"flex size-6 items-center justify-center",children:a}):null,e.jsx("span",{className:"text-right text-[18px] font-semibold leading-[30px] text-white",children:t})]})}),s?e.jsx("p",{className:"pb-4 text-sm font-medium text-brandblue-100",children:s}):null,l]}),uK={default:"bg-[#637AF41A] text-brandblue-100",green:"bg-[#54D1491A] text-green",tribes:"bg-[#637AF41A] text-brand-tertiary"},_r=({children:t,variant:s="default"})=>e.jsx("span",{className:g("flex size-10 items-center justify-center rounded-3xl",uK[s]),children:t}),Yr=640,mK=720,xK=(t,s,a)=>a==="active"?(t-s)/2:a==="left"?s===Yr?-32:-15:a==="right"?t-s*.9+(s===Yr?-32:15):(t-s*.9)/2,fK=(t,s,a)=>t===s?"active":(s===0?t===a-1:t===s-1)?"left":(s===a-1?t===0:t===s+1)?"right":"hidden",pK=()=>{const t=m.useRef(null),[s,a]=m.useState(0),[l,r]=m.useState(Yr),[i,o]=m.useState(0),d=m.useRef(null),u=["/earn/earn-banner1.webp","/earn/earn-banner2.webp",...ke(Se.Tr
6791ibes)?["/earn/earn-banner3.webp"]:[]];m.useEffect(()=>{const f=()=>{var b;const h=((b=t.current)==null?void 0:b.getBoundingClientRect().width)??0;a(h),r(h<mK?h*.9:Yr)};return f(),window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[]);const c=()=>o(f=>f>0?f-1:u.length-1),x=()=>o(f=>f<u.length-1?f+1:0),p=f=>{const h=d.current;d.current=null,!(h===null||Math.abs(f-h)<60)&&(f<h?x():c())};return e.jsx("div",{ref:t,className:"relative h-[124px] w-full touch-auto overflow-x-clip select-none lg:h-[248px]","data-testid":"earn-slider",onTouchStart:f=>{var h;d.current=((h=f.touches[0])==null?void 0:h.clientX)??null},onTouchEnd:f=>{var h;return p(((h=f.changedTouches[0])==null?void 0:h.clientX)??0)},children:s?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",className:"absolute z-slider ml-4 mt-[104px] hidden size-10 cursor-pointer items-center justify-center rounded-full bg-primary-active lg:flex",onClick:c,"aria-label":"Previous slide","data-testid":"earn-slider-prev",children:e.jsx(tZ,{})}),u.map((f,h)=>{const b=fK(h,i,u.length);return e.jsx("div",{className:g("absolute transition-all duration-500 ease-in-out",{"scale-0":b==="hidden","scale-90 brightness-[0.3]":b!=="active","z-20 scale-100 brightness-100":b==="active","z-10":b==="left"||b==="right","z-0":b==="hidden"}),style:{marginLeft:`${xK(s,l,b)}px`},children:e.jsx(ce,{src:f,width:l,alt:"banner"})},f)}),e.jsx("button",{type:"button",className:"absolute z-slider mt-[104px] hidden size-10 cursor-pointer items-center justify-center rounded-full bg-primary-active lg:flex",style:{marginLeft:`${Math.floor(s)-56}px`},onClick:x,"aria-label":"Next slide","data-testid":"earn-slider-next",children:e.jsx(sZ,{})})]}):null})},$1=({icon:t,title:s,children:a,actionButton:l,className:r,testId:i})=>e.jsxs("div",{className:g("block-count flex w-full items-center gap-x-2 rounded-xl p-4",r),"data-testid":i,children:[e.jsx("div",{className:"hidden size-10 items-center justify-center rounded-3xl bg-[#637AF41A] lg:flex",children:t}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"line-clamp-1 truncate text-xs font-medium leading-5 text-brandblue-100 md:text-sm",children:s}),e.jsx("div",{className:"mt-1 flex items-center gap-2 text-lg font-semibold leading-7",children:a})]}),l?e.jsx("div",{className:"ml-auto",children:l}):null]}),hK=()=>{const[t,s,a,l,r]=C([aS,nS,du,lS,rS]),i=e.jsx(we,{currency:l==="CUSD"?U.CUSD:U.USDT});return e.jsxs("div",{className:"flex flex-col gap-2 lg:flex-row lg:gap-4","data-testid":"earn-stats",children:[e.jsx("div",{className:"flex w-full gap-2 lg:w-2/5 lg:gap-6",children:e.jsx($1,{icon:e.jsx(hf,{className:"text-icon-active"}),title:n("modals.refer.referrals"),testId:"earn-stats-referrals",children:Xt(t)})}),e.jsx("div",{className:"w-full lg:w-2/5",children:e.jsxs($1,{icon:e.jsx(QG,{className:"text-icon-active"}),title:n("modals.refer.wagered"),testId:"earn-stats-wagered",children:[i,Xt(s)]})}),e.jsx("div",{className:"w-full lg:w-2/5",children:e.jsxs($1,{icon:e.jsx(gf,{}),title:n("modals.refer.earned"),className:"block-total-earned",testId:"earn-stats-earned",actionButton:e.jsx(O,{className:"border bg-green text-black-200",disabled:r,onClick:()=>iS(),"data-testid":"earn-stats-claim",children:n("global_claim")}),children:[i,Xt((a==null?void 0:a.commissionBalanceInCurrency)??0)]})})]})},gK=()=>{const t=C(du);return e.jsxs("div",{className:"earn-whale-card flex gap-8 rounded-xl p-4 md:p-6 lg:mx-0 lg:items-center","data-testid":"earn-whale",children:[e.jsx(Tl,{color:"#54D149",borderThickness:"1px"}),e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("div",{className:"text-xl font-bold leading-relaxed text-white",children:n("modals.refer.earnWhaleAndUsdt.title")}),e.jsxs("div",{className:"flex flex-col gap-y-4",children:[e.jsx("div",{className:"text-sm font-medium text-brandblue-100",dangerouslySetInnerHTML:{__html:n("modals.refer.earnWhaleAndUsdt.description")}}),e.jsx("div",{className:"highlight-earn-bg relative flex items-center justify-between self-stretch rounded-lg px-4 py-3 md:p-4",children:e.jsxs("div",{className:"flex flex-col gap-y-1",children:[e.jsx("div",{className:"pb-1 text-xs font-medium leading-tight text-gray-400 md:text-sm",children:n("modals.refer.earnWhaleAndUsdt.total")}),e.jsxs("div",{className:"flex items-center gap-1.5 text-lg font-bold leading-7 text-white","data-testid":"earn-whale-total",children:[e.jsx(Gt,{className:"size-5"}),Xt((t==null?void 0:t.whaleTokenBalance)??0)]})]})})]})]})]})},bK="/assets/avatar-default-DEsNLPLz.webp",Of=bK,Uc=({patternId:t})=>e.jsxs(e.Fragment,{children:[e.jsx("rect",{width:"48",height:"48",rx:"24",fill:"#303745"}),e.jsx("circle",{cx:"24",cy:"24",r:"24",fill:`url(#${t})`}),e.jsx("circle",{cx:"38",cy:"38",r:"14",fill:"#1A1E27"}),e.jsx("defs",{children:e.jsx("pattern",{id:t,patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:e.jsx("image",{href:Of,width:"1",height:"1",preserveAspectRatio:"none"})})})]}),CK=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...t,children:[e.jsx("circle",{cx:"12",cy:"12",r:"12",fill:"url(#liveRewardsUserAvatarPattern)"}),e.jsx("defs",{children:e.jsx("pattern",{id:"liveRewardsUserAvatarPattern",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:e.jsx("image",{href:Of,width:"1",height:"1",preserveAspectRatio:"none"})})})]}),jK=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",viewBox:"0 0 52 52",fill:"none","aria-hidden":"true",...t,children:[e.jsx(Uc,{patternId:"liveRewardsFirstPlacePattern"}),e.jsxs("g",{clipPath:"url(#liveRewardsFirstPlaceClip)",children:[e.jsx("path",{d:"M40.4414 42.7737H35.5586L36.3398 40.2347H39.6602L40.4414 42.7737Z",fill:"url(#liveRewardsFirstPlacePaint0)"}),e.jsx("path",{d:"M34.2891 42.7737H41.7109C42.1406 42.7737 42.4922 43.1253 42.4922 43.555V44.9222H33.5078V43.5
679155C33.5078 43.1253 33.8594 42.7737 34.2891 42.7737Z",fill:"url(#liveRewardsFirstPlacePaint1)"}),e.jsx("path",{d:"M33.0195 44.9222H42.9805C43.5742 44.9222 44.0547 45.4026 44.0547 45.9964C44.0547 46.5901 43.5742 47.0706 42.9805 47.0706H33.0195C32.4258 47.0706 31.9453 46.5901 31.9453 45.9964C31.9453 45.4066 32.4258 44.9222 33.0195 44.9222Z",fill:"url(#liveRewardsFirstPlacePaint2)"}),e.jsx("path",{d:"M44.5071 34.0628C44.7024 34.0628 44.7571 34.1175 44.7923 34.1526C44.8352 34.1956 44.8548 34.2308 44.8665 34.2894C44.8821 34.3597 44.8977 34.512 44.8352 34.7737C44.6907 35.3948 44.2298 36.1253 43.5735 36.7816C42.6087 37.7464 41.7063 38.0901 41.2298 38.0901C41.0344 38.0901 40.9798 38.0355 40.9446 38.0003C40.9016 37.9573 40.8821 37.9222 40.8704 37.8636C40.8548 37.7933 40.8391 37.6409 40.9016 37.3792C41.0462 36.7581 41.5071 36.0276 42.1634 35.3714C43.1282 34.4066 44.0266 34.0628 44.5071 34.0628ZM44.5071 31.9144C43.2844 31.9144 41.8626 32.6331 40.6438 33.8519C38.7415 35.7542 38.0579 38.1526 39.4251 39.5198C39.9173 40.012 40.5423 40.2386 41.2259 40.2386C42.4485 40.2386 43.8704 39.5198 45.0891 38.3011C46.9915 36.3987 47.6751 34.0003 46.3079 32.6331C45.8196 32.1409 45.1946 31.9144 44.5071 31.9144Z",fill:"url(#liveRewardsFirstPlacePaint3)"}),e.jsx("path",{d:"M31.492 34.0627C31.9724 34.0627 32.8709 34.4064 33.8357 35.3713C34.492 36.0275 34.9529 36.7619 35.0974 37.3791C35.1599 37.6408 35.1443 37.7932 35.1287 37.8635C35.117 37.9221 35.0974 37.9572 35.0545 38.0002C35.0193 38.0353 34.9646 38.09 34.7693 38.09C34.2888 38.09 33.3904 37.7463 32.4256 36.7814C31.7693 36.1252 31.3084 35.3947 31.1638 34.7736C31.1013 34.5119 31.117 34.3596 31.1326 34.2892C31.1443 34.2307 31.1638 34.1955 31.2068 34.1525C31.242 34.1174 31.2967 34.0627 31.492 34.0627ZM31.492 31.9142C30.8045 31.9142 30.1795 32.1408 29.6873 32.633C28.3201 34.0002 29.0037 36.3986 30.906 38.301C32.1248 39.5197 33.5467 40.2385 34.7693 40.2385C35.4568 40.2385 36.0818 40.0119 36.5701 39.5197C37.9373 38.1525 37.2537 35.7541 35.3513 33.8517C34.1365 32.633 32.7146 31.9142 31.492 31.9142Z",fill:"url(#liveRewardsFirstPlacePaint4)"}),e.jsx("path",{d:"M33.6211 36.9494V35.9064C33.6211 34.9963 33.4727 34.09 33.1562 33.2346C32.9531 32.6838 32.8398 32.09 32.8398 31.465H43.1602C43.1602 32.0861 43.0469 32.6838 42.8438 33.2346C42.5273 34.0861 42.3789 34.9963 42.3789 35.9064V36.9494C42.3789 39.3674 40.418 41.3283 38 41.3283C35.582 41.3283 33.6211 39.3674 33.6211 36.9494Z",fill:"url(#liveRewardsFirstPlacePaint5)"}),e.jsx("path",{d:"M32.8242 28.9298H43.1758C43.875 28.9298 44.4453 29.5001 44.4453 30.1993C44.4453 30.8986 43.875 31.4689 43.1758 31.4689H32.8242C32.125 31.4689 31.5547 30.8986 31.5547 30.1954C31.5547 29.4962 32.125 28.9298 32.8242 28.9298Z",fill:"url(#liveRewardsFirstPlacePaint6)"}),e.jsx("path",{d:"M38 38.3516C39.5102 38.3516 40.7344 37.1274 40.7344 35.6172C40.7344 34.1071 39.5102 32.8829 38 32.8829C36.4898 32.8829 35.2656 34.1071 35.2656 35.6172C35.2656 37.1274 36.4898 38.3516 38 38.3516Z",fill:"url(#liveRewardsFirstPlacePaint7)"}),e.jsx("path",{d:"M36.9253 37.422V36.9142L37.5659 36.8361V34.5548L36.9175 34.547V34.0665L38.4331 33.8126V36.8361L39.0737 36.9142V37.422H36.9253Z",fill:"url(#liveRewardsFirstPlacePaint8)"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint0",x1:"38.0002",y1:"40.2366",x2:"38.0002",y2:"42.7757",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE5709"}),e.jsx("stop",{offset:"0.8",stopColor:"#FDAC33"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint1",x1:"38.0002",y1:"44.9241",x2:"38.0002",y2:"42.7757",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#3D5969"}),e.jsx("stop",{offset:"1",stopColor:"#698999"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint2",x1:"38.0002",y1:"47.0726",x2:"38.0002",y2:"44.9241",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF9900"}),e.jsx("stop",{offset:"1",stopColor:"#FCD34F"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint3",x1:"38.5323",y1:"36.6841",x2:"47.2015",y2:"35.4657",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE5709"}),e.jsx("stop",{offset:"0.21",stopColor:"#E46912"}),e.jsx("stop",{offset:"0.64",stopColor:"#F69929"}),e.jsx("stop",{offset:"0.8",stopColor:"#FDAC33"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint4",x1:"37.4666",y1:"36.684",x2:"28.7973",y2:"35.4657",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE5709"}),e.jsx("stop",{offset:"0.21",stopColor:"#E46912"}),e.jsx("stop",{offset:"0.64",stopColor:"#F69929"}),e.jsx("stop",{offset:"0.8",stopColor:"#FDAC33"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint5",x1:"38",y1:"31.467",x2:"38",y2:"41.3303",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF9900"}),e.jsx("stop",{offset:"0.11",stopColor:"#FFA200"}),e.jsx("stop",{offset:"0.37",stopColor:"#FFB300"}),e.jsx("stop",{offset:"0.65",stopColor:"#FFBD00"}),e.jsx("stop",{offset:"1",stopColor:"#FFC100"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint6",x1:"38.0002",y1:"31.4669",x2:"38.0002",y2:"28.9279",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFB300"}),e.jsx("stop",{offset:"1",stopColor:"#FFDF3D"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint7",x1:"38.0002",y1:"38.3516",x2:"38.0002",y2:"32.8829",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFE187"}),e.jsx("stop",{offset:"1",stopColor:"#FFF8E0"})]}),e.jsxs("linearGradient",{id:"liveRewardsFirstPlacePaint8",x1:"37.9993",y1:"37.4228",x2:"37.9993",y2:"33.8126",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FD7600"}
6791),e.jsx("stop",{offset:"0.71",stopColor:"#FDBF30"})]}),e.jsx("clipPath",{id:"liveRewardsFirstPlaceClip",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(28 28)"})})]})]}),vK=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",viewBox:"0 0 52 52",fill:"none","aria-hidden":"true",...t,children:[e.jsx(Uc,{patternId:"liveRewardsSecondPlacePattern"}),e.jsxs("g",{clipPath:"url(#liveRewardsSecondPlaceClip)",children:[e.jsx("path",{d:"M40.4414 42.7737H35.5586L36.3398 40.2347H39.6602L40.4414 42.7737Z",fill:"#A5A5A5"}),e.jsx("path",{d:"M34.2891 42.7737H41.7109C42.1406 42.7737 42.4922 43.1253 42.4922 43.555V44.9222H33.5078V43.555C33.5078 43.1253 33.8594 42.7737 34.2891 42.7737Z",fill:"#7C7C7C"}),e.jsx("path",{d:"M33.0195 44.9222H42.9805C43.5742 44.9222 44.0547 45.4026 44.0547 45.9964C44.0547 46.5901 43.5742 47.0706 42.9805 47.0706H33.0195C32.4258 47.0706 31.9453 46.5901 31.9453 45.9964C31.9453 45.4066 32.4258 44.9222 33.0195 44.9222Z",fill:"#D8D8D8"}),e.jsx("path",{d:"M44.5071 34.0628C44.7024 34.0628 44.7571 34.1175 44.7923 34.1526C44.8352 34.1956 44.8548 34.2308 44.8665 34.2894C44.8821 34.3597 44.8977 34.512 44.8352 34.7737C44.6907 35.3948 44.2298 36.1253 43.5735 36.7816C42.6087 37.7464 41.7063 38.0901 41.2298 38.0901C41.0344 38.0901 40.9798 38.0355 40.9446 38.0003C40.9016 37.9573 40.8821 37.9222 40.8704 37.8636C40.8548 37.7933 40.8391 37.6409 40.9016 37.3792C41.0462 36.7581 41.5071 36.0276 42.1634 35.3714C43.1282 34.4066 44.0266 34.0628 44.5071 34.0628ZM44.5071 31.9144C43.2844 31.9144 41.8626 32.6331 40.6438 33.8519C38.7415 35.7542 38.0579 38.1526 39.4251 39.5198C39.9173 40.012 40.5423 40.2386 41.2259 40.2386C42.4485 40.2386 43.8704 39.5198 45.0891 38.3011C46.9915 36.3987 47.6751 34.0003 46.3079 32.6331C45.8196 32.1409 45.1946 31.9144 44.5071 31.9144Z",fill:"#A5A5A5"}),e.jsx("path",{d:"M31.492 34.0627C31.9724 34.0627 32.8709 34.4064 33.8357 35.3713C34.492 36.0275 34.9529 36.7619 35.0974 37.3791C35.1599 37.6408 35.1443 37.7932 35.1287 37.8635C35.117 37.9221 35.0974 37.9572 35.0545 38.0002C35.0193 38.0353 34.9646 38.09 34.7693 38.09C34.2888 38.09 33.3904 37.7463 32.4256 36.7814C31.7693 36.1252 31.3084 35.3947 31.1638 34.7736C31.1013 34.5119 31.117 34.3596 31.1326 34.2892C31.1443 34.2307 31.1638 34.1955 31.2068 34.1525C31.242 34.1174 31.2967 34.0627 31.492 34.0627ZM31.492 31.9142C30.8045 31.9142 30.1795 32.1408 29.6873 32.633C28.3201 34.0002 29.0037 36.3986 30.906 38.301C32.1248 39.5197 33.5467 40.2385 34.7693 40.2385C35.4568 40.2385 36.0818 40.0119 36.5701 39.5197C37.9373 38.1525 37.2537 35.7541 35.3513 33.8517C34.1365 32.633 32.7146 31.9142 31.492 31.9142Z",fill:"#A5A5A5"}),e.jsx("path",{d:"M33.6211 36.9494V35.9064C33.6211 34.9963 33.4727 34.09 33.1562 33.2346C32.9531 32.6838 32.8398 32.09 32.8398 31.465H43.1602C43.1602 32.0861 43.0469 32.6838 42.8438 33.2346C42.5273 34.0861 42.3789 34.9963 42.3789 35.9064V36.9494C42.3789 39.3674 40.418 41.3283 38 41.3283C35.582 41.3283 33.6211 39.3674 33.6211 36.9494Z",fill:"#D8D8D8"}),e.jsx("path",{d:"M32.8242 28.9298H43.1758C43.875 28.9298 44.4453 29.5001 44.4453 30.1993C44.4453 30.8986 43.875 31.4689 43.1758 31.4689H32.8242C32.125 31.4689 31.5547 30.8986 31.5547 30.1954C31.5547 29.4962 32.125 28.9298 32.8242 28.9298Z",fill:"#E5E5E5"}),e.jsx("path",{d:"M38 38.3516C39.5102 38.3516 40.7344 37.1274 40.7344 35.6172C40.7344 34.1071 39.5102 32.8829 38 32.8829C36.4898 32.8829 35.2656 34.1071 35.2656 35.6172C35.2656 37.1274 36.4898 38.3516 38 38.3516Z",fill:"#7F7F7F"}),e.jsx("path",{d:"M36.758 37.4492V36.8906L37.9221 35.6641C38.0276 35.543 38.1096 35.4414 38.1721 35.3477C38.2346 35.2539 38.2776 35.1719 38.3049 35.0977C38.3323 35.0234 38.344 34.9492 38.344 34.8789C38.344 34.7617 38.3127 34.6602 38.2502 34.582C38.1877 34.5 38.094 34.4609 37.969 34.4609C37.8323 34.4609 37.7307 34.5078 37.6643 34.6055C37.5979 34.7031 37.5666 34.832 37.5666 34.9961H36.7112L36.7073 34.9805C36.7034 34.7578 36.7502 34.5547 36.8518 34.375C36.9534 34.1953 37.1018 34.0508 37.2932 33.9453C37.4846 33.8398 37.7112 33.7852 37.969 33.7852C38.2268 33.7852 38.4494 33.832 38.6369 33.9219C38.8244 34.0117 38.9651 34.1367 39.0666 34.3008C39.1682 34.4648 39.2151 34.6562 39.2151 34.8711C39.2151 35.0195 39.1916 35.1562 39.1409 35.2812C39.0901 35.4062 39.008 35.5391 38.8908 35.6797C38.7737 35.8203 38.6213 35.9922 38.4299 36.1953L37.883 36.7734L37.8869 36.7852H38.6018L38.6369 36.4844H39.2893V37.4453L36.758 37.4492Z",fill:"#D8D8D8"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"liveRewardsSecondPlaceClip",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(28 28)"})})})]}),wK=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",viewBox:"0 0 52 52",fill:"none","aria-hidden":"true",...t,children:[e.jsx(Uc,{patternId:"liveRewardsThirdPlacePattern"}),e.jsxs("g",{clipPath:"url(#liveRewardsThirdPlaceClip)",children:[e.jsx("path",{d:"M40.4414 42.7737H35.5586L36.3398 40.2347H39.6602L40.4414 42.7737Z",fill:"url(#liveRewardsThirdPlacePaint0)"}),e.jsx("path",{d:"M34.2891 42.7737H41.7109C42.1406 42.7737 42.4922 43.1253 42.4922 43.555V44.9222H33.5078V43.5
679155C33.5078 43.1253 33.8594 42.7737 34.2891 42.7737Z",fill:"url(#liveRewardsThirdPlacePaint1)"}),e.jsx("path",{d:"M33.0195 44.9222H42.9805C43.5742 44.9222 44.0547 45.4026 44.0547 45.9964C44.0547 46.5901 43.5742 47.0706 42.9805 47.0706H33.0195C32.4258 47.0706 31.9453 46.5901 31.9453 45.9964C31.9453 45.4066 32.4258 44.9222 33.0195 44.9222Z",fill:"url(#liveRewardsThirdPlacePaint2)"}),e.jsx("path",{d:"M44.5081 34.0628C44.7034 34.0628 44.7581 34.1175 44.7932 34.1526C44.8362 34.1956 44.8557 34.2308 44.8675 34.2894C44.8831 34.3597 44.8987 34.512 44.8362 34.7737C44.6917 35.3948 44.2307 36.1253 43.5745 36.7816C42.6096 37.7464 41.7073 38.0901 41.2307 38.0901C41.0354 38.0901 40.9807 38.0355 40.9456 38.0003C40.9026 37.9573 40.8831 37.9222 40.8714 37.8636C40.8557 37.7933 40.8401 37.6409 40.9026 37.3792C41.0471 36.7581 41.5081 36.0276 42.1643 35.3714C43.1292 34.4066 44.0276 34.0628 44.5081 34.0628ZM44.5081 31.9144C43.2854 31.9144 41.8635 32.6331 40.6448 33.8519C38.7425 35.7542 38.0589 38.1526 39.426 39.5198C39.9182 40.012 40.5432 40.2386 41.2268 40.2386C42.4495 40.2386 43.8714 39.5198 45.0901 38.3011C46.9925 36.3987 47.676 34.0003 46.3089 32.6331C45.8206 32.1409 45.1956 31.9144 44.5081 31.9144Z",fill:"url(#liveRewardsThirdPlacePaint3)"}),e.jsx("path",{d:"M31.492 34.0627C31.9724 34.0627 32.8709 34.4064 33.8357 35.3713C34.492 36.0275 34.9529 36.7619 35.0974 37.3791C35.1599 37.6408 35.1443 37.7932 35.1287 37.8635C35.117 37.9221 35.0974 37.9572 35.0545 38.0002C35.0193 38.0353 34.9646 38.09 34.7693 38.09C34.2888 38.09 33.3904 37.7463 32.4256 36.7814C31.7693 36.1252 31.3084 35.3947 31.1638 34.7736C31.1013 34.5119 31.117 34.3596 31.1326 34.2892C31.1443 34.2307 31.1638 34.1955 31.2068 34.1525C31.242 34.1174 31.2967 34.0627 31.492 34.0627ZM31.492 31.9142C30.8045 31.9142 30.1795 32.1408 29.6873 32.633C28.3201 34.0002 29.0037 36.3986 30.906 38.301C32.1248 39.5197 33.5467 40.2385 34.7693 40.2385C35.4568 40.2385 36.0818 40.0119 36.5701 39.5197C37.9373 38.1525 37.2537 35.7541 35.3513 33.8517C34.1365 32.633 32.7146 31.9142 31.492 31.9142Z",fill:"url(#liveRewardsThirdPlacePaint4)"}),e.jsx("path",{d:"M33.6211 36.9494V35.9064C33.6211 34.9963 33.4727 34.09 33.1562 33.2346C32.9531 32.6838 32.8398 32.09 32.8398 31.465H43.1602C43.1602 32.0861 43.0469 32.6838 42.8438 33.2346C42.5273 34.0861 42.3789 34.9963 42.3789 35.9064V36.9494C42.3789 39.3674 40.418 41.3283 38 41.3283C35.582 41.3283 33.6211 39.3674 33.6211 36.9494Z",fill:"url(#liveRewardsThirdPlacePaint5)"}),e.jsx("path",{d:"M32.8242 28.9298H43.1758C43.875 28.9298 44.4453 29.5001 44.4453 30.1993C44.4453 30.8986 43.875 31.4689 43.1758 31.4689H32.8242C32.125 31.4689 31.5547 30.8986 31.5547 30.1954C31.5547 29.4962 32.125 28.9298 32.8242 28.9298Z",fill:"url(#liveRewardsThirdPlacePaint6)"}),e.jsx("path",{d:"M38 38.3516C39.5102 38.3516 40.7344 37.1274 40.7344 35.6172C40.7344 34.1071 39.5102 32.8829 38 32.8829C36.4898 32.8829 35.2656 34.1071 35.2656 35.6172C35.2656 37.1274 36.4898 38.3516 38 38.3516Z",fill:"url(#liveRewardsThirdPlacePaint7)"}),e.jsx("path",{d:"M37.9802 37.4727C37.7419 37.4727 37.5271 37.4297 37.3278 37.3516C37.1286 37.2696 36.9724 37.1485 36.8513 36.9922C36.7341 36.8321 36.6794 36.6407 36.6833 36.4102L36.6872 36.3946H37.5349C37.5349 36.4688 37.5544 36.5391 37.5896 36.6055C37.6247 36.668 37.6755 36.7188 37.7458 36.7579C37.8122 36.7969 37.8903 36.8165 37.9841 36.8165C38.1247 36.8165 38.238 36.7735 38.3239 36.6915C38.406 36.6094 38.4489 36.5001 38.4489 36.3712C38.4489 36.2422 38.4021 36.1251 38.3122 36.0391C38.2224 35.9532 38.0896 35.9102 37.9138 35.9102H37.5427V35.2696H37.9372C38.0349 35.2696 38.1169 35.254 38.1833 35.2149C38.2497 35.1797 38.3005 35.129 38.3356 35.0665C38.3708 35.004 38.3864 34.9297 38.3864 34.8438C38.3864 34.7227 38.3513 34.6251 38.281 34.5469C38.2106 34.4688 38.1091 34.4297 37.9802 34.4297C37.906 34.4297 37.8396 34.4454 37.781 34.4727C37.7224 34.5001 37.6755 34.543 37.6403 34.5938C37.6052 34.6446 37.5896 34.7071 37.5896 34.7774H36.7458L36.7419 34.7618C36.7341 34.5626 36.7849 34.3907 36.8903 34.2383C36.9958 34.086 37.1403 33.9727 37.3317 33.8868C37.5192 33.8047 37.7341 33.7618 37.9724 33.7618C38.3591 33.7618 38.6716 33.8516 38.906 34.0274C39.1403 34.2071 39.2575 34.4571 39.2575 34.7813C39.2575 34.961 39.2106 35.1172 39.1169 35.2422C39.0231 35.3672 38.8786 35.4805 38.6911 35.5704C38.8825 35.6407 39.0349 35.7501 39.1442 35.8907C39.2536 36.0313 39.3161 36.2071 39.3161 36.4063C39.3161 36.6251 39.2575 36.8165 39.1442 36.9766C39.0271 37.1368 38.8708 37.2579 38.6677 37.3438C38.4646 37.4297 38.238 37.4766 37.9802 37.4727Z",fill:"url(#liveRewardsThirdPlacePaint8)"})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint0",x1:"38.0002",y1:"40.2366",x2:"38.0002",y2:"42.7757",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DE3909"}),e.jsx("stop",{offset:"0.8",stopColor:"#FD8533"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint1",x1:"38.0002",y1:"44.9241",x2:"38.0002",y2:"42.7757",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#994311"}),e.jsx("stop",{offset:"1",stopColor:"#CC6C35"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint2",x1:"38.0002",y1:"47.0726",x2:"38.0002",y2:"44.9241",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF7100"}),e.jsx("stop",{offset:"1",stopColor:"#FCA543"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint3",x1:"38.5332",y1:"36.6841",x2:"47.2025",y2:"35.4657",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DA2F09"}),e.jsx("stop",{offset:"0.18",stopColor:"#E04110"}),e.jsx("stop",{offset:"0.54",stopColor:"#F07123"}),e.jsx("stop",{offset:"0.8",stopColor:"#FD9833"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint4",x1:"37.4666",y1:"36.684",x2:"28.7973",y2:"35.4657",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#DA2F09"}),e.jsx("stop",{offset:"0.18",stopColor:"#E04110"}),e.jsx("stop",{offset:"0.54",stopColor:"#F07123"}),e.jsx("stop",{offset:"0.8",stopColor:"#FD9833"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint5",x1:"38",y1:"31.467",x2:"38",y2:"41.3303",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF6300"}),e.jsx("stop",{offset:"0.09",stopColor:"#FF7100"}),e.jsx("stop",{offset:"0.29",stopColor:"#FF8800"}),e.jsx("stop",{offset:"0.49",stopColor:"#FF9900"}),e.jsx("stop",{offset:"0.72",stopColor:"#FFA300"}),e.jsx("stop",{offset:"1",stopColor:"#FFA700"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint6",x1:"38.0002",y1:"31.4669",x2:"38.0002",y2:"28.9279",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF8100"}),e.jsx("stop",{offset:"1",stopColor:"#FFC13D"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint7",x1:"38.0002",y1:"38.3516",x2:"38.0002",y2:"32.8829",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FFC68F"}),e.jsx("stop",{offset:"1",stopColor:"#FFF8E0"})]}),e.jsxs("linearGradient",{id:"liveRewardsThirdPlacePaint8",x1:"37.9992",y1:"37.4747",x2:"37.9992",y2:"33.7602",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FD6800"}),e.jsx("stop",{offset:"0.71",stopColor:"#FD8F30"})]}),e.jsx("clipPath",{id:"liveRewardsThirdPlaceClip",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(28 28)"})})]})]}),Df=({className:t})=>e.jsx("svg",{className:t,viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",fill:"
6791currentColor","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M48 336l81.2 0 20.9 41.9c6.8 13.6 20.6 22.1 35.8 22.1l140.2 0c15.1 0 29-8.6 35.8-22.1L382.8 336l81.2 0 0 80c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-80zm406.5-48l-76.6 0c-15.1 0-29 8.6-35.8 22.1L321.2 352l-130.3 0-20.9-41.9c-6.8-13.6-20.6-22.1-35.8-22.1l-76.6 0 49-195.9C108.2 85 114.6 80 122 80L390 80c7.3 0 13.7 5 15.5 12.1l49 195.9zM0 327.9L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-88.1c0-5.2-.6-10.4-1.9-15.5l-58-231.9C445 52 419.4 32 390 32L122 32C92.6 32 67 52 59.9 80.5L1.9 312.4C.6 317.4 0 322.6 0 327.9z"})}),h0=5,yK=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,children:e.jsx("path",{d:"M12.5 5L7.5 10L12.5 15",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),_K=()=>e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),NK=(t,s)=>{const a=Math.max(1,Math.min(t-Math.floor(h0/2),s-h0+1)),l=Math.max(1,a),r=Math.min(s,l+h0-1);return Array.from({length:r-l+1},(i,o)=>l+o)},Vc=({page:t,totalPages:s,onChange:a})=>s<=1?null:e.jsxs("nav",{className:"flex items-center justify-center gap-2 pb-4","data-testid":"lootbox-pagination","aria-label":"Pages",children:[e.jsx(O,{variant:"secondary",size:"sm",className:"gap-1 px-2","data-testid":"lootbox-page-prev",disabled:t<=1,onClick:()=>a(t-1),children:e.jsx(yK,{})}),NK(t,s).map(l=>e.jsx(O,{variant:l===t?"secondary-clean":"secondary",size:"icon","data-testid":`lootbox-page-${l}`,"aria-current":l===t?"page":void 0,onClick:()=>a(l),children:l},l)),e.jsx(O,{variant:"secondary",size:"sm",className:"gap-1 px-2","data-testid":"lootbox-page-next",disabled:t>=s,onClick:()=>a(t+1),children:e.jsx(_K,{})})]}),c4={left:"text-left",center:"text-center",right:"text-right"},kK={left:"justify-start",center:"justify-center",right:"justify-end"},d4="px-1 first:pl-2 last:pr-2",$f=({columns:t,rows:s,rowKey:a,page:l,totalPages:r,onPageChange:i,isLoading:o=!1,emptyTitle:d,emptySubtitle:u,testId:c})=>e.jsxs("div",{className:"flex flex-col gap-2","data-testid":c,children:[e.jsxs("table",{className:"w-full table-fixed rounded-xl bg-table-background-body",children:[e.jsx("thead",{children:e.jsx("tr",{children:t.map(x=>e.jsx("th",{scope:"col",className:g("text-sm font-medium text-brandblue-100",d4,x.widthClass??"w-1/3",c4[x.align??"left"]),children:x.header},x.key))})}),e.jsx("tbody",{children:s.length?s.map((x,p)=>e.jsx("tr",{"data-testid":`${c}-row`,className:p%2===0?"bg-[#1F232F]":"bg-[#13161E]",children:t.map(f=>e.jsx("td",{className:g("py-3 align-middle text-sm text-white",d4,c4[f.align??"left"]),children:e.jsx("span",{className:g("inline-flex w-full items-center gap-1.5",kK[f.align??"left"]),children:f.render(x)})},f.key))},a(x,p))):e.jsx("tr",{children:e.jsx("td",{colSpan:t.length,children:e.jsx("div",{className:"flex w-full flex-col items-center justify-center py-4","data-testid":`${c}-empty`,children:o?null:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex size-11 items-center justify-center rounded-full bg-highlight",children:e.jsx(Df,{className:"size-6 text-brandblue-50"})}),e.jsx("h4",{className:"pt-2 text-sm font-medium",children:d}),u?e.jsx("h4",{className:"pt-1 text-xs font-medium text-brandblue-100",children:u}):null]})})})})})]}),e.jsx(Vc,{page:l,totalPages:r,onChange:i})]}),SK=()=>{const[t,s,a]=C([oS,cS,dS]),l=Vt()===zt.WEB?uS:mS;m.useEffect(()=>{Vd({page:1,limit:l})},[l]);const r=[{key:"referral",header:n("modals.refer.table.referral"),align:"left",render:i=>e.jsx("span",{className:"truncate",children:i.referrerName})},{key:"wagered",header:n("modals.refer.table.wagered"),align:"center",render:i=>e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:U.USDT}),Xt(i.wagering)]})},{key:"profit",header:n("modals.refer.table.profit"),align:"right",render:i=>e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:U.USDT}),Xt(i.commission)]})}];return e.jsx($f,{columns:r,rows:t,rowKey:(i,o)=>`${i.referrerName}-${o}`,page:s.current,totalPages:s.total,onPageChange:i=>Vd({page:i,limit:l}),isLoading:a,emptyTitle:n("earn.referrals.no_referrals"),emptySubtitle:n("earn.referrals.share_code"),testId:"earn-referrals-table"})},u4=t=>typeof window>"u"?`/?start=${t}`:`${window.location.host}/?start=${t}`,AK=t=>Vt()===zt.TELEGRAM?{link:u4(t),labelKey:"modals.refer.tg_link"}:{link:u4(t),labelKey:"modals.refer.web_link"},LK=1500,MK=()=>{const t=C(We),[s,a]=m.useState(!1),l=(t==null?void 0:t.affiliateCode)??"",{link:r,labelKey:i}=AK(l),o=()=>{var u;X("Copy referral link",{link:r}),(u=navigator.clipboard)==null||u.writeText(r),a(!0),window.setTimeout(()=>a(!1),LK)},d=()=>
6791{if(typeof navigator.share!="function"){o();return}navigator.share({title:"@Whale - Casino & Sports",text:"Over 1000 most popular games - @whale",url:r}).catch(()=>{})};return e.jsxs("div",{className:"flex flex-col gap-6 rounded-xl bg-primary p-4 md:p-6","data-testid":"earn-share",children:[e.jsxs("div",{children:[e.jsx(_r,{children:e.jsx(JG,{className:"text-icon-active"})}),e.jsx("h4",{className:"mt-3 text-base font-semibold leading-6",children:n("modals.refer.your")}),e.jsx("div",{className:"mt-2 text-sm font-medium leading-5 text-secondary-100",children:n("referrals_description")})]}),e.jsx("div",{className:"h-px bg-highlight"}),e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("div",{className:"text-sm font-medium text-brandblue-100",children:n("modals.refer.code")}),e.jsx("div",{className:"flex h-10 grow flex-row items-center overflow-hidden rounded-lg bg-secondary p-2",children:e.jsx("span",{className:"w-full truncate text-sm font-medium text-white","data-testid":"earn-share-code",children:l})})]}),e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("div",{className:"text-sm font-medium text-brandblue-100",children:n(i)}),e.jsxs("div",{className:"flex grow flex-row items-center overflow-hidden rounded-lg bg-secondary p-2",children:[e.jsx("span",{className:"w-full truncate text-sm font-medium text-white","data-testid":"earn-share-link",children:r}),e.jsx(O,{variant:"secondary",className:"size-8 shrink-0 p-0",onClick:o,"aria-label":n("global_copy"),children:e.jsx(Mr,{className:"size-4 text-icon-inactive"})})]})]}),e.jsxs("div",{className:"flex gap-4",children:[e.jsxs(O,{className:"flex h-11 w-full items-center justify-center gap-1.5 rounded-lg bg-highlight px-4 py-2.5 text-sm font-medium text-brandblue-100",onClick:o,"data-testid":"earn-share-copy",children:[e.jsx(Mr,{className:"size-4 text-icon-inactive"}),s?n("modals.wallet.deposit.copy"):n("global_copy")]}),e.jsxs("button",{type:"button",onClick:d,className:"flex w-full items-center justify-center gap-1.5 rounded-lg bg-gradient-primary px-4 py-2.5 text-sm font-medium text-button-primary-text outline-1","data-testid":"earn-share-share",children:[e.jsx(pf,{className:"text-current"}),n("global_share")]})]})]})},BK=()=>{const[t,s]=C([tg,sg]);return m.useEffect(()=>{ag()},[]),e.jsxs("div",{className:"flex flex-col gap-3","data-testid":"earn-tribes-stats",children:[e.jsxs("div",{className:"flex flex-row gap-3 lg:flex-col",children:[e.jsxs($1,{icon:e.jsx(Ei,{className:"size-5 text-icon-active"}),title:n("modals.refer.tribes.total"),className:"w-1/2 lg:w-full",testId:"earn-tribes-wagered",children:["$",Xt(t.wagered)]}),e.jsxs($1,{icon:e.jsx(eZ,{className:"text-icon-active"}),title:n("modals.refer.tribes.claimed"),className:"w-1/2 lg:w-full",testId:"earn-tribes-claimed",children:["$",Xt(t.claimed)]})]}),e.jsx("div",{className:"w-full",children:e.jsxs($1,{icon:e.jsx(gf,{}),title:n("modals.refer.tribes.available"),className:"block-total-earned w-full sm:w-1/2 lg:w-full",testId:"earn-tribes-available",actionButton:e.jsx(O,{className:"border bg-green text-black-200",disabled:t.available===0||s,onClick:()=>ng(),"data-testid":"earn-tribes-claim",children:n("global_claim")}),children:["$",Xt(t.available)]})})]})},EK=()=>{const[t,s,a]=C([lg,rg,ig]),l=Vt()===zt.WEB?og:cg;m.useEffect(()=>{xd({page:1,limit:l})},[l]);const r=[{key:"date",header:n("modals.refer.tribes.table.date"),align:"left",widthClass:"w-1/4",render:i=>e.jsx("span",{className:"truncate",children:i.date})},{key:"players",header:n("modals.refer.tribes.table.players"),align:"left",widthClass:"w-1/4",render:i=>Xt(i.players)},{key:"wagered",header:n("modals.refer.table.wagered"),align:"left",widthClass:"w-1/4",render:i=>e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:U.USDT}),Xt(i.wagered)]})},{key:"profit",header:n("modals.refer.table.profit"),align:"left",widthClass:"w-1/4",render:i=>e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:U.USDT}),Xt(i.commission)]})}];return e.jsx($f,{columns:r,rows:t,rowKey:(i,o)=>`${i.date}-${o}`,page:s.current,totalPages:s.total,onPageChange:i=>xd({page:i,limit:l}),isLoading:a,emptyTitle:n("earn.no_tribe_session"),testId:"earn-tribes-table"})},RK=()=>e.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M24.0004 12.2182C26.7116 12.2182 28.9094 10.0203 28.9094 7.30909C28.9094 4.59789 26.7116 2.40002 24.0004 2.40002C21.2892 2.40002 19.0913 4.59789 19.0913 7.30909C19.0913 10.0203 21.2892 12.2182 24.0004 12.2182Z",fill:"#5DEC51"}),e.jsx("path",{d:"M17.2677 22.0364H30.7332C31.8933 22.0364 32.8368 21.0181 32.8368 19.766V19.137C32.8368 17.4965 32.0247 15.9979 30.7159 15.226C29.1483 14.3017 26.711 13.2001 24.0004 13.2001C21.2899 13.2001 18.8526 14.3018 17.285 15.226C15.9762 15.9978 15.1641 17.4965 15.1641 19.137V19.766C15.1641 21.0182 16.1075 22.0364 17.2677 22.0364Z",fill:"#5DEC51"}),e.jsx("path",{d:"M11.2357 35.7819C13.9469 35.7819 16.1448 33.584 16.1448 30.8728C16.1448 28.1616 13.9469 25.9637 11.235
67917 25.9637C8.52452 25.9637 6.32666 28.1616 6.32666 30.8728C6.32666 33.584 8.52452 35.7819 11.2357 35.7819Z",fill:"#5DEC51"}),e.jsx("path",{d:"M17.9517 38.7896C16.3841 37.8653 13.9468 36.7637 11.2363 36.7637C8.52572 36.7637 6.08844 37.8654 4.52082 38.7896C3.21202 39.5614 2.3999 41.06 2.3999 42.7005V43.3295C2.3999 44.5816 3.34337 45.5999 4.50351 45.5999H17.969C19.1292 45.5999 20.0726 44.5816 20.0726 43.3295V42.7005C20.0726 41.06 19.2605 39.5614 17.9517 38.7896Z",fill:"#5DEC51"}),e.jsx("path",{d:"M36.7636 35.7819C39.4748 35.7819 41.6726 33.584 41.6726 30.8728C41.6726 28.1616 39.4748 25.9637 36.7636 25.9637C34.0524 25.9637 31.8545 28.1616 31.8545 30.8728C31.8545 33.584 34.0524 35.7819 36.7636 35.7819Z",fill:"#5DEC51"}),e.jsx("path",{d:"M43.4786 38.7896C41.911 37.8653 39.4737 36.7637 36.7631 36.7637C34.0526 36.7637 31.6153 37.8654 30.0477 38.7896C28.7389 39.5614 27.9268 41.0601 27.9268 42.7006V43.3296C27.9268 44.5817 28.8702 45.6 30.0304 45.6H43.4959C44.656 45.6 45.5995 44.5817 45.5995 43.3296V42.7006C45.5994 41.06 44.7873 39.5614 43.4786 38.7896Z",fill:"#5DEC51"}),e.jsx("path",{d:"M28.9076 35.7818C29.1961 35.7818 29.4809 35.6553 29.6756 35.4136C30.014 34.9899 29.945 34.3723 29.5221 34.033L24.9813 30.4003V24.9818C24.9813 24.4391 24.5421 24 23.9994 24C23.4567 24 23.0176 24.4391 23.0176 24.9818V30.4009L18.4767 34.0329C18.0538 34.3723 17.9848 34.9898 18.3232 35.4135C18.5179 35.6552 18.8026 35.7817 19.0913 35.7817C19.306 35.7817 19.5228 35.7118 19.7039 35.567L23.9994 32.1307L28.2948 35.567C28.476 35.7118 28.6927 35.7818 28.9076 35.7818Z",fill:"#5DEC51"})]}),TK=()=>{const{openModal:t}=W();return e.jsxs("div",{"data-testid":"earn-referrals-explainer",className:"flex w-full gap-4 self-stretch rounded-2xl bg-primary p-6",style:{backgroundImage:"radial-gradient(158.07% 111.8% at 0% 0%, rgba(93, 236, 81, 0.1) 0%, rgba(26, 30, 39, 0) 100%)"},children:[e.jsxs("div",{children:[e.jsx(RK,{}),e.jsx("h3",{className:"mb-2 mt-4",children:n("referrals_explainer.title")}),e.jsx("p",{className:"mb-4 text-sm text-brandblue-100",children:n("referrals_explainer.text")}),e.jsx(O,{variant:"gradientgreen","data-testid":"earn-referrals-explainer-cta",onClick:()=>t(_e,{tab:"register"}),children:n("referrals_explainer.cta")})]}),e.jsx("img",{src:"/earn/referral-illustration.webp",alt:"",className:"hidden w-1/2 object-contain md:block",loading:"lazy",decoding:"async"})]})},IK=()=>e.jsx("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsx("path",{d:"M5.4 11.4C5.4 9.07995 7.28 7.19995 9.6 7.19995C11.92 7.19995 13.8 9.07995 13.8 11.4C13.8 13.72 11.92 15.6 9.6 15.6C7.28 15.6 5.4 13.72 5.4 11.4ZM4.8 23.22C4.04 24.06 3.6 25.18 3.6 26.4C3.6 27.62 4.04 28.74 4.8 29.58V23.22ZM15.62 19.52C13.4 21.5 12 24.38 12 27.6C12 30.18 12.9 32.54 14.4 34.38V36C14.4 37.32 13.32 38.4 12 38.4H7.2C5.88 38.4 4.8 37.32 4.8 36V34C1.96 32.6399 0 29.76 0 26.4C0 21.76 3.76 18 8.4 18H10.8C12.6 18 14.26 18.56 15.62 19.52ZM33.6 36V34.38C35.1 32.52 36 30.16 36 27.6C36 24.4 34.6 21.5 32.38 19.52C33.74 18.56 35.4 18 37.2 18H39.6C44.24 18 48 21.76 48 26.4C48 29.76 46.04 32.6399 43.2 34V36C43.2 37.32 42.12 38.4 40.8 38.4H36C34.68 38.4 33.6 37.32 33.6 36ZM34.2 11.4C34.2 9.07995 36.08 7.19995 38.4 7.19995C40.72 7.19995 42.6 9.07995 42.6 11.4C42.6 13.72 40.72 15.6 38.4 15.6C36.08 15.6 34.2 13.72 34.2 11.4ZM43.2 23.22V29.58C43.96 28.74 44.4 27.62 44.4 26.4C44.4 25.18 43.96 24.06 43.2 23.22ZM24 7.19995C26.66 7.19995 28.8 9.33995 28.8 12C28.8 14.66 26.66 16.8 24 16.8C21.34 16.8 19.2 14.66 19.2 12C19.2 9.33995 21.34 7.19995 24 7.19995ZM18 27.6C18 28.82 18.46 29.92 19.2 30.78V24.42C18.46 25.26 18 26.38 18 27.6ZM28.8 24.42V30.78C29.56 29.94 30 28.82 30 27.6C30 26.38 29.54 25.26 28.8 24.42ZM33.6 27.6C33.6 30.96 31.64 33.84 28.8 35.2V38.4C28.8 39.72 27.72 40.7999 26.4 40.7999H21.6C20.28 40.7999 19.2 39.72 19.2 38.4V35.2C16.36 33.84 14.4 30.96 14.4 27.6C14.4 22.96 18.16 19.2 22.8 19.2H25.2C29.84 19.2 33.6 22.96 33.6 27.6Z",fill:"#00FFE0"})}),FK=()=>{const{openModal:t}=W();return e.jsxs("div",{"data-testid":"earn-tribes-explainer",className:"flex w-full gap-4 self-stretch rounded-2xl bg-primary p-6",style:{backgroundImage:"radial-gradient(158.07% 111.8% at 0% 0%, rgba(0, 255, 224, 0.1) 0%, rgba(26, 30, 39, 0) 100%)"},children:[e.jsxs("div",{children:[e.jsx(IK,{}),e.jsx("h3",{className:"mb-2 mt-4",children:n("tribes_explainer.title")}),e.jsx("p",{className:"mb-4 text-sm text-brandblue-100",children:n("tribes_explainer.text")}),e.jsx(O,{variant:"gradientgreen",className:"border-[#00FFE0] bg-gradient-cyan","data-testid":"earn-tribes-explainer-cta",onClick:()=>t(_e,{tab:"register"}),children:n("tribes_explainer.cta")})]}),e.jsx("img",{src:"/earn/tribe-claim-illustration.webp",alt:"",className:"hidden w-1/2 object-contain md:block",loading:"lazy",decoding:"async"})]})},Pf=()=>Vt()===zt.OPERA_MINI_APP,Za=t=>n(Pf()?`minipay.${t}`:t),g0=t=>Pf()?void 0:n(t),ye=(t,s)=>({id:t,title:n(t),content:s}),OK=()=>e.jsx(O,{variant:"primary",size:"md",className:"px-4","data-testid":"earn-faq-support",onClick:()=>b1(),children:n("sidebar.cta.support")}),DK=t=>t==="INFLUENCER"?[ye("global_influencer_raf_faq_1_q",n("global_influencer_raf_faq_1_a")),ye("global_influencer_raf_faq_2_q",n("global_influencer_raf_faq_2_a")),ye("global_influencer_raf_faq_3_q",n("global_influencer_raf_faq_3_a")),ye("global_influencer_raf_faq_4_q",n("global_influencer_raf_faq_4_a")),ye("global_influencer_raf_faq_5_q",n("global_influencer_raf_faq_5_a")),ye("global_influencer_raf_faq_6_q",n("global_influencer_raf_faq_6_a")),ye("global_influencer_raf_faq_7_q",Za("global_influencer_raf_faq_7_a")),ye("global_influencer_raf_faq_8_q",g0("global_influencer_raf_faq_8_a")),ye("global_raf_faq_10_q",n("global_raf_faq_10_a")),ye("global_raf_faq_11_q",n("global_raf_faq_11_a")),ye("global_ambassador_raf_faq_9_q",n("global_ambassador_and_influencer_raf_faq_1_a"))]:t==="AMBASSADOR"?[ye("global_ambassador_raf_faq_1_q",n("global_ambassador_raf_faq_1_a")),ye("global_ambassador_raf_faq_2_q",n("global_ambassador_raf_faq_2_a")),ye("global_ambassador_raf_faq_3_q",Za("global_ambassador_raf_faq_3_a")),ye("global_ambassador_raf_faq_4_q",n("global_ambassador_raf_faq_4_a")),ye("global_ambassador_raf_faq_5_q",n("global_ambassador_raf_faq_5_a")),ye("global_ambassador_raf_faq_6_q",n("global_ambassador_raf_faq_6_a")),ye("global_ambassador_raf_faq_9_q",n("global_ambassador_and_influencer_raf_faq_1_a")),ye("global_ambassador_raf_faq_7_q",Za("global_ambassador_raf_faq_7_a")),ye("global_raf_faq_10_q",n("global_raf_faq_10_a")),ye("global_raf_faq_11_q",n("global_raf_faq_11_a")),ye("global_ambassador_raf_faq_8_q",g0("global_ambassador_raf_faq_8_a"))]:[{id:"global_raf_faq_1_q",title:r8(n("global_raf_faq_1_q")),content:Za("global_raf_faq_1_a")},ye("global_raf_faq_2_q",n("global_raf_faq_2_a")),ye("global_raf_faq_3_q",n("global_raf_faq_3_a")),ye("global_raf_faq_4_q",n("global_raf_faq_4_a")),ye("global_raf_faq_5_q",n("global_raf_faq_5_a")),ye("global_raf_faq_10_q",Za("global_raf_faq_10_a")),ye("global_raf_faq_11_q",Za("global_raf_faq_11_a")),ye("global_raf_faq_6_q",n("global_raf_faq_6_a")),ye("global_raf_faq_7_q",n("global_raf_faq_7_a")),ye("global_raf_faq_8_q",Za("global_raf_faq_8_a")),ye("global_raf_faq_9_q",g0("global_raf_faq_9_a"))],$K=({faqItem:t})=>{const[s,a]=m.useState(!1);return e.jsxs("div",{className:g("overflow-hidden rounded-lg bg-secondary",s&&"bg-highlight"),children:[e.jsxs("button",{type:"button","data-testid":"earn-faq-question","aria-expanded":s,onClick:()=>a(l=>!l),className:"flex w-full items-center justify-between gap-4 p-4 text-left text-sm font-medium text-white",children:[t.title,s?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),s?e.jsx("div",{className:"px-4 pb-4 text-sm font-normal tracking-[-0.01em] text-brandblue-100",children:t.content===void 0?e.jsx(OK,{}):e.jsx("p",{className:"whitespace-pre-line",dangerouslySetInnerHTML:{__html:t.content}})}):null]})},m4=({items:t,className:s})=>e.jsx("div",{className:g("flex flex-col gap-2",s),children:t.map(a=>e.jsx($K,{faqItem:a},a.id))}),PK=({rewardLevel:t})=>{const s=DK(t||"RAF"),a=Math.floor(s.length/2);return e.jsxs("div",{"data-testid":"earn-faq",className:"flex w-full flex-col gap-6 lg:flex-row",children:[e.jsx(m4,{items:s.slice(0,a),className:"mt-2 lg:w-1/2"}),e.jsx(m4,{items:s.slice(a),className:"mt-2 lg:w-1/2"})]})},HK="radial-gradient(50% 89.29% at 50% 0%, rgba(255, 197, 56, 0.16) 0%, rgba(26, 30, 39, 0) 100%), #1a1e27",UK="linear-gradient(90deg, rgba(26, 30, 39, 0) 0%, #ffc538 50%, rgba(26, 30, 39, 0) 100%)",x4="0 0 20px rgba(255, 195, 55, 0.6)",VK="url(
6791/earn/podium-bg.svg) no-repeat center center",zK="name mt-2 max-w-full truncate text-center text-xs leading-[16px] text-brandblue-100 md:text-xs md:leading-[16px] xl:text-sm xl:leading-[18px]",GK="amount text-center text-sm leading-[20px] text-white sm:text-sm sm:leading-[20px] md:text-sm md:leading-[18px] lg:text-base lg:leading-[20px]",ZK=t=>{const s=m.useRef(!1),[a,l]=m.useState(!1);return m.useEffect(()=>{t?s.current=!0:s.current&&l(!0)},[t]),a},b0=({testId:t,Avatar:s,leader:a})=>e.jsxs("div",{"data-testid":t,className:"flex w-[100px] flex-col items-center justify-center sm:w-[110px] lg:w-[80px] 2xl:w-[96px]",children:[e.jsx(s,{className:"size-full max-h-12 max-w-12"}),e.jsxs("div",{className:"flex flex-col gap-y-0.5",children:[e.jsx("div",{className:zK,children:(a==null?void 0:a.name)||"-"}),e.jsx("div",{className:GK,children:pS(a==null?void 0:a.amount)})]})]}),WK=()=>{const[t,s]=C([xS,fS]),a=ZK(s);return e.jsxs("div",{"data-testid":"live-rewards-podium",className:"absolute bottom-0 left-0 max-h-[190px] w-full rounded-[16px] p-4",style:{background:HK},children:[e.jsx("div",{className:"absolute left-0 top-0 h-px w-full",style:{background:UK}}),e.jsx("div",{className:"flex flex-col items-center justify-center gap-y-3",children:a?e.jsxs(e.Fragment,{children:[e.jsx("h4",{className:"text-sm font-semibold leading-5 text-[#FFC538] sm:text-base",style:{background:VK,textShadow:x4},children:n("live_rewards.podium.title")}),e.jsxs("div",{className:"flex items-center justify-center gap-0 sm:gap-3 md:gap-4 lg:gap-6 xl:gap-8",children:[e.jsx(b0,{testId:"live-rewards-podium-second",Avatar:vK,leader:t[1]}),e.jsx(b0,{testId:"live-rewards-podium-first",Avatar:jK,leader:t[0]}),e.jsx(b0,{testId:"live-rewards-podium-third",Avatar:wK,leader:t[2]})]})]}):e.jsx("h4",{"data-testid":"live-rewards-podium-loading",className:"text-sm font-semibold leading-5 text-[#FFC538]",style:{textShadow:x4},children:n("live_rewards.podium.loading")})})]})},KK=new Intl.NumberFormat("en-US",{minimumFractionDigits:0,maximumFractionDigits:2}),qK=1e6,YK=1e9,XK=({amount:t,currency:s})=>e.jsxs("span",{className:"flex items-center",children:[e.jsx("span",{className:"w-[20px]",children:e.jsx(we,{currency:s})}),e.jsx("span",{className:"ml-2",children:KK.format(t/(s==="BTC"?qK:YK))})]}),JK=({name:t})=>e.jsxs("span",{className:"flex items-center",children:[e.jsx(CK,{}),e.jsx("span",{className:"ml-2",children:t})]}),f4="177px",p4="w-full table-fixed border-collapse overflow-hidden rounded-xl bg-background-secondary text-sm",QK="h-[34px] truncate overflow-hidden align-middle text-left text-xs font-normal text-label-secondary xxs:px-2 sm:px-3",eq="h-[40px] w-full truncate overflow-hidden align-middle xxs:px-2 sm:px-3",tq="absolute inset-0 flex w-full flex-row items-center truncate overflow-hidden align-middle",sq="truncate overflow-hidden",C0=[{titleKey:"live_rewards.table.user",width:"xxs:w-1/3 sm:w-1/6",headerClass:"bg-primary text-left text-xs text-brandblue-50",rowClass:"justify-start text-xs font-normal text-white md:text-sm",render:({name:t})=>e.jsx(JK,{name:t})},{titleKey:"live_rewards.table.from",width:"xxs:w-1/3 sm:w-1/6",headerClass:"bg-primary text-center text-xs text-brandblue-50",rowClass:"justify-center text-center text-xs font-normal text-white md:text-sm",render:({source:t})=>e.jsx("span",{className:sq,children:n(`live_rewards_${t}`)})},{titleKey:"live_rewards.table.reward",width:"xxs:w-1/3 sm:w-1/6",headerClass:"bg-primary text-right text-xs text-brandblue-50",rowClass:"justify-end text-xs font-normal text-white md:text-sm",render:({amount:t,currency:s})=>e.jsx(XK,{amount:t,currency:s})}],aq=({rows:t})=>e.jsxs("div",{className:"mt-1 flex w-full flex-col","data-testid":"live-rewards-table",children:[e.jsx("div",{className:"sticky top-0 z-10",children:e.jsx("table",{className:p4,children:e.jsx("thead",{className:"bg-table-background-header text-table-text-header [&_tr]:border-b",children:e.jsx("tr",{className:"border-b border-primary",children:C0.map(s=>e.jsx("th",{className:g(QK,s.headerClass,s.width),children:e.jsx("span",{children:n(s.titleKey)})},s.titleKey))})})})}),e.jsx("div",{className:"w-full overflow-y-auto [scrollbar-gutter:stable] [&:not(:hover)::-webkit-scrollbar]:hidden",style:{height:f4,maxHeight:f4},children:e.jsx("table",{className:p4,children:e.jsx("tbody",{className:"table w-full table-fixed [&_tr:last-child]:border-0",children:t.length?t.map((s,a)=>e.jsx("tr",{"data-testid":"live-rewards-row",className:"border-b border-primary bg-primary even:bg-highlight",children:C0.map(l=>e.jsx("td",{className:g(eq,l.width),children:e.jsx("div",{className:"relative h-[40px]",children:e.jsx("span",{className:g(l.rowClass,tq),children:l.render(s)})})},l.titleKey))},a)):e.jsx("tr",{"data-testid":"live-rewards-empty",children:e.jsx("td",{colSpan:C0.length,width:"100%",className:"align-middle xxs:px-2 sm:px-3",children:e.jsxs("div",{className:"flex w-full flex-col items-center justify-center py-4",children:[e.jsx("div",{className:"flex size-11 items-center justify-center rounded-full bg-highlight",children:e.jsx(Df,{className:"size-6 text-brandblue-50"})}),e.jsx("h4",{className:"pt-2 text-sm font-medium",children:n("global_noRecords")})]})})})})})})]}),nq=new Intl.NumberFormat("en-us"),lq=new Intl.NumberFormat("en-us",{minimumFractionDigits:0,maximumFractionDigits:0}),rq="linear-gradient(to right, #474235 0%, #262a35 35%, #262a35 65%, #2d4738 100%)",iq=({totalWhaleTokensEarned:t,totalUSDTEarned:s})=>e.jsxs("div",{"data-testid":"live-rewards-totals",className:"mt-4 flex h-[72px] w-full items-center justify-between rounded-xl border-1 border-[#ffffff0d] px-4 py-3",style:{background:rq},children:[e.jsxs("div",{children:[e.jsx("div",{className:"pb-1 text-xs font-medium text-[#FFC538] md:text-sm",children:n("live_rewards_header_1")}),e.jsxs("div",{className:"flex items-center","data-testid":"live-rewards-total-whale",children:[e.jsx(Gt,{}),e.jsx("span",{className:"ml-2",children:nq.format(t)})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"pb-1 text-right text-xs font-medium text-[#5DEC51] md:text-sm",children:n("live_rewards_header_2")}),e.jsxs("div",{className:"flex w-full items-center justify-end","data-testid":"live-rewards-total-usdt",children:[e.jsx(hS,{width:20,height:20}),e.jsx("span",{className:"ml-2",children:lq.format(s)})]})]})]}),oq="radial-gradient(32.63% 32.63% at 0.76% 0%, rgba(93, 236, 81, 0.24) 0%, rgba(26, 30, 39, 0) 100%), #1a1e27",cq="linear-gradient(60deg, transparent, #54d149, transparent)",dq="min-w-8 rounded-md p-2 text-sm",uq=()=>{const t=m.useRef(null);return m.useEffect(()=>{const s=t.current;if(!s||typeof s.animate!="function")return;const a=s.animate([{backgroundPosition:"0% 50%"},{backgroundPosition:"100% 50%"},{backgroundPosition:"0% 50%"}],{duration:3e3,easing:"ease",direction:"alternate",iterations:1/0});return()=>a.cancel()},[]),t},mq=[{tab:zd.Live,labelKey:"live_rewards_tab_1",testId:"live-rewards-tab-live"},{tab:zd.AllTime,labelKey:"live_rewards_tab_2",testId:"live-rewards-tab-all-time"}],xq=()=>{const[t,s,a,l]=C([gS,bS,CS,jS]),r=uq();return m.useEffect(()=>(vS(),()=>wS()),[]),e.jsxs("div",{"data-testid":"live-rewards-card",className:"relative h-[512px] rounded-2xl p-4 md:p-6",style:{background:oq},children:[e.jsx("span",{ref:r,"aria-hidden":"true",className:"pointer-events-none absolute inset-0 z-[-1] rounded-2xl",style:{background:cq,backgroundSize:"300% 300%"}}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"flex w-full flex-row items-center gap-x-2.5 text-xl font-normal leading-[30px] text-white md:font-bold",children:[e.jsx("div",{className:"size-6",children:e.jsx(Y3,{className:"size-6 text-green-500 transition-transform duration-100"})}),e.jsx("span",{className:"line-clamp-1 w-full truncate",children:n("live_rewards_header")})]}),e.jsx("span",{className:"flex gap-0.5 rounded-lg bg-black-50 p-0.5","data-testid":"live-rewards-tabs",children:mq.map(({tab:i,labelKey:o,testId:d})=>e.jsx(O,{size:"sm",variant:"ghost","data-testid":d,"aria-pressed":t===i,onClick:()=>yS(i),className:g(dq,t===i?"bg-primary-active text-white":"bg-transparent text-brandblue-100"),children:n(o)},i))})]}),e.jsx(iq,{totalWhaleTokensEarned:a,totalUSDTEarned:s.totalEarnUsd}),e.jsx(aq,{rows:l}),e.jsx(WK,{})]})},fq=()=>{const[t,s]=C([te,_S]),a=ke(Se.Tribes);return Qe("meta.earn.title","meta.earn.description"),m.useEffect(()=>{NS()},[]),e.jsxs("div",{"data-testid":"earn-page",className:"flex flex-col gap-4 lg:gap-8",children:[e.jsx(pK,{}),e.jsxs("div",{className:"flex w-full flex-col justify-between gap-4 xl:flex-row xl:gap-6 custom-xl:flex-row custom-xl:gap-8",children:[e.jsx("div",{className:"flex w-full flex-col gap-4 xl:w-1/2 xl:gap-6 custom-xl:w-3/5 custom-xl:gap-8",children:e.jsxs("div",{className:"flex flex-col gap-y-4",children:[e.jsx(gK,{}),e.jsx(dK,{})]})}),e.jsx("div",{className:"flex w-full flex-col gap-4 xl:w-1/2 xl:gap-6 custom-xl:w-2/5 custom-xl:gap-8",children:e.jsx(xq,{})})]}),t?e.jsxs(e.Fragment,{children:[e.jsx(or,{title:n("modals.refer.refer-a-friend.title"),description:n("modals.refer.refer-a-friend.description"),icon:e.jsx(_r,{variant:"green",children:e.jsx(aZ,{})}),testId:"earn-refer-a-friend",children:e.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:gap-6",children:[e.jsx("div",{className:"w-full lg:w-1/3",children:e.jsx(MK,{})}),e.jsxs("div",{className:"flex w-full flex-col gap-4 lg:w-2/3 lg:gap-8",children:[e.jsx(hK,{}),e.jsx(or,{title:n("modals.refer.yourreferrals"),icon:e.jsx(_r,{children:e.jsx(hf,{className:"text-icon-active"})}),testId:"earn-your-referrals",children:e.jsx(SK,{})})]})]})}),e.jsx("div",{className:"h-px w-full bg-primary"}),a?e.jsx(or,{title:n("modals.refer.tribes.title"),description:n("modals.refer.tribes.description"),icon:e.jsx(_r,{variant:"tribes",children:e.jsx(Ei,{className:"size-5"})}),testId:"earn-tribes",children:e.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:gap-8",children:[e.jsx(BK,{}),e.jsx("div",{className:"w-full",children:e.jsx(EK,{})})]})}):null,e.jsx("div",{className:"h-px w-full bg-primary"})]}):e.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:gap-6",children:[e.jsx(TK,{}),a?e.jsx(FK,{}):null]}),e.jsx(or,{title:n("modals.refer.faq"),icon:e.jsx(nZ,{className:"size-6"}),testId:"earn-faq-section",children:e.jsx(PK,{rewardLevel:s})})]})},pq=t=>!!(t.fullscreenElement||t.webkitFullscreenElement),Hf={locked:!1,previousOverflow:""},hq=(t,s,a)=>s&&!t.locked?{next:{locked:!0,previousOverflow:a},apply:"hidden"}:!s&&t.locked?{next:Hf,apply:t.previousOverflow}:{next:t,apply:null},gq="content-container",bq=()=>{m.useEffect(()=>{const t=document.getElementById(gq);if(!t)return;let s=Hf;const a=()=>{const{next:l,apply:r}=hq(s,pq(document),t.style.overflow);s=l,r!==null&&(t.style.overflow=r)};return document.addEventListener("fullscreenchange",a),document.addEventListener("webkitfullscreenchange",a),()=>{document.removeEventListener("fullscreenchange",a),document.removeEventListener("webkitfullscreenchange",a),s.locked&&(t.style.overflow=s.previousOverflow)}},[])},Cq=284,jq="allow-top-navigation allow-scripts allow-popups allow-forms allow-pointer-lock allow-same-origin",j0="h-dvh -mb-safe-bottom",v0=()=>Vt()===zt.TELEGRAM?{height:"calc(100vh - 5rem)"}:void 0,Uf=({game:t,gameFrameUrl:s,isLoading:a,iframeRef:l,mobile:r=!1})=>{const[i,o]=m.useState(!1),d=m.useRef(!1);return m.useEffect(()=>{const u=window.setTimeout(()=>{d.current=!0,o(!0)},Cq);return()=>window.clearTimeout(u)},[]),m.useEffect(()=>()=>{d.current&&Pr(!1)},[]),a||!i?e.jsx("div",{className:g("flex flex-col items-center justify-center rounded-t-xl",r&&j0),style:v0(),"data-testid":"game-iframe-loading",children:e.jsx("div",{className:"mb-4 size-8 animate-spin rounded-full border-b-2 border-white"})}
6791):s?e.jsx("iframe",{ref:l,src:s,title:t.name,"data-testid":"game-iframe",frameBorder:"0",allowFullScreen:!0,sandbox:jq,className:g("bg-black size-full",r&&j0),style:v0()}):e.jsxs("div",{className:g("flex flex-col items-center justify-center rounded-t-xl",r&&j0),style:v0(),"data-testid":"game-iframe-failed",children:[e.jsxs("div",{className:"text-center text-white",children:[e.jsx("div",{className:"font-medium",children:"Failed to load game"}),e.jsx("div",{className:"mb-4 mt-1 text-sm text-gray-400",children:"Please try again later or contact support"})]}),e.jsx(O,{variant:"primary",onClick:()=>r?Pr(!1):window.location.reload(),children:n("global_go_back")})]})},vq=({game:t,gameFrameUrl:s,isLoading:a})=>{const l=m.useRef(null),r=Y();return bq(),e.jsxs("div",{className:"flex flex-col gap-y-6","data-testid":"game-tab",children:[e.jsx("div",{className:"w-fit rounded-[0.5rem] bg-secondary p-2",children:e.jsx(De,{to:Ve,"aria-label":n("global_go_back"),"data-testid":"game-back",onClick:i=>{i.preventDefault(),r(-1)},children:e.jsx(ve,{icon:"arrowLeft",className:"size-5"})})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("div",{className:"flex h-[45.5rem] items-center justify-center rounded-t-xl",children:e.jsx(Uf,{game:t,gameFrameUrl:s,isLoading:a,iframeRef:l})}),e.jsx("div",{className:"flex items-center justify-end rounded-b-xl bg-primary p-3 px-4",children:e.jsx("div",{className:"flex items-center gap-x-5",children:e.jsx("button",{type:"button","aria-label":"Fullscreen","data-testid":"game-fullscreen",onClick:()=>{var i,o;return(o=(i=l.current)==null?void 0:i.requestFullscreen)==null?void 0:o.call(i)},children:e.jsx(ve,{icon:"arrowDiagonal4",className:"size-5"})})})})]})]})},wq=({trend:t})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:t==="up"?"M4 12L12 4M12 4H6.66667M12 4V9.33333":"M12 4L4 12M4 12H9.33333M4 12V6.66667",stroke:t==="up"?"#6279F4":"#FF6659",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),w0=t=>t?t.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:2}):n("global_not_available"),yq=({game:t})=>{const s=C(kS);m.useEffect(()=>{SS(t.gameCode)},[t.gameCode]);const a=s[t.gameCode],l=J0(t.volatility);return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"live-rtp",children:[e.jsx("p",{className:"text-base font-semibold text-white",children:n("global_gamestats")}),e.jsxs("div",{className:"flex flex-col gap-y-[0.1rem] overflow-hidden rounded-lg",children:[a?e.jsx("div",{className:"flex items-center justify-between gap-x-2 bg-primary p-2",children:["day","week","month"].map(r=>{const i=a[r];return(i==null?void 0:i.rtp)===void 0?null:e.jsxs("div",{className:g("flex items-center gap-x-1.5",r==="day"&&"rounded-md bg-primary-active p-1"),children:[e.jsx("span",{className:"text-xs font-normal text-brandblue-100",children:n(r==="day"?"global_24h":`global_${r}`)}),e.jsx("span",{className:"text-xs font-medium text-white",children:`${i.rtp}%`}),e.jsx(wq,{trend:i.trend??(r==="day"?"up":"down")})]},r)})}):null,e.jsxs("div",{className:"flex items-center justify-between bg-primary p-2",children:[e.jsx("span",{className:"text-sm font-normal text-brandblue-100",children:n("global_volatility")}),t.volatility?e.jsx("span",{className:g("rounded-lg bg-[#54D1491A] px-[0.475rem] py-[0.175rem] text-xs font-medium text-green-500",Vm(l.band)),children:n(l.textLabel)}):e.jsx("span",{className:"text-sm font-medium text-white",children:"N/A"})]}),t.minBet&&t.maxBet?e.jsxs("div",{className:"flex items-center justify-between bg-primary p-2",children:[e.jsx("span",{className:"text-sm font-normal text-brandblue-100",children:n("global_minimum_maximum_bet")}),e.jsxs("span",{className:"text-sm font-medium text-white",children:[w0(t.minBet)," - ",w0(t.maxBet)," USDT"]})]}):null,t.maxMultiplier?e.jsxs("div",{className:"flex items-center justify-between bg-primary p-2",children:[e.jsx("span",{className:"text-sm font-normal text-brandblue-100",children:n("global_maximum_win_multiplier")}),e.jsxs("span",{className:"text-sm font-medium text-white",children:[w0(t.maxMultiplier),"x"]})]}):null]})]})},_q=({game:t})=>{const s=Y();return e.jsx("div",{className:"flex flex-col gap-y-4","data-testid":"single-slot-ui",children:e.jsxs("div",{className:"flex flex-col gap-4 overflow-hidden",children:[e.jsxs("button",{type:"button",className:"flex w-fit items-center gap-x-3","data-testid":"single-slot-back",onClick:()=>s(-1),children:[e.jsx("div",{className:"rounded-2xl bg-secondary px-2.5 py-3",children:e.jsx(ve,{icon:"arrowLeft",className:"size-5"})}),e.jsx("span",{className:"text-sm font-medium text-brandblue-100",children:n("global_go_back")})]}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("div",{className:"rounded-t-2xl bg-primary p-5",children:e.jsxs("div",{className:"flex gap-x-5",children:[e.jsx("img",{className:"bg-black rounded-xl",src:t.urlThumb,alt:t.name,width:120,height:120}),e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("h2",{className:"text-xl font-semibold text-white",children:t.name}),e.jsxs("div",{className:"flex flex-col gap-y-0.5",children:[e.jsx("span",{className:"text-xs font-medium text-[#707290]",children:n("slot.provider")}),e.jsx("span",{className:"text-sm font-medium text-white",children:t.provider})]}),e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M8.74964 11.25L17.4996 2.50004M8.85596 11.5234L11.0461 17.1551C11.239 17.6512 11.3355 17.8993 11.4745 17.9717C11.595 18.0345 11.7385 18.0346 11.8591 17.9719C11.9982 17.8997 12.0949 17.6517 12.2884 17.1558L17.7804 3.08271C17.9551 2.63506 18.0424 2.41123 17.9946 2.26821C17.9532 2.144 17.8557 2.04653 17.7315 2.00504C17.5885 1.95726 17.3646 2.0446 16.917 2.2193L2.84386 7.71125C2.34796 7.90477 2.10001 8.00153 2.02775 8.14061C1.96512 8.26119 1.9652 8.40473 2.02798 8.52523C2.1004 8.66423 2.34846 8.7607 2.84458 8.95363L8.47625 11.1437C8.57696 11.
67911829 8.62731 11.2025 8.66972 11.2327C8.7073 11.2595 8.74016 11.2924 8.76697 11.33C8.79721 11.3724 8.8168 11.4227 8.85596 11.5234Z",stroke:"#707290",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})}),e.jsx("div",{className:"rounded-b-2xl bg-[#171A22] px-5 py-4",children:e.jsx("div",{className:"flex gap-x-4",children:e.jsxs(O,{variant:"primary",size:"md",className:"flex w-full gap-x-1.5 px-4","data-testid":"single-slot-real-play",onClick:()=>Pr(!0),children:[e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M12 21.5238C17.2598 21.5238 21.5238 17.2599 21.5238 12C21.5238 6.74015 17.2598 2.4762 12 2.4762C6.74009 2.4762 2.47614 6.74015 2.47614 12C2.47614 17.2599 6.74009 21.5238 12 21.5238Z",stroke:"white",strokeWidth:"1.90477",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9.61902 9.10984C9.61902 8.65528 9.61902 8.428 9.714 8.30112C9.79679 8.19054 9.9235 8.12136 10.0613 8.11152C10.2194 8.10023 10.4106 8.22313 10.7929 8.46894L15.2887 11.3591C15.6205 11.5724 15.7864 11.679 15.8437 11.8147C15.8938 11.9331 15.8938 12.0668 15.8437 12.1854C15.7864 12.3209 15.6205 12.4276 15.2887 12.6409L10.7929 15.5311C10.4106 15.7769 10.2194 15.8998 10.0613 15.8884C9.9235 15.8786 9.79679 15.8095 9.714 15.6988C9.61902 15.572 9.61902 15.3447 9.61902 14.8902V9.10984Z",stroke:"white",strokeWidth:"1.90477",strokeLinecap:"round",strokeLinejoin:"round"})]}),e.jsx("span",{className:"text-base",children:n("slot.real_play")})]})})})]})]})})},Nq=()=>{const{openModal:t}=W(),s=()=>t(_e,{tab:"register"});return e.jsxs("div",{role:"button",tabIndex:0,"data-testid":"game-unauthenticated-stub",className:"relative h-[728px] w-full overflow-hidden rounded-xl bg-primary",onClick:s,onKeyDown:a=>{(a.key==="Enter"||a.key===" ")&&s()},children:[e.jsx("img",{src:"/game.webp",alt:"","aria-hidden":"true",className:"absolute inset-0 size-full object-cover"}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3 p-4 text-center",children:[e.jsx("div",{className:"flex items-center justify-center rounded-full bg-[#20243a] p-4",children:e.jsx(ve,{icon:"arrowRightToCircle",className:"size-8"})}),e.jsx("h2",{className:"text-xl font-semibold text-white",children:n("global_yourenotloggedin")}),e.jsx("p",{className:"max-w-xs text-sm font-medium text-brandblue-100",children:n("global_clickButtonBelowToStartPlaying")}),e.jsx(O,{variant:"primary","data-testid":"game-stub-signin",onClick:s,children:n("auth.form.btn_auth")})]})]})},kq=t=>t?t.toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]/g,""):"",Sq=t=>t?t.replace(/[_-]/g," ").replace(/&/g," & ").replace(/\s+/g," ").trim().replace(/\b\w/g,s=>s.toUpperCase()):"",Vf=t=>t?t.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim():"",zf=(t,s=160)=>t.length>s?`${t.slice(0,s-1).trimEnd()}â¦`:t,Aq=(t,{defaultTitle:s,defaultDescription:a,translate:l})=>{const r=Sq(t),i=kq(t),o=i?`cms.game_provider.${i}.description`:"",d=o?l(o):"",u=o&&d!==o?Vf(d):"",c=u&&u!==a?zf(u):"";return{title:r?`${s} | ${r}`:s,description:c||a}},Ja=(t,s)=>{if(!t)return"";const a=Ci(t),l=s(a);return l!==a?l:/\s/.test(t)?t:""}
6791,Lq=(t,s)=>{if(!t)return"";const a=Ci(t),l=s(a);return l!==a?l:t.includes("::")?"":t},Mq=(t,{defaultTitle:s,defaultDescription:a,translate:l})=>{const r=t!=null&&t.description?Ci(t.description):"",i=r?l(r):"",o=r&&i!==r?Vf(i):"",d=o&&o!==a?zf(o):"";return{title:t!=null&&t.name?`${s} | ${t.name}`:s,description:d||a}},h4="maximum-scale=1",g4=()=>{},Bq=t=>/iPhone|iPad|iPod/i.test(t.userAgent)||t.platform==="MacIntel"&&t.maxTouchPoints>1,Gf=(t,s)=>{if(!Bq(s))return g4;const a=t.querySelector('meta[name="viewport"]');if(!a||/maximum-scale\s*=/i.test(a.content))return g4;const l=a.content;return a.content=l.trim()?`${l}, ${h4}`:h4,()=>{a.content=l}},Zf=()=>{const[t]=C([ui,dg]);return m.useEffect(()=>{ug()},[t]),mg(t)},Eq=12,Rq=()=>{const{game:t=""}=as(),[s,a,l,r,i,o,d,u,c,x,p]=C([AS,LS,ct,uu,te,Je,Ps,J1,hi,ts,lc]),{isMediumBreakpointOrLarger:f}=_l(),h=Cc({isSessionResolved:o,isAuthenticated:i,isProfileLoaded:d,isSelfExcluded:u,anonymousView:"stub"});m.useEffect(()=>{!t||Ir(t)||MS(t)},[t]);const b=s[t]??void 0,v=Zf(),j=Mq(b,{defaultTitle:rt.meta.title,defaultDescription:rt.meta.description,translate:n});sn(j.title,j.description),m.useEffect(()=>{b!=null&&b.name&&X("Playing Game",{gameName:b.name})},[b==null?void 0:b.name]),m.useEffect(()=>{h!=="allowed"||!(b!=null&&b.gameCode)||T3({currency:x,gameCode:b.gameCode})},[h,b==null?void 0:b.gameCode,x]),m.useEffect(()=>Gf(document,navigator),[]);const y=m.useMemo(()=>{if(!l.length)return[];const S=new Set;for(let M=0;M<Eq;M+=1){const _=l[Math.floor(Math.random()*l.length)];_&&_.gameCode!==t&&S.add(_.gameCode)}return[...S]},[l,t]);if(Ir(t))return e.jsx(kt,{to:Xn(t)??"/",replace:!0});if(!b)return e.jsx("div",{className:"py-10 text-center text-sm text-foreground-muted","data-testid":"game-launch-missing",children:a?"":n("global_not_available")});const N=r[b.gameCode]??null,k=b.gameCode in r,w=v?Ja(b.description,n):"";return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":`game-launch-${b.gameCode}`,children:[h==="stub-auth"?e.jsx(Nq,{}):null,h==="self-excluded"?e.jsx("div",{className:"flex w-full justify-center py-10",children:c?e.jsx(gi,{until:c}):null}):null,h==="allowed"||h==="pending"?e.jsx("div",{className:"w-full",children:Vt()===zt.TELEGRAM||!f?p?e.jsx("div",{className:"size-full",children:e.jsx(Uf,{game:b,gameFrameUrl:N,isLoading:h==="pending"||!k,mobile:!0})}):e.jsx(_q,{game:b}):e.jsx("div",{className:"flex justify-between",children:e.jsx("div",{className:"flex w-full flex-col gap-y-4 sm:max-w-full md:max-w-full lg:max-w-[952px] xl:max-w-[1160px] 2xl:max-w-[1360px] 4xl:max-w-[1460px]",children:e.jsx(vq,{game:b,gameFrameUrl:N,isLoading:h==="pending"||!k})})})}):null,p?null:e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col gap-4 xl:flex-row",children:[e.jsx(yq,{game:b}),e.jsx(k2,{gameCode:b.gameCode})]}),e.jsx(qi,{type:"game",name:b.name,provider:b.provider,providerSlug:b.providerSlug,description:w,imageSrc:b.urlThumb}),i&&y.length?e.jsx(ua,{title:n("global_youMightAlsoLike"),gameCodes:y}):null]}),e.jsx(Fx,{gameCode:b.gameCode})]})},Tq=`<svg width="37" height="36" viewBox="0 0 37 36" fill="none" xmlns="http://www.w3.org/2000/svg"> 6792 <g id="Group"> 6793 <path 6794 id="Vector" 6795 d="M18.3892 0.00012207C8.46495 0.00012207 0.38916 8.07591 0.38916 18.0001C0.38916 27.9243 8.46495 36.0001 18.3892 36.0001C28.3134 36.0001 36.3892 27.9243 36.3892 18.0001C36.3892 8.07591 28.3134 0.00012207 18.3892 0.00012207ZM32.009 9.17143C33.1038 10.8138 33.8567 12.6616 34.2676 14.6465C32.4881 14.5783 30.7086 14.9203 29.1345 15.6732C28.5871 14.5783 27.9707 13.5516 27.355 12.525L32.009 9.17143ZM30.9823 7.73391L26.3284 11.1558C25.5755 10.1981 24.8226 9.30798 24.0008 8.48681C25.1646 7.18647 26.0547 5.68129 26.5332 3.96943C28.2445 4.92778 29.7503 6.22874 30.9823 7.73391ZM18.3892 1.77964C20.7161 1.77964 22.9065 2.25881 24.9592 3.14826C24.5489 4.65405 23.796 6.09157 22.7694 7.25474C20.4424 5.13323 17.7045 3.42198 14.6936 2.18992C15.8567 1.91681 17.0888 1.77964 18.3892 1.77964ZM12.024 3.07998C15.4768 4.21043 18.666 6.02597 21.4007 8.41792C19.7578 9.6506 17.7734 10.2663 15.7885 10.2663C11.2028 10.2663 6.82261 10.8821 3.26357 11.9776C4.90654 8.00702 8.05468 4.72233 12.024 3.07998ZM4.76937 26.8288C3.12702 24.2964 2.16868 21.2854 2.16868 18.0001C2.16868 16.6315 2.30523 15.3312 2.64785 14.0991C6.20688 12.7987 10.8608 12.0458 15.8567 12.0458C18.3892 12.0458 20.785 11.1558 22.7694 9.64998C23.5905 10.4718 24.2752 11.2929 24.9598 12.1824L4.76937 26.8288ZM17.226 34.2212C15.0168 34.054 12.8646 33.44 10.8998 32.4164C8.93497 31.3928 7.19842 29.9809 5.79537 28.2663L25.9169 13.5516C26.5157 14.4794 27.0642 15.4387 27.5598 16.4254C25.5066 17.7947 23.9325 19.8479 23.1107 22.2438C21.6738 27.0343 19.5523 31.209 17.2254 34.2206L17.226 34.2212ZM30.366 29.0192C27.6287 32.0308 23.7277 34.0158 19.4158 34.2206C21.5373 31.209 23.454 27.2397 24.8909 22.8595C25.5072 20.9428 26.7387 19.2322 28.3816 18.0684C29.682 21.2165 30.4349 24.7073 30.4349 28.2663C30.3666 28.4712 30.366 28.7455 30.366 29.0192ZM29.8185 17.1789C31.2561 16.4943 32.8984 16.2206 34.5414 16.3578C34.6096 16.9052 34.6096 17.4527 34.6096 18.0001C34.6093 21.1105 33.7059 24.1538 32.009 26.7605C31.8751 23.459 31.1325 20.2107 29.8185 17.1789Z" 6796 fill="#9092B2" 6797 /> 6798 </g> 6799</svg> 6800`,Iq=`<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6801 <g id="Icons"> 6802 <g id="Vector"> 6803 <path 6804 d="M12.2029 13.3291L12.2231 13.3363C13.6062 13.7899 14.8515 14.0772 15.9597 14.1982C16.052 13.9649 16.1466 13.7374 16.2418 13.5185C17.3031 11.0748 19.329 7.706 21.7135 6.36178C22.0073 6.19535 22.3241 6.07307 22.6536 5.9989C22.475 5.84278 22.2874 5.69733 22.0916 5.56331C18.3795 3.03614 12.301 1.36432 9.9923 2.23119C9.33142 2.47958 8.82494 3.08222 8.65539 3.98868C8.28238 6.50002 8.3668 8.52751 8.90791 10.0697C9.47572 11.6854 10.5745 12.7719 12.2029 13.3291Z"
6805 fill="#9092B2" 6806 /> 6807 <path 6808 d="M14.0167 23.2729L14.5325 22.5572C14.6696 22.3671 14.8312 22.2052 15.0109 22.0727C14.4459 20.1013 14.7901 17.7722 15.4286 15.7072C14.4698 15.5791 13.4352 15.3465 12.3248 15.0103C12.4171 15.4696 12.4474 15.9311 12.4157 16.3927C12.3457 17.4172 11.9691 18.4266 11.2859 19.4195C11.042 19.7759 10.5543 19.8673 10.1971 19.624C9.84 19.3806 9.74837 18.8939 9.99223 18.5375C10.5139 17.7801 10.7996 17.0277 10.8501 16.2825C11.029 13.656 8.52113 13.6963 7.42736 10.5838C6.87831 9.02066 6.72752 7.07885 6.97427 4.75975C6.42883 4.75759 5.89854 4.94551 5.49956 5.42862C3.0862 8.36043 2.20599 17.8182 5.35887 20.9819L14.0167 23.2729ZM3.45054 28.2855L9.53193 29.868C9.5882 29.5498 9.71446 29.2402 9.91503 28.9616L11.845 26.2839L4.47433 24.3666L3.45054 28.2855ZM13.4489 24.0599L5.73837 22.0532C5.39855 21.9647 5.04863 22.1699 4.95989 22.509L4.87115 22.8481L12.8298 24.9195L13.4489 24.0599ZM9.93668 31.596L3.05373 29.8047L2.96499 30.1438C2.87624 30.4829 3.08187 30.8321 3.42169 30.9207L11.8811 33.1217L10.4244 32.0762C10.2379 31.9423 10.0734 31.7803 9.93668 31.596ZM37.9288 13.8403C34.8553 9.39938 28.1282 4.89871 26.7025 6.86501C25.3137 8.07315 25.8714 11.2807 23.6521 15.4502C23.4984 15.8548 23.0446 16.0586 22.6391 15.9052C22.2336 15.7519 22.0295 15.299 22.1831 14.8944C22.9219 12.9302 24.191 9.77377 24.2199 7.69876C23.6853 7.46044 23.0828 7.42084 22.4991 7.74916C19.189 9.61538 14.9532 18.1214 16.7525 22.2066L27.6426 30.0934C32.939 28.5864 41.9835 19.6981 37.9288 13.8403ZM19.9278 33.1361C20.466 33.0482 20.971 32.7573 21.3123 32.2843C21.6543 31.8106 21.7704 31.2396 21.6839 30.7032C21.5958 30.1668 21.3036 29.6635 20.8282 29.3223L14.7627 24.9678L12.2786 28.4129L18.3434 32.7674C18.8181 33.108 19.3896 33.2239 19.9278 33.1361Z" 6809 fill="#9092B2" 6810 /> 6811 <path 6812 d="M26.6066 30.442L16.7201 23.3436C16.4351 23.1391 16.0347 23.2039 15.8291 23.4883L15.6812 23.6935L21.746 28.048C22.5706 28.6398 23.0778 29.5161 23.2308 30.4492L23.2315 30.4535C23.3838 31.3866 23.1817 32.378 22.5887 33.201C21.9942 34.0254 21.1161 34.533 20.1811 34.6849C19.2453 34.8375 18.2518 34.6345 17.425 34.0419L11.3602 29.6874L11.2123 29.8933C11.0074 30.1777 11.0724 30.578 11.3573 30.7825L21.2438 37.8809C21.5288 38.0854 21.9292 38.0199 22.1349 37.7355L26.7516 31.3312C26.9573 31.0468 26.8916 30.6464 26.6066 30.442Z" 6813 fill="#9092B2" 6814 /> 6815 </g> 6816 </g> 6817</svg> 6818`,Fq=`<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6819 <g id="Icons" clip-path="url(#clip0_11763_1591)"> 6820 <g id="Vector"> 6821 <path 6822 d="M5.54956 19.1384L4.35545 18.6073H13.4073C13.7782 18.6073 14.1133 18.3992 14.2589 18.0785L15.0218 16.3979L6.23039 16.397C4.75095 16.397 3.41351 17.2244 2.82824 18.5022L0.427757 23.805C-0.0921543 24.9538 0.804004 26.229 2.13181 26.229H9.94736C10.3183 26.229 10.6535 26.0209 10.7991 25.7002L11.5761 23.9887H3.35014L5.54956 19.1384Z" 6823 fill="#9092B2" 6824 /> 6825 <path 6826 d="M30.7626 16.397C29.2755 16.397 27.9328 17.2332 27.3525 18.5209L26.6882 19.9942C26.1697 21.1428 27.0662 22.4164 28.393 22.4164H34.6312L33.9176 23.9887H25.4912C25.1209 23.9887 24.7864 24.1959 24.6404 24.5158L23.8574 26.2291H33.3728C34.8566 26.2291 36.1969 25.3966 36.7792 24.1133L37.4766 22.5765C37.9982 21.4277 37.1017 20.1512 35.7736 20.1512H29.5413L29.9988 19.139L28.8342 18.6076H38.6657C39.0373 18.6076 39.3728 18.3989 39.5181 18.0775L40.2776 16.3973L30.7626 16.397Z" 6827 fill="#9092B2" 6828 /> 6829 <path 6830 d="M27.9989 14.1565C27.9906 14.1565 27.9836 14.15 27.9836 14.1422C27.9843 14.0879 27.9859 13.8957 27.9863 13.8595C27.9863 13.8096 27.9491 13.7693 27.9027 13.7693C27.8758 13.7693 27.8518 13.7831 27.8363 13.8043C27.8283 13.8149 27.7331 13.9456 27.6744 14.0258C27.6711 14.0302 27.6661 14.0327 27.6604 14.0327H23.0214C23.0032 14.0327 22.9882 14.0189 22.9879 14.0018L22.9786 13.8838C22.9783 13.8639 22.9975 13.8483 23.0184 13.852L23.2556 13.8732C23.2762 13.8748 23.2948 13.8623 23.2997 13.8436L23.4726 13.1843C23.4763 13.169 23.4673 13.1534 23.4518 13.1481L23.2912 13.0916C23.2819 13.0882 23.2748 13.081 23.2725 13.072C23.2433 12.9571 23.0058 12.1896 21.8608 12.018C21.3037 11.9346 20.9388 12.1584 20.744 12.3368C20.6574 12.4161 20.5861 12.5088 20.5303 12.6099L20.462 12.7515C20.4561 12.7624 20.4294 12.8954 20.4294 12.9075L20.4657 13.5618C20.4657 13.5843 20.4769 13.6052 20.4955 13.6189L20.7467 13.721L20.608 13.9372C20.6033 13.9531 20.5881 13.964 20.5705 13.964C20.5705 13.964 20.2752 13.9712 20.1295 13.9768C19.8565 13.9871 19.2483 14.3007 18.8001 15.2024C18.3597 16.088 18.2875 16.2355 18.2875 16.2355C18.2782 16.2524 18.2592 16.263 18.239 16.2621L17.83 16.2633C17.8047 16.2633 17.7779 16.2823 17.7672 16.3039L17.1312 17.9991C17.1206 18.0206 17.1269 18.0531 17.1434 18.0712L17.5874 18.3323C17.5997 18.342 17.605 18.3573 17.6013 18.3716L17.3694 19.0159C17.3664 19.0303 17.3608 19.0443 17.3528 19.0571L17.0452 19.3121C17.0373 19.3186 17.03 19.3267 17.0257 19.3358C17.0233 19.3408 17.0214 19.3461 17.0197 19.3514L16.5963 20.372C16.5907 20.3901 16.5731 20.4023 16.5532 20.4023L16.3156 20.4035C16.2559 20.4035 16.2062 20.4469 16.2009 20.5027L16.0588 22.0282C16.0562 22.055 16.0525 22.0819 16.0476 22.1087L15.9355 22.714C15.9311 22.7281 15.9228 22.7405 15.9118 22.7509L15.5164 23.0351C15.3352 23.198 15.0924 23.4953 14.9736 23.7028L13.6564 26.3185C13.6245 26.374 13.599 26.4698 13.6006 26.5332L13.6942 26.6901C13.6955 26.7463 13.6716 26.994 13.6441 27.0439L13.2028 27.7697C13.1929 27.7875 13.1922 27.8084 13.2009 27.8267L13.2227 27.8739L13.2888 27.9977L14.6282 27.9997C14.7112 28.0068 14.803 27.9067 14.8057 27.7994L14.8784 26.935L14.8594 26.8049L17.4132 23.9836C17.4799 23.9072 17.5705 23.7724 17.6159 23.6832L18.8329 21.157C18.8472 21.1293 18.8727 21.108 18.9039 21.0983L18.9809 21.075C19.0276 21.0606 19.0788 21.0747 19.1103 21.1102C19.2168 21.2307 19.4673 21.6309 19.5894 21.7979C19.6902 21.9365 20.1909 22.6182 20.4095 22.8429C20.47 22.9046 20.6561 22.9749 20.7394 23.0226C20.7666 23.0382 20.7755 23.0713 20.7599 23.0972L20.0306 24.3028L19.7085 25.7265C19.6973 25.7597 19.6886 25.7939 19.6833 25.8283L19.3917 26.817C19.3936 26.9419 19.2918 27.0074 19.2835 27.1547L19.1773 27.87
683073C19.176 27.8995 19.1948 27.9182 19.2185 27.9182L21.0203 27.9276C21.0227 27.9276 21.1488 27.926 21.2224 27.9232C21.2364 27.9226 21.2603 27.9204 21.2759 27.9185C21.5161 27.8898 21.6803 27.8589 21.7921 27.8234C21.7971 27.8218 21.8021 27.8202 21.807 27.8183C21.8847 27.7925 21.9351 27.7637 21.9676 27.732C22.029 27.6717 22.1 27.5977 22.1106 27.5026C22.111 27.4988 22.1113 27.4954 22.1117 27.4916C22.1117 27.4895 22.1117 27.4869 22.1119 27.4848C22.1119 27.4795 22.1119 27.4745 22.1119 27.4692C22.1119 27.4686 22.1119 27.4676 22.1119 27.467C22.1119 27.4623 22.1113 27.4576 22.1106 27.4533C22.1083 27.4343 22.1037 27.4199 22.0984 27.4083C22.0984 27.408 22.0987 27.4086 22.0984 27.4083C22.0967 27.4046 22.0941 27.4002 22.092 27.3971C22.0907 27.3952 22.0897 27.3934 22.0881 27.3915C22.0778 27.3781 22.0678 27.3731 22.0665 27.3724C22.0615 27.3697 22.0562 27.3672 22.0506 27.3653L21.2138 27.1278C21.1601 27.1122 21.1133 27.081 21.0801 27.0386L20.8554 26.726C20.8445 26.7042 20.8495 26.6779 20.8677 26.6611L21.3054 26.2551C21.3203 26.2417 21.3319 26.2252 21.3396 26.2071L22.6876 23.2151C22.7506 23.0251 22.7298 22.8114 22.6876 22.5855C22.6564 22.4185 22.2022 21.7012 22.0834 21.503C21.9789 21.3283 21.3273 20.2559 21.1727 20.0019C21.1551 19.9732 21.1322 19.9476 21.1033 19.9289C21.0827 19.9155 21.0625 19.8983 21.0459 19.8802C21.0294 19.8621 21.0174 19.8409 21.0107 19.8178L20.9593 19.0731C20.9547 19.0568 20.9666 19.0406 20.9845 19.0393L21.2191 19.0209C21.2414 19.0191 21.2613 19.0069 21.2716 18.9885L22.0838 17.5523C22.095 17.5326 22.0944 17.5086 22.0821 17.4895L21.9159 17.2958C21.9046 17.278 21.9043 17.2555 21.9152 17.2374L22.164 16.9844C22.1743 16.9669 22.1976 16.961 22.2161 16.9707L22.8778 17.3217C22.9179 17.3429 22.9633 17.3554 23.0094 17.3554C23.193 17.3541 23.4952 17.2521 23.6524 17.1616C23.6939 17.1376 23.7281 17.1036 23.7506 17.063L24.0752 16.3494C24.0795 16.3404 24.0937 16.3416 24.0957 16.3513L24.1863 16.7482C24.1923 16.7731 24.2155 16.7872 24.2421 16.7816L25.1976 16.5816C25.2228 16.5763 25.2384 16.5529 25.233 16.5291L25.0078 15.6333C25.0048 15.6212 25.0071 15.6084 25.0144 15.5978L25.1074 15.462C25.119 15.4452 25.1276 15.4268 25.1329 15.4077L25.2454 14.9244C25.2483 14.9119 25.26 14.9029 25.2736 14.9029L27.9169 14.906C27.9541 14.906 27.9829 14.8792 27.9829 14.8439V14.4214C27.9829 14.4136 27.9899 14.4071 27.9982 14.4071H29.0174C29.0354 14.4071 29.0503 14.3934 29.0503 14.3762V14.1859C29.0503 14.169 29.0357 14.155 29.0174 14.155L27.9989 14.1565Z" 6831 fill="#9092B2" 6832 /> 6833 </g> 6834 </g> 6835 <defs> 6836 <clipPath id="clip0_11763_1591"> 6837 <rect width="40" height="40" fill="white" transform="translate(0.277832)" /> 6838 </clipPath> 6839 </defs> 6840</svg> 6841`,Oq=`<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6842 <g id="Icons"> 6843 <path 6844 id="path2430"
6845 d="M16.8016 37.5599L16.2818 37.1137L15.58 37.0554C14.7035 36.9825 14.295 36.9015 13.8004 36.7026L13.4119 36.5464L12.9975 36.7136C12.643 36.8566 11.7753 36.9881 11.1174 36.9986C11.0819 36.9992 11.021 36.9144 10.982 36.8103C10.943 36.7061 10.8673 36.604 10.8137 36.5833C10.7602 36.5625 10.3624 36.6531 9.92987 36.7846L9.14337 37.0235L8.86111 36.8852C8.5036 36.7101 8.35077 36.7118 7.75401 36.8974C7.30031 37.0385 7.246 37.0426 6.87696 36.9627C6.33543 36.8456 5.87868 36.8542 4.85657 37.0005C3.73902 37.1606 3.71722 37.1596 3.38881 36.9352C3.16824 36.7845 3.04639 36.7469 2.7792 36.7469C2.47525 36.7469 2.44174 36.7328 2.40596 36.589C2.38335 36.4981 2.41085 36.3197 2.47066 36.1689C2.63669 35.7505 2.70332 34.7285 2.72329 32.2937L2.74194 30.0197L3.05518 30.0408L3.36842 30.0619L3.41602 28.7459C3.4422 28.0221 3.46653 26.98 3.47008 26.4301L3.47653 25.4302L3.30911 25.3072C2.85052 24.9702 2.87269 25.0194 2.68223 23.9188C2.58354 23.3486 2.48535 22.5117 2.46403 22.059C2.42613 21.2545 2.42864 21.232 2.57502 21.0634L2.72478 20.8909L3.09831 21.2146C3.30375 21.3926 3.48193 21.5077 3.49427 21.4704C3.55025 21.301 3.38352 19.2604 3.29285 19.0052C3.23883 18.8532 3.19463 18.6442 3.19463 18.5407C3.19463 18.4373 3.09222 18.1561 2.96706 17.916L2.7395 17.4793L2.81527 16.7023C2.91553 15.6742 2.78867 14.9188 2.36273 14.0073L2.17087 13.5967L2.29265 12.5785L2.41444 11.5603L2.28281 11.0309L2.15119 10.5016L2.30486 9.91062L2.45853 9.31962L2.28316 8.74316L2.10778 8.1667L2.32231 7.56552C2.53264 6.97612 2.53677 6.94516 2.53329 5.98527C2.52939 4.90523 2.41426 4.20257 2.19523 3.92182C2.00445 3.67727 2.0349 3.50888 2.31758 3.24517C2.4554 3.11659 2.56816 2.95569 2.56816 2.88761C2.56816 2.78102 2.61385 2.76314 2.89706 2.75887C3.07795 2.75616 3.63471 2.70641 4.13432 2.64833L5.04269 2.54274L6.23296 2.71748C7.42187 2.89201 7.42511 2.89213 9.05354 2.82221L10.6838 2.75221L11.0709 2.98471L11.458 3.2172L13.0428 3.19365L14.6275 3.17011L15.16 2.97582C15.4529 2.86896 15.9181 2.67923 16.1937 2.55419C16.4693 2.42916 16.9634 2.25485 17.2915 2.16685L17.8881 2.00684L18.6586 2.2529L19.429 2.49896L20.0944 2.27428L20.7599 2.0496L21.475 2.28693C21.8684 2.41746 22.6026 2.73809 23.1067 2.99945L24.0231 3.47464L24.9849 3.44517C25.7116 3.4229 25.9598 3.39434 26.0003 3.32834C26.0297 3.28029 26.1187 3.00248 26.1981 2.71098L26.3424 2.18099L27.2507 2.21196C27.9287 2.23508 28.5373 2.30975 29.6503 2.50637L31.1415 2.76981L31.5297 2.61367C31.7432 2.5278 32.1454 2.4263 32.4236 2.38812C32.8953 2.32338 32.9754 2.33051 33.6139 2.49389C34.2134 2.64731 34.4152 2.66894 35.2381 2.66798C35.7549 2.66738 36.2937 2.64637 36.4353 2.62128C36.6797 2.57798 36.7195 2.5951 37.2165 2.95701C37.5046 3.16676 37.7608 3.3718 37.7858 3.41265C37.8107 3.45351 37.8628 3.67536 37.9014 3.90565L37.9714 4.32437L37.6541 4.92321C37.4796 5.25257 37.3368 5.55065 37.3368 5.58561C37.3368 5.62056 37.4061 5.68102 37.4909 5.71995C37.5756 5.75888 37.7209 5.90651 37.8138 6.04802L37.9827 6.3053L37.9416 9.76152C37.9191 11.6624 37.8823 13.3567 37.8601 13.5265L37.8197 13.8353L37.3029 13.7985L36.7861 13.7617L36.7438 14.0467C36.7205 14.2035 36.7014 14.492 36.7014 14.688C36.7014 14.9783 36.6565 15.1318 36.459 15.5163L36.2167 15.9881L36.3507 16.1821C36.4244 16.2887 36.681 16.5818 36.9208 16.8334L37.3568 17.2907L37.2246 17.7808L37.0925 18.271L37.2496 19.3132C37.4379 20.5625 37.4223 20.8784 37.1185 21.9629C36.9974 22.3953 36.8983 22.7981 36.8983 22.858C36.8983 22.9705 36.9828 22.9993 37.5404 23.0764C37.7894 23.1108 37.8381 23.1395 37.8387 23.2525C37.8392 23.3267 37.8799 24.9223 37.9292 26.7984C38.0914 32.9619 38.1065 34.3072 38.0288 35.7036C37.9883 36.4325 37.9445 37.0396 37.9315 37.0527C37.9183 37.0659 37.42 36.8654 36.8237 36.6073L35.7395 36.1381L35.2707 36.3436C34.7895 36.5546 34.7413 36.609 34.6759 37.0136C34.6327 37.2819 34.6642 37.2688 33.4749 37.514L32.7767 37.658L32.0967 37.428C31.4661 37.2146 31.3781 37.2004 30.8842 37.2323C30.5116 37.2564 30.2581 37.2391 30.0398 37.1743C29.728 37.0819 29.7276 37.082 29.2026 37.3254L28.6773 37.569L26.7268 37.5673C24.6726 37.5655 24.2503 37.5973 22.8342 37.8611C21.8574 38.043 21.5139 38.0393 19.8018 37.8285L18.8994 37.7174L18.267 37.8625C17.9192 37.9423 17.5641 38.0072 17.478 38.0068C17.3754 38.0063 17.142 37.8522 16.8016 37.5599ZM13.0011 31.9796C14.5083 31.4073 15.7504 30.93 15.7614 30.9189C15.781 30.8992 9.8842 25.1319 9.10219 24.4059C8.8823 24.2018 8.68957 24.0477 8.6739 24.0635C8.65823 24.0793 8.17895 25.3691 7.60883 26.9297C6.98087 28.6486 6.5918 29.799 6.62187 29.848C6.65979 29.9098 10.2092 33.0102 10.2515 33.0184C10.2565 33.0194 11.4938 32.5519 13.0011 31.9796Z
6845M33.2675 28.8197C34.051 26.9089 34.6739 25.3271 34.6518 25.3046C34.6215 25.2737 19.9088 15.2548 9.60508 8.24852L8.7799 7.68742L7.42698 8.30148C6.68288 8.63922 6.08394 8.94542 6.09602 8.98193C6.1081 9.01845 11.0913 14.2841 17.1699 20.6834L28.2218 32.3185L30.0324 32.3061L31.8431 32.2937L33.2675 28.8197ZM31.2262 12.4004C31.486 10.9463 31.6986 9.70814 31.6986 9.64895C31.6986 9.58166 31.3186 9.27159 30.6843 8.82133C30.1265 8.42533 29.634 8.07909 29.59 8.05191C29.5099 8.00247 23.7389 9.57561 23.7464 9.64484C23.7515 9.69111 30.712 15.0863 30.7358 15.0623C30.7457 15.0523 30.9664 13.8544 31.2262 12.4004Z" 6846 fill="#9092B2" 6847 /> 6848 </g> 6849</svg> 6850`,Dq=`<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6851 <path 6852 d="M20.5714 2C10.6467 2 2.57141 10.0753 2.57141 20C2.57141 29.9247 10.6467 38 20.5714 38C30.4962 38 38.5714 29.9247 38.5714 20C38.5714 10.0753 30.4962 2 20.5714 2ZM21.7144 7.84775L26.3427 5.35925C28.9054 6.374 31.1419 8.03675 32.8429 10.1517L31.7404 15.2413L28.2102 16.9715L21.7144 12.2397V7.84775ZM14.8384 5.34575L19.4667 7.84325V12.2397L12.9754 16.9715L9.42716 15.239L8.32466 10.118C10.0302 8.0075 12.2712 6.35375 14.8384 5.34575ZM7.58891 28.8965C6.11966 26.759 5.16341 24.2458 4.90016 21.53L8.70941 17.3923L12.1834 19.091L14.8002 26.5228L12.5884 29.1732L7.58891 28.8965ZM24.5832 35.2122C23.2984 35.552 21.9597 35.75 20.5714 35.75C18.8929 35.75 17.2774 35.48 15.7587 34.9917L14.3434 30.5863L16.6002 27.875H24.5517L26.7679 30.4985L24.5832 35.2122ZM28.5229 29.0968L26.3472 26.5205L28.9999 19.091L32.4582 17.3967L36.2449 21.5322C36.0177 23.8745 35.2639 26.0592 34.1187 27.992L28.5229 29.0968Z" 6853 fill="#707290" 6854 /> 6855</svg> 6856`,$q=`<svg width="31" height="36" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"> 6857 <g id="Group"> 6858 <path 6859 id="Vector" 6860 d="M30.2073 1.91265C30.2566 1.78608 30.2917 1.66655 30.2987 1.53999C30.355 0.963429 30.0527 0.393897 29.5113 0.133741C28.8152 -0.196728 27.9784 0.0985848 27.6409 0.80171L22.6206 11.4822L25.7847 13.0361L30.2073 1.91265ZM0.851876 31.0923L0.655001 33.0048C0.493283 34.5587 1.71672 35.9158 3.27766 35.9228L4.04406 35.965L4.78235 28.8
6860072L3.58 28.7298C2.18781 28.6736 0.999532 29.7072 0.851876 31.0923ZM22.2972 12.1783L15.1886 27.2814C14.6472 28.4345 13.4589 29.1587 12.1792 29.1095L11.4198 29.0814L10.7097 36.0001H11.7925C14.7316 36.0001 17.3753 34.2072 18.4581 31.4791L25.5034 13.7462L22.2972 12.1783ZM4.81047 36.0001H9.93625L10.6534 29.0533L5.54875 28.8494L4.81047 36.0001ZM21.8542 32.7587V33.9541C21.8542 35.0861 23.8581 35.9931 26.3331 35.9931C28.8011 35.9931 30.805 35.0791 30.805 33.9541V32.7587C29.8347 33.6025 28.0769 34.0314 26.3331 34.0314C24.5823 34.0384 22.8245 33.6025 21.8542 32.7587Z" 6861 fill="#9092B2" 6862 /> 6863 <path 6864 id="Vector_2" 6865 d="M26.3264 29.1868C23.8584 29.1868 21.8545 30.1008 21.8545 31.2258C21.8545 32.3579 23.8584 33.2649 26.3264 33.2649C28.7943 33.2649 30.8053 32.3508 30.8053 31.2258C30.8053 30.1008 28.7943 29.1868 26.3264 29.1868Z" 6866 fill="#AAD8FF" 6867 /> 6868 </g> 6869</svg> 6870`,Pq=`<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6871 <path 6872 d="M20.3216 13.467V17.9007H22.3158V13.467C23.2402 13.0768 23.8906 12.1611 23.8906 11.0963C23.8906 9.67815 22.7369 8.52441 21.3187 8.52441C19.9005 8.52441 18.7468 9.67815 18.7468 11.0963C18.7468 12.1611 19.3973 13.0768 20.3216 13.467Z" 6873 fill="#707290" 6874 /> 6875 <path 6876 d="M5.85745 19.8948C4.75288 19.8948 3.85745 20.7902 3.85745 21.8948V35.0001C3.85745 36.1046 4.75288 37.0001 5.85745 37.0001H35.8574C36.962 37.0001 37.8574 36.1046 37.8574 35.0001V21.8948C37.8574 20.7902 36.962 19.8948 35.8574 19.8948H5.85745ZM13.5737 32.8298H9.19887V24.0428H11.193V30.8357H13.5736L13.5737 32.8298ZM17.5742 32.7717H15.5801V23.979H17.5742V32.7717ZM23.505 32.632H21.7741L18.7829 23.9661H20.8907L22.6196 28.9714L24.2814 23.9661H26.4297L23.505 32.632ZM32.516 26.0041H29.6775V27.3783H32.3067V29.3724H29.6775V30.7465H32.516V32.7407H27.6834V24.01H32.516L32.516 26.0041Z" 6877 fill="#707290" 6878 /> 6879 <path 6880 d="M24.5671 15.2074L25.9772 16.6174L26.6822 15.9123C29.3377 13.2567 29.3377 8.93567 26.6822 6.28001L25.9772 5.57495L24.5671 6.985L25.2721 7.69006C27.1502 9.5682 27.1502 12.6241 25.2721 14.5023L24.5671 15.2074Z" 6881 fill="#707290" 6882 /> 6883 <path 6884 d="M15.9557 15.9125L16.6607 16.6175L18.0708 15.2075L17.3658 14.5025C16.4559 13.5926 15.9549 12.383 15.9549 11.0964C15.9549 9.80974 16.4559 8.60003 17.3658 7.69024L18.0708 6.98525L16.6607 5.5752L15.9557 6.28025C14.6693 7.56674 13.9608 9.27711 13.9608 11.0964C13.9608 12.9156 14.6693 14.626 15.9557 15.9125Z" 6885 fill="#707290" 6886 /> 6887 <path 6888 d="M28.527 17.0773L27.822 17.7823L29.232 19.1924L29.9369 18.4873C34.0124 14.4118 34.0124 7.78054 29.9369 3.70506L29.232 3L27.8219 4.41005L28.5269 5.11505C31.8249 8.41315 31.8249 13.7793 28.527 17.0773Z" 6889 fill="#707290" 6890 /> 6891 <path 6892 d="M13.4053 19.1924L14.8153 17.7823L14.1103 17.0773C12.5127 15.4796 11.6328 13.3555 11.6328 11.0962C11.6328 8.83683 12.5127 6.71275 14.1103 5.11511L14.8153 4.41012L13.4053 3L12.7003 3.70506C10.726 5.67932 9.6387 8.3042 9.6387 11.0962C9.6387 13.8882 10.726 16.5131 12.7003 18.4873L13.4053 19.1924Z" 6893 fill="#707290" 6894 /> 6895</svg> 6896`,Hq=`<svg width="29" height="36" viewBox="0 0 29 36" fill="none" xmlns="http://www.w3.org/2000/svg"> 6897 <g id="Group"> 6898 <g id="Group_2"> 6899 <path 6900 id="Vector" 6901 d="M4.83106 34C4.83106 35.1 5.73106 36 6.83106 36H22.8311C23.9311 36 24.8311 35.1 24.8311 34V28H4.83106V34ZM26.8311 8C25.7311 8 24.8311 8.9 24.8311 10V4C24.8311 1.8 23.0311 0 20.8311 0H4.83106C2.63105 0 0.831055 1.8 0.831055 4V15.6C0.831055 15.86 0.851055 16.12 0.911055 16.38L2.51106 24.38C2.69106 25.32 3.51106 25.98 4.47106 25.98H25.1911C26.0911 25.98 26.9711 25.26 27.1511 24.38L28.7511 16.38C28.8111 16.12 28.8311 15.86 28.8311 15.6V10C28.8311 8.9 27.9311 8 26.8311 8ZM20.8311 14H4.83106V8H20.8311V14Z" 6902 fill="#9092B2" 6903 /> 6904 </g> 6905 </g> 6906</svg> 6907`,Uq=`<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6908 <path 6909 d="M28.4804 18.9672L31.4279 16.0197L28.4804 13.0722L25.5329 16.0197L28.4804 18.9672ZM29.3905 19.8762L31.4279 21.9136C32.4056 20.8021 33.1132 19.5027 33.5542 18.1437L32.3392 16.9287L29.3905 19.8762ZM34.0255 13.4232C33.8298 11.8347 33.2617 10.3643 32.329 9.22358L29.3905 12.1621L32.338 15.1096L34.0255 13.4221V13.4232ZM34.0919 15.1737L33.247 16.0186L33.9198 16.6913C34.012 16.1851 34.0694 15.6777 34.0919 15.1737ZM27.5714 19.8762L24.6239 16.9287L21.6764 19.8762L24.6239 22.8237L27.5714 19.8762ZM28.4804 20.7852L25.5329 23.7327L26.7828 24.9826C28.1215 24.5303 29.4052 23.8103 30.52 22.8237L28.4804 20.7852ZM21.9768 25.472L23.7149 23.7338L20.7674 20.7863L17.8267 23.7271C18.9753 24.68 20.4209 25.2616 21.9768 25.472ZM23.7138 25.553C24.2549 25.5327 24.8017 25.4686 25.345 25.364L24.6239 24.6428L23.7138 25.553ZM21.6753 12.1621L24.6228 15.1096L27.5703 12.1621L24.6228 9.21458L21.6753 12.1621ZM20.7663 11.2531L23.7138 8.30558L22.4988 7.09058C21.1387 7.53158 19.8404 8.23921 18.7289 9.21683L20.7663 11.2531ZM27.2204 6.61808L25.5329 8.30558L28.4804 11.2531L31.4189 8.31458C30.2782 7.38083 28.8089 6.81383 27.2204 6.61808ZM25.4688 6.55058C24.9648 6.57308 24.4574 6.63046 23.9512 6.72271L24.6239 7.39546L25.4688 6.55058ZM20.7663 13.0711L17.8188 16.0186L20.7663 18.9661L23.7138 16.0186L20.7663 13.0711ZM19.8573 12.1621L17.8188 10.1236C16.8322 11.2385 16.1122 12.521 15.6599 13.8608L16.9098 15.1107L19.8573 12.1632V12.1621ZM15.1717 18.6668C15.382 20.2227 15.9648 21.6683 16.9177 22.817L19.8584 19.8762L16.9109 16.9287L15.1717 18.6668ZM15.0907 16.9298L16.0008 16.0197L15.2797 15.2986C15.1739 15.842 15.1109 16.3887 15.0907 16.9298ZM13.5348 22.2128C11.7922 26.9626 10.387 29.9888 9.25642 31.3771L9.16867 31.475L6.44167 34.202L9.21705 31.4288C9.9528 30.7651 11.2623 30.044 13.114 29.216C13.9105 28.8605 14.7959 28.4903 15.7578 28.109C16.615 27.7692 17.5072 27.4306 18.4139 27.0987C17.3485 26.6105 16.3709 25.9478 15.5339 25.1097C14.6913 24.2671 14.0264 23.2838 13.537 22.2117L13.5348 22.2128ZM12.5122 17.381C12.4987 13.997 13.8172 10.4611 16.4418 7.83646C21.2737 3.00458 29.4895 2.70083 33.715 6.92746C37.9405 11.
69091541 37.6379 19.37 32.806 24.2007C30.1814 26.8253 26.6455 28.1438 23.2615 28.1303C23.2424 28.1371 23.2233 28.1438 23.2042 28.1506C23.1052 28.1832 22.9162 28.2451 22.6495 28.3351C22.2052 28.4847 21.709 28.6546 21.1747 28.8413C19.6492 29.3757 18.1237 29.9371 16.7028 30.4996C15.7735 30.8675 14.9219 31.223 14.1625 31.5627C12.5493 32.2838 11.4108 32.9105 10.9867 33.2918L7.35067 36.9278C6.84892 37.4296 6.03442 37.4296 5.53267 36.9278L3.71467 35.1098C3.21292 34.6081 3.21292 33.7936 3.71467 33.2918L7.30117 29.7053C8.45317 28.2485 10.2239 24.0995 12.4975 17.4226C12.502 17.4091 12.5077 17.3945 12.5122 17.381ZM6.18967 10.2136C6.4248 9.21683 6.93105 8.29546 7.6758 7.55071C8.38117 6.84533 9.2463 6.35258 10.1857 6.10283C9.84142 5.09596 9.01342 4.31521 7.9773 4.03733C7.72192 4.94746 7.23705 5.78558 6.54967 6.47296C5.8398 7.18283 4.96905 7.67671 4.02405 7.92421C4.2963 9.01321 5.1243 9.88396 6.18967 10.2136ZM7.48455 10.3396C9.0168 10.1776 10.2273 8.93896 10.3477 7.39433C9.69067 7.59796 9.08655 7.95908 8.5848 8.45971C8.0538 8.99071 7.6803 9.63758 7.48455 10.3396ZM3.97455 6.59896C4.59442 6.39083 5.16367 6.04096 5.64067 5.56396C6.09967 5.10496 6.44167 4.55933 6.65205 3.96533C5.28742 4.17458 4.20517 5.24108 3.97455 6.59896ZM7.14255 11.6423C4.65742 11.6423 2.64255 9.62746 2.64255 7.14233C2.64255 4.65721 4.65742 2.64233 7.14255 2.64233C9.62767 2.64233 11.6425 4.65721 11.6425 7.14233C11.6425 9.62746 9.62767 11.6423 7.14255 11.6423Z" 6910 fill="#707290" 6911 /> 6912</svg> 6913`,Vq={basketball:Tq,boxing:Iq,counterStrike:Fq,dota:Oq,football:Dq,iceHockey:$q,live:Pq,mma:Hq,tennis:Uq},zq=({icon:t,className:s})=>e.jsx("span",{"aria-hidden":"true",className:g("inline-flex items-center justify-center",s),dangerouslySetInnerHTML:{__html:Vq[t]}}),Gq=[{icon:"live",title:n("global_live"),to:BS},{icon:"football",title:n("global_football"),to:h7},{icon:"counterStrike",title:"CS2",to:g7},{icon:"basketball",title:n("global_basketball"),to:ES},{icon:"tennis",title:n("global_tennis"),to:RS},{icon:"dota",title:"Dota 2",to:b7},{icon:"iceHockey",title:n("global_iceHockey"),to:TS},{icon:"mma",title:"MMA",to:IS},{icon:"boxing",title:"Boxing",to:FS}],Zq=()=>{const t=m.useRef(null);return e.jsxs("div",{className:"flex flex-col overflow-hidden","data-testid":"sportsbook-section",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(ve,{icon:"sportCategories",className:"size-5"}),n("global_sportsbook")]}),e.jsx(ns,{containerRef:t})]}),e.jsx("div",{ref:t,className:"no-scrollbar flex items-center gap-x-4 overflow-x-auto",children:Gq.map(s=>e.jsxs(De,{to:s.to,"data-testid":`sportsbook-tile-${s.icon}`,className:"flex h-[100px] w-[144px] flex-none flex-col items-center justify-evenly rounded-xl border border-[#212734] bg-[#171B24]",children:[e.jsx(zq,{icon:s.icon}),e.jsx("span",{className:"line-clamp-1 truncate font-semibold text-brandblue-50",children:s.title})]},s.to))})]})},Wq=m.lazy(()=>g1(()=>import("./CryptoMarketsSection-BWDIl7nP.js"),__vite__mapDeps([3,1,2,4])).then(t=>({default:t.CryptoMarketsSection}))),Kq=m.lazy(()=>g1(()=>import("./TribesSection-BXOE1Icm.js"),__vite__mapDeps([5,1,2,4])).then(t=>({default:t.TribesSection}))),qq=m.lazy(()=>g1(()=>import("./LootboxSection-DZnHsq3n.js"),__vite__mapDeps([6,1,2,4])).then(t=>({default:t.LootboxSection}))),Yq=()=>{Qe("meta.home.title","meta.home.description");const[t,s]=C([te,Je]),a=ma(Cs.Homepage),l=s?t?m1.HOME_LOGGED_IN:m1.HOME_LOGGED_OUT:null;return e.jsx("div",{className:"flex w-full flex-col items-center gap-y-3 md:gap-y-6","data-testid":"home-lobby",children:e.jsxs("section",{className:"flex w-full flex-col gap-[30px] transition-all md:px-0",children:[e.jsxs("div",{className:"flex flex-col gap-y-7",children:[e.jsx(cn,{section:l}),e.jsx(yl,{placeholder:n("global_search_placeholder")})]}),e.jsxs("div",{className:"flex flex-col gap-y-[30px]",children:[e.jsx(Gx,{}),e.jsx(Kx,{}),a?e.jsx(W1,{categories:a.categories}):null,e.jsx("div",{className:"mt-3 flex items-center justify-center",children:e.jsx(De,{to:Ve,"data-testid":"see-over-games",className:"rounded-lg border border-highlight px-4 py-2.5 text-sm font-semibold text-brandblue-100",children:n("games.see_over")})}),e.jsx("div",{className:"pt-3",children:e.jsx(dn,{title:n("countdown_banner.cashback.title"),description:n("countdown_banner.cashback.description"),timerLabel:n("countdown_banner.cashback.timer_label"),backgroundImage:"/wide-banners/countdown/zeus-web.webp",mobileBackgroun
6913dImage:"/wide-banners/countdown/zeus-mobile.webp"})}),e.jsxs("div",{className:"flex flex-col gap-y-8",children:[ke(Se.Tribes)?e.jsx(m.Suspense,{fallback:null,children:e.jsx(Kq,{})}):null,e.jsx(Ec,{page:"home"}),e.jsx(Zq,{}),ke(Se.Lootbox)?e.jsx(m.Suspense,{fallback:null,children:e.jsx(qq,{})}):null,e.jsx(m.Suspense,{fallback:e.jsx("div",{className:"h-[218px]","aria-hidden":"true"}),children:e.jsx(Wq,{})}),e.jsx(v1,{})]})]})]})})},Xq=()=>{const[t,s,a,l]=C([OS,vt.$isPlaying,vt.$isAutoplayPlaying,vt.$isFreeBet]);return e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("span",{className:"text-sm font-medium text-slate-400",children:n("games.keno.difficulty.title")}),e.jsx("div",{className:"grid w-full grid-cols-3 rounded-xl bg-[#191D27] p-1",children:Object.values(DS).map(r=>e.jsx(Z,{height:"small",block:!0,variant:r===t?"NonAccent":"Link",disabled:s||a||l,testId:`keno-difficulty-${r}`,onClick:()=>$S(r),children:n(`games.keno.difficulty.${r}`)},r))})]})},Jq=()=>{const[t,s,a]=C([L7,vt.$isPlaying,vt.$isAutoplayPlaying]),l=s||a;return e.jsxs("div",{className:"flex w-full flex-row gap-x-2",children:[e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"min-w-0 flex-1",testId:"keno-pick-random",disabled:l,onClick:()=>PS(),children:[e.jsx(gx,{className:"size-5"}),e.jsx("span",{className:"max-w-full truncate whitespace-nowrap",children:n("games.keno.cta.pickRandomCell")})]}),e.jsx(Z,{variant:"NonAccent",height:"medium",iconOnly:!0,testId:"keno-clear-table",ariaLabel:n("games.keno.cta.clearTable"),disabled:t.length===0||l,onClick:()=>HS(),children:e.jsx(yP,{className:"size-5"})})]})},Qq=()=>e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx(Xq,{}),e.jsx(Jq,{})]}),eY=()=>e.jsxs("div",{className:"flex flex-col gap-y-4 pb-2",children:[e.jsx(Ml,{}),e.jsx(Bl,{}),e.jsx(El,{})]}),b4=()=>e.jsx(zs,{game:vt,children:e.jsxs(an,{children:[e.jsx(Rl,{betControls:e.jsx(Qq,{}),autoplayControls:e.jsx(eY,{})}),e.jsx(nn,{children:e.jsx(ZH,{})})]})}),tY="/assets/4c1107ed176680624ecee5a419d7fd600ba66f20-Df3HJLJS.webp",sY="/assets/6416e5547096109a5b0cda1bdf6bbb987a05e320-C8Uiff3r.webp",aY="/assets/d86f36c6bc1af3da9c63da908471042ff23900c5-Br0vgl6C.webp",C4=[tY,sY,aY],Wf=({size:t})=>{const s=t==="lg";return e.jsx("div",{className:"flex flex-row items-center",children:C4.map((a,l)=>e.jsxs("div",{className:g("relative",s&&"size-10 shrink-0",l!==0&&"-ml-2"),"data-testid":"player-avatar",children:[e.jsx("div",{className:g("overflow-hidden rounded-full bg-white/10 ring-2 ring-[#13161e]",s?"size-10":"size-6"),children:e.jsx("img",{src:a,alt:"player avatar",className:"size-full object-cover"})}),l===C4.length-1?e.jsx("span",{className:g("absolute bottom-0 right-0 size-[8px] rounded-full bg-[#4CAF50] ring-2 ring-[#13161e]",s&&"z-10")}):null]},a))})},un=({children:t,className:s})=>e.jsx("p",{className:g("text-center align-middle font-jost text-[16px] font-medium leading-[140%] text-[#ADAFCE]",s),children:t}),nY="/assets/1228a5bd014e8448ef1e21c7a10c063e1bacc010-BezQRWbf.webp",lY="/assets/303a15395c4d665a94062917c8ecff8a068f22ec-BqwNBW0Z.webp",rY="/assets/396824abc9e0122583bfcd2ef158ef8bb84d0256-BGu6xobs.webp",iY="/assets/3f86d363cb0e70311de6fa0bccf9ac9d63090701-Cd17iQ-i.webp",oY="/assets/72be858dd4bf1c1d92c00ab67c14ce9cf0bc4e8f-C-HjhrZm.webp",Kf="/assets/c75b32c3f2a299e270c5bba8b28ee3d9c47428c6-CFG6IMir.webp",qf="/assets/de92b1c7e47bfca2b3d8c6c6cbbe72c4d886850f--1Z-Zmkc.webp",cY="/assets/ec0c19db05c3946ad17dcc4494d9c12ed06ac8ef-XlWRiuIh.webp",dY="/assets/f959c684030a547a65239a904cf29ad9c38bd9ad-C_OGnLC5.webp",uY="/assets/welcomeBonus-Cs44kud5.webp",mY="/assets/whaleCoinsFlying-KA0K96_O.webp",xY=mY,fY=uY,pY=[{src:oY,width:200,top:180,pos:60,rot:"rotate(10.359deg)",startX:220,startY:-80,delay:0},{src:nY,width:119,top:50,pos:150,rot:"rotate(99.31deg)",startX:100,startY:100,delay:60},{src:cY,width:283,top:-200,pos:-80,rot:"rotate(1.476deg)",startX:300,startY:300,delay:100},{src:iY,width:1e3,blur:6,top:-320,pos:-550,rot:"rotate(79.108deg)",startX:600,startY:400,delay:40},{src:Kf,width:196,top:90,pos:-20,rot:"rotate(18deg)",startX:240,startY:60,delay:80},{src:qf,width:44,top:50,pos:50,rot:"rotate(30.63deg)",startX:200,startY:100,delay:120}],hY=[{src:lY,width:220,top:160,pos:90,rot:"rotate(24.64deg)",startX:-220,startY:-80,delay:0},{src:rY,width:650,blur:6,top:-70,pos:-380,rot:"rotate(23.994deg)",startX:-400,startY:250,delay:60},{src:dY,width:300,top:-50,pos:-30,rot:"rotate(0deg) scaleX(-1)",startX:-300,startY:100,delay:100},{src:Kf,width:380,blur:6,top:-200,pos:-220,rot:"rotate(-93.7deg)",startX:-400,startY:350,delay:40},{src:qf,width:44,top:200,pos:250,rot:"rotate(-18deg)",startX:-200,startY:-60,delay:120,hideOnDesktop:!0}],j4=(t,s,a)=>({width:`${t.width}px`,top:`${t.top}px`,[s]:`${t.pos}px`,transform:a?t.rot:`translateX(${t.startX}px) translateY(${t.startY}px) ${t.rot}`,transition:`transform 1s cubic-bezier(0.34,1.56,0.64,1) ${t.delay}ms,opacity 1s ease-in-out ${t.delay}ms`,opacity:a?1:0,...t.blur?{filter:`blur(${t.blur}px)`}:{}}),gY=t=>({top:"99px",right:"190px",transform:t?"none":"translateX(-300px) translateY(200px)",transition:"transform 1s cubic-bezier(0.34,1.56,0.64,1) 80ms,opacity 1s ease-in-out 80ms",opacity:t?1:0}),v4=({size:t})=>e.jsx("div",{className:"relative -rotate-6 overflow-hidden",style:{width:`${t}px`,height:`${t}px`},children:e.jsx("img",{src:fY,className:"h-full w-full max-w-none",alt:""})}),bY=()=>{const t=m.useRef(null),[s,a]=m.useState(!1);return m.useEffect(()=>{const l=t.current;if(!l)return;let r=l.parentElement,i=window;for(;r;){const{overflowY:u}=getComputedStyle(r);if(u==="auto"||u==="scroll"){i=r;break}r=r.parentElement}const o=()=>{(i instanceof Window?window.scrollY:i.scrollTop)>=100&&a(!0)},d=()=>a(!0);return i.addEventListener("scroll",o,{passive:!0}),o(),l.addEventListener("mouseenter",d),()=>{i.removeEventListener("scroll",o),l.removeEventListener("mouseenter",d)}},[]),e.jsx("div",{className:"relative flex min-h-[641px] flex-col items-center justify-center gap-[6.25rem] px-0.5 py-[40px] sm:h-auto sm:px-10 sm:pb-[5.625rem]","data-testid":"landing-banner",children:e.jsxs("div",{className:"relative flex size-full flex-col justify-between gap-8 sm:h-auto sm:justify-start sm:gap-[3.75rem]",children:[e.jsx("div",{className:"pointer-events-none absolute left-0 top-[calc(50%+100px)] z-0 block h-[300px] w-[400px] origin-left -translate-y-1/2 scale-[0.35] overflow-visible sm:scale-100",children:pY.map(l=>e.jsx("img",{src:l.src,className:g("absolute max-w-none drop-shadow-lg",l.hideOnDesktop&&"sm:hidden"),style:j4(l,"left",s
6913),alt:""},l.src+l.pos))}),e.jsxs("div",{className:"pointer-events-none absolute right-0 top-[calc(50%+100px)] z-0 block h-[300px] w-[400px] origin-right -translate-y-1/2 scale-[0.35] overflow-visible sm:scale-100",children:[hY.map(l=>e.jsx("img",{src:l.src,className:g("absolute max-w-none drop-shadow-lg",l.hideOnDesktop&&"sm:hidden"),style:j4(l,"right",s),alt:""},l.src+l.pos)),e.jsx("div",{className:"absolute hidden mix-blend-screen sm:block",style:gY(s),children:e.jsx(v4,{size:160})})]}),e.jsxs("div",{className:"relative z-main flex flex-col gap-10",children:[e.jsxs("div",{className:"flex flex-row items-center justify-center gap-6 font-jost text-[14px] font-medium text-[#ADAFCE]",children:[e.jsxs("div",{className:"flex flex-row items-center gap-2",children:[e.jsx(Wf,{size:"sm"}),e.jsx("p",{children:n("homepage.banner.stats.playing_now")})]}),e.jsxs("div",{className:"hidden flex-row items-center gap-6 sm:flex",children:[e.jsx("div",{className:"w-px self-stretch bg-gunmetal"}),e.jsxs("div",{className:"flex flex-row items-center gap-2",children:[e.jsx("div",{className:"relative h-0 w-[48px] shrink-0 overflow-visible",children:e.jsx("img",{src:xY,alt:"whale-token",className:"absolute top-1/2 h-[33px] w-[51px] -translate-y-1/2"})}),e.jsx("p",{children:n("homepage.banner.stats.cashed_out")})]})]})]}),e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6",children:[e.jsxs("h1",{className:"max-w-[384px] text-center font-gilroy text-[40px] font-black uppercase leading-[120%] sm:max-w-[474px] sm:text-[48px]",children:[e.jsxs("span",{className:"relative inline-block text-badge-influencer-text [text-shadow:0_-1px_0_#FDE2B2]",children:[e.jsx("span",{className:"pointer-events-none absolute left-1/2 top-0 h-[34px] w-[123px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[#FBB63F]/40 blur-[35px]","aria-hidden":"true"}),e.jsx("span",{className:"relative",children:n("homepage.banner.headline.part1")})]})," ",e.jsx("span",{children:n("homepage.banner.headline.part2")})," ",e.jsx("span",{className:"text-badge-influencer-text [text-shadow:0_-1px_0_#FDE2B2]",children:n("homepage.banner.headline.part3")})]}),e.jsxs(un,{className:"w-[244px] max-w-[24.75rem] text-center sm:w-auto",children:[n("homepage.banner.description.part1")," ",e.jsx("span",{className:"whitespace-nowrap text-badge-influencer-text",children:n("homepage.banner.description.highlight")}),", ",n("homepage.banner.description.part2")]})]})]}),e.jsx("div",{className:"relative z-main flex items-center justify-center mix-blend-screen sm:hidden",children:e.jsx(v4,{size:120})}),e.jsxs("div",{className:"relative z-main flex flex-col items-center justify-center gap-8",children:[e.jsxs("div",{className:"relative w-full sm:flex sm:items-center sm:justify-center",children:[e.jsx("div",{className:"pointer-events-none absolute left-[calc(-50vw_+_50%)] top-1/2 hidden h-[100px] w-[55vw] -translate-y-1/2 blur-[60px] [background:radial-gradient(ellipse_83%_50%_at_17%_50%,rgba(112,134,255,0.5),transparent_100%)] sm:block"}),e.jsx("div",{className:"pointer-events-none absolute right-[calc(-50vw_+_50%)] top-1/2 hidden h-[100px] w-[55vw] -translate-y-1/2 blur-[60px] [background:radial-gradient(ellipse_83%_50%_at_83%_50%,rgba(112,134,255,0.5),transparent_100%)] sm:block"}),e.jsxs("div",{ref:t,className:"relative z-main flex w-full flex-col items-center justify-center rounded-2xl bg-[#7086FF]/10 sm:w-auto",children:[e.jsx("p",{className:"w-full py-2 text-center font-jost text-[10px] font-medium leading-none text-[#ADAFCE]",children:n("homepage.banner.cta.bonus_label")}),e.jsx(ca,{label:n("homepage.banner.cta.button"),className:"!rounded-2xl shadow-[0_0_80px_8px_rgba(112,134,255,0.3)]"})]})]}),e.jsxs("div",{className:"flex flex-row flex-wrap justify-center gap-x-3 gap-y-2 font-jost text-[10px] font-normal leading-[100%] tracking-normal text-[#ADAFCE] sm:gap-x-6 sm:text-[12px]",children:[e.jsxs("div",{className:"flex flex-row items-center gap-1 sm:gap-1.5",children:[e.jsx(ve,{icon:"shieldUser"}),e.jsx("p",{children:n("homepage.banner.trust.privacy")})]}),e.jsxs("div",{className:"flex flex-row items-center gap-1 sm:gap-1.5",children:[e.jsx(ve,{icon:"provablyFair"}),e.jsx("p",{children:n("homepage.banner.trust.provably_fair")})]}),e.jsxs("div",{className:"flex flex-row items-center gap-1 sm:gap-1.5",children:[e.jsx(ve,{icon:"bolt"}),e.jsx("p",{children:n("homepage.banner.trust.withdrawals")})]})]})]})]})})},Yf=({icon:t,title:s,fullWidth:a=!1,className:l,children:r})=>
6913e.jsxs("div",{className:g("flex flex-row gap-4 rounded-2xl bg-[#242A3B]/40 p-4",a?"w-full":"w-[17.5rem]",l),children:[e.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded bg-[#FFFFFF0A]",children:e.jsx(ve,{icon:t,className:"size-5 text-golden"})}),e.jsxs("div",{className:"flex flex-col gap-2 text-left align-middle",children:[e.jsx("h1",{className:"font-jost text-[14px] font-semibold leading-[100%] tracking-normal text-[#BABBD5]",children:s}),e.jsx("p",{className:"font-jost text-[12px] font-normal leading-[120%] tracking-normal text-[#ADAFCE]/40",children:r})]})]}),CY=({number:t,label:s,title:a,children:l})=>e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsxs("div",{className:"flex flex-col gap-[0.438rem] text-left",children:[e.jsxs("p",{className:"font-jost text-[16px] font-medium text-[#3F475F]",children:[t," · ",s]}),e.jsx("h1",{className:"whitespace-nowrap font-gilroy text-[24px] font-black uppercase text-[#BABBD5]",children:a})]}),e.jsx("div",{className:"flex flex-col gap-4",children:l})]}),Il=({children:t})=>e.jsx("h1",{className:"font-gilroy text-[32px] font-black uppercase leading-[100%] text-badge-influencer-text sm:text-[40px]",children:t}),jY="/landing/why-whale.svg",vY=1.5,wY=[{number:"01",key:"section01",rows:[[{key:"card1",icon:"bolt"},{key:"card2",icon:"gasStation"}],[{key:"card3",icon:"spedometerMax"},{key:"card4",icon:"bolt"}]]},{number:"02",key:"section02",rows:[[{key:"card1",icon:"person3Fill"},{key:"card2",icon:"shieldUser"}],[{key:"card3",icon:"person3Fill"}]]},{number:"03",key:"section03",rows:[[{key:"card1",icon:"bolt"},{key:"card2",icon:"gasStation"}],[{key:"card3",icon:"spedometerMax"},{key:"card4",icon:"crypto"}]]},{number:"04",key:"section04",rows:[[{key:"card1",icon:"bolt"},{key:"card3",icon:"bolt"}],[{key:"card2",icon:"gasStation"}]]}],yY=()=>{const t=m.useRef(null);return m.useEffect(()=>{const s=t.current;if(!s)return;let a=!1,l=0,r=0;const i=u=>{a=!0,l=u.pageX-s.offsetLeft,r=s.scrollLeft,s.style.cursor="grabbing",s.style.userSelect="none"},o=u=>{a&&(u.preventDefault(),s.scrollLeft=r-(u.pageX-s.offsetLeft-l)*vY)},d=()=>{a=!1,s.style.cursor="grab",s.style.userSelect=""};return s.style.cursor="grab",s.addEventListener("mousedown",i),window.addEventListener("mousemove",o),window.addEventListener("mouseup",d),s.addEventListener("mouseleave",d),()=>{s.removeEventListener("mousedown",i),window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",d),s.removeEventListener("mouseleave",d)}},[]),t},_Y=()=>{const t=yY();return e.jsxs("div",{className:"relative flex flex-col py-[80px] sm:py-[3.75rem]","data-testid":"landing-build-different",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 left-1/2 -z-10 w-screen -translate-x-1/2 bg-[#10131A]"}),e.jsxs("div",{className:"mx-auto flex w-full max-w-[1460px] flex-col items-center justify-center gap-[0.625] px-4 text-center",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6",children:[e.jsxs("div",{className:"flex flex-row items-center gap-2",children:[e.jsx("img",{src:jY,alt:"",className:"h-[24.4875px] w-[26.3366px]",loading:"lazy",decoding:"async"}),e.jsx("p",{className:"font-jost text-[14px] font-medium text-[#ADAFCE]",children:n("landingpage.builddifferent.header")})]}),e.jsx(Il,{children:n("landingpage.builddifferent.title")}),e.jsx(un,{className:"max-w-[24.75rem]",children:e.jsx("span",{className:"whitespace-pre-line",children:n("landingpage.builddifferent.description")})})]}),e.jsx("div",{ref:t,className:"landing-drag-rail w-full overflow-x-auto sm:mx-6 sm:w-[calc(100%-3rem)]",children:e.jsx("div",{className:"flex w-max flex-row gap-20 px-12 py-[3.75rem]",children:wY.map(s=>e.jsx(CY,{number:s.number,label:n(`landingpage.builddifferent.${s.key}.label`),title:n(`landingpage.builddifferent.${s.key}.title`),children:s.rows.map(a=>e.jsx("div",{className:"flex flex-row gap-4",children:a.map(l=>e.jsx(Yf,{icon:l.icon,title:n(`landingpage.builddifferent.${s.key}.${l.key}.title`),children:n(`landingpage.builddifferent.${s.key}.${l.key}.description`)},l.key))},a.map(l=>l.key).join()))},s.key))})}),e.jsx(ca,{label:n("landingpage.builddifferent.cta")})]})]})},NY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6914<path d="M92.6833 26.0382H89.9618C89.3983 26.0382 88.9287 25.6653 88.9287 25.1992C88.9287 24.6398 89.3983 24.3602 89.9618 24.3602H94.9352L96.0622 21.845H89.9618C87.4281 21.845 86.0194 23.3347 86.0194 25.2924C86.0194 27.2502 87.4281 28.5534 89.5861 28.5534H92.3076C92.8711 28.5534 93.3407 28.9263 93.3407 29.3924C93.3407 29.8585 92.965 30.2314 92.3076 30.2314H86.3012V32.7466H92.3076C94.8413 32.7466 96.25 31.2569 96.25 29.2059C96.25 27.155 94.9352 26.0382 92.6833 26.0382ZM81.7034 26.0382H78.9819C78.4184 26.0382 77.9488 25.6653 77.9488 25.1992C77.9488 24.6398 78.4184 24.3602 78.9819 24.3602H83.9553L85.0822 21.845H78.9819C76.4482 21.845 75.0414 23.3347 75.0414 25.2924C75.0414 27.2502 76.4482 28.5534 78.6082 28.5534H81.3297C81.8931 28.5534 82.3627 28.9263 82.3627 29.3924C82.3627 29.8585 81.9871 30.2314 81.3297 30.2314H75.3232V32.7466H81.3297C83.8633 32.7466 85.2701 31.2569 85.2701 29.2059C85.364 27.1569 84.0512 26.0382 81.7034 26.0382ZM64.3433 32.8378H73.7286V30.3227H67.3465V28.5534H73.6347V26.0382H67.3465V24.2689H73.7286V21.7537H64.3433V32.8398V32.8378ZM58.5246 26.5043H55.4275V24.2689H58.5246C59.3698 24.2689 59.8394 24.8282 59.8394 25.3876C59.8394 26.0402 59.3698 26.5063 58.5246 26.5063M62.8407 25.2944C62.8407 23.1521 61.3381 21.7537 58.8983 21.7537H52.4223V32.8398H55.4255V29.0214H56.5524
6914L59.9313 32.8398H63.498L59.8374 28.835C61.7137 28.3689 62.8407 27.0656 62.8407 25.2944ZM46.7934 26.6927H43.6023V24.2708H46.7934C47.6386 24.2708 48.1082 24.8302 48.1082 25.4828C48.1082 26.1353 47.7325 26.6947 46.7934 26.6947M47.169 21.7576H40.693V32.8437H43.6962V29.2098H47.169C49.7027 29.2098 51.2053 27.6269 51.2053 25.4828C51.1114 23.2473 49.6108 21.7557 47.169 21.7557M40.1315 21.7557H36.285L33.4696 25.1099L30.5602 21.7557H26.6179L31.5913 27.2521L26.524 32.8417H30.3705L33.3737 29.3011L36.3769 32.8417H40.3173L35.25 27.1589L40.1295 21.7557H40.1315ZM16.7649 32.8417H26.1483V30.3266H19.6723V28.5572H25.9605V26.0421H19.6723V24.2728H26.1483V21.7576H16.7649V32.8437V32.8417ZM91.5563 14.2996L86.9585 7.59323H83.204V18.586H86.2072V11.598L90.8989 18.5841H94.4657V7.59323H91.5563V14.3016V14.2996ZM74.2882 13.9267L75.8827 10.1996L77.4773 13.9267H74.2862H74.2882ZM73.9125 7.59128L69.033 18.6773H72.318L73.2571 16.4419H78.4184L79.3575 18.6773H82.7364L77.7629 7.59323H73.9145L73.9125 7.59128ZM64.1535 13.1809V12.9945C64.1535 11.3183 65.0926 10.1996 66.9689 10.1996H70.2539V7.5H66.6872C63.0265 7.5 61.1502 9.82869 61.1502 12.9032V13.0896C61.1502 16.537 63.3083 18.4928 66.5932 18.4928H67.6263L68.8452 15.9777H67.0628C65.2804 16.0709 64.1535 15.0454 64.1535 13.1829M56.6464 18.586H59.6496V7.59323H56.6464V18.586ZM50.8277 12.2506H47.7305V10.0151H50.8277C51.6729 10.0151 52.1425 10.5745 52.1425 11.1338C52.1425 11.7864 51.6729 12.2525 50.8277 12.2525M55.1438 11.1338C55.1438 8.9916 53.6412 7.59323 51.2034 7.59323H44.7273V18.6793H47.7305V14.7677H48.8575L52.2364 18.588H55.897L52.1444 14.5832C54.0207 14.2103 55.1477 12.8138 55.1477 11.1358M33.3757 18.588H42.7591V16.0728H36.3769V14.3035H42.5712V11.7884H36.3769V10.019H42.7591V7.59323H33.3757V18.586V18.588ZM23.8983 14.488L21.3627 7.59323H16.7649V18.586H19.6742V10.6677L22.5836 18.586H25.2111L28.1205 10.6677V18.586H31.1237V7.59323H26.432L23.8983 14.4861V14.488ZM7.75714 13.9287L9.35169 10.2016L10.9462 13.9287H7.75518H7.75714ZM7.37953 7.59323L2.5 18.586H5.78498L6.7241 16.3506H11.8854L12.8245 18.586H16.2034L11.228 7.59323H7.37953Z" fill="#BABBD5"/> 6915</svg> 6916`,kY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6917<path fill-rule="evenodd" clip-rule="evenodd" d="M29.3778 9.72353C28.616 10.6312 27.3972 11.3471 26.1783 11.2448C26.0259 10.0176 26.6227 8.71358 27.321 7.90818C28.0828 6.97494 29.4159 6.31017 30.4952 6.25903C30.6221 7.53745 30.127 8.79029 29.3778 9.72353ZM30.4823 11.4877C29.4085 11.4255 28.4287 11.8129 27.6372 12.1258C27.1279 12.3272 26.6967 12.4977 26.3686 12.4977C26.0003 12.4977 25.5513 12.318 25.047 12.1164L25.047 12.1164L25.047 12.1164C24.3863 11.8521 23.631 11.5499 22.8389 11.5644C21.0232 11.59 19.3346 12.6255 18.4077 14.2747C16.5032 17.573 17.9125 22.4565 19.7535 25.1412C20.655 26.4707 21.7342 27.9281 23.1563 27.877C23.7819 27.8532 24.2319 27.6609 24.6976 27.4619L24.6976 27.4619C25.2338 27.2328 25.7908 26.9949 26.6606 26.9949C27.5002 26.9949 28.0328 27.2266 28.5441 27.4491C29.0303 27.6607 29.4972 27.8639 30.1903 27.8514C31.6631 27.8258 32.59 26.5218 33.4914 25.1923C34.4643 23.7653 34.8918 22.3727 34.9566 22.1613L34.9642 22.1369C34.9627 22.1353 34.9507 22.1298 34.9295 22.12C34.6042 21.9701 32.1186 20.8243 32.0948 17.7519C32.0708 15.1731 34.0663 13.8665 34.3804 13.6608C34.3996 13.6483 34.4125 13.6399 34.4183 13.6355C33.1486 11.7434 31.1679 11.5389 30.4823 11.4877ZM40.6777 27.7109V7.78046H48.1053C51.9397 7.78046 54.6188 10.4395 54.6188 14.3259C54.6188 18.2123 51.889 20.8969 48.0038 20.8969H43.7503V27.7109H40.6777ZM43.7498 10.3882H47.2922C49.9585 10.3882 51.4821 11.8201 51.4821 14.3385C51.4821 16.857 49.9585 18.3016 47.2795 18.3016H43.7498V10.3882ZM64.7638 25.3201C63.9512 26.8797 62.1609 27.8641 60.231 27.8641C57.3742 27.8641 55.3809 26.151 55.3809 23.5686C55.3809 21.0118 57.3108 19.5417 60.8786 19.3243L64.713 19.0942V17.9948C64.713 16.3712 63.6591 15.4891 61.78 15.4891C60.231 15.4891 59.101 16.2945 58.8725 17.5218H56.1046C56.1935 14.9394 58.6058 13.0601 61.8689 13.0601C65.3859 13.0601 67.6713 14.9138 67.6713 17.7902V27.7107H64.8272V25.3201H64.7638ZM61.056 25.4991C59.4181 25.4991 58.377 24.7065 58.377 23.492C58.377 22.2391 59.38 21.5104 61.2972 21.3954L64.7126 21.178V22.303C64.7126 24.1695 63.1382 25.4991 61.056 25.4991ZM77.1044 28.4907C75.8728 31.9807 74.4635 33.1313 71.467 33.1313C71.2385 33.1313 70.4767 33.1057 70.2989 33.0546V30.664C70.4894 30.6895 70.9592 30.7151 71.2004 30.7151C72.5589 30.7151 73.3208 30.1398 73.7905 28.6441L74.0699 27.762L68.8
6917642 13.252H72.0765L75.695 25.0262H75.7585L79.3771 13.252H82.5005L77.1044 28.4907Z" fill="#BABBD5"/> 6918</svg> 6919`,SY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6920<path fill-rule="evenodd" clip-rule="evenodd" d="M77.0889 24.3185H77.1357L81.0215 14.5676H83.752L75.3574 34.1174H72.7676L75.8877 27.2795L70.3799 14.5676H73.1104L77.0889 24.3185ZM63.9521 14.1242C65.8085 14.1243 67.275 14.6311 68.3516 15.6281C69.4281 16.6253 69.9589 18.0186 69.959 19.7756V28.1496H67.5566V26.2658H67.4473C66.4019 27.817 65.0287 28.5929 63.2969 28.593C61.8303 28.593 60.5816 28.1502 59.5986 27.2639C58.6314 26.4408 58.0851 25.2217 58.1162 23.9396C58.1162 22.5308 58.647 21.4222 59.6924 20.5832C60.7378 19.7443 62.1422 19.3322 63.8896 19.3322C65.3872 19.3322 66.604 19.6175 67.5713 20.1555V19.5705C67.5713 18.6999 67.1972 17.8767 66.542 17.3068C65.8711 16.7053 65.0124 16.3723 64.123 16.3723C62.719 16.3724 61.6111 16.974 60.7998 18.1769L58.585 16.7687C59.7708 15.0116 61.5649 14.1242 63.9521 14.1242ZM52.0469 8.29901C53.6539 8.26735 55.2145 8.8849 56.3535 10.0246C58.6315 12.1774 58.7723 15.8031 56.6348 18.1301L56.3535 18.4142C55.1833 19.5382 53.7476 20.1086 52.0469 20.1086H47.8965V28.1496H45.3848V8.29901H52.0469ZM64.2793 21.3908C63.2651 21.3909 62.4073 21.6443 61.7207 22.1349C61.0497 22.6257 60.7061 23.2426 60.7061 23.9865C60.7061 24.6514 61.0182 25.2687 61.5332 25.6486C62.0949 26.0918 62.7813 26.3294 63.4834 26.3137C64.5446 26.3137 65.5595 25.886 66.3086 25.1262C67.1355 24.3347 67.5566 23.4007 67.5566 22.3244C66.7764 21.6913 65.6837 21.375 64.2793 21.3908ZM47.8975 17.6701H52.1104C53.0466 17.7018 53.952 17.3224 54.5918 16.6418C55.9026 15.2647 55.8712 13.0487 54.5137 11.7189C53.8738 11.0857 53.0155 10.7375 52.1104 10.7375H47.8975V17.6701Z" fill="#BABBD5"/> 6921<path d="M39.2211 18.3671C39.2211 17.5914 39.1587 16.8157 39.0339 16.0559H28.4395V20.4408H34.509C34.2594 21.8496 33.448 23.116 32.2622 23.9075V26.7569H35.8821C38.0041 24.7781 39.2211 21.8496 39.2211 18.3671Z" fill="#BABBD5"/> 6922<path d="M28.4399 29.5112C31.4669 29.5112 34.0258 28.4981 35.8825 26.7568L32.2627 23.9074C31.2485 24.6039 29.9534 24.9997 28.4399 24.9997C25.5066 24.9997 23.0257 22.9893 22.1363 20.2982H18.4072V23.2426C20.3108 27.0892 24.1959 29.5112 28.4399 29.5112Z" fill="#BABBD5"/> 6923<path d="M22.1364 20.2983C21.6682 18.8894 21.6682 17.3539 22.1364 15.9292V13.0007H18.4067C16.7993 16.2142 16.7993 20.0133 18.4067 23.2268L22.1364 20.2983Z" fill="#BABBD5"/> 6924<path d="M28.4399 11.2278C30.047 11.1961 31.5917 11.8135 32.7464 12.9374L35.9606 9.67644C33.9166 7.7452 31.2329 6.68461 28.4399 6.71627C24.1959 6.71627 20.3108 9.15406 18.4072 13.0007L22.1363 15.945C23.0257 13.2382 25.5066 11.2278 28.4399 11.2278Z" fill="#BABBD5"/> 6925</svg> 6926`,AY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6927<path d="M38.6531 14.7522H33.6729C33.3322 14.7522 33.0423 14.9914 32.989 15.317L30.9747 27.6657C30.9394 27.8847 31.0943 28.0898 31.3208 28.1243C31.3421 28.1274 31.3637 28.1292 31.3857 28.1292H33.7632C34.1043 28.1292 34.3942 27.8893 34.4471 27.5637L34.9906 24.2329C35.0432 23.9077 35.3331 23.6677 35.6737 23.6674H37.2504C40.5312 23.6674 42.4244 22.1324 42.9189 19.0903C43.1418 17.7594 42.9283 16.7137 42.284 15.9814C41.576 15.1774 40.3205 14.7518 38.6538 14.7518L38.6531 14.7522ZM39.2275 19.2624C38.9553 20.9903 37.5897 20.9903 36.2694 20.9903H35.5178L36.045 17.7633C36.0771 17.5683 36.2507 17.4244 36.4549 17.4244H36.7992C37.6984 17.4244 38.5469 17.4244 38.9852 17.9203C39.2466 18.216 39.3266 18.6554 39.2268 19.2624H39.2275ZM53.5403 19.2067H51.1555C50.9513 19.2067 50.7773 19.3505 50.7457 19.5455L50.6401 20.1904L50.4734 19.9567C49.957 19.2321 48.8056 18.9901 47.6564 18.9901C45.021 18.9901 42.7698 20.9203 42.3315 23.6277C42.1036 24.9781 42.4277 26.2697 43.22 27.1702C43.9467 27.9983 44.9868 28.3433 46.2238 28.3433C48.3475 28.3433 49.5248 27.0232 49.5248 27.0232L49.4186 27.664C49.3822 27.883 49.5367 28.0888 49.7628 28.1236C49.7845 28.1271 49.8061 28.1285 49.8277 28.1285H51.9759C52.3169 28.1285 52.6068 27.8886 52.6598 27.563L53.9487 19.6701C53.985 19.4522 53.8313 19.2467 53.6058 19.2119C53.5842 19.2084 53.5622 19.2067 53.5403 19.2067ZM50.2159 23.6949C49.9858 25.0122 48.9043 25.8967 47.525 25.8967C46.8325 25.8967 46.2789 25.6819 45.9235 25.2748C45.5709 24.8705 45.4369 24.2952 45.5493 23.6545C45.7643 22.3483 46.8638 21.4349 48.2218 21.4349C48.8993 21.4349 49.4495 21.6526 49.8122 22.0631C50.1756 22.4779 50.3196 23.0566 50.2155 23.6946L50.2159 23.6949ZM66.2422 19.2067H63.8455C63.6161 19.207 63.4014 19.317 63.2725 19.5002L59.9672 24.2082L58.5659 19.6841C58.4777 19.4006 58.208 19.2067 57.9018 19.2067H55.5466C55.3172 19.206 55.131 19.3853 55.1303 19.6071C55.1303 19.6517 55.1378 19.6956 55.1526 19.7377L57.7924 27.2283L55.3107 30.6159C55.1778 30.7966 55.2217 31.0473 55.4086 31.1754C55.4789 31.2239 55.5631 31.2496 55.6492 31.2496H58.043C58.2699 31.2496 58.4824 31.1427 58.6117 30.9623L66.5828 19.8366C66.7136 19.6545 66.6667 19.4044 66.4784 19.278C66.4089 19.2314 66.3264 19.2063 66.2418 19.2063L66.2422 19.2067Z" fill="#BABB
6927D5"/> 6928<path d="M74.1767 14.7522H69.1957C68.8554 14.7522 68.5654 14.9917 68.5125 15.317L66.4983 27.6657C66.4626 27.8844 66.6168 28.0895 66.8426 28.1239C66.8642 28.1271 66.8858 28.1288 66.9074 28.1288H69.4636C69.702 28.1288 69.9044 27.9606 69.9415 27.7332L70.513 24.2329C70.5656 23.9077 70.8555 23.6677 71.1962 23.6674H72.7722C76.0537 23.6674 77.9462 22.1324 78.4414 19.0903C78.665 17.7594 78.45 16.7137 77.8057 15.9814C77.0988 15.1773 75.8437 14.7518 74.177 14.7518L74.1767 14.7522ZM74.7511 19.2624C74.4795 20.9902 73.1139 20.9902 71.793 20.9902H71.0421L71.57 17.7633C71.6014 17.5682 71.7749 17.4244 71.9791 17.4244H72.3234C73.222 17.4244 74.0712 17.4244 74.5094 17.9203C74.7709 18.2159 74.8501 18.6554 74.7504 19.2624H74.7511ZM89.0631 19.2066H86.6798C86.4756 19.2059 86.3016 19.3501 86.2706 19.5455L86.1651 20.1904L85.9977 19.9567C85.4812 19.2321 84.3306 18.99 83.1814 18.99C80.546 18.99 78.2959 20.9202 77.8572 23.6277C77.63 24.9781 77.9527 26.2697 78.745 27.1702C79.4731 27.9982 80.5118 28.3433 81.7488 28.3433C83.8725 28.3433 85.0498 27.0232 85.0498 27.0232L84.9436 27.6639C84.9072 27.883 85.0617 28.0888 85.2878 28.1236C85.3098 28.1271 85.3321 28.1288 85.3541 28.1285H87.5016C87.8423 28.1285 88.1318 27.8885 88.1848 27.563L89.4744 19.6701C89.5093 19.4507 89.3537 19.2453 89.1269 19.2115C89.1056 19.2084 89.0844 19.2066 89.0631 19.207V19.2066ZM85.7387 23.6949C85.51 25.0122 84.4271 25.8967 83.0478 25.8967C82.3567 25.8967 81.8018 25.6819 81.4463 25.2748C81.0937 24.8705 80.9612 24.2952 81.0721 23.6545C81.2886 22.3483 82.3866 21.4349 83.7447 21.4349C84.4221 21.4349 84.9724 21.6526 85.335 22.0631C85.6998 22.4779 85.8439 23.0566 85.7384 23.6945L85.7387 23.6949ZM91.8747 15.091L89.8306 27.6657C89.7949 27.8844 89.949 28.0895 90.1748 28.1239C90.1965 28.1271 90.2181 28.1288 90.2397 28.1288H92.2946C92.636 28.1288 92.9259 27.8892 92.9785 27.5633L94.9941 15.2153C95.0298 14.9963 94.8753 14.7908 94.6488 14.7563C94.6275 14.7532 94.6063 14.7515 94.5847 14.7515H92.2834C92.0792 14.7522 91.906 14.896 91.8743 15.091H91.8747Z" fill="#BABBD5"/> 6929<g clip-path="url(#clip0_25166_17400)"> 6930<path d="M17.8195 14.1198H11.9174L9.88444 27.0452H5.6123L8.30574 10H15.3846C18.7085 10 21.0292 12.0311 21.116 14.8813C20.5422 14.4581 19.2513 14.1198 17.8195 14.1198ZM23.6376 19.0304C23.6376 22.0496 20.9725 25.0981 17.4769 25.0981H15.2695L14.2673 31.25H9.96855L11.6021 21.0341H14.7826C18.5084 21.0341 21.2868 17.8165 21.116 14.8813C21.8785 15.2725 22.5177 15.8673 22.9628 16.5996C23.4079 17.332 23.6415 18.1734 23.6376 19.0304ZM12.5478 14.9105H18.2215C19.0246 14.9105 19.941 15.1071 20.3138 15.3895C20.1411 17.8165 17.963 20.2443 14.6108 20.2443H11.7164L12.5478 14.9105Z" fill="#BABBD5"/> 6931</g> 6932<defs> 6933<clipPath id="clip0_25166_17400"> 6934<rect width="21.25" height="21.25" fill="white" transform="translate(4.00098 10)"/> 6935</clipPath> 6936</defs> 6937</svg> 6938`,LY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6939<path fill-rule="evenodd" clip-rule="evenodd" d="M48.3152 15.4892C49.232 14.353 50.6582 13.4126 52.3509 13.4126C56.1672 13.4126 59.1685 16.5707 59.1685 20.4653C59.1685 24.5246 56.1515 27.5259 52.5311 27.5259C50.6034 27.5259 49.1301 26.5385 48.5894 25.7157H48.5346V31.6792C48.5346 31.6792 48.5189 31.7497 48.4954 31.7732C48.4719 31.7967 48.4327 31.8124 48.4014 31.8124H45.0082C45.0082 31.8124 44.9377 31.7967 44.9142 31.7732C44.8907 31.7497 44.875 31.7105 44.875 31.6792V13.5537C44.875 13.5537 44.8907 13.4831 44.9142 13.4596C44.9377 13.4361 44.9769 13.4204 45.0082 13.4204H48.1819C48.1819 13.4204 48.2525 13.4361 48.276 13.4596C48.2995 13.4831 48.3152 13.5223 48.3152 13.5537V15.4971V15.4892ZM52.061 24.0701C51.7788 24.0779 51.4967 24.0544 51.2146 23.9995C50.5172 23.8506 49.8746 23.5058 49.3731 22.9886C48.8715 22.4793 48.5346 21.8289 48.4092 21.1236C48.37 20.9198 48.3543 20.7161 48.3465 20.5123C48.3465 20.2851 48.3622 20.0578 48.4014 19.8306C48.5267 19.1253 48.8637 18.4749 49.3652 17.9655C49.8668 17.4562 50.5015 17.1035 51.2068 16.9546C51.4889 16.8919 51.771 16.8684 52.0531 16.8763C52.5155 16.8763 52.97 16.9781 53.3931 17.1584C53.8241 17.3386 54.2081 17.6051 54.5372 17.942C54.8664 18.279 55.1171 18.6708 55.2895 19.1018C55.4619 19.5328 55.5481 19.9951 55.5403 20.4653C55.5403 20.9355 55.4619 21.3979 55.2895 21.8289C55.1171 22.2599 54.8585 22.6595 54.5372 22.9965C54.2081 23.3334 53.8241 23.5999 53.3931 23.7801C52.97 23.9603 52.5155 24.0622 52.061 24.0701Z" fill="#BABB
6939D5"/> 6940<path d="M26.2803 16.1319C25.4967 14.4862 24.0078 13.4283 21.7666 13.4283C21.077 13.444 20.403 13.6085 19.7918 13.922C19.1806 14.2355 18.6477 14.69 18.2402 15.2385L18.1618 15.3404V8.89105C18.1618 8.89105 18.1462 8.82053 18.1227 8.78918C18.0992 8.76567 18.06 8.75 18.0208 8.75H14.8549C14.8549 8.75 14.7844 8.76567 14.7609 8.78918C14.7374 8.81269 14.7217 8.85187 14.7217 8.89105V27.3849C14.7217 27.3849 14.7374 27.4554 14.7609 27.4789C14.7844 27.5024 14.8236 27.5181 14.8549 27.5181H18.248C18.248 27.5181 18.3186 27.5024 18.3499 27.4789C18.3734 27.4554 18.3891 27.4162 18.3891 27.3849V19.5015C18.3891 17.9656 19.4078 16.8842 21.0456 16.8842C22.8323 16.8842 23.2868 18.3574 23.2868 19.8541V27.3849C23.2868 27.3849 23.3025 27.4554 23.326 27.4789C23.3495 27.5024 23.3887 27.5181 23.42 27.5181H26.8054C26.8054 27.5181 26.8759 27.5024 26.9072 27.4789C26.9307 27.4554 26.9464 27.4162 26.9464 27.3849V19.3996C26.9464 19.1254 26.9464 18.8589 26.9072 18.6003C26.8524 17.7462 26.633 16.9077 26.2803 16.1319Z" fill="#BABBD5"/> 6941<path d="M9.34497 18.8747C9.34497 18.8747 7.62097 18.4672 6.98622 18.3027C6.35148 18.1381 5.23871 17.7933 5.23871 16.9548C5.23871 16.1163 6.13206 15.8499 7.04108 15.8499C7.95009 15.8499 8.96099 16.0693 9.03935 17.0802C9.03935 17.1194 9.06286 17.1507 9.08637 17.1742C9.10988 17.1977 9.14906 17.2134 9.18824 17.2134L12.5344 17.1977C12.5344 17.1977 12.5736 17.1977 12.5892 17.1821C12.6049 17.1742 12.6206 17.1664 12.6362 17.1507C12.6519 17.135 12.6598 17.1194 12.6676 17.1037C12.6676 17.088 12.6754 17.0645 12.6676 17.0488C12.4638 13.8202 9.62708 12.6683 7.01757 12.6683C3.9222 12.6526 1.65749 14.6979 1.65749 16.9548C1.65749 18.6004 2.11984 20.1442 5.77942 21.2178C6.422 21.4059 7.29184 21.6488 8.05197 21.8604C8.96882 22.119 9.46251 22.5029 9.46251 23.1063C9.46251 23.8116 8.44379 24.3053 7.44073 24.3053C5.991 24.3053 4.9566 23.7646 4.8704 22.8007C4.8704 22.7615 4.84689 22.7302 4.82338 22.7067C4.79987 22.6832 4.76069 22.6675 4.72935 22.6675L1.39105 22.6832C1.39105 22.6832 1.35187 22.6832 1.3362 22.691C1.32053 22.691 1.30485 22.7067 1.28918 22.7224C1.27351 22.738 1.26567 22.7537 1.25784 22.7694C1.25784 22.7851 1.25 22.8086 1.25 22.8242C1.40673 25.8726 4.34537 27.5104 7.08809 27.5104C11.1708 27.5104 13.0202 25.2143 13.0202 23.0593C13.0202 22.0484 12.793 19.7445 9.36064 18.8669L9.34497 18.8747Z" fill="#BABBD5"/> 6942<path d="M34.8296 12.6212C31.6637 12.6212 30.0886 13.6948 28.8191 14.5568L28.78 14.5803C28.7173 14.6273 28.6703 14.69 28.6546 14.7684C28.6389 14.8467 28.6546 14.9251 28.6859 14.9956L29.9398 17.1506C29.9633 17.1898 29.9946 17.229 30.0338 17.2525C30.073 17.276 30.12 17.2995 30.1592 17.3074C30.2062 17.3152 30.2532 17.3074 30.2924 17.3074C30.3394 17.2917 30.3786 17.276 30.4099 17.2447L30.5118 17.1663C31.1622 16.6178 32.2045 15.889 34.7356 15.6931C36.1462 15.5834 37.3608 15.9517 38.2541 16.7823C39.2415 17.6913 39.8292 19.1567 39.8292 20.7083C39.8292 23.5608 38.1523 25.3553 35.4487 25.3867C33.2232 25.371 31.7264 24.2112 31.7264 22.5029C31.7264 21.5939 32.1339 20.9983 32.9411 20.4106C33.0038 20.3635 33.043 20.3009 33.0665 20.2303C33.0821 20.1598 33.0665 20.0814 33.0351 20.0109L31.9145 17.8873C31.9145 17.8873 31.8675 17.8167 31.8283 17.7854C31.797 17.7619 31.7578 17.7384 31.7108 17.7227C31.6716 17.707 31.6246 17.707 31.5776 17.7149C31.5305 17.7149 31.4914 17.7384 31.4522 17.7619C30.1905 18.5063 28.6389 19.8777 28.7251 22.5107C28.827 25.8568 31.6089 28.4193 35.2293 28.5212H35.6603C39.9625 28.3802 43.0657 25.1908 43.0657 20.8572C43.0657 16.8842 40.1662 12.6291 34.814 12.6291L34.8296 12.6212Z" fill="#BABBD5"/> 6943<path fill-rule="evenodd" clip-rule="evenodd" d="M66.1663 8.79712H95.1295C97.1278 8.79712 98.7499 10.4192 98.7499 12.4175V28.2705C98.7499 30.2688 97.1278 31.8909 95.1295 31.8909H66.1663C64.168 31.8909 62.5459 30.2688 62.5459 28.2705V12.4175C62.5459 10.4192 64.168 8.79712 66.1663 8.79712ZM72.6627 21.3588C75.0763 21.3588 76.8081 19.5956 76.8081 17.1272C76.8081 14.6587 75.0763 12.8955 72.6627 12.8955H68.3997C68.3526 12.8955 68.2978 12.919 68.2664 12.9504C68.2273 12.9896 68.2116 13.0366 68.2116 13.0836V24.7911C68.2116 24.8382 68.2351 24.893 68.2664 24.9244C68.3056 24.9635 68.3526 24.9792 68.3997 24.9792H70.
69430061C70.0531 24.9792 70.108 24.9557 70.1393 24.9244C70.1785 24.8852 70.1942 24.8382 70.1942 24.7911V21.5469C70.1942 21.4999 70.2177 21.445 70.249 21.4137C70.2882 21.3745 70.3352 21.3588 70.3823 21.3588H72.6627ZM72.5373 14.6744C73.8538 14.6744 74.8177 15.7088 74.8177 17.1272C74.8177 18.5456 73.8459 19.58 72.5373 19.58H70.3823C70.3352 19.58 70.2804 19.5565 70.249 19.5251C70.2099 19.4859 70.1942 19.4389 70.1942 19.3919V14.8703C70.1942 14.8233 70.2177 14.7684 70.249 14.7371C70.2882 14.6979 70.3352 14.6822 70.3823 14.6822H72.5373V14.6744ZM77.2783 22.738C77.2626 22.3619 77.341 21.9857 77.5055 21.6409C77.6701 21.2961 77.9209 21.0062 78.2265 20.7868C78.8534 20.3166 79.8173 20.0737 81.2513 20.0188L82.7716 19.9639V19.5173C82.7716 18.6239 82.1682 18.2399 81.2043 18.2399C80.2404 18.2399 79.6292 18.5847 79.4803 19.1411C79.4725 19.1803 79.4411 19.2117 79.4098 19.243C79.3784 19.2665 79.3392 19.2822 79.2922 19.2743H77.7955C77.7955 19.2743 77.7406 19.2743 77.7171 19.2587C77.6936 19.2508 77.6701 19.2273 77.6544 19.2117C77.6387 19.1881 77.6231 19.1646 77.6152 19.1411C77.6152 19.1176 77.6074 19.0863 77.6152 19.0628C77.8425 17.7384 78.9396 16.7275 81.2827 16.7275C83.7668 16.7275 84.668 17.8873 84.668 20.0972V24.7911C84.668 24.7911 84.668 24.8382 84.6523 24.8617C84.6445 24.8852 84.6288 24.9087 84.6131 24.9244C84.5974 24.94 84.5739 24.9557 84.5504 24.9635C84.5269 24.9714 84.5034 24.9792 84.4799 24.9792H82.9675C82.9675 24.9792 82.9205 24.9792 82.8969 24.9635C82.8734 24.9557 82.8499 24.94 82.8343 24.9244C82.8186 24.9087 82.8029 24.8852 82.7951 24.8617C82.7872 24.8382 82.7794 24.8147 82.7794 24.7911V24.4385C82.7794 24.4385 82.7794 24.3758 82.7559 24.3523C82.7402 24.3288 82.7167 24.3053 82.6854 24.2975C82.654 24.2896 82.6227 24.2818 82.5992 24.2975C82.5757 24.3131 82.5443 24.321 82.5208 24.3445C82.0663 24.8382 81.3297 25.1986 80.1621 25.1986C78.4459 25.1986 77.3018 24.3053 77.3018 22.7537L77.2783 22.738ZM82.7716 21.7193V21.3588L80.8046 21.4607C79.7702 21.5155 79.159 21.9465 79.159 22.6675C79.159 23.3257 79.7154 23.6862 80.6793 23.6862C81.9958 23.6862 82.7716 22.9731 82.7716 21.7193ZM86.1725 27.1656V28.5291C86.1725 28.5761 86.1804 28.6153 86.2117 28.6545C86.2352 28.6937 86.2744 28.7172 86.3136 28.7328C86.58 28.8034 86.8543 28.8426 87.1364 28.8347C88.6018 28.8347 89.9418 28.3018 90.7098 26.2095L94.0794 17.2134C94.0794 17.2134 94.0951 17.1507 94.0794 17.1272C94.0794 17.0958 94.0638 17.0645 94.0481 17.041C94.0324 17.0175 94.0089 16.994 93.9776 16.9783C93.9462 16.9626 93.9227 16.9548 93.8914 16.9548H92.3241C92.2849 16.9548 92.2457 16.9705 92.2144 16.994C92.183 17.0175 92.1595 17.0488 92.1439 17.088L90.2866 22.785C90.2866 22.785 90.2475 22.8556 90.2161 22.8791C90.1848 22.9026 90.1456 22.9104 90.1064 22.9104C90.0672 22.9104 90.028 22.8947 89.9967 22.8791C89.9653 22.8556 89.9418 22.8242 89.9262 22.785L87.7868 17.0723C87.7868 17.0723 87.7477 17.0018 87.7163 16.9783C87.685 16.9548 87.6458 16.9469 87.6066 16.9469H86.0707C86.0707 16.9469 86.008 16.9548 85.9845 16.9705C85.961 16.9861 85.9375 17.0018 85.9139 17.0331C85.8983 17.0567 85.8826 17.088 85.8826 17.1193C85.8826 17.1507 85.8826 17.182 85.8904 17.2055L89.0407 25.3005C89.0563 25.3397 89.0563 25.3867 89.0407 25.4337L88.9388 25.7472C88.8212 26.139 88.5783 26.476 88.2492 26.7111C87.9201 26.9461 87.5126 27.0637 87.1129 27.0402C86.8778 27.0402 86.6427 27.0167 86.4076 26.9775C86.3763 26.9775 86.3528 26.9775 86.3214 26.9775C86.2901 26.9775 86.2666 27.001 86.2431 27.0167C86.2196 27.0323 86.2039 27.0559 86.1882 27.0872C86.1725 27.1107 86.1725 27.1421 86.1725 27.1734V27.1656Z" fill="#BABBD5"/> 6944</svg> 6945`,MY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6946<path d="M68.2572 11.7738L73.5372 10.828V31.0975H68.2572V11.7738ZM75.966 11.7738V31.0975H81.2488V10.828L75.966 11.7738ZM60.7359 31.0975H66.0187V16.2731H60.7359V31.0975ZM25.8294 18.3689C25.1607 18.3242 23.6161 18.2262 23.6161 16.8328C23.6161 15.1539 25.8406 15.1539 26.6772 15.1539C28.1462 15.1539 30.0462 15.5876 31.4032 15.9933C31.4032 15.9933 32.1615 16.2591 32.8051 16.5334L32.8639 16.5502V11.9529L32.7827 11.9277C31.1822 11.368 29.3187 10.828 25.8658
694610.828C19.9086 10.828 17.7988 14.2977 17.7988 17.2693C17.7988 18.9817 18.5319 23.0138 25.3509 23.4783C25.9301 23.5147 27.4635 23.6014 27.4635 25.0396C27.4635 26.226 26.2072 26.9283 24.0946 26.9283C21.7805 26.9283 19.5337 26.3379 18.1682 25.7783V30.5155C20.2108 31.05 22.5108 31.3186 25.211 31.3186C31.0339 31.3186 33.6417 28.0364 33.6417 24.785C33.6417 21.0971 30.7233 18.7019 25.8294 18.3717V18.3689ZM57.7615 16.0549C52.8788 16.2116 50.4024 18.4025 50.4024 22.7564V31.0975H55.73V24.2953C55.73 21.6875 56.0714 20.571 59.1661 20.4647V16.1332C58.6457 16.0213 57.7643 16.0577 57.7643 16.0577L57.7615 16.0549ZM43.4323 16.2563C43.3148 16.5529 42.4698 18.9397 40.4244 21.4161V10.828L34.9736 11.9053V31.0975H40.4244V25.1655C42.0025 27.5327 42.7832 31.0975 42.7832 31.0975H49.3112C48.6648 28.4141 45.8415 23.4615 45.8415 23.4615C48.3766 20.2465 49.4902 16.8216 49.6665 16.2536H43.4323V16.2563ZM63.3801 14.8517C64.8183 14.8517 65.9851 13.6877 65.9851 12.2495C65.9851 10.8112 64.8183 9.64441 63.3801 9.64441C61.9418 9.64441 60.7778 10.8112 60.7778 12.2495C60.7778 13.6877 61.9446 14.8517 63.3801 14.8517Z" fill="#BABBD5"/> 6947</svg> 6948`,BY=`<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"> 6949<path fill-rule="evenodd" clip-rule="evenodd" d="M29.7865 32.3352H22.8611L17.6679 11.9402C17.4215 11.002 16.8981 10.1727 16.1282 9.78175C14.207 8.79939 12.0898 8.01759 9.78027 7.62328V6.83808H20.9365C22.4762 6.83808 23.631 8.01759 23.8234 9.38745L26.518 24.099L33.4399 6.83808H40.1728L29.7865 32.3352ZM44.0219 32.3352H37.4814L42.8671 6.83807H49.4075L44.0219 32.3352ZM57.8694 13.9015C58.0619 12.5282 59.2167 11.743 60.5639 11.743C62.681 11.5459 64.9872 11.9402 66.9119 12.9191L68.0667 7.42951C66.142 6.6443 64.0249 6.25 62.1036 6.25C55.7557 6.25 51.1365 9.78173 51.1365 14.6833C51.1365 18.4122 54.4084 20.3701 56.718 21.5496C59.2167 22.7257 60.179 23.5109 59.9865 24.687C59.9865 26.4512 58.0619 27.2364 56.1406 27.2364C53.831 27.2364 51.5215 26.6484 49.4077 25.666L48.2529 31.159C50.5625 32.138 53.0612 32.5323 55.3707 32.5323C62.4886 32.726 66.9119 29.1977 66.9119 23.9018C66.9119 17.2327 57.8694 16.8418 57.8694 13.9015ZM89.8011 32.3352L84.608 6.83808H79.0299C77.8751 6.83808 76.7203 7.62328 76.3354 8.79939L66.7189 32.3352H
694973.4518L74.7956 28.6097H83.0682L83.8381 32.3352H89.8011ZM79.9927 13.7045L81.9139 23.3139H76.5283L79.9927 13.7045Z" fill="#BABBD5"/> 6950</svg> 6951`,EY=`<svg width="128" height="26" viewBox="0 0 128 26" fill="none" xmlns="http://www.w3.org/2000/svg"> 6952<g opacity="0.6" clip-path="url(#clip0_25195_13894)"> 6953<path d="M7.73154 10.7573L12.7113 5.78598L17.6936 10.76L20.5912 7.86717L12.7113 0L4.83398 7.86454L7.73154 10.7573Z" fill="#9092B2"/> 6954<path d="M5.68461 12.7995L2.78711 9.9068L-0.110537 12.7997L2.78697 15.6924L5.68461 12.7995Z" fill="#9092B2"/> 6955<path d="M7.73189 14.8427L12.7116 19.814L17.6938 14.8402L20.593 17.7314L20.5915 17.733L12.7116 25.6L4.83413 17.7357L4.83008 17.7316L7.73189 14.8427Z" fill="#9092B2"/> 6956<path d="M22.6356 15.6937L25.5332 12.8008L22.6357 9.90804L19.7381 12.8009L22.6356 15.6937Z" fill="#9092B2"/> 6957<path d="M15.6503 12.7985H15.6515L12.7112 9.86304L10.5383 12.0324H10.5381L10.2886 12.2817L9.77358 12.7959L9.76953 12.7999L9.77358 12.8042L12.7112 15.737L15.6515 12.8015L15.6529 12.7999L15.6503 12.7985Z" fill="#9092B2"/> 6958<path d="M30.0488 6.20309H36.3509C37.915 6.20309 39.0977 6.60384 39.8993 7.40534C40.5197 8.02608 40.8297 8.79542 40.8297 9.71318V9.752C40.8297 10.1398 40.7817 10.4825 40.6851 10.7798C40.5887 11.0774 40.4599 11.3453 40.2989 11.5845C40.1383 11.8239 39.9516 12.034 39.7393 12.2147C39.5269 12.3959 39.2986 12.5512 39.0542 12.6802C39.8404 12.9778 40.4593 13.3816 40.9106 13.8923C41.3616 14.4033 41.5874 15.1112 41.5874 16.016V16.0546C41.5874 16.6753 41.4679 17.2182 41.2287 17.6839C40.9895 18.1491 40.6469 18.5371 40.2007 18.8475C39.7545 19.1579 39.218 19.3904 38.591 19.5457C37.964 19.7008 37.2691 19.7782 36.5066 19.7782H30.0488V6.20309ZM35.7208 11.6912C36.3814 11.6912 36.906 11.5784 37.2942 11.352C37.6827 11.1257 37.8769 10.7603 37.8769 10.2563V10.2175C37.8769 9.76515 37.7084 9.41939 37.3718 9.18C37.035 8.9408 36.5493 8.8211 35.915 8.8211H32.9624V11.6912H35.7208ZM36.5173 17.1604C37.1778 17.1604 37.6954 17.0411 38.0713 16.8017C38.4468 16.5625 38.6348 16.1907 38.6348 15.6864V15.6478C38.6348 15.1953 38.4598 14.8366 38.1102 14.5713C37.7604 14.3066 37.1972 14.174 36.4201 14.174H32.9624V17.1606L36.5173 17.1604Z" fill="#9092B2"/> 6959<path d="M45.3418 6.20312H48.3335V19.7786H45.3418V6.20312Z" fill="#9092B2"/> 6960<path d="M52.8652 6.20312H55.6232L61.995 14.5618V6.20312H64.9476V19.7786H62.403L55.8177 11.1486V19.7786H52.8652V6.20312Z" fill="#9092B2"/> 6961<path d="M74.0039 6.10626H76.7621L82.59 19.7786H79.4624L78.2191 16.734H72.4692L71.226 19.7786H68.1758L74.0039 6.10626ZM77.1508 14.0962L75.344 9.69399L73.5379 14.0962H77.1508Z" fill="#9092B2"/> 6962<path d="M85.8203 6.20309H88.5789L94.9502 14.5618V6.20309H97.9029V19.7786H95.3583L88.7729 11.1486V19.7786H85.8203V6.20309Z" fill="#9092B2"/> 6963<path d="M108.667 20.0112C107.67 20.0112 106.744 19.83 105.889 19.4683C105.034 19.1065 104.296 18.6118 103.675 17.9846C103.053 17.3576 102.567 16.6173 102.218 15.7641C101.868 14.9106 101.693 13.9991 101.693 13.0294V12.9908C101.693 12.0211 101.868 11.113 102.218 10.266C102.567 9.41922 103.053 8.67575 103.675 8.03581C104.296 7.39587 105.041 6.89139 105.908 6.52299C106.776 6.1546 107.735 5.9704 108.784 5.9704C109.418 5.9704 109.997 6.02236 110.522 6.12548C111.046 6.22921 111.522 6.37115 111.95 6.55211C112.377 6.73328 112.772 6.95306 113.135 7.21146C113.497 7.47027 113.834 7.75456 114.145 8.06493L112.241 10.2563C111.71 9.77811 111.169 9.40284 110.619 9.1315C110.068 8.86015 109.45 8.72428 108.764 8.72428C108.194 8.72428 107.666 8.83427 107.181 9.05406C106.695 9.27384 106.278 9.57754 105.928 9.96535C105.578 10.3532 105.306 10.8026 105.112 11.3132C104.918 11.8241 104.821 12.3702 104.821 12.952V12.9906C104.821 13.5723 104.918 14.1221 105.112 14.6389C105.306 15.1563 105.575 15.6086 105.918 15.9964C106.261 16.3842 106.676 16.6915 107.161 16.9178C107.647 17.1442 108.181 17.2571 108.764 17.2571C109.541 17.2571 110.198 17.1149 110.735 16.8304C111.273 16.5464 111.807 16.1583 112.338 15.6668L114.242 17.5868C113.892 17.9619 113.529 18.2982 113.154 18.5952C112.778 18.8928 112.367 19.148 111.92 19.3615C111.474 19.5746 110.984 19.7366 110.454 19.8462C109.923 19.956 109.327 20.0112 108.667 20.0112Z" fill="#9092B2"/> 6964<path d="M117.764 6.20309H128.001V8.86013H120.717V11.614H127.127V14.2708H120.717V17.1218H128.098V19.7786H117.764V6.20309Z" fill="#9092B2"/> 6965</g> 6966<defs> 6967<clipPath id="clip0_25195_13894"> 6968<rect width="128" height="25.6" fill="white"/> 6969</clipPath> 6970</defs> 6971</svg> 6972`,RY=`<svg width="135" height="23" viewBox="0 0 135 23" fill="none" xmlns="http://www.w3.org/2000/svg"> 6973<g opacity="0.6" clip-path="url(#clip0_25334_12259)">
6974<path d="M0.44009 1.60366L5.14096 1.6098C7.69793 1.60751 10.7111 1.36041 13.0269 2.61122C13.8541 3.05801 14.7115 4.02884 14.8988 4.97694C15.4253 7.6439 14.5952 9.6664 11.8577 10.3885C12.1581 10.4522 12.7019 10.6166 12.9903 10.7375C14.0402 11.1776 14.8728 12.0166 15.3055 13.0705C15.8373 14.3829 15.6337 15.7985 15.0971 17.0673C13.3792 20.752 9.00978 20.3568 5.64914 20.358C3.80931 20.3635 1.96946 20.3595 0.129665 20.346C0.053295 18.3785 0.144229 15.7782 0.163764 13.7708C0.189255 10.939 0.181107 8.10695 0.139318 5.27533C0.133027 4.44624 0.0933827 2.64055 0.153434 1.73986C0.158625 1.662 0.339861 1.63321 0.44009 1.60366ZM4.25961 17.5115C5.47316 17.5178 6.68678 17.5248 7.90039 17.5241C8.96312 17.5236 9.89499 17.4378 10.7088 16.6915C11.6813 15.5809 11.709 13.6396 10.6076 12.7217C9.34965 11.6733 5.78995 12.0156 4.18856 12.021C4.18477 13.8514 4.20846 15.6818 4.25961 17.5115ZM4.19296 9.14372C5.67403 9.15318 9.22529 9.46914 10.3042 8.52125C11.5609 7.08686 10.8977 4.77796 9.02218 4.54612C7.56557 4.36608 5.72697 4.46217 4.24062 4.47145C4.21064 6.02869 4.19476 7.58616 4.19296 9.14372Z" fill="#9092B2"/> 6975<path d="M51.329 6.23498C55.3181 5.61145 59.0571 8.34266 59.6806 12.3357C60.3042 16.3287 57.5762 20.0717 53.5871 20.6964C49.5973 21.3213 45.857 18.5899 45.2333 14.5961C44.6097 10.6022 47.3389 6.85861 51.329 6.23498ZM53.0079 17.9485C54.5892 17.6621 55.1398 16.3508 55.296 14.8708C55.5526 12.4392 55.3683 8.58144 51.9516 8.94851C49.2422 9.62241 49.2454 13.3651 49.6907 15.5587C50.0382 17.2703 51.2953 18.1912 53.0079 17.9485Z" fill="#9092B2"/> 6976<path d="M104.837 6.2432C108.824 5.60431 112.572 8.32306 113.208 12.3141C113.843 16.3053 111.124 20.0559 107.137 20.6893C103.154 21.3221 99.4111 18.6041 98.7758 14.6168C98.1406 10.6295 100.854 6.88151 104.837 6.2432ZM106.366 17.9769C107.189 17.8185 107.608 17.7327 108.094 16.9987C108.819 15.9046 108.883 14.6952 108.887 13.4341C108.895 11.2429 108.291 8.6228 105.512 8.94783C102.642 9.75304 102.842 13.4138 103.305 15.8019C103.603 17.3401 104.838 18.0598 106.366 17.9769Z" fill="#9092B2"/> 6977<path d="M73.2556 6.26699C73.4111 6.25151 73.5667 6.24354 73.7229 6.2431C76.9884 6.24084 78.6821 8.41183 78.6828 11.5984C78.6835 14.509 78.7524 17.4236 78.7497 20.3316C77.8218 20.4219 75.6352 20.3546 74.6469 20.3469C74.557 17.4489 74.7807 14.4831 74.658 11.5816C74.5537 9.1197 72.163 8.47732 70.5597 10.3365C69.391 11.7478 69.6036 13.9801 69.6206 15.7265L69.6613 20.3407C68.6422 20.4055 66.5507 20.3657 65.5176 20.3424C65.5682 15.759 65.5009 11.1411 65.5704 6.57451C66.6393 6.52157 68.4033 6.55054 69.4822 6.57057C69.4946 7.0294 69.4376 7.77819 69.4146 8.2574C69.4461 8.21765 69.4782 8.17817 69.5104 8.13902C70.5151 6.92161 71.7154 6.41277 73.2556 6.26699Z" fill="#9092B2"/> 6978<path d="M37.1859 6.26567C37.2185 6.25905 37.2468 6.25468 37.2797 6.25165C40.8981 5.9184 44.0884 7.51331 44.3994 11.4897C43.3107 11.5427 41.7828 11.4972 40.6621 11.4873C40.448 10.2833 39.9328 9.29566 38.6034 9.00091C34.4661 8.08356 34.1648 16.9633 37.2542 17.8494C39.5876 18.5187 40.4221 17.0392 40.7962 14.9941L41.6549 15.0107C42.2577 15.0128 43.9632 14.9686 44.4654 15.0512C44.9229 15.541 43.8375 17.85 43.4209 18.3408C42.3344 19.7029 40.9464 20.4283 39.2222 20.6441C35.1746 21.1506 31.5958 19.1175 31.1234 14.7712C30.6531 10.445 32.5146 6.79592 37.1859 6.26567Z" fill="#9092B2"/> 6979<path d="M90.7292 6.26611C92.3062 5.95777 94.7408 6.4822 95.9497 7.51176C97.2923 8.65508 97.7662 9.76923 97.9486 11.4909C96.7194 11.518 95.3991 11.4921 94.1633 11.4904C94.0019 10.6464 93.5885 9.50431 92.7636 9.1911C90.2016 8.21831 88.8438 10.4677 88.7992 12.7071C88.7125 14.6467 88.8248 17.61
697974 91.2772 17.9773C93.3548 18.2821 94.0249 16.7086 94.3025 15.0202C94.565 14.9958 94.9338 15.0082 95.2061 15.0104C96.1623 15.0089 97.1598 14.9927 98.112 15.0366C97.9729 18.241 95.6504 20.3565 92.5549 20.6665C88.3148 21.0911 84.9955 18.8783 84.6458 14.4284C84.3163 10.2367 86.2149 6.69872 90.7292 6.26611Z" fill="#9092B2"/> 6980<path d="M23.5547 3.11544C24.3802 3.10843 26.546 3.05156 27.2577 3.16954C27.3144 3.96178 27.2475 5.70336 27.241 6.56119L30.577 6.56192C30.5916 7.52211 30.5895 8.48242 30.5708 9.44253C29.7402 9.50343 28.1211 9.45672 27.2406 9.45928L27.2501 13.9458C27.2642 17.1811 26.9225 18.1909 30.5349 17.4861C30.5511 18.0237 30.5485 18.5846 30.5528 19.1243C30.5679 19.4269 30.6254 19.8409 30.4634 20.0878C29.9287 20.5417 28.5073 20.5781 27.7814 20.6057C25.6598 20.6866 23.8202 19.683 23.3534 17.4924C23.1425 16.5029 23.2284 15.2382 23.2317 14.1883L23.2508 9.45337L21.5228 9.44969L21.5059 6.57291C22.025 6.54365 22.7375 6.56046 23.2717 6.55665C23.2198 5.94465 23.159 3.857 23.3111 3.21398C23.3205 3.17479 23.493 3.13468 23.5547 3.11544Z" fill="#9092B2"/> 6981<path d="M16.4744 6.57349C17.8105 6.54275 19.1914 6.56132 20.5314 6.56405C20.5697 7.1823 20.5398 8.13479 20.5381 8.77546L20.5225 13.2089C20.5215 15.3233 20.6384 18.3146 20.527 20.3463C19.1733 20.3596 17.8196 20.3613 16.4659 20.3515C16.4501 19.792 16.4589 19.1982 16.4686 18.6363C16.5376 14.6218 16.4087 10.5849 16.4744 6.57349Z" fill="#9092B2"/> 6982<path d="M60.4365 6.57575C61.6545 6.51542 63.2342 6.56042 64.4792 6.56029C64.5321 7.22292 64.4972 8.18888 64.4895 8.86442L64.4462 12.7784C64.428 15.2899 64.5341 17.8378 64.4908 20.3404C63.4625 20.4195 61.5103 20.3569 60.4153 20.3458C60.3872 19.7989 60.4213 18.886 60.4252 18.3177L60.4463 14.3118C60.4532 11.8093 60.3624 9.04172 60.4365 6.57575Z" fill="#9092B2"/> 6983<path d="M79.6851 16.4991C80.8585 16.4364 82.6421 16.4799 83.8437 16.503C83.9002 17.209 83.893 19.6558 83.8385 20.3463C82.5056 20.3891 81.0074 20.3542 79.6621 20.3517C79.6536 19.349 79.5932 17.425 79.6851 16.4991Z" fill="#9092B2"/> 6984<path d="M60.4691 1.60705C61.7861 1.60556 63.1802 1.58357 64.49 1.62953C64.5175 2.13012 64.5715 4.92783 64.4269 5.28076C63.457 5.33749 61.4173 5.31528 60.4435 5.28042C60.31 4.60797 60.2314 2.18576 60.4691 1.60705Z" fill="#9092B2"/> 6985<path d="M16.7955 1.60383C18.0206 1.604 19.323 1.58472 20.5404 1.62961C20.5495 2.6238 20.6143 4.17467 20.4944 5.18833C20.4891 5.23246 20.3821 5.26835 20.3268 5.29444C19.0547 5.2966 17.737 5.31457 16.4694 5.28084C16.4504 4.81444 16.3952 1.98221 16.5105 1.66769L16.7955 1.60383Z" fill="#9092B2"/> 6986<path d="M117.843 8.29153C118.56 7.49446 118.786 7.02781 119.875 6.58237C121.014 6.11632 122.613 6.10529 123.744 6.57744C124.75 6.99719 125.395 7.7829 125.8 8.76949C125.901 8.60881 126.005 8.44952 126.111 8.29166C126.79 7.27762 127.515 6.56518 128.754 6.33581C129.897 6.124 131.492 6.19742 132.468 6.89282C134.135 8.07969 134.067 9.33829 134.4 11.0633V20.3137C133.873 20.4078 131.044 20.3522 130.32 20.3465C130.129 17.2408 130.655 13.8555 130.247 10.7323C130.147 9.96004 129.459 9.18491 128.643 9.27694C125.845 9.59264 126.206 14.0969 126.233 16.1512C126.253 17.5486 126.265 18.946 126.269 20.3436C125.023 20.399 123.459 20.3546 122.189 20.3538C122.111 18.4633 122.622 11.251 121.832 9.94618C121.542 9.46586 121.012 9.33941 120.507 9.21249C117.724 9.95432 118.064 13.6518 118.091 15.9121C118.118 17.3895 118.131 18.8672 118.127 20.345C117.068 20.3955 115.03 20.3815 113.98 20.3347C114.062 15.744 114.016 11.1549 114.064 6.57166C115.282 6.52752 116.71 6.56057 117.944 6.55772C117.938 7.20707 117.913 7.64574 117.843 8.29153Z" fill="#9092B2"/> 6987</g> 6988<defs> 6989<clipPath id="clip0_25334_12259"> 6990<rect width="134.4" height="22.4" fill="white"/> 6991</clipPath> 6992</defs> 6993</svg> 6994`,TY=`<svg width="149" height="26" viewBox="0 0 149 26" fill="none" xmlns="http://www.w3.org/2000/svg"> 6995<path opacity="0.6" d="M21.8312 15.2374C21.3866 15.509 20.868 15.5584 20.4729 15.3361C19.979 15.0398 19.6826 14.373 19.6826 13.4593V10.6686C19.6826 9.33505 19.164 8.3719 18.275 8.12494C16.7685 7.68042 15.6325 9.53261 15.2127 10.2241L12.5455 14.4965V9.23626C12.5208 8.02616 12.1257 7.30999 11.3848 7.08772C10.8909 6.93955 10.15 7.01364 9.43383 8.10026L3.48212 17.6329C2.69185 16.1264 2.27202 14.4471 2.27202 12.7431C2.27202 6.98894 6.89015 2.32141 12.5455 2.32141C18.2009 2.32141 22.819 6.98894 22.819 12.7431V12.7678V12.7925C22.8684 13.9038 22.5226 14.7928 21.8312 15.2374ZM25.091 12.7431V12.7184V12.6937C25.0663 5.70475 19.4357 0 12.5455 0C5.63066 0 0 5.70475 0 12.7431C0 19.7567 5.63066 25.4862 12.5455 25.4862C15.7313 25.4862 18.7442 24.2761 21.0656 22.0781C21.5348 21.6336 21.5595 20.9174 21.115 20.4482C20.6952 19.979 19.979 19.9543 19.5097 20.3741C19.5097 20.3741 19.5097 20.3741 19.4851 20.3988C17.6082 22.1769 15.0892 23.1894 12.4961 23.1894C9.45852 23.1894 6.74198 21.8559 4.86509 19.732L10.2241 11.
69951378V15.1139C10.2241 17.0155 10.965 17.6329 11.5824 17.8057C12.1998 17.9786 13.1382 17.8551 14.1507 16.2499L17.0896 11.4836C17.1883 11.3354 17.2624 11.1872 17.3612 11.0885V13.5087C17.3612 15.2868 18.0774 16.7191 19.3122 17.4106C20.4235 18.0527 21.8312 17.9786 22.9919 17.2624C24.4242 16.324 25.1898 14.6941 25.091 12.7431ZM42.5757 8.3966C42.8721 8.56947 43.1437 8.9893 43.1437 9.35974C43.1437 9.95244 42.6498 10.4464 42.0818 10.4464C41.9336 10.4464 41.8101 10.397 41.6867 10.3723C41.0199 9.87835 40.1802 9.55731 39.2912 9.55731C37.192 9.55731 35.7596 11.2613 35.7596 13.3852C35.7596 15.509 37.2167 17.1883 39.2912 17.1883C40.3284 17.1883 41.2668 16.7685 41.9583 16.1017C42.1312 15.9782 42.3534 15.9041 42.5757 15.9041C43.1437 15.9041 43.5882 16.3487 43.5882 16.9167C43.5882 17.2871 43.366 17.6082 43.0943 17.781C42.0818 18.6454 40.7235 19.2134 39.3158 19.2134C36.1054 19.2134 33.4876 16.5709 33.4876 13.3111C33.4876 10.0512 36.1054 7.40877 39.3158 7.40877C40.5013 7.38407 41.6373 7.75451 42.5757 8.3966ZM48.4533 10.8662C50.6513 10.8662 52.4788 12.7184 52.4788 15.0151C52.4788 17.2871 50.6266 19.2381 48.4533 19.2381C46.1566 19.2381 44.255 17.3118 44.255 15.0151C44.255 12.7184 46.1566 10.8662 48.4533 10.8662ZM48.4286 17.1883C49.3918 17.1883 50.2067 16.2746 50.2067 15.0398C50.2067 13.805 49.3918 13.0147 48.4286 13.0147C47.3914 13.0147 46.5271 13.7803 46.5271 15.0398C46.5271 16.2499 47.3914 17.1883 48.4286 17.1883ZM53.8617 17.9539V12.1257C53.8617 11.4836 54.3556 10.965 54.9977 10.965C55.6151 10.965 56.1337 11.4836 56.1337 12.1257V17.9539C56.1337 18.596 55.6151 19.1146 54.9977 19.1146C54.3803 19.1146 53.8617 18.5713 53.8617 17.9539ZM53.6889 8.76704C53.6889 8.00147 54.2816 7.40877 54.9977 7.40877C55.7386 7.40877 56.3313 8.02616 56.3313 8.76704C56.3313 9.50792 55.7386 10.1006 54.9977 10.1006C54.2569 10.0759 53.6889 9.48322 53.6889 8.76704ZM60.4802 14.7928V17.9539C60.4802 18.596 59.9616 19.1146 59.3442 19.1146C58.7268 19.1146 58.2082 18.596 58.2082 17.9539V11.854C58.2082 11.3601 58.6033 10.965 59.0973 10.965C59.5912 10.965 59.9616 11.3848 59.9616 11.854C60.8754 10.9897 61.6903 10.8662 62.4559 10.8662C64.7279 10.8662 65.7404 12.5702 65.7404 14.5212V17.9539C65.7404 18.596 65.2218 19.1146 64.6044 19.1146C63.987 19.1146 63.4684 18.596 63.4684 17.9539V14.7928C63.4684 13.805 63.3449 12.9653 61.9126 12.9653C60.9001 12.9653 60.4802 13.805 60.4802 14.7928ZM73.0998 16.0029C72.8282 16.0029 72.6553 15.8795 72.5071 15.7066L69.8647 12.8419V17.9539C69.8647 18.596 69.346 19.1146 68.7286 19.1146C68.1113 19.1146 67.5926 18.596 67.5926 17.9539V7.8286C67.6667 7.65573 67.8396 7.53225 68.0125 7.53225C68.21 7.53225 68.3829 7.70512 68.5064 7.8286L72.7294 12.5702C72.8529 12.7184 73.001 12.7925 73.0998 12.7925C73.1739 12.7925 73.3468 12.7184 73.4703 12.5702L77.6933 7.8286C77.8167 7.70512 77.9649 7.53225 78.1872 7.53225C78.3847 7.53225 78.5576 7.65573 78.607 7.8286V17.9539C78.607 18.596 78.1131 19.1146 77.471 19.1146C76.8536 19.1146 76.335 18.596 76.335 17.9539V12.8419L73.6925 15.7066C73.4949 15.8795 73.3221 16.0029 73.0998 16.0029ZM84.0154 17.1883C85.0279 17.1883 85.8923 16.2746 85.8923 15.0398C85.8923 13.805 85.0032 12.99 84.0154 12.99C83.0276 12.99 82.2126 13.8297 82.2126 15.0398C82.2126 16.2252 83.0029 17.1883 84.0154 17.1883ZM86.4356 18.2256L86.3862 17.9539C85.9417 18.8183 84.534 19.2134 83.645 19.2134C81.5211 19.2134 79.9406 17.2871 79.9406 14.9904C79.9406 12.7184 81.5458 10.8415 83.7684 10.8415C84.1389 10.8415 85.4231 10.9403 86.4109 12.101L86.4603 11.8293C86.4603 11.3354 86.8307 10.9403 87.3246 10.9403C87.8186 10.9403 88.2137 11.3601 88.2137 11.8293V18.2009C88.2137 18.6948 87.8186 19.0899 87.3246 19.0899C86.806 19.1146 86.4356 18.6948 86.4356 18.2256ZM94.4618 12.9653H94.2148C92.7824 13.0394 92.5108 13.8544 92.5108 14.7928V17.9539C92.5108 18.596 91.9922 19.1146 91.3748 19.1146C90.7574 19.1146 90.2388 18.596 90.2388 17.9539V11.854C90.2388 11.3601 90.6339 10.965 91.1278 10.965C91.6217 10.965 91.9922 11.3848 91.9922 11.854C92.8318 11.0638 93.5233 10.8909 94.2148 10.8662H94.4371C94.9804 10.8662 95.4743 11.3354 95.4743 11.9281C95.499 12.4714 95.0051 12.9653 94.4618 12.9653ZM103.229 17.4106C103.328 17.5835 103.402 17.7563 103.402 17.9539C103.402 18.5466 102.858 19.0899 102.266 19.0899C101.871 19.0899 101.525 18.7936 101.253 18.4478L98.6354 15.4102V17.9292C98.6354 18.5713 98.1168 19.0899 97.4994 19.0899C96.882 19.0899 96.3633 18.5713 96.3633 17.9292V8.66826C96.3633 8.02616 96.8573 7.50755 97.4994 7.50755C98.1414 7.50755 98.6354 8.02616 98.6354 8.66826V14.4471L101.253 11.5577C101.525 11.2613 101.846 10.9403 102.241 10.9403C102.809 10.9403 103.328 11.4589 103.328 12.0516C103.328 12.2245 103.278 12.422 103.179 12.5702L101.105 14.8422L103.229 17.4106ZM107.674 12.99C107.057 12.99 106.044 13.3111 106.044 14.2742H109.329C109.304 13.3111 108.267 12.99 107.674 12.99ZM110.638 15.7313H106.044C106.044 17.0896 107.353 17.3118 107.921 17.3118C108.341 17.3118 108.934 17.2377 109.403 17.0155C109.551 16.9167 109.773 16.8426 109.995 16.8426C110.489 16.8426 110.909 17.2624 110.909 17.781C110.909 18.1268 110.687 18.4231 110.415 18.596C109.724 19.1146 108.81 19.2381 107.946 19.2381C105.649 19.2381 103.747 18.0033 103.747 15.1139C103.747 12.8419 104.908 10.8662 107.625 10.8662C109.823 10.8662 111.477 12.2986 111.527 14.8422C111.527 15.3115 111.131 15.7313 110.638 15.7313ZM116.96 19.2134H116.342C114.614 19.2134 113.601 18.4478 113.601 15.756V12.9653H113.008C112.465 12.9653 111.996 12.4714 111.996 11.9281C111.996 11.3354 112.49 10.8662 113.008 10.8662H113.601V8.71765C113.601 8.07556 114.095 7.55694 114.737 7.55694C115.354 7.55694 115.873 8.07556 115.873 8.71765V10.8662H116.812C117.355 10.8662 117.824 11.3354 117.824 11.9281C117.824 12.4714 117.33 12.9653 116.812 12.9653H115.873V15.3114C115.873 16.8673 115.947 17.1883 116.639 17.1883H116.96C117.503 17.1883 117.972 17.6329 117.972 18.2009C117.972 18.7442 117.503 19.2134 116.96 19.2134ZM127.949 8.3966C128.246 8.56947 128.517 8.9893 128.517 9.35974C128.517 9.95244 128.023 10.4464 127.455 10.4464C127.307 10.4464 127.184 10.397 127.06 10.3723C126.394 9.87835 125.554 9.55731 124.665 9.55731C122.566 9.55731 121.133 11.2613 121.133 13.3852C121.133 15.509 122.59 17.1883 124.665 17.1883C125.702 17.1883 126.64 16.7685 127.332 16.1017C127.505 15.9782 127.727 15.9041 127.949 15.9041C128.517 15.9041 128.962 16.3487 128.962 16.9167C128.962 17.2871 128.74 17.6082 128.468 17.781C127.455 18.6454 126.097 19.2134 124.69 19.2134C121.479 19.2134 118.861 16.5709 118.861 13.3111C118.861 10.0512 121.479 7.40877 124.69 7.40877C125.875 7.38407 127.036 7.75451 127.949 8.3966ZM133.704 17.1883C134.716 17.1883 135.58 16.2746 135.58 15.0398C135.58 13.805 134.691 12.99 133.704 12.99C132.691 12.99 131.901 13.8297 131.901 15.0398C131.901 16.2252 132.716 17.1883 133.704 17.1883ZM136.124 18.2256L136.074 17.9539C135.63 18.8183 134.222 19.2134 133.333 19.2134C131.209 19.2134 129.629 17.2871 129.629 14.9904C129.629 12.7184 131.234 10.8415 133.457 10.8415C133.827 10.8415 135.111 10.9403 136.099 12.101L136.148 11.8293C136.148 11.3354 136.519 10.9403 137.013 10.9403C137.507 10.9403 137.902 11.3601 137.902 11.8293V18.2009C137.902 18.6948 137.507 19.0899 137.013 19.0899C136.494 19.1146 136.124 18.6948 136.124 18.2256ZM144.1 17.1883C145.113 17.1883 145.903 16.2252 145.903 15.0398C145.903 13.805 145.088 12.99 144.1 12.99C143.088 12.99 142.224 13.805 142.224 15.0398C142.224 16.2746 143.088 17.1883 144.1 17.1883ZM142.224 18.5466V21.436C142.224 22.0781 141.705 22.5967 141.088 22.5967C140.47 22.5967 139.952 22.0781 139.952 21.436V11.854C139.952 11.3601 140.347 10.965 140.841 10.965C141.335 10.965 141.705 11.3848 141.705 11.9528C142.545 11.0885 143.582 10.8662 144.372 10.8662C146.57 10.8662 148.2 12.7184 148.2 15.0151C148.2 17.2871 146.644 19.2381 144.496 19.2381C143.829 19.2134 142.841 19.0158 142.224 18.5466Z" fill="#9092B2"/> 6996</svg> 6997`,IY=`<svg width="126" height="23" viewBox="0 0 126 23" fill="none" xmlns="http://www.w3.org/2000/svg"> 6998<g opacity="0.6" clip-path="url(#clip0_25195_13807)"> 6999<path fill-rule="evenodd" clip-rule="evenodd" d="M53.3281 10.7121C52.5581 10.2501 51.5557 10.0184 50.631 9.86441C50.246 9.78741 49.784 9.71041 49.3983 9.63341C48.7823 9.47941 47.3172 9.17071 47.3172 8.32301C47.3172 7.63001 48.1649 7.39831 48.8586 7.39831C50.092 7.39831 50.8627 7.78331 51.0937 8.93971L54.6385 7.93731C54.2535 5.54891 51.2477 4.77821 48.9356 4.77821C46.5465 4.77821 43.3104 5.54821 43.3104 8.55401C43.3104 11.1741 45.3138 11.7908 47.3942 12.2535C47.9339 12.3305 48.4736 12.4845 48.9356 12.6385C49.6293 12.7925 50.9397 13.0235 50.9397 13.9489C50.9397 14.8729 49.7833 15.2586 48.8586 15.2586C47.5489 15.2586 46.6242 14.4886 46.4695 13.1782L43.0017 14.1022C43.4637 16.954 46.3155 17.8017 48.9356 17.8017C51.8644 17.8017 54.9465 16.646 54.9465 13.4092C54.8695 12.3305 54.2535 11.3281 53.3281 10.7121ZM0 17.57H4.3925V0.847015L0 2.08111V17.57ZM13.6402 4.85521C12.1765 4.85521 10.4804 5.62521 9.71039 7.
699901261V4.77821L5.7799 5.85691V17.5707H9.78739V10.7891C9.78739 9.24771 10.5574 8.16901 12.0988 8.16901C14.1029 8.16901 14.0259 9.94141 14.0259 11.4828V17.57H18.0334V9.63201C18.1104 6.62691 16.877 4.85521 13.6402 4.85521ZM36.5281 4.85521C32.8293 4.85521 29.9012 7.55231 29.9012 11.3281C29.9012 15.5673 32.7523 17.8787 36.6828 17.8787C38.6862 17.8787 40.9983 17.1857 42.4627 15.9523L41.3833 13.0235C40.3823 14.3339 38.6862 15.1816 36.9138 15.1816C35.7581 15.1816 34.6017 14.7196 34.2167 13.6402L42.7707 11.2511C42.7707 7.39831 40.3809 4.85521 36.5281 4.85521ZM33.831 11.0201C33.754 9.24771 34.6787 7.55231 36.5288 7.55231C37.7615 7.55231 38.6862 8.47701 38.9172 9.63341L33.831 11.0201ZM61.8058 7.78331L62.4987 5.16321H59.5707V1.77241L55.5632 2.92881V13.3322C55.5632 16.723 56.4879 17.7247 59.8787 17.6477C60.3407 17.6477 61.112 17.5707 61.6511 17.4937L62.4987 14.4109C61.9597 14.5649 60.8804 14.7189 60.2644 14.4879C59.8024 14.3339 59.5707 13.9489 59.5707 13.4092V7.78331H61.8058ZM26.6644 5.16321L24.3523 13.4092L22.0402 5.16321H17.8017L21.8862 17.4937H26.5104L30.6712 5.16321H26.6644ZM102.264 16.954C100.492 16.954 99.5672 15.1816 99.5672 13.4862C99.5672 11.7908 100.492 10.0184 102.264 10.0184C103.42 10.0184 104.191 10.7884 104.422 11.9448L105.346 11.7138C105.038 10.0184 103.806 9.17071 102.264 9.17071C99.8752 9.17071 98.5648 11.1741 98.5648 13.4862C98.5648 15.7983 99.8752 17.8017 102.264 17.8017C103.96 17.8017 105.115 16.646 105.423 14.9506L104.499 14.7196C104.345 15.8753 103.42 16.954 102.264 16.954ZM110.048 9.17071C107.659 9.17071 106.349 11.1741 106.349 13.4862C106.349 15.7983 107.659 17.8017 110.048 17.8017C112.437 17.8017 113.746 15.7983 113.746 13.4862C113.746 11.1741 112.437 9.17071 110.048 9.17071ZM110.048 16.9547C108.275 16.9547 107.351 15.1816 107.351 13.4862C107.351 11.7908 108.275 10.0184 110.048 10.0184C111.82 10.0184 112.745 11.7908 112.745 13.4862C112.745 15.1816 111.82 16.954 110.048 16.954V16.9547ZM123.303 9.17071C122.224 9.17071 121.299 9.70971 120.837 10.7891C120.528 9.71041 119.603 9.17071 118.602 9.17071C117.446 9.17071 116.521 9.70971 115.982 10.8661V9.24771L115.057 9.47871V17.4167H116.059V12.8695C116.059 11.3281 116.675 9.86441 118.371 9.86441C119.526 9.86441 119.989 10.7884 119.989 11.8678V17.3397H120.991V12.7925C120.991 11.4058 121.453 9.86441 123.149 9.86441C124.459 9.86441 124.998 10.6344 124.998 11.9448V17.4167H126V11.9448C125.923 10.2494 125.152 9.17071 123.303 9.17071ZM76.2936 4.85521C74.8292 4.85521 73.1338 5.62521 72.3631 7.01261V4.77821L68.4326 5.85691V17.5707H72.4401V10.7891C72.4401 9.24771 73.2108 8.16901 74.7522 8.16901C76.7556 8.16901 76.6786 9.94141 76.6786 11.4828V17.57H80.6861V9.63201C80.7631 6.62691 79.5304 4.85521 76.2936 4.85521ZM63.0385 17.57H67.0459V4.77821L63.0385 5.93391V17.57ZM96.1757 17.57H97.4861V15.8746H96.1757V17.57ZM90.4735 6.70391C89.7028 5.47121 88.5464 4.77751 87.0827 4.77751C83.6149 4.77751 81.6878 7.55161 81.6878 10.7884C81.6878 14.2562 83.3832 16.8763 87.0827 16.9533C88.3924 16.9533 89.6258 16.2603 90.3965 15.1039V16.3373C90.3965 17.878 89.7028 19.1884 88.0074 19.1884C86.928 19.1884 86.0033 18.5724 85.6953 17.493L82.0735 18.4947C82.9212 21.1148 85.4643 21.8085 87.8534 21.8085C91.3982 21.8085 94.3263 19.8821 94.3263 15.9516V4.70121L90.4735 5.77921V6.70461V6.70391ZM88.0074 13.9482C86.312 13.9482 85.6953 12.4838 85.6953 11.0194C85.6953 9.47801 86.235 7.93661 88.0844 7.93661C89.8568 7.93661 90.5505 9.47801 90.4735 11.0194C90.4735 12.5608 89.7798 13.9482 88.0074 13.9482Z" fill="#9092B2"/> 7000<path fill-rule="evenodd" clip-rule="evenodd" d="M62.9609 1.1557L67.2764 0V3.6218L62.9609 4.7782V1.155V1.1557Z" fill="#9092B2"/> 7001</g> 7002<defs> 7003<clipPath id="clip0_25195_13807"> 7004<rect width="126" height="22.4" fill="white"/> 7005</clipPath> 7006</defs> 7007</svg> 7008`,FY=`<svg width="55" height="55" viewBox="0 0 55 55" fill="none" xmlns="http://www.w3.org/2000/svg"> 7009<g clip-path="url(#clip0_25166_17453)"> 7010<path d="M25.9575 41.2608C26.0903 41.373 26.2321 41.4851 26.3717 41.5949C23.6784 43.3867 20.4449 44.4279 16.9735 44.4279C7.59824 44.4302 0.000976562 36.8329 0.000976562 27.4599C0.000976562 18.0892 7.59824 10.4896 16.9713 10.4896C20.4449 10.4896 23.6784 11.5331 26.3649 13.3226C26.2276 13.4393 26.0903 13.5468 25.9873 13.6658C21.969 17.1372 19.6692 22.1693 19.6692 27.4599C19.6692 32.7482 21.9598 37.7803 25.9575 41.2608ZM37.9507 10.4896C34.4724 10.4896 31.2436 11.5331 28.5571 13.3226C28.6944 13.4393 28.8317 13.5468 28.9347 13.6658C32.953 17.1372 35.2528 22.1693 35.2528 27.4599C35.2528 32.746 32.9621 37.7734 28.9644 41.2608C28.8317 41.373 28.6898 41.4851 28.5502 41.5949C31.2436 43.3867 34.4724 44.4279 37.9484 44.4279C47.3237 44.4302 54.921 36.8329 54.921 27.4599C54.921 18.0915 47.3237 10.4896 37.9507 10.4896ZM27.461 14.1281C27.2413 14.2997 27.0285 14.4713 26.8202 14.6567C23.2413 17.7665 20.9827 22.3455 20.9827 27.4599C20.9827 32.5766 23.2413 37.1533 26.8202 40.2631C27.0262 40.4462 27.2436 40.6247 27.461 40.794C27.6807 40.6247 27.8935 40.4462 28.1017 40.2631C31.6784 37.1533 33.9392 32.5766 33.9392 27.4599C33.9392 22.3455 31.6807 17.7665 28.1017 14.6567C27.8958 14.4736 27.6807 14.2997 27.461 14.1281Z" fill="#BABB
7010D5"/> 7011</g> 7012<defs> 7013<clipPath id="clip0_25166_17453"> 7014<rect width="54.92" height="54.92" fill="white"/> 7015</clipPath> 7016</defs> 7017</svg> 7018`,OY=`<svg width="127" height="32" viewBox="0 0 127 32" fill="none" xmlns="http://www.w3.org/2000/svg"> 7019<g opacity="0.6" clip-path="url(#clip0_25195_13810)"> 7020<path d="M32.417 19.357C31.829 19.357 31.2899 19.6511 30.9959 20.1411C30.7019 20.6311 30.7019 21.2682 30.9959 21.7583C31.2899 22.2483 31.829 22.5668 32.417 22.5423C33.2991 22.5178 33.9852 21.8073 33.9852 20.9497C34.0097 20.0921 33.2991 19.3815 32.417 19.357Z" fill="#9092B2"/> 7021<path d="M30.3819 23.5222C29.6223 23.5222 29.0098 24.1348 29.0098 24.8698C29.0098 25.6294 29.6223 26.242 30.3819 26.242C31.1415 26.242 31.754 25.6294 31.754 24.8698C31.754 24.1348 31.1415 23.5222 30.3819 23.5222Z" fill="#9092B2"/> 7022<path d="M27.406 29.1311C28.0552 29.1095 28.5639 28.5657 28.5423 27.9165C28.5207 27.2674 27.9769 26.7586 27.3277 26.7803C26.6786 26.8019 26.1699 27.3456 26.1915 27.9948C26.2131 28.644 26.7569 29.1527 27.406 29.1311Z" fill="#9092B2"/> 7023<path d="M23.9634 28.9862C23.4244 28.9862 23.0078 29.4027 23.0078 29.9418C23.0078 30.4808 23.4244 30.8974 23.9634 30.8974C24.5025 30.8974 24.919 30.4808 24.919 29.9418C24.919 29.4027 24.5025 28.9862 23.9634 28.9862Z" fill="#9092B2"/> 7024<path d="M20.6308 30.1378C20.1898 30.1378 19.8223 30.5054 19.8223 30.9464C19.8223 31.3874 20.1898 31.755 20.6308 31.755C21.0719 31.755 21.4394 31.3874 21.4394 30.9464C21.4639 30.5054 21.0964 30.1378 20.6308 30.1378Z" fill="#9092B2"/> 7025<path d="M17.5192 30.6034C17.1271 30.6034 16.8086 30.9219 16.8086 31.314C16.8086 31.706 17.1271 32.0245 17.5192 32.0245C17.9112 32.0245 18.2297 31.706 18.2297 31.314C18.2052 30.9219 17.8867 30.6034 17.5192 30.6034Z" fill="#9092B2"/> 7026<path d="M14.3828 30.1378C13.9418 30.1378 13.5742 30.5054 13.5742 30.9464C13.5742 31.3874 13.9418 31.755 14.3828 31.755C14.8238 31.755 15.1914 31.3874 15.1914 30.9464C15.1914 30.5054 14.8238 30.1378 14.3828 30.1378Z" fill="#9092B2"/> 7027<path d="M11.0496 28.9617C10.7066 28.9617 10.388 29.1332 10.2165 29.4273C10.045 29.7213 10.045 30.0888 10.2165 30.3829C10.388 30.6769 10.7066 30.8484 11.0496 30.8484C11.5642 30.8484 12.0052 30.4319 12.0052 29.8928C11.9807 29.4028 11.5642 28.9862 11.0496 28.9617Z" fill="#9092B2"/> 7028<path d="M7.64371 26.781C7.22717 26.781 6.83513 27.0015 6.61461 27.369C6.39409 27.7366 6.39409 28.1776 6.61461 28.5451C6.83513 28.9127 7.20266 29.1332 7.64371 29.1332C8.28077 29.1332 8.81982 28.6186 8.81982 27.9571C8.81982 27.32 8.30527 26.781 7.64371 26.781Z" fill="#9092B2"/> 7029<path d="M4.62994 23.5222C3.87037 23.5222 3.25781 24.1347 3.25781 24.8943C3.25781 25.6539 3.87037 26.2664 4.62994 26.2664C5.38951 26.2664 6.00207 25.6539 6.00207 24.8943C5.97757 24.1347 5.38951 23.5222 4.62994 23.5222Z" fill="#9092B2"/> 7030<path d="M2.59673 19.3569C2.00868 19.3323 1.46963 19.6509 1.1756 20.1409C0.881571 20.631 0.881571 21.268 1.1756 21.7581C1.46963 22.2481 2.00868 22.5667 2.59673 22.5421C3.47881 22.5176 4.16488 21.8071 4.16488 20.9495C4.16488 20.0919 3.45431 19.3814 2.59673 19.3569Z" fill="#9092B2"/> 7031<path d="M1.86217 14.1624C0.833078 14.1624 0 14.9954 0 16.0245C0 17.0536 0.833078 17.8867 1.86217 17.8867C2.89127 17.8867 3.72435 17.0536 3.72435 16.0245C3.69985 14.9954 2.89127 14.1624 1.86217 14.1624Z" fill="#9092B2"/> 7032<path d="M2.59673 9.45789C2.00868 9.45789 1.46963 9.75191 1.1756 10.242C0.881571 10.732 0.881571 11.3691 1.1756 11.8591C1.46963 12.3492 2.00868 12.6677 2.59673 12.6432C3.47881 12.6187 4.16488 11.9081 4.16488 11.0505C4.16488 10.193 3.45431 9.48239 2.59673 9.45789Z" fill="#9092B2"/> 7033<path d="M4.63047 5.75806C4.14043 5.75806 3.67488 6.00308 3.42986 6.44412C3.18484 6.86066 3.18484 7.39971 3.42986 7.81625C3.67488 8.23279 4.14043 8.50231 4.63047 8.50231C5.36554 8.47781 5.9781 7.88976 5.9781 7.13019C5.9536 6.39512 5.36554 5.78256 4.63047 5.75806Z" fill="#9092B2"/> 7034<path d="M7.64486 2.86679C7.0078 2.86679 6.46875 3.38134 6.46875 4.0429C6.46875 4.67996 6.9833 5.21901 7.64486 5.21901C8.28192 5.21901 8.82097 4.70446 8.82097 4.0429C8.82097 3.40584 8.30642 2.86679 7.64486 2.86679Z" fill="#9092B2"/> 7035<path d="M11.0493 1.12711C10.5348 1.12711 10.0938 1.54364 10.0938 2.0827C10.0938 2.59724 10.5103 3.03828 11.0493 3.03828C11.5639 3.03828 12.0049 2.62175 12.0049 2.0827C11.9804 1.56815 11.5639 1.12711 11.0493 1.12711Z" fill="#9092B2"/> 7036<path d="M14.3819 0.245026C13.9164 0.245026 13.5488 0.61256 13.5488 1.0781C13.5488 1.54365 13.9164 1.91118 14.3819 1.91118C14.8229 1.91118 15.1905 1.54365 15.1905 1.10261C15.166 0.61256 14.8229 0.245026 14.3819 0.245026Z" fill="#9092B2"/> 7037<path d="M17.4938 -3.05176e-05C17.1017 -3.05176e-05 16.7832 0.318499 16.7832 0.710536C16.7832 1.10257 17.1017 1.4211 17.4938 1.4211C17.8858 1.4211 18.2043 1.10257 18.2043 0.710536C18.2043 0.318499 17.8858 -3.05176e-05 17.4938 -3.05176e-05Z" fill="#9092B2"/> 7038<path d="M20.6308 0.245026C20.1898 0.245026 19.8223 0.61256 19.8223 1.0536C19.8223 1.49464 20.1898 1.86218 20.6308 1.86218C21.0719
70381.86218 21.4394 1.49464 21.4394 1.0536C21.4639 0.61256 21.0964 0.245026 20.6308 0.245026Z" fill="#9092B2"/> 7039<path d="M23.9637 1.12711C23.6206 1.12711 23.3021 1.29862 23.1306 1.59265C22.9591 1.88668 22.9591 2.25421 23.1306 2.54824C23.3021 2.84227 23.6206 3.01378 23.9637 3.01378C24.4782 3.01378 24.9193 2.59724 24.9193 2.05819C24.9193 1.51914 24.5027 1.12711 23.9637 1.12711Z" fill="#9092B2"/> 7040<path d="M27.3695 2.89127C26.7324 2.89127 26.1934 3.40581 26.1934 4.06738C26.1934 4.70444 26.7079 5.24349 27.3695 5.24349C28.0065 5.24349 28.5456 4.72894 28.5456 4.06738C28.5456 3.40581 28.0065 2.89127 27.3695 2.89127Z" fill="#9092B2"/> 7041<path d="M30.3819 5.75803C29.6223 5.75803 29.0098 6.37058 29.0098 7.13015C29.0098 7.88973 29.6223 8.50228 30.3819 8.50228C31.1415 8.50228 31.754 7.88973 31.754 7.13015C31.754 6.37058 31.1415 5.75803 30.3819 5.75803Z" fill="#9092B2"/> 7042<path d="M32.417 9.45786C31.829 9.45786 31.2899 9.75188 30.9959 10.2419C30.7019 10.732 30.7019 11.369 30.9959 11.8591C31.2899 12.3491 31.829 12.6677 32.417 12.6432C33.2991 12.6187 33.9852 11.9081 33.9852 11.0505C33.9852 10.1684 33.2991 9.45786 32.417 9.45786Z" fill="#9092B2"/> 7043<path d="M25.0649 18.4502C24.7954 18.4502 24.5503 18.5727 24.4278 18.7933C24.3053 19.0138 24.3053 19.3078 24.4278 19.5283C24.5503 19.7488 24.7954 19.8959 25.0649 19.8714C25.4569 19.8469 25.7509 19.5283 25.7509 19.1608C25.7754 18.7933 25.4569 18.4747 25.0649 18.4502Z" fill="#9092B2"/> 7044<path d="M23.2778 21.121C23.0082 21.121 22.7632 21.2435 22.6407 21.464C22.5182 21.6845 22.5182 21.9786 22.6407 22.1991C22.7632 22.4196 23.0327 22.5666 23.2778 22.5421C23.6698 22.5176 23.9638 22.1991 23.9638 21.8315C23.9638 21.464 23.6698 21.1455 23.2778 21.121Z" fill="#9092B2"/> 7045<path d="M20.6069 22.8362C20.3373 22.8362 20.0678 22.9832 19.9208 23.2282C19.7738 23.4732 19.7738 23.7672 19.9208 24.0123C20.0678 24.2573 20.3128 24.4043 20.6069 24.4043C21.0479 24.4043 21.3909 24.0613 21.3909 23.6202C21.3909 23.1792 21.0479 22.8362 20.6069 22.8362Z" fill="#9092B2"/> 7046<path d="M17.4696 23.3017C16.8816 23.3017 16.416 23.7672 16.416 24.3553C16.416 24.9434 16.8816 25.4089 17.4696 25.4089C18.0577 25.4089 18.5232 24.9434 18.5232 24.3553C18.4987 23.7672 18.0332 23.3017 17.4696 23.3017Z" fill="#9092B2"/> 7047<path d="M14.308 22.6646C13.6465 22.6646 13.1074 23.2037 13.1074 23.8652C13.1074 24.5268 13.6465 25.0658 14.308 25.0658C14.9696 25.0658 15.5086 24.5268 15.5086 23.8652C15.5086 23.2037 14.9696 22.6646 14.308 22.6646Z" fill="#9092B2"/> 7048<path d="M11.4677 20.6555C10.7326 20.6555 10.1445 21.2435 10.1445 21.9786C10.1445 22.7136 10.7326 23.3017 11.4677 23.3017C12.2027 23.3017 12.7908 22.7136 12.7908 21.9786C12.7908 21.2435 12.2027 20.6555 11.4677 20.6555Z" fill="#9092B2"/> 7049<path d="M9.57917 17.9602C8.96661 17.9602 8.47656 18.4503 8.47656 19.0628C8.47656 19.6754 8.96661 20.1654 9.57917 20.1654C10.1917 20.1654 10.6818 19.6754 10.6818 19.0628C10.7063 18.4748 10.1917 17.9602 9.57917 17.9602Z" fill="#9092B2"/> 7050<path d="M9.13883 15.0199C8.67329 15.0199 8.28125 15.4119 8.28125 15.8775C8.28125 16.343 8.67329 16.7351 9.13883 16.7351C9.60437 16.7351 9.99641 16.343 9.99641 15.8775C9.99641 15.3874 9.62888 15.0199 9.13883 15.0199Z" fill="#9092B2"/> 7051<path d="M9.89807 12.1287C9.50603 12.1287 9.1875 12.4472 9.1875 12.8392C9.1875 13.2313 9.50603 13.5498 9.89807 13.5498C10.2901 13.5498 10.6086 13.2313 10.6086 12.8392C10.6331 12.4472 10.2901 12.1287 9.89807 12.1287Z" fill="#9092B2"/> 7052<path d="M11.7114 9.48242C11.4418 9.48242 11.1968 9.60493 11.0743 9.82545C10.9518 10.046 10.9518 10.34 11.0743 10.5605C11.1968 10.781 11.4663 10.9281 11.7114 10.9036C12.1034 10.9036 12.4219 10.585 12.4219 10.193C12.3974 9.80095 12.0789 9.48242 11.7114 9.48242Z" fill="#9092B2"/> 7053<path d="M14.3583 7.62021C13.9173 7.62021 13.5742 7.96324 13.5742 8.40428C13.5742 8.84532 13.9173 9.18836 14.3583 9.18836C14.7993 9.18836 15.1424 8.84532 15.1424 8.40428C15.1424 7.98774 14.7993 7.62021 14.3583 7.62021Z" fill="#9092B2"/> 7054<path d="M18.5661 7.69674C18.5884 7.11526 18.1351 6.62577 17.5537 6.60344C16.9722 6.58111 16.4827 7.03439 16.4604 7.61587C16.438 8.19735 16.8913 8.68683 17.4728 8.70917C18.0543 8.7315 18.5437 8.27822 18.5661 7.69674Z" fill="#9092B2"/> 7055<path d="M20.6557 6.95868C19.9941 6.95868 19.4551 7.49773 19.4551 8.15929C19.4551 8.82085 19.9941 9.3599 20.6557 9.3599C21.3173 9.3599 21.8563 8.82085 21.8563 8.15929C21.8563 7.49773 21.3173 6.95868 20.6557 6.95868Z" fill="#9092B2"/> 7056<path d="M23.497 8.72281C22.7619 8.72281 22.1738 9.31086 22.1738 10.0459C22.1738 10.781 22.7619 11.3691 23.497 11.3691C24.232 11.3691 24.8201 10.781 24.8201 10.0459C24.8201 9.31086 24.232 8.72281 23.497 8.72281Z" fill="#9092B2"/> 7057<path d="M25.3839 11.8344C24.7713 11.8344 24.2812 12.3244 24.2812 12.937C24.2812 13.5495 24.7713 14.0396 25.3839 14.0396C25.9964 14.0396 26.4865 13.5495 26.4865 12.937C26.4865 12.3244 25.9964 11.8344 25.3839 11.8344Z" fill="#9092B2"/> 7058<path d="M22.4936 18.0337C22.859 18.0337 23.1552 17.7375 23.1552 17.3721C23.1552 17.0068 22.859 16.7106 22.4936 16.7106C22.1282 16.7106 21.832
705817.0068 21.832 17.3721C21.832 17.7375 22.1282 18.0337 22.4936 18.0337Z" fill="#9092B2"/> 7059<path d="M21.1949 18.7687C20.6559 18.7687 20.2148 19.2098 20.2148 19.7488C20.2148 20.2879 20.6559 20.7289 21.1949 20.7289C21.734 20.7289 22.175 20.2879 22.175 19.7488C22.1995 19.2098 21.7585 18.7687 21.1949 18.7687Z" fill="#9092B2"/> 7060<path d="M18.6697 20.0919C18.1062 20.0919 17.6406 20.5575 17.6406 21.121C17.6406 21.6846 18.1062 22.1501 18.6697 22.1501C19.2333 22.1501 19.6988 21.6846 19.6988 21.121C19.6988 20.5575 19.2333 20.0919 18.6697 20.0919Z" fill="#9092B2"/> 7061<path d="M15.6803 20.0184C15.3618 20.0184 15.0432 20.1899 14.8962 20.4839C14.7247 20.7779 14.7247 21.121 14.8962 21.3905C15.0677 21.6845 15.3618 21.856 15.6803 21.856C16.1948 21.856 16.5869 21.4395 16.5869 20.9495C16.6114 20.4349 16.1948 20.0184 15.6803 20.0184Z" fill="#9092B2"/> 7062<path d="M13.476 18.5237C13.1085 18.5237 12.8145 18.8177 12.8145 19.1853C12.8145 19.5528 13.1085 19.8468 13.476 19.8468C13.8435 19.8468 14.1376 19.5528 14.1376 19.1853C14.1621 18.8422 13.8435 18.5237 13.476 18.5237Z" fill="#9092B2"/> 7063<path d="M12.5936 16.5881C12.324 16.5881 12.1035 16.8086 12.1035 17.0781C12.1035 17.3476 12.324 17.5682 12.5936 17.5682C12.8631 17.5682 13.0836 17.3476 13.0836 17.0781C13.0836 16.8086 12.8631 16.5881 12.5936 16.5881Z" fill="#9092B2"/> 7064<path d="M12.5444 14.0643C12.1768 14.0643 11.8828 14.3584 11.8828 14.7259C11.8828 15.0934 12.1768 15.3875 12.5444 15.3875C12.9119 15.3875 13.2059 15.0934 13.2059 14.7259C13.2059 14.3584 12.9119 14.0643 12.5444 14.0643Z" fill="#9092B2"/> 7065<path d="M13.8434 11.3446C13.3043 11.3446 12.8633 11.7856 12.8633 12.3247C12.8633 12.8637 13.3043 13.3048 13.8434 13.3048C14.3824 13.3048 14.8235 12.8637 14.8235 12.3247C14.8235 11.7856 14.3824 11.3446 13.8434 11.3446Z" fill="#9092B2"/> 7066<path d="M16.367 9.92346C15.8034 9.92346 15.3379 10.389 15.3379 10.9526C15.3379 11.5161 15.8034 11.9817 16.367 11.9817C16.9305 11.9817 17.3961 11.5161 17.3961 10.9526C17.3961 10.389 16.9305 9.92346 16.367 9.92346Z" fill="#9092B2"/> 7067<path d="M19.3571 10.2422C19.0141 10.2422 18.7201 10.4137 18.5486 10.6832C18.377 10.9773 18.377 11.3203 18.5486 11.6143C18.7201 11.9083 19.0386 12.0799 19.3571 12.0554C19.8472 12.0309 20.2392 11.6388 20.2392 11.1488C20.2392 10.6587 19.8472 10.2667 19.3571 10.2422Z" fill="#9092B2"/> 7068<path d="M21.5366 12.2023C21.169 12.2023 20.875 12.4964 20.875 12.8639C20.875 13.2314 21.169 13.5255 21.5366 13.5255C21.9041 13.5255 22.1981 13.2314 22.1981 12.8639C22.2226 12.4964 21.9286 12.2023 21.5366 12.2023Z" fill="#9092B2"/> 7069<path d="M22.4686 14.5298C22.199 14.5298 21.9785 14.7503 21.9785 15.0199C21.9785 15.2894 22.199 15.5099 22.4686 15.5099C22.7381 15.5099 22.9586 15.2894 22.9586 15.0199C22.9586 14.7503 22.7381 14.5298 22.4686 14.5298Z" fill="#9092B2"/> 7070<path d="M25.8244 15.2894C25.3588 15.2894 24.9668 15.6815 24.9668 16.147C24.9668 16.6126 25.3588 17.0046 25.8244 17.0046C26.2899 17.0046 26.682 16.6126 26.682 16.147C26.682 15.6815 26.2899 15.2894 25.8244 15.2894Z" fill="#9092B2"/> 7071<path d="M29.3773 16.3431C28.8627 16.3431 28.4707 16.7596 28.4707 17.2497C28.4707 17.7642 28.8872 18.1562 29.3773 18.1562C29.8918 18.1562 30.2839 17.7397 30.2839 17.2497C30.2839 16.7596 29.8918 16.3431 29.3773 16.3431Z" fill="#9092B2"/> 7072<path d="M28.4709 19.5529C28.0053 19.5529 27.6133 19.9449 27.6133 20.4104C27.6133 20.876 28.0053 21.268 28.4709 21.268C28.9364 21.268 29.3284 20.876 29.3284 20.4104C29.3284 19.9449 28.9609 19.5529 28.4709 19.5529Z" fill="#9092B2"/> 7073<path d="M26.9284 22.2481C26.5364 22.2481 26.1934 22.5667 26.1934 22.9832C26.1934 23.3752 26.5119 23.7183 26.9284 23.7183C27.3205 23.7183 27.639 23.3752 27.639 22.9832C27.639 22.5912 27.3205 22.2726 26.9284 22.2481Z" fill="#9092B2"/> 7074<path d="M25.0656 24.2573C24.8451 24.2573 24.6246 24.3798 24.502 24.5758C24.3795 24.7718 24.3795 25.0168 24.502 25.2129C24.6246 25.4089 24.8206 25.5314 25.0656 25.5314C25.4086 25.5314 25.7027 25.2619 25.7027 24.8943C25.7027 24.5513 25.4086 24.2573 25.0656 24.2573Z" fill="#9092B2"/> 7075<path d="M23.1055 25.7274C22.8114 25.7274 22.5664 25.9724 22.5664 26.2665C22.5664 26.5605 22.8114 26.8055 23.1055 26.8055C23.3995 26.8055 23.6445 26.5605 23.6445 26.2665C23.6445 25.9724 23.3995 25.7274 23.1055 25.7274Z" fill="#9092B2"/> 7076<path d="M20.8753 26.5605C20.5323 26.5605 20.2383 26.83 20.2383 27.1975C20.2383 27.5406 20.5078 27.8346 20.8753 27.8346C21.2184 27.8346 21.5124 27.5651 21.5124 27.1975C21.4879 26.83 21.2184 26.5605 20.8753 26.5605Z" fill="#9092B2"/> 7077<path d="M18.2546 26.9771C17.8626 26.9771 17.5195 27.2956 17.5195 27.7121C17.5195 28.1042 17.8381 28.4472 18.2546 28.4472C18.6466 28.4472 18.9897 28.1287 18.9897 27.7121C18.9652 27.2956 18.6466 26.9771 18.2546 26.9771Z" fill="#9092B2"/> 7078<path d="M15.2651 26.6828C14.7505 26.6828 14.334 27.0993 14.334 27.6139C14.334 28.1284 14.7505 28.545 15.2651 28.545C15.7796 28.545 16.1962 28.1284 16.1962 27.6139C16.1962 27.0993 15.7796 26.6828 15.2651 26.6828Z" fill="#9092B2"/> 7079<path d="M12.1046 25.5559C11.492 25.5559 11.002 26.0459 11.002 26.6585C11.002 27.271 11.492 27.7611 12.1046 27.7611C12.7171 27.7611 13.2072 27.271 13.2072 26.6585C13.2317 26.0459 12.7171 25.5559 12.1046 25.5559Z" fill="#9092B2"/> 7080<path d="M9.33537 23.4487C8.86983 23.4487 8.42879 23.6938 8.18377 24.0858C7.93874 24.5023 7.93874 24.9924 8.18377 25.4089C8.42879 25.8255 8.86983 26.0705 9.33537 26.046C10.0459 26.02
708015 10.6095 25.4579 10.6095 24.7474C10.6095 24.0613 10.0459 23.4732 9.33537 23.4487Z" fill="#9092B2"/> 7081<path d="M7.00707 20.3124C6.223 20.3124 5.58594 20.9495 5.58594 21.7336C5.58594 22.5176 6.223 23.1547 7.00707 23.1547C7.79114 23.1547 8.4282 22.5176 8.4282 21.7336C8.4282 20.925 7.79114 20.3124 7.00707 20.3124Z" fill="#9092B2"/> 7082<path d="M6.81871 18.2242C6.86283 17.6032 6.39525 17.0641 5.77432 17.02C5.15339 16.9759 4.61426 17.4434 4.57013 18.0644C4.52601 18.6853 4.99359 19.2244 5.61452 19.2686C6.23545 19.3127 6.77458 18.8451 6.81871 18.2242Z" fill="#9092B2"/> 7083<path d="M6.53051 14.8055C6.55819 14.3056 6.17536 13.8778 5.67542 13.8502C5.17547 13.8225 4.74774 14.2053 4.72006 14.7052C4.69237 15.2052 5.07521 15.6329 5.57515 15.6606C6.07509 15.6883 6.50282 15.3055 6.53051 14.8055Z" fill="#9092B2"/> 7084<path d="M6.54117 10.732C6.07563 10.732 5.68359 11.124 5.68359 11.5895C5.68359 12.0551 6.07563 12.4471 6.54117 12.4471C7.00672 12.4471 7.39875 12.0551 7.39875 11.5895C7.39875 11.124 7.00672 10.732 6.54117 10.732Z" fill="#9092B2"/> 7085<path d="M8.08637 8.30634C7.81684 8.30634 7.57182 8.42885 7.44931 8.67387C7.32679 8.89439 7.32679 9.18842 7.44931 9.40894C7.57182 9.62946 7.84134 9.77647 8.08637 9.77647C8.4784 9.77647 8.79693 9.43344 8.79693 9.0414C8.79693 8.62487 8.4784 8.30634 8.08637 8.30634Z" fill="#9092B2"/> 7086<path d="M9.94761 6.49307C9.60457 6.49307 9.31055 6.7626 9.31055 7.13013C9.31055 7.47316 9.58007 7.76719 9.94761 7.76719C10.3151 7.76719 10.5847 7.49767 10.5847 7.13013C10.5847 6.7871 10.2906 6.49307 9.94761 6.49307Z" fill="#9092B2"/> 7087<path d="M11.9082 5.21899C11.6142 5.21899 11.3691 5.46402 11.3691 5.75804C11.3691 6.05207 11.6142 6.2971 11.9082 6.2971C12.2022 6.2971 12.4472 6.05207 12.4472 5.75804C12.4472 5.43951 12.2022 5.21899 11.9082 5.21899Z" fill="#9092B2"/> 7088<path d="M14.1371 4.21439C13.794 4.21439 13.5 4.48391 13.5 4.85145C13.5 5.19448 13.7695 5.48851 14.1371 5.48851C14.4801 5.48851 14.7741 5.21898 14.7741 4.85145C14.7741 4.48391 14.4801 4.21439 14.1371 4.21439Z" fill="#9092B2"/> 7089<path d="M16.7582 3.57736C16.4887 3.57736 16.2437 3.69987 16.1212 3.9449C15.9987 4.16542 15.9987 4.45944 16.1212 4.67997C16.2437 4.90049 16.5132 5.0475 16.7582 5.0475C17.1503 5.0475 17.4688 4.70447 17.4688 4.31243C17.4688 3.92039 17.1503 3.60186 16.7582 3.57736Z" fill="#9092B2"/> 7090<path d="M19.7488 3.45483C19.4058 3.45483 19.0873 3.62635 18.9157 3.92038C18.7442 4.21441 18.7442 4.58194 18.9157 4.87597C19.0873 5.16999 19.4058 5.34151 19.7488 5.34151C20.2634 5.34151 20.6799 4.90047 20.6799 4.38592C20.6799 3.87137 20.2634 3.45483 19.7488 3.45483Z" fill="#9092B2"/> 7091<path d="M22.8107 4.16537C22.1981 4.16537 21.6836 4.65542 21.6836 5.29248C21.6836 5.90504 22.1736 6.41959 22.8107 6.41959C23.4233 6.41959 23.9378 5.92954 23.9378 5.29248C23.9378 4.67992 23.4233 4.16537 22.8107 4.16537Z" fill="#9092B2"/> 7092<path d="M25.7029 5.92953C24.9679 5.92953 24.4043 6.51759 24.4043 7.22816C24.4043 7.93872 24.9924 8.52678 25.7029 8.52678C26.438 8.52678 27.0015 7.93872 27.0015 7.22816C27.0015 6.51759 26.4135 5.92953 25.7029 5.92953Z" fill="#9092B2"/> 7093<path d="M28.0064 8.86984C27.4919 8.86984 27.0264 9.13937 26.7568 9.58041C26.4873 10.0214 26.4873 10.5605 26.7568 11.0015C27.0264 11.4426 27.4919 11.7121 28.0064 11.7121C28.7905 11.6876 29.4031 11.075 29.4031 10.291C29.3786 9.5314 28.766 8.89434 28.0064 8.86984Z" fill="#9092B2"/> 7094<path d="M29.3048 12.7657C28.9128 12.7657 28.5208 12.9617 28.3247 13.3047C28.1287 13.6477 28.1287 14.0888 28.3247 14.4318C28.5208 14.7748 28.9128 14.9954 29.3048 14.9709C29.9174 14.9464 30.3829 14.4563 30.3829 13.8683C30.3829 13.2802 29.9174 12.7902 29.3048 12.7657Z" fill="#9092B2"/> 7095<path d="M35.0134 16C35.0134 17.0291 34.1803 17.8621 33.1512 17.8621C32.1221 17.8621 31.289
70951 17.0291 31.2891 16C31.2891 14.9709 32.1221 14.1378 33.1512 14.1378C34.1803 14.1623 35.0134 14.9954 35.0134 16Z" fill="#9092B2"/> 7096<path d="M126.701 18.8668C126.701 17.1026 125.697 16.1715 124.129 15.5345C122.903 15.0444 121.825 14.6279 120.992 14.2849C120.184 13.9663 119.473 13.4028 119.473 12.7902C119.473 11.9572 120.502 11.4671 121.874 11.4671C123.492 11.4671 124.766 11.6876 125.966 11.8101H126.015C126.211 11.8101 126.334 11.6631 126.334 11.4671V10.095C126.334 9.92346 126.187 9.77645 125.991 9.75195C125.354 9.60493 123.737 9.2619 121.972 9.2619C118.542 9.2619 116.9 10.732 116.9 12.7902C116.9 14.0889 117.464 15.363 119.081 16.0245C120.698 16.6861 124.006 17.4702 124.006 18.8423C124.006 19.9204 123.516 20.5085 121.85 20.5085C120.135 20.5085 118.395 20.2634 117.66 20.1654H117.611C117.415 20.1654 117.268 20.3124 117.268 20.5085V21.8316C117.268 22.0276 117.439 22.1746 117.611 22.1991C118.493 22.3951 120.159 22.6892 121.801 22.6892C125.55 22.7382 126.701 20.729 126.701 18.8668Z" fill="#9092B2"/> 7097<path d="M90.4396 11.5651H86.7397V22.1991C86.7397 22.3952 86.5682 22.5667 86.3722 22.5667H84.5345C84.3385 22.5667 84.167 22.3952 84.167 22.1991V11.5651H80.4671C80.2711 11.5651 80.0996 11.4426 80.0996 11.2221V9.75197C80.0996 9.55595 80.2711 9.40894 80.4671 9.40894H90.4396C90.6356 9.40894 90.8071 9.55595 90.8071 9.75197V11.2221C90.8071 11.4426 90.6356 11.5651 90.4396 11.5651Z" fill="#9092B2"/> 7098<path d="M78.4813 17.4949V9.77663C78.4813 9.58061 78.3098 9.43359 78.1137 9.43359H76.2761C76.0801 9.43359 75.9085 9.58061 75.9085 9.77663V17.4703C75.9085 19.5775 74.9285 20.5821 72.9438 20.5821C70.9591 20.5821 69.979 19.5775 69.979 17.4703V9.77663C69.979 9.58061 69.8075 9.43359 69.6115 9.43359H67.7738C67.5778 9.43359 67.4062 9.58061 67.4062 9.77663V17.4703C67.4062 21.4152 69.979 22.7138 72.9438 22.7138C75.9085 22.7138 78.4813 21.4397 78.4813 17.4949Z" fill="#9092B2"/> 7099<path d="M95.0697 16.8576H100.999C101.195 16.8576 101.367 16.6861 101.367 16.4901V15.1424C101.367 14.9464 101.195 14.7749 100.999 14.7749H95.0697V13.0842C95.0697 11.5406 95.1187 11.4916 96.5399 11.4916H101.22C101.416 11.4916 101.587 11.3201 101.587 11.1241V9.94794C101.587 9.67842 101.489 9.60491 101.22 9.55591C100.632 9.4579 99.4311 9.28638 97.2259 9.28638C94.1631 9.28638 92.5215 9.26188 92.5215 13.0842V18.9403C92.5215 22.7626 94.1631 22.7381 97.2259 22.7381C99.4311 22.7381 100.632 22.5666 101.22 22.4686C101.489 22.4441 101.587 22.3461 101.587 22.0766V20.9005C101.587 20.7045 101.416 20.5329 101.22 20.5329H96.5399C95.1432 20.5329 95.0697 20.4839 95.0697 18.9403V16.8576Z" fill="#9092B2"/> 7100<path d="M58.4857 16.8576H64.4153C64.6113 16.8576 64.7828 16.6861 64.7828 16.4901V15.1424C64.7828 14.9464 64.6113 14.7749 64.4153 14.7749H58.4857V13.0842C58.4857 11.5406 58.5347 11.4916 59.9559 11.4916H64.6358C64.8318 11.4916 65.0033 11.3201 65.0033 11.1241V9.94794C65.0033 9.67842 64.9053 9.60491 64.6358 9.55591C64.0478 9.4579 62.8471 9.28638 60.6419 9.28638C57.5792 9.28638 55.9375 9.26188 55.9375 13.0842V18.9403C55.9375 22.7626 57.5792 22.7381 60.6419 22.7381C62.8471 22.7381 64.0478 22.5666 64.6358 22.4686C64.9053 22.4441 65.0033 22.3461 65.0033 22.0766V20.9005C65.0033 20.7045 64.8318 20.5329 64.6358 20.5329H59.9559C58.5592 20.5329 58.4857 20.4839 58.4857 18.9403V16.8576Z" fill="#9092B2"/> 7101<path d="M115.356 22.1991L112.465 17.2496C113.984 16.6616 114.964 15.5835 114.964 13.6233V13.4763C114.964 10.3155 112.343 9.28638 109.476 9.28638C108.128 9.28638 106.046 9.38439 105.09 9.5314C104.722 9.5804 104.502 9.72742 104.502 10.095V22.2236C104.502 22.4196 104.673 22.5911 104.869 22.5911H106.732C106.928 22.5911 107.075 22.4196 107.075 22.2236V17.6417C107.491 17.6662 108.986 17.7152 109.476 17.7152H109.892L112.563 22.1991C112.661 22.3706 112.735 22.5666 112.931 22.5666H115.185C115.332 22.5666 115.405 22.4686 115.405 22.3461C115.405 22.2971 115.381 22.2481 115.356 22.1991ZM112.392 13.6233C112.392 15.2404 111.363 15.608 109.451 15.608C109.133 15.608 107.344 15.559 107.05 15.559V11.5651C107.369 11.5161 109.059 11.4916 109.451 11.4916C111.314 11.4916 112.392 12.0796 112.392 13.4763V13.6233Z" fill="#9092B2"/> 7102<path d="M53.9298 22.1991L51.014 17.2496C52.5332 16.6616 53.5133 15.5835 53.5133 13.6233V13.4763C53.5133 10.3155 50.8915 9.28638 48.0247 9.28638C46.6771 9.28638 44.5944 9.38439 43.6388 9.5314C43.2713 9.5804 43.0508 9.72742 43.0508 10.095V22.2236C43.0508 22.4196 43.2223 22.5911 43.4183 22.5911H45.2805C45.4765 22.5911 45.6235 22.4196 45.6235 22.2236V17.6417C46.0401 17.6662 47.5347 17.7152 48.0247 17.7152H48.4413L51.112 22.1991C51.21 22.3706 51.2836 22.5666 51.4796 22.5666H53.7338C53.8808 22.5666 53.9543 22.4686 53.9543 22.3461C53.9543 22.2971 53.9543 22.2481 53.9298 22.1991ZM50.965 13.6233C50.965 15.2404 49.9359 15.608 48.0493 15.608C47.7307 15.608 45.9421 15.559 45.648 15.559V11.5651C45.9666 11.5161 47.6572 11.4916 48.0493 11.4916C49.9114 11.4916 50.965 12.0796 50.965 13.4763V13.6233Z" fill="#9092B2"/> 7103</g> 7104<defs> 7105<clipPath id="clip0_25195_13810"> 7106<rect width="126.701" height="32" fill="white"/> 7107</clipPath> 7108</defs> 7109</svg> 7110`,DY={americanExpress:NY,applePay:kY,binance:EY,bitcoinDotCom:RY,coinMarketCap:TY,googlePay:SY,investingDotC
7110om:IY,mastercard:FY,paypal:AY,reuters:OY,shopPay:LY,skrill:MY,visa:BY},Xr=({logo:t,ariaLabel:s})=>e.jsx("span",{role:"img","aria-label":s??`${t} logo`,className:"inline-flex items-center",dangerouslySetInnerHTML:{__html:DY[t]}}),w4=["bitcoinDotCom","investingDotCom","reuters","binance","coinMarketCap"],$Y=.4,PY=2e3,HY=()=>{const t=m.useRef(null),s=m.useRef(null),a=m.useRef(null),l=m.useRef(null),[r,i]=m.useState(!1);return m.useEffect(()=>{const o=t.current;if(!o)return;const d=()=>{var x,p;const c=((x=s.current)==null?void 0:x.scrollWidth)??((p=l.current)==null?void 0:p.offsetWidth)??0;i(c>o.clientWidth)},u=new ResizeObserver(d);return u.observe(o),d(),()=>u.disconnect()},[r]),m.useEffect(()=>{const o=a.current,d=l.current;if(!r||!o||!d)return;let u=0,c=!1,x=0,p;const f=d.offsetWidth,h=()=>{u<=-f?u+=f:u>0&&(u-=f)};let b=requestAnimationFrame(function N(){c||(u-=$Y,h(),o.style.transform=`translateX(${u}px)`),b=requestAnimationFrame(N)});const v=N=>{c=!0,x=N.touches[0].clientX},j=N=>{u+=N.touches[0].clientX-x,x=N.touches[0].clientX,h(),o.style.transform=`translateX(${u}px)`},y=()=>{clearTimeout(p),p=setTimeout(()=>{c=!1},PY)};return o.addEventListener("touchstart",v,{passive:!0}),o.addEventListener("touchmove",j,{passive:!0}),o.addEventListener("touchend",y),()=>{cancelAnimationFrame(b),clearTimeout(p),o.removeEventListener("touchstart",v),o.removeEventListener("touchmove",j),o.removeEventListener("touchend",y)}},[r]),e.jsxs("div",{ref:t,className:"flex flex-col items-center justify-center gap-5 max-sm:py-[40px] sm:py-10","data-testid":"landing-featured",children:[e.jsx("p",{className:"align-middle font-jost text-[14px] font-normal text-[#9092B2]",children:n("homepage.banner.featured_in")}),r?e.jsx("div",{className:"-ml-4 w-[calc(100%+2rem)] overflow-hidden",children:e.jsx("div",{ref:a,className:"flex w-max flex-row items-center",children:[0,1,2].map(o=>e.jsx("div",{ref:o===0?l:void 0,className:"flex flex-row items-center gap-[2.4rem] pr-[2.4rem]",children:w4.map(d=>e.jsx("div",{className:"flex shrink-0 items-center",children:e.jsx(Xr,{logo:d})},d))},o))})}):e.jsx("div",{ref:s,className:"flex flex-row items-center justify-center gap-[2.4rem]",children:w4.map(o=>e.jsx(Xr,{logo:o},o))})]})},UY=[{id:"originals",labelKey:"landingpage.gamesshowcase.tab.originals",icon:"whaleOriginals"},{id:"slots",labelKey:"landingpage.gamesshowcase.tab.slots",icon:"cherry"},{id:"liveCasino",labelKey:"landingpage.gamesshowcase.tab.livecasino",icon:"cardDeck"},{id:"sports",labelKey:"landingpage.gamesshowcase.tab.sports",icon:"sportsbook"}],VY={originals:["whale_crash","whale_keno","whale_crock_dentist","whale_blackjack","whale_duck","whale_dice","whale_mines"],slots:["pgp_bigbassfootballbonanza","pgp_sweetbonanza2500","pgp_gatesofolympussuperscatter","hsg_lecowboy","pgp_sugarrush1000","pgp_gatesofolympus1000","pgp_thebigdoghouse","pgp_sweetrushbonanza"],liveCasino:["evo_whaleblackjack","ppl_gatesofolympusroulette","zcl3u_cctvgame-rushhour","evo_redbaronlive","zcl3u_cctvgame-duckriver","evo_crazytime","evo_icefishing","evo_megaball","ppl_moneytime","evo_infiniteblackjack","evo_xxxtremelightningroulette","evo_lightningstorm","evo_speedautoroulette","evo_crazyballs","evo_funkytime"]},zY="/landing/sports/sparkles.svg",Xf=[{key:"football",bg:"/landing/sports/football.webp",sparklesRotation:0,imgX:50,imgY:40,imgZoom:230},{key:"hockey",bg:"/landing/sports/hockey.webp",sparklesRotation:45,imgX:50,imgY:0,imgZoom:300},{key:"basketball",bg:"/landing/sports/basketball.webp",sparklesRotation:-145,imgX:49,imgY:0,imgZoom:330},{key:"tennis",bg:"/landing/sports/tennis.webp",sparklesRotation:15,imgX:47,imgY:40,imgZoom:230},{key:"cs2",bg:"/landing/sports/cs2.webp",sparklesRotation:180,imgX:50,imgY:50,imgZoom:230},{key:"dota2",bg:"/landing/sports/dota2.webp",sparklesRotation:225,imgX:56,imgY:15,imgZoom:320},{key:"mma",bg:"/landing/sports/mma.webp",sparklesRotation:270,imgX:50,imgY:23,imgZoom:120}],y4={originals:"landingpage.gamesshowcase.cta.originals",slots:"landingpage.gamesshowcase.cta.slots",liveCasino:"landingpage.gamesshowcase.cta.livecasino",sports:"landingpage.gamesshowcase.cta.sports"},Jf=t=>{const[s,a]=m.useState(!1);return m.useEffect(()=>{const l=t.current;if(!l)return;const r=()=>a(l.scrollWidth>l.clientWidth),i=new ResizeObserver(r);return i.observe(l),r(),()=>i.disconnect()},[t]),s},GY=({sport:t})=>e.jsx("div",{className:"flex flex-col items-start justify-start gap-y-2.5",children:e.jsxs("div",{className:"relative inline-flex h-[211px] w-gameCard flex-col items-center justify-end overflow-hidden rounded-xl border border-[#1F232F] bg-[#161923] px-6 py-8",children:[e.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${zY})`,transform:`rotate(${t.sparklesRotation}deg)`}}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 top-[8px] bg-no-repeat",style:{backgroundImage:`url(${t.bg})`,backgroundPosition:`${t.imgX}% ${t.imgY}%`,backgroundSize:`${t.imgZoom}%`}}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-skeleteon h-[100px]",style:{background:"linear-gradient(to bottom, transparent, rgba(22, 25, 35, 0.6) 40%, #161923 75%)"}}),e.jsx("p",{className:"relative z-10 text-center font-gilroy text-[22px] font-black uppercase leading-[100%] text-[#BABBD5]",children:n(`landingpage.gamesshowcase.sport.${t.key}`)})]})}),ZY=({gameCodes:t})=>{const s=C(ct),a=m.useRef(null),l=Jf(a),r=t.map(i=>$s(s,i)).filter(i=>!!i);return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:g("hidden justify-end sm:flex",!l&&"invisible"),children:e.jsx(ns,{containerRef:a})}),e.jsx("div",{ref:a,className:g("no-scrollbar flex gap-x-2 overflow-x-auto",!l&&"justify-center"),children:r.map(i=>e.jsx(Yi,{game:i,href:la(s,i.gameCode),onOpen:()=>X("Open game",{gameCode:i.gameCode,provider:i.provider})},i.gameCode))})]})},WY=()=>{const t=m.useRef(null),s=Jf(t);return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:g("hidden justify-end sm:flex",!s&&"invisible"),children:e.jsx(ns,{containerRef:t})}),e.jsx("div",{ref:t,className:g("no-scrollbar flex gap-x-2 overflow-x-auto",!s&&"justify-center"),children:Xf.map(a=>e.jsx(GY,{sport:a},a.key))})]})},KY=()=>{const[t,s]=m.useState("originals"),a=m.useRef([]),l=m.useRef(null),r=m.useRef(null),[i,o]=m.useState(0),[d,u]=m.useState(0);return m.useLayoutEffect(()=>{var x;const c=a.current.map(p=>(p==null?void 0:p.scrollWidth)??0);o(Math.max(...c)),u(((x=r.current)==null?void 0:x.offsetHeight)??0)},[]),m.useEffect(()=>{const c=l.current;if(!c)return;const x=()=>u(f=>Math.max(f,c.offsetHeight)),p=new ResizeObserver(x);return p.observe(c),x(),()=>p.disconnect()},[]),e.jsxs("div",{className:"flex flex-col items-center justify-center gap-14 py-[80px] text-center align-middle sm:py-[3.75rem]","data-testid":"landing-games-showcase",children:[e.jsxs("div",{className:"flex flex-col justify-center gap-6",children:[e.jsx(Il,{children:n("landingpage.gamesshowcase.title")}),e.jsxs(un,{className:"max-w-[32.125rem]",children:[n("landingpage.gamesshowcase.description_prefix")," ",e.jsx("span",{className:"whitespace-nowrap text-badge-influencer-text",children:n("landingpage.gamesshowcase.description_highlight_casino")})," ",n("landingpage.gamesshowcase.description_middle")," ",e.jsx("span",{className:"whitespace-nowrap text-badge-influencer-text",children:n("landingpage.gamesshowcase.description_highlight_sports")}),n("landingpage.gamesshowcase.description_suffix")]})]}),e.jsx("div",{className:"no-scrollbar flex w-full overflow-x-auto rounded-xl [box-shadow:0_0_40px_8.14px_rgba(112,134,255,0.2)] sm:w-auto",children:e.jsx("div",{className:"flex h-[60px] w-full items-center gap-1 rounded-xl bg-[#0F1218] p-1 sm:w-auto",children:UY.map((c,x)=>e.jsxs("button",{ref:p=>{a.current[x]=p},type:"button","data-testid":`showcase-tab-${c.id}`,"aria-selected":t===c.id,className:g("flex h-full flex-1 items-center justify-center rounded-lg px-[1.375rem] py-2 text-sm font-medium transition-colors sm:flex-none",t===c.id?"bg-[#323A4C80] text-white":"text-label-secondary hover:text-white"),style:i?{width:`${i}px`}:void 0,onClick:()=>s(c.id),children:[e.jsx(ve,{icon:c.icon,className:g("size-5 shrink-0",t===c.id?"text-white":"text-label-secondary")}),e.jsx("span",{className:g("whitespace-nowrap px-2 font-jost text-[14px] font-medium leading-20 sm:block",t!==c.id&&"hidden"),children:n(c.labelKey)})]},c.id))})}),e.jsx("div",{ref:r,className:"pointer-events-none invisible fixed left-[-9999px] top-0",children:e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"hidden justify-end sm:flex",children:e.jsx(ns,{containerRef:r})}),e.jsx("div",{className:"no-scrollbar flex gap-x-2 overflow-x-auto",children:Xf.map(c=>e.jsx("div",{className:"flex flex-col items-start justify-start gap-y-2.5",children:e.jsx("div",{className:"h-[211px] w-gameCard"})},c.key))})]})}),e.jsx("div",{ref:l,className:"w-full",style:{minHeight:`${d}px`},children:t==="sports"?e.jsx(WY,{}):e.jsx(ZY,{gameCodes:VY[t]})}),e.jsx("div",{className:"mt-[24px] w-full sm:w-auto",children:e.jsx(ca,{label:n(y4[t]),allLabels:Object.values(y4).map(c=>n(c))})})]})},qY=()=>e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 py-[80px] sm:py-[7.5rem]","data-testid":"landing-hall-of-whales",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6 px-5",children:[e.jsx(Il,{children:n("homepage.hallofwhales.title")}),e.jsx(un,{className:"max-w-[32.125rem]",children:n("homepage.hallofwhales.description")})]}),e.jsx(v1,{tabsShown:!1}),e.jsx(ca,{label:n("homepage.hallofwhales.button")})]}),YY="/assets/cardFour-part1-BGkdNHZf.webp",XY="/assets/cardFour-part2-CTWx-sdD.webp",JY="/assets/cardThree-card2-E4cPgB7y.webp",ft={cardOneCards1:"/landing/cardOne-cards1.webp",cardOneDealer:"/landing/cardOne-dealer.webp",cardOneRoulette:"/landing/cardOne-roulette.webp",cardTwo:"/landing/cardTwo.webp",cardThreeCard1:"/landing/cardThree-card1.webp",cardThreeCard2:JY,cardFourPart1:YY,cardFourPart2:XY,vipBg:"/landing/vip-transfer-program.webp",vipBgMobile:"/landing/vipTransferMobile.webp"},Jr=({style:t,direction:s})=>{const a=[{className:"block h-auto w-full",filter:`blur(0.8px) brightness(${s==="bottom"?.95:.65})`,mask:`linear-gradient(to ${s}, black 40%, transparent 70%)`},{className:"absolute inset-0 size-full object-cover",filter:"blur(5px) brightness(0.65)",mask:`linear-gradient(to ${s}, transparent 20%, black 45%, black 60%, transparent 85%)`},{className:"absolute inset-0 size-full object-cover",filter:"blur(12px) brightness(0.65)",mask:`linear-gradient(to ${s}, transparent 60%, black 85%)`}];return e.jsx("div",{className:"pointer-events-none absolute overflow-hidden",style:t,children:a.map(l
7110=>e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardOneCards1,alt:"",className:l.className,style:{filter:l.filter,maskImage:l.mask,WebkitMaskImage:l.mask}},l.mask))})},QY=["radial-gradient(ellipse at top center, rgba(22, 25, 35, 1) 0%, rgba(22, 25, 35, 0.9) 40%,","rgba(22, 25, 35, 0.9) 60%, rgba(22, 25, 35, 0.2) 95%, transparent 100%)",`, url(${ft.vipBg})`].join(" "),eX=()=>e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-4 overflow-x-hidden py-[3.75rem]",children:[e.jsxs("div",{className:"flex h-[23.031rem] w-full flex-row justify-center gap-4",children:[e.jsxs("div",{className:"group relative flex max-w-[596.6px] flex-[3] flex-col justify-start overflow-visible rounded-[1.25rem] bg-[#161923] p-8 ring-1 ring-inset ring-gunmetal transition-shadow hover:ring-badge-influencer-text",style:{clipPath:"inset(-500px 0 0 -500px round 1.25rem)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 z-50 rounded-[1.25rem] border-b border-r border-[#1F232F] transition-colors group-hover:border-badge-influencer-text"}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardOneRoulette,alt:"",className:"pointer-events-none absolute",style:{right:"-15%",bottom:"-60%",width:"100%",height:"auto",zIndex:0,transform:"rotate(-57.3deg)"}}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardOneDealer,alt:"",className:"pointer-events-none absolute object-contain",style:{right:"-20%",top:"-13%",height:"130%",width:"auto",maxWidth:"none",zIndex:1,transform:"rotate(-4.49deg)"}}),e.jsx(Jr,{direction:"bottom",style:{right:"-25%",top:"28%",width:"70%",zIndex:2,transform:"rotate(26.7deg)"}}),e.jsx(Jr,{direction:"top",style:{right:"25%",bottom:"-50%",width:"60%",zIndex:3,transform:"rotate(150deg)"}}),e.jsx("h1",{className:"relative z-10 whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[1.1] text-[#BABBD5]",children:n("landingpage.imageshowcase.card1.title")}),e.jsx("p",{className:"relative z-10 whitespace-pre-line font-jost text-[14px] font-semibold text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.card1.description")})]}),e.jsxs("div",{className:"group relative flex max-w-[392.4px] flex-[2] flex-col justify-end overflow-visible rounded-[1.25rem] bg-[#161923] p-8 text-left",style:{clipPath:"inset(-500px -500px 0 -500px round 1.25rem)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 z-main rounded-[1.25rem] border border-[#1F232F] transition-colors group-hover:border-badge-influencer-text"}),e.jsx("div",{className:"pointer-events-none absolute",style:{top:"-130px",left:"-30px",width:"130%",maxWidth:"none",zIndex:2,transform:"rotate(-53.59deg)",filter:"drop-shadow(0px 30px 10px rgba(0,0,0,0.25))"},children:e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardTwo,alt:"",className:"block h-auto w-full"})}),e.jsx("div",{className:"pointer-events-none absolute inset-x-px bottom-px h-48 rounded-b-[1.25rem]",style:{zIndex:5,background:"linear-gradient(to bottom, transparent 0%, #161923 65%)"}}),e.jsx("h1",{className:"relative z-10 whitespace-pre-line font-gilroy text-[24px] font-black uppercase leading-[1.1] text-[#BABBD5]",children:n("landingpage.imageshowcase.card2.title")}),e.jsx("p",{className:"relative z-10 font-jost text-[14px] font-semibold text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.card2.description")})]})]}),e.jsxs("div",{className:"relative flex h-[23.031rem] w-full flex-row justify-center gap-4",children:[e.jsxs("div",{className:"group relative isolate flex max-w-[392.4px] flex-[2] flex-col justify-end overflow-visible rounded-[1.25rem] bg-[#161923] p-8 text-left",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 z-main rounded-[1.25rem] border border-[#1F232F] transition-colors group-hover:border-badge-influencer-text"}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardThreeCard2,alt:"",className:"pointer-events-none absolute",style:{left:"47%",top:"3%",width:"65%",height:"auto",zIndex:2,transform:"rotate(27.27deg)"}}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardThreeCard1,alt:"",className:"pointer-events-none absolute",style:{left:"-20%",top:"-13%",width:"80%",height:"auto",zIndex:3,transform:"rotate(-23.4deg)"}}),e.jsx("h1",{className:"relative z-10 whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[1.1] text-[#BABBD5]",children:n("landingpage.imageshowcase.card3.title")}),e.jsx("p",{className:"relative z-10 font-jost text-[14px] font-normal text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.card3.description")})]}),e.jsxs("div",{className:"group relative flex max-w-[596.6px] flex-[3] flex-col justify-start overflow-hidden rounded-[1.25rem] bg-[#161923] p-8 text-right",children:[e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardFourPart2,alt:"",className:"pointer-events-none absolute",style:{left:"-2rem",top:"-1rem",height:"110%",width:"auto",zIndex:0}}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardFourPart1,alt:"",className:"pointer-events-none absolute",style:{left:"-2rem",top:"10%",height:"110%",width:"auto",zIndex:1}}),e.jsx("div",{className:"pointer-events-none absolute inset-0 z-battlepass-card rounded-[1.25rem] border border-[#1F232F] transition-colors group-hover:border-badge-influencer-text"}),e.jsx("h1",{className:"relative z-10 whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[1.1] text-[#BABBD5]",children:n("landingpage.imageshowcase.card4.title")}),e.jsx("p",{className:"relative z-10 whitespace-pre-line font-jost text-[14px] font-normal text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.card4.description")})]})]}),e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-[4.125rem]",children:[e.jsx("div",{className:"flex h-[18.688rem] w-full max-w-[1005px] flex-row",children:e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-10 rounded-[1.25rem] border border-[#1F232F] bg-[#161923] bg-cover bg-center bg-no-repeat px-8 pb-[1.875rem] pt-[3.75rem] text-center transition-colors hover:border-badge-influencer-text",style:{backgroundImage:QY},children:[e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("h1",{className:"font-gilroy text-[32px] font-black uppercase leading-[100%] text-[#BABBD5]",children:n("landingpage.imageshowcase.vip.title")}),e.jsx("p",{className:"whitespace-pre-line font-jost text-[14px] font-normal leading-[120%] text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.vip.description")})]}),e.jsx("button",{type:"button",className:"inline-flex h-11 cursor-pointer items-center justify-center gap-[0.679rem] self-center rounded-lg bg-buttonv2-accent px-10 text-base leading-6 text-buttonv2-accent-text hover:enabled:[background:var(--color-buttonv2-accent-hover)]",children:e.jsx("p",{className:"text-[18px] font-semibold",children:n("landingpage.imageshowcase.vip.button")})})]})}),e.jsx(ca,{label:n("landingpage.imageshowcase.cta.button")})]})]}),cr="relative flex h-[369px] w-auto flex-col rounded-3xl bg-[#161923] p-[2rem] ring-1 ring-[#1F232F] transition-shadow hover:ring-[#FBB63F]",_4="[text-shadow:0_0_2px_#161923,0_0_4px_#161923,0_0_8px_#161923,0_0_12px_#161923,0_0_16px_#161923]",tX=()=>e.jsxs("div",{className:"mx-auto flex w-full max-w-[396px] flex-col gap-16 pb-20 pt-[80px] sm:pt-20",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:`${cr} group justify-start overflow-visible ring-inset`,style:{clipPath:"inset(-500px 0 0 -500px round 1.5rem)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 z-50 rounded-3xl border-b border-r border-[#1F232F] transition-colors group-hover:border-badge-influencer-text"}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardOneRoulette,alt:"",className:"pointer-events-none absolute",style:{right:"-10%",bottom:"-35%",width:"auto",height:"382.4559px",zIndex:0,transform:"rotate(-57.3deg)"}}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardOneDealer,alt:"",className:"pointer-events-none absolute",style:{right:"-27%",top:"25%",width:"auto",maxWidth:"none",height:"357.5441px",zIndex:1,transform:"rotate(-4.49deg)"}}),e.jsx(Jr,{direction:"bottom",style:{right:"-25%",top:"53%",width:"70%",zIndex:2,transform:"rotate(26.7deg)"}}),e.jsx(Jr,{direction:"top",style:{right:"30%",bottom:"-25%",width:"50%",zIndex:3,transform:"rotate(150deg)"}}),e.jsxs("div",{className:`relative z-10 flex flex-col gap-3 text-left ${_4}`,children:[e.jsx("h1",{className:"whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[110%] text-[#BABBD5]",children:n("landingpage.imageshowcase.card1.title")}),e.jsx("p",{className:"whitespace-pre-line font-jost text-[14px] font-semibold leading-[120%] text-[#525567]",children:n("landingpage.imageshowcase.card1.description")})]})]}),e.jsxs("div",{className:`${cr} group justify-end overflow-visible ring-inset`,style:{clipPath:"inset(-500px
7110-500px 0 -500px round 1.25rem)"},children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 z-[80] rounded-3xl border-b border-l border-[#1F232F] transition-colors group-hover:border-badge-influencer-text"}),e.jsx("div",{className:"pointer-events-none absolute inset-0 z-[80] rounded-3xl border-r border-[#1F232F] transition-colors [clip-path:inset(calc(100%_-_12rem)_0_0_0)] group-hover:border-badge-influencer-text"}),e.jsx("div",{className:"pointer-events-none absolute",style:{top:"-115px",left:"-25px",width:"125%",maxWidth:"none",zIndex:60,transform:"rotate(-53.59deg)",filter:"drop-shadow(0px 30px 10px rgba(0,0,0,0.25))"},children:e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardTwo,alt:"",className:"block h-auto w-full"})}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-48 rounded-b-3xl",style:{zIndex:70,background:"linear-gradient(to bottom, transparent 0%, #161923 65%)"}}),e.jsxs("div",{className:"relative z-[90] flex flex-col gap-3 text-left",children:[e.jsx("h1",{className:"whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[110%] text-[#BABBD5]",children:n("landingpage.imageshowcase.card2.title")}),e.jsx("p",{className:"font-jost text-[14px] font-semibold leading-[120%] text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.card2.description")})]})]}),e.jsxs("div",{className:`${cr} justify-start overflow-hidden`,children:[e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardFourPart2,alt:"",className:"pointer-events-none absolute",style:{left:"-2rem",top:"4rem",height:"90%",width:"auto",zIndex:0}}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardFourPart1,alt:"",className:"pointer-events-none absolute",style:{left:"-2rem",top:"6rem",he
7110ight:"90%",width:"auto",zIndex:1}}),e.jsxs("div",{className:`relative z-10 flex flex-col gap-3 text-right ${_4}`,children:[e.jsx("h1",{className:"whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[110%] text-[#BABBD5]",children:n("landingpage.imageshowcase.card4.title")}),e.jsx("p",{className:"whitespace-pre-line font-jost text-[14px] font-semibold leading-[120%] text-[#525567]",children:n("landingpage.imageshowcase.card4.description")})]})]}),e.jsxs("div",{className:`${cr} justify-end overflow-visible ring-inset`,style:{clipPath:"inset(-500px -500px 0 -500px round 1.25rem)"},children:[e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardThreeCard2,alt:"",className:"pointer-events-none absolute",style:{left:"-1.5rem",top:"-2.5rem",width:"70%",height:"auto",zIndex:0,transform:"rotate(-27.27deg)"}}),e.jsx("img",{loading:"lazy",decoding:"async",src:ft.cardThreeCard1,alt:"",className:"pointer-events-none absolute",style:{left:"9rem",top:"1rem",width:"70%",height:"auto",zIndex:1,transform:"rotate(23.4deg)"}}),e.jsxs("div",{className:"relative z-10 flex flex-col gap-3 text-left",children:[e.jsx("h1",{className:"whitespace-pre-line font-gilroy text-[32px] font-black uppercase leading-[110%] text-[#BABBD5]",children:n("landingpage.imageshowcase.card3.title")}),e.jsx("p",{className:"font-jost text-[14px] font-semibold leading-[120%] text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.card3.description")})]})]}),e.jsxs("div",{className:"relative flex h-[490px] w-auto flex-col overflow-hidden rounded-3xl bg-[#161923] ring-1 ring-gunmetal transition-shadow hover:ring-badge-influencer-text",children:[e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-10 h-[120%]",style:{backgroundImage:"linear-gradient(to bottom, #161923 40%, rgba(22, 25, 35, 0.5) 70%, rgba(22, 25, 35, 0))"}}),e.jsxs("div",{className:"relative z-20 flex flex-col items-center gap-10 px-[2.625rem] pb-16 pt-[3.75rem]",children:[e.jsxs("div",{className:"flex flex-col gap-3 text-center",children:[e.jsx("h1",{className:"font-gilroy text-[32px] font-black uppercase leading-[110%] text-[#BABBD5]",children:n("landingpage.imageshowcase.vip.title")}),e.jsx("p",{className:"whitespace-pre-line font-jost text-[14px] font-semibold leading-[120%] text-[#ADAFCE]/40",children:n("landingpage.imageshowcase.vip.description")})]}),e.jsx("button",{type:"button",className:"inline-flex h-10 cursor-pointer items-center justify-center self-center rounded-lg bg-buttonv2-accent px-4 text-base leading-6 text-buttonv2-accent-text hover:enabled:[background:var(--color-buttonv2-accent-hover)]",children:e.jsx("span",{className:"px-1",children:n("landingpage.imageshowcase.vip.button")})})]}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 h-[368px]",children:e.jsx("img",{loading:"lazy",decoding:"async",src:ft.vipBgMobile,alt:"",className:"size-full object-cover object-bottom"})})]})]}),e.jsx("div",{className:"flex justify-center",children:e.jsx(ca,{label:n("landingpage.imageshowcase.cta.button")})})]}),sX=830.67,aX=()=>{const t=m.useRef(null),[s,a]=m.useState(!0);return m.useEffect(()=>{const l=t.current;if(!l)return;const r=()=>a(l.clientWidth>=sX),i=new ResizeObserver(r);return i.observe(l),r(),()=>i.disconnect()},[]),e.jsx("div",{ref:t,"data-testid":"landing-image-showcase",children:s?e.jsx(eX,{}):e.jsx(tX,{})})},ut=({children:t})=>e.jsx("strong",{className:"text-[#ADAFCE]",children:t}),An=({href:t,children:s})=>e.jsx("a",{className:"text-[#7086FF]",href:t,children:s}),nX=({children:t})=>e.jsx("div",{className:"rounded-[2.5rem] bg-[#7086FF1A]/10 px-4 py-1",children:e.jsx("span",{className:"text-center align-middle font-jost text-[14px] font-medium leading-[24px] text-[#7086FF]",children:t})}),Wa=({chapter:t,heading:s,span:a,children:l})=>e.jsxs("div",{className:"flex flex-col gap-10",children:[e.jsxs("h1",{className:"text-center align-middle font-jost text-[18px] font-bold uppercase leading-[24px]",children:[e.jsxs("span",{className:"text-[#BABBD5]",children:[n("landingpage.letterfuturewhales.chapter_word")," ",t]})," ",e.jsxs("span",{className:"text-[#BABBD5]/40",children:["â ",s]})]}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("span",{className:"font-jost text-[18px] font-medium leading-[140%] text-[#ADAFCE]",children:a}),e.jsx("div",{className:"flex flex-col gap-4 font-jost text-[16px] font-medium leading-[140%] text-[#ADAFCE]/40",children:l})]})]}),N4=637,lX=3e3,rX=["BTC","ETH","SOL","GRAM","BNB","USDT","USD1","CUSD","NOT","TRUMP","BONK"],iX=["whale_crash","whale_dice","whale_duck"],oX=[[{key:"card5",icon:"present"},{key:"card1",icon:"moneyBag"},{key:"card2",icon:"battlepass"}],[{key:"card3",icon:"bolt"},{key:"card4",icon:"box"}]],P=t=>`landingpage.letterfuturewhales.${t}`,cX=()=>{const t=C(ct),s=m.useRef(null),[a,l]=m.useState(!1);m.useEffect(()=>{const i=s.current;if(!i)return;const o=()=>l(i.scrollWidth>i.clientWidth),d=new ResizeObserver(o);return d.observe(i),o(),()=>d.disconnect()},[]);const r=iX.map(i=>$s(t,i)).filter(i=>!!i);return e.jsxs("div",{className:"flex flex-col gap-3",children:[a?e.jsx("div",{className:"hidden justify-end sm:flex",children:e.jsx(ns,{containerRef:s})}):null,e.jsx("div",{ref:s,className:g("no-scrollbar flex gap-x-2 overflow-x-auto",!a&&"justify-start"),children:r.map(i=>e.jsx(Yi,{game:i,href:la(t,i.gameCode),onOpen:()=>X("Open game",{gameCode:i.gameCode,provider:i.provider})},i.gameCode))})]})},k4=({icon:t,subtitleKey:s,className:a})=>e.jsxs("div",{className:g("flex flex-col items-center justify-center gap-10 text-center align-middle",a),children:[e.jsxs("div",{className:"flex flex-col items-center gap-1 text-[#7086FF]",children:[e.jsx(Ta,{icon:t,className:"h-[24px] w-[21px] drop-shadow-[0_0_8px_rgba(112,134,255,0.5)]"}),e.jsx("span",{className:"font-jost text-[14px] font-medium leading-[24px] [text-shadow:0_0_8px_rgba(112,134,255,0.5)]",children:n(P(t==="scroll"?"header.eyebrow":"footer.eyebrow"))})]}),e.jsxs("div",{className:"flex flex-col items-center gap-6",children:[e.jsx("h1",{className:"max-w-[40.75rem] font-gilroy text-[32px] font-black uppercase leading-[120%] text-[#BABBD5] sm:text-[48px]",children:n(P("header.title"))}),e.jsx("span",{className:"max-w-[24.75rem] font-jost text-[16px] font-medium leading-[140%] text-[#ADAFCE]/40",children:n(s)})]})]}),dX=()=>{const t=m.useRef(null),[s,a]=m.useState(!1),[l,r]=m.useState(N4),i=()=>{var o;a(!0),r(((o=t.current)==null?void 0:o.scrollHeight)??N4)};return e.jsx("div",{className:"mx-auto flex w-full max-w-[1000px] flex-col items-center gap-6","data-testid":"landing-letter",children:e.jsxs("div",{ref:t,className:"relative flex w-full flex-col gap-20 overflow-hidden rounded-3xl bg-[#000000]/10 py-[3.75rem]",style:{maxHeight:`${l}px`,transition:`max-height ${lX}ms cubic-bezier(0.645,0.045,0.355,1)`},children:[e.jsxs("div",{className:"flex flex-col gap-[3.75rem] px-[1.125rem] sm:px-[6.875rem]",children:[e.jsx(k4,{icon:"scroll",subtitleKey:P("header.subtitle")}),e.jsx(Wa,{chapter:"1",heading:n(P("chapter1.heading")),span:n(P("chapter1.span")),children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("div",{children:n(P("chapter1.p1"))}),e.jsxs("div",{children:[n(P("chapter1.p2.part1")),e.jsx(ut,{children:n(P("chapter1.p2.bold"))}),n(P("chapter1.p2.part2"))]}),e.jsxs("div",{children:[n(P("chapter1.p3.part1")),e.jsx(ut,{children:n(P("chapter1.p3.bold"))}),n(P("chapter1.p3.part2"))]})]}),e.jsxs("div",{className:"flex flex-col gap-2.5 px-10 py-[3.75rem]",children:[e.jsx("h1",{className:"text-center align-middle font-jost text-[24px] font-bold uppercase leading-[150%] text-[#BABBD5]",children:n(P("chapter1.quote"))}),e.jsx("p",{className:"text-center align-middle font-jost text-[14px] font-medium leading-[24px] text-[#7086FF]",children:n(P("chapter1.quote_attribution"))})]})]})}),e.jsx(Wa,{chapter:"2",heading:n(P("chapter2.heading")),span:n(P("chapter2.span")),children:e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{children:[n(P("chapter2.p1.part1")),e.jsx(ut,{children:n(P("chapter2.p1.bold1"))}),n(P("chapter2.p1.part2")),e.jsx(ut,{children:n(P("chapter2.p1.bold2"))}),n(P("chapter2.p1.part3"))]}),e.jsxs("div",{children:[n(P("chapter2.p2.part1")),e.jsx(ut,{children:n(P("chapter2.p2.bold1"))}),n(P("chapter2.p2.part2")),e.jsx(An,{href:"/live-casino",children:n(P("chapter2.p2.link_livecasino"))}),n(P("chapter2.p2.part3")),e.jsx(An,{href:"/sportsbook",children:n(P("chapter2.p2.link_sportsbook"))}),n(P("chapter2.p2.part4")),e.jsx(An,{href:"/originals",children:n(P("chapter2.p2.link_originals"))}),n(P("chapter2.p2.part5")),e.jsx(ut,{children:n(P("chapter2.p2.bold2"))}),n(P("chapter2.p2.part6"))]})]})}),e.jsx(Wa,{chapter:"3",heading:n(P("chapter3.heading")),span:n(P("chapter3.span")),children:e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{children:[n(P("chapter3.p1.part1")),e.jsx(ut,{children:n(P("chapter3.p1.bold1"))}),n(P("chapter3.p1.part2")),e.jsx(ut,{children:n(P("chapter3.p1.bold2"))}),n(P("chapter3.p1.part3"))]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:rX.map(o=>e.jsx(nX,{children:o},o))}),e.jsxs("div",{children:[n(P("chapter3.p2.part1")),e.jsx(ut,{children:n(P("chapter3.p2.bold"))}),n(P("chapter3.p2.part2"))]})]})}),e.jsxs(Wa,{chapter:"4",heading:n(P("chapter4.heading")),span:n(P("chapter4.span")),children:[e.jsxs("div",{children:[n(P("chapter4.p1.part1")),e.jsx(ut,{children:n(P("chapter4.p1.bold"))}),n(P("chapter4.p1.part2"))]}),e.jsx("div",{className:"flex w-full flex-col gap-2.5 sm:flex-row",children:oX.map(o=>e.jsx("div",{className:"flex w-full flex-col gap-2.5",children:o.map(d=>e.jsx(Yf,{fullWidth:!0,icon:d.icon,title:n(P(`chapter4.${d.key}.title`)),children:n(P(`chapter4.${d.key}.description`))},d.key))},o[0].key))}),e.jsxs("div",{children:[n(P("chapter4.p2.part1")),e.jsx(ut,{children:n(P("chapter4.p2.bold"))}),n(P("chapter4.p2.part2"))]})]}),e.jsx(Wa,{chapter:"5",heading:n(P("chapter5.heading")),span:n(P("chapter5.span")),children:e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{children:[e.jsx(An,{href:"/tribes",children:n(P("chapter5.p1.link"))}),n(P("chapter5.p1.part1")),e.jsx(ut,{children:n(P("chapter5.p1.bold"))}),n(P("chapter5.p1.part2"))]}),e.jsxs("div",{children:[n(P("chapter5.p2.part1")),e.jsx(ut,{children:n(P("chapter5.p2.bold"))}),n(P("chapter5.p2.part2"))]})]})}),e.jsx(Wa,{chapter:"6",heading:n(P("chapter6.heading")),span:n(P("chapter6.span")),children:e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsxs("div",{children:[n(P("chapter6.p1.part1")),e.jsx(An,{href:"/originals",children:n(P("chapter6.p1.link"))}),n(P("chapter6.p1.part2")),e.jsx(ut,{children:n(P("chapter6.p1.bold"))}),n(P("chapter6.p1.part3"))]}),e.jsx(cX,{}),e.jsxs("div",{children:[n(P("chapter6.p2.part1")),e.jsx(ut,{children:n(P("chapter6.p2.bold"))}),n(P("chapter6.p2.part2"))]})]})}),e.jsx(Wa,{chapter:"7",heading:n(P("chapter7.heading")),span:n(P("chapter7.span")),children:e.jsxs("div",{children:[n(P("chapter7.p1.part1")),e.jsx(ut,{children:n(P("chapter7.p1.bold1"))}),n(P("chapter7.p1.part2")),e.jsx(ut,{children:n(P("chapter7.p1.bold2"))}),n(P("chapter7.p1.part3"))]})}),e.jsx(k4,{icon:"signature",subtitleKey:P("footer.subtitle"),className:"pb-2.5 pt-20"})]}),e.jsx("div",{className:"flex justify-center px-[1.125rem] sm:px-[6.875rem]",children:e.jsx(ca,{label:n(P("cta.button"))})}),s?null:e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex h-[200px] items-end justify-center bg-gradient-to-b from-transparent via-[#11141b] to-[#0c0e13] pb-10",children:e.jsxs("button",{type:"button","data-testid":"letter-continue-reading",onClick:i,className:"pointer-events-auto flex items-center justify-center gap-4 roun
7110ded-md bg-[#7086FF]/10 px-6 py-2",children:[e.jsx("span",{className:"font-jost text-[14px] font-medium leading-20 text-[#7086FF]",children:n(P("cta.continue_reading"))}),e.jsx(Ta,{icon:"chevronDown",className:"size-[12px] font-medium text-[#7086FF] transition-transform duration-200"})]})})]})})},uX=[["applePay","googlePay","americanExpress"],["mastercard","paypal","shopPay"],["skrill","visa"]],mX=[["applePay","googlePay","americanExpress","mastercard"],["paypal","shopPay","skrill","visa"]],xX=()=>e.jsxs("div",{className:"flex flex-col items-center justify-center gap-14 px-6 py-[80px] text-center sm:pb-11 sm:pt-[3.75rem]","data-testid":"landing-payment-options",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6",children:[e.jsx(Il,{children:n("landingpage.paymentoptions.title")}),e.jsxs(un,{className:"max-w-[24.75rem]",children:[n("landingpage.paymentoptions.description_prefix")," ",e.jsx("span",{className:"whitespace-nowrap text-badge-influencer-text",children:n("landingpage.paymentoptions.description_highlight")})]})]}),e.jsx("div",{className:"flex flex-col items-center gap-6 sm:hidden",children:uX.map(t=>e.jsx("div",{className:"flex flex-row gap-10",children:t.map(s=>e.jsx("div",{className:"flex h-8 w-20 items-center justify-center",children:e.jsx(Xr,{logo:s})},s))},t.join()))}),e.jsx("div",{className:"hidden flex-col items-center gap-6 sm:flex",children:mX.map((t,s)=>e.jsx("div",{className:s===0?"flex h-[40px] flex-row gap-10":"flex flex-row gap-10",children:t.map(a=>e.jsx(Xr,{logo:a},a))},t.join()))})]}),fX=350,pX=({digit:t})=>{const[s,a]=m.useState(null),l=m.useRef(t);return m.useEffect(()=>{if(l.current===t)return;a(l.current),l.current=t;const r=setTimeout(()=>a(null),fX);return()=>clearTimeout(r)},[t]),e.jsxs("span",{className:"inline-grid overflow-hidden align-bottom",children:[e.jsx("span",{className:"invisible select-none [grid-area:1/1]","aria-hidden":"true",children:t}),s===null?null:e.jsx("span",{className:"landing-slot-out [grid-area:1/1]","aria-hidden":"true",children:s}),e.jsx("span",{className:"landing-slot-in [grid-area:1/1]",children:t},t)]})},hX=({value:t,className:s})=>e.jsx("span",{className:g("inline-flex",s),"data-testid":"tribes-viewers",children:String(t).split("").map((a,l)=>e.jsx(pX,{digit:Number(a)},l))}),gX=749,bX="$52,272.46",CX=()=>{const t=window.location.hostname;return t==="localhost"?"whale.io":t},jX=()=>{const[t,s]=m.useState(928);return m.useEffect(()=>{let a;const l=()=>{a=setTimeout(()=>{s(Math.floor(Math.random()*51)+900),l()},2e3+Math.random()*4e3)};return l(),()=>clearTimeout(a)},[]),t},S4=({viewers:t,className:s})=>e.jsxs("div",{className:s,children:[e.jsxs("div",{className:"flex flex-row items-center gap-4",children:[e.jsx(Wf,{size:"lg"}),e.jsxs("div",{className:"flex flex-col items-start gap-1",children:[e.jsxs("div",{className:"flex flex-row items-center gap-1.5",children:[e.jsx(ve,{icon:"person3Fill",className:"size-5 text-info"}),e.jsx("p",{className:"font-jost text-[12px] font-medium text-[#9092B2]",children:n("landingpage.tribes.section.viewers")})]}),e.jsx(hX,{value:t,className:"font-jost text-[16px] font-semibold leading-[24px]"})]})]}),e.jsxs("div",{className:"flex flex-col items-start gap-1",children:[e.jsxs("div",{className:"flex flex-row items-center gap-1.5",children:[e.jsx(ve,{icon:"moneySack",className:"size-5 text-info"}),e.jsx("p",{className:"font-jost text-[12px] font-medium text-[#9092B2]",children:n("landingpage.tribes.section.room_balance")})]}),e.jsx("p",{className:"font-jost text-[16px] font-semibold leading-[24px]",children:bX})]})]}),vX=()=>{const t=m.useRef(null),[s,a]=m.useState(!0),l=jX(),r=typeof window>"u"?"whale.io":CX(),i=`https://cdn-games.${r}/whale-marketing/gameplay.mp4`,o=`https://cdn-games.${r}/whale-marketing/webcam.mp4`;return m.useEffect(()=>{const d=t.current;if(!d)return;const u=()=>a(d.clientWidth>=gX),c=new ResizeObserver(u);return c.observe(d),u(),()=>c.disconnect()},[]),e.jsxs("div",{className:"flex flex-col gap-10 py-[80px] text-center sm:py-[3.75rem]","data-testid":"landing-tribes",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-6",children:[e.jsx(Il,{children:e.jsx("span",{className:"whitespace-pre-line",children:n("landingpage.tribes.section.title")})}),e.jsxs(un,{className:"max-w-[32.125rem] text-center",children:[n("landingpage.tribes.section.description_part1"),e.jsxs("span",{className:"text-badge-influencer-text",children:[" ",n("landingpage.tribes.section.description_highlight")]})," ",n("landingpage.tribes.section.description_part2")]})]}),e.jsxs("div",{className:"flex flex-col",children:[s?null:e.jsx(S4,{viewers:l,className:"mx-auto mb-3 flex w-full max-w-[892px] flex-row items-center justify-between rounded-xl bg-[#11141B] py-3 pl-4 pr-6 [box-shadow:0_4px_24px_0_rgba(0,0,0,0.8)]"}),e.jsxs("div",{className:"relative mx-auto w-full max-w-[892px]",children:[e.jsxs("div",{ref:t,className:"relative z-10 overflow-hidden rounded-3xl border-[6px] border-[#7086FF]/25",children:[e.jsx("video",{src:i,autoPlay:!0,muted:!0,loop:!0,playsInl
7110ine:!0,disablePictureInPicture:!0}),s?e.jsx(S4,{viewers:l,className:"absolute left-4 top-4 flex w-fit flex-row gap-8 rounded-xl bg-[#11141B] py-3 pl-4 pr-6 [box-shadow:0_4px_24px_0_rgba(0,0,0,0.8)]"}):null]}),e.jsx("div",{className:g("absolute right-4 rounded-2xl [box-shadow:0_0_40px_8.14px_rgba(112,134,255,0.2)]",s?"bottom-[-150px] h-[180px] w-[240px]":"bottom-[-20px] h-[102px] w-[136px]"),children:e.jsx("div",{className:"relative z-20 size-full overflow-hidden rounded-2xl border-4 border-[#11141B]",children:e.jsx("video",{src:o,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,disablePictureInPicture:!0,className:"size-full object-cover object-left"})})})]}),e.jsx("div",{className:g("flex justify-center",s?"mt-[1.125rem]":"mt-16"),children:e.jsx(ca,{label:n("landingpage.tribes.section.cta")})})]})]})},wX=[{key:"banner",margin:"mt-[24px]",Component:bY},{key:"featured",margin:"mt-[24px] sm:mt-[0px]",Component:HY},{key:"games",margin:"mt-[24px] sm:mt-[56px]",Component:KY},{key:"payments",margin:"mt-[24px] sm:mt-[56px]",Component:xX},{key:"build-different",margin:"mt-[24px] sm:mt-[116px]",Component:_Y},{key:"tribes",margin:"mt-[24px] sm:mt-[116px]",Component:vX},{key:"hall-of-whales",margin:"mt-[24px] sm:mt-[56px]",Component:qY},{key:"image-showcase",margin:"mt-[24px] sm:mt-[56px]",Component:aX},{key:"letter",margin:"mt-[104px] sm:mt-[116px]",Component:dX}],yX=()=>{const[t,s,a]=C([te,Je,f8]),[l]=Q1(),{search:r,hash:i}=at();Qe("meta.homepage.title","meta.homepage.description");const o=l.get("openSupport")==="true";return m.useEffect(()=>{o&&b1()},[o]),s&&t&&!a?e.jsx(kt,{to:{pathname:Ma,search:r,hash:i},replace:!0}):!ke(Se.LandingPage)&&t?e.jsx(kt,{to:{pathname:Ma,search:r,hash:i},replace:!0}):s?e.jsx("div",{className:"mx-auto max-w-full","data-testid":"landing-page",children:e.jsx("div",{className:"relative mx-auto flex flex-col justify-center",children:wX.map(({key:d,margin:u,Component:c})=>e.jsx("div",{className:u,children:e.jsx(c,{})},d))})}):null},_X=["evo","bbl"],NX=()=>{Qe("meta.live-casino.title","meta.live-casino.description");const t=ma(Cs.LiveCasino);m.useEffect(()=>{X("Live Casino Page")},[]);const s=(t==null?void 0:t.categories)??[];return e.jsx("div",{className:"mx-auto w-full overflow-hidden","data-testid":"live-casino-lobby",children:e.jsx("div",{className:Ji,children:e.jsx("div",{className:"flex w-full flex-col items-center gap-y-3 md:gap-y-6",children:e.jsxs("section",{className:"flex w-full flex-col gap-y-6 transition-all md:px-0",children:[e.jsx(cn,{section:m1.LIVE_CASINO}),e.jsx(yl,{placeholder:n("global_search_placeholder")}),e.jsxs("div",{className:"flex flex-col gap-y-5",children:[e.jsx(W1,{categories:s,from:0,to:3}),e.jsx("div",{className:"pt-3",children:e.jsx(dn,{title:n("countdown_banner.cashback.title"),description:n("countdown_banner.cashback.description"),timerLabel:n("countdown_banner.cashback.timer_label"),backgroundImage:"/banners/live-casino/countdown-w-livecasino.webp",mobileBackgroundImage:"/banners/live-casino/countdown-m-livecasino.webp"})}),e.jsx(W1,{categories:s,from:3}),e.jsx(v1,{tabsShown:!1,prefixFilter:_X})]})]})})})})},kX={sm:"size-8 rounded-sm p-1",md:"size-8 rounded-sm p-1 sm:size-9 sm:rounded-md"},w1=({onClick:t,size:s="md",showLabel:a=!1,className:l,testId:r="lootbox-back"})=>e.jsxs("button",{type:"button","data-testid":r,"aria-label":n("global_go_back"),onClick:t,className:g("group flex items-center gap-x-2 text-brandblue-100 active:opacity-90",a?"":"shrink-0",l),children:[e.jsx("span",{className:g("flex items-center justify-center border-1 border-solid border-primary bg-primary","group-hover:border-brand-tertiary group-hover:bg-secondary-active",kX[s]),children:e.jsx(ve,{icon:"arrowLeftSimple",className:"size-5 text-current"})}),a?e.jsx("span",{children:n("global_go_back")}):null]}),Da=({item:t,glow:s,className:a})=>{const l=s===void 0?Fr(t==null?void 0:t.rarity):s,r=mu(t==null?void 0:t.rarity);return e.jsx("div",{className:g("flex items-center justify-center",a),style:{"--glow-color-primary":r.primary,"--glow-color-secondary":r.secondary},children:e.jsxs("div",{className:"relative flex aspect-square size-full items-center justify-center",children:[e.jsx(ce,{src:t==null?void 0:t.image,alt:(t==null?void 0:t.name)??"",draggable:!1,
7110className:"block max-h-full max-w-full rounded-lg object-contain",style:l?{filter:"var(--lootbox-glow-filter)"}:{filter:"none"},loading:"lazy"}),l?e.jsx("span",{className:"lootbox-glow","aria-hidden":"true"}):null]})})},Qf=({item:t,selectedCurrency:s,sellable:a,glow:l,className:r})=>e.jsx("div",{className:g("h-auto w-full overflow-hidden rounded-xl border border-[#212734] bg-[#1a1e27]",r),"data-testid":"lootbox-item-card",children:e.jsxs("div",{className:"pointer-events-none relative flex aspect-[3/4] w-full flex-col items-center justify-between overflow-hidden",children:[e.jsx("div",{className:"absolute right-0 top-0 z-10 w-full p-2 text-right text-xs font-normal text-slate-500",children:t!=null&&t.odds?e.jsxs("span",{"data-testid":"lootbox-item-odds",children:[US(t.odds),"%"]}):null}),e.jsx("div",{}),e.jsx("div",{className:"flex h-1/2 items-center justify-center p-8",children:e.jsx(Da,{item:t,glow:l})}),e.jsxs("div",{className:"flex h-[81px] w-full flex-col items-center gap-2 border-t border-highlight bg-[radial-gradient(100%_100%_at_50%_0%,#202532_0%,#171b24_100%)] p-4",children:[e.jsx("div",{className:"w-full truncate text-center text-sm font-normal text-brandblue-100",children:t==null?void 0:t.name}),a&&(t!=null&&t.showPriceInCurrency)?e.jsxs("div",{className:"flex flex-row items-center gap-2",children:[e.jsx(we,{currency:s}),e.jsx("div",{className:"text-sm font-medium text-white",children:Ke((t==null?void 0:t.costInCurrency)??0,s)})]}):null]})]})}),SX=(t="success")=>{var a,l;if(typeof window>"u")return;const s=(a=window.Telegram)==null?void 0:a.WebApp;if((l=s==null?void 0:s.HapticFeedback)!=null&&l.notificationOccurred)try{s.HapticFeedback.notificationOccurred(t);return}catch{}if(typeof navigator<"u"&&typeof navigator.vibrate=="function")try{navigator.vibrate(t==="success"?30:60)}catch{}},y0="/sounds/tick.mp3",A4="/sounds/win.wav",L4="/sounds/rare-win.wav",AX=(t,s)=>Math.floor(Math.random()*(s-t+1))+t,M4=()=>new Promise(t=>requestAnimationFrame(()=>t())),LX=t=>new Promise(s=>setTimeout(s,t)),ep=m.forwardRef(({items:t,spinnerIndex:s},a)=>{const l=m.useRef(null),r=m.useRef(null),i=m.useRef(!0);m.useEffect(()=>(i.current=!0,()=>{i.current=!1,Vs([y0,A4,L4])}),[]);const o=m.useMemo(()=>new Map(t.map(N=>[N.id,N])),[t]),[d,u]=m.useState(()=>Gd(t,Wd,!0)),[c,x]=m.useState(!1),[p,f]=m.useState(!1),h=m.useCallback(N=>{var w;return-(((w=l.current)==null?void 0:w.getBoundingClientRect().width)??0)/2+Io/2+Io*N},[]),b=m.useCallback(N=>{const k=r.current;k&&(k.style.transition="none",k.style.transform=`translateX(${h(N)}px)`)},[h]),v=m.useCallback(()=>{x(!1),f(!1),u(Gd(t,Wd,!0)),b(Zd)},[t,b]),j=m.useCallback((N,k)=>{const w=r.current;if(!w)return Promise.resolve();const S=Math.abs(w.getBoundingClientRect().right),M=h(N);return new Promise(_=>{w.style.transition=`transform ${k}ms ${VS}`,w.style.transform=`translateX(${M}px)`;const A=performance.now();let E=0;const L=()=>
7110{if(!i.current){_();return}const B=performance.now()-A,z=Math.abs(w.getBoundingClientRect().right)-S,le=Math.floor(z/(Io*2));le>E&&(E=le,s===0&&qe(y0)),B<k?requestAnimationFrame(L):(qe(y0),_())};requestAnimationFrame(L)})},[h,s]),y=m.useCallback(async N=>{const k=o.get(N);if(!k)return;v(),x(!0);const{slots:w,targetIndex:S}=zS(t,k);u(w),await M4(),await M4(),await j(S,AX(ZS,GS)),i.current&&(qe(Fr(k.rarity)?L4:A4),SX("success"),x(!1),f(!0),await LX(WS))},[j,t,o,v]);return m.useImperativeHandle(a,()=>({spin:y,reset:v}),[y,v]),e.jsxs("div",{className:"relative flex h-full items-center justify-center","data-testid":`lootbox-spinner-${s}`,children:[e.jsxs("div",{ref:l,className:"relative flex h-[126px] w-full items-center justify-center overflow-hidden rounded-[20px] bg-secondary sm:h-[156px]",children:[e.jsx("span",{className:"pointer-events-none absolute left-1/2 top-0 z-main h-px w-[200px] -translate-x-1/2 bg-gradient-to-r from-transparent via-[#637af4] to-transparent"}),e.jsx("span",{className:"pointer-events-none absolute bottom-0 left-1/2 z-main h-px w-[200px] -translate-x-1/2 bg-gradient-to-r from-transparent via-[#637af4] to-transparent"}),e.jsx("div",{ref:r,className:"absolute right-0 flex h-[94px] items-center justify-center sm:h-[124px]",style:{transform:`translateX(${h(Zd)}px)`},children:d.map(N=>{const k=o.get(N.lootboxItemId),w=!N.isWinner&&p&&!c;return e.jsx("div",{"data-winner":N.isWinner||void 0,className:g("flex h-full w-[164px] shrink-0 origin-center justify-center px-3",w?"blur-sm":"blur-none"),children:e.jsx(Da,{item:k,glow:N.isWinner&&!c||!N.isPlaceholder&&Fr(N.rarity)})},N.id)})}),e.jsx("span",{className:"pointer-events-none absolute left-0 top-0 z-battlepass-card h-full w-[100px] bg-gradient-to-r from-[#1f232d] to-transparent"}),e.jsx("span",{className:"pointer-events-none absolute right-0 top-0 z-battlepass-card h-full w-[100px] bg-gradient-to-l from-[#1f232d] to-transparent"})]}),e.jsx("span",{className:"absolute left-1/2 top-0 size-0 -translate-x-1/2 rotate-180 border-x-[10px] border-b-[10px] border-x-transparent border-b-[#637af4]"}),e.jsx("span",{className:"absolute bottom-0 left-1/2 size-0 -translate-x-1/2 border-x-[10px] border-b-[10px] border-x-transparent border-b-[#637af4]"})]})});ep.displayName="Spinner";const MX=({fill:t="#9092B2",className:s})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:s,"aria-hidden":!0,children:[e.jsx("path",{d:"M10.833 2C9.02118 2.00856 7.26347 2.6003 5.83526 3.6825C4.40705 4.76471 3.38903 6.27624 2.94069 7.98028L2.39226 7.1752C2.34034 7.09091 2.27137 7.0177 2.18951 6.95999C2.10766 6.90228 2.01461 6.86126 1.91597 6.8394C1.81734 6.81755 1.71517 6.81531 1.61562 6.83282C1.51607 6.85033 1.42121 6.88723 1.33675 6.9413C1.25229 6.99536 1.17999 7.06547 1.1242 7.1474C1.06841 7.22932 1.0303 7.32137 1.01215 7.41798C0.994004 7.51459 0.996203 7.61377 1.01862 7.70954C1.04103 7.8053 1.08319 7.89567 1.14256 7.97519L2.79085 10.3999C2.90534 10.5554 3.07415 10.6652 3.26585 10.709C3.4616 10.7467 3.66477 10.7088 3.83226 10.6035L6.3047 8.98681C6.38994 8.93513 6.46361 8.86734 6.5213 8.78746C6.579 8.70758 6.61955 8.61725 6.64055 8.52184C6.66154 8.42644 6.66254 8.32791 6.64349 8.23212C6.62444 8.13633 6.58574 8.04524 6.52968 7.96427C6.47361 7.8833 6.40134 7.81411 6.31716 7.76081C6.23299 7.70751 6.13862 7.6712 6.03968 7.65403C5.94075 7.63687 5.83927 7.6392 5.74128 7.66088C5.64329 7.68257 5.5508 7.72318 5.46931 7.78028L4.34473 8.51627C4.64403 7.33693 5.27881 6.26301 6.17664 5.41702C7.07447 4.57103 8.1992 3.98704 9.42251 3.73169C10.6458 3.47634 11.9184 3.55991 13.0952 3.97286C14.2719 4.38581 15.3053 5.11151 16.0776 6.06717C16.8499 7.02283 17.3299 8.16996 17.4628 9.37768C17.5958 10.5854 17.3763 11.8051 16.8295 12.8975C16.2827 13.99 15.4305 14.9113 14.3702 15.5563C13.31 16.2012 12.0843 16.5439 10.833 16.5452C9.76036 16.5424 8.70429 16.2883 7.75455 15.8043C6.80481 15.3204 5.98949 14.621 5.37791 13.7656C5.32313 13.684 5.25202 13.6139 5.16878 13.5594C5.08555 13.505 4.99189 13.4673 4.89337 13.4487C4.79485 13.4301 4.69348 13.4308 4.59528 13.451C4.49707 13.4711 4.40404 13.5102 4.32169 13.5659C4.23935 13.6216 4.16937 13.6928 4.11592 13.7753C4.06247 13.8577 4.02664 13.9498 4.01055 14.0459C3.99446 14.1421 3.99844 14.2404 4.02226 14.3351C4.04607 14.4297 4.08923 14.5188 4.14918 14.5969C5.14345 15.9883 6.57129 17.0334 8.22286 17.5786C9.87443 18.1238 11.6626 18.1404 13.3246 17.6259C14.9866 17.1114 16.4348 16.093 17.4562 14.7203C18.4777 13.3477 19.0186 11.6931 18.9995 9.99988
7110C19.0069 7.88858 18.1512 5.86063 16.6203 4.3609C15.0893 2.86117 13.008 2.01212 10.833 2Z",fill:t}),e.jsx("path",{d:"M10.7581 5.59995C10.5594 5.59995 10.3688 5.67657 10.2283 5.81296C10.0878 5.94935 10.0088 6.13433 10.0088 6.32721V9.99988C10.012 10.1921 10.0905 10.376 10.2284 10.5141L12.476 12.7155C12.6171 12.8502 12.8068 12.9262 13.0047 12.9271C13.2026 12.9281 13.393 12.854 13.5354 12.7206C13.6765 12.5848 13.7562 12.4001 13.757 12.2073C13.7579 12.0145 13.6798 11.8292 13.5399 11.6922L11.5073 9.70098V6.32721C11.5073 6.13433 11.4284 5.94935 11.2879 5.81296C11.1473 5.67657 10.9568 5.59995 10.7581 5.59995Z",fill:t})]}),zc=({fill:t="#9092B2",className:s,width:a=20,height:l=20})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:l,viewBox:"0 0 20 20",fill:"none",className:s,"aria-hidden":!0,children:[e.jsx("path",{d:"M4.375 10H6.25063V11.875H4.375V10Z",fill:t}),e.jsx("path",{d:"M8.125 10H7.5V11.875C7.5 12.2065 7.3683 12.5245 7.13388 12.7589C6.89946 12.9933 6.58152 13.125 6.25 13.125H4.375C4.04348 13.125 3.72554 12.9933 3.49112 12.7589C3.2567 12.5245 3.125 12.2065 3.125 11.875V10H2.5C2.16848 10 1.85054 10.1317 1.61612 10.3661C1.3817 10.6005 1.25 10.9185 1.25 11.25V16.875C1.25 17.2065 1.3817 17.5245 1.61612 17.7589C1.85054 17.9933 2.16848 18.125 2.5 18.125H8.125C8.45652 18.125 8.77446 17.9933 9.00888 17.7589C9.2433 17.5245 9.375 17.2065 9.375 16.875V11.25C9.375 10.9185 9.2433 10.6005 9.00888 10.3661C8.77446 10.1317 8.45652 10 8.125 10Z",fill:t}),e.jsx("path",{d:"M13.75 10H15.6256V11.875H13.75V10Z",fill:t}),e.jsx("path",{d:"M17.5 10H16.875V11.875C16.875 12.2065 16.7433 12.5245 16.5089 12.7589C16.2745 12.9933 15.9565 13.125 15.625 13.125H13.75C13.4185 13.125 13.1005 12.9933 12.8661 12.7589C12.6317 12.5245 12.5 12.2065 12.5 11.875V10H11.875C11.5435 10 11.2255 10.1317 10.9911 10.3661C10.7567 10.6005 10.625 10.9185 10.625 11.25V16.875C10.625 17.2065 10.7567 17.5245 10.9911 17.7589C11.2255 17.9933 11.5435 18.125 11.875 18.125H17.5C17.8315 18.125 18.1495 17.9933 18.3839 17.7589C18.6183 17.5245 18.75 17.2065 18.75 16.875V11.25C18.75 10.9185 18.6183 10.6005 18.3839 10.3661C18.1495 10.1317 17.8315 10 17.5 10Z",fill:t}),e.jsx("path",{d:"M9.375 1.25H10.6256V3.125H9.375V1.25Z",fill:t}),e.jsx("path",{d:"M6.875 8.75H13.125C13.4565 8.75 13.7745 8.6183 14.0089 8.38388C14.2433 8.14946 14.375 7.83152 14.375 7.5V2.5C14.375 2.16848 14.2433 1.85054 14.0089 1.61612C13.7745 1.3817 13.4565 1.25 13.125 1.25H11.875V3.125C11.875 3.45652 11.7433 3.77446 11.5089 4.00888C11.2745 4.2433 10.9565 4.375 10.625 4.375H9.375C9.04348 4.375 8.72554 4.2433 8.49112 4.00888C8.2567 3.77446 8.125 3.45652 8.125 3.125V1.25H6.875C6.54348 1.25 6.22554 1.3817 5.99112 1.61612C5.7567 1.85054 5.625 2.16848 5.625 2.5V7.5C5.625 7.83152 5.7567 8.14946 5.99112 8.38388C6.22554 8.6183 6.54348 8.75 6.875 8.75Z",fill:t})]}),BX=({className:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",className:t,"aria-hidden":!0,children:[e.jsx("path",{d:"M14.8463 11.8461C14.8504 11.7965 14.8504 11.7468 14.8463 11.6972C14.8463 11.2586 14.6701 10.8379 14.3563 10.5277C14.0426 10.2175 13.6171 10.0433 13.1735 10.0433C12.7298 10.0433 12.3043 10.2175 11.9906 10.5277C11.6769 10.8379 11.5007 11.2586 11.5007 11.6972C11.4965 11.7468 11.4965 11.7965 11.5007 11.8461C11.5007 12.2847 11.6769 12.7054 11.9906 13.0156C12.3043 13.3258 12.7298 13.5 13.1735 13.5C13.6171 13.5 14.0426 13.3258 14.3563 13.0156C14.6701 12.7054 14.8463 12.2847 14.8463 11.8461Z",fill:"#9092B2"}),e.jsx("path",{d:"M8.15489 11.8461C8.15904 11.7965 8.15904 11.7468 8.15489 11.6972C8.15489 11.2586 7.97865 10.8379 7.66493 10.5277C7.35122 10.2175 6.92573 10.0433 6.48208 10.0433C6.03842 10.0433 5.61293 10.2175 5.29922 10.5277C4.98551 10.8379 4.80927 11.2586 4.80927 11.6972C4.80511 11.7468 4.80511 11.7965 4.80927 11.8461C4.80927 12.2847 4.98551 12.7054 5.29922 13.0156C5.61293 13.3258 6.03842 13.5 6.48208 13.5C6.92573 13.5 7.35122 13.3258 7.66493 13.0156C7.97865 12.7054 8.15489 12.2847 8.15489 11.8461Z",fill:"#9092B2"}),e.jsx("path",{d:"M1.88191 7.91794H0.627305C0.51213 7.91766 0.399161 7.94917 0.301107 8.00891C0.2159 8.06084 0.144501 8.13218 0.0928731 8.21697C0.0412456 8.30176 0.010889 8.39753 0.00433933 8.49629C-0.00221033 8.59504 0.0152372 8.69392 0.0552243 8.78464C0.0952113 8.87537 0.156577 8.95532 0.234194 9.01781C0.343666 9.11024 0.483365 9.16019 0.627305 9.1584H2.71832C2.88469 9.1584 3.04425 9.22374 3.16189 9.34006C3.27953 9.45638 3.34562 9.61413 3.34562 9.77863C3.34562 9.94312 3.27953 10.1009 3.16189 10.2172C3.04425 10.3335 2.88469 10.3989 2.71832 10.3989H1.88191C1.71554 10.3989 1.55598 10.4642 1.43834 10.5805C1.3207 10.6968 1.25461 10.8546 1.25461 11.0191C1.25461 11.1836 1.3207 11.3413 1.43834 11.4577C1.55598 11.5
711074 1.71554 11.6393 1.88191 11.6393H4.19039C4.22637 11.2187 4.38307 10.8171 4.64205 10.4816C4.8585 10.2014 5.13677 9.9739 5.45566 9.81625C5.77455 9.6586 6.12563 9.57503 6.48214 9.57189C7.05672 9.5697 7.61117 9.781 8.03562 10.1639C8.46008 10.5468 8.72357 11.0734 8.77389 11.6393H10.8816C10.9307 11.0718 11.1934 10.5431 11.6178 10.1579C12.0422 9.77266 12.5973 9.55891 13.1734 9.55891C13.7495 9.55891 14.3046 9.77266 14.729 10.1579C15.1533 10.5431 15.4161 11.0718 15.4651 11.6393H16.6026C16.7983 11.6432 16.9892 11.5792 17.142 11.4583C17.2948 11.3374 17.4 11.1673 17.4391 10.9777L17.9911 8.24873C17.9868 8.22967 17.9868 8.2099 17.9911 8.19084C18.0029 8.11965 18.0029 8.04702 17.9911 7.97583L16.4186 3.3944C16.333 3.1511 16.1723 2.94047 15.9593 2.79213C15.7462 2.64379 15.4915 2.56521 15.2309 2.56743H13.7254L13.8174 1.90585C13.8399 1.73056 13.8245 1.55255 13.7723 1.38357C13.72 1.2146 13.6321 1.05852 13.5143 0.925636C13.3965 0.792755 13.2515 0.686104 13.0889 0.612732C12.9264 0.539359 12.7499 0.500936 12.5712 0.5H3.13652C2.97015 0.5 2.81059 0.565346 2.69295 0.681661C2.57531 0.797977 2.50922 0.955734 2.50922 1.12023C2.50922 1.28472 2.57531 1.44248 2.69295 1.5588C2.81059 1.67511 2.97015 1.74046 3.13652 1.74046H4.18203C4.3484 1.74046 4.50796 1.8058 4.6256 1.92212C4.74324 2.03843 4.80933 2.19619 4.80933 2.36069C4.80933 2.52518 4.74324 2.68294 4.6256 2.79926C4.50796 2.91557 4.3484 2.98092 4.18203 2.98092H0.627305C0.461607 2.98306 0.303305 3.04909 0.186129 3.16495C0.0689532 3.2808 0.00216692 3.43732 6.62242e-07 3.60115C-0.00023108 3.75788 0.0603663 3.90872 0.1693 4.02258C0.278233 4.13644 0.427198 4.20463 0.585485 4.21311H2.71832C2.88469 4.21311 3.04425 4.27845 3.16189 4.39477C3.27953 4.51108 3.34562 4.66884 3.34562 4.83333C3.34562 4.99783 3.27953 5.15559 3.16189 5.2719C3.04425 5.38822 2.88469 5.45356 2.71832 5.45356H1.46371H1.32989C1.19044 5.48367 1.06555 5.55989 0.975826 5.66965C0.886107 5.77941 0.836927 5.91613 0.836406 6.05725C0.836406 6.22175 0.902497 6.37951 1.02014 6.49582C1.13778 6.61214 1.29734 6.67748 1.46371 6.67748H1.88191C2.04828 6.67748 2.20784 6.74283 2.32548 6.85914C2.44313 6.97546 2.50922 7.13322 2.50922 7.29771C2.50922 7.46221 2.44313 7.61996 2.32548 7.73628C2.20784 7.85259 2.04828 7.91794 1.88191 7.91794ZM13.5916 3.78308H15.1138C15.1578 3.78374 15.2004 3.79752 15.2363 3.82261C15.2721 3.84771 15.2994 3.88293 15.3146 3.92367L16.519 7.50445H13.0897L13.5916 3.78308Z",fill:"#9092B2"})]}),tp=({fill:t="#637AF4",className:s})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",className:s,"aria-hidden":!0,children:[e.jsx("path",{d:"M18.0156 13.8152C18.0205 13.7558 18.0205 13.696 18.0156 13.6366C18.0156 13.1102 17.8041 12.6054 17.4276 12.2332C17.0512 11.861 16.5406 11.6519 16.0082 11.6519C15.4758 11.6519 14.9652 11.861 14.5888 12.2332C14.2123 12.6054 14.0008 13.1102 14.0008 13.6366C13.9958 13.696 13.9958 13.7558 14.0008 13.8152C14.0008 14.3416 14.2123 14.8464 14.5888 15.2186C14.9652 15.5908 15.4758 15.7999 16.0082 15.7999C16.5406 15.7999 17.0512 15.5908 17.4276 15.2186C17.8041 14.8464 18.0156 14.3416 18.0156 13.8152Z",fill:t}),e.jsx("path",{d:"M9.98626 13.8152C9.99124 13.7558 9.99124 13.696 9.98626 13.6366C9.98626 13.1102 9.77476 12.6054 9.39831 12.2332C9.02185 11.861 8.51127 11.6519 7.97888 11.6519C7.44649 11.6519 6.93591 11.861 6.55946 12.2332C6.183 12.6054 5.97151 13.1102 5.97151 13.6366C5.96653 13.696 5.96653 13.7558 5.97151 13.8152C5.97151 14.3416 6.183 14.8464 6.55946 15.2186C6.93591 15.5908 7.44649 15.7999 7.97888 15.7999C8.51127 15.7999 9.02185 15.5908 9.39831 15.2186C9.77476 14.8464 9.98626 14.3416 9.98626 13.8152Z",fill:t}),e.jsx("path",{d:"M2.45849 9.10148H0.952961C0.814751 9.10115 0.679189 9.13895 0.561523 9.21064C0.459275 9.27296 0.373596 9.35857 0.311643 9.46032C0.24969 9.56207 0.213262 9.67699 0.205403 9.7955C0.197543 9.91401 0.21848 10.0327 0.266464 10.1415C0.314449 10.2504 0.388087 10.3463 0.481228 10.4213C0.612595 10.5322 0.780234 10.5922 0.952961 10.59H3.46218C3.66182 10.59 3.85329 10.6684 3.99446 10.808C4.13563 10.9476 4.21494 11.1369 4.21494 11.3343C4.21494 11.5317 4.13563 11.721 3.99446 11.8606C3.85329 12.0002 3.66182 12.0786 3.46218 12.0786H2.45849C2.25885 12.0786 2.06738 12.157 1.92621 12.2966C1.78503 12.4362 1.70573 12.6255 1.70573 12.8229C1.70573 13.0202 1.78503 13.2096 1.92621 13.3491C2.06738 13.4887 2.25885 13.5671 2.45849 13.5671H5.22867C5.27184 13.0624 5.45988 12.5804 5.77066 12.1778C6.0304 11.8417 6.36432 11.5686 6.74699 11.3795C7.12965 11.1903 7.55095 11.09 7.97877 11.0862C8.66826 11.0836 9.33359 11.3371 9.84294 11.7966C10.3523 12.2561 10.6685 12.888 10.7289 13.5671H13.2582C13.3171 12.8861 13.6323 12.2517 14.1415 11.7894C14.6508 11.3271 15.3169 11.0706 16.0083 11.0706C16.6996 11.0706 17.3657 11.3271 17.875 11.7894C18.3842 12.2517 18.6995 12.8861 18.7584 13.5671H20.1234C20.3582 13.5718 20.5872 13.4949 20.7706 13.3499C20.954 13.2048 21.0801 13.0008 21.1271 12.7732L21.7895 9.49843C21.7843 9.47556 21.7843 9.45183 21.7895 9.42896C21.8037 9.34353 21.8037 9.25638 21.7895 9.17095L19.9026 3.67323C19.7997 3.38127 19.607 3.12851 19.3513 2.95051C19.0957 2.7725 18.79 2.6782 18.4773 2.68087H16.6707L16.7811 1.88697C16.8081 1.67663 16.7896 1.46301 16.7269 1.26024C16.6642 1.05747 16.5587 0.87017 16.4173 0.710714C16.276 0.551257 16.102 0.423277 15.9069 0.33523C15.7118 0.247182 15.5001 0.201074 15.2856 0.199951H3.96402C3.76437 0.199951 3.57291 0.278366 3.43174 0.417944C3.29056 0.557523 3.21126 0.746832 3.21126 0.944226C3.21126 1.14162 3.29056 1.33093 3.43174 1.47051C3.57291 1.61009 3.76437 1.6885 3.96402 1.6885H5.21863C5.41827 1.6885 5.60974 1.76692 5.75091 1.90649C5.89209 2.04607 5.97139 2.23538 5.97139 2.43278C5.97139 2.63017 5.89209 2.81948 5.75091 2.95906C5.60974 3.09864 5.41827 3.17705 5.21863 3.17705H0.952961C0.754124 3.17962 0.564162 3.25886 0.42355 3.39789
7110C0.282939 3.53691 0.202796 3.72473 0.200196 3.92133C0.199918 4.1094 0.272635 4.29042 0.403355 4.42705C0.534075 4.56368 0.712833 4.64551 0.902777 4.65568H3.46218C3.66182 4.65568 3.85329 4.73409 3.99446 4.87367C4.13563 5.01325 4.21494 5.20256 4.21494 5.39995C4.21494 5.59735 4.13563 5.78666 3.99446 5.92623C3.85329 6.06581 3.66182 6.14423 3.46218 6.14423H1.95665H1.79606C1.62872 6.18035 1.47885 6.27182 1.37119 6.40353C1.26352 6.53524 1.20451 6.69931 1.20388 6.86866C1.20388 7.06605 1.28319 7.25536 1.42436 7.39494C1.56553 7.53452 1.757 7.61293 1.95665 7.61293H2.45849C2.65814 7.61293 2.84961 7.69135 2.99078 7.83092C3.13195 7.9705 3.21126 8.15981 3.21126 8.35721C3.21126 8.5546 3.13195 8.74391 2.99078 8.88349C2.84961 9.02307 2.65814 9.10148 2.45849 9.10148ZM16.5101 4.13965H18.3368C18.3895 4.14044 18.4407 4.15697 18.4837 4.18709C18.5267 4.2172 18.5595 4.25947 18.5777 4.30835L20.023 8.6053H15.9079L16.5101 4.13965Z",fill:t})]}),EX="/sounds/item-sold.wav",RX=()=>{var c,x,p,f;const t=C(I3),{closeModal:s}=W(),a=t.filter(h=>h.sellable),l=a.reduce((h,b)=>h+Number(b.costInCurrency||0),0).toFixed(5),r=a.reduce((h,b)=>h+Number(b.costInUsd||0),0),i=Ke(r,U.USDT),o=a.filter(h=>h.status===se.AVAILABLE),d=t.some(h=>h.status===se.AVAILABLE)&&a.length>0,u=async()=>{var h;try{const b=await xu({ids:a.map(v=>v.id)});qe(EX),s(),be({level:"success",title:n("lootbox.toast.item_sold"),body:n("lootbox.toast.you_sold_many",{count:b.count,price:l,currency:((h=t[0])==null?void 0:h.currency)??U.USDT})})}catch{be({level:"error",title:n("lootbox.toast.error"),body:n("lootbox.toast.inventory_sell_error")})}};return e.jsxs("div",{className:"relative flex flex-col gap-4","data-testid":"lootbox-win-modal",children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 top-0 h-1/2 bg-[url('/confetti-big.svg')] bg-contain bg-top bg-no-repeat"}),e.jsx("button",{type:"button","aria-label":"Close Modal",onClick:()=>s(),className:"absolute right-0 top-0 flex size-8 items-center justify-center rounded-full bg-primary text-lg font-bold text-white hover:bg-primary/80",children:e.jsx(ia,{})}),e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsx("div",{className:"relative flex size-16 items-center justify-center rounded-full bg-success/10 text-2xl",children:"ð"}),e.jsx("div",{className:"flex w-full flex-row items-center justify-center gap-1 truncate text-center text-base font-medium text-white md:text-lg","data-testid":"lootbox-win-title",children:t.length===1?n("lootbox.win_modal.title_single_item",{itemName:((x=(c=t[0])==null?void 0:c.item)==null?void 0:x.name)??""}):e.jsxs(e.Fragment,{children:[n("lootbox.win_modal.title_many_items.prefix"),e.jsx(we,{currency:((p=t[0])==null?void 0:p.currency)??U.USDT}),"$",i,n("lootbox.win_modal.title_many_items.suffix",{count:t.length})]})})]}),e.jsx("div",{className:"relative w-full",children:e.jsx("div",{className:"grid max-h-[364px] min-h-[232px] w-full grid-cols-2 items-center justify-center gap-2 overflow-y-auto py-4 md:gap-4",children:t.map(h=>e.jsx(Qf,{item:h.item,selectedCurrency:h.currency,glow:!0,sellable:h.sellable},h.id))})}),e.jsxs("div",{className:"flex w-full flex-wrap-reverse items-center gap-4 md:flex-row md:flex-nowrap",children:[e.jsx(O,{variant:"highlight",className:"w-full","data-testid":"lootbox-win-keep",onClick:()=>s(),children:n("lootbox.confirm_sale.keep")}),d?e.jsxs(O,{variant:"golden",className:"flex w-full flex-row gap-1","data-testid":"lootbox-win-sell-all",onClick:u,children:[n("lootbox.confirm_sale.sale_all",{count:o.length}),e.jsx(we,{currency:((f=a[0])==null?void 0:f.currency)??U.USDT,grayscale:!0}),"$",i]}):null]})]})},sp="lootboxWin",TX=$e({component:RX,title:()=>n("lootbox.win_modal.title_many_items.prefix"),hideTitle:!0,wrapperClass:"bg-gradient-lootbox-win-modal md:rounded-2xl p-4 gap-4 sm:gap-6"}),IX=()=>{const{slug:t=""}=as(),s=Y(),{openModal:a}=W(),[l,r,i,o,d,u,c,x,p]=C([KS,qS,YS,XS,JS,QS,I3,ts,We]),[f,h]=C([eA,tA]),b=m.useRef([]);m.useEffect(()=>(sA({slug:t,currency:x}),()=>aA()),[t,x]);const v=!!p,j=nA(l==null?void 0:l.freeBets,p==null?void 0:p.kycStatus),y=r.remainingFreeBetsCount>0,N=m.useCallback(()=>
7110{if(yi(ll)){a(ul,{tab:"verification",skipToKYC:"true"});return}a($c)},[a]),k=m.useCallback(async E=>{await Promise.all(E.filter(L=>{var B;return(B=L==null?void 0:L.item)==null?void 0:B.id}).map((L,B)=>{var z,le;return(le=b.current[B])==null?void 0:le.spin(Number((z=L.item)==null?void 0:z.id))})),lA(),a(sp)},[a]);m.useEffect(()=>{c.length>0&&k(c)},[c,k]),m.useEffect(()=>{const E=rA.watch(()=>{a("wallet",{tab:"deposit",openReason:"lootbox"})});return()=>E()},[a]);const w=p!=null&&p.selfExclusionUntil&&new Date(p.selfExclusionUntil).getTime()>Date.now()?p.selfExclusionUntil:null;if(w)return e.jsxs("div",{className:"flex w-full flex-col items-center gap-3 py-10","data-testid":"lootbox-self-excluded",children:[e.jsx("h2",{className:"text-xl font-semibold text-white",children:n("modals.responsible_gaming.selfExclusion")}),e.jsx(iA,{until:w})]});if(!l)return e.jsx("div",{className:"px-4 py-10 text-center text-brandblue-100 lg:px-0",children:n("global_loading")});const S=Ke(Number(l.costInUsd??0)*i,U.USDT),M=()=>h?n("lootbox.case.try_again"):r.isDisabled?n("lootbox.case.open_case_free_disabled"):u?n("lootbox.case.play_again"):y?j?n("lootbox.case.open_case_free_verification_required"):n("lootbox.case.open_case_free"):n("lootbox.case.open_case"),_=()=>h?"primary":r.isDisabled?"gradientgreen":y?u||j?"golden":"gradientgreen":u?"golden":"primary",A=()=>{if(y&&j){N();return}cA({currency:x})};return e.jsxs("div",{className:"flex flex-col gap-2 px-4 lg:px-0","data-testid":"lootbox-box-page","data-slug":l.urlSlug,children:[e.jsxs("div",{className:"flex flex-col items-center gap-6",children:[e.jsxs("div",{className:"relative flex w-full items-center justify-center",children:[e.jsx(w1,{showLabel:!0,className:"absolute left-0 top-1",onClick:()=>s(st())}),e.jsxs(O,{variant:"ghost",size:"md",className:"absolute right-0 top-1 gap-2","data-testid":"lootbox-inventory-link",onClick:()=>s(wt()),children:[e.jsx(zc,{width:16,height:16}),e.jsx("span",{className:"hidden sm:flex",children:n("lootbox.inventory.button")})]}),e.jsxs("div",{className:"relative mt-12 flex size-[120px] items-center justify-center",children:[e.jsx("span",{className:"absolute size-[120px] rotate-[25deg] rounded-2xl bg-[rgb(32,34,42)]"}),e.jsx("span",{className:"absolute size-[120px] rotate-[75deg] overflow-hidden rounded-2xl border border-[#2f3ec8] bg-[rgb(32,34,42)]"}),e.jsx(ce,{src:l.image,alt:l.name,className:"relative z-battlepass-card size-[110px] object-contain drop-shadow-[0_0_18px_#a152e3]"})]})]}),e.jsx("h1",{className:"w-full text-center text-3xl font-semibold text-white",children:l.name}),e.jsx("div",{className:"flex w-full flex-col gap-2",children:Array.from({length:i},(E,L)=>e.jsx("div",{className:"w-full",children:e.jsx(ep,{ref:B=>{b.current[L]=B},items:l.items,spinnerIndex:L})},L))}),o?e.jsx("div",{className:"flex items-center gap-2 text-error","data-testid":"lootbox-open-error",children:e.jsx("span",{children:o})}):null,e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-6 sm:flex-row sm:gap-2",children:[e.jsx("div",{className:"flex items-center gap-1 rounded-lg bg-secondary p-1","data-testid":"lootbox-count-tabs",children:Array.from({length:r.maxCountToOpen},(E,L)=>L+1).map(E=>e.jsx("button",{type:"button","data-testid":`lootbox-count-${E}`,disabled:d||r.isDisabled,onClick:()=>oA(E),className:g("h-8 min-w-10 rounded-md px-3 text-sm font-medium transition-colors disabled:opacity-50",E===i?"bg-gradient-primary text-button-primary-text":"text-brandblue-100"),children:E},E))}),e.jsx("div",{className:"flex w-full flex-row gap-2 sm:w-auto",children:v?e.jsxs(O,{variant:_(),size:"md",className:"w-full gap-1 sm:w-auto","data-testid":"lootbox-open-button",disabled:!f,onClick:A,children:[M(),!y&&!r.isDisabled?e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:x}),"$",S]}):null]}):e.jsx(O,{variant:"primary",size:"md",className:"w-full gap-1 sm:w-auto","data-testid":"lootbox-login-button",onClick:()=>a(_e,{tab:"login"}),children:n("lootbox.case.login")})})]})]}),e.jsx("h2",{className:"flex items-center gap-2 pt-6 text-2xl font-semibold text-white",children:n("lootbox.case.items_in_case")}),e.jsx("div",{className:"grid w-full grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:gr
7110id-cols-6","data-testid":"lootbox-items-grid",children:l.items.map(E=>e.jsx(Qf,{item:E,selectedCurrency:l.currency,sellable:!0},E.id))})]})},FX=({color:t})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5303 3.96967C15.8232 4.26256 15.8232 4.73744 15.5303 5.03033L7.28033 13.2803C6.98744 13.5732 6.51256 13.5732 6.21967 13.2803L2.46967 9.53033C2.17678 9.23744 2.17678 8.76256 2.46967 8.46967C2.76256 8.17678 3.23744 8.17678 3.53033 8.46967L6.75 11.6893L14.4697 3.96967C14.7626 3.67678 15.2374 3.67678 15.5303 3.96967Z",fill:t})}),OX=({color:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,children:[e.jsx("path",{d:"M9 0C10.78 2.12267e-08 12.5201 0.527841 14.0001 1.51677C15.4802 2.50571 16.6337 3.91131 17.3149 5.55585C17.9961 7.20038 18.1743 9.00998 17.8271 10.7558C17.4798 12.5016 16.6226 14.1053 15.364 15.364L14.0912 14.0912C15.0981 13.0842 15.7838 11.8013 16.0617 10.4047C16.3395 9.00799 16.1969 7.56031 15.6519 6.24468C15.107 4.92905 14.1841 3.80456 13.0001 3.01342C11.8161 2.22227 10.424 1.8 9 1.8V0Z",fill:t}),e.jsx("path",{d:"M9 18C7.8181 18 6.64778 17.7672 5.55585 17.3149C4.46392 16.8626 3.47177 16.1997 2.63604 15.364C1.80031 14.5282 1.13738 13.5361 0.685084 12.4441C0.232791 11.3522 -3.14664e-07 10.1819 0 9C3.14665e-07 7.8181 0.232793 6.64778 0.685085 5.55585C1.13738 4.46392 1.80031 3.47176 2.63604 2.63604C3.47177 1.80031 4.46392 1.13737 5.55585 0.685083C6.64778 0.232791 7.81811 -5.77665e-07 9 0L9 1.8C8.05449 1.8 7.11823 1.98623 6.24468 2.34807C5.37114 2.7099 4.57741 3.24025 3.90883 3.90883C3.24025 4.57741 2.7099 5.37113 2.34807 6.24468C1.98623 7.11822 1.8 8.05448 1.8 9C1.8 9.94552 1.98623 10.8818 2.34807 11.7553C2.7099 12.6289 3.24025 13.4226 3.90883 14.0912C4.57741 14.7598 5.37113 15.2901 6.24468 15.6519C7.11822 16.0138 8.05448 16.2 9 16.2V18Z",fill:"url(#deliveryLoadingTail)"}),e.jsx("defs",{children:e.jsxs("linearGradient",{id:"deliveryLoadingTail",x1:"9",y1:"3.72529e-08",x2:"9",y2:"18",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:t}),e.jsx("stop",{offset:"1",stopColor:t,stopOpacity:"0"})]})})]}),DX=({status:t,grayscale:s=!1})=>{const a=(()=>{switch(t){case se.REQUESTED_DELIVERY:case se.PROCESSING_DELIVERY:return e.jsx(OX,{color:"#9092B2"});case se.SHIPPED:return e.jsx(tp,{fill:"#637AF4"});case se.DELIVERED:case se.SOLD:case se.AVAILABLE:return e.jsx(FX,{color:"#54D149"});default:return null}})();return a?e.jsx("span",{className:g("inline-flex",s&&"saturate-0 brightness-75 contrast-200"),children:a}):null},Gc=t=>{const[s,a,l]=C([fu,pu,I3]),r=Number(t);if(!(!t||Number.isNaN(r)))return[...s,...a,...l].find(i=>i.id===r)},$X=({lootboxInventoryId:t})=>{var d,u;const s=Gc(t),{closeModal:a}=W(),[l,r]=m.useState(!1),i=!(s!=null&&s.sellable)||![se.AVAILABLE,se.REQUESTED_DELIVERY].includes(s.status),o=async()=>{var c;if(s){r(!0);try{await xu({ids:[s.id]}),be({level:"success",title:n("lootbox.toast.item_sold"),body:n("lootbox.toast.you_sold",{item:((c=s.item)==null?void 0:c.name)??"",price:s.costInCurrency,currency:s.currency})}),window.setTimeout(()=>a(),500)}catch{be({level:"error",title:n("notification.toast.error.title"),body:n("notification.toast.error.body",{id:s.id})})}finally{r(!1)}}};return s?e.jsxs("div",{className:"flex h-full flex-col justify-between gap-6","data-testid":"lootbox-sell-modal",children:[e.jsx(w1,{showLabel:!0,className:"self-start",testId:"lootbox-sell-back",onClick:()=>a()}),e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[e.jsx(Da,{item:s.item,className:"size-[156px]"}),e.jsx("div",{className:"text-center text-sm font-normal text-golden",children:n("lootbox.confirm_sale.title")}),e.jsx("div",{className:"text-center text-base font-medium text-white",children:(d=s.item)==null?void 0:d.name}),(u=s.item)!=null&&u.description?e.jsx("div",{className:"text-center text-sm font-normal text-brandblue-100",children:s.item.description}):null]}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-4",children:[e.jsx("div",{className:"flex h-10 w-full flex-row items-center justify-center gap-2 rounded-lg bg-secondary",children:e.jsxs("div",{className:"flex flex-row items-center gap-2 text-center text-sm font-normal text-white",children:[e.jsxs("span",{className:"font-normal text-brandblue-100",children:[n("lootbox.confirm_sale.will_receive"),":"]}),s.costInCurrency?e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:s.currency}),e.jsx("span",{className:"font-medium text-white",children:s.costInCurrency})]}):null]})}),e.jsxs("div",{className:"flex w-full flex-row items-center gap-4",children:[e.jsx(O,{variant:"highlight",onClick:()=>a(),children:n("lootbox.confirm_sale.cancel")}),e.jsx(O,{variant:"golden",className:"w-full","data-testid":"lootbox-sell-confirm",disabled:i||l,onClick:o,children:n("lootbox.confirm_sale.confirm")})]})]})]}):null},Zc="lootboxSell",PX=$e({component:$X,title:()=>n("lootbox.confirm_sale.title"),removeSearchParams:["lootboxInventoryId"],hideTitle:!0,wrapperClass:"bg-gradient-lootbox-golden-modal md:rounded-2xl p-6 gap-6"}),HX=new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"}),UX=t=>{var s;return t.status===se.SOLD?{price:((s=t.item)==null?void 0:s.costInCurrency)??"",currency:t.currency}:{id:t.id,date:HX.format(new Date(t.createdAt))}},ap=()=>{const t=Y(),{openModal:s}=W(),[a,l,r,i,o]=C([pu,dA,uA,te,Je]),[d,u]=m.useState(1);return m.useEffect(()=>{o&&!i&&t(st(),{replace:!0})},[i,o,t]),m.useEffect(()=>{i&&mA(d)},[d,i]),e.jsxs("div",{className:"flex flex-col gap-2 px-4 lg:px-0","data-testid":"lootbox-deliveries-page",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(w1,{onClick:()=>t(wt())}),e.jsxs("h2",{className:"flex items-center gap-2 text-2xl font-semibold text-white",children:[e.jsx(tp,{fill:"#6178F3"}),n("lootbox.deliveries.title")]})]}),a.length===0&&!r?e.jsx("div",{className:"py-10 text-center text-xl font-semibold leading-normal text-brandblue-100","data-testid":"lootbox-deliveries-empty",children:n("lootbox.deliveries.empty")}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col items-stretch gap-2 pb-4",children:[e.jsxs("div",{className:"mt-4 grid w-full grid-cols-2 text-sm text-brandblue-100 sm:grid-cols-4",children:[e.jsx("div",{className:"flex items-center justify-start px-2",children:n("lootbox.deliveries.unboxed_item")}),e.jsx("div",{className:"hidden items-center justify-start px-2 sm:flex",children:n("lootbox.deliveries.sending_to")}),e.jsx("div",{className:"hidden items-center justify-start px-2 sm:flex",children:n("lootbox.deliveries.status")}),e.jsx("div",{className:"flex items-center justify-end px-2",children:n("lootbox.deliveries.details")})]}),a.map((c,x)=>{var p,f;return e.jsxs("div",{"data-testid":"lootbox-delivery-row","data-status":c.status,className:"grid w-full grid-cols-2 rounded-lg bg-primary p-4 text-sm text-brandblue-100 sm:grid-cols-4",children:[e.jsx("div",{className:"flex items-center justify-start gap-2 truncate",children:c.item?e.jsxs(e.Fragment,{children:[e.jsx(Da,{item:c.item,glow:!1,className:"size-12"}),e.jsxs("div",{className:"flex flex-col gap-1 truncate",children:[e.jsx("div",{className:"text-xs font-normal",children:n(`lootbox.item.type.${c.item.type}`)}),e.jsx("div",{className:"truncate text-sm font-medium text-white",children:c.item.name}),e.jsxs("div",{className:"flex flex-row items-center gap-1 text-sm font-normal text-white",children:[e.jsx(we,{currency:c.currency}
7110),c.item.costInCurrency]})]})]}):null}),e.jsxs("div",{className:"order-last col-span-2 mt-4 flex flex-row gap-2 border-t border-secondary pt-4 sm:order-none sm:mt-0 sm:border-none sm:pt-0",children:[e.jsxs("div",{className:"flex w-full flex-col justify-center overflow-hidden text-ellipsis p-1",children:[e.jsx("div",{className:"flex items-center justify-start pb-2 sm:hidden",children:n("lootbox.deliveries.sending_to")}),xA(c.shippingDetails,(p=c.item)==null?void 0:p.type).map((h,b)=>e.jsxs("p",{"data-testid":"lootbox-shipping-line",className:g("truncate",h.hideOnMobile?"hidden sm:flex":""),children:[h.label?e.jsx("b",{className:"pr-1",children:h.label}):null,h.value]},b))]}),e.jsxs("div",{className:"group flex w-full flex-col justify-start gap-2 sm:justify-center",children:[e.jsx("div",{className:"flex items-center justify-end pb-2 sm:hidden",children:n("lootbox.deliveries.status")}),e.jsxs("div",{className:"flex items-center justify-end gap-2 truncate sm:justify-start",children:[e.jsx(DX,{status:c.status}),n(`lootbox.deliveries.statuses.${c.status}.title`)]}),e.jsx("div",{className:"hidden overflow-hidden text-ellipsis text-xs text-brandblue-100 sm:flex",children:n(`lootbox.deliveries.statuses.${c.status}.subtitle`,UX(c))})]})]}),e.jsx("div",{className:"flex flex-row items-center justify-end gap-2",children:c.status===se.REQUESTED_DELIVERY?e.jsxs("div",{className:"flex w-full flex-col items-end justify-end gap-2",children:[e.jsxs(O,{variant:"golden",size:"sm",className:"gap-1 px-4","data-testid":"lootbox-delivery-sell",disabled:!c.sellable,onClick:()=>s(Zc,{lootboxInventoryId:String(c.id)}),children:[e.jsxs("span",{className:"hidden w-full flex-row items-center justify-center gap-1 sm:flex",children:[n("lootbox.inventory.sell_item"),e.jsx(we,{currency:c.currency,grayscale:!0}),(f=c.item)==null?void 0:f.costInCurrency]}),e.jsx("span",{className:"flex w-full items-center justify-center sm:hidden",children:n("lootbox.inventory.sell_instantly")})]}),e.jsx(O,{variant:"ghost",size:"sm",className:"items-center justify-center gap-1","data-testid":"lootbox-delivery-cancel",onClick:()=>fA(c.id),children:n("lootbox.deliveries.cancel_order")})]}):e.jsxs("div",{className:"flex w-full flex-col items-end justify-end gap-1 sm:flex-row",children:[e.jsx("div",{className:"text-brandblue-100",children:n("lootbox.deliveries.order_number")}),e.jsx("div",{className:"text-white",children:c.id})]})})]},`${c.id}-${x}`)})]}),e.jsx(Vc,{page:d,totalPages:(l==null?void 0:l.pageCount)??1,onChange:u})]})]})},VX=[["year",365*24*3600],["month",30*24*3600],["day",24*3600],["hour",3600],["minute",60],["second",1]],zX=()=>new Intl.RelativeTimeFormat(li(),{numeric:"auto"}),GX=t=>{const s=Math.round((new Date(t).getTime()-Date.now())/1e3),a=zX();for(const[l,r]of VX)if(Math.abs(s)>=r||l==="second")return a.format(Math.round(s/r),l);return""},np=()=>{const t=Y(),[s,a,l,r,i]=C([pA,hA,gA,te,Je]),[o,d]=m.useState(1);return m.useEffect(()=>{i&&!r&&t(st(),{replace:!0})},[r,i,t]),m.useEffect(()=>{r&&bA(o)},[o,r]),e.jsxs("div",{className:"flex flex-col gap-2 px-4 lg:px-0","data-testid":"lootbox-history-page",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(w1,{onClick:()=>t(st())}),e.jsxs("h2",{className:"flex items-center gap-2 text-2xl font-semibold text-white",children:[e.jsx(MX,{fill:"#6178F3"}),n("lootbox.history.title")]})]}),e.jsxs(O,{variant:"ghost",size:"md",className:"gap-2","data-testid":"lootbox-inventory-link",onClick:()=>t(wt()),children:[e.jsx(zc,{width:16,height:16}),e.jsx("span",{className:"hidden sm:flex",children:n("lootbox.inventory.button")})]})]}),s.length===0&&!l?e.jsx("div",{className:"py-10 text-center text-xl font-semibold leading-normal text-brandblue-100","data-testid":"lootbox-history-empty",children:n("lootbox.history.empty")}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col gap-2 pb-4",children:[e.jsxs("div",{className:"mt-4 grid w-full grid-cols-3 text-sm text-brandblue-100 sm:grid-cols-5",children:[e.jsx("div",{className:"flex items-center justify-start px-2",children:n("lootbox.history.unboxed_item")}),e.jsx("div",{className:"flex items-center justify-center px-2",children:n("lootbox.history.item_value")}),e.jsx("div",{className:"flex items-center justify-center px-2",children:n("lootbox.history.from_lootbox")}),e.jsx("div",{className:"hidden items-center justify-center px-2 sm:flex",children:n("lootbox.history.profit")}),e.jsx("div",{className:"hidden items-center justify-end px-2 sm:flex",children:n("lootbox.history.date")})]}),s.map((u,c)=>{var x,p,f,h,b,v,j;return e.jsxs("div",{"data-testid":"lootbox-history-row",className:"grid h-[68px] w-full grid-cols-3 rounded-lg bg-primary p-2 text-sm text-brandblue-100 opacity-80 transition-all duration-300 hover:bg-highlight hover:opacity-100 sm:grid-cols-5",children:[e.jsx("div",{className:"flex items-center justify-start gap-2 truncate",children:u.item?e.jsxs(e.Fragment,{children:[e.jsx(Da,{item:u.item,className:"size-12"}),e.jsxs("div",{className:"flex flex-col gap-1 truncate",children:[e.jsx("div",{className:"text-xs font-normal",children:n(`lootbox.item.type.${u.item.type}`)}),e.jsx("div",{className:"truncate text-sm font-medium text-white",children:u.item.name})]})]}):null}),e.jsx("div",{className:"flex items-center justify-center truncate",children:e.jsxs("div",{className:"flex flex-row items-center gap-1 text-sm font-normal text-white",children:[e.jsx(we,{currency:u.currency}
7110),(x=u.item)==null?void 0:x.costInCurrency]})}),e.jsxs("button",{type:"button",className:"group flex items-center justify-center gap-2 truncate",onClick:()=>{var y;return((y=u.lootbox)==null?void 0:y.urlSlug)&&t(Jt(u.lootbox.urlSlug))},children:[e.jsx(ce,{src:(p=u.lootbox)==null?void 0:p.image,alt:((f=u.lootbox)==null?void 0:f.name)??"",className:"hidden size-12 object-contain transition-all duration-300 group-hover:-rotate-[15deg] group-hover:scale-110 sm:block",loading:"lazy"}),e.jsxs("div",{className:"flex flex-col gap-1 truncate",children:[e.jsx("div",{className:"truncate text-xs font-normal",children:(h=u.lootbox)==null?void 0:h.name}),(b=u.lootbox)!=null&&b.currency?e.jsxs("div",{className:"flex flex-row items-center gap-1 text-sm font-normal text-white",children:[e.jsx(we,{currency:u.lootbox.currency}),u.lootbox.costInCurrency]}):null]})]}),e.jsx("div",{className:"hidden items-center justify-center truncate sm:flex",children:e.jsxs("div",{className:g("flex flex-row items-center gap-1 text-sm font-normal",(((v=u.profit)==null?void 0:v.profitInCurrency)??0)>=0?"text-success":"text-white"),children:[e.jsx(we,{currency:u.currency}),(j=u.profit)==null?void 0:j.profitInCurrency]})}),e.jsx("div",{className:"hidden items-center justify-end truncate sm:flex",children:GX(u.createdAt)})]},`${u.id}-${c}`)})]}),e.jsx(Vc,{page:o,totalPages:(a==null?void 0:a.pageCount)??1,onChange:d})]})]})},ZX=1e3,Wc=60*ZX,O2=60*Wc,B4=24*O2,_0=t=>{if(t<=0)return"0m";const s=Math.floor(t/B4),a=Math.floor(t%B4/O2),l=Math.floor(t%O2/Wc);return s>0?`${s}d ${a}h`:a>0?`${a}h ${l}m`:`${l}m`},WX=({target:t})=>{const[s,a]=m.useState(()=>_0(t.getTime()-Date.now()));return m.useEffect(()=>{a(_0(t.getTime()-Date.now()));const l=window.setInterval(()=>a(_0(t.getTime()-Date.now())),Wc);return()=>window.clearInterval(l)},[t]),e.jsx("span",{className:"inline",children:s})},KX=t=>t.lootboxItemType===Yt.ORIGINAL_GAME_FREEBET,qX=t=>{var l;const s=(l=t.item)==null?void 0:l.productDetails,a=typeof(s==null?void 0:s.gameType)=="string"?s.gameType.trim():"";return a?Xn(`whale_${a}`):void 0},YX={[se.SOLD]:"lootbox.inventory.withdraw_freebet",[se.AVAILABLE]:"lootbox.inventory.withdraw_freebet",[se.WITHDRAWN]:"lootbox.inventory.claimed",[se.ACTIVATING]:"lootbox.inventory.activating",[se.ACTIVATED]:"lootbox.inventory.play_freebet"},XX=t=>YX[t]??"lootbox.inventory.not_available",JX=t=>t===se.AVAILABLE?"primary":t===se.ACTIVATED?"gradientgreen":"secondary",QX=t=>t===se.AVAILABLE||t===se.ACTIVATED,qn={CLAIM:"claim",PLAY:"play",NONE:"none"},eJ=t=>t.withdrawable&&t.status===se.AVAILABLE?qn.CLAIM:t.status===se.ACTIVATED?qn.PLAY:qn.NONE,tJ=24*60*60*1e3,D2=t=>({[Yt.PHYSICAL_ITEM]:n("lootbox.inventory.order"),[Yt.CRYPTO]:n("lootbox.inventory.withdraw_crypto"),[Yt.NFT]:n("lootbox.inventory.withdraw_crypto"),[Yt.TOKEN]:n("lootbox.inventory.withdraw_crypto"),[Yt.FREESPIN]:n("lootbox.inventory.withdraw_freespin"),[Yt.DEPOSIT]:n("lootbox.inventory.withdraw_deposit"),[Yt.ORIGINAL_GAME_FREEBET]:n("lootbox.inventory.withdraw_freebet")})[t]??n("lootbox.inventory.withdraw"),sJ=t=>{var l;const s=D2(((l=t.item)==null?void 0:l.type)??t.lootboxItemType);return{[se.SOLD]:s,[se.AVAILABLE]:s,[se.ACTIVATING]:n("lootbox.inventory.activating"),[se.PROCESSING_DELIVERY]:n("lootbox.inventory.processing_delivery"),[se.REQUESTED_DELIVERY]:n("lootbox.inventory.requested_delivery"),[se.SHIPPED]:n("lootbox.inventory.withdraw_processing"),[se.DELIVERED]:n("lootbox.inventory.withdrawn"),[se.WITHDRAWN]:n("lootbox.inventory.claimed")}[t.status]??n("lootbox.inventory.not_available")},aJ=t=>{var a,l;return{[se.SOLD]:D2(((a=t.item)==null?void 0:a.type)??t.lootboxItemType),[se.AVAILABLE]:D2(((l=t.item)==null?void 0:l.type)??t.lootboxItemType),[se.WITHDRAWN]:n("lootbox.inventory.claimed"),[se.ACTIVATING]:n("lootbox.inventory.activating"),[se.ACTIVATED]:n("lootbox.inventory.play_freespin")}[t.status]??n("lootbox.inventory.not_available")},nJ=t=>t.isExpired?"secondary":t.status===se.AVAILABLE?"primary":t.status===se.ACTIVATED?"gradientgreen":"secondary",lJ=({inventory:t,onSell:s,onWithdraw:a,onRequestDelivery:l,onPlayFreespin:r,onPlayFreebet:i})=>{var j,y,N,k;const[o,d]=m.useState(!1),u=t.lootboxItemType===Yt.FREESPIN,c=KX(t),x=u&&t.isExpired===!0,p=u&&t.expiresAt?new Date(t.expiresAt):null,f=p&&!x?p.getTime()-Date.now()<=tJ:!1,h=()=>{t.withdrawable?a(t):t.deliverable&&l(t)}
7110,b=()=>{if(t.withdrawable&&t.status===se.AVAILABLE){a(t);return}t.status===se.ACTIVATED&&r(t)},v=()=>{const w=eJ(t);if(w===qn.CLAIM){a(t);return}w===qn.PLAY&&i(t)};return e.jsx("div",{className:"h-auto w-full","data-testid":"lootbox-inventory-card","data-status":t.status,"data-inventory-id":t.id,children:e.jsxs("div",{role:"listitem",onMouseOver:()=>d(!0),onFocus:()=>d(!0),onMouseLeave:()=>d(!1),className:g("relative flex aspect-[3/5] w-full flex-col items-center justify-between overflow-hidden rounded-xl bg-[#1a1e27] drop-shadow-md","hover:bg-highlight",x&&"opacity-50"),children:[x?e.jsx("div",{className:"absolute right-2 top-2 z-10 rounded bg-red-500/90 px-2 py-0.5 text-xs font-semibold text-white","data-testid":"lootbox-inventory-expired",children:n("lootbox.inventory.expired")}):null,e.jsx("div",{}),e.jsx("div",{className:"flex h-2/5 items-center justify-center p-8",children:e.jsx(Da,{item:t.item,glow:o||Fr((j=t.item)==null?void 0:j.rarity)})}),e.jsxs("div",{className:"flex h-[177px] w-full flex-col items-center gap-4 border-t border-highlight bg-gradient-lootbox-inventory-card p-4",children:[e.jsxs("div",{className:"flex w-full flex-col items-center gap-2 overflow-hidden",children:[e.jsx("div",{className:"w-full truncate text-center text-sm font-normal text-brandblue-100",children:(y=t.item)==null?void 0:y.name}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(we,{currency:t.currency}),e.jsx("div",{className:"text-sm font-medium text-white",children:t.costInCurrency})]}),p&&!x?e.jsxs("div",{className:g("text-xs",f?"text-orange-400":"text-brandblue-200"),children:[n("lootbox.inventory.expires_in")," ",e.jsx(WX,{target:p})]}):null]}),e.jsxs("div",{className:"flex w-full flex-col gap-2",children:[c?e.jsx(O,{variant:JX(t.status),size:"md","data-testid":"lootbox-inventory-action",className:"gap-1 truncate font-medium",disabled:!QX(t.status),onClick:v,children:n(XX(t.status))}):u?e.jsx(O,{variant:nJ(t),size:"md","data-testid":"lootbox-inventory-action",className:"gap-1 truncate font-medium",disabled:t.isExpired===!0||![se.ACTIVATED,se.AVAILABLE].includes(t.status),onClick:b,children:aJ(t)}):e.jsx(O,{variant:t.status===se.AVAILABLE&&((N=t.item)!=null&&N.inStock)?"primary":"secondary",size:"md","data-testid":"lootbox-inventory-action",className:"gap-1 truncate font-medium",disabled:t.status!==se.AVAILABLE||!((k=t.item)!=null&&k.inStock),onClick:h,children:sJ(t)}),t.sellable&&!x?e.jsxs(O,{variant:t.status===se.AVAILABLE?"golden":"secondary",size:"md","data-testid":"lootbox-inventory-sell",className:"gap-1 truncate font-medium",disabled:t.status!==se.AVAILABLE,onClick:()=>s(t),children:[t.status===se.SOLD?n("lootbox.inventory.sold_for"):n("lootbox.inventory.sell_item"),e.jsx(we,{currency:t.currency,grayscale:!0}),t.costInCurrency]}):null]})]})]})})},Kc=t=>t===U.WHALE?U.USDT:t,lp=({lootbox:t})=>{const s=Y(),a=CA(t.freeBets)>0;return e.jsxs("button",{type:"button","data-testid":"lootbox-card","data-slug":t.urlSlug,onClick:()=>s(Jt(t.urlSlug)),className:g("group mb-2 flex h-[240px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border","border-[#212734] bg-[#171B24] p-4 transition-colors duration-200 hover:bg-gradient-lootbox-card-hover","sm:min-w-[186px] md:min-w-[196px]"),children:[e.jsx("div",{className:"flex size-[140px] items-center justify-center",children:e.jsx(ce,{src:t.image,alt:t.name,className:"max-h-full max-w-full object-contain",loading:"lazy"})}),e.jsxs("div",{className:"flex w-full flex-col items-center justify-start gap-2",children:[e.jsx("div",{className:"text-center text-base font-normal text-white",children:t.name}),e.jsx("div",{className:Ni({variant:"lootbox",className:"w-full"}),children:a?e.jsx("div",{"data-testid":"lootbox-card-free",className:"text-base font-medium text-white",children:n("lootbox.collectibles.open_free")}):e.jsxs(e.Fragment,{children:[e.jsx(we,{currency:Kc(t.currency)}),e.jsxs("div",{className:"pl-2 text-base font-medium text-white",children:["$",Ke(t.costInUsd,U.USDT)]})]})})]})]})},rJ=({name:t,filter:s,value:a,onChange:l})=>{const[r,i]=m.useState(!1),o=m.useRef(null);m.useEffect(()=>{if(!r)return;const u=c=>{o.current&&!o.current.contains(c.target)&&i(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[r]);const d=s.keys.find(u=>u.key===a);return e.jsxs("div",{className:"relative w-full",ref:o,children:[e.jsxs("button",{type:"button","data-testid":`lootbox-filter-${t}`,onClick:()=>i(u=>!u),className:"flex h-10 w-full items-center justify-center gap-1 truncate rounded-md bg-primary p-1 text-sm font-normal hover:bg-highlight",children:[e.jsxs("span",{className:"font-normal text-brandblue-100",children:[s.title,":"]}
7110),e.jsx("span",{className:"font-normal capitalize text-white",children:(d==null?void 0:d.value)??""}),e.jsx(Qt,{className:"size-4"})]}),r?e.jsx("div",{className:"absolute inset-x-0 top-11 z-modal overflow-hidden rounded-md drop-shadow-md",children:s.keys.map(u=>e.jsx("button",{type:"button","data-testid":`lootbox-filter-${t}-${u.key}`,onClick:()=>{l(u.key),i(!1)},className:g("flex h-10 w-full items-center truncate px-3 text-left text-sm capitalize","bg-primary hover:bg-highlight",u.key===a?"text-white":"text-brandblue-100"),children:u.value},u.key))}):null]})},rp=({placeholder:t,filters:s,values:a,onChange:l,searchable:r=!1,currency:i="USDT"})=>{const o=C(jA),[d,u]=m.useState("");m.useEffect(()=>()=>Kd(),[]);const c=()=>{u(""),Kd()},x=Object.entries(s);return e.jsxs("div",{className:"flex w-full flex-col gap-2 lg:flex-row",children:[r?e.jsxs("div",{className:"relative flex w-full flex-col gap-2",children:[e.jsxs("div",{className:"flex h-10 items-center gap-x-2 rounded-lg bg-primary px-3",children:[e.jsx("input",{type:"text",name:"search","data-testid":"lootbox-search-input",placeholder:t,value:d,onChange:p=>{u(p.target.value),vA({query:p.target.value,currency:i})},className:"w-full bg-transparent py-2.5 text-sm font-medium text-white outline-none placeholder:text-input-placeholder"}),d?e.jsx("button",{type:"button","aria-label":"Clear search",onClick:c,children:e.jsx(ia,{className:"size-3 text-brandblue-100"})}):null]}),o.length>0?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button","aria-label":"Close search results",className:"bg-black/50 fixed inset-0 z-overlay cursor-default backdrop-blur-sm",onClick:c}),e.jsxs("div",{"data-testid":"lootbox-search-results",className:"absolute left-0 top-12 z-overlay flex max-h-[70vh] w-full flex-col overflow-hidden rounded-lg bg-main drop-shadow-md",children:[e.jsxs("div",{className:"flex w-full items-center justify-between bg-primary px-4 py-3",children:[e.jsx("span",{className:"text-sm font-medium text-white",children:n("lootbox.search.search_result")}),e.jsx("span",{className:"text-sm font-medium text-brandblue-50",children:n("lootbox.search.found_search_result",{searchResultCount:o.length})})]}),e.jsx("div",{className:"grid grid-cols-1 gap-4 overflow-y-auto p-4 sm:grid-cols-2 md:grid-cols-3",children:o.map(p=>e.jsx(lp,{lootbox:{...p,currency:Kc(p.currency)}}
7110,p.id))})]})]}):null]}):null,e.jsx("div",{className:"grid min-w-[300px] gap-2",style:{gridTemplateColumns:`repeat(${x.length}, minmax(0, 1fr))`},children:x.map(([p,f])=>e.jsx(rJ,{name:p,filter:f,value:a[p],onChange:h=>l(p,h)},p))})]})},$2=U7,N0=t=>t?$2.find(s=>s.name===t)??$2.find(s=>s.iso===t):void 0,k0=["nameFirst","nameLast","email","phone","postalAddress","postalCode","country","city"],S0={nameFirst:"",nameLast:"",email:"",phone:"",postalAddress:"",postalCode:"",country:"",city:""},iJ=({lootboxInventoryId:t})=>{var _,A,E;const s=Gc(t),{closeModal:a}=W(),[l,r]=m.useState("product_details"),[i,o]=m.useState(S0),[d,u]=m.useState(S0),[c,x]=m.useState({}),[p,f]=m.useState(!1),[h,b]=m.useState(!1);m.useEffect(()=>{var z;if(!s)return;const L=s.shippingDetails??{},B={...S0};k0.forEach(le=>{const V=L[le];B[le]=V?String(V):""}),B.country=((z=N0(B.country))==null?void 0:z.iso)??"",o(B),u(B)},[s==null?void 0:s.id]);const v=m.useMemo(()=>{var B,z;const L=(B=s==null?void 0:s.item)==null?void 0:B.productDetails;return((z=s==null?void 0:s.item)==null?void 0:z.type)===Yt.PHYSICAL_ITEM?(L==null?void 0:L.variants)??[]:[]},[s]),j=N0(d.country||i.country),y=qd(i.country),N=k0.every(L=>i[L].trim()!==""),k=k0.every(L=>d[L].trim()!==""),w=!p||qd(d.country)||v.length>0&&Object.keys(c).length===0||!k||(s==null?void 0:s.status)!==se.AVAILABLE,S=async()=>{var L;if(s){b(!0);try{await hu({lootboxInventoryId:s.id,shippingDetails:d,productDetails:Object.keys(c).length>0?c:void 0}),be({level:"success",title:n("lootbox.toast.success"),body:n("lootbox.toast.item_withdrawn",{item:((L=s.item)==null?void 0:L.name)??""})}),window.setTimeout(()=>a(),500)}catch{be({level:"error",title:n("lootbox.toast.error"),body:n("lootbox.toast.inventory_sell_error")})}finally{b(!1)}}};if(!s)return null;const M=[{label:"name",value:`${d.nameFirst} ${d.nameLast}`.trim()},{label:"email",value:d.email},{label:"phone",value:d.phone&&j?`+ ${j.code} ${d.phone}`:""},{label:"address",value:[d.postalAddress,d.city,d.postalCode].filter(Boolean).join(" ")},{label:"country",value:(j==null?void 0:j.country)??""}];return l==="shipping_details"?e.jsxs("div",{className:"flex flex-col gap-6","data-testid":"lootbox-delivery-shipping",children:[e.jsxs("div",{className:"flex flex-col items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-row items-center justify-start gap-2 text-sm",children:[e.jsx(O,{variant:"ghost",size:"sm",onClick:()=>r("product_details"),children:n("global_go_back")}),e.jsx("span",{className:"font-semibold text-white",children:n("lootbox.request_delivery.shipping_details")})]}),e.jsx("div",{className:"text-sm font-normal text-brandblue-100",children:n("lootbox.request_delivery.edit_shipping_details_subtitle")})]}),e.jsx("div",{className:"w-full border-t border-secondary"}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"mb-2 grid grid-cols-2 gap-4",children:[e.jsx(Na,{name:"nameFirst","data-testid":"delivery-nameFirst",placeholder:n("global_firstname"),value:i.nameFirst,onChange:L=>o(B=>({...B,nameFirst:L.target.value}))}),e.jsx(Na,{name:"nameLast","data-testid":"delivery-nameLast",placeholder:n("global_lastname"),value:i.nameLast,onChange:L=>o(B=>({...B,nameLast:L.target.value}))})]}),e.jsx(Na,{name:"email","data-testid":"delivery-email",placeholder:n("global_typeYourEmailHere"),value:i.email,onChange:L=>o(B=>({...B,email:L.target.value}))}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx(Y0,{id:"delivery-country",value:i.country,empty:n("global_selectCountry"),options:$2.map(L=>({value:L.iso,title:L.country})),onChange:L=>o(B=>({...B,country:L}))}),y?e.jsxs("div",{className:"flex flex-col gap-1 rounded-lg border border-red-500/30 bg-red-500/10 p-3","data-testid":"delivery-restricted-country",children:[e.jsx("span",{className:"text-sm font-medium text-red-400",children:n("lootbox.request_delivery.restricted_country_title")}),e.jsx("span",{className:"text-xs font-normal text-red-400/80",children:n("lootbox.request_delivery.restricted_country_description")})]}):null]}),e.jsxs("div",{className:"flex flex-row items-center gap-0",children:[e.jsxs("span",{className:"w-16 truncate text-center text-sm font-normal text-brandblue-100",children:["+ ",((_=N0(i.country))==null?void 0:_.code)??""]}),e.jsx(Na,{name:"phone","data-testid":"delivery-phone",placeholder:n("global_phone"),value:i.phone,onChange:L=>o(B=>({...B,phone:L.target.value}))})]}),e.jsx(Na,{name:"postalAddress","data-testid":"delivery-postalAddress",placeholder:n("global_postaladdress"),value:i.postalAddress,onChange:L=>o(B=>({...B,postalAddress:L.target.value}))}),e.jsx(Na,{name:"city","data-testid":"delivery-city",placeholder:n("global_city"),value:i.city,onChange:L=>o(B=>({...B,city:L.target.value}))}),e.jsx(Na,{name:"postalCode","data-testid":"delivery-postalCode",placeholder:n("global_postalcode"),value:i.postalCode,onChange:L=>o(B=>({...B,postalCode:L.target.value}))})]}),e.jsx(O,{variant:"primary",size:"md",className:"w-full","data-testid":"delivery-continue",disabled:y||!N,onClick:()=>{u(i),r("product_details")},children:n("lootbox.request_delivery.continue")})]}):l==="terms_and_conditions"?e.jsxs("div",{className:"flex flex-col gap-6","data-testid":"lootbox-delivery-terms",children:[e.jsxs("div",{className:"flex flex-row items-center justify-start gap-2 text-sm",children:[e.jsx(O,{variant:"ghost",size:"sm",onClick:()=>r("product_details"),children:n("global_go_back")}),e.jsx("span",{className:"font-semibold text-white",children:n("lootbox.request_delivery.terms_and_conditions.title")})]}),e.jsx("div",{className:"w-full border-t border-secondary"}),e.jsx("div",{className:"lootbox-terms flex max-h-[500px] flex-col gap-2 overflow-y-auto text-xs font-normal text-brandblue-100",dangerouslySetInnerHTML:{__html:n("lootbox.request_delivery.terms_and_conditions.text")}}),e.jsxs("label",{className:"flex flex-row items-center gap-2 border-t border-secondary pt-4",children:[e.jsx("input",{type:"checkbox","data-testid":"delivery-terms-checkbox-full",checked:p,onChange:L=>{f(L.target.checked),r("product_details")},className:"size-5 rounded-md"}),e.jsx("span",{className:"text-sm font-normal leading-none text-brandblue-100",children:n("lootbox.request_delivery.shipping_terms.label_full")})]})]}):e.jsxs("div",{className:"flex flex-col gap-6","data-testid":"lootbox-delivery-modal",children:[e.jsx(w1,{showLabel:!0,className:"self-start",testId:"lootbox-delivery-back",onClick:()=>a()}),e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx(Da,{item:s.item,className:"size-[156px]"}),e.jsx("div",{className:"text-center text-base font-medium text-white",children:(A=s.item)==null?void 0:A.name}),(E=s.item)!=null&&E.description?e.jsx("div",{className:"text-center text-sm font-normal text-brandblue-100",children:s.item.description}):null]}),e.jsx("div",{className:"w-full border-t border-secondary"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"relative flex flex-row items-center gap-2 text-sm",children:[e.jsx("span",{className:"flex size-6 items-center justify-center rounded-full bg-secondary text-center font-semibold text-brandblue-100",children:"1"}),e.jsx("span",{className:"font-normal text-white",children:n("lootbox.request_delivery.shipping_details")}),e.jsx(O,{variant:"ghost",size:"sm",className:"absolute right-0 gap-1 text-sm font-normal text-brandblue-100","data-testid":"delivery-edit-shipping",onClick:()=>r("shipping_details"),children:n("lootbox.request_delivery.edit_shipping_details")})]}),e.jsx("div",{className:"mt-2 flex flex-col gap-2",children:M.map(L=>e.jsxs("div",{className:"flex flex-row gap-2 text-sm",children:[e.jsxs("span",{className:"font-normal text-brandblue-100",children:[n(`lootbox.request_delivery.shipping_details_label.${L.label}`),":"]}),e.jsx("span",{className:"font-medium text-white",children:L.value})]},L.label))})]}),e.jsx("div",{className:"w-full border-t border-secondary"}),v.length>0?e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-row items-center gap-2 text-sm",children:[e.jsx("span",{className:"flex size-6 items-center justify-center rounded-full bg-secondary text-center font-semibold text-brandblue-100",children:"2"}),e.jsx("span",{className:"font-normal text-white",children:n("lootbox.request_delivery.product_details")})]}),v.map(L=>e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"text-sm font-normal text-brandblue-100",children:n(L.label)}),e.jsx(Y0,{id:`delivery-variant-${L.key}`,value:c[L.key],options:L.values.map(B=>({value:B.value,title:n(B.label)})),onChange:B=>x(z=>({...z,[L.key]:B}))})]},L.key))]}):null,e.jsxs("label",{className:"flex flex-row items-center gap-2",children:[e.jsx("input",{type:"checkbox","data-testid":"delivery-terms-checkbox",checked:p,onChange:L=>
7110f(L.target.checked),className:"size-5 rounded-md"}),e.jsxs("span",{className:"text-sm font-normal leading-none text-brandblue-100",children:[n("lootbox.request_delivery.shipping_terms.label"),e.jsx("button",{type:"button",className:"text-white underline",onClick:()=>r("terms_and_conditions"),children:n("lootbox.request_delivery.shipping_terms.link")})]})]}),e.jsx(O,{variant:"primary",size:"md",className:"w-full text-sm font-medium","data-testid":"delivery-confirm",disabled:w||h,onClick:S,children:n("lootbox.request_delivery.confirm")})]})},ip="lootboxDelivery",oJ=$e({component:iJ,title:()=>n("lootbox.request_delivery.shipping_details"),removeSearchParams:["lootboxInventoryId"],hideTitle:!0,wrapperClass:"bg-gradient-lootbox-golden-modal md:rounded-2xl p-6 gap-6"}),cJ=t=>{var a;const s=(a=t==null?void 0:t.item)==null?void 0:a.productDetails;return gu(t==null?void 0:t.lootboxItemType)?s==null?void 0:s.network:void 0},dJ=(t,s)=>{var l,r,i,o,d,u,c;const a=n("lootbox.toast.success",{item:((l=t.item)==null?void 0:l.name)??""});return gu(t.lootboxItemType)?{title:a,body:n("lootbox.confirm_withdraw.will_receive_crypto",{name:((r=t.productDetails)==null?void 0:r.name)??((i=t.item)==null?void 0:i.name)??"",network:s??""})}:t.lootboxItemType===Yt.DEPOSIT?{title:a,body:n("lootbox.confirm_withdraw.received_deposit",{rawAmount:((o=t.productDetails)==null?void 0:o.rawAmount)??"",currency:((d=t.productDetails)==null?void 0:d.currency)??t.currency})}:{title:a,body:n("lootbox.confirm_withdraw.will_receive",{name:((u=t.productDetails)==null?void 0:u.name)??"",bet_count:((c=t.productDetails)==null?void 0:c.bet_count)??""})}},uJ=({lootboxInventoryId:t})=>{var p,f,h,b;const s=Gc(t),{closeModal:a}=W(),[l,r]=m.useState(""),[i,o]=m.useState(!1),d=cJ(s),u=!!d,c=!s||![se.AVAILABLE,se.REQUESTED_DELIVERY].includes(s.status)||u&&l.trim().length===0,x=async()=>{if(s){o(!0);try{await hu({lootboxInventoryId:s.id,shippingDetails:u?{network:String(d),address:l.trim()}:void 0});const v=dJ(s,d);be({level:"success",...v}),window.setTimeout(()=>a(),500)}catch(v){if(v.name==="ItemExpiredError"){bu(s.id),be({level:"error",title:n("notification.toast.error.title"),body:n("lootbox.inventory.item_expired")}),a();return}if(v.name==="ItemAlreadyClaimedError"){be({level:"error",title:n("notification.toast.error.title"),body:n("notification.toast.error.already_claimed")}),a();return}be({level:"error",title:n("notification.toast.error.title"),body:n("notification.toast.error.body",{id:s.id})})}finally{o(!1)}}};return s?e.jsxs("div",{className:"flex h-full flex-col justify-between gap-6","data-testid":"lootbox-withdraw-modal",children:[e.jsx(w1,{showLabel:!0,className:"self-start",testId:"lootbox-withdraw-back",onClick:()=>a()}),e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[e.jsx(Da,{item:s.item,className:"size-[156px]"}),e.jsx("div",{className:"text-center text-sm font-normal text-golden",children:n("lootbox.confirm_withdraw.title")}),e.jsx("div",{className:"text-center text-base font-medium text-white",children:(p=s.item)==null?void 0:p.name}),(f=s.item)!=null&&f.description?e.jsx("div",{className:"text-center text-sm font-normal text-brandblue-100",children:s.item.description}):null]}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-4",children:[s.lootboxItemType===Yt.FREESPIN?e.jsx("div",{className:"flex h-10 w-full items-center justify-center rounded-lg bg-secondary px-3",children:e.jsx("span",{className:"text-center text-sm font-normal text-brandblue-100",children:n("lootbox.confirm_withdraw.will_receive",{name:((h=s.productDetails)==null?void 0:h.name)??"",bet_count:((b=s.productDetails)==null?void 0:b.bet_count)??""})})}):null,u?e.jsxs("div",{className:"flex w-full flex-col gap-2",children:[e.jsx("label",{htmlFor:"lootbox-withdraw-address",className:"text-xs text-brandblue-100",children:n("lootbox.confirm_withdraw.provide_wallet_address",{network:d??""})}),e.jsx(Na,{id:"lootbox-withdraw-address",name:"lootbox-withdraw-address","data-testid":"lootbox-withdraw-address",placeholder:d,value:l,onChange:v=>r(v.target.value)})]}):null,e.jsxs("div",{className:"flex w-full flex-row items-center gap-4",children:[e.jsx(O,{variant:"highlight",onClick:()=>a(),children:n("lootbox.confirm_withdraw.cancel")}),e.jsx(O,{variant:"primary",className:"w-full","data-testid":"lootbox-withdraw-confirm",disabled:c||i,onClick:x,children:n("lootbox.confirm_withdraw.confirm")})]})]})]}):null},op="lootboxWithdraw",mJ=$e({component:uJ,title:()=>n("lootbox.confirm_withdraw.title"),removeSearchParams:["lootboxInventoryId"],hideTitle:!0,wrapperClass:"bg-gradient-lootbox-golden-modal md:rounded-2xl p-6 gap-6"}
7110),xJ={newest:"lootbox.search.sort_key.newest",oldest:"lootbox.search.sort_key.oldest","price-low":"lootbox.search.sort_key.price-low","price-high":"lootbox.search.sort_key.price-high"},fJ={all:"lootbox.search.status_key.all",AVAILABLE:"lootbox.search.status_key.available",ACTIVATED:"lootbox.search.status_key.activated",SOLD:"lootbox.search.status_key.sold",WITHDRAWN:"lootbox.search.status_key.withdrawn",REFUNDED:"lootbox.search.status_key.refunded"},pJ=()=>{const t=Y(),{openModal:s}=W(),[a,l,r,i,o,d]=C([fu,wA,yA,_A,te,Je]),u=m.useRef(null);m.useEffect(()=>{d&&!o&&t(st(),{replace:!0})},[o,d,t]),m.useEffect(()=>{o&&NA()},[o]),m.useEffect(()=>()=>kA(),[]),m.useEffect(()=>{const f=u.current;if(!f)return;const h=new IntersectionObserver(b=>{b.some(v=>v.isIntersecting)&&SA()},{root:null,rootMargin:"-100px",threshold:.1});return h.observe(f),()=>h.disconnect()},[]);const c=m.useMemo(()=>({sort:{title:n("lootbox.search.sort_by"),keys:F3.map(f=>({key:f,value:n(xJ[f])}))},status:{title:n("lootbox.search.status"),keys:AA.map(f=>({key:f,value:n(fJ[f])}))}}),[]),x=async f=>{var b;const h=(b=f.productDetails)==null?void 0:b.game_code;if(!h){be({level:"error",title:n("notification.toast.error.title"),body:n("errors.default")});return}try{await Yd(f.id);const v=G1(h);v&&t(v)}catch(v){if(v.name==="ItemExpiredError"){bu(f.id),be({level:"error",title:n("notification.toast.error.title"),body:n("lootbox.inventory.item_expired")});return}be({level:"error",title:n("notification.toast.error.title"),body:n("errors.default")})}},p=async f=>{const h=qX(f);if(!h){be({level:"error",title:n("notification.toast.error.title"),body:n("errors.default")});return}try{await Yd(f.id)}catch{be({level:"error",title:n("notification.toast.error.title"),body:n("errors.default")});return}t(h)};return e.jsxs("div",{className:"flex flex-col gap-2 px-4 lg:px-0","data-testid":"lootbox-inventory-page",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(w1,{onClick:()=>t(st())}),e.jsxs("h2",{className:"flex items-center gap-2 text-2xl font-semibold text-white",children:[e.jsx(zc,{fill:"#6178F3"}),n("lootbox.inventory.title")]})]}),e.jsx("div",{className:"flex items-center gap-2",children:e.jsxs(O,{variant:"secondary",size:"md",className:"gap-2","data-testid":"lootbox-deliveries-link",onClick:()=>t(ic()),children:[e.jsx(BX,{}),e.jsx("span",{children:n("lootbox.inventory.deliveries")})]})})]}),e.jsx(rp,{placeholder:n("lootbox.search.placeholder_inventory"),filters:c,values:{sort:l.sort,status:l.status},onChange:(f,h)=>LA({[f]:h})}),a.length===0&&!i?e.jsx("div",{className:"py-10 text-center text-xl font-semibold leading-normal text-brandblue-100","data-testid":"lootbox-inventory-empty",children:n("lootbox.inventory.empty")}):e.jsx("div",{className:"mt-4 grid w-full grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6","data-testid":"lootbox-inventory-grid",children:a.map(f=>e.jsx(lJ,{inventory:f,onSell:h=>s(Zc,{lootboxInventoryId:String(h.id)}),onWithdraw:h=>s(op,{lootboxInventoryId:String(h.id)}),onRequestDelivery:h=>s(ip,{lootboxInventoryId:String(h.id)}),onPlayFreespin:x,onPlayFreebet:p},f.id))}),e.jsx("div",{ref:u,className:"h-1 w-full","data-has-more":r})]})},hJ=new Intl.NumberFormat("en-us",{minimumFractionDigits:2,maximumFractionDigits:2}),gJ=({reward:t})=>{var a;const s=Y();return e.jsxs("button",{type:"button","data-testid":"live-lootbox-reward",onClick:()=>t.lootboxSlug&&s(Jt(t.lootboxSlug)),className:"group relative flex h-16 w-[200px] cursor-pointer items-center gap-2 overflow-hidden rounded-lg bg-primary py-2.5 pl-2 pr-3",children:[e.jsx("span",{"aria-hidden":"true",className:"absolute left-5 size-6 blur-md transition-transform group-hover:scale-[3.5]",style:{backgroundColor:mu(t.rarity).primary}}),e.jsx(ce,{className:"z-main size-12 object-contain",src:t.imageUrl,alt:t.name,draggable:!1,loading:"lazy"}),e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsx("div",{className:"flex items-center text-xs text-brandblue-100",children:e.jsx("span",{className:"inline-block w-[115px] truncate text-left",children:((a=t.openedBy)==null?void 0:a.displayName)??n("global_not_available")})}),e.jsxs("div",{className:"flex pt-1 text-sm",children:[e.jsx("span",{className:"scale-90",children:e.jsx(we,{currency:U.USDT})}),e.jsx("span",{className:"ml-1.5",children:hJ.format(Number(t.costInUsd))})]})]})]})},bJ=()=>{const t=C(MA);return m.useEffect(()=>(BA(),()=>
7110EA()),[]),t.length?e.jsx("div",{className:"no-scrollbar overflow-hidden pt-8","data-testid":"live-lootbox-rewards",children:e.jsx("div",{className:"flex w-max gap-2",children:t.map((s,a)=>e.jsx("div",{className:"animate-[slide-in-left_500ms_ease-out]",children:e.jsx(gJ,{reward:s})},`${s.lootboxSlug}-${s.name}-${a}`))})}):null},CJ=()=>e.jsxs("div",{className:"lootbox-banner w-full rounded-2xl bg-primary bg-gradient-lootbox-banner bg-cover bg-center p-5 md:bg-[url('/lootbox/lootbox-banner.webp')] md:px-8 md:py-10","data-testid":"lootbox-banner",children:[e.jsx("h1",{className:"text-center text-3xl font-bold uppercase italic md:max-w-[60%] md:pr-2 md:text-left md:text-[44px]/[48px]",dangerouslySetInnerHTML:{__html:n("lootbox.banner.title")}}),e.jsx("p",{className:"pt-4 text-brandblue-100 md:max-w-[50%]",dangerouslySetInnerHTML:{__html:n("lootbox.banner.paragraph")}})]}),E4=9,jJ=()=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:"size-6 text-brandblue-100","aria-hidden":"true",children:[e.jsx("circle",{cx:"12",cy:"12",r:"9.25",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M9.7 9.2a2.3 2.3 0 1 1 3.4 2.05c-.7.45-1.1.9-1.1 1.75v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"16.6",r:"1",fill:"currentColor"})]}),vJ=t=>n(t).replace(/\n(\d+\.)/g,"<br>$1").replace(/\\n(?!\d+\.)/g,"<br>"),wJ=({item:t})=>{const[s,a]=m.useState(!1);return e.jsxs("div",{className:"overflow-hidden rounded-lg bg-primary",children:[e.jsxs("button",{type:"button","data-testid":`lootbox-faq-item-${t}`,"aria-expanded":s,onClick:()=>a(l=>!l),className:"flex w-full items-center justify-between gap-4 p-4 text-left text-sm font-medium text-white",children:[n(`lootbox.faq.faq_item_${t}.heading`),s?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),s?e.jsx("p",{className:"px-4 pb-4 text-sm font-normal text-brandblue-100",dangerouslySetInnerHTML:{__html:vJ(`lootbox.faq.faq_item_${t}.paragraph`)}}):null]})},A0=({items:t,className:s})=>e.jsx("div",{className:g("flex-col gap-2",s),children:t.map(a=>e.jsx(wJ,{item:a},a))}),yJ=()=>{const t=Array.from({length:E4},(a,l)=>l+1),s=Math.ceil(E4/2);return e.jsxs("section",{className:"border-t border-[#1A1E27] pt-8","data-testid":"lootbox-faq",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(jJ,{}),e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("modals.refer.faq")})]}),e.jsxs("div",{className:"mt-2 flex flex-col gap-6 lg:flex-row",children:[e.jsx(A0,{items:t,className:"flex w-full lg:hidden"}),e.jsx(A0,{items:t.slice(0,s),className:"hidden lg:flex lg:w-1/2"}),e.jsx(A0,{items:t.slice(s),className:"hidden lg:flex lg:w-1/2"})]})]})},_J=[1,2,3].map(t=>({step:t,title:n(`lootbox_tutorial.step.${t}.title`),description:n(`lootbox_tutorial.step.${t}.description`),imageUrl:`/lootbox/lootbox-illustration-${t}.webp`})),NJ=()=>{const{closeModal:t}=W(),[s,a]=m.useState(()=>yi(P2));return e.jsx(Nf,{slides:_J,stepLabel:l=>`Step ${l}`,stepClassName:"bg-[#637af41a] text-brand-tertiary",finalLabel:n("lootbox_tutorial.button"),nextLabel:n("lootbox_tutorial.button_next"),checkboxLabel:n("lootbox.verification.dont_show_again"),checked:s,onCheckedChange:l=>{a(l),nu(P2,l)},onFinish:()=>t(),testId:"lootbox-tutorial"})},cp="lootboxTutorial",P2="whale:lootbox_tutorial:is_seen",kJ=$e({component:NJ,title:()=>n("lootbox_tutorial.title"),big:!0,isDrawer:!0,hideContentHorizontalPadding:!0,wrapperClass:"bg-gradient-lootbox-tutorial-modal md:rounded-2xl rounded-t-2xl",modalStorageKey:P2}),SJ={newest:"lootbox.search.sort_key.newest",oldest:"lootbox.search.sort_key.oldest","price-low":"lootbox.search.sort_key.price-low","price-high":"lootbox.search.sort_key.price-high"},AJ={all:"lootbox.search.collection_key.all",TOKEN:"lootbox.search.collection_key.token",NFT:"lootbox.search.collection_key.nft",TON:"lootbox.search.collection_key.ton",HOT:"lootbox.search.collection_key.hot",NEW:"lootbox.search.collection_key.new",REWARD:"lootbox.search.collection_key.reward"},R4=t=>!!t&&F3.includes(t),T4=t=>!!t&&Cu.includes(t),LJ=()=>{Qe("meta.lootbox.title","meta.lootbox.description");const t=Y(),{openModal:s}=W(),[a,l]=Q1(),[r,i,o,d,u,c]=C([RA,TA,IA,FA,ts,te]),x=m.useRef(null),p=m.useRef(!1);m.useEffect(()=>{if(p.current)return;p.current=!0;const b=a.get("sort"),v=a.get("collection");return(R4(b)||T4(v))&&Xd({...R4(b)?{sort:b}:{},...T4(v)?{collection:v}:{}}),OA({currency:u}),s(cp),()=>DA()},[]),m.useEffect(()=>{p.current&&$A(u)},[u]),m.useEffect(()=>{const b=x.current;if(!b)return;const v=new IntersectionObserver(j=>{j.some(y=>y.isIntersecting)&&PA()},{root:null,rootMargin:"-100px",threshold:.1});return v.observe(b),()=>v.disconnect()},[]);const f=m.useMemo(()=>({sort:{title:n("lootbox.search.sort_by"),keys:F3.map(b=>({key:b,value:n(SJ[b])}))},collection:{title:n("lootbox.search.collection"),keys:Cu.map(b=>({key:b,value:n(AJ[b])}))}}),[]),h=(b,v)=>{Xd({[b]:v});const j=new URLSearchParams(a);j.set(b,v),l(j,{replace:!0})};return e.jsxs("div",{className:"flex flex-col gap-2 px-4 lg:px-0","data-testid":"lootbox-lobby",children:[e.jsx(CJ,{}),e.jsx(bJ,{}),e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-x-2 gap-y-1",children:[e.jsxs("h2",{className:"flex items-center gap-2 text-2xl font-semibold text-white",children:[e.jsx(ve,{icon:"box",className:"size-6 text-brandblue-100"}),n("global_lootboxMain")]}),c?e.jsxs("div",{className:"-mx-2 flex shrink-0 flex-row",children:[e.jsx(O,{variant:"ghost",size:"md","data-testid":"lootbox-history-link",onClick:()=>t(Di()),children:n("lootbox.history.button")}),e.jsx(O,{variant:"ghost",size:"md","data-testid":"lootbox-inventory-link",onClick:()=>t(wt()),children:n("lootbox.inventory.button")})]}):null]}),e.jsx(rp,{placeholder:n("lootbox.search.placeholder"),filters:f,values:{sort:i.sort,collection:i.collection},onChange:h,searchable:!0,currency:u}),r.length===0&&!d?e.jsx("div",{className:"py-10 text-center text-xl font-semibold leading-normal text-brandblue-100","data-testid":"lootbox-empty",children:n("lootbox.search.empty")}):e.jsx("div",{className:"mt-4 grid w-full grid-cols-1 justify-start gap-4 md:grid-cols-[repeat(auto-fit,minmax(200px,220px))]","data-testid":"lootbox-grid",children:r.map(b=>e.jsx(lp,{lootbox:{...b,currency:Kc(b.currency)}},b.id))}),e.jsx(yJ,{}),e.jsx("div",{ref:x,className:"h-1 w-full","data-has-more":o})]})},MJ=({className:t})=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 20",fill:"none","aria-hidden":"true",className:t,children:e.jsx("path",{d:"M14.5584 6.10605C15.0444 5.49092 16.4837 3.46532 15.8065 1.80345C15.3859 0.772299 14.3046 0.170571 12.5922 0.0144933C11.328 -0.104888 10.0483 0.539241 8.80738 1.15761C6.73909 2.188 5.39437 2.7315 4.17057 1.5888C3.85418 1.29322 3.35801 1.31016 3.06226 1.62655C2.76716 1.94265 2.78345 2.43876 3.09984 2.73397C5.2073 4.70306 7.59134 3.51477 9.50691 2.56061C10.5999 2.01575 11.631 1.49553
711012.4499 1.57568C13.0591 1.63079 14.115 1.81086 14.3537 2.39424C14.6334 3.07618 13.9539 4.29269 13.4405 4.98769L12.6635 4.21077C12.3574 3.90462 11.8612 3.90462 11.5547 4.21077L10.4635 5.30267C9.56025 4.93859 8.61308 4.75387 7.6388 4.75387C3.43546 4.75387 0.0157471 8.17364 0.0157471 12.377C0.0157471 16.5803 3.43546 20.0001 7.6388 20.0001C11.8421 20.0001 15.2618 16.5803 15.2618 12.377C15.2618 11.2222 14.9949 10.0798 14.4857 9.03989L15.4346 8.09101C15.7414 7.78486 15.7414 7.28869 15.4346 6.98218L14.5584 6.10605Z",fill:"#9092B2"})}),BJ=()=>{const[t,s,a,l,r]=C([VA,zA,Ye.$isPlaying,Ye.$isAutoplayPlaying,Ye.$isFreeBet]);return e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("label",{htmlFor:"mines-count",className:"text-sm font-medium text-slate-400",children:n("games.mines.title")}),e.jsxs("div",{className:"relative h-11",children:[e.jsx(MJ,{className:"pointer-events-none absolute left-3 top-1/2 h-5 w-4 -translate-y-1/2"}),e.jsx("select",{id:"mines-count","data-testid":"mines-count-select",value:t||"",disabled:a||l||r,onChange:i=>GA(Number(i.target.value)),className:"h-11 w-full appearance-none rounded-md bg-[#323A4C] pl-10 pr-9 text-sm text-white outline-none disabled:opacity-50",children:s.map(i=>e.jsx("option",{value:i,children:i},i))}),e.jsx(bc,{className:"pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-brandblue-100"})]})]})},dp=()=>{const[t,s,a,l]=C([HA,Ye.$gameplayMode,Ye.$isAutoplayPlaying,Ye.$roundResult]),r=s===Bt.AUTOPLAY,i=!t||!r&&(l==null?void 0:l.roundClosed)===!0||r&&a;return e.jsxs(Z,{variant:"NonAccent",height:"medium",block:!0,testId:"mines-pick-random",disabled:i,onClick:()=>UA(),children:[e.jsx(gx,{className:"size-5"}),n("games.mines.cta.pickRandomCell")]})},EJ=()=>e.jsx("div",{className:"flex flex-col gap-y-4",children:e.jsx(BJ,{})}),RJ=()=>e.jsxs("div",{className:"flex flex-col gap-y-4 pb-2",children:[e.jsx(dp,{}),e.jsx(Ml,{}),e.jsx(Bl,{}),e.jsx(El,{})]}),I4=()=>e.jsx(zs,{game:Ye,children:e.jsxs(an,{children:[e.jsx(Rl,{betControls:e.jsx(EJ,{}),autoplayControls:e.jsx(RJ,{}),playingControls:e.jsx(dp,{})}),e.jsx(nn,{children:e.jsx(nU,{})})]})}),TJ=({title:t})=>{const{pathname:s}=at();return e.jsxs("section",{className:"flex flex-col gap-y-4 py-10","data-testid":"module-pending",children:[e.jsx("h1",{className:"text-2r font-semibold",children:t??s}),e.jsxs("div",{className:"rounded-lg border border-dashed border-border-primary bg-background-fallback p-6",children:[e.jsx("p",{className:"text-sm text-foreground-muted",children:"This surface belongs to a later module. The route resolves so navigation, active states and deep links can be verified now."}),e.jsx("p",{className:"mt-2 text-xs text-foreground-muted","data-testid":"module-pending-path",children:s})]})]})},IJ=()=>{var s,a;const t=ma(Cs.MostPopular);return Qe("meta.most-popular.title","meta.most-popular.description"),m.useEffect(()=>{X("Most Popular Category page")},[]),e.jsx("div",{className:"flex flex-col gap-y-8","data-testid":"most-popular-lobby",children:e.jsx(Fa,{gameCodes:((a=(s=t==null?void 0:t.categories)==null?void 0:s[0])==null?void 0:a.games)??[],title:n("global_mostPopular")})})},up=({option:t,className:s,ariaLabel:a})=>{const l=m.useRef(null),r=m.useRef(null),i=m.useRef(t);return i.current=t,m.useEffect(()=>{let o=!1,d=null;return(async()=>{const u=await g1(()=>import("./index-DPbaFesu.js"),__vite__mapDeps([7,1,2]));if(o||!l.current)return;const c=u.init(l.current,void 0,{renderer:"canvas"});c.setOption(i.current),r.current=c,d=new ResizeObserver(()=>c.resize()),d.observe(l.current)})(),()=>{var u;o=!0,d==null||d.disconnect(),(u=r.current)==null||u.dispose(),r.current=null}},[]),m.useEffect(()=>{var o;(o=r.current)==null||o.setOption(t,{notMerge:!0})},[t]),e.jsx("div",{ref:l,className:g("size-full",s),role:"img","aria-label":a})},mp="#73DA69",FJ="#7091FF",Qr="#28324C",OJ="#707290",DJ=t=>{const s=Math.abs(t),a=l=>l.replace(/\.0$/,"");return s>=1e9?`${a((t/1e9).toFixed(1))}B`:s>=1e6?`${a((t/1e6).toFixed(1))}M`:s>=1e3?`${a((t/1e3).toFixed(1))}k`:String(t)},xp=(t,s)=>{const a=new Date(t);if(Number.isNaN(a.getTime()))return t;const l=r=>String(r).padStart(2,"0");return s==="dd.MM"?`${l(a.getUTCDate())}.${l(a.getUTCMonth()+1)}`:`${l(a.getUTCMonth()+1)}.${String(a.getUTCFullYear()).slice(-2)}`},qc={color:OJ,fontSize:14,fontWeight:500,fontFamily:"Jost, sans-serif"},fp={type:"value",axisLabel:{...qc,formatter:t=>DJ(t)}
7110,axisLine:{lineStyle:{color:Qr}},splitLine:{lineStyle:{color:Qr}}},H2=t=>({type:"line",smooth:!1,showSymbol:!1,connectNulls:!0,lineStyle:{color:t,width:2},itemStyle:{color:t},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:t},{offset:1,color:"rgba(0, 0, 0, 0)"}]}}}),pp="flex h-full min-h-[284px] w-full flex-col rounded-[20px] bg-primary pt-4",hp="min-h-0 flex-1",$J=()=>{const[t,s]=C([O3,D3]),a=m.useMemo(()=>{const{labels:l,values:r}=ju((t==null?void 0:t.turnover)??[]),i=(t==null?void 0:t.weeklyRtp)??0,o=s==="week"?"dd.MM":"MM.yy";return{grid:{left:40,bottom:40,top:20,right:10},xAxis:{type:"category",data:l,axisLabel:{...qc,formatter:d=>xp(d,o)},axisLine:{lineStyle:{color:Qr}},splitLine:{show:!1}},yAxis:fp,series:[{name:n("nft.game_turnover"),data:r,...H2(mp)},{name:n("nft.airdrop_size"),data:r.map(d=>ZA(d,i)),...H2(FJ)}]}},[t,s]);return e.jsx("div",{className:pp,children:e.jsx(up,{option:a,className:hp,ariaLabel:"Crock Dentist turnover and projected airdrop"})})},PJ=()=>{const[t,s]=C([O3,D3]),a=m.useMemo(()=>{const{labels:l,values:r}=ju((t==null?void 0:t.turnover)??[]),i=s==="week"?"dd.MM":"MM.yy";return{grid:{left:40,bottom:40,top:20,right:10},xAxis:{type:"category",data:l,axisLabel:{...qc,formatter:o=>xp(o,i)},axisLine:{lineStyle:{color:Qr}},splitLine:{show:!1}},yAxis:fp,series:[{name:n("provablyFair.stats.turnover"),data:r,...H2(mp)}]}},[t,s]);return e.jsx("div",{className:pp,children:e.jsx(up,{option:a,className:hp,ariaLabel:"Crock Dentist turnover"})})},HJ=()=>{const[t,s]=C([D3,WA]);return e.jsx("div",{className:"flex items-center gap-px","data-testid":"nft-period-toggle",children:KA.map((a,l)=>e.jsx("button",{type:"button",disabled:s,onClick:()=>qA(a),"aria-pressed":t===a,"data-testid":`nft-period-${a}`,className:g("h-9 px-4 text-sm",l===0?"rounded-l-lg":"rounded-r-lg",t===a?"bg-golden font-semibold text-primary":"bg-[#323a4c] text-white"),children:a==="week"?n("global_week"):n("global_alltime")},a))})},UJ=({item:t})=>{const[s,a]=m.useState(!1);return e.jsxs("div",{className:"overflow-hidden rounded-lg bg-secondary",children:[e.jsxs("button",{type:"button","data-testid":`nft-faq-item-${t}`,"aria-expanded":s,onClick:()=>a(l=>!l),className:"flex w-full items-center justify-between gap-4 p-4 text-left text-sm font-medium text-white",children:[n(`global_nft_faq_${t}_q`),s?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),s?e.jsx("p",{className:"px-4 pb-4 text-sm font-normal text-brandblue-100",dangerouslySetInnerHTML:{__html:n(`global_nft_faq_${t}_a`)}}):null]})},L0=({items:t,className:s})=>e.jsx("div",{className:g("flex-col gap-2",s),children:t.map(a=>e.jsx(UJ,{item:a},a))}),VJ=()=>{const t=Array.from({length:Jd},(a,l)=>l+1),s=Math.ceil(Jd/2);return e.jsxs("section",{className:"flex flex-col gap-2","data-testid":"nft-faq",children:[e.jsx("h2",{className:"text-lg font-semibold text-white",children:n("modals.refer.faq")}),e.jsxs("div",{className:"mt-2 flex w-full flex-col gap-6 lg:flex-row",children:[e.jsx(L0,{items:t,className:"flex w-full lg:hidden"}),e.jsx(L0,{items:t.slice(0,s),className:"hidden lg:flex lg:w-1/2"}),e.jsx(L0,{items:t.slice(s),className:"hidden lg:flex lg:w-1/2"})]})]})},zJ="/assets/binance-v2UCXLWf.webp",GJ="/assets/bitcoin-CBRAyhmK.webp",ZJ="/assets/businessinsider-Ca4UH52U.webp",WJ="/assets/coinmarketcap-BPsMyFA8.webp",KJ="/assets/cryptopotato-DxrJhmbe.webp",qJ="/assets/decrypt-DLtR42A_.webp",YJ="/assets/igamingnews-BKiNaOPm.webp",XJ="/assets/investing-CJhkqAYr.webp",JJ="/assets/nextio-CODmBv6C.webp",QJ="/assets/walletinvestor--vE13KyX.webp",Qs=(t,s=2)=>new Intl.NumberFormat("en-US",{minimumFractionDigits:0,maximumFractionDigits:s}).format(t??0),O1=t=>new Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(t??0),eQ=t=>{const s=new Date(t);if(Number.isNaN(s.getTime()))return"-";const a=l=>String(l).padStart(2,"0");return`${a(s.getDate())}.${a(s.getMonth()+1)}.${String(s.getFullYear()).slice(-2)}`},F4=t=>t.split(",").flatMap((s,a)=>a===0?[s]:[",",e.jsx("wbr",{},a),s]),Yc=t=>window.open(t,"_blank","noopener,noreferrer"),gp="nft-airdrop-history",tQ=()=>{var t;return(t=document.getElementById(gp))==null?void 0:t.scrollIntoView({behavior:"smooth",block:"start"})},dr=({className:t})=>e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",className:t,"aria-hidden":"true",children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"nft-sol",x1:"10.1131",y1:"0.864272",x2:"3.92937",y2:"13.2379",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#00FFA3"}),e.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]})}),e.jsx("path",{d:"M3.94998 10.2043C4.02342 10.1341 4.12298 10.0947 4.22678 10.0947L13.804 10.
7110095C13.9785 10.095 14.0658 10.297 13.9424 10.415L12.0499 12.2248C11.9765 12.295 11.8769 12.3345 11.7731 12.3345L2.19585 12.3341C2.02139 12.3341 1.93406 12.1322 2.05746 12.0141L3.94998 10.2043Z",fill:"url(#nft-sol)"}),e.jsx("path",{d:"M3.95023 3.44276C4.02366 3.37253 4.12322 3.33308 4.22702 3.33309L13.8043 3.33344C13.9787 3.33345 14.0661 3.53538 13.9426 3.65342L12.0501 5.46322C11.9767 5.53343 11.8771 5.57287 11.7733 5.57287L2.19609 5.57252C2.02164 5.57251 1.93431 5.37058 2.05771 5.25256L3.95023 3.44276Z",fill:"url(#nft-sol)"}),e.jsx("path",{d:"M12.0501 6.8023C11.9767 6.73208 11.8771 6.69263 11.7733 6.69263L2.19605 6.69228C2.0216 6.69227 1.93425 6.8942 2.05765 7.01223L3.95003 8.82217C4.02346 8.8924 4.12301 8.93186 4.22682 8.93186L13.8041 8.93221C13.9785 8.93221 14.0659 8.73029 13.9424 8.61224L12.0501 6.8023Z",fill:"url(#nft-sol)"})]}),Ka=({label:t,value:s,icon:a,className:l})=>e.jsxs("div",{className:g("flex min-h-10 items-center justify-between gap-2 bg-secondary px-3 py-1.5",l),children:[e.jsx("span",{className:"min-w-0 hyphens-auto text-sm text-brandblue-100 [overflow-wrap:anywhere]",children:t}),e.jsxs("span",{className:"flex shrink-0 items-center gap-1 whitespace-nowrap rounded-xs bg-stream-sub-highlight-color px-1.5 py-0.5 text-sm text-white",children:[s,a]})]}),M0=({number:t,title:s,description:a})=>e.jsxs("div",{className:"flex flex-col gap-y-1 rounded-2xl border border-[#1E2D26] bg-[linear-gradient(90deg,#161F20_0%,#13161E_40%)] p-4 md:bg-[linear-gradient(90deg,#161F20_0%,#13161E_30%)]",children:[e.jsxs("div",{className:"flex flex-row gap-x-2",children:[e.jsx("span",{className:"flex size-8 flex-col items-center justify-center rounded-md bg-[#203428] text-xl text-[#73DA69]",children:t}),e.jsx("span",{className:"flex flex-col items-center justify-center text-xl text-white",children:s})]}),e.jsx("span",{className:"text-sm text-brandblue-100",children:a})]}),sQ=()=>e.jsxs("section",{className:"relative -mx-5 -mt-6 flex flex-col overflow-hidden bg-[linear-gradient(to_bottom,_#35593A_0%,_#57713E_20%,_#13161E_50%,_#13161E_100%)] pt-10 md:bg-gradient-to-r md:from-[#164739] md:to-[#6f8338] md:p-10","data-testid":"nft-description",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 z-main",style:{background:"linear-gradient(to top, #13161e, transparent 60%), linear-gradient(to bottom, #13161e, transparent 10%), linear-gradient(to left, #13161e, transparent 10%), linear-gradient(to right, #13161e, transparent 10%)"}}),e.jsxs("div",{className:"relative z-battlepass-card flex flex-col items-center justify-center gap-x-7 gap-y-8 md:flex-row",children:[e.jsx("img",{src:"/nft/crocodile.webp",alt:"",className:"order-last w-[200px] md:order-first md:w-[400px]",loading:"lazy"}),e.jsxs("div",{className:"order-first flex flex-col items-center gap-y-5 px-8 md:order-last md:items-start md:px-0",children:[e.jsxs("div",{className:"flex flex-col gap-y-2 text-white",children:[e.jsx("h1",{className:"text-center font-['Gilroy'] text-3xl font-black uppercase md:text-left",children:n("nft.get_nft_get_value")}),e.jsx("p",{className:"text-center text-sm text-brandblue-100 md:max-w-[540px] md:text-left",children:n("nft.get_nft_get_value_description")})]}),e.jsx("button",{type:"button",onClick:()=>Yc(wu),"data-testid":"nft-tensor-hero",className:"w-[156px] rounded-md bg-gradient-to-l from-[#73DA69] via-[#36BD2B] to-[#73DA69] px-4 py-2 text-sm font-semibold text-[#13161E]",children:n("nft.buy_from_tensor")})]})]}),e.jsxs("div",{className:"relative z-battlepass-card grid grid-cols-1 gap-x-4 gap-y-2 px-4 pb-6 md:grid-cols-3 md:px-0",children:[e.jsx(M0,{number:1,title:n("nft.mint"),description:n("nft.mint_description")}),e.jsx(M0,{number:2,title:n("global_earn"),description:n("nft.global_earn_description")}),e.jsx(M0,{number:3,title:n("nft.trade"),description:n("nft.trade_description")})]})]}),O4=({well:t,dot:s})=>e.jsx("span",{className:g("flex size-6 flex-col items-center justify-center rounded-xs",t),children:e.jsx("span",{className:g("size-3 rounded-[3px]",s)})}),aQ=({chart:t})=>e.jsxs("section",{className:"flex min-h-[284px] flex-col gap-4 md:flex-row","data-testid":"nft-statistic",children:[e.jsx("div",{className:"flex flex-col md:flex-1",children:e.jsxs("div",{className:"flex flex-col justify-center gap-y-2 md:flex-1",children:[e.jsxs("div",{className:"flex flex-row items-center gap-[10px] text-sm text-white",children:[e.jsx(O4,{well:"bg-[#273535]",dot:"bg-[#73DA69]"}),n("nft.game_turnover"),e.jsx("span",{className:"text-brandblue-100",children:n("nft.vs")}),e.jsx(O4,{well:"bg-[#272D44]",dot:"bg-[#7086FF]"}),n("nft.airdrop_size")]}),e.jsx("p",{className:"text-sm text-[#ADAFCE]",children:n("nft.airdrop_rule")}),e.jsxs("p",{className:"hidden pb-5 text-sm text-[#ADAFCE] md:block",children:["*",n("nft.projection_explanation")]})]})}),e.jsx("div",{className:"flex flex-col md:flex-1",children:t})]}),nQ=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,
7110children:[e.jsx("path",{d:"M15.1973 9.55313C14.2874 8.65419 13.053 8.14554 11.7633 8.13806H11.6964C10.3991 8.14839 9.15866 8.66298 8.24568 9.56955C7.33269 10.4761 6.82131 11.7011 6.82312 12.9771C6.82493 14.2532 7.33978 15.4767 8.25533 16.3808C9.17088 17.2848 10.4128 17.796 11.7101 17.8028H11.7497C12.7191 17.7975 13.6652 17.5103 14.4691 16.9773C15.2729 16.4443 15.8985 15.6894 16.267 14.8075C16.6356 13.9255 16.7307 12.9561 16.5404 12.0211C16.35 11.0861 15.8827 10.2275 15.1973 9.55313ZM12.1086 15.3376V16.1259H11.3436V15.378C10.9599 15.3561 10.5882 15.2382 10.2638 15.0355L10.1741 14.9711L10.4539 14.2023L10.6105 14.3055C10.9057 14.4942 11.2501 14.595 11.6021 14.5957C12.0447 14.5957 12.3428 14.3653 12.3428 14.0228C12.3428 13.7101 12.1253 13.4962 11.5915 13.2838C10.9056 13.019 10.2699 12.666 10.2699 11.8807C10.2699 11.236 10.7079 10.7364 11.3953 10.5808V9.8149H12.1527V10.5344C12.468 10.5559 12.7743 10.6475 13.0484 10.8022L13.1564 10.865L12.8644 11.6219L12.7154 11.5381C12.4534 11.3846 12.1535 11.3049 11.8485 11.3078C11.374 11.3078 11.2052 11.5576 11.2052 11.7924C11.2052 12.0752 11.3923 12.2322 12.0386 12.4955C12.9131 12.8455 13.2857 13.2868 13.2857 13.9719C13.2811 14.2986 13.1612 14.6135 12.9464 14.8627C12.7317 15.1119 12.4354 15.2798 12.1086 15.3376Z",fill:"url(#nftIconPaint0_linear_22072_29287)"}),e.jsx("path",{d:"M3.79199 10.3525C4.14555 10.3517 4.4929 10.261 4.80029 10.0892C4.94205 10.0102 5.07333 9.91421 5.19114 9.8035L6.45645 10.5215C6.59379 10.2361 6.75505 9.96239 6.93855 9.70328L5.71277 9.00771C5.78627 8.79735 5.82378 8.57645 5.82378 8.35402V8.34653C5.82213 7.95181 5.70163 7.56641 5.47749 7.23898C5.25335 6.91155 4.93561 6.65678 4.56439 6.50681C4.19316 6.35685 3.78509 6.31841 3.39168 6.39636C2.99827 6.47431 2.63715 6.66515 2.35391 6.94479C2.07067 7.22442 1.878 7.58033 1.80022 7.96758C1.72244 8.35482 1.76304 8.75605 1.9169 9.12062C2.07075 9.4852 2.33096 9.79676 2.66468 10.016C2.9984 10.2352 3.39068 10.3523 3.79199 10.3525Z",fill:"url(#nftIconPaint1_linear_22072_29287)"}),e.jsx("path",{d:"M21.2188 16.4017C20.9497 16.4014 20.6833 16.4538 20.4351 16.556C20.1869 16.6581 19.9619 16.8079 19.7732 16.9965L17.0057 15.4197C16.8673 15.7049 16.7055 15.9785 16.5221 16.2379L19.278 17.8086C19.1514 18.2106 19.1571 18.6416 19.2942 19.0402C19.4313 19.4387 19.6928 19.7846 20.0415 20.0284C20.3901 20.2722 20.8082 20.4015 21.2359 20.3979C21.6637 20.3943 22.0794 20.2579 22.4238 20.0083C22.7682 19.7586 23.0236 19.4084 23.1537 19.0076C23.2839 18.6068 23.282 18.1757 23.1485 17.776C23.0149 17.3762 22.7564 17.0282 22.4099 16.7814C22.0634 16.5346 21.6466 16.4017 21.2188 16.4017Z",fill:"url(#nftIconPaint2_linear_22072_29287)"}),e.jsx("path",{d:"M10.1687 3.27557C10.4477 3.60473 10.8267 3.83704 11.25 3.93824V7.25007C11.5699 7.22463 11.8913 7.22463 12.2112 7.25007V3.93824C12.6342 3.83738 13.0129 3.60499 13.291 3.27558C13.3305 3.22921 13.367 3.18134 13.402 3.13197V3.13047C13.6121 2.83049 13.7347 2.47971 13.7567 2.1161C13.7787 1.75248 13.6992 1.38987 13.5268 1.0675C13.3544 0.745123 13.0956 0.47526 12.7785 0.287106C12.4614 0.0989512 12.098 -0.000330958 11.7277 8.2887e-07C11.3574 0.000332616 10.9942 0.100266 10.6774 0.288988C10.3607 0.47771 10.1024 0.748036 9.9306 1.07072C9.75879 1.3934 9.67995 1.75615 9.70262 2.11973C9.7253 2.4833 9.84862 2.83386 10.0592 3.13347C10.0942 3.18282 10.1307 3.23069 10.1687 3.27557Z",fill:"url(#nftIconPaint3_linear_22072_29287)"}),e.jsx("path",{d:"M6.45587 15.4197L4.2162 16.7129C3.8643 16.3678 3.39604 16.1616 2.89998 16.1331C2.40393 16.1047 1.91447 16.2561 1.5242 16.5586C1.13392 16.8611 0.869882 17.2938 0.78202 17.7748C0.694158 18.2559 0.788565 18.7519 1.04739 19.1691C1.30621 19.5863 1.71149 19.8958 2.18659 20.0389C2.66169 20.1821 3.17366 20.1491 3.62567 19.9461C4.07768 19.7431 4.43838 19.3842 4.63955 18.9373C4.84072 18.4904 4.86842 17.9864 4.71741 17.5208L6.93948 16.2379C6.75518 15.979 6.59341 15.7053 6.45587 15.4197Z",fill:"url(#nftIconPaint4_linear_22072_29287)"}),e.jsx("path",{d:"M12.8256 20.3149C12.6372 20.195 12.4294 20.1074 12.2112 20.0561V18.6919C11.8914 18.7188 11.5698 18.7188 11.25 18.6919V20.0561C10.8485 20.1528 10.4862 20.3672 10.2113 20.6709C9.93496 20.9765 9.7605 21.3582 9.71149 21.7644C9.66249 22.1706 9.74128 22.5818 9.93726 22.9425C10.1332 23.3033 10.437 23.5963 10.8075 23.782C11.178 23.9677 11.5975 24.0372 12.0095 23.9811C12.4214 23.925 12.8059 23.746 13.1112 23.4683C13.4165 23.1905 13.6279 22.8274 13.7169 22.4278C13.8058 22.0282 13.7681 21.6115 13.6087 21.2336C13.4493 20.8558 13.176 20.5352 12.8256 20.3149Z",fill:"url(#nftIconPaint5_linear_22072_29287)"}),e.jsx("path",{d:"M17.0063 10.5215L18.1363 9.87978C18.3301 10.0983 18.5698 10.2729 18.8389 10.3914C18.9679 10.4489 19.1031 10.4921 19.2419 10.52C19.3817 10.5502 19.5245 10.5652 19.6677 10.5649C20.0369 10.5647 20.399 10.4655 20.7152 10.278C21.0313 10.0905 21.2896 9.82176 21.4621 9.50073C21.6346 9.1797 21.7149 8.81849 21.6943 8.45593C21.6738 8.09337 21.5532 7.74318 21.3454 7.44301C21.1377 7.14284 20.8507 6.90403 20.5153 6.75227C20.1799 6.60052 19.8088 6.54154 19.4419 6.58169C19.075 6.62184 18.7261 6.7596 18.4328 6.98015C18.1396 7.2007 17.9129 7.4957 17.7774 7.83345C17.7089 8.00259 17.6649 8.18033 17.6466 8.36149C17.6392 8.42955 17.6356 8.49797 17.6359 8.56642C17.6357 8.7257 17.6551 8.88443 17.6937 9.03911L16.5227 9.70328C16.7061 9.96272 16.8678 10.2364 17.0063 10.5215Z",fill:"url(#nftIconPaint6_linear_22072_29287)"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"nftIconPaint0_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"nftIconPaint1_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"nftIconPaint2_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"nftIconPaint3_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"nftIconPaint4_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"nftIconPaint5_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]}),e.jsxs("linearGradient",{id:"nftIconPaint6_linear_22072_29287",x1:"0.75",y1:"0",x2:"23.3576",y2:"0.102795",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{offset:"0.249213",stopColor:"#FCD753"}),e.jsx("stop",{offset:"0.502314",stopColor:"#FFE68E"}),e.jsx("stop",{offset:"0.750265",stopColor:"#FCD753"})]})]})]}),lQ=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 21",fill:"none","aria-hidden":!0,
7110children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9416 9.01249C12.6975 8.76841 12.3018 8.76841 12.0577 9.01249L10.6247 10.4455V3.62109C10.6247 3.27592 10.3449 2.99609 9.99968 2.99609C9.6545 2.99609 9.37467 3.27592 9.37467 3.62109L9.37467 10.4455L7.94162 9.01249C7.69754 8.76841 7.30181 8.76841 7.05773 9.01249C6.81366 9.25656 6.81366 9.65229 7.05773 9.89637L9.55773 12.3964C9.80181 12.6404 10.1975 12.6404 10.4416 12.3964L12.9416 9.89637C13.1857 9.65229 13.1857 9.25656 12.9416 9.01249Z",fill:"#FFDD62"}),e.jsx("path",{d:"M14.7893 10.2878C14.416 10.2878 14.0895 10.5163 13.8255 10.7803L11.3255 13.2803C10.5933 14.0125 9.40608 14.0125 8.67385 13.2803L6.17385 10.7803C5.90989 10.5163 5.58335 10.2878 5.21005 10.2878H3.33301C3.33301 13.9697 6.31778 16.9544 9.99967 16.9544C13.6816 16.9544 16.6663 13.9697 16.6663 10.2878H14.7893Z",fill:"#FFDD62"})]}),rQ=()=>e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M6 18L18 6M18 6H9M18 6V15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),B0=({title:t,description:s})=>e.jsxs("div",{className:"flex min-w-full flex-col gap-y-1 rounded-2xl bg-[linear-gradient(90deg,#253633_0%,#1F232F_40%)] p-4 md:bg-[linear-gradient(90deg,#253633_0%,#1F232F_30%)]",children:[e.jsxs("div",{className:"flex flex-row gap-x-2",children:[e.jsx("span",{className:"flex size-8 flex-col items-center justify-center rounded-md",children:e.jsx(ve,{icon:"moneyBag",className:"size-7 text-[#73DA69]"})}),e.jsx("span",{className:"flex flex-col items-center justify-center text-xl text-white",children:t})]}),e.jsx("span",{className:"text-sm text-brandblue-100",children:s})]}),iQ=()=>{const[t,s,a,l]=C([YA,XA,JA,QA]);return e.jsxs("section",{id:"mint",className:"flex flex-col gap-4","data-testid":"nft-buy",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-y-2",children:[e.jsx("h2",{className:"text-center text-2xl font-semibold text-white",children:n("nft.100_unique_nfts")}),e.jsx("p",{className:"text-center text-sm text-brandblue-100",children:n("nft.buy_section_description")})]}),e.jsxs("div",{className:"my-4 flex flex-col justify-center gap-8 md:flex-row md:items-stretch",children:[e.jsxs("div",{className:"bg-black rounded-[20px] p-[10px]",children:[e.jsxs("div",{className:"flex justify-center gap-1 rounded-[20px] bg-[#101218] p-2 text-sm text-white",children:[e.jsx(nQ,{}),n("nft.rate_to_original_game"),"*"]}),e.jsx("video",{src:"/nft/nft.mp4",playsInline:!0,autoPlay:!0,loop:!0,muted:!0,className:"mt-2 rounded-[20px] md:size-[280px]"})]}),e.jsxs("div",{className:"flex w-full flex-col items-center justify-between gap-y-4 md:w-auto md:min-w-[382px] md:gap-y-0",children:[e.jsx("h3",{className:"mb-2 self-start text-xl text-white",children:n("nft.og_owners_club")}),e.jsxs("div",{className:"flex size-full flex-col gap-1 text-white",children:[e.jsxs("div",{className:"flex",children:[e.jsx(Ka,{className:"w-full min-w-0 rounded-l-lg border-r border-r-highlight",label:n("nft.minted_supply"),value:`${O1(t==null?void 0:t.totalSupply)}`}),e.jsx(Ka,{className:"w-full min-w-0 rounded-r-lg",label:n("nft.owners"),value:O1(t==null?void 0:t.uniqueHolders)})]}),e.jsxs("div",{className:"rounded-lg",children:[e.jsx(Ka,{className:"rounded-t-lg border-b border-b-highlight",label:n("nft.floor_price"),value:Qs(t==null?void 0:t.floorPrice),icon:e.jsx(dr,{className:"size-4"})}),e.jsx(Ka,{className:"rounded-b-lg",label:n("nft.all_time_volume"),value:Qs(t==null?void 0:t.allTimeVolume),icon:e.jsx(dr,{className:"size-4"})})]}),e.jsxs("div",{className:"rounded-lg",children:[e.jsx(Ka,{className:"rounded-t-lg border-b border-b-highlight",label:n("nft.total_value_airdropped"),value:Qs(a),icon:e.jsx(dr,{className:"size-4"})}),e.jsx(Ka,{className:"border-b border-b-highlight",label:n("nft.airdrops_done"),value:O1(t==null?void 0:t.totalAirdrops)}),e.jsx(Ka,{className:"rounded-b-lg",label:n("nft.average_airdrop_value_per_nft"),value:Qs(l,4),icon:e.jsx(dr,{className:"size-4"})})]})]}),e.jsxs("button",{type:"button",onClick:()=>Yc(wu),"data-testid":"nft-tensor-cta",className:"mt-4 flex w-full items-center justify-center gap-2 rounded-md bg-golde
7110n px-4 py-2 font-semibold text-primary",children:[n("nft.buy_from_tensor"),e.jsx(rQ,{})]}),e.jsxs("p",{className:"mt-1 self-start text-xs text-brandblue-100",children:[O1(s)," ",n("nft.nfts")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-3",children:[e.jsx(B0,{title:n("nft.limited_supply"),description:n("nft.limited_supply_description")}),e.jsx(B0,{title:"$Whale",description:n("nft.whale_platform_description")}),e.jsx(B0,{title:n("nft.transparent"),description:n("nft.transparent_description")})]})]})},oQ=()=>{const[t,s]=m.useState(!1),a=(l,r)=>e.jsxs("div",{className:"flex w-full flex-col items-start justify-start gap-6",children:[e.jsx("div",{className:"relative h-[208px] w-full overflow-hidden rounded-2xl bg-zinc-900",children:e.jsx("iframe",{src:`https://www.youtube.com/embed/${l}?&theme=dark&autohide=2`,title:n(`nft.learn_more.video.${r===0?"one":"two"}.title`),allowFullScreen:!0,className:"block size-full"})}),e.jsxs("div",{className:"flex flex-col gap-3 self-stretch",children:[e.jsx("span",{className:"line-clamp-2 min-h-[48px] text-[20px]/[24px] text-white",children:n(`nft.learn_more.video.${r===0?"one":"two"}.title`)}),e.jsx("span",{className:"line-clamp-3 text-sm text-brandblue-100",children:n(`nft.learn_more.video.${r===0?"one":"two"}.description`)})]})]},l);return e.jsxs("section",{className:"flex flex-col gap-4","data-testid":"nft-video-promo",children:[e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("span",{className:"text-[24px]/[32px] text-white",children:n("nft.learn_more.title")}),e.jsx("span",{className:"text-sm text-brandblue-100",children:n("nft.learn_more.description")})]}),e.jsx("div",{className:"hidden gap-5 md:grid md:grid-cols-2 lg:grid-cols-3",children:Fo.map((l,r)=>a(l,r))}),e.jsx("div",{className:"grid grid-cols-1 gap-5 md:hidden",children:(t?Fo:Fo.slice(0,1)).map((l,r)=>a(l,r))}),e.jsx("div",{className:"flex justify-center md:hidden",children:e.jsx("button",{type:"button",onClick:()=>s(l=>!l),className:"text-sm text-[#7086FF] underline",children:t?n("global_read_less"):n("global_read_more")})})]})},D4={businessinsider:ZJ,coinmarketcap:WJ,investing:XJ,binance:zJ,decrypt:qJ,cryptopotato:KJ,walletinvestor:QJ,igamingnews:YJ,bitcoin:GJ,nextio:JJ},$4="mx-8 h-8 max-w-none object-contain",cQ=()=>e.jsxs("section",{className:"relative overflow-hidden","data-testid":"nft-exchanges",children:[e.jsx("div",{className:"pointer-events-none absolute left-0 top-0 z-10 h-full w-32 bg-gradient-to-r from-[#13161E] to-transparent"}),e.jsx("div",{className:"pointer-events-none absolute right-0 top-0 z-10 h-full w-32 bg-gradient-to-l from-[#13161E] to-transparent"}),e.jsx("div",{className:"flex w-max animate-[marquee_20s_linear_infinite] hover:[animation-play-state:paused]",children:[...Qd,...Qd].map((t,s)=>t.url?e.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-4",children:e.jsx("img",{src:D4[t.id],alt:t.id,className:$4,loading:"lazy"})},`${t.id}-${s}`):e.jsx("span",{className:"inline-block px-4",children:e.jsx("img",{src:D4[t.id],alt:t.id,className:$4,loading:"lazy"})},`${t.id}-${s}`))})]}),dQ=({chart:t,periodToggle:s})=>{const[a,l,r]=C([O3,eL,vu]);return e.jsxs(e.Fragment,{children:[e.jsxs("section",{className:"flex min-w-full flex-col gap-5","data-testid":"nft-public-release",children:[e.jsx("h2",{className:"text-lg font-semibold text-white",children:n("nft.crock_dentist_live_stats")}),e.jsxs("div",{className:"flex w-full flex-col gap-[25px] lg:flex-row",children:[e.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-[30px] lg:w-[clamp(250px,30%,354px)]",children:[e.jsx("img",{src:"/nft/crockThumbnail.webp",alt:"",className:"size-full rounded-xl",loading:"lazy"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"text-sm text-white",children:n("nft.game_stats")}),e.jsxs("div",{className:"text-[14px]/[20px]",children:[e.jsxs("div",{className:"flex flex-row justify-between rounded-t-md bg-gunmetal p-2 text-brandblue-100",children:[n("nft.unique_players"),e.jsx("span",{className:"rounded-xs bg-stream-sub-highlight-color px-1 text-white",children:O1(a==null?void 0:a.uniquePlayers
7110)})]}),e.jsx("div",{className:"h-px bg-tribe-live"}),e.jsxs("div",{className:"flex flex-row justify-between bg-gunmetal p-2 text-brandblue-100",children:[n("nft.rounds_played"),e.jsx("span",{className:"rounded-xs bg-stream-sub-highlight-color px-1 text-white",children:O1(a==null?void 0:a.roundCount)})]}),e.jsx("div",{className:"h-px bg-tribe-live"}),e.jsxs("div",{className:"flex flex-row justify-between rounded-b-md bg-gunmetal p-2 text-brandblue-100",children:[n("nft.weakly_rtp"),e.jsx("span",{className:"rounded-xs bg-stream-sub-highlight-color px-1 text-white",children:tL})]})]})]})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-row items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex flex-row items-center gap-2 text-sm text-white",children:[e.jsx(ve,{icon:"turnover",className:"text-[#7091FF]"}),n("provablyFair.stats.turnover")]}),s]}),t]})]})]}),e.jsxs("section",{className:"flex flex-col gap-5 lg:flex-row",children:[e.jsxs("div",{className:"flex flex-1 flex-row overflow-hidden rounded-2xl bg-[linear-gradient(90deg,#253633_0%,#1F232F_40%)] md:bg-[linear-gradient(90deg,#253633_0%,#1F232F_30%)]",children:[e.jsx("img",{src:"/nft/moneySatchel.webp",alt:"",className:"w-24 shrink-0 object-cover md:w-[182px]",loading:"lazy"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 py-5 pr-4",children:[e.jsx("span",{className:"flex items-center gap-2 text-sm text-brandblue-100",children:n("nft.total_revenue")}),e.jsxs("span",{className:"flex items-center gap-2 text-[26px]/[32px] text-white md:text-[38px]/[46px]",children:[e.jsx(we,{currency:"USDT",className:"size-7 shrink-0 md:size-[36px]"}),e.jsx("span",{className:"min-w-0 [overflow-wrap:anywhere]",children:a!=null&&a.revenue?F4(Qs(a.revenue)):"N/A"})]})]})]}),e.jsxs("div",{className:"flex flex-1 flex-row overflow-hidden rounded-2xl bg-[linear-gradient(90deg,#253633_0%,#1F232F_40%)] md:bg-[linear-gradient(90deg,#253633_0%,#1F232F_30%)]",children:[e.jsx("img",{src:"/nft/airBalloon.webp",alt:"",className:"w-24 shrink-0 object-cover md:w-[182px]",loading:"lazy"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 py-5 pr-4",children:[e.jsxs("span",{className:"flex items-center gap-2 text-sm text-brandblue-100",children:[n("nft.next_airdrop"),r.length?e.jsx("button",{type:"button",onClick:tQ,"aria-label":n("nft.airdrop_transactions"),"data-testid":"nft-airdrop-history-link",className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-[#323a4c] text-white transition-opacity hover:opacity-80",children:e.jsx(ve,{icon:"clockArrowCounterclockwiseRotate90",className:"size-5"})}):null]}),e.jsx("span",{className:"text-[26px]/[32px] text-white [overflow-wrap:anywhere] md:text-[38px]/[46px]",children:a!=null&&a.nextAirdropAmount?F4(`$${Qs(a.nextAirdropAmount)}`):"N/A"}),e.jsxs("span",{className:"text-xs text-brandblue-100",children:[n("nft.last_airdrop"),":"," ",a!=null&&a.lastAirdropAmount?`${Qs(a.lastAirdropAmount)} ${a.lastAirdropCurrency??""}`:"N/A"]}),l?e.jsxs("span",{className:"text-xs text-brandblue-100",children:[n("nft.floor_price"),": $",Qs(l.currentPrice)]}):null]})]})]})]})},uQ=()=>{const t=C(sL),[s,a]=m.useState(null),l=m.useRef(null),r=i=>{var o;(o=navigator.clipboard)==null||o.writeText(i),a(i),window.setTimeout(()=>a(null),1e3)};return e.jsxs("section",{className:"flex flex-col gap-5","data-testid":"nft-biggest-holders",children:[e.jsxs("div",{className:"flex flex-row items-center justify-between gap-4",children:[e.jsx("h2",{className:"text-lg font-semibold text-white",children:n("nft.biggest_holders")}),e.jsx(ns,{containerRef:l})]}),e.jsx("div",{ref:l,className:"no-scrollbar flex flex-row gap-2 overflow-x-auto",children:t.map((i,o)=>e.jsxs("div",{className:"flex min-w-[200px] flex-row items-center gap-x-3 rounded-md bg-gunmetal p-3 text-xs","data-testid":"nft-holder",children:[e.jsx("img",{src:aL(o+1),alt:"",loading:"lazy",className:"size-10 shrink-0 rounded-full bg-highlight object-cover"}),e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxs("div",{className:"flex flex-row items-center justify-between gap-2",children:[e.jsx("span",{className:"flex flex-1 text-white",children:nL(i.address)}),e.jsx("button",{type:"button",onClick:()=>r(i.address),"aria-label":"Copy address",className:"relative flex items-center transition-opacity hover:opacity-70",children:e.jsx(ve,{icon:s===i.address?"checkMark":"copyNoBackgroun
7110d"})})]}),e.jsxs("span",{className:"text-brandblue-100",children:[i.nftAmount," ",n("nft.nfts")]})]})]},i.address))})]})},mQ=()=>{const[t,s]=C([lL,vu]),a=rL(t,s);return a.length?e.jsxs("section",{id:gp,className:"flex scroll-mt-20 flex-col gap-3","data-testid":"nft-transactions",children:[e.jsx("h2",{className:"text-lg font-semibold text-white",children:n("nft.airdrop_transactions")}),e.jsxs("div",{className:"grid grid-cols-3 overflow-hidden text-sm text-[#ADAFCE] md:grid-cols-4",children:[e.jsx("div",{className:"ml-3 flex h-10 items-center",children:n("nft.table_action")}),e.jsx("div",{className:"flex h-10 items-center justify-center",children:n("nft.table_user")}),e.jsx("div",{className:"hidden h-10 items-center justify-center md:flex",children:n("nft.table_date")}),e.jsx("div",{className:"mr-3 flex h-10 items-center justify-end",children:n("nft.table_amount")}),a.map((l,r)=>{const i=r%2===0?"bg-[#1F232F]":"";return e.jsxs("div",{className:"col-span-3 grid grid-cols-3 md:col-span-4 md:grid-cols-4",children:[e.jsxs("div",{className:g("flex h-10 flex-row items-center gap-x-1 pl-3",i),children:[l.kind==="transaction"?e.jsx(lQ,{}):e.jsx(ve,{icon:"moneyBag",className:"size-5 text-[#FFDD62]"}),l.kind==="transaction"?n("nft.table_cell_purchased"):n("nft.table_cell_airdrop")]}),e.jsx("div",{className:g("flex h-10 items-center justify-center",i),children:l.userName}),e.jsx("div",{className:g("hidden h-10 items-center justify-center md:flex",i),children:eQ(l.date)}),e.jsxs("div",{className:g("flex h-10 flex-row items-center justify-end gap-1 pr-3",i),children:[e.jsx(we,{currency:l.currency,className:"size-4"}),e.jsx("span",{children:Qs(l.amount)})]})]},`${l.kind}-${l.date}-${r}`)})]})]}):null},P4=({title:t,description:s,url:a})=>e.jsx("div",{className:"flex flex-col items-center justify-center rounded-[10px] bg-secondary p-4",children:e.jsxs("div",{className:"flex flex-row gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-[10px] text-sm",children:[e.jsx("span",{className:"text-white",children:t}),e.jsx("span",{className:"text-[#9092B2]",children:s})]}),e.jsx("div",{className:"flex flex-1 items-end justify-end",children:e.jsxs("button",{type:"button",onClick:()=>Yc(a),className:"flex shrink-0 items-center gap-1 rounded-md bg-[#ffdd62] px-4 py-2 text-sm font-semibold text-[#13161E]",children:[n("global_explore"),e.jsx(ve,{icon:"arrowTopRight",className:"size-4 text-black-50"})]})})]})}),xQ=()=>e.jsxs("section",{className:"grid w-full grid-cols-1 gap-6 md:grid-cols-2","data-testid":"nft-wallet-explore",children:[e.jsx(P4,{title:n("nft.treasure_wallet"),description:n("nft.treasure_wallet_description"),url:iL}),e.jsx(P4,{title:n("nft.royalty_wallet"),description:n("nft.royalty_wallet_description"),url:oL})]}),fQ=()=>{const[t,s,a,l]=C([cL,te,Ps,Je]),r=d3(o3({isSessionResolved:l,isAuthenticated:s,isProfileLoaded:a,isRestricted:t}));return Qe("meta.nft.title","meta.nft.description"),m.useEffect(()=>{dL()},[]),e.jsxs("div",{className:"flex flex-col gap-[60px] overflow-hidden pb-[60px]","data-testid":"nft-page",children:[e.jsx(sQ,{}),e.jsx(aQ,{chart:e.jsx($J,{})}),r?e.jsx(iQ,{}):null,e.jsx(oQ,{}),r?e.jsx(cQ,{}):null,e.jsx(dQ,{chart:e.jsx(PJ,{}),periodToggle:e.jsx(HJ,{})}),e.jsx(uQ,{}),e.jsx(mQ,{}),r?e.jsx(xQ,{}):null,e.jsx(VJ,{})]})},pQ=/^(?:\/[a-z]{2})?\/casino\/originals\/(whale_[a-z_]+)\/?$/,hQ=t=>new Set(t?[]:[Mt.WhaleRoulette]),gQ=t=>{var s,a;return(a=(s=t.getAttribute("href"))==null?void 0:s.match(pQ))==null?void 0:a[1]},bQ=t=>{const s=t.parentElement,a=s==null?void 0:s.parentElement;return(s==null?void 0:s.tagName)!=="STRONG"||(a==null?void 0:a.tagName)!=="P"?null:s.firstChild===t&&a.firstChild===s?a:null},CQ=t=>{var a;const s=t.nextSibling;(s==null?void 0:s.nodeType)===Node.TEXT_NODE&&!((a=s.textContent)!=null&&a.trim())&&s.remove(),t.remove()},jQ=(t,s)=>{if(s.size===0)return t;const a=document.createElement("template");a.innerHTML=t;const l=[...a.content.querySelectorAll("a[href]")].filter(r=>s.has(gQ(r)??""));return l.length===0?t:(l.forEach(r=>{if(!a.content.contains(r))return;const i=bQ(r);i?CQ(i):r.replaceWith(...r.childNodes)}),a.innerHTML)},H4="whale-originals",vQ="originals",wQ=()=>{Qe("meta.originals.title","meta.originals.description");const t=C(N3),s=ma(Cs.WhaleSpecials);m.useEffect(()=>{k3(H4),X("Whale Originals page")},[]);const a=t[H4],l=(s==null?void 0:s.categories.flatMap(d=>d.games))??[],r=ke(Se.WhaleRoulette),i=n("whale_originals.provider_description"),o=m.useMemo(()=>jQ(i,hQ(r)),[i,r]);return e.jsxs("div",{className:"flex flex-col gap-[32px] xl:gap-[60px]","data-testid":"originals-lobby",children:[e.jsx(h1,{title:n("global_whaleOriginals"),count:l.length}),e.jsx("div",{className:"flex flex-col gap-y-7",children:e.jsx(cn,{section:m1.ORIGINALS})}),a!=null&&a.games.length?e.jsx(ua,{title:n("global_whaleOriginals"),gameCodes:a.games}):null,e.jsx(dn,{title:n("countdown_banner.cashback.title"),description:n("countdown_banner.cashback.description"),timerLabel:n("countdown_banner.cashback.timer_label"),backgroundImage:"/wide-banners/countdown/originals-web.webp",mobileBackgroun
7110dImage:"/wide-banners/countdown/originals-mobile.webp",showBorderAnimation:!1}),e.jsx(Fa,{gameCodes:l,title:n("global_whaleSpecials")}),e.jsx(qi,{type:"provider",name:"Whale",description:o,imageSrc:"/providers/whale.webp"}),e.jsx(v1,{group:vQ,tabsShown:!1})]})},yQ=250,_Q=({width:t})=>{const[s,a]=C([uL,mL]),[l,r]=m.useState(null);m.useEffect(()=>{if(!a)return;r(a);const d=setTimeout(()=>r(null),yQ);return()=>clearTimeout(d)},[a]);const i=pL(t),o=fL(t);return e.jsx("div",{className:"flex w-full flex-row gap-1 px-1",style:{fontSize:xg(i)},"data-testid":"plinko-bins",children:s.map((d,u)=>e.jsxs("div",{"data-testid":"plinko-bin","data-bucket":u,className:g("flex min-w-0 flex-1 items-center justify-center overflow-hidden rounded-md font-bold leading-none text-[#141820]",(l==null?void 0:l.bucketIndex)===u&&"animate-plinko-bin-bounce"),style:{height:`${o}px`,backgroundColor:xL(u,s.length),boxShadow:"inset 0 -3px 0 0 rgba(0, 0, 0, 0.25)"},children:[d,"x"]},(l==null?void 0:l.bucketIndex)===u?`${u}-landing-${l.id}`:`${u}`))})},NQ="/assets/ball-BjfiuuMN.webp",kQ=3.5,SQ=1.4,AQ=50,U4=16;class LQ{constructor(s,a,l,r){lt(this,"canvas");lt(this,"context");lt(this,"callbacks");lt(this,"layout");lt(this,"pegs");lt(this,"balls",[]);lt(this,"glows",[]);lt(this,"sprite",null);lt(this,"isSpriteReady",!1);lt(this,"frame",null);lt(this,"lastFrameAt",0);lt(this,"accumulator",0);lt(this,"pixelRatio",1);lt(this,"isDestroyed",!1);lt(this,"speedScale",1);lt(this,"tick",s=>{if(this.isDestroyed){this.frame=null;return}this.accumulator+=Math.min(s-this.lastFrameAt,AQ)*SQ*this.speedScale,this.lastFrameAt=s;let a=0;for(;this.accumulator>=Oo&&a<U4;)this.step(),this.accumulator-=Oo,a+=1;if(this.accumulator>Oo*U4&&(this.accumulator=0),this.render(),this.balls.length||this.glows.length){this.frame=requestAnimationFrame(this.tick);return}this.frame=null});this.canvas=s,this.canvas.style.pointerEvents="none",this.context=s.getContext("2d"),this.callbacks=r,this.layout=e6(a),this.pegs=t6(this.layout),this.loadSprite(l),this.resize(),this.render()}loadSprite(s){const a=new Image;a.onload=()=>{this.isSpriteReady=!0,this.render()},a.src=s,this.sprite=a}resize(){if(this.isDestroyed)return;const s=Math.min(window.devicePixelRatio||1,3),a=Math.max(1,Math.round(this.layout.size*s));(this.canvas.width!==a||this.canvas.height!==a)&&(this.canvas.width=a,this.canvas.height=a),this.pixelRatio=s,this.render()}setSpeedScale(s){this.isDestroyed||!Number.isFinite(s)||s<=0||(this.speedScale=s)}setRows(s){this.isDestroyed||s===this.layout.rows||(this.clearBalls(),this.layout=e6(s),this.pegs=t6(this.layout),this.glows=[],this.resize())}dropBall(s,a){this.isDestroyed||!s.length||(this.balls.push({ball:gL(this.layout),waypoints:hL(this.layout,s),path:s,payload:a}),this.callbacks.onBallSpawned(),this.start())}clearBalls(){const s=this.balls.length;this.balls=[];for(let a=0;a<s;a+=1)this.callbacks.onBallRemoved()}step(){const s=Date.now(),a=[];for(const l of this.balls){const r=bL(l.ball,this.layout,l.waypoints,l.path);l.ball=r.ball,r.reached&&!r.landed&&this.glows.push({x:r.reached.x,y:r.reached.y,startedAt:s}),r.landed&&a.push(l)}for(const l of a)this.balls=this.balls.filter(r=>r!==l),this.callbacks.onBallLanded(l.payload),this.callbacks.onBallRemoved()}start(){this.frame!==null||this.isDestroyed||(this.lastFrameAt=performance.now(),this.accumulator=0,this.frame=requestAnimationFrame(this.tick))}render(){if(this.isDestroyed||!this.context)return;const{size:s}=this.layout;this.context.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0),this.context.clearRect(0,0,s,s);const a=Date.now();this.glows=this.glows.filter(l=>a-l.startedAt<=Do),this.drawPegs(a),this.drawGlows(a),this.drawBalls()}drawPegs(s){for(const a of this.pegs){const l=this.glows.some(r=>r.x===a.x&&r.y===a.y&&s-r.startedAt<=Do);this.context.fillStyle=l?S1.PEG_HIT:S1.PEG,this.context.beginPath(),this.context.arc(a.x,a.y,this.layout.pegRadius,0,Math.PI*2),this.context.fill()}}drawGlows(s){for(const a of this.glows){const l=1-(s-a.startedAt)/Do,r=this.layout.pegRadius*(1+l*1.5);this.context.save(),this.context.globalAlpha=l*.8;const i=this.context.createRadialGradient(a.x,a.y,this.layout.pegRadius,a.x,a.y,r);i.addColorStop(0,`rgba(${S1.GLOW}, 0)`),i.addColorStop(.6,`rgba(${S1.GLOW}, 0.4)`),i.addColorStop(1,`rgba(${S1.GLOW}, 0)`),this.context.fillStyle=i,this.context.beginPath(),this.context.arc(a.x,a.y,r,0,Math.PI*2),this.context.fill(),this.context.restore(
7110)}}drawBalls(){for(const{ball:s}of this.balls){if(this.sprite&&this.isSpriteReady){const a=this.layout.ballRadius*kQ;this.context.drawImage(this.sprite,s.x-a/2,s.y-a/2,a,a);continue}this.context.fillStyle=S1.BALL,this.context.beginPath(),this.context.arc(s.x,s.y,this.layout.ballRadius,0,Math.PI*2),this.context.fill()}}destroy(){this.isDestroyed=!0,this.frame!==null&&(cancelAnimationFrame(this.frame),this.frame=null),this.clearBalls(),this.glows=[]}}const MQ=()=>{const[t,s,a]=C([Tr,CL,gl.$isTurboMode]),l=m.useRef(null),r=m.useRef(null),i=m.useRef(null),o=m.useRef(0),[d,u]=m.useState(0);return m.useEffect(()=>{const c=r.current;if(!c)return;const x=new LQ(c,Tr.getState(),NQ,{onBallLanded:p=>_u(p),onBallSpawned:()=>yu(),onBallRemoved:()=>jL()});return i.current=x,()=>{x.destroy(),i.current=null}},[]),m.useEffect(()=>{var c;(c=i.current)==null||c.setRows(t)},[t]),m.useEffect(()=>{var c;(c=i.current)==null||c.setSpeedScale(vL(a))},[a]),m.useEffect(()=>{var c;!s||s.id===o.current||(o.current=s.id,(c=i.current)==null||c.dropBall(s.path,s))},[s]),m.useEffect(()=>{const c=l.current;if(!c)return;u(c.clientWidth);const x=new ResizeObserver(p=>{var f;u(p[0].contentRect.width),(f=i.current)==null||f.resize()});return x.observe(c),()=>x.disconnect()},[]),e.jsx("div",{className:"flex w-full flex-col items-center justify-center overflow-hidden md:min-h-0 md:flex-1",children:e.jsxs("div",{ref:l,className:"mx-auto flex w-full max-w-[636px] flex-col items-center gap-2 md:max-w-[360px] xl:max-w-[500px]","data-testid":"plinko-board","data-rows":t,children:[e.jsx("div",{className:"relative w-full",children:e.jsx("canvas",{ref:r,className:"block h-auto w-full",style:{aspectRatio:"1 / 1"}})}),e.jsx(_Q,{width:d})]})})},BQ=()=>{const[t,s,a]=C([wL,B7,Nu]);return e.jsxs("div",{className:"flex w-full flex-col gap-2.5",children:[e.jsx("div",{className:"flex h-6 items-center",children:e.jsx("span",{className:"text-sm font-normal text-brandblue-100 md:text-base",children:n("games.plinko.controls.risk")})}),e.jsx("div",{className:"grid w-full grid-cols-3 rounded-sm bg-black-300 p-px",children:t.map(l=>e.jsx(Z,{height:"medium",block:!0,variant:l===s?"NonAccent":"Link",className:l===s?"text-white":void 0,disabled:a,testId:`plinko-risk-${l}`,onClick:()=>yL(l),children:n(`games.plinko.risk.${l}`)},l))})]})},EQ=()=>{const[t,s,a]=C([Tr,_L,Nu]),l=Math.max(1,s.max-s.min),r=Math.min(1,Math.max(0,(t-s.min)/l));return e.jsxs("div",{className:g("flex w-full flex-col gap-2.5 py-1",a&&"opacity-50"),children:[e.jsxs("div",{className:"flex flex-row items-center justify-between",children:[e.jsx("span",{className:"text-sm font-medium text-slate-400",children:n("games.plinko.controls.rows")}),e.jsx("span",{className:"text-sm font-medium text-white","data-testid":"plinko-rows-value",children:t})]}),e.jsxs("div",{className:"relative flex h-[25px] w-full items-center",children:[e.jsx("span",{className:"relative h-2 w-full overflow-hidden rounded-full bg-primary-active",children:e.jsx("span",{className:"absolute inset-y-0 left-0 rounded-full bg-gradient-primary",style:{width:`${r*100}%`}})}),e.jsx("span",{className:"pointer-events-none absolute top-1/2 size-[25px] -translate-y-1/2 rounded-full bg-white shadow-sm",style:{left:`calc(${r*100}% - ${r*25}px)`}}),e.jsx("input",{type:"range",min:s.min,max:s.max,step:s.step,value:t,disabled:a,"data-testid":"plinko-rows-slider","aria-label":n("games.plinko.controls.rows"),className:"absolute inset-x-0 top-1/2 h-[25px] w-full -translate-y-1/2 cursor-pointer appearance-none bg-transparent disabled:cursor-not-allowed [&::-moz-range-thumb]:size-[25px] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-transparent [&::-webkit-slider-thumb]:size-[25px] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:bg-transparent",onChange:i=>NL(Number(i.target.value))})]})]})},RQ=()=>e.jsxs("div",{className:"flex flex-col gap-y-4",children:[e.jsx(BQ,{}),e.jsx(EQ,{})]}),TQ=()=>e.jsxs("div",{className:"flex flex-col gap-y-4 pb-2",children:[e.jsx(Ml,{}),e.jsx(Bl,{}),e.jsx(El,{})]}),IQ=t=>t.slice(0,_i),FQ=()=>{const t=C(kL),s=IQ(t);return e.jsx("div",{className:"relative flex h-8 w-full flex-row items-center justify-end after:pointer-events-none after:absolute after:inset-y-0 after:right-0 after:z-main after:w-10 after:bg-[linear-gradient(270deg,#141820,transparent)] after:content-['']","data-testid":"plinko-previous-rolls",children:e.jsx("div",{className:"flex min-w-0 flex-row items-center gap-2 overflow-hidden",children:s.map((a,l)=>e.jsx("div",{"data-testid":"plinko-previous-roll","data-win":a.multiplier>=1,className:g("inline-flex shrink-0 animate-fadeIn items-center justify-center gap-2.5 overflow-hidden rounded-3xl px-3 py-1.5 backdrop-blur-3xl",a.multiplier>=1?"bg-[#54D14933]":"bg-highlight"),children:e.jsxs("div",{className:g("justify-center text-center text-sm font-semibold leading-tight",a.multiplier>=1?"text-green-500":"text-slate-400"),children:[u1(a.multiplier),"x"]})},`${t.length-l}`))})})}
7110,Nr={DROP:xe.CHIP_THROW,WIN:xe.WIN},OQ=t=>Number.isFinite(t)&&t>1?Nr.WIN:null,DQ="size-full flex flex-col gap-y-4 items-center justify-between p-4 bg-black-300 rounded-xl border border-primary",$Q=()=>{const t=C(gl.$isAudioOn);m.useEffect(()=>rn(Object.values(Nr),t),[t]),m.useEffect(()=>{const s=yu.watch(()=>qe(Nr.DROP)),a=_u.watch(({multiplier:l})=>{const r=OQ(l);r&&qe(r)});return()=>{s(),a(),Vs(Object.values(Nr))}},[])},PQ=()=>{const t=C(ht);return $Q(),e.jsxs(an,{children:[e.jsx(Rl,{betControls:e.jsx(RQ,{}),autoplayControls:e.jsx(TQ,{})}),e.jsxs(nn,{rootClass:`${t?"lg:h-[calc(100vh-32px)]":"h-full md:h-[520px] xl:h-[648px]"} ${DQ}`,children:[e.jsx(FQ,{}),e.jsx(MQ,{})]})]})},V4=()=>e.jsx(zs,{game:gl,children:e.jsx(PQ,{})}),Xc=({title:t,description:s,mobileBackgroundImage:a,backgroundImage:l})=>e.jsxs("div",{className:"relative rounded-2xl","data-testid":"premium-banner",children:[e.jsx(Tl,{borderThickness:"1px"}),e.jsx(ce,{src:a,alt:t,className:"h-[400px] w-full rounded-2xl bg-slate-900 object-cover object-center md:hidden"}),e.jsx(ce,{src:l,alt:t,className:"hidden h-[296px] w-full rounded-2xl bg-slate-900 object-cover object-center md:block"}),e.jsxs("div",{className:"absolute left-0 top-0 flex h-full flex-col px-8 py-10 md:justify-center",children:[e.jsx("h1",{className:"text-balance text-center text-2xl font-bold uppercase italic md:max-w-lg md:pr-2 md:text-left md:text-3xl",dangerouslySetInnerHTML:{__html:t}}),e.jsx("div",{className:"pt-4 text-center text-sm text-brandblue-100 md:max-w-lg md:text-left",dangerouslySetInnerHTML:{__html:s}})]})]}),z4="most-popular-megaways",G4="win-more-than-50-000x",Z4="new-arrivals-just-landed",W4="new-arrivals-bonus-buy",K4="super-bonus-buy",q4="new-bonus-buy-games",HQ={megaways:{slug:Cs.Megaways,titleKey:"global_megaways",metaKey:"megaways",bannerKey:"megaways",trackEventName:"Megaways Category page",fetchSlugs:[z4,G4],rows:[{slug:z4,title:"Most Popular Megaways"},{slug:G4,title:"Win More Than 50,000x"}]},newarrivals:{slug:Cs.NewArrivals,titleKey:"global_newArrivals",metaKey:"newarrivals",bannerKey:"newarrivals",trackEventName:"New Arrivals Category page",fetchSlugs:[Z4,W4],rows:[{slug:Z4,title:"Just Landed"},{slug:W4,title:"New Games With Bonus Buy"}]},buyfeature:{slug:Cs.BuyFeature,titleKey:"global_buyFeature",metaKey:"buyfeature",bannerKey:"buyfeature",trackEventName:"Buy Feature Category page",fetchSlugs:[K4,q4],rows:[{slug:q4,title:"New Bonus Buy Games"},{slug:K4,title:"Super Bonus Buy"}]}},E0=({variant:t})=>{var d,u;const s=HQ[t],a=ma(s.slug),l=C(SL);Qe(`meta.${s.metaKey}.title`,`meta.${s.metaKey}.description`),m.useEffect(()=>{X(s.trackEventName),AL(s.fetchSlugs)},[s.fetchSlugs,s.trackEventName]);const r=n(s.titleKey),i=((u=(d=a==null?void 0:a.categories)==null?void 0:d[0])==null?void 0:u.games)??[],o=s.rows.every(({slug:c})=>l[c]!==void 0);return e.jsxs("div",{className:"flex flex-col gap-8","data-testid":`${t}-lobby`,children:[e.jsx(h1,{title:r,count:i.length}),e.jsx(Xc,{title:n(`premium_category.${s.bannerKey}.banner.title`),description:n(`premium_category.${s.bannerKey}.banner.description`),mobileBackgroundImage:`/wide-banners/hero/${s.bannerKey}-mobile.webp`,backgroundImage:`/wide-banners/hero/${s.bannerKey}-web.webp`}),o?s.rows.map(c=>e.jsx(ua,{title:c.title,gameCodes:l[c.slug]??[]},c.slug)):null,e.jsx(dn,{title:n("countdown_banner.cashback.title"),description:n("countdown_banner.cashback.description"),timerLabel:n("countdown_banner.cashback.timer_label"),backgroundImage:`/wide-banners/countdown/${s.bannerKey}-web.webp`,mobileBackgroundImage:`/wide-banners/countdown/${s.bannerKey}-mobile.webp`}),e.jsx(Fa,{gameCodes:i,title:r})]})},UQ=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...t,children:e.jsx("path",{d:"M16.6667 10H3.33334M3.33334 10L8.33334 15M3.33334 10L8.33334 5",stroke:"#707290",strokeWidth:"1.67",strokeLinecap:"round",strokeLinejoin:"round"})}),VQ=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",...t,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.79095 1.63651C6.79095 1.22983 6.46127 0.900146 6.05459 0.900146C5.6479 0.900146 5.31822 1.22983 5.31822 1.63651V2.37407C4.96811 2.37648 4.66211 2.38371 4.39642 2.40542C3.98252 2.43923 3.60203 2.51181 3.24465 2.69391C2.69043 2.9763 2.23983 3.4269 1.95744 3.98112
7110C1.83742 4.21668 1.7802 4.51432 1.74518 4.763C1.70684 5.03523 1.6829 5.34954 1.66736 5.67296C1.63879 6.26737 1.6366 6.94035 1.63643 7.52224C1.63642 7.52391 1.63641 7.52559 1.63641 7.52726V12.8595V12.8595V12.8595C1.63641 13.4523 1.6364 13.9415 1.66896 14.34C1.70278 14.7539 1.77535 15.1344 1.95745 15.4917C2.23984 16.046 2.69044 16.4966 3.24466 16.779C3.60204 16.961 3.98253 17.0336 4.39643 17.0674C4.79493 17.1 5.28411 17.1 5.87682 17.1H5.87689H12.1232H12.1233C12.716 17.1 13.2052 17.1 13.6037 17.0674C14.0176 17.0336 14.3981 16.961 14.7554 16.779C15.3097 16.4966 15.7603 16.046 16.0427 15.4917C16.2247 15.1344 16.2973 14.7539 16.3311 14.34C16.3637 13.9415 16.3637 13.4523 16.3637 12.8595V12.8595V7.52726C16.3637 7.52523 16.3637 7.52321 16.3637 7.52118C16.3635 6.93953 16.3613 6.26701 16.3327 5.67295C16.3172 5.34954 16.2932 5.03522 16.2549 4.76299C16.2199 4.51432 16.1627 4.21668 16.0426 3.98112C15.7603 3.4269 15.3097 2.9763 14.7554 2.69391C14.398 2.51181 14.0176 2.43923 13.6037 2.40542C13.338 2.38371 13.032 2.37648 12.6819 2.37407V1.63651C12.6819 1.22983 12.3522 0.900146 11.9455 0.900146C11.5388 0.900146 11.2091 1.22983 11.2091 1.63651V2.37287H6.79095V1.63651ZM14.8881 6.7909C14.8848 6.43195 14.8775 6.07326 14.8617 5.74367C14.8472 5.44098 14.8259 5.17699 14.7966 4.96837C14.7819 4.86434 14.7664 4.78283 14.7514 4.72225C14.7399 4.67611 14.7315 4.6537 14.7295 4.64824C14.7291 4.64735 14.729 4.64691 14.729 4.6469L14.7304 4.64972C14.5892 4.37261 14.3639 4.14731 14.0868 4.00612C13.9717 3.94744 13.8066 3.89963 13.4837 3.87325C13.2675 3.85559 13.0099 3.8492 12.6819 3.8469V4.58196C12.6819 4.98865 12.3522 5.31833 11.9455 5.31833C11.5388 5.31833 11.2091 4.98865 11.2091 4.58196V3.8456H6.79095V4.58196C6.79095 4.98865 6.46127 5.31833 6.05459 5.31833C5.6479 5.31833 5.31822 4.98865 5.31822 4.58196V3.8469C4.99015 3.8492 4.73254 3.85559 4.51635 3.87325C4.19352 3.89963 4.02842 3.94744 3.91326 4.00612C3.63614 4.14731 3.41085 4.37261 3.26965 4.64972L3.2711 4.6469C3.27112 4.64691 3.27096 4.64734 3.27062 4.64823C3.26858 4.65367 3.26018 4.67608 3.24871 4.72225C3.23366 4.78282 3.21817 4.86434 3.20352 4.96837C3.17414 5.17699 3.15294 5.44098 3.13839 5.74366C3.12254 6.07326 3.11528 6.43195 3.11196 6.7909H14.8881ZM9.44405 9.08965C9.686 9.22145 9.83704 9.47811 9.83704 9.75743V12.787H10.0231C10.434 12.787 10.7672 13.1261 10.7672 13.5444C10.7672 13.9627 10.434 14.3018 10.0231 14.3018H8.16281C7.75186 14.3018 7.41872 13.9627 7.41872 13.5444C7.41872 13.1261 7.75186 12.787 8.16281 12.787H8.34884V11.1708C8.01178 11.3693 7.57669 11.2694 7.35766 10.935C7.12971 10.5869 7.2221 10.1167 7.56404 9.88464L8.68019 9.12724C8.90852 8.97229 9.2021 8.95785 9.44405 9.08965Z",fill:"#9092B2"})}),zQ="inline underline text-brandblue-100 hover:text-brandblue-200 transition-colors",GQ=t=>t.content.replace(/{{[^}]+}}|<[^>]+>/g,s=>{var r;if(!s.startsWith("{{"))return s;const a=s.slice(2,-2),l=(r=t.links)==null?void 0:r.find(i=>i.text===a);return l?`<a class="${zQ}" href="${l.href}">${l.text}</a>`:s}),ZQ=t=>t.replace(new RegExp("^(\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F)","u"),"$1 "),tt={Heading:"heading",Paragraph:"paragraph",List:"list",Date:"date",Hashtags:"hashtags",Video:"video",ButtonLink:"button-link",CenteredContent:"centered-content",Table:"table"},WQ=new Set(["H2","H3","P","UL","LI","B","I","BR","A","VIDEO","CENTER","BUTTON","OL","TABLE","THEAD","TBODY","TFOOT","TR","TH","TD"]),KQ=new Set(["href","src"]),qQ=new Set(["SCRIPT","STYLE","IFRAME","OBJECT","EMBED","NOSCRIPT","TEMPLATE"]),YQ=t=>{let s="",a=t;for(;a!==s;)s=a,a=a.replace(/<i>(\s*)<(ul|ol|li)>/gi,"<$2><i>$1").replace(/<\/(ul|ol|li)>(\s*)<\/i>/gi,"</i>$2</$1>").replace(/<li><i>(.*?)<\/i><\/li>/gi,"<li>$1</li>").replace(/<button\s+href="([^"]+)">/gi,'<a href="$1">').replace(/<\/button>
7110/gi,"</a>");return a},P1=t=>t.replace(/\u200D/g,"").replace(/\uFE0F/g,"").replace(/ /g," ").replace(/â/g,""),bp=(t,s)=>{if(t.nodeType===Node.TEXT_NODE)return[s.createTextNode(t.textContent??"")];if(t.nodeType!==Node.ELEMENT_NODE)return[];const a=t;if(qQ.has(a.tagName))return[];const l=[...a.childNodes].flatMap(i=>bp(i,s));if(!WQ.has(a.tagName))return l;const r=s.createElement(a.tagName.toLowerCase());for(const i of[...a.attributes])KQ.has(i.name.toLowerCase())&&r.setAttribute(i.name.toLowerCase(),i.value);return l.forEach(i=>r.appendChild(i)),[r]},XQ=t=>{if(typeof DOMParser>"u")return null;const s=new DOMParser().parseFromString(t,"text/html"),a=s.createElement("div");return[...s.body.childNodes].flatMap(l=>bp(l,s)).forEach(l=>a.appendChild(l)),a},JQ=(t,s)=>{const a=[];let l=t.firstChild;for(;l;){if(l.nodeType===Node.TEXT_NODE){const r=P1(l.textContent??"");r.trim()&&a.push({type:"text",content:r})}else if(l.nodeType===Node.ELEMENT_NODE){const r=l;r.tagName==="A"?a.push({type:"link",content:P1(r.textContent??""),href:r.getAttribute("href")??""}):r.tagName==="B"&&a.push({type:"bold",content:P1(r.textContent??"")})}l=l.nextSibling}return{type:tt.Paragraph,content:a.reduce((r,i)=>i.type==="link"?`${r}{{${i.content}}}`:i.type==="bold"?`${r}<b>${i.content}</b>`:r+i.content,""),links:a.filter(r=>r.type==="link"&&!!r.href).map(r=>({text:r.content,href:r.href})),isCentered:s}},QQ=t=>P1([...t.childNodes].map(s=>{var a;return((a=s.textContent)==null?void 0:a.trim())??""}).filter(Boolean).join(" ")),eee=t=>{const s=[...t.querySelectorAll("tr")].map(a=>{const l=[...a.children].filter(r=>r.tagName==="TH"||r.tagName==="TD");return{cells:l.map(QQ),isHeader:l.length>0&&l.every(r=>r.tagName==="TH")}}).filter(a=>a.cells.length>0);return s.length>0?{type:tt.Table,content:"",rows:s,isCentered:!1}:null},tee=(t,s)=>{[...t.children].forEach(a=>{var r;const l=P1(((r=a.textContent)==null?void 0:r.trim())??"");if(a.tagName==="A"){s.push({type:tt.ButtonLink,content:l,links:[{text:l,href:a.getAttribute("href")??""}],isCentered:!0});return}s.push({type:tt.CenteredContent,content:l,isCentered:!0})})},see=t=>{const s=XQ(YQ(t)),a=[];let l="";return s?([...s.children].forEach(r=>{var d;const i=P1(((d=r.textContent)==null?void 0:d.trim())??""),o=r.tagName==="CENTER";switch(r.tagName){case"H2":l=i,a.push({type:tt.Heading,content:i,level:2,isCentered:o});break;case"H3":a.push({type:tt.Heading,content:i,level:3,isCentered:o});break;case"P":if(i.includes("ð
")){i.split("ð
").filter(Boolean).forEach(u=>{a.push({type:tt.Date,content:`ð
${u.trim()}`,isCentered:o})});break}a.push(JQ(r,o));break;case"VIDEO":a.push({type:tt.Video,content:r.getAttribute("src")??"",isCentered:o});break;case"UL":case"OL":a.push({type:tt.List,content:"",items:[...r.children].map(u=>{var c;return((c=u.textContent)==null?void 0:c.trim())??""}),isCentered:o});break;case"CENTER":tee(r,a);break;case"TABLE":{const u=eee(r);u&&a.push(u);break}default:if(i.startsWith("#")){a.push({type:tt.Hashtags,content:i,isCentered:o});break}r.tagName==="A"&&a.push({type:tt.ButtonLink,content:i,links:[{text:i,href:r.getAttribute("href")??""}],isCentered:o})}}),{title:l,blocks:a}):{title:l,blocks:a}},aee="px-4 py-2 inline-flex items-center justify-center rounded-md text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-gradient-primary text-button-primary-text border-1 border-brand-tertiary border-solid active:opacity-90",nee=({block:t})=>{const s=t.isCentered?"text-center w-full":"";switch(t.type){case tt.Paragraph:return e.jsx("p",{className:g("inline text-lg text-brandblue-100",s),dangerouslySetInnerHTML:{__html:GQ(t)}});case tt.Heading:{const a=t.level===3?"h3":"h2";return e.jsx(a,{className:g("text-xl font-semibold text-white md:text-2xl",s),dangerouslySetInnerHTML:{__html:ZQ(t.content)}})}case tt.List:return e.jsx("ul",{className:"p-1 pl-4 font-medium text-brandblue-100 md:text-base",children:(t.items??[]).map((a,l)=>e.jsx("li",{className:"list-disc",children:a},`${a}-${l}`))});case tt.Date:return e.jsx("div",{className:"flex flex-col gap-2",children:e.jsx("time",{className:"text-brandblue-100",children:t.content})});case tt.Video:return e.jsx("div",{className:"mx-auto max-w-[1200px] p-2",children:e.jsxs("video",{className:"max-h-full w-full",controls:!0,children:[e.jsx("source",{src:t.content,type:"video/mp4"}),e.jsx("track",{kind:"captions"})]})});case tt.ButtonLink:return e.jsx("div",{className:"flex w-full justify-center",children:(t.links??[]).map(a=>e.jsx("a",{href:a.href,className:aee,children:a.text},a.href))});case tt.CenteredContent:return e.jsx("div",{className:"w-full text-center text-lg text-brandblue-100",children:t.content});case tt.Table:{const a=t.rows??[],l=a.findIndex(o=>!o.isHeader),r=l===-1?a:a.slice(0,l),i=l===-1?[]:a.slice(l);return e.jsx("div",{className:"overflow-x-auto rounded-xl border border-brandblue-600",children:e.jsxs("table",{className:"w-full border-separate border-spacing-0 bg-black-100 text-left",children:[r.length>0&&e.jsx("thead",{children:r.map((o,d)=>e.jsx("tr",{children:o.cells.map((u,c)=>e.jsx("th",{className:g("bg-primary px-4 py-3 text-sm font-semibold text-white",d>0&&"border-t border-secondary"),children:u},c))},d))}),e.jsx("tbody",{children:i.map((o,d)=>e.jsx("tr",{children:o.cells.map((u,c)=>e.jsx("td",{className:g("px-4 py-3 align-top text-sm text-brandblue-100 md:text-base",(r.length>0||d>0)&&"border-t border-secondary"),children:u},c))},d))})]})})}default:return null}},lee=({content:t,imagePath:s,endDate:a})=>{const l=Y(),r=i=>{var u;const o=(u=i.target)==null?void 0:u.closest("a"),d=o==null?void 0:o.getAttribute("href");!(d!=null&&d.startsWith("/"))||(o==null?void 0:o.target)==="_blank"||i.metaKey||i.ctrlKey||(i.preventDefault(),l(d))};return e.jsxs("div",{className:"flex w-auto flex-col gap-6 md:w-2/3","data-testid":"promotion-content",onClick:r,children:[e.jsx(ce,{className:"aspect-video w-full rounded-xl object-cover",src:s,alt:t.title,loading:"lazy"}),a?e.jsxs("div",{className:"flex items-center gap-x-2",children:[e.jsx(VQ,{}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100",children:a})]}):e.jsx("div",{className:"md:h-[18px]"}),t.blocks.map((i,o)=>e.jsx(nee,{block:i},`${i.type}-${o}`))]})},ree=()=>{const{promotion:t}=as(),s=Y(),a=C(ui),[l,r]=C([LL,ML]),i=t?SD[t]:void 0;m.useEffect(()=>{if(!(i||!t))return BL(t),()=>EL()},[i,t]),m.useEffect(()=>{i&&s(i,{replace:!0}),X("Promotion Clicked",{lang:a,promotionName:t})},[a,s,i,t]),m.useEffect(()=>{!i&&r&&!l&&s(Ut,{replace:!0})},[s,l,i,r]);const o=l?n(l.contentKey):"",d=m.useMemo(()=>o?see(o):null,[o]);return e.jsx("div",{className:"flex w-full justify-center px-5 md:px-0","data-testid":"promotion-detail-page",children:e.jsx("div",{className:"mx-auto mb-4 w-full border-b border-b-primary bg-background-primary py-[0.2rem] transition-all duration-300 sm:max-w-full md:max-w-full lg:max-w-[952px] xl:max-w-[1160px] 2xl:max-w-[1360px] 4xl
7110:max-w-[1460px]",children:e.jsxs("section",{className:"mb-8 mt-4 flex w-full flex-col gap-5 md:mt-6 md:gap-6",children:[e.jsxs("div",{className:"mb-2 flex items-center gap-4",children:[e.jsx("button",{type:"button",className:"flex items-center justify-center rounded-lg bg-neutral-800 p-2 transition-colors hover:bg-neutral-700",onClick:()=>s(-1),"aria-label":n("global_go_back"),"data-testid":"promotion-back",children:e.jsx(UQ,{})}),e.jsx("span",{className:"text-base font-medium text-brandblue-100",children:n("global_go_back")})]}),l&&d?e.jsx("div",{className:"mb-20 flex w-full justify-center",children:e.jsx(lee,{content:d,imagePath:ku(l,a).imageUrlWeb,endDate:l.endDateKey?n(l.endDateKey):null})}):null]})})})},iee=({title:t,description:s,to:a,imagePath:l})=>e.jsx("div",{className:"size-full min-h-[346px] max-w-full","data-testid":"promotion-card",children:e.jsx("div",{className:"flex flex-col justify-between",children:e.jsxs("div",{className:"flex flex-col gap-y-4",children:[e.jsx(De,{to:a,children:e.jsx(ce,{className:"size-full",src:l,alt:t,loading:"lazy"})}),e.jsxs("div",{className:"-mt-1 flex flex-col gap-y-2",children:[e.jsx("span",{className:"text-xl font-semibold text-white",children:t}),e.jsx("span",{className:"text-sm font-medium text-brandblue-100",children:s})]})]})})}),oee=()=>{const{subcategory:t=""}=as(),s=Y(),a=C(ui),[l,r,i]=C([RL,TL,IL]),o=ke(Se.BattlePass),d=ke(Se.Tribes),u=wD(t);m.useEffect(()=>{FL()},[]),m.useEffect(()=>{u||s(Ut,{replace:!0})},[u,s]);const c=u?t:"all",x=m.useMemo(()=>_D(l,{battlePassEnabled:o,tribesEnabled:d}),[l,o,d]),p=m.useMemo(()=>ND(x),[x]),f=i&&c!=="all"&&!p.some(b=>b.value===c);if(m.useEffect(()=>{f&&s(Ut,{replace:!0})},[f,s]),!u)return null;const h=kD(x,c);return e.jsx("div",{className:"flex h-max w-full flex-row flex-wrap","data-testid":"promotions-page",children:e.jsx("section",{className:"mx-auto mb-4 w-full border-b border-b-primary bg-background-primary px-5 py-[0.2rem] transition-all duration-300 sm:max-w-full md:max-w-full lg:max-w-[952px] xl:max-w-[1160px] 2xl:max-w-[1360px] 4xl:max-w-[1460px]",children:e.jsxs("div",{className:"flex flex-col gap-y-5",children:[e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("h2",{className:"text-[28px] font-semibold text-white",children:n("01_promotions")}),e.jsx("p",{className:"text-sm font-medium text-brandblue-100",children:n("02_promotions")})]}),e.jsx("div",{className:"flex justify-start",children:e.jsx("div",{className:"flex items-center gap-x-0.5 overflow-x-auto rounded-lg bg-primary p-0.5 sm:overflow-visible",children:p.map(b=>{const v=c===b.value,j=n(b.translationKey);return e.jsx("button",{type:"button",className:`whitespace-nowrap rounded-sm px-3 py-2 ${v?"bg-primary-active":"bg-transparent"}`,onClick:()=>s(`${Ut}/${b.value}`),"aria-label":j,"data-testid":`promotions-tab-${b.value}`,children:e.jsx("span",{className:`text-sm font-medium ${v?"text-white":"text-brandblue-100"}`,children:j})},b.value)})})}),r?e.jsx("p",{className:"text-sm font-medium text-brandblue-100","data-testid":"promotions-error",children:n("global_error_generic")}):null,!r&&i&&h.length===0?e.jsx("p",{className:"text-sm font-medium text-brandblue-100","data-testid":"promotions-empty",children:n("global_noRecords")}):null,!r&&h.length>0?e.jsx("div",{className:"grid w-full grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-4",children:h.map(b=>e.jsx(iee,{title:n(b.titleKey),description:n(b.descriptionKey),to:Km(b),imagePath:ku(b,a).imageUrlWeb},b.slug))}):null]})})})},cee=()=>{var u,c;const{provider:t=""}=as(),s=C(Su),a=Zf(),l=Aq(t,{defaultTitle:rt.meta.title,defaultDescription:rt.meta.description,translate:n});sn(l.title,l.description),m.useEffect(()=>{hl(),X(`Provider page ${t}`,{provider:t})},[t]);const r=s.find(x=>x.slug===t);if(!r)return e.jsx("div",{className:"pt-4","data-testid":"provider-page-empty",children:e.jsx("p",{className:"text-sm text-foreground-muted",children:n("global_not_available")})});const i=OL(r.games),o=r.hero_banner,d=!!(r.hero_banner||(u=r.premium_provider_categories)!=null&&u.length||r.countdown_banner);return e.jsx("div",{className:"pt-4","data-testid":`provider-page-${t}`,children:e.jsx("div",{className:"flex w-full flex-col items-center gap-y-3 md:gap-y-6",children:e.jsxs("section",{className:"flex w-full flex-col gap-y-6 transition-all md:px-0",children:[d?e.jsx(h1,{title:r.name,count:r.games.length}):null,e.jsxs("div",{className:"mt-4 flex w-full flex-col gap-y-7 md:mt-0 md:px-0",children:[o!=null&&o.web?e.jsx(Xc,{title:Ja(o.title,n),description:Ja(o.description,n),mobileBackgroun
7110dImage:o.mobile,backgroundImage:o.web}):null,(c=r.premium_provider_categories)==null?void 0:c.map(x=>e.jsx(ua,{title:Lq(x.name,n),gameCodes:x.games},x.name)),r.countdown_banner?e.jsx(dn,{title:Ja(r.countdown_banner.title,n),description:Ja(r.countdown_banner.description,n),timerLabel:Ja(r.countdown_banner.timer_label,n),backgroundImage:r.countdown_banner.web,mobileBackgroundImage:r.countdown_banner.mobile,countdownUntil:SW(r.countdown_banner)}):null,e.jsx(Fa,{gameCodes:r.games,title:r.name})]}),e.jsx("div",{className:"flex w-full flex-row gap-4 rounded-lg bg-primary p-4",children:e.jsx("div",{className:"flex w-full flex-col justify-between",children:e.jsx(qi,{type:"provider",name:r.name,description:a?Ja(r.description,n):"",imageSrc:r.imageUrl})})}),i?e.jsx(v1,{provider:t,prefixFilter:i,tabsShown:!1}):null]})})})},Y4="grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6",dee="flex h-full cursor-pointer flex-col items-center justify-between gap-3 rounded-xl bg-gunmetal p-4 outline outline-1 -outline-offset-1 outline-[#323A4C] transition-colors hover:outline-[#4A5568]",X4=({provider:t})=>e.jsxs("div",{className:dee,children:[e.jsx("div",{className:"flex h-12 w-full items-center justify-center",children:e.jsx("img",{className:"filter-white-to-brand max-h-12 max-w-full object-contain",src:t.imageUrl,alt:t.name,width:120,height:48,loading:"lazy"})}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-1",children:[e.jsx("span",{className:"line-clamp-1 text-center text-[13px] font-semibold leading-tight text-white",children:t.name}),e.jsxs("span",{className:"text-[11px] font-medium text-[#ADAFCE]",children:[t.games.length," ",n("global_games")]})]})]}),Cp=({providers:t,onSelect:s})=>t.length?e.jsx("div",{className:Y4,"data-testid":"providers-grid",children:t.map(a=>s?e.jsx("button",{type:"button",className:"text-left","data-testid":`provider-card-${a.slug}`,onClick:()=>s(a.slug),children:e.jsx(X4,{provider:a})},a.slug):e.jsx(De,{to:pi(a.slug),"data-testid":`provider-card-${a.slug}`,children:e.jsx(X4,{provider:a})},a.slug))}):e.jsx("div",{className:Y4,"data-testid":"providers-grid-skeleton",children:Array.from({length:18}).map((a,l)=>e.jsx("div",{className:"h-[112px] animate-pulse rounded-xl bg-gunmetal"},l))}),uee=()=>{sn(`${rt.meta.title} | ${n("providersSection_title")}`,rt.meta.description);const t=C(Su);return m.useEffect(()=>{hl(),X("All Providers Page")},[]),e.jsx("div",{className:"mx-auto w-full","data-testid":"providers-page",children:e.jsx("div",{className:Ji,children:e.jsxs("div",{className:"flex w-full flex-col gap-y-6 pt-4",children:[e.jsx(cn,{section:m1.PROVIDERS}),e.jsx("h1",{className:"text-lg font-semibold text-white",children:n("providersSection_title")}),e.jsx(Cp,{providers:t})]})})})},jp=({className:t})=>e.jsx("img",{src:"/bonus-gold-coin.webp",alt:"",className:t}),J4=({label:t})=>e.jsxs("span",{className:"inline-flex items-center gap-1 text-[#adafce]",children:[e.jsx(jp,{className:"h-3.5 w-3 shrink-0 object-fill"}),t]}),mee=()=>{const t=C(te),{openModal:s}=W(),a=[[n("bonuses.benefits.term_daily"),n("bonuses.benefits.daily_desc")],[n("bonuses.benefits.term_bonuses"),n("bonuses.benefits.bonuses_desc")],[n("bonuses.benefits.term_missions"),n("bonuses.benefits.missions_desc")]];return e.jsxs("div",{"data-testid":"bonus-benefits-promo",className:"flex flex-col items-center gap-6 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] px-4 py-8",children:[e.jsx(jp,{className:"h-40 w-[134px] shrink-0 object-fill drop-shadow-[0_0_60px_rgba(251,182,63,0.3)]"}),e.jsxs("div",{className:"flex flex-col items-center gap-10",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[e.jsx("p",{className:"text-base font-semibold text-[#fbb63f]",children:n("bonuses.benefits.how")}),e.jsx("h3",{className:"max-w-[264px] text-center text-2xl font-black uppercase text-[#c6c7dd]",children:n("bonuses.benefits.title")})]}),e.jsxs("div",{className:"flex max-w-md flex-col items-center gap-1.5 text-center text-xs font-medium",children:[e.jsx("p",{className:"text-[#adafce] opacity-40",children:n("bonuses.benefits.intro")}),a.map(([l,r])=>e.jsxs("p",{className:"flex flex-wrap items-center justify-center gap-x-1",children:[e.jsx(J4,{label:l}),e.jsx("span",{className:"text-[#adafce] opacity-40",children:r})]},l)),e.jsxs("p",{className:"flex flex-wrap items-center justify-center gap-x-1",children:[e.jsx("span",{className:"text-[#adafce] opacity-40",children:n("bonuses.benefits.rank_pre")}),e.jsx(J4,{label:n("bonuses.benefits.term_rank")}),e.jsx("span",{className:"text-[#adafce] opacity-40",children:n("bonuses.benefits.rank_desc")})]})]})]}),e.jsx(O,{variant:"primary",className:"w-[220px] rounded-lg",onClick:()=>t?s(es,{tab:"deposit",openReason:"rewards"}):s(_e,{tab:"login"}),children:n("bonuses.benefits.cta")})]})]})},xee=13,fee=()=>{const[t,s]=m.useState(null),a=Array.from({length:xee},(l,r)=>({title:n(`bonuses.faq.q${r+1}`),content:n(`bonuses.faq.a${r+1}`)}));return e.jsxs("section",{"data-testid":"bonus-faq",className:"flex flex-col items-center gap-8 py-16",children:[e.jsx("h2",{className:"max-w-md text-center text-3xl font-black uppercase text-[#c6c7d
7110d]",children:n("bonuses.faq.title")}),e.jsx("div",{className:"flex w-full flex-col gap-2",children:a.map((l,r)=>e.jsxs("div",{className:g("overflow-hidden rounded-lg bg-secondary",t===r&&"bg-highlight"),children:[e.jsxs("button",{type:"button","data-testid":"faq-question","aria-expanded":t===r,className:"flex w-full items-center justify-between gap-4 px-4 py-3 text-left text-sm font-medium text-white",onClick:()=>s(t===r?null:r),children:[l.title,t===r?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),t===r?e.jsx("div",{className:"px-4 pb-4 text-sm font-medium text-brandblue-100 opacity-70 [&_li]:ml-4 [&_li]:list-disc [&_strong]:text-white [&_ul]:mt-2 [&_ul]:flex [&_ul]:flex-col [&_ul]:gap-1",dangerouslySetInnerHTML:{__html:l.content}}):null]},l.title))})]})},pee=({className:t})=>e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",className:t,"aria-hidden":"true",children:e.jsx("path",{d:"M4 15.5V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2.5M8 11l4 4 4-4M12 14.5V3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),hee=({className:t})=>e.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",className:t,"aria-hidden":"true",children:e.jsx("path",{d:"M4 15.5V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2.5M8 7l4-4 4 4M12 3v11.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),gee=({totalUsd:t,remainingUsd:s})=>{const a=Math.max(t-s,0),l=t>0?Math.min(a/t*100,100):0,r=i=>`$${i.toFixed(2)}`;return e.jsxs("div",{className:"group relative",children:[e.jsx("button",{type:"button","aria-label":n("bonuses.first_deposit.title"),className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-white/10 text-xs text-brandblue-100 transition-colors hover:bg-white/20",children:"i"}),e.jsx("div",{className:"pointer-events-none absolute left-1/2 top-full z-modal hidden w-72 -translate-x-1/2 pt-2 group-focus-within:block group-hover:block",children:e.jsxs("div",{className:"flex flex-col gap-3 rounded-xl border border-brand-tertiary bg-secondary-active p-4 text-sm shadow-lg",children:[e.jsx("div",{className:"font-semibold text-white",children:n("bonuses.first_deposit.title")}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-[#323a4c]",children:e.jsx("div",{className:"h-full rounded-full bg-[#fbb63f]",style:{width:`${l}%`}})}),e.jsx("span",{className:"font-semibold text-brandblue-100",children:n("bonuses.first_deposit.unlocked",{unlocked:r(a),total:r(t)})})]}),e.jsx("div",{className:"h-px bg-highlight"}),e.jsx("div",{className:"text-xs italic text-brandblue-100",children:n("bonuses.first_deposit.hint")})]})})]})},bee=()=>{const[t,s,a,l,r,i,o]=C([fg,il,q1,w3,DL,We,te]),{openModal:d}=W(),u=a.currency,c=t.find(_=>_.currency===u),x=bs((c==null?void 0:c.availableAmount)??0,u),p=t.reduce((_,A)=>{const E=ni(A.currency,s),L=bs(A.availableAmount,A.currency)*E,B=bs(A.withdrawableAmount??0,A.currency)*E;return _+Math.max(L-B,0)},0),f=t1(p,2e3),h=l==null?void 0:l.firstDepositBonus,b=!!(h&&h.remainingUsd>0),v=!o||!!l&&!l.firstDepositBonus.hasFirstDeposit,j=(r==null?void 0:r.firstPercent)??200,y=_=>o?_():d(_e,{tab:"login"}),N=()=>{X("Navigation - deposit button clicked"),d(es,{tab:"deposit",openReason:"rewards"})},k=()=>{X("Navigation - withdraw button clicked"),d(es,{tab:"withdraw"})};if(v)return e.jsxs("section",{"data-testid":"bonus-hero",className:"flex flex-col items-center gap-6 py-10 text-center",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsx("h1",{className:"max-w-md text-2xl font-black uppercase text-[#c6c7dd]",children:n("bonuses.hero.promo_title")}),e.jsxs("p",{className:"text-7xl font-extrabold leading-none text-[#fbb63f]",children:[j,"%"]}),e.jsx("p",{className:"max-w-lg text-base font-medium text-brandblue-100",children:n("bonuses.hero.promo_subtitle",{percent:j})})]}),e.jsxs("div",{className:"flex flex-col items-center gap-1 rounded-2xl bg-[#7086ff]/10 p-2",children:[e.jsx("span",{className:"text-[10px] font-medium text-brandblue-100",children:n("bonuses.hero.min_deposit")}),e.jsx(O,{variant:"primary","data-testid":"bonus-hero-claim",className:"rounded-lg",onClick:()=>y(N),children:n("bonuses.hero.claim_cta",{percent:j})})]})]});const w=(i==null?void 0:i.username)||(i==null?void 0:i.verifiedNameFirst)||"",S="î",M=n("bonuses.hero.welcome",{username:S}).split(S);return e.jsxs("section",{"data-testid":"bonus-hero",className:"flex flex-col gap-6 py-8",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("h1",{className:"text-2xl font-black uppercase text-white",children:[M[0],e.jsx("span",{className:"text-[#fbb63f]",children:w}),M[1]??""]}),e.jsx("p",{className:"max-w-lg text-sm font-medium text-brandblue-100",children:n("bonuses.hero.welcome_subtitle")})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(we,{currency:u,className:"size-9 shrink-0"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:n("bonuses.hero.balance")}),e.jsx("span",{"data-testid":"bonus-hero-balance",className:"text-2xl font-semibold text-white",children:Ke(x,u)}),e.jsx("span",{className:"text-xs font-medium text-brandblue-100 opacity-60",children:n("bonuses.hero.withdraw_anytime")})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(O,{variant:"primary","data-testid":"bonus-hero-deposit",className:"h-12 gap-2.5 rounded-lg px-10",onClick:()=>y(N),children:[n("bonuses.hero.deposit"),e.jsx(pee,{className:"size-5"})]}),e.jsx(O,{variant:"ghost","aria-label":n("bonuses.hero.withdraw"),className:"h-12 rounded-lg bg-[#292d3c] px-6 text-brandblue-100 hover:bg-[#323a4c]",onClick:()=>y(k),children:e.jsx(hee,{className:"size-5"})})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:"/bonus-gold-coin.webp",alt:"","data-coin-anchor":"bonusBalance",className:"h-[72px] w-[60px] shrink-0 object-fill drop-shadow-[0_0_18px_rgba(251,182,63,0.35)]"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"text-xs font-medium text-[#fbb63f]",children:n("bonuses.hero.available_bonus")}),b&&h?e.jsx(gee,{totalUsd:h.totalUsd,remainingUsd:h.remainingUsd}):null]}),e.jsxs("span",{"data-testid":"bonus-balance",className:"text-2xl font-semibold tabular-nums",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:Xs(f)})]}),e.jsx("span",{className:"text-xs font-medium text-brandblue-100 opacity-60",children:n("bonuses.hero.ready_to_spin")})]})]})]})]})},Q4=t=>`${Number(t)}%`,Cee=()=>{const[t,s,a,l]=C([ki,Au,$L,We]),r=t.level,i=t.xp,o=s.xp,d=o>i?Lu(i,o):100,u=PL(r),c=HL(r,n),x=v3(l);return e.jsxs("div",{"data-testid":"cashback-level-card",className:"flex h-full flex-col gap-8 rounded-2xl border border-[#1f232f] bg-[#161923] p-4",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"text-base font-semibold text-brandblue-100",children:n("bonuses.level.t
7110itle")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100 opacity-40",children:n("bonuses.level.subtitle")})]}),e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"size-20 shrink-0 overflow-hidden rounded-full bg-[#13161e]",children:e.jsx("img",{src:x,alt:"",className:"size-full object-cover",onError:p=>xl(p.currentTarget,l==null?void 0:l.id)})}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{"data-testid":"cashback-level",className:"text-3xl font-semibold text-white",children:n("bonuses.level.level",{level:r})}),e.jsx("span",{className:"w-fit rounded bg-[#7086ff]/10 px-2 py-1 text-xs font-medium text-[#7086ff]",children:n("bonuses.level.next_level",{percent:Q4(a.cashbackPercents)})})]})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-[#323a4c]",children:e.jsx("div",{className:"h-full rounded-full bg-[#fbb63f]",style:{width:`${d}%`}})}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("p",{className:"text-base font-semibold",children:[e.jsx("span",{className:"text-[#fbb63f] opacity-60",children:n("bonuses.level.exp")})," ",e.jsx("span",{className:"text-[#fbb63f]",children:$6(i)}),e.jsxs("span",{className:"text-brandblue-100 opacity-60",children:[" / ",$6(o)]})]}),e.jsx("p",{className:"text-sm font-medium text-brandblue-100 opacity-60",children:n("bonuses.level.target_level",{level:r+1})})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-4 @container",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 roun
7110ded-[10px] bg-[#13161e] px-4 py-10 @[21rem]:flex-row @[21rem]:gap-2",children:[e.jsxs("div",{className:"flex items-center justify-center gap-3 @[21rem]:flex-1",children:[e.jsx("img",{src:`/ranks/${u.family}.webp`,alt:c,className:"size-24 shrink-0 object-contain"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"text-sm font-semibold text-[#46516a]",children:n("bonuses.level.your_rank")}),e.jsx("span",{"data-testid":"cashback-rank",className:"text-2xl font-bold text-brandblue-100",children:c}),e.jsx("span",{className:"max-w-[124px] text-xs font-medium text-brandblue-100 opacity-60",children:n("bonuses.level.keep_playing")})]})]}),e.jsx("div",{className:"h-0.5 w-full shrink-0 rounded-full bg-[#1f232f] @[21rem]:h-[95px] @[21rem]:w-0.5"}),e.jsxs("div",{className:"flex flex-col gap-2 @[21rem]:flex-1",children:[e.jsx("span",{className:"text-sm font-semibold text-[#46516a]",children:n("bonuses.level.cashback_rate")}),e.jsx("span",{"data-testid":"cashback-rate",className:"text-2xl font-semibold text-white",children:Q4(t.cashbackPercents)}),e.jsx("span",{className:"max-w-[155px] text-xs font-medium text-brandblue-100 opacity-60",children:n("bonuses.level.cashback_rate_sub")})]})]}),e.jsx("p",{className:"text-[10px] font-medium text-brandblue-100 opacity-40",children:n("bonuses.level.footnote")})]})]})},U2=80,e9=2*Math.PI*U2,jee=()=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",className:"size-full","aria-hidden":"true",children:[e.jsx("path",{d:"M3 13.5h3l2.2 1.6h4.1a1.4 1.4 0 0 0 0-2.8h-2.6l-1.9-1.5a4 4 0 0 0-2.5-.9H3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M8.2 15.1 15 13a2.6 2.6 0 0 1 2.6.7l3 3.1-6.4 3.7a4 4 0 0 1-3.3.3L3 18",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"16",cy:"6.5",r:"3.5"}),e.jsx("path",{d:"M16 5v3M15 6h2",strokeLinecap:"round"})]}),vee=({breakdown:t})=>{if(!t)return null;const s=l=>`$${l.toFixed(2)}`,a=[[n("rewards.cashback.breakdown.deposits"),s(t.userDepositsUsd)],[n("rewards.cashback.breakdown.withdrawals"),s(t.userWithdrawalsUsd)],[n("rewards.cashback.breakdown.ending_balance"),s(t.endingBalanceInUsd)],[n("rewards.cashback.breakdown.unsettled_bets"),s(t.userUnsettledBetsUsd)]];return e.jsxs("div",{className:"group relative",children:[e.jsx("button",{type:"button","data-testid":"cashback-breakdown-trigger","aria-label":n("rewards.cashback.breakdown.title_daily"),className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-white/10 text-xs text-brandblue-100 transition-colors hover:bg-white/20",children:"i"}),e.jsx("div",{className:"pointer-events-none absolute left-1/2 top-full z-modal hidden w-72 -translate-x-1/2 pt-2 group-focus-within:block group-hover:block",children:e.jsxs("div",{className:"flex flex-col gap-2 rounded-xl border border-brand-tertiary bg-secondary-active p-4 text-sm shadow-lg",children:[e.jsx("div",{className:"font-semibold text-white",children:n("rewards.cashback.breakdown.title_daily")}),t.date?e.jsxs("div",{className:"flex justify-between text-brandblue-100",children:[e.jsx("span",{children:n("rewards.cashback.breakdown.period")}),e.jsx("span",{className:"text-white",children:t.date})]}):null,e.jsx("div",{className:"h-px bg-highlight"}),a.map(([l,r])=>e.jsxs("div",{className:"flex justify-between text-brandblue-100",children:[e.jsx("span",{children:l}),e.jsx("span",{className:"text-white",children:r})]},l)),e.jsx("div",{className:"h-px bg-highlight"}),e.jsxs("div",{className:"flex justify-between font-semibold",children:[e.jsx("span",{className:"text-brandblue-100",children:n("rewards.cashback.breakdown.net_loss")}),e.jsx("span",{className:"text-golden",children:s(t.netLossUsd)})]}),e.jsxs("div",{className:"flex justify-between text-brandblue-100",children:[e.jsx("span",{children:n("rewards.cashback.breakdown.cashback_rate")}),e.jsxs("span",{className:"text-white",children:[t.cashbackPercents,"%"]})]}),e.jsxs("div",{className:"flex justify-between font-semibold",children:[e.jsx("span",{className:"text-brandblue-100",children:n("rewards.cashback.breakdown.cashback_amount")}),e.jsx("span",{className:"text-golden",children:s(t.cashbackUsd)})]}),e.jsx("div",{className:"h-px bg-highlight"}),e.jsx("div",{className:"text-xs italic text-brandblue-100",children:n("rewards.cashback.breakdown.formula")})]})})]})},wee=()=>{var j;const[t,s,a]=C([UL,s7,te]),{openModal:l}=W(),r=ls(),i=!!t&&VL(t,r),o=((j=t==null?void 0:t.breakdown)==null?void 0:j.cashbackUsd)??(t==null?void 0:t.amount)??0,d=!!(t!=null&&t.claimedAtTimestamp),u=o>0,[c,x]=m.useState(!1),f=t1(c||d?0:o,c?900:0);m.useEffect(()=>{!s&&!d&&x(!1)},[s,d]);const h=t?zL(t,r):0,b=e9*(1-h),v=()=>{if(!(!t||s)){if(!a){l(_e,{tab:"login"});return}x(!0),l7(t.id)}};return e.jsxs("div",{id:"daily-cashback","data-testid":"daily-cashback-card",className:"flex h-full scroll-mt-4 flex-col gap-2 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] p-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("p",{className:"text-base font-semibold text-brandblue-100",children:n("bonuses.daily.title")}),i&&(t!=null&&t.breakdown)?e.jsx(vee,{breakdown:t.breakdown}):null]}),e.jsxs("div",{className:"flex flex-1 flex-col items-center justify-between gap-6 pt-6",children:[e.jsxs("div",{className:"relative size-[180px] shrink-0",children:[e.jsxs("svg",{viewBox:"0 0 180 180",className:"size-full -rotate-90","aria-hidden":"true",children:[e.jsx("circle",{cx:"90",cy:"90",r:U2,fill:"none",stroke:"#1f232f",strokeWidth:"6"}),i?e.jsx("circle",{cx:"90",cy:"90",r:U2,fill:"none",stroke:"#fbb63f",strokeWidth:"6",strokeLinecap:"round",strokeDasharray:e9,strokeDashoffset:b}):null]}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("div",{className:`size-14 ${i?"text-[#fbb63f]":"text-[#46516a]"}`,children:e.jsx(jee,{})})})]}),u&&!d?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("p",{"data-testid":"daily-cashback-amount",className:"text-[32px] font-semibold leading-none text-brandblue-100",children:["$",Xs(f)]}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100 opacity-60",children:n("bonuses.daily.earned_today")})]}),i&&t?e.jsx(O,{variant:"primary","data-testid":"daily-cashback-claim",className:"w-full rounded-lg",disabled:s,onClick:v,children:n("bonuses.daily.claim_now")}):t!=null&&t.claimableUntilTimestamp?e.jsxs("div",{className:"flex h-12 w-full items-center justify-center gap-2 rounded-2xl bg-highlight px-6",children:[e.jsx("span",{className:"text-sm font-semibold text-brandblue-100",children:n("bonuses.daily.claimable_in")}),e.jsx(tn,{targetTimestamp:t.claimableUntilTimestamp,withIcon:!1})]}):null]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col items-center gap-2 px-2 text-center",children:[e.jsx("p",{className:"text-sm font-semibold text-brandblue-100",children:n("bonuses.daily.empty_title")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100 opacity-60",children:n("bonuses.daily.empty_subt
7110itle")})]}),a?e.jsx(O,{variant:"primary",className:"w-full rounded-lg",onClick:()=>l(es,{tab:"deposit",openReason:"rewards"}),children:n("bonuses.hero.deposit")}):null]})]})]})},yee={[Q.ActionFollowX]:"M3 3h4.2l4 5.5L15.6 3H19l-6.2 7.6L19.6 21h-4.2l-4.4-6-5 6H2.6l6.8-8.2L3 3Z",[Q.ActionRetweet]:"M3 3h4.2l4 5.5L15.6 3H19l-6.2 7.6L19.6 21h-4.2l-4.4-6-5 6H2.6l6.8-8.2L3 3Z",[Q.ActionFollowYoutube]:"M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12c0 1.6.1 3.2.4 4.8a2.5 2.5 0 0 0 1.8 1.8C5.8 19 12 19 12 19s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8c.3-1.6.4-3.2.4-4.8s-.1-3.2-.4-4.8ZM10 15V9l5.2 3L10 15Z",[Q.ActionFollowTwitch]:"M4 3h16v11l-4 4h-3l-3 3H8v-3H4V3Zm2 2v9h3v3l3-3h3l3-3V5H6Zm5 2h2v5h-2V7Zm4 0h2v5h-2V7Z",[Q.ActionFollowInstagram]:"M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5ZM17.8 6a1.2 1.2 0 1 1 0 2.4 1.2 1.2 0 0 1 0-2.4Z",[Q.ActionFollowTikTok]:"M14 3h2.6a5.4 5.4 0 0 0 4.4 4.3v2.6a8 8 0 0 1-4.4-1.4v6.1A6.6 6.6 0 1 1 10 8v2.7a3.9 3.9 0 1 0 4 3.9V3Z",[Q.ActionFollowDiscord]:"M19.3 5.6A16 16 0 0 0 15.4 4l-.3.5a12 12 0 0 1 3.4 1.7A15 15 0 0 0 12 4.9c-2.3 0-4.4.4-6.5 1.3A12 12 0 0 1 8.9 4.5L8.6 4a16 16 0 0 0-3.9 1.6C2.4 9 1.8 12.3 2.1 15.6a16 16 0 0 0 4.9 2.5l1-1.6a10 10 0 0 1-1.6-.8l.4-.3a11.4 11.4 0 0 0 10.4 0l.4.3a10 10 0 0 1-1.6.8l1 1.6a16 16 0 0 0 4.9-2.5c.4-3.8-.6-7.1-2.6-10ZM9 13.7c-.9 0-1.7-.9-1.7-2s.7-2 1.7-2c1 0 1.7.9 1.7 2s-.8 2-1.7 2Zm6 0c-.9 0-1.7-.9-1.7-2s.7-2 1.7-2c1 0 1.7.9 1.7 2s-.8 2-1.7 2Z",lootbox:"M3 8h18v3H3V8Zm1 5h16v8H4v-8Zm7-9h2v3h-2V4Zm-4.6.4 1.7-1L10 6H7.6L6.4 4.4Zm11.2 0L16.4 6H14l1.9-2.6 1.7 1Z"},_ee=({type:t})=>{const s=yee[t];return s?e.jsx("span",{className:"flex size-full items-center justify-center text-brandblue-100",children:e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"size-5","aria-hidden":"true",children:e.jsx("path",{d:s})})}):e.jsx("img",{src:"/mission-whale-icon.webp",alt:""})},Ca=t=>({kind:"text",text:t}),t9=t=>{const s=Number(t);return s?`$${X0(s).toFixed(2)}`:""},Nee=t=>{var o,d,u;const s=t.metadata??{},a=Number(s.amount)||0,l=typeof s.currency=="string"?s.currency:"",r=((o=s.lootbox)==null?void 0:o.name)??"",i=i7(t);if(i==="battle-pass")return Ca(n("bonuses.missions.battle_pass"));if(i==="sportsbook-free-bet"){const c=n("rewards.level_card_bonus_block.free_bets"),x=t9(s.bet_value);return Ca(x?`${c} ${x}`:c)}if(i==="free-spins"){const c=Number(s.bet_count)||a,x=t9(s.bet_value),p=typeof s.game_code=="string"&&s.game_code?(d=Lr(s.game_code))==null?void 0:d.name:void 0,f=x?`${x} `:"",h=c7(t)?`${f}${n("rewards.level_card_bonus_block.bonus_buy")}`:c===1?`${f}${n("rewards.level_card_bonus_block.free_spin")}`:`x${c}${x?` (${x})`:""} ${n("rewards.level_card_bonus_block.free_spins")}`;return Ca(p?`${h} · ${p}`:h)}if(i==="lootbox"||r){const c=Number(s.betCount)||a;return Ca(r?c>1?n("bonuses.missions.lootboxes_named",{count:c,name:r}):n("bonuses.missions.lootbox_named",{name:r}):n("bonuses.missions.lootbox",{count:c}))}if(i==="originals-free-bets"){const c=Number(s.betCount)||a,x=typeof s.gameType=="string"?s.gameType:"",p=x?((u=Lr(`whale_${x}`))==null?void 0:u.name)??nK(x):"";return Ca(`${n("bonuses.missions.free_bets",{count:c})}${p?` · ${p}`:""}`)}if(i==="cashback"){const c=s.cashbackPercent!=null?`${s.cashbackPercent}%`:`${Kn(a)}${l?` ${l}`:""}`;return Ca(n("bonuses.missions.cashback",{amount:c}))}return t.type===$n.CUSTOM&&typeof s.name=="string"&&s.name?Ca(s.name):{kind:"amount",amount:Kn(a),currency:l}},kee=t=>{const s=If(t);return s?Ff(s):n("bonuses.missions.default_title")},s9=({mission:t,onActionOverride:s})=>{var V;const[a,l,r]=C([C3,We,te]),{openModal:i}=W(),o=Y(),d=If(t),u=d==null?void 0:d.type,c=GL(t),x=c.length>0,p=t.applies.some($=>$.claimedAtTimestamp)&&!t.multipleClaims,f=c.some($=>a.includes($.id)),h=Nee(t),b=((V=t.metadata)==null?void 0:V.gameType)==="lootbox"?"lootbox":u??"",v=d&&eK.has(d.type)?Tf(d):0,j=Math.min(Number((d==null?void 0:d.currentState)??0),v),y=!x&&!p&&!(d!=null&&d.conditionMet)&&v>
71100&&j<v,N=v>0?Math.min(j/v*100,100):0,k=!x&&!p&&!!u,w=k&&u===Q.AffiliatesCount,S=k&&!!u&&tK.has(u),M=k&&(u===Q.DepositTotal||u===Q.ActionDeposit),_=k&&u===Q.ActionClaimCashback,A=k&&u===Q.ActionReviewWhale,E=`mission_card.actions.${u??"default"}.button.label`,L=n(E)===E?n("bonuses.missions.explore"):n(E),B=()=>{const $=(l==null?void 0:l.affiliateCode)??"",re=`${window.location.origin}/?ref=${$}`;navigator.clipboard.writeText(re),be({level:"success",title:n("bonuses.missions.link_copied")})},z=()=>{var re;const $=typeof((re=d==null?void 0:d.metadata)==null?void 0:re.gameCode)=="string"?d.metadata.gameCode:void 0;if(u===Q.WageringGame&&$){o(G1($)??Ve);return}if(u===Q.ActionWager){o($===cu?Os:$&&G1($)||Ve);return}o(Ve)},le=()=>{var re,K;if(!r){i(_e,{tab:"register"});return}if(s){s();return}if(x){j3({userRewardId:c[0].id,type:t.type,metadata:t.metadata});return}if(w){B();return}if(S){z();return}if(M){i(es,{tab:"deposit",openReason:"rewards"});return}if(A){window.open(ZL,"_blank","noopener");return}const $=u?QW[u]:void 0;if($&&d){$.openModal&&i($.openModal.name,$.openModal.params);const ae=(re=$.openUrl)==null?void 0:re.call($,d);ae&&window.open(ae,"_blank","noopener"),$.checkStatusOnAction&&WL({conditionType:d.type,value:(K=$.valueToCheck)==null?void 0:K.call($,d)});return}o(Ve)};return e.jsxs("div",{"data-testid":"mission-row",className:"flex items-center justify-between gap-3 rounded-lg bg-[#1f232f] p-2",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2.5",children:[e.jsx("div",{className:"flex size-9 shrink-0 items-center justify-center self-center overflow-hidden rounded-lg bg-[#13161e]",children:e.jsx("div",{className:"flex size-5 items-center justify-center [&_img]:size-5 [&_img]:object-contain [&_svg]:size-5",children:e.jsx(_ee,{type:b})})}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[e.jsx("p",{"data-testid":"mission-title",className:"break-words text-sm font-semibold text-brandblue-100",children:kee(t)}),e.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[p||x?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-medium text-[#7086ff]",children:"â"}),e.jsx("span",{className:"font-medium text-[#7086ff]",children:p?n("bonuses.missions.claimed"):n("bonuses.missions.completed")}),e.jsx("span",{className:"font-medium text-brandblue-100 opacity-60",children:"·"})]}):null,e.jsx("span",{className:"inline-flex items-center gap-1 font-medium text-brandblue-100 opacity-60",children:h.kind==="text"?h.text:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"inline-flex size-3 items-center [&_svg]:size-3 [&>div]:size-3",children:h.currency?e.jsx(we,{currency:h.currency,className:"size-3"}):e.jsx(Gt,{className:"size-3"})}),h.amount]})})]}),y?e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("div",{className:"h-1 flex-1 overflow-hidden rounded-full bg-[#323a4c]",children:e.jsx("div",{className:"h-full rounded-full bg-[#7086ff]",style:{width:`${N}%`}})}),e.jsxs("span",{className:"shrink-0 text-[10px] font-medium text-brandblue-100 opacity-60",children:[j,"/",v]})]}):null]})]}),p?e.jsx("div",{className:"flex h-8 w-[88px] shrink-0 items-center justify-center rounded-md bg-[#7086ff]/10 text-[#7086ff]",children:"â"}):_?null:e.jsx(O,{variant:x?"primary":"ghost",size:"sm","data-testid":"mission-cta",className:g("w-[88px] shrink-0 gap-1.5",x?"":"border border-[#7086ff] bg-[#7086ff]/10 text-brandblue-100 hover:bg-[#7086ff]/20"),disabled:f,onClick:le,children:x?n("bonuses.missions.claim"):w?n("bonuses.missions.copy_link"):S?n("bonuses.missions.play"):M?n("bonuses.missions.deposit_cta"):L})]})},See=()=>{const[t,s]=C([KL,qL]),a=Dm();return e.jsxs("div",{"data-testid":"missions-card",className:"flex h-full flex-col gap-4 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] p-4",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"text-base font-semibold text-brandblue-100",children:n("bonuses.missions.title")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100 opacity-40",children:n("bonuses.missions.subtitle")})]}),e.jsxs("div",{ref:a,className:"bonus-scroll -mr-1 pr-1 custom-xl:min-h-0 custom-xl:flex-1 custom-xl:overflow-y-auto",children:[e.jsx("div",{className:"pointer-events-none sticky top-0 z-10 h-0",children:e.jsx("div",{className:"absolute inset-x-0 top-0 bg-gradient-to-b from-[#161923] to-transparent",style:{height:"var(--shade-top, 0px)"}})}),e.jsxs("div",{className:"flex flex-col gap-2",children:[t.map(l=>e.jsx(s9,{mission:l,onActionOverride:()=>YL(l)},`available-${l.id}
7110`)),s.map(l=>e.jsx(s9,{mission:l},`mission-${l.id}`))]}),e.jsx("div",{className:"pointer-events-none sticky bottom-0 z-10 h-0",children:e.jsx("div",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-[#161923] to-transparent",style:{height:"var(--shade-bottom, 0px)"}})})]})]})},Aee=[{thumb:"/rewards/freespins.webp",title:"battlepass.rewards.free_spins.title",description:"battlepass.rewards.free_spins.description"},{thumb:"/rewards/lootbox-new.webp",title:"battlepass.rewards.free_lootbox.title",description:"battlepass.rewards.free_lootbox.description"},{thumb:"/rewards/whale-token-xl.webp",title:"battlepass.rewards.whale_tokens.title",description:"battlepass.rewards.whale_tokens.description"},{thumb:"/random/3.webp",title:"battlepass.rewards.lead_tribe.title",description:"battlepass.rewards.lead_tribe.description"},{thumb:"/rewards/free_bets.webp",title:"battlepass.rewards.free_bets.title",description:"battlepass.rewards.free_bets.description"},{thumb:"/rewards/bigger-rewards.webp",title:"bonuses.missions.promo.ranks_title",description:"bonuses.missions.promo.ranks_desc"}],Lee=()=>e.jsxs("div",{"data-testid":"missions-promo",className:"flex h-full flex-col gap-4 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] p-4",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"text-base font-semibold text-brandblue-100",children:n("bonuses.missions.title")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100 opacity-40",children:n("bonuses.missions.subtitle")})]}),e.jsx("div",{className:"bonus-scroll -mr-1 flex max-h-[360px] flex-col gap-2 overflow-y-auto pr-1 custom-xl:max-h-none custom-xl:min-h-0 custom-xl:flex-1",children:Aee.map(t=>e.jsxs("div",{className:"flex items-center gap-3 rounded-lg bg-[#1f232f] p-2",children:[e.jsx(ce,{src:t.thumb,alt:"",className:"size-10 shrink-0 self-center rounded-lg object-cover",loading:"lazy"}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-0.5",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-brandblue-100",children:n(t.title)}),e.jsx("p",{className:"line-clamp-2 text-xs font-medium text-brandblue-100 opacity-60",children:n(t.description)})]})]},t.title))})]}),Mee=(t,s)=>{const a=new Date(s);if(t==="weekly"){const l=new Date(a);l.setHours(0,0,0,0),l.setDate(l.getDate()-(l.getDay()+6)%7);const r=new Date(l);return r.setDate(r.getDate()+7),{start:l.getTime(),end:r.getTime()}}return{start:new Date(a.getFullYear(),a.getMonth(),1).getTime(),end:new Date(a.getFullYear(),a.getMonth()+1,1).getTime()}},a9=({type:t})=>{const[s,a,l,r]=C([m7,XL,a7,te]),{openModal:i}=W(),o=Y(),d=ls(6e4),u=s.find(L=>L.type===t)??null,c=a.find(L=>L.type===t)??null,x=(u==null?void 0:u.amount)??(c==null?void 0:c.accruedUsd)??0,p=x>0,[f,h]=m.useState(!1),b=t1(f?0:x,f?900:0);m.useEffect(()=>{l||h(!1)},[l]);const v=t==="monthly"?"#fbb63f":"#7086ff",j=t==="monthly"?"text-[#fbb63f]":"text-brandblue-100",y=t==="monthly"?"bg-[radial-gradient(130%_130%_at_0%_0%,rgba(251,182,63,0.12),transparent_50%)]":"bg-[radial-gradient(130%_130%_at_0%_0%,rgba(112,134,255,0.12),transparent_50%)]",N=c?JL(c):0,k=!u&&x>QL&&N>0,w=Mee(t,d),S=Math.min(Math.max((d-w.start)/(w.end-w.start)*100,0),100),M=Array.from({length:7},(L,B)=>Math.min(Math.max(S/100*7-B,0),1)*100),_=t==="weekly"?n("bonuses.periodic.earned_week"):n("bonuses.periodic.earned_month"),A=t==="weekly"?n("bonuses.periodic.weekly_title"):n("bonuses.periodic.monthly_title"),E=()=>{if(!(!u||l)){if(!r){i(_e,{tab:"login"});return}h(!0),r7(u.id)}};return e.jsxs("div",{"data-testid":`periodic-bonus-card-${t}`,className:`relative flex flex-col gap-6 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] ${y} p-4`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:"/bonus-gold-coin.webp",alt:"",className:"h-6 w-5 shrink-0 object-fill drop-shadow-[0_0_10px_rgba(251,182,63,0.4)]"}),e.jsx("p",{className:`text-base font-semibold ${j}`,children:A})]}),u?e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("span",{"data-testid":`periodic-bonus-amount-${t}`,className:"text-3xl font-semibold",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:Xs(b)})]}),e.jsx("span",{className:"text-xs font-medium text-brandblue-100 opacity-60",children:_})]}),e.jsx(O,{variant:"primary","data-testid":`periodic-bonus-claim-${t}`,className:"rounded-lg",disabled:l,onClick:E,children:n("bonuses.periodic.claim")})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex w-fit items-center gap-2 rounded-full bg-[#7086ff]/10 px-3 py-2",children:e.jsx("span",{className:"text-xs font-medium text-[#7086ff]",children:n("bonuses.periodic.activate")})}),t==="weekly"?e.jsx("div",{className:"flex h-2.5 w-full items-center gap-1",children:M.map((L,B)=>e.jsx("div",{className:"relative h-full flex-1 overflow-hidden rounded-full bg-[#323a4c]",children:e.jsx("div",{className:"h-full rounded-full",style:{width:`${L}%`,backgroundColor:v}})},B))}):e.jsxs("div",{className:"relative h-2.5 w-full overflow-hidden rounded-full bg-[#323a4c]",children:[e.jsx("div",{className:"h-full rounded-full",style:{width:`${S}%`,backgroundColor:v}}),e.jsx("div",{className:"pointer-events-none absolute inset-0 [background-image:repeating-linear-gradient(90deg,transparent_0_7px,rgba(0,0,0,0.25)_7px_8px)]"})]}),e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("span",{"data-testid":`periodic-bonus-amount-${t}`,className:"text-3xl font-semibold",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:p?"text-[#adafce]":"text-[#46516a]",children:Xs(x)})]}),e.jsx("span",{className:"text-xs font-medium text-brandblue-100 opacity-60",children:_})]}),k?e.jsxs("div",{className:"flex h-12 items-center justify-center gap-2 rounded-2xl bg-[#292d3c] px-5 text-sm font-medium text-brandblue-100",children:[e.jsx("span",{children:n("bonuses.periodic.claimable_in")}),e.jsx(tn,{showDays:!0,targetTimestamp:N,withIcon:!1})]}):e.jsx(O,{variant:"primary",className:"rounded-lg",onClick:()=>r?o(Ve):i(_e,{tab:"login"}),children:n("bonuses.periodic.explore_games")})]})]})]})},Bee=(t,s)=>t===s?`${t}%`:`${t}-${s}%`,Eee=()=>{const[t,s,a]=C([ki,Au,te]),l=Dm(),r=a?t.level:0,i=Math.min(Math.max(Lu(t.xp,s.xp),0),100),o=Ia.map(d=>{const u=Array.from({length:d.maxLevel-d.minLevel+1},(f,h)=>d.minLevel+h),c=a&&r>=d.minLevel&&r<=d.maxLevel,x=a&&r>d.maxLevel,p=u.map(f=>a?x||f<r?{state:"done",label:""}:f===r?{state:"current",label:""}:{state:"locked",label:$o(f-d.minLevel+1)}:{state:"locked",label:$o(f-d.minLevel+1)});return{...d,pips:p,isCurrent:c,isCompleted:x,range:Bee(d.minLevel,d.maxLevel),subLabel:d.minLevel===d.maxLevel?n("bonuses.ranks.max_level"):n("bonuses.ranks.levels_range")}});return e.jsxs("div",{"data-testid":"ranks-benefits-card",className:"flex h-full flex-col gap-4 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#13161e] p-4",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"text-base font-semibold text-brandblue-100",children:n("bonuses.ranks.title")}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100 opacity-50",children:n("bonuses.ranks.subtitle")})]}),e.jsxs("div",{ref:l,className:"bonus-scroll -mr-1 max-h-[420px] overflow-y-auto pr-1 lg:max-h-none lg:min-h-0 lg:flex-1",children:[e.jsx("div",{className:"pointer-events-none sticky top-0 z-10 h-0",children:e.jsx("div",{className:"absolute inset-x-0 top-0 bg-gradient-to-b from-[#13161e] to-transparent",style:{height:"var(--shade-top, 0px)"}})}),e.jsx("div",{className:"flex flex-col",children:o.map(d=>e.jsxs("div",{className:`flex items-center gap-3 rounded-xl px-2 py-3 ${d.isCurrent?"bg-[#1b1f2b]":""}`,children:[e.jsx("img",{src:`/ranks/${d.family}.webp`,alt:n(d.name),className:"size-16 shrink-0 object-contain",loading:"lazy",decoding:"async"}),e.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:`text-base font-semibold ${d.isCurrent?"text-white":"text-brandblue-100"}`,children:[n(d.name),d.isCurrent&&d.minLevel!==d.maxLevel?` ${$o(r-d.minLevel+1)}`:""]}),d.isVip?e.jsx("span",{className:"rounded-md border border-[#fbb63f]/60 px-1.5 py-0.5 text-[10px] font-bold uppercase leading-none text-[#fbb63f]",children:"VIP"}):null]}),a&&d.minLevel!==d.maxLevel?e.jsx("div",{className:"flex items-center gap-1",children:d.pips.map((u,c)=>u.state==="done"?e.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-[#7086ff]/15 text-xs font-bold text-[#7086ff]",children:"â"},c):u.state==="current"?e.jsx("span",{className:"relative h-2.5 w-10 overflow-hidden rounded-full bg-[#252a38]",children:e.jsx("span",{className:"absolute inset-y-0 left-0 rounded-full bg-[#fbb63f]",style:{width:`${i}%`}})},c):e.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-[#252a38] text-[10px] font-semibold text-[#5b6178]",children:u.label},c))}):e.jsx("span",{className:"text-xs font-medium text-brandblue-100 opacity-50",children:d.subLabel})]}),e.jsx("div",{className:"flex shrink-0 flex-col items-end",children:d.isCurrent?e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"text-lg font-semibold text-white",children:[r,"%"]}),e.jsx("span",{className:"text-xs font-medium text-[#fbb63f]",children:n("bonuses.ranks.current")})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:`text-lg font-semibold ${d.isCompleted?"text-brandblue-100":"text-brandblue-100/70"}`,children:d.range}),e.jsx("span",{className:"text-xs font-medium text-brandblue-100 opacity-50",children:n("bonuses.ranks.cashback")})]})})]},d.id))}),e.jsx("div",{className:"pointer-events-none sticky bottom-0 z-10 h-0",children:e.jsx("div",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-[#13161e] to-transparent",style:{height:"var(--shade-bottom, 0px)"}})})]})]})},Ree=()=>{const t=C(w3),s=t1((t==null?void 0:t.totalRewardedUsd)??0),a=t1((t==null?void 0:t.dailyCashback.totalUsd)??0),l=t1((t==null?void 0:t.weeklyBonus.totalUsd)??0),r=t
71101((t==null?void 0:t.monthlyBonus.totalUsd)??0),i=[{label:n("bonuses.stats.total_rewarded"),value:Xs(s),sub:n("bonuses.stats.total_rewarded_sub"),coin:!0},{label:n("bonuses.stats.daily_cashback"),value:Xs(a),sub:n("bonuses.stats.days_claimed",{count:(t==null?void 0:t.dailyCashback.daysClaimed)??0}),coin:!1},{label:n("bonuses.stats.weekly_bonus"),value:Xs(l),sub:n("bonuses.stats.weeks_claimed",{count:(t==null?void 0:t.weeklyBonus.weeksClaimed)??0}),coin:!1},{label:n("bonuses.stats.monthly_bonus"),value:Xs(r),sub:n("bonuses.stats.months_claimed",{count:(t==null?void 0:t.monthlyBonus.monthsClaimed)??0}),coin:!1}];return e.jsx("div",{"data-testid":"rewards-stats-strip",className:"flex flex-col gap-3 sm:flex-row sm:items-stretch sm:gap-0 sm:rounded-2xl sm:px-4 sm:py-10",children:i.map((o,d)=>e.jsxs(m.Fragment,{children:[d>0?e.jsx("div",{className:"hidden w-0.5 shrink-0 self-stretch rounded-full bg-[#1f232f] sm:block"}):null,e.jsxs("div",{className:"flex flex-1 items-center gap-2 rounded-2xl border border-[#1f232f] bg-[#161923] p-4 sm:justify-center sm:rounded-none sm:border-0 sm:bg-transparent sm:p-0",children:[o.coin?e.jsx("img",{src:"/bonus-gold-coin.webp",alt:"",className:"h-[72px] w-[60px] shrink-0 object-fill drop-shadow-[0_0_24px_rgba(251,182,63,0.3)]"}):null,e.jsxs("div",{className:"flex flex-col items-start gap-2",children:[e.jsx("p",{className:"text-sm font-semibold text-[#adafce]",children:o.label}),e.jsxs("p",{className:"text-2xl font-semibold tabular-nums",children:[e.jsx("span",{className:"text-[#46516a]",children:"$"}),e.jsx("span",{className:"text-[#adafce]",children:o.value})]}),e.jsx("p",{className:"text-xs font-medium text-[#adafce] opacity-40",children:o.sub})]})]})]},o.label))})},Tee=({prize:t,isClaiming:s})=>e.jsxs("div",{"data-testid":`tournament-winnings-row-${t.id}`,className:"flex flex-wrap items-center justify-between gap-4 rounded-xl bg-[#1d212d] p-3",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[e.jsx("div",{className:"size-12 shrink-0 overflow-hidden rounded-lg bg-[#353c4a]",children:t.imageUrl?e.jsx(ce,{src:t.imageUrl,alt:"",className:"size-full object-cover",loading:"lazy"}):null}),e.jsxs("div",{className:"flex min-w-0 flex-col gap-0.5",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-white",children:t.tournamentName}),e.jsx("p",{className:"text-xs font-medium text-brandblue-100",children:n("bonuses.tournament_winnings.rank",{rank:t.rank})})]})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4",children:[e.jsxs("div",{className:"flex flex-col items-end gap-1",children:[e.jsxs("span",{"data-testid":`tournament-winnings-amount-${t.id}`,className:"flex items-center gap-1.5 text-lg font-semibold text-[#adafce]",children:[e.jsx(we,{currency:t.currency,className:"size-[1.125rem] shrink-0"}),Xs(t.amountUsd)," ",t.currency]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-xs font-medium text-brandblue-100",children:[e.jsx("span",{children:n("notification.tournament.expires_in")}),e.jsx(tn,{showDays:!0,targetTimestamp:t.expiresAtTimestamp,withIcon:!1})]})]}),e.jsx(O,{variant:"primary","data-testid":`tournament-winnings-claim-${t.id}`,className:"rounded-lg",disabled:s,onClick:()=>{s||u7(t.id)},children:n("bonuses.periodic.claim")})]})]}),Iee=()=>{const[t,s]=C([x7,d7]),a=ls(6e4),l=t.filter(r=>f7(r,a));return l.length===0?null:e.jsxs("div",{"data-testid":"tournament-winnings-card",className:"relative flex flex-col gap-4 overflow-hidden rounded-2xl border border-[#1f232f] bg-[#161923] bg-[radial-gradient(130%_130%_at_0%_0%,rgba(251,182,63,0.12),transparent_50%)] p-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:"/bonus-gold-coin.webp",alt:"",className:"h-6 w-5 shrink-0 object-fill drop-shadow-[0_0_10px_rgba(251,182,63,0.4)]"}),e.jsx("p",{className:"text-base font-semibold text-[#fbb63f]",children:n("bonuses.tournament_winnings.title")})]}),e.jsx("div",{className:"flex flex-col gap-2",children:l.map(r=>e.jsx(Tee,{prize:r,isClaiming:s.includes(r.id)},r.id))})]})},Fee=()=>{const[t,s]=C([te,c3]);return Qe("meta.bonuses.title","meta.bonuses.description"),m.useEffect(()=>{s&&eM()},[s]),e.jsxs("div",{"data-testid":"rewards-page",className:"flex flex-col gap-6 pb-10",children:[e.jsx(bee,{}),t?e.jsx(Iee,{}):null,e.jsxs("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 custom-xl:grid-cols-[280px_minmax(0,1fr)_minmax(0,1fr)] custom-xl:grid-rows-[auto_auto]",children:[e.jsx("div",{className:"custom-xl:col-start-1 custom-xl:row-span-2 custom-xl:row-start-1 custom-xl:min-h-0",children:e.jsx(wee,{})}),e.jsx("div",{className:"relative custom-xl:col-start-2 custom-xl:row-span-2 custom-xl:row-start-1 custom-xl:min-h-0",children:e.jsx("div",{className:"custom-xl:absolute custom-xl:inset-0",children:t?e.jsx(See,{}):e.jsx(Lee,{})})}),e.jsx("div",{className:"custom-xl:col-start-3 custom-xl:row-start-1",children:e.jsx(a9,{type:"weekly"})}),e.jsx("div",{className:"custom-xl:col-start-3 custom-xl:row-start-2",children:e.jsx(a9,{type:"monthly"})})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:[t?e.jsx(Cee,{}):e.jsx(mee,{}),e.jsx("div",{className:"relative lg:min-h-0",children:e.jsx("div",{className:"lg:absolute lg:inset-0",children:e.jsx(Eee,{})})})]}),t?e.jsx(Ree,{}):null,e.jsx(fee,{})]})}
7110,n9=()=>{const t=C(ze.$isAudioOn);return e.jsx(Z,{variant:"NonAccent",height:"medium",iconOnly:!0,testId:"roulette-audio-toggle",ariaLabel:n("provablyFair.settings.sounds"),onClick:()=>ze.audioToggled(),children:t?e.jsx(WZ,{fill:"#9092B2"}):e.jsx(KZ,{fill:"#D43D3D"})})},Oee=[{label:"+0.01",delta:.01,desktopOnly:!0},{label:"+0.1",delta:.1,desktopOnly:!0},{label:"+1",delta:1,desktopOnly:!0},{label:"+5",delta:5,desktopOnly:!0},{label:"+10",delta:10,desktopOnly:!0}],Dee="1/2",$ee="2x",Pee="Max",l9=2,Hee=()=>{const[t,s,a,l,r]=C([ze.$betAmount,ze.$betCurrency,ze.$isFreeBet,ze.$gameConstraints,We]),[i,o]=m.useState(String(t));m.useEffect(()=>o(String(t)),[t]);const d=(l==null?void 0:l.betAmountInUsd)??Jn.betAmountInUsd,u=!r||a,c=t>=d.max,x=f=>{if(f==="")return f;let h=f;/^0+(?=\d)/.test(h)&&(h=String(d.min));const b=h.indexOf(".");return b!==-1&&h.length-b-1>l9&&(h=h.slice(0,b+l9+1)),h},p=[...Oee.map(({label:f,delta:h,desktopOnly:b})=>({label:f,className:b?"hidden md:inline-flex":void 0,disabled:c,onClick:()=>ze.betAmountSet(ka(t,h))})),{label:Dee,disabled:!1,onClick:()=>ze.betAmountSet(M3(t,2))},{label:$ee,disabled:c,onClick:()=>ze.betAmountSet(X1(t,2))},{label:Pee,disabled:c,onClick:()=>ze.betAmountSet(d.max)}];return e.jsxs("div",{className:g("mb-3 flex h-12 w-full items-center justify-between rounded-lg bg-primary pl-3 pr-1 md:mb-8",u&&"pointer-events-none opacity-20"),"data-testid":"roulette-bet-input-control",children:[e.jsxs("div",{className:"flex w-full items-center",children:[e.jsx(Zt,{currency:s,className:"size-5"}),e.jsx("input",{name:"roulette-bet-amount",type:"number",value:i,disabled:u,placeholder:n("games.roulette.bet_input_control.placeholder"),"data-testid":"roulette-bet-amount-input",className:"w-full border-none bg-transparent pl-2 outline-none [appearance:textfield] placeholder:text-brandblue-50 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",onChange:f=>{const h=x(f.target.value);o(h),h!==""&&Number(h)>=d.min&&ze.betAmountSet(Number(h))},onBlur:f=>{const h=x(f.target.value);ze.betAmountSet(h===""?d.min:Number(h))},onKeyDown:f=>{f.key==="Enter"&&f.currentTarget.blur()}})]}),e.jsxs("div",{className:"flex items-center justify-end gap-x-1",children:[e.jsx(Z,{variant:"NonAccent",height:"medium",testId:"roulette-bet-clear",onClick:()=>ze.betAmountSet(d.default),children:e.jsx("span",{className:"text-sm text-brandblue-100",children:n("games.roulette.bet_input_control.clear")})}),p.map(f=>e.jsx(Z,{variant:"NonAccent",height:"medium",iconOnly:!0,className:g("w-auto min-w-10 !px-2",f.className),disabled:f.disabled,testId:`roulette-bet-${f.label}`,onClick:f.onClick,children:e.jsx("span",{className:"text-sm text-brandblue-100",children:f.label})},f.label))]})]})},Uee=t=>t.id<0,Vee=t=>fl(t.avatarSrc,t.id),vp=t=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(Number(t)||0),zee=t=>{const[s,a]=m.useState(0),l=m.useRef(0);return m.useEffect(()=>{const r=l.current;if(l.current=t,!t){a(0);return}const i=Math.ceil(Xl.DURATION_MS/Xl.STEP_MS),o=(t-r)/Xl.STEP_MS;let d=0;const u=window.setInterval(()=>{if(d+=1,d>=i){a(t),window.clearInterval(u);return}a(t-Math.abs(o*(i-d)))},Xl.STEP_MS);return()=>window.clearInterval(u)},[t]),s},Gee=({level:t,hasBattlePass:s})=>e.jsx("span",{className:g("box-border flex h-4 min-w-[22px] items-center justify-center rounded-xs border-1 border-[#fff3] px-1 text-center",s?"bg-gradient-battlepass text-primary":"bg-primary-active text-brandblue-100"),children:t}),Zee=({bettor:t,isUser:s,isRoundFinished:a,isWinningItem:l,isLosingItem:r})=>e.jsxs("div",{"data-testid":"roulette-bettor-row",style:s?{background:"linear-gradient(0deg, rgba(252, 215, 83, 0.05) 0%, rgba(252, 215, 83, 0.05) 100%), #1F232D"}:void 0,className:"flex w-full items-center justify-between bg-primary px-3 py-2.5",children:[e.jsxs("span",{className:"flex items-center gap-2 text-xs",children:[Uee(t)?e.jsxs(e.Fragment,{children:[e.jsx(Ei,{className:"size-6 rounded-full bg-primary-active p-0.5"}),e.jsx("span",{className:"text-brandblue-300",children:"Tribe"})]}):e.jsxs(e.Fragment,{children:[e.jsx(ss,{size:"sm",src:Vee(t),userId:t.id,alt:""}),e.jsx(Gee,{level:t.level,hasBattlePass:t.hasBattlePass})]}),e.jsx("span",{className:"truncate md:max-w-24 lg:max-w-28 xl:max-w-36",children:t.displayName}),s?e.jsxs("span",{className:"font-light text-golden",children:["(",n("games.roulette.bettors_list.y
7110ou"),")"]}):null]}),e.jsxs("span",{className:g("flex items-center gap-1 text-sm",l&&"text-green-500",r&&"text-red-400"),children:[a?e.jsx("span",{className:"mr-[-2px]",children:l?"+":"-"}):null,t.betCurrency===U.WHALE?e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx("span",{children:bs(t.betAmount,U.WHALE)}),e.jsx(Gt,{className:"size-5 text-brandblue-100"})]}):e.jsx("span",{children:vp(t.betAmountInUsd)})]})]}),Wee=({item:t})=>{const[s,a,l,r]=C([tM,Mu,sM,We]),[i,o]=m.useState(!0),d=l&&(a==null?void 0:a.winnerItemId)===t.id,u=l&&(a==null?void 0:a.winnerItemId)!==t.id,c=[...s[t.id]??[]].sort((f,h)=>f.id===(r==null?void 0:r.id)&&h.id!==(r==null?void 0:r.id)?-1:f.id!==(r==null?void 0:r.id)&&h.id===(r==null?void 0:r.id)?1:h.betAmountInUsd-f.betAmountInUsd),x=c.reduce((f,h)=>f+h.betAmountInUsd,0),p=zee(x);return e.jsxs("div",{"data-testid":"roulette-bettors-list","data-item-id":t.id,className:g("flex w-full flex-col items-center rounded-xl transition-opacity duration-[300ms] ease-in-out md:w-1/3 md:max-w-[384px]",u&&"opacity-50"),children:[e.jsxs("div",{className:"flex w-full items-center justify-between text-sm md:pb-3",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx("img",{className:"mr-1 size-6",src:t.image,alt:"selection"}),e.jsx("span",{"data-testid":"roulette-bettors-count",children:c.length}),e.jsx("span",{className:"text-brandblue-100",children:n("games.roulette.bettors_list.count")})]}),e.jsxs("span",{className:g("flex items-center",d&&"text-green-500",u&&"text-red-400"),children:[l?e.jsx("span",{className:"mr-[-2px]",children:d?"+":"-"}):null,e.jsx("span",{className:"pr-2 md:pr-0","data-testid":"roulette-bettors-total",children:vp(p)}),e.jsx("button",{type:"button","aria-label":"Toggle bettors",className:g("md:hidden",i&&"rotate-180"),onClick:()=>o(f=>!f),children:e.jsx(bc,{className:"size-5"})})]})]}),e.jsx("div",{className:g("flex w-full flex-col gap-y-px md:pt-0",!i&&"hidden",c.length>0&&"pt-3"),children:c.map(f=>e.jsx("div",{className:"overflow-hidden first:rounded-t-lg last:rounded-b-lg",children:e.jsx(Zee,{bettor:f,isUser:(r==null?void 0:r.id)===f.id,isRoundFinished:l,isWinningItem:d,isLosingItem:u})},f.id))})]})},Kee=()=>{const t=C(bl);return e.jsx("div",{className:"flex w-full flex-col justify-center gap-4 pt-4 md:flex-row md:gap-6","data-testid":"roulette-bettors-lists",children:t.map(s=>e.jsx(Wee,{item:s},s.id))})},qee=()=>{const[t,s]=C([aM,bl]);return e.jsxs("div",{className:"flex flex-col items-start gap-1 md:flex-row md:items-center md:gap-3","data-testid":"roulette-last-rolls-stats",children:[e.jsx("span",{className:"text-sm text-brandblue-100",children:n("games.roulette.last_100")}),e.jsx("div",{className:"flex items-center gap-3",children:t.map(a=>{var l;return e.jsxs("div",{className:"flex items-center gap-1.5","data-testid":"roulette-last-rolls-stat",children:[e.jsx("img",{className:"size-6 md:size-7",src:((l=s.find(r=>r.id===a.winnerItemId))==null?void 0:l.image)??"",alt:"count"}),e.jsx("span",{className:"text-xs font-semibold","data-item-id":a.winnerItemId,children:a.count})]},a.winnerItemId)})})]})},Yee=1e3,Xee=250,Jee=({item:t})=>{const[s,a,l,r,i,o]=C([nM,ze.$isFreeBet,ze.$gameConstraints,ze.$betAmount,ze.$betCurrency,We]),[d,u]=m.useState(!1),[c,x]=m.useState(!1),p=m.useRef([]);m.useEffect(()=>()=>p.current.forEach(y=>window.clearTimeout(y)),[]);const f=()=>{u(!0),p.current.push(window.setTimeout(()=>u(!1),Yee))},h=y=>{be({level:"error",title:y}),f()}
7110,b=(l==null?void 0:l.betAmountInUsd)??Jn.betAmountInUsd,v=lM(t.name),j=()=>{if(o){if(!s){f();return}if(!a&&r<b.min){h(n("games.roulette.error.bet_amount_low"));return}if(!a&&r>b.max){h(n("games.roulette.error.bet_amount_high"));return}if(!a){const y=i===U.WHALE?bs(iM(),U.WHALE):oM();if(r>y){h(n("games.roulette.error.insufficient_funds"));return}}x(!0),p.current.push(window.setTimeout(()=>x(!1),Xee)),cM(t.id)}};return e.jsxs("button",{type:"button","data-testid":`roulette-place-bet-${t.id}`,"data-item-name":t.name,style:{backgroundImage:`linear-gradient(270deg, color-mix(in srgb, ${v} 10%, #1F232D) 0%, rgba(31, 35, 45, 0) 100%)`},className:g("relative flex w-1/3 max-w-[384px] flex-col items-center justify-between rounded-xl bg-secondary py-3 transition-transform duration-500 md:flex-row md:p-5",d&&"animate-head-shake",c&&"scale-110"),onClick:j,children:[e.jsxs("span",{className:"flex flex-col items-center gap-2.5 text-xs md:flex-row md:text-base",children:[e.jsx("img",{src:t.image,alt:t.name,className:"size-9"}),e.jsx("span",{className:"md:uppercase",children:a?n("games.roulette.place_bet_button.free_bet"):n("games.roulette.place_bet_button.place_bet")})]}),e.jsx("span",{className:"pt-0.5 text-xs md:pt-0 md:text-base",style:{color:v},children:n("games.roulette.place_bet_button.win_amount",{multiplier:rM(t.multiplier)})}),e.jsx("span",{"aria-hidden":!0,style:{backgroundSize:"200% 100%",backgroundImage:"linear-gradient(99deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), #ffffff1a, #ffffff00)"},className:g("absolute left-0 h-full w-full rounded-xl",c&&"animate-roulette-shine")})]})},Qee=()=>{const t=C(bl);return e.jsx("div",{className:"flex w-full justify-center gap-2 md:gap-6","data-testid":"roulette-place-bet-buttons",children:t.map(s=>e.jsx(Jee,{item:s},s.id))})},ete=()=>{const[t,s]=C([dM,bl]);return e.jsxs("div",{className:"order-2 flex flex-col items-center gap-1 md:flex-row md:gap-3 2xl:order-1","data-testid":"roulette-previous-rolls",children:[e.jsx("span",{className:"text-sm text-brandblue-100",children:n("games.roulette.previous_rolls")}),e.jsx("div",{className:"flex gap-1.5",children:t.length===0?e.jsx("span",{className:"text-sm text-white",children:n("games.roulette.no_previous_rolls")}):t.map((a,l)=>{var r;return e.jsx("img",{"data-testid":"roulette-previous-roll","data-item-id":a.winnerItemId,src:(r=s.find(i=>i.id===a.winnerItemId))==null?void 0:r.image,alt:"Previous Roll",className:"size-6 [&:nth-last-child(-n+7)]:hidden md:size-7 md:[&:nth-last-child(-n+7)]:block"},`${a.winnerItemId}-${l}`)})})]})},tte=({onBeep:t})=>{const[s,a]=C([Bu,uM]),[l,r]=m.useState(0),i=m.useRef({playedAt:0,count:0}),o=!!a&&(s===Ht.BET_COLLECTION_OPEN||s===Ht.COOLDOWN);return m.useEffect(()=>{if(!o||!a){r(0);return}i.current={playedAt:0,count:0};const d=()=>{const c=Date.now();if(a<=c){r(0);return}const x=Math.max(0,(a-c)/1e3);r(x);const p=i.current;x<=Rs.THRESHOLD_SECONDS-Rs.OFFSET_SECONDS&&(!p.playedAt||c-p.playedAt>1e3)&&p.count<Rs.THRESHOLD_SECONDS&&(p.playedAt=c,p.count+=1,t==null||t())};d();const u=window.setInterval(d,Rs.INTERVAL_MS);return()=>window.clearInterval(u)},[o,a]),e.jsxs("div",{className:"absolute left-0 top-0 flex size-full flex-col items-center justify-center","data-testid":"roulette-countdown",children:[e.jsx("p",{className:"text-sm text-brandblue-100",children:n("games.roulette.round_countdown.starts_in")}),e.jsx("p",{className:g("text-3xl font-semibold leading-9",l<=Rs.THRESHOLD_SECONDS?"text-red-400":"text-white"),"data-testid":"roulette-countdown-value",children:l.toFixed(2)})]})},ste=()=>e.jsx("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","data-testid":"roulette-centered-bar",children:e.jsx("svg",{className:"h-[104px] md:h-auto",width:"4",height:"144",viewBox:"0 0 4 144",fill:"none",children:e.jsx("rect",{width:"4",height:"144",rx:"2",fill:"white"})})}),ate=({onCountdownBeep:t})=>{const[s,a,l,r,i,o]=C([mM,Bu,xM,Mu,fM,pM]),d=m.useRef(null),u=m.useRef(null),c=Number(o==null?void 0:o.animationDuration)||s6.ROLL_DURATION_MS,x=a===Ht.ANIMATION_STARTED,p=(r==null?void 0:r.winnerItemId)??null;return m.useEffect(()=>{const f=u.current,h=d.current;if(!x||!p||!f||!h||s.length===0)return;f.style.transition="none",f.style.marginLeft="0px",f.offsetWidth;const b=f.getBoundingClientRect(),v=f.querySelectorAll(`[data-coin-id="${p}"]`);let j=null;for(const S of v){const M=S.getBoundingClientRect();if(M.right>s6.MIN_SCROLL_DISTANCE_PX){j=M;break}}if(!j)return;const y=h.getBoundingClientRect().width,N=j.width/100*i,k=j.left-b.left-y/2+N,w=window.requestAnimationFrame(()=>{f.style.transition=`margin-left ${c}ms cubic-bezier(0, 0, 0.2, 1)`,f.style.marginLeft=`-${k}px`});return()=>window.cancelAnimationFrame(w)},[x,l,p,i,c,s.length]),e.jsxs("div",{ref:d,className:"relative w-full overflow-hidden","data-testid":"roulette-track","data-game-state":a??"","data-round":l??"","data-winner-item-id":p??"",children:[e.jsx("div",{className:g("h-full w-full overflow-hidden delay-[500ms] duration-[500ms] ease-in-out",a===Ht.BET_COLLECTION_OPEN&&"opacity-10"),children:e.jsx("div",{ref:u,className:"flex w-max gap-2 py-6 md:py-8",children:s.map((f,h)=>e.jsx("div",{"data-coin-id":f.id,children:e.jsx("img",{className:"size-24 md:size-32",src:f.image,alt:String(f.id)})},h))})}),e.jsx("div",{className:"absolute left-0 top-0 h-full w-[150px] bg-gradient-to-r from-black-50 to-transparent"}),e.jsx("div",{className:"absolute right-0 top-0 h-full w-[150px] bg-gradient-to-l from-black-50 to-transparent"}),a===Ht.BET_COLLECTION_OPEN?e.jsx(tte,{onBeep:t}):e.jsx(ste,{})]})},R0={[jr.BET]:xe.CHIP_THROW,[jr.WIN]:xe.WIN,[jr.COUNTDOWN]:xe.COUNTDOWN},nte=()=>{const t=C(ze.$isAudioOn);return m.useEffect(()=>rn(Object.values(R0),t),[t]),m.useEffect(()=>{const s=a6.watch(a=>qe(R0[a]));return()=>{s(),Vs(Object.values(R0))}},[]),()=>a6(jr.COUNTDOWN)},lte=()=>e.jsx("div",{className:"mx-4 h-7 w-px bg-primary-active"}),r9=({className:t})=>{const{openModal:s}=W();return e.jsxs(Z,{variant:"NonAccent",height:"medium",className:t,testId:"provably-fair-button",ariaLabel:n("provablyFair.title"),onClick:()=>s(Hc),children:[e.jsx(da,{className:"size-5"}),e.jsx("span",{className:"text-sm text-brandblue-100",children:n("provablyFair.title")})]})},rte=()=>{const t=nte(),[s,a]=C([ze.$isGameInitialised,ht]);return m.useEffect(()=>(Nc(ze.gameId),()=>kc()),[]),m.useEffect(()=>(ze.initGameFx(),hM(),()=>{gM(),ze.gameUnmounted()}),[]),s?e.jsxs("div",{className:g("flex flex-col items-center overflow-y-auto md:min-
7110h-full",a?"p-6":"px-4 pb-[200px] md:px-8 md:pb-12"),"data-testid":"game-page-whale_roulette",children:[e.jsxs("div",{className:"flex w-full max-w-[1200px] flex-col",children:[e.jsxs("div",{className:g("flex w-full flex-row justify-between gap-y-2 2xl:flex-row",!a&&"md:flex-col"),children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(qee,{}),e.jsxs("div",{className:"hidden items-center gap-x-1 md:flex",children:[e.jsx(lte,{}),e.jsxs("div",{className:"flex flex-row gap-x-1",children:[e.jsx(n9,{}),e.jsx(r9,{className:"w-full gap-x-3"})]})]})]}),e.jsx(ete,{})]}),e.jsx(ate,{onCountdownBeep:t}),e.jsx(Hee,{}),e.jsx(Qee,{}),e.jsx(Kee,{})]}),e.jsxs("div",{className:"flex w-full flex-col items-center md:hidden",children:[e.jsx("div",{className:"my-6 h-px w-full bg-gray-800"}),e.jsxs("div",{className:"flex w-full flex-row justify-between gap-x-1",children:[e.jsx(n9,{}),e.jsx(r9,{className:"gap-x-3"})]})]})]}):e.jsx(al,{})},ite=()=>{const[t,s,a,l,r,i]=C([te,Je,Ps,J1,hi,ht]),o=Cc({isSessionResolved:s,isAuthenticated:t,isProfileLoaded:a,isSelfExcluded:l}),d=i&&o==="redirect-auth"?"allowed":o;return d==="redirect-auth"?e.jsx(kt,{to:"/?modal=auth&tab=login",replace:!0}):d==="self-excluded"?r?e.jsx("div",{className:"flex w-full justify-center py-10",children:e.jsx(gi,{until:r})}):e.jsx(al,{}):d==="pending"?e.jsx(al,{}):e.jsx(rte,{})},ote="btsg_sportbetting",wp="betby_betbysportsbook",cte="allow-top-navigation allow-scripts allow-popups allow-forms allow-pointer-lock allow-same-origin",dte="content-container",ute=t=>{const[s,a]=m.useState(null);return m.useLayoutEffect(()=>{if(!t)return;const l=document.getElementById(dte),r=()=>a(Math.ceil(t.getBoundingClientRect().top+((l==null?void 0:l.scrollTop)??0)));if(r(),!l)return;const i=new ResizeObserver(r);return i.observe(l),Array.from(l.children).forEach(o=>i.observe(o)),()=>i.disconnect()},[t]),s},kr=({gameCode:t=ote,withDeeplinks:s=!0,analyticsEvent:a="Sportsbook Page"}={})=>{const[l]=Q1(),r=C(ts),i=C(J1),o=C(hi),[d,u,c]=C([te,Ps,Je]),[x,p]=m.useState(""),[f,h]=m.useState(null),b=ute(f),v=o3({isSessionResolved:c,isAuthenticated:d,isProfileLoaded:u,isRestricted:i}),j=s?l.get("setIframePath"):null,y=s?l.get("shareBet"):null;return Qe("meta.sportsbook.title","meta.sportsbook.description"),m.useEffect(()=>(r3(),i3(js.sportsbookChatId),()=>{bM({useCachedId:!1})}),[]),m.useEffect(()=>Gf(document,navigator),[]),m.useEffect(()=>{X(a)},[a]),m.useEffect(()=>{if(!d3(v))return;let N=!1;return oi.post("/game-session",{currency:r,gameCode:t,meta:s?{shareBet:y,allowParentUrlUpdate:!0,extra_url_params:{setIframePath:j}}:{allowParentUrlUpdate:!0}}).then(k=>{!N&&(k!=null&&k.url)&&p(k.url)}).catch(k=>console.error("Failed to create sportsbook game session",k)),()=>{N=!0}},[r,t,v,j,y,s]),e.jsx("div",{className:"flex size-full flex-col justify-start gap-x-[3vw]","data-testid":"sportsbook-page",children:e.jsx("div",{className:"no-scrollbar flex flex-col gap-y-8 overflow-auto",children:e.jsx("div",{className:"w-full md:flex md:max-w-full md:flex-col md:self-center lg:max-w-[952px] xl:max-w-[1160px] 2xl:max-w-[1360px] 4xl:max-w-[1460px]",children:v==="restricted"&&o?e.jsx("div",{className:"flex w-full justify-center py-10",children:e.jsx(gi,{until:o})}):e.jsx("div",{className:"flex w-full justify-between",children:e.jsx("div",{className:"flex w-full flex-col",children:e.jsx("iframe",{ref:h,src:x,"data-testid":"sportsbook-iframe",className:"sportsbook-frame w-full bg-black",style:b===null?void 0:{"--sportsbook-frame-top":`${b}px`},title:n("global_sportsbookMain"),sandbox:cte})})})})})})},mte=({slug:t})=>{const s=B$[t],a=D$(t,H1()),[l,r]=m.useState(()=>a===null?{status:"loading"}:{status:"loaded",content:a}),[i,o]=m.useState(0),d=m.useRef(a!==null);return Qe(s.titleKey,s.descriptionKey),m.useEffect(()=>{if(d.current){d.current=!1;return}const u=new AbortController;return r({status:"loading"}),I$({slug:t,language:H1(),signal:u.signal}).then(({content:c})=>{u.signal.aborted||r({status:"loaded",content:c})}).catch(()=>{u.signal.aborted||r({status:"failed"})}),()=>u.abort()},[t,i]),m.useEffect(()=>{l.status==="loaded"&&X(M$(t))},[t,l.status]),e.jsx("div",{className:"container mx-auto px-4 py-8","data-testid":`static-page-${t}`,children:l.status==="failed"?e.jsxs("div",{className:"flex flex-col items-center gap-4 py-10","data-testid":"static-page-error",children:[e.jsx("p",{className:"text-sm text-brandblue-100",children:n("error.try_again")}),e.jsx(O,{variant:"outline",size:"sm",onClick:()=>o(u=>u+1),children:n("geoRestriction.reloadPage")})]}):e.jsx("div",{id:E$,className:"static-page-content","data-testid":"static-page-content","data-loading":l.status==="loading"?"true":"false",dangerouslySetInnerHTML:{__html:l.status==="loaded"?l.content:""}})})},xte=({slug:t})=>e.jsx(mte,{slug:t}),fte="/assets/binance-BJXsBkj3.webp",pte="/assets/bitcoincom-B8-nS3iQ.webp",hte="/assets/coinmarketcap-guvpNlEs.webp",gte="/assets/investingcom-Cchq8huJ.webp",bte="/assets/reuters-D74lcE4j.webp",ei=({i18nKey:t,className:s})=>e.jsx("span",{className:s,dangerouslySetInnerHTML:{__html:n(t)}}),Jc=({titleKey:t,subtitleKey:s})=>e.jsxs("div",{className:"flex flex-col items-center gap-4 text-center lg:items-start lg:text-left",children:[e.jsx(ei,{i18nKey:t,className:"text-xl font-bold capitalize leading-10 text-white lg:text-[32px]"}),s?e.jsx(ei,{i18nKey:s,className:"break-words text-base font-medium leading-normal text-brandblue-100"}):null]}),Cte=()=>e.jsxs("section",{className:"relative overflow-hidden rounded-2xl","data-testid":"token-banner",children:[e.jsx(Tl,{borderThickness:"1px"}),e.jsx("div",{className:"bg-black-50 bg-[radial-gradient(ellipse_100.00%_3324.40%_at_0.00%_50.00%,_rgba(252,_215,_83,_0.08)_0%,_rgba(252,_215,_83,_0)_100%)]",children:e.jsx("div",{className:"bg-cover bg-center bg-no-repeat p-4 md:bg-[url('/token-dashboard/Banner.webp')] md:p-10",children:e.jsxs("div",{className:"inline-flex max-w-full flex-col items-start justify-center gap-6",children:[e.jsxs("h1",{className:"flex max-w-full flex-col items-start justify-center gap-2 text-4xl font-bold leading-10 [overflow-wrap:anywhere] md:text-5xl md:leading-[56px]",children:[e.jsxs("span",{className:"text-white",children:["$WHALE ",n("global_token")]}),e.jsx("span",{className:"hyphens-auto text-amber-300",children:n("whale_token_dashboard.banner.has_landed")})]}),e.jsx("p",{className:"max-w-96 text-sm font-medium leading-normal text-brandblue-100 md:text-base",children:n("whale_token_dashboard.banner.description")})]})})})]}),T0=({icon:t,label:s,value:a,testId:l})=>e.jsxs("div",{className:"flex items-center gap-3",children:[t,e.jsxs("div",{className:"flex min-w-32 flex-col gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-brandblue-100",children:s}),e.jsx("span",{className:"text-2xl font-semibold text-white","data-testid":l,children:a})]})]}),jte=()=>{var l;const[t,s]=C([ol,CM]),a=bs(((l=t[U.WHALE])==null?void 0:l.availableAmou
7110nt)??0,U.WHALE);return e.jsxs("section",{className:"flex w-full flex-col justify-between gap-10 overflow-hidden rounded-2xl bg-[radial-gradient(ellipse_100.00%_3324.40%_at_0.00%_50.00%,_rgba(255,_255,_255,_0.04)_0%,_rgba(255,_255,_255,_0)_100%)] p-6 text-left outline outline-1 -outline-offset-1 outline-zinc-400/20 lg:flex-row xl:items-center","data-testid":"token-sub-banner",children:[e.jsx(T0,{icon:e.jsx(Z1,{className:"size-8"}),label:n("global_your_balance"),value:Is(a),testId:"token-stat-balance"}),e.jsx(T0,{icon:e.jsx($m,{className:"size-8"}),label:n("whale_token_dashboard.market_cap"),value:n("roadmap.2025.q2.moon.header"),testId:"token-stat-market-cap"}),e.jsx(T0,{icon:e.jsx(lO,{className:"size-8"}),label:n("whale_token_dashboard.token_holders"),value:Is(s),testId:"token-stat-holders"}),e.jsx(De,{to:Ve,className:Ni({variant:"goldenShine",className:"w-auto px-4 font-bold"}),"data-testid":"token-play-with-whale",children:n("play_with_whale")})]})},ur=({title:t,description:s})=>e.jsxs("div",{className:"flex w-52 shrink-0 snap-start flex-col gap-3 self-stretch rounded-2xl border border-zinc-400/20 bg-black-50 bg-[radial-gradient(ellipse_100.00%_66.26%_at_50.00%_-0.00%,_rgba(255,_255,_255,_0.04)_0%,_rgba(255,_255,_255,_0)_100%)] p-6 md:w-auto md:flex-1 md:rounded-3xl",children:[e.jsx("span",{className:"text-xl font-semibold leading-8 text-white md:text-2xl",children:t}),e.jsx("span",{className:"text-sm font-medium leading-tight text-brandblue-100 md:text-base md:leading-normal",children:s})]}),vte=()=>e.jsxs("section",{className:"flex w-full flex-col gap-8 pt-4","data-testid":"token-meaning",children:[e.jsx(Jc,{titleKey:"whale_token_dashboard.printing_header",subtitleKey:"whale_token_dashboard.printing_subheader"}),e.jsxs("div",{className:"no-scrollbar relative flex w-full snap-x snap-mandatory items-end gap-4 overflow-x-auto md:items-start md:gap-6",children:[e.jsx(ur,{title:n("global_play"),description:n("whale_token_dashboard.play_description")}),e.jsx(ur,{title:n("global_earn"),description:n("whale_token_dashboard.earn_description")}),e.jsx(ur,{title:n("whale_token_dashboard.passive_income"),description:n("whale_token_dashboard.passive_income_description")}),e.jsx(ur,{title:n("whale_token_dashboard.lambo"),description:n("whale_token_dashboard.lambo_description")})]})]}),wte=()=>e.jsxs("a",{href:wM,target:"_blank",rel:"noopener noreferrer","data-testid":"token-trade-banner",className:"relative hidden h-[230px] w-full overflow-hidden rounded-3xl border border-zinc-400/20 bg-[#1f232f] shadow-[inset_0_0_54px_0_#13171f] md:block",children:[e.jsx("img",{src:"/token-dashboard/whale-bg-blur.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"pointer-events-none absolute inset-0 size-full object-cover opacity-20 blur-2xl"}),e.jsx("img",{src:"/token-dashboard/whale-cards.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"pointer-events-none absolute -top-[99px] left-[324px] h-[658px] w-[735px] max-w-none object-cover"}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-0 top-0 h-full w-[441px] bg-gradient-to-l from-transparent via-[#13161e]/60 to-[#13161e]"}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute right-0 top-0 h-full w-[441px] bg-gradient-to-r from-transparent via-[#13161e]/60 to-[#13161e]"}),e.jsxs("div",{className:"absolute left-16 top-1/2 flex w-[260px] -translate-y-1/2 flex-col gap-2",children:[e.jsx("p",{className:"text-[22px] font-bold uppercase italic leading-8 text-white",children:n("whale_token_dashboard.trade_banner_title")}),e.jsx("p",{className:"text-base font-medium leading-6 text-[#adafce]",children:n("whale_token_dashboard.trade_banner_subtitle")})]}),e.jsxs("div",{className:"absolute right-16 top-1/2 flex w-[220px] -translate-y-1/2 flex-col items-center gap-1.5",children:[e.jsx("span",{className:Ni({variant:"golden",className:"h-11 w-full rounded-xl bg-[#ffd891] text-base font-semibold leading-6 text-[#13161e]"}),children:n("whale_token_dashboard.trade_banner_cta")}),e.jsxs("span",{className:"flex items-center gap-1.5 text-sm font-medium leading-5 text-[#fed891]",children:[n("whale_token_dashboard.trade_banner_link"),e.jsx(dO,{className:"size-5"})]})]})]}
7110),yte={coinmarketcap:hte,bitcoincom:pte,investingcom:gte,reuters:bte,binance:fte},_te=()=>e.jsxs("section",{className:"flex flex-col gap-y-4","data-testid":"token-mentions",children:[e.jsx("h2",{className:"text-center text-lg font-semibold leading-7 text-slate-400",children:n("whale_token_dashboard.mention_in")}),e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx("div",{className:"pointer-events-none absolute left-0 top-0 z-10 h-full w-32 bg-gradient-to-r from-[#13161E] to-transparent"}),e.jsx("div",{className:"pointer-events-none absolute right-0 top-0 z-10 h-full w-32 bg-gradient-to-l from-[#13161E] to-transparent"}),e.jsx("div",{className:"flex w-max animate-[marquee_20s_linear_infinite] hover:[animation-play-state:paused]",children:[...n6,...n6].map((t,s)=>e.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"inline-block px-4",children:e.jsx("img",{src:yte[t.id],alt:t.id,className:"mx-8 h-8 max-w-none object-contain",loading:"lazy"})},`${t.id}-${s}`))})]})]}),Nte=()=>{const t=C(jM);return e.jsxs("section",{className:"flex flex-col gap-8","data-testid":"token-originals",children:[e.jsxs("div",{className:"flex flex-col gap-4 text-center text-xl font-bold xl:text-left xl:text-2r",children:[e.jsx(ei,{i18nKey:"whale_token_dashboard.originals_title",className:"break-words text-white"}),e.jsx(ei,{i18nKey:"whale_token_dashboard.originals_subtitle",className:"text-base font-medium leading-normal text-brandblue-100"})]}),e.jsx(ua,{gameCodes:t})]})},kte=()=>e.jsxs("section",{className:"relative flex flex-col items-start justify-between gap-4 self-stretch overflow-hidden rounded-2xl bg-[radial-gradient(ellipse_100.00%_3324.40%_at_0.00%_50.00%,_rgba(252,_215,_83,_0.08)_0%,_rgba(252,_215,_83,_0)_100%)] p-6 xl:flex-row xl:items-center xl:gap-0","data-testid":"token-buyback",children:[e.jsx(Tl,{borderThickness:"1px"}),e.jsxs("div",{className:"flex flex-col items-start justify-center gap-3",children:[e.jsx("h2",{className:"text-2xl font-bold uppercase leading-loose text-white",children:n("whale_token_dashboard.buyback.title")}),e.jsx("p",{className:"max-w-96 text-base font-medium leading-normal text-brandblue-100",children:n("whale_token_dashboard.buyback.description")})]}),e.jsx(De,{to:Ve,className:Ni({variant:"goldenShine",className:"w-full px-4 font-bold xl:w-auto"}),"data-testid":"token-buyback-play",children:n("play_on_whale")})]}),Ste=()=>{const t=m.useRef(null),s=m.useRef([]),[a,l]=m.useState(0);return m.useEffect(()=>{const r=t.current;if(!r)return;let i=0;const o=()=>{i=0;const u=r.getBoundingClientRect().left;let c=0,x=Number.POSITIVE_INFINITY;s.current.forEach((p,f)=>{if(!p)return;const h=Math.abs(p.getBoundingClientRect().left-u);h<x&&(x=h,c=f)}),l(c)},d=()=>{i||(i=requestAnimationFrame(o))};return r.addEventListener("scroll",d,{passive:!0}),()=>{r.removeEventListener("scroll",d),i&&cancelAnimationFrame(i)}},[]),e.jsxs("section",{className:"flex flex-col gap-8","data-testid":"token-videos",children:[e.jsx(Jc,{titleKey:"whale_token_dashboard.video.title",subtitleKey:"whale_token_dashboard.video.description"}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("div",{ref:t,className:"no-scrollbar flex snap-x snap-mandatory gap-4 overflow-x-auto md:gap-6",children:l6.map((r,i)=>e.jsxs("div",{ref:o=>{s.current[i]=o},className:"flex w-[calc(100vw-36px)] shrink-0 snap-start flex-col items-start gap-6 overflow-hidden rounded-3xl border border-zinc-400/20 bg-[radial-gradient(ellipse_100.00%_66.26%_at_50.00%_-0.00%,_rgba(255,_255,_255,_0.08)_0%,_rgba(255,_255,_255,_0.01)_100%)] p-6 sm:w-[calc((100%-1rem)/2)] md:w-[calc((100%-1.5rem)/2)] xl:w-[calc((100%-3rem)/3)]",children:[e.jsx("div",{className:"h-[208px] w-full overflow-hidden rounded-2xl bg-black-50",children:e.jsx("iframe",{src:vM(r.videoId),title:n(`whale_token_dashboard.video.${r.key}.title`),allowFullScreen:!0,loading:"lazy",className:"block size-full"})}),e.jsxs("div",{className:"flex flex-col items-center gap-3 self-stretch text-center",children:[e.jsx("span",{className:"text-xl font-bold uppercase leading-loose text-white xl:text-2xl",children:n(`whale_token_dashboard.video.${r.key}.title`)}),e.jsx("span",{className:"text-sm font-medium leading-normal text-brandblue-100 xl:text-base",children:n(`whale_token_dashboard.video.${r.key}.description`)})]})]},r.videoId))}),e.jsx("div",{className:"flex items-center justify-center gap-1 md:hidden",children:l6.map((r,i)=>e.jsx("button",{type:"button","aria-label":`dot-${i+1}`,"aria-current":a===i,onClick:()=>{var o;return(o=s.current[i])==null?void 0:o.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})},className:g("h-1.5 w-6 rounded-3xl transition-all duration-200",a===i?"bg-golde
7110n":"bg-secondary")},r.videoId))})]})]})},Ate=["printer","username","time","locked_until","multiplier_selected"],ja="whitespace-nowrap px-4 py-3 first:pl-6 last:pr-6",Lte=()=>{const t=C(yM);return t.length?e.jsxs("section",{className:"flex flex-col gap-8","data-testid":"token-live-transactions",children:[e.jsx(Jc,{titleKey:"whale_token_dashboard.live_transactions.title"}),e.jsx("div",{className:"overflow-hidden rounded-3xl border border-zinc-400/20 bg-black-50 bg-[radial-gradient(ellipse_100%_50%_at_50%_0%,rgba(255,255,255,0.04)_0%,rgba(255,255,255,0)_100%)]",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full min-w-[720px] border-collapse text-left text-sm font-medium",children:[e.jsx("thead",{className:"bg-white/[0.02] text-brandblue-100",children:e.jsxs("tr",{children:[Ate.map(s=>e.jsx("th",{scope:"col",className:`${ja} font-medium`,children:n(`whale_token_dashboard.live_transactions.${s}`)},s)),e.jsx("th",{scope:"col",className:`${ja} text-right font-medium`,children:n("whale_token_dashboard.live_transactions.amount")})]})}),e.jsx("tbody",{className:"text-white",children:t.map((s,a)=>e.jsxs("tr",{className:"border-t border-zinc-400/20","data-testid":"token-live-transaction-row",children:[e.jsx("td",{className:ja,children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(uc,{className:"size-5"}),n("whale_token_dashboard.live_transactions.printer")]})}),e.jsx("td",{className:ja,children:s.username}),e.jsx("td",{className:ja,children:_M(s.createdAt)}),e.jsx("td",{className:ja,children:NM(s.releaseAt)}),e.jsx("td",{className:ja,children:kM(s.multiplier)}),e.jsx("td",{className:`${ja} text-right`,children:e.jsxs("span",{className:"inline-flex items-center justify-end gap-2",children:[Is(b3(s.amount)),e.jsx(Z1,{className:"size-5"})]})})]},`${s.createdAt}-${a}`))})]})})})]}):null},o1="rounded-3xl border border-zinc-400/20 bg-black-50 bg-[radial-gradient(ellipse_100%_50%_at_50%_0%,rgba(255,255,255,0.04)_0%,rgba(255,255,255,0)_100%)]",I0=24,i9=({value:t,min:s,max:a,step:l,disabled:r,inset:i,label:o,valueText:d,testId:u,onChange:c,children:x})=>{const p=Math.max(1,a-s),f=Math.min(1,Math.max(0,(t-s)/p)),h=i?`calc(${f*100}% - ${I0/2}px)`:`calc(${f*100}% - ${f*I0}px)`,b=i?`${f*100}%`:`calc(${f*100}% + ${(1-f)*I0}px)`;return e.jsxs("div",{className:g("relative flex h-6 touch-none select-none items-center",i?"mx-3":"w-full"),children:[e.jsxs("span",{className:"relative h-[10px] grow rounded-md bg-stream-sub-highlight-color",children:[e.jsx("span",{className:"absolute inset-y-0 left-0 rounded-md bg-gradient-to-r from-[#ffdd62] via-[#e2b61a] to-[#ffdd62]",style:{width:b}}),x]}),e.jsx("span",{className:g("pointer-events-none absolute top-1/2 size-6 -translate-y-1/2 rounded-full bg-white shadow-sm",r&&"opacity-50"),style:{left:h}}),e.jsx("input",{type:"range",min:s,max:a,step:l,value:t,disabled:r,"aria-label":o,"aria-valuetext":d,"data-testid":u,onChange:v=>c(Number(v.target.value)),className:g("absolute top-1/2 h-6 -translate-y-1/2 cursor-pointer appearance-none bg-transparent focus-visible:outline-none disabled:cursor-not-allowed",i?"-inset-x-3 w-[calc(100%+24px)]":"inset-x-0 w-full","[&::-moz-range-thumb]:size-6 [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-transparent","[&::-webkit-slider-thumb]:size-6 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-transparent","[&:focus-visible+*]:ring-2 [&:focus-visible+*]:ring-amber-300")})]})},o9=({value:t,testId:s})=>e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(Z1,{className:"size-6"}),e.jsx("span",{className:"text-base font-semibold leading-6 text-white","data-testid":s,children:t})]}),Mte=()=>{var w;const[t,s,a,l,r,i]=C([EM,Eu,RM,TM,Ps,J1]),o=C(ol),d=Math.floor(b3(((w=o[U.WHALE])==null?void 0:w.availableAmount)??0)),[u,c]=m.useState(()=>r6(s.length)),x=s[u],[p,f]=m.useState(()=>i6(d,x)),h=IM(x),b=m.useRef(d);b.current=d;const v=m.useRef(s);v.current=s;const j=s.map(S=>S.id).join(",");m.useEffect(()=>{if(t!=="form")return;const S=r6(v.current.length);c(S),f(i6(b.current,v.current[S]))},[t,j]),m.useEffect(()=>{f(S=>S<h&&h<=d?h:o6(S,h,d))},[h,d]);
7110const y=Ru({isLoggedIn:r,isSelfExcluded:i,ruleCount:s.length}),N=FM({amountTokens:p,maxTokens:d,rule:x,rules:s,isLoggedIn:r,isSelfExcluded:i}),k=Math.max(1,s.length-1);return t==="empty"?e.jsx("button",{type:"button",onClick:()=>Tu(),disabled:!y,"aria-label":n("whale_token_dashboard.print_money"),"data-testid":"printer-create-open",className:g(o1,"flex h-[227px] w-full flex-col items-center justify-center px-4 transition-opacity hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-40 md:h-[334px] md:py-9"),children:e.jsx("span",{className:"flex size-[88px] items-center justify-center rounded-full bg-white/5",children:e.jsx(h3,{className:"size-12 text-white"})})}):e.jsxs("div",{className:g(o1,"flex w-full flex-col gap-4 p-4 md:min-h-[334px] md:p-8"),"data-testid":"printer-create-form",children:[e.jsx("p",{className:"text-xl font-semibold leading-8 text-white md:text-2xl",children:n("whale_token_dashboard.print_money")}),e.jsxs("div",{className:"flex flex-col gap-2 py-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-medium leading-5 text-white",children:n("whale_token_dashboard.amount_of_tokens")}),e.jsx(o9,{value:Is(p,0),testId:"printer-amount-value"})]}),e.jsx(i9,{value:$M(p,h,d),min:Math.min(h,d),max:DM(h,d),step:OM(d),disabled:!r,label:n("whale_token_dashboard.amount_of_tokens"),valueText:Is(p,0),testId:"printer-amount",onChange:S=>f(o6(S,h,d))})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center justify-between text-white",children:[e.jsxs("span",{className:"text-sm font-medium leading-5",children:[n("whale_token_dashboard.multiplier"),":"]}),e.jsxs("span",{className:"text-base font-semibold leading-6","data-testid":"printer-rule-value",children:[(x==null?void 0:x.multiplier)??0,"x / ",(x==null?void 0:x.lockingPeriodInDays)??0,"d"]})]}),e.jsx(i9,{inset:!0,value:u,min:0,max:k,step:1,disabled:!r||s.length<2,label:n("whale_token_dashboard.multiplier"),testId:"printer-rule",onChange:c,children:s.map((S,M)=>M===u?null:e.jsx("span",{"aria-hidden":"true",className:g("absolute top-1/2 size-6 -translate-x-1/2 -translate-y-1/2 rounded-full border-[6px] border-solid bg-white",M<u?"border-[#ffdd62]":"border-stream-sub-highlight-color"),style:{left:`${M/k*100}%`}},S.id))})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"text-sm font-medium leading-5 text-white",children:[n("whale_token_dashboard.tokens_to_claim"),":"]}),e.jsx(o9,{value:Is(PM(p,x),0),testId:"printer-tokens-to-claim"})]}),l?e.jsx("p",{className:"text-xs text-error","data-testid":"printer-error",children:n(l)}):null,e.jsxs("div",{className:"flex flex-col items-start gap-4",children:[e.jsx(O,{variant:"goldenShine",disabled:!N||a,onClick:()=>HM({amountTokens:p,multiplier:x.multiplier}),"data-testid":"printer-submit",className:"w-full px-4 font-bold md:w-auto",children:n("whale_token_dashboard.start_printing")}),d<UM?e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:n("whale_token_dashboard.minimum_balance_to_print")}):null]})]})},Bte=({canOpen:t})=>e.jsxs("div",{className:g(o1,"relative hidden size-full min-h-[334px] flex-col items-start justify-center gap-3 overflow-hidden p-8 pl-16 md:flex"),"data-testid":"printer-hero",children:[e.jsx("img",{src:"/token-dashboard/WhaleBaloon.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"pointer-events-none absolute -right-12 -top-4 size-[308px] rotate-[13deg]"}),e.jsxs("div",{className:"relative flex w-[260px] max-w-full flex-col gap-2",children:[e.jsx("p",{className:"text-[22px] font-bold uppercase italic leading-8 text-white",children:n("whale_token_dashboard.stake_your_whale_title")}),e.jsx("p",{className:"text-base font-medium leading-6 text-brandblue-100",children:n("whale_token_dashboard.stake_your_whale_subtitle")})]}),e.jsx("button",{type:"button",onClick:()=>Tu(),disabled:!t,"data-testid":"printer-hero-open",className:"relative flex h-11 w-[263px] max-w-full items-center justify-center rounded-xl border-2 border-solid border-golden bg-gradient-to-b from-[#e2b61a] via-[#fcd753] to-[#e2b61a] px-4 py-2.5 text-base font-semibold leading-6 text-black-50 transition-opacity hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-40",children:n("whale_token_dashboard.lets_print_money")})]}),mr=({icon:t,label:s,value:a,layout:l,testId:r})=>e.jsxs("div",{className:g("flex gap-3",l==="stacked"?"flex-col":"items-center"),children:[t,e.jsxs("div",{className:g("flex flex-col",l==="inline"&&"gap-1.5"),children:[e.jsx("span",{className:"text-sm font-medium leading-5 text-brandblue-100",children:s}),e.jsx("span",{className:g("font-semibold leading-8 text-white",l==="stacked"?"text-xl":"text-2xl"),"data-testid":r,children:a})]})]}),Ete="bg-gradient-to-r from-[#fcd753] via-[#ffe68e] to-[#fcd753] bg-clip-text text-base font-semibold leading-6 text-transparent",xr=({icon:t,label:s,value:a,gold:l})=>e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"flex items-center gap-2 text-base font-medium leading-6 text-white",children:[t,s,":"]}),e.jsx("span",{className:l?Ete:"text-base font-semibold leading-6 text-white",children:a})]}),c9=({view:t,wallet:s,isClaiming:a,className:l})=>e.jsx(O,{variant:"goldenShine",disabled:!t.isClaimable||a,onClick:()=>zM({walletId:s.walletId,finalAmount:s.finalAmount}),"data-testid":`printer-claim-${t.walletId}`,className:g("px-4 font-bold",l),children:n("whale_token_dashboard.collect_earnings")}),Rte=({view:t,wallet:s,isClaiming:a})=>{const[l,r]=m.useState(!1),i=o=>e.jsxs(e.Fragment,{children:[e.jsx(mr,{layout:o,icon:e.jsx(uc,{className:"size-8"}
7110),label:n("whale_token_dashboard.printer_value"),value:Is(t.lockedWhale)}),e.jsx(mr,{layout:o,icon:e.jsx(H6,{className:"size-8"}),label:n("whale_token_dashboard.days_left"),value:`${t.daysLeft} ${n("whale_token_dashboard.days")}`}),e.jsx(mr,{layout:o,icon:e.jsx(Z1,{className:"size-8"}),label:n("whale_token_dashboard.whale_earned"),value:Is(t.earnedWhale),testId:"printer-earned"}),e.jsx(mr,{layout:o,icon:e.jsx(rO,{className:"size-8"}),label:n("whale_token_dashboard.multiplier"),value:`${t.multiplier}x`})]});return e.jsxs("div",{"data-testid":`printer-card-${t.walletId}`,"data-claimable":t.isClaimable?"true":"false",className:"w-full",children:[e.jsxs("div",{className:g(o1,"flex w-full flex-col gap-4 p-4 md:hidden"),children:[e.jsx("p",{className:"text-xl font-semibold leading-8 text-white",children:n("whale_token_dashboard.printing")}),e.jsx("div",{className:"grid grid-cols-2 gap-5",children:i("stacked")}),e.jsx(c9,{view:t,wallet:s,isClaiming:a,className:"w-full"})]}),e.jsx("div",{className:"hidden size-full min-h-[334px] [perspective:800px] md:grid",children:e.jsxs("div",{className:g("grid size-full transition-transform duration-500 [transform-style:preserve-3d]",l&&"[transform:rotateY(180deg)]"),children:[e.jsxs("div",{inert:l,className:g(o1,"relative flex size-full flex-col gap-[30px] overflow-hidden p-8 [backface-visibility:hidden] [grid-area:1/1]"),children:[e.jsx("img",{src:"/token-dashboard/WhaleBaloon.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"pointer-events-none absolute -right-12 -top-12 size-[400px] rotate-[13deg] opacity-20"}),e.jsx("p",{className:"relative text-2xl font-semibold leading-8 text-white",children:n("whale_token_dashboard.printing")}),e.jsx("div",{className:"relative grid grid-cols-2 gap-5",children:i("inline")}),e.jsx(c9,{view:t,wallet:s,isClaiming:a,className:"relative self-start"}),e.jsx("button",{type:"button",onClick:()=>r(!0),"aria-label":n("whale_token_dashboard.show_details"),"data-testid":`printer-details-${t.walletId}`,className:"absolute right-8 top-8 flex size-6 items-center justify-center text-white/80 transition-opacity hover:opacity-100",children:e.jsx(oO,{className:"size-6"})})]}),e.jsxs("div",{inert:!l,className:g(o1,"relative flex size-full flex-col gap-3 overflow-hidden p-8 [backface-visibility:hidden] [grid-area:1/1] [transform:rotateY(180deg)]"),children:[e.jsx("img",{src:"/token-dashboard/WhaleBaloon.webp",alt:"","aria-hidden":"true",loading:"lazy",className:"pointer-events-none absolute -right-12 -top-12 size-[400px] rotate-[13deg] opacity-20"}),e.jsx("p",{className:"relative text-2xl font-semibold leading-8 text-white",children:n("whale_token_dashboard.printing")}),e.jsxs("div",{className:"relative flex w-80 max-w-full flex-col gap-4",children:[e.jsx(xr,{gold:!0,icon:e.jsx(Z1,{className:"size-6"}),label:n("whale_token_dashboard.whales_in_printer"),value:Is(t.currentWhale)}),e.jsx(xr,{gold:!0,icon:e.jsx(iO,{className:"size-6"}),label:n("whale_token_dashboard.apy"),value:`${VM(t.apyPercent)}%`}),e.jsx(xr,{icon:e.jsx(H6,{className:"size-6"}),label:n("whale_token_dashboard.printing_done_in"),value:t.timeLeftLabel}),e.jsx(xr,{gold:!0,icon:e.jsx($m,{className:"size-6"}),label:n("whale_token_dashboard.tokens_to_claim"),value:Is(t.finalWhale)})]}),e.jsx("button",{type:"button",onClick:()=>r(!1),"aria-label":n("whale_token_dashboard.show_summary"),className:"absolute right-8 top-8 flex size-6 items-center justify-center text-white/80 transition-opacity hover:opacity-100",children:e.jsx(cO,{className:"size-6"})})]})]})})]})},d9=()=>e.jsxs("div",{className:g(o1,"flex w-full flex-col gap-4 p-4 md:h-[334px] md:p-8"),"aria-hidden":"true",children:[e.jsx(qs,{className:"h-7 w-32"}),e.jsx("div",{className:"grid grid-cols-2 gap-5",children:Array.from({length:4},(t,s)=>e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx(qs,{className:"size-8 rounded-full"}),e.jsx(qs,{className:"h-4 w-20"}),e.jsx(qs,{className:"h-6 w-24"})]},s))}),e.jsx(qs,{className:"h-10 w-full rounded-lg"})]}),Tte=()=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-4 text-center md:hidden",children:[e.jsx("p",{className:"w-full text-xl font-bold capitalize leading-none text-white",dangerouslySetInnerHTML:{__html:n("whale_token_dashboard.staking_header_title")}}),e.jsx("p",{className:"w-full text-base font-medium leading-6 text-brandblue-100",dangerouslySetInnerHTML:{__html:n("whale_token_dashboard.staking_header_subtitle")}})]}),e.jsxs("div",{className:"hidden w-full flex-col items-start justify-center gap-4 md:flex",children:[e.jsx("p",{className:"text-[32px] font-bold capitalize leading-10 text-white",dangerouslySetInnerHTML:{__html:n("whale_token_dashboard.staking_header_title_desktop")}}),e.jsx("p",{className:"max-w-[543px] text-base font-medium leading-6 text-brandblue-100",dangerouslySetInnerHTML:{__html:n("whale_token_dashboard.staking_header_subtitle_desktop")}})]})]}),Ite=()=>{const[t,s,a,l,r,i]=C([SM,AM,LM,Eu,Ps,J1]),[o,d]=m.useState(()=>Date.now());m.useEffect(()=>{const x=window.setInterval(()=>d(Date.now()),MM);return()=>window.clearInterval(x)},[]);const u=m.useMemo(()=>t.map(x=>({wallet:x,view:BM(x,o)}
7110)),[t,o]),c=Ru({isLoggedIn:r,isSelfExcluded:i,ruleCount:l.length});return e.jsxs("section",{className:"flex flex-col gap-8","data-testid":"token-printing",children:[e.jsx(wte,{}),e.jsx(Tte,{}),e.jsx("div",{className:"flex flex-col gap-4 md:grid md:grid-cols-2 md:gap-6",children:s?e.jsxs(e.Fragment,{children:[e.jsx(d9,{}),e.jsx(d9,{})]}):e.jsxs(e.Fragment,{children:[e.jsx(Mte,{}),e.jsx(Bte,{canOpen:c}),u.map(({wallet:x,view:p})=>e.jsx(Rte,{view:p,wallet:x,isClaiming:a.includes(p.walletId)},p.walletId))]})})]})},Fte=()=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:"size-6 text-brandblue-100","aria-hidden":"true",children:[e.jsx("circle",{cx:"12",cy:"12",r:"9.25",stroke:"currentColor",strokeWidth:"1.5"}),e.jsx("path",{d:"M9.7 9.2a2.3 2.3 0 1 1 3.4 2.05c-.7.45-1.1.9-1.1 1.75v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("circle",{cx:"12",cy:"16.6",r:"1",fill:"currentColor"})]}),Ote=t=>n(t).replace(/\n(\d+\.)/g,"<br>$1").replace(/\\n(?!\d+\.)/g,"<br>"),Dte=({item:t})=>{const[s,a]=m.useState(!1);return e.jsxs("div",{className:"overflow-hidden rounded-lg bg-secondary",children:[e.jsxs("button",{type:"button","data-testid":`token-faq-item-${t}`,"aria-expanded":s,onClick:()=>a(l=>!l),className:"flex w-full items-center justify-between gap-4 p-4 text-left text-sm font-medium text-white",children:[n(`whale_token_dashboard.faq.faq_item_${t}.heading`),s?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),s?e.jsx("p",{className:"px-4 pb-4 text-sm font-normal text-brandblue-100",dangerouslySetInnerHTML:{__html:Ote(`whale_token_dashboard.faq.faq_item_${t}.paragraph`)}}):null]})},F0=({items:t,className:s})=>e.jsx("div",{className:g("flex-col gap-2",s),children:t.map(a=>e.jsx(Dte,{item:a},a))}),$te=()=>{const t=Array.from({length:c6},(a,l)=>l+1),s=Math.ceil(c6/2);return e.jsxs("section",{className:"pt-8","data-testid":"token-faq",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Fte,{}),e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("modals.refer.faq")})]}),e.jsxs("div",{className:"mt-2 flex flex-col gap-6 lg:flex-row",children:[e.jsx(F0,{items:t,className:"flex w-full lg:hidden"}),e.jsx(F0,{items:t.slice(0,s),className:"hidden lg:flex lg:w-1/2"}),e.jsx(F0,{items:t.slice(s),className:"hidden lg:flex lg:w-1/2"})]})]})},Pte=()=>(Qe("meta.token.title","meta.token.description"),m.useEffect(()=>{GM()},[]),e.jsxs("div",{className:"flex w-full flex-col gap-y-[3.75rem] pb-10","data-testid":"token-dashboard",children:[e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx(Cte,{}),e.jsx(jte,{})]}),e.jsx(vte,{}),js.stakingEnabled?e.jsx(Ite,{}):null,e.jsx(_te,{}),e.jsx(Nte,{}),e.jsx(Ste,{}),js.stakingEnabled?e.jsx(Lte,{}):null,e.jsx(kte,{}),e.jsx("hr",{className:"h-px w-full border-0 bg-primary"}),e.jsx($te,{})]})),Hte=[1,2,3],Ute=({participantCount:t})=>e.jsxs("div",{className:"flex items-center",children:[Hte.map(s=>e.jsx("div",{className:"-ml-2 flex size-6 items-center justify-center rounded-full border-2 border-black-50 bg-secondary",children:e.jsx("img",{src:`/random/${s}.webp`,alt:"",className:"size-5 rounded-full object-cover",loading:"lazy"})},s)),e.jsx("div",{className:"-ml-2 flex h-6 items-center justify-center rounded-full border border-black-50 bg-secondary px-1",children:e.jsxs("span",{className:"text-xs text-brandblue-100",children:["+",Du(t-3)]})})]}),O0=({title:t,children:s})=>e.jsxs("div",{children:[e.jsx("h5",{className:"text-sm text-brandblue-100",children:t}),e.jsx("p",{className:"text-base text-white md:text-nowrap",children:s})]}),Vte=({tournament:t,type:s,ranks:a})=>{var c;const[l,r]=C([Iu,te]),{openModal:i}=W();m.useEffect(()=>{Fu(t.slug)},[t.slug]);const o=l[t.slug]??0,d=Ou(t,r),u=n3(t);return e.jsxs("div",{className:"flex flex-wrap items-center justify-between pt-4 md:flex-nowrap","data-testid":"tournament-details",children:[e.jsxs("div",{className:"grid w-full grid-cols-2 gap-x-4 gap-y-3 md:flex md:w-auto md:items-center md:gap-8",children:[e.jsx(O0,{title:n("tournaments.details.type"),children:s}),e.jsx(O0,{title:n("tournaments.details.prizePool"),children:ml(((c=t.metadata)==null?void 0:c.totalPrizePool)??0)}),e.jsx(O0,{title:n("tournaments.details.rank"),children:a||n("tournament_all")}),o?e.jsxs("div",{children:[e.jsx("h5",{className:"text-sm text-brandblue-100",children:n("tournaments.details.participants")}
7110),e.jsxs("p",{className:"flex items-center gap-x-3 text-nowrap text-base text-white",children:[e.jsx("span",{children:o}),o>3?e.jsx(Ute,{participantCount:o}):null]})]}):null]}),r?e.jsxs("div",{className:"mt-4 flex w-full items-center gap-2 md:mt-0 md:w-auto",children:[e.jsx(O,{variant:"default","aria-label":n("tournaments.rules"),className:"min-w-10 p-0",onClick:()=>i(Q3,{type:t.type,slug:t.slug}),children:e.jsx(W3,{})}),d||u?e.jsx(sm,{slug:t.slug,tournamentType:t.type,source:"tournament_details"}):null]}):null]})},zte=()=>{var x,p,f,h,b;const{slug:t=""}=as(),[s,a,l,r,i]=C([e3,ZM,WM,KM,te]);if(m.useEffect(()=>(t&&qM(t),()=>YM()),[t]),r)return e.jsx(kt,{to:fi,replace:!0});if(!s)return a?e.jsx(J3,{}):e.jsx("p",{className:"py-10 text-center text-sm text-label-secondary","data-testid":"tournament-detail-missing",children:l?n("global_noRecords"):null});const o=(x=s.metadata)!=null&&x.titleTranslationKey?n(s.metadata.titleTranslationKey):s.name,d=(p=s.metadata)!=null&&p.descriptionTranslationKey?n(s.metadata.descriptionTranslationKey):"",u=(f=s.metadata)!=null&&f.typeTranslationKey?n(s.metadata.typeTranslationKey):"",c=(h=s.metadata)!=null&&h.ranksTranslationKey?n(s.metadata.ranksTranslationKey):"";return e.jsxs("div",{className:"flex flex-col gap-4 pb-10","data-testid":`tournament-detail-${s.slug}`,children:[e.jsx(Li,{name:s.name??"",imageUrl:s.imageUrl??"",prizePool:((b=s.metadata)==null?void 0:b.totalPrizePool)??0,countdown:e.jsx(FE,{tournament:s})}),e.jsx(s2,{as:"h1",html:o,className:"text-3xl font-semibold uppercase text-white",testId:"tournament-title"}),d?e.jsx(s2,{as:"p",html:d,className:"text-brandblue-100"}):null,e.jsx(Vte,{tournament:s,type:u,ranks:c}),e.jsx(TR,{}),e.jsx(QE,{slug:s.slug,tournamentType:s.type,prizeSource:s}),z8(s)?e.jsx(lm,{slug:s.slug}):null,G8(s)?e.jsx(rm,{}):null,Z8(s)&&i?e.jsx(am,{showFullLayout:!0}):null,e.jsx(LR,{}),e.jsx(nm,{})]})},Gte=[1,2,3],Zte=(t,s)=>{if(!t||!s)return null;const a=new Date(d6(t)),l=new Date(d6(s));return Number.isNaN(a.getTime())||Number.isNaN(l.getTime())?null:`${(i=>i.toLocaleDateString("en-GB",{day:"2-digit",month:"short",timeZone:"UTC"}))(a)} â ${l.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",timeZone:"UTC"})}`},u9=({label:t})=>e.jsx("div",{className:"rounded-lg bg-white/20 px-4 py-2 text-sm font-semibold text-white",children:t}),Wte=({tournament:t,games:s,isWager:a})=>{var E,L,B;const[l,r,i,o,d]=C([P8,H8,a3,Iu,te]),u=Y(),c=()=>u(`${fi}/${t.slug}`);m.useEffect(()=>{Fu(t.slug)},[t.slug]);const x=Ou(t,d),p=XM(t,d);m.useEffect(()=>{x&&U8(t.slug)},[t.slug,x]);const f=JM(t),h=QM(t),b=n3(t),v=Zte(t.startsAt,t.endsAt),j=l[t.slug]??!1,y=r.includes(t.slug)||i.includes(t.slug),N=x&&!y&&t.slug in l&&!j,k=o[t.slug]??0,w=k>0&&!N,S=f?n("tournaments.details.participants"):N?n("tournaments.card.you_are_in"):k===0?n("tournaments.card.be_first_to_join"):n("promo.promotions.spinwars.already_joined_cta"),M=eB(s??[]),_=((s==null?void 0:s.length)??0)>M.length,A=f?e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx(u9,{label:n("tournament_finished")}),v?e.jsx("span",{className:"text-xs text-white/70",children:v}):null]}):h&&!t.startsAt?e.jsx(u9,{label:n("tournament_upcoming")}):e.jsx(V3,{tournament:t});return e.jsxs("article",{"data-testid":`tournament-card-${t.slug}`,className:"flex h-full flex-col gap-3 rounded-2xl bg-secondary pb-3",children:[e.jsx(Li,{variant:"small",name:t.name??"",imageUrl:t.imageUrl??"",prizePool:((E=t.metadata)==null?void 0:E.totalPrizePool)??0,countdown:A}),a?e.jsx("div",{className:"h-14 overflow-hidden rounded-xl bg-primary",children:s===void 0?e.jsx("div",{className:"h-14 animate-pulse bg-background-tertiary"}):_?e.jsxs("div",{className:"flex items-stretch",children:[e.jsx("div",{className:"flex flex-1 items-stretch",children:M.map(z=>e.jsx(ce,{src:La(z.urlThumb),alt:z.name,loading:"lazy",className:"h-14 min-w-0 flex-1 object-cover"},z.gameCode))}),e.jsxs("button",{type:"button",onClick:c,className:"bg-brand-tertiary/15 flex w-[112px] shrink-0 flex-col justify-center border-l border-white/10 px-3 text-left",children:[e.jsx("p",{className:"text-2xl font-semibold leading-none text-white",children:tB(s.length)}),e.jsxs("p",{className:"pt-1 text-sm font-semibold leading-tight text-label-secondary",children:[n("global_play")," ",n("global_games")]})]})]}):e.jsx("div",{className:"flex items-center gap-2 p-2",children:M.length?M.map(z=>e.jsx("div",{className:"h-14 w-[calc((100%-1rem)/3)] overflow-hidden rounded-lg",children:e.jsx(ce,{src:La(z.urlThumb),alt:z.name,loading:"lazy",className:"size-full object-cover"})}
7110,z.gameCode)):e.jsx("div",{className:"flex h-14 w-full items-center justify-center text-xs font-medium text-label-secondary",children:n("global_noRecords")})})}):e.jsxs("div",{className:"flex items-center justify-between gap-3 rounded-lg bg-primary px-3 py-2",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-xs text-label-secondary",children:n("tournaments.details.type")}),e.jsx("p",{className:"truncate text-sm font-semibold text-white",children:(L=t.metadata)!=null&&L.typeTranslationKey?n(t.metadata.typeTranslationKey):"-"})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-xs text-label-secondary",children:n("tournaments.details.rank")}),e.jsx("p",{className:"text-sm font-semibold text-white",children:(B=t.metadata)!=null&&B.ranksTranslationKey?n(t.metadata.ranksTranslationKey):n("tournament_all")})]})]}),e.jsxs("div",{className:"mt-auto flex flex-col gap-2",children:[b&&p?e.jsxs(e.Fragment,{children:[e.jsx(sB,{content:n("tournaments.mcp.only_for_agents"),className:"w-full",children:e.jsx(O,{variant:"primary",disabled:!0,className:"w-full",children:n("tournaments.join_tournament")})}),e.jsx(O,{variant:"secondary-clean",className:"w-full",onClick:c,children:n("tournaments.try_now")})]}):p&&!N?e.jsxs(e.Fragment,{children:[e.jsx(O,{variant:"primary",className:"w-full","data-testid":`tournament-cta-join-${t.slug}`,disabled:!j||y,onClick:()=>l3({slug:t.slug,source:"lobby_card"}),children:y?n("global_loading"):j?n("tournaments.join_tournament"):n("promo.promotions.spinwars.already_joined_cta")}),e.jsx(O,{variant:"secondary-clean",className:"w-full",onClick:c,children:n("tournaments.try_now")})]}):e.jsx(O,{variant:"primary",className:"w-full",onClick:c,children:f?n("global_view"):n("tournaments.try_now")}),e.jsx("div",{className:"flex min-h-6 items-center justify-center px-1",children:e.jsxs("div",{className:"flex items-center justify-center gap-1.5",children:[w?e.jsxs("div",{className:"flex items-center pr-2",children:[Gte.map(z=>e.jsx("div",{className:"-mr-2 size-6 rounded-full border border-black-50 bg-secondary",children:e.jsx("img",{src:`/random/${z}.webp`,alt:"",loading:"lazy",className:"size-full rounded-full object-cover"})},z)),e.jsx("div",{className:"-mr-2 rounded-full bg-primary px-2 py-[2px]",children:e.jsxs("span",{className:"text-sm font-medium leading-5 text-label-secondary",children:["+",Du(k)]})})]}):null,e.jsx("p",{className:"text-base font-semibold leading-6 text-label-secondary",children:S}),N?e.jsx("span",{className:"inline-flex size-4 items-center justify-center text-[#54D149]","aria-hidden":"true",children:e.jsx(zE,{})}):null]})})]})]})},Kte=new Set(aB.map(t=>t.toUpperCase())),qte=new Set(nB.map(t=>t.toLowerCase())),Yte=new Set(["SCRIPT","STYLE","IFRAME","OBJECT","EMBED","NOSCRIPT","TEMPLATE"]),Xte=/^(?:https?:|\/|\.\/|#)/i,yp=(t,s)=>{if(t.nodeType===Node.TEXT_NODE)return[s.createTextNode(t.textContent??"")];if(t.nodeType!==Node.ELEMENT_NODE)return[];const a=t;if(Yte.has(a.tagName))return[];const l=[...a.childNodes].flatMap(i=>yp(i,s));if(!Kte.has(a.tagName))return l;const r=s.createElement(a.tagName.toLowerCase());for(const i of[...a.attributes]){const o=i.name.toLowerCase();qte.has(o)&&(o==="src"&&!Xte.test(i.value.trim())||r.setAttribute(o,i.value))}return l.forEach(i=>r.appendChild(i)),[r]},Jte=t=>{if(!t||typeof DOMParser>"u")return"";const s=new DOMParser().parseFromString(t,"text/html"),a=s.createElement("div");return[...s.body.childNodes].flatMap(l=>yp(l,s)).forEach(l=>a.appendChild(l)),a.innerHTML},Qte=()=>{const[t,s,a,l,r,i,o,d,u]=C([lB,rB,iB,oB,cB,dB,V8,uB,mB]),c=!!u&&s.length===0;Qe("meta.tournaments.title","meta.tournaments.description"),m.useEffect(()=>{xB()},[]);const x=n(u6),p=x!==u6,f=m.useMemo(()=>p?Jte(x):"",[x,p]);return e.jsxs("div",{className:"flex flex-col gap-6 pb-10","data-testid":"tournaments-lobby",children:[e.jsxs("section",{className:"relative overflow-hidden rounded-2xl border border-white/10 bg-secondary",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0",children:e.jsx("img",{src:"/tournaments/hero-bg.webp",alt:"","aria-hidden":"true",className:"size-full scale-105 object-cover blur-[10px]"})}),e.jsx("div",{className:"bg-black/25 pointer-events-none absolute inset-0"}),e.jsx("div",{className:"relative flex items-center justify-center px-5 py-10 md:p-[60px]",children:e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center font-gilroy text-[32px]/[32px] font-black uppercase italic md:text-[48px]/[48px]",children:[e.jsx("p",{className:"text-golden",children:n("tournament_lobby_title")}),e.jsx("p",{className:"text-white",children:n("tournament_lobby_subtitle")})]})})]}),e.jsx("div",{className:"no-scrollbar flex overflow-x-auto",children:e.jsx("div",{className:"flex items-center gap-1 rounded-xl bg-primary p-1",children:fB.map(h=>e.jsx("button",{type:"button","data-testid":`tournaments-tab-${h}`,"aria-pressed":t===h,onClick:()=>pB(h),className:g("rounded-lg px-4 py-2 text-sm font-medium transition-colors",t===h?"bg-gradient-primary text-white":"text-label-secondary hover:text-white"),children:n(hB[h])},h))})}),a?e.jsx(J3,{}):null,!a&&c?e.jsx("p",{className:"text-sm text-label-secondary","data-testid":"tournaments-error",children:n("global_error_generic")}):null,!a&&!c&&s.length?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4",children:s.map(h=>e.jsx(Wte,{tournament:h,isWager:m6(h),games:m6(h)?o[h.slug]:[]},h.id))}),r?e.jsx("div",{className:"flex justify-center",children:e.jsx("button",{type:"button","data-testid":"tournaments-load-more",disabled:l,onClick:()=>gB(),className:"rounded-lg border border-white/10 bg-primary px-4 py-2 text-sm font-medium text-white transition hover:bg-secondary disabled:cursor-not-allowed disabled:opacity-60",children:l?n("global_loading"):n("table.load_more")})}):null]}):null,!a&&!c&&!s.length?e.jsx("p",{className:"text-sm text-label-secondary","data-testid":"tournaments-empty",children:i?n("global_noRecords"):null}):null,p?e.jsxs("section",{className:"flex flex-col rounded-xl bg-primary p-4","data-testid":"tournaments-seo",children:[e.jsx("div",{className:g("overflow-hidden whitespace-pre-line text-sm leading-6 text-brandblue-100",!d&&"max-h-[120px]"),dangerouslySetInnerHTML:{__html:f}}),d?null:e.jsx("button",{type:"button","data-testid":"tournaments-seo-showmore",onClick:()=>bB(),className:"mt-3 w-fit text-sm font-medium text-brandblue-100 underline underline-offset-4 transition hover:text-white",children:n("global_showmore")})]}):null,e.jsx(nm,{})]})},ese=t=>{try{const s=t.createBufferSource();
7110s.buffer=t.createBuffer(1,1,t.sampleRate),s.connect(t.destination),s.start(0)}catch{return}},tse=t=>{try{t.stop()}catch{return}},sse=({createContext:t,fetchArrayBuffer:s})=>{let a;const l=new Set,r=new Map,i=new Map,o=new Map,d=()=>{const f=a;f&&r.forEach((h,b)=>{r.delete(b),Promise.resolve().then(()=>f.decodeAudioData(h)).then(v=>{i.set(b,v)}).catch(()=>{})})};return{load:f=>{f.forEach(h=>{l.has(h)||(l.add(h),s(h).then(b=>{r.set(h,b),d()}).catch(()=>{l.delete(h)}))})},unlock:()=>{if(a===void 0)try{a=t()}catch{a=null}a&&(a.state!=="running"&&(a.resume().catch(()=>{}),ese(a)),d())},play:(f,h=0)=>{const b=i.get(f);if(!a||a.state!=="running"||!b)return!1;const v=((Number(a.baseLatency)||0)+(Number(a.outputLatency)||0))*1e3,j=a.createBufferSource();let y=o.get(f);y||(y=new Set,o.set(f,y));const N=y;return j.buffer=b,j.connect(a.destination),N.add(j),j.addEventListener("ended",()=>N.delete(j),{once:!0}),j.start(a.currentTime+Math.max(0,h-v)/1e3),!0},stop:f=>{f.forEach(h=>{const b=o.get(h);b&&(b.forEach(tse),b.clear())})}}},ase=t=>{const s=t==null?void 0:t.audioSession;if(!s)return()=>{};const a=s.type;return s.type="playback",()=>{s.type=a}},nse=()=>{if(typeof window>"u")return null;const t=window.AudioContext??window.webkitAudioContext;return t?new t:null},lse=async t=>{const s=await fetch(t);if(!s.ok)throw new Error(`sfx ${s.status}`);return s.arrayBuffer()},s1=sse({createContext:nse,fetchArrayBuffer:lse}),rse="/assets/block-a-17Igmrfz.webp",ise="/assets/block-b-Ciuyl0OJ.webp",ose="/assets/block-c-CLkGgckY.webp",cse="/assets/block-d-BxBxSGrr.webp",dse="/assets/roof-xzL6PZ_K.webp",use="/assets/0-DvIqPN3b.webp",mse="/assets/1-B7bPxcV9.webp",xse="/assets/2-C9vYp6hT.webp",fse="/assets/3-jaxn31-A.webp",pse="/assets/4-B40_Yd_r.webp",hse="/assets/5-C5UJt00M.webp",gse="/assets/6-uhYsIeUy.webp",bse="/assets/7-B7KWNYCf.webp",Cse="/assets/8-em4osDpZ.webp",jse="/assets/9-CpZZrdv0.webp",vse="/assets/arrow-B-PDwDOH.webp",wse="/assets/dot-CNmfWjsE.webp",yse="/assets/x-D0DnG52i.webp",_se="/assets/city-BljXXNG1.webp",m9="/assets/cone-CSLMZa1g.webp",x9="/assets/container-BNKwLi3D.webp",Nse="/assets/crane-BSzrP55F.webp",Ln="/assets/fence-chain-hrzsXWrm.webp",kse="/assets/fence-sign-ymhN_QyG.webp",f9="/assets/fence-wood-Qv709_u1.webp",Sse="/assets/foundation-FeHJrz_g.webp",Ase="/assets/cloud-a-B6C7mdfY.webp",p9="/assets/cloud-b-TwHhK5Gy.webp",Lse="/assets/moon-BFvEKjs1.webp",Mse="/assets/plane-CzmR6qmN.webp",Bse="/assets/satellite-DLrWLDxG.webp",Zs="/assets/star-a-BrG-mj23.webp",Ws="/assets/star-b-DkQOfA0x.webp",va="/assets/star-c-DvlFfLpm.webp",Ese="/assets/ufo-B9SIfo7O.webp",h9=[rse,ise,ose,cse],_p=dse,Rse=Sse,Tse=Nse,Ise=vse,Fse=_se,g9={0:use,1:mse,2:xse,3:fse,4:pse,5:hse,6:gse,7:bse,8:Cse,9:jse,".":wse,x:yse},Ose=188/476,b9=720,Dse=100,to=108.6957,so=to,$se=92,Pse=338,Hse=64,Np=28,ao=Np+Hse,kp=1700,Use=.4,C9=720,Vse=600,zse=.44,Gse=24,Zse=[{img:Zs,floor:27,left:"10%",w:57},{img:Ws,floor:26.6,left:"50%",w:55},{img:Ws,floor:26.4,left:"85%",w:61},{img:va,floor:26,left:"30%",w:42},{img:Zs,floor:25.4,left:"62%",w:50},{img:Ese,floor:25,left:"78%",w:156},{img:va,floor:25,left:"42%",leftMobile:"5%",w:131},{img:Ws,floor:24.6,left:"68%",w:45},{img:Zs,floor:24,left:"14%",w:129},{img:Ws,floor:24,left:"85%",w:135},{img:Zs,floor:23.5,left:"58%",w:52},{img:Lse,floor:22,left:"-6.3%",leftMobile:"-13%",w:190},{img:va,floor:22.7,left:"30%",leftMobile:"15%",w:129},{img:Ws,floor:23,left:"13%",w:57},{img:Ws,floor:22.4,left:"52%",w:45},{img:Zs,floor:22,left:"82%",w:131},{img:Bse,floor:20,left:"16%",leftMobile:"8%",w:168},{img:va,floor:21.5,left:"70%",w:42}
7110,{img:Zs,floor:21,left:"40%",w:50},{img:Ws,floor:20,left:"71%",w:57},{img:va,floor:20.1,left:"80%",w:129},{img:Zs,floor:19.9,left:"89%",w:57},{img:Ws,floor:20.5,left:"30%",w:42},{img:va,floor:19.5,left:"52%",w:48},{img:va,floor:19,left:"16%",w:61},{img:Zs,floor:18.7,left:"86%",w:50},{img:Mse,floor:16.5,left:"16%",leftMobile:"5%",w:231,wMobile:160},{img:Ws,floor:18,left:"60%",w:42},{img:Zs,floor:16.5,left:"45%",w:50},{img:va,floor:16,left:"30%",w:42},{img:Ase,floor:13.5,left:"16%",leftMobile:"4%",w:195},{img:p9,floor:14.5,left:"66%",w:182},{img:p9,floor:12.5,left:"70%",w:195}],Wse=t=>ao+(t-1)*so+to/2,Kse=[{img:x9,x:-535,bottom:60,w:192},{img:x9,x:-343,bottom:60,w:192},{img:Ln,x:-825,bottom:50,w:218},{img:Ln,x:-640,bottom:50,w:218},{img:Ln,x:-344,bottom:50,w:218},{img:Ln,x:-160,bottom:50,w:218},{img:Ln,x:25,bottom:50,w:218},{img:kse,x:192,bottom:51,w:195},{img:f9,x:358,bottom:51,w:195},{img:f9,x:523,bottom:51,w:195},{img:m9,x:-291,bottom:39,w:52},{img:m9,x:220,bottom:17,w:52}],qse=(t,s,a)=>t?s:a,R1=(t,s)=>(ao+(t-1)*so)*s,j9=(t,s,a)=>{const l=(ao+Math.max(t-1,0)*so+to)*a;return Math.max(0,l-s/2)},Yse=(t,s,a)=>Math.min(t*Use,Math.max(0,kp*a-s)),v9=[0,18,-14,11,-18,9],Xse=.55,Jse=[{dx:20,dy:-14,size:3,delay:0},{dx:34,dy:-4,size:2,delay:25},{dx:16,dy:11,size:2,delay:12},{dx:42,dy:3,size:3,delay:0},{dx:28,dy:-9,size:2,delay:20},{dx:38,dy:13,size:2,delay:8}],Qse=[-1,1].flatMap(t=>Jse.map(s=>({side:t,...s}))),w9=400,eae=500,tae="tower-block-drop",sae=460,aae=40,nae=sae-aae,lae=450,qa=2800,rae=90,iae=500,oae=220,cae=.5,dae=1,uae=22,mae=430,xae=70,Sp=t=>t%2===0?1:-1,y9=t=>Sp(t)*(150+t*53%220),_9=t=>Sp(t)*(220+t*97%260),Ap=(t,s)=>mae+Math.max(0,s-1-t)*xae,fae=(t,s,a)=>Ap(t,s)-Math.max(0,a),N9=80,pae=t=>t===0?1:.62,fr=(t,s)=>t===s?_p:h9[(t-1)%h9.length],ti=t=>v9[t%v9.length],hae=({value:t,height:s,muted:a=!1,dim:l=!1})=>{const r=`${Number(t).toFixed(2).replace(/\.?0+$/,"")}x`.split("");return e.jsx("span",{className:g("tower-digits inline-flex items-end",a&&"tower-digits-muted",l&&"tower-digits-dim"),style:{height:`${s}px`},"data-testid":"tower-multiplier-digits","data-value":t,children:e.jsx("span",{className:"tower-digits-pop inline-flex items-end",style:{gap:`${s*.016}px`},children:r.map((i,o)=>g9[i]?e.jsx("img",{src:g9[i],alt:"",draggable:!1,decoding:"async",className:"tower-pixelated block w-auto",style:{height:`${i==="."?s*Ose:s}px`}},`${i}-${o}`):null)},r.join(""))})},gae=t=>{const{transform:s}=getComputedStyle(t);if(!s||s==="none"||typeof DOMMatrixReadOnly>"u")return 0;const a=new DOMMatrixReadOnly(s);return Math.atan2(a.b,a.a)*180/Math.PI},bae=t=>{var r,i;const s=(i=(r=t==null?void 0:t.getAnimations)==null?void 0:r.call(t)[0])==null?void 0:i.currentTime;if(typeof s!="number")return 240;const a=(s%qa+qa)%qa,l=Math.min(...[qa/4,3*qa/4].map(o=>(o-a+qa)%qa));return Math.max(0,l-rae)},k9={x:0,rot:0,floor:-1},Cae=(t,s,a)=>{const[l,r]=m.useState(-1),[i,o]=m.useState(!0),[d,u]=m.useState(!1),[c,x]=m.useState(0),[p,f]=m.useState(!0),[h,b]=m.useState(!1),[v,j]=m.useState(null),[y,N]=m.useState(!1),[k,w]=m.useState({}),[S,M]=m.useState(k9),_=m.useRef(-1),A=m.useRef(0),E=m.useRef(null),L=m.useRef(null),B=m.useRef(!1),z=m.useRef(!1),le=m.useRef({});B.current=y,z.current=h,le.current=k;const V=m.useCallback(()=>{E.current&&(clearTimeout(E.current),E.current=null)},[]),$=m.useCallback(()=>{L.current&&(clearTimeout(L.current.clear),clearTimeout(L.current.intro),L.current=null)},[]),{boardRef:re,craneSwingRef:K,craneBlockRef:ae,scaleRef:ee}=s,ie=m.useCallback(de=>{const Ce=re.current,Be=ae.current,Ie=K.current,gt=ee.current||1;if(!Ce||!Be||!Ie){w(Me=>({...Me,[de]:ti(de)})),M({x:0,rot:0,floor:de});return}const F=Ce.getBoundingClientRect(),J=Be.getBoundingClientRect(),Re=(J.left+J.width/2-(F.left+F.width/2))/gt,nt=Re*cae;w(Me=>({...Me,[de]:nt})),M({x:(Re-nt)*gt,rot:gae(Ie)*dae,floor:de})},[re,ae,K,ee]),Le=m.useCallback(()=>{w(de=>({...de,1:0})),M({x:0,rot:0,floor:1}),N(!1)},[]);return m.useLayoutEffect(()=>{const de=_.current;if(de===-1){_.current=t,w(Object.fromEntries(Array.from({length:t},(Ce,Be)=>[Be+1,ti(Be+1)])));return}if(t!==de){if(_.current=t,t===de+1){if(B.current&&(V(),Le()),r(t),o(!1),t>1){ie(t);return}if(N(!0),z.current){E.current=setTimeout(()=>{E.current=setTimeout(Le,bae(K.current))},iae);return}E.current=setTimeout(()=>{ie(1),N(!1)},oae);return}t!==0||de<1||(b(!0),o(!1),x(de),u(!0),f(!1),A.current+=1,j({floors:Array.from({length:de},(Ce,Be)=>Be+1),landingX:le.current,topFloor:de,hiddenFloor:a.current.isLose?de:null,crashElapsedMs:a.current.crashing?performance.now()-a.current.startedAt:null,nonce:A.current}),w({}),M(k9),$(),L.current={clear:setTimeout(()=>{u(!1),j(null)},w9),intro:setTimeout(()=>f(!0),w9+eae)})}},[t,ie,Le,V,$,K,a]),m.useEffect(()=>()=>{V(),$()},[V,$]),{droppingFloor:l,craneBlockVisible:i,setCraneBlockVisible:o,clearing:d,clearedTop:c,introReady:p,hadPriorRound:h,clearingTower:v,firstHang:y,landingX:k,dropStart:S}},wa=({src:t,className:s,style:a,pixelated:l=!1})=>e.jsx("img",{src:t,alt:"",draggable:!1,decoding:"async",className:g("block w-full",l&&"tower-pixelated",s),style:a}),jae=t=>{const[s,a]=m.useState(C9);return m.useLayoutEffect(()=>{const l=t.current;if(!l)return;const r=()=>a(l.clientHeight||C9);r();const i=new ResizeObserver(r);return i.observe(l),()=>i.disconnect()},[t]),s},vae=(t,s)=>{const[a,l]=m.useState(!1),[r,i]=m.useState(!1),[o,d]=m.useState(null),u=m.useRef(null),c=m.useRef(s),x=m.useRef({isLose:!1,crashing:!1,startedAt:0});return c.current=s,x.current.isLose=t,m.useEffect(()=>{const p=u.current;if(u.current=t,p!==null){if(t&&!p){x.current.crashing=!0,x.current.startedAt=performance.now(),d(c.current),l(!0),i(!0);return}!t&&p&&(x.current.crashing=!1,x.current.startedAt=0,l(!1),i(!1))}},[t]),{lossFalling:a,crashing:r,lossRef:x,lossSprite:o,clearLossFall:()=>l(!1)}},wae=()=>{const t=m.useRef(null),s=m.useRef(null),a=m.useRef(null),l=jae(t),[r,i,o,d,u,c]=C([CB,jB,Pe.$isPlaying,$u,Pe.$multipliers,vB]),x=i||Gse,p=(l>0?l:b9)/b9,f=l>0&&l<Vse,h=f?zse:1,b=m.useRef(p);b.current=p;const v=Dse*p,j=to*p,y=so*p,N=$se*p,k=Pse*p,w=Np*p,S=ao*p,M=kp*p,{lossFalling:_,crashing:A,lossRef:E,lossSprite:L,clearLossFall:B}=vae(d,fr(r,x)),{droppingFloor:z,craneBlockVisible:le,setCraneBlockVisible:V,clearing:$,clearedTop:re,introReady:K,hadPriorRound:ae,clearingTower:ee,firstHang:ie,landingX:Le,dropStart:de}=Cae(r,{boardRef:t,craneSwingRef:s,craneBlockRef:a,scaleRef:b},E),[Ce,Be]=m.useState(null),[Ie,gt]=m.useState(0),F=x*y+S+j+4*y,J=Array.from({length:r},(D,je)=>je+1),Re=Array.from({length:Math.max(x-1,0)},(D,je)=>x-1-je),nt=qse($,re,r),Me=j9(nt,l,p),Te=ae&&z===1&&!K,Fe=D=>Le[D]??ti(D),bt=D=>(Fe(D)+Fe(D-1))/2,yt=o&&Ie>1&&Ie===r&&Ie<x&&Ie!==(d?r:-1)&&Math.abs(Fe(Ie)-Fe(Ie-1))>=uae?Ie:-1,xa=yt>0?Fe(yt)-Fe(yt-1):0,Ss=Math.sign(xa)*Math.min(1.8,Math.abs(xa)*.055),$a=(o||d)&&r>0,os=D=>{var dt;const je=(dt=u==null?void 0:u[String(D)])==null?void 0:dt.multiplier;return je===void 0?null:Number(je)},Ge=os(r)??c??null,cs=r<x?os(r+1):null,y1=$a?[-1,0,1].map(D=>{const je=r+D;if(je<1||je>x)return null;const dt=D===0?Ge:D===1?cs:os(je);return dt===null?null:{floor:je,offset:D,value:dt}}).filter(D=>D!==null):[],Lt=r+1,As=d||Lt<=x,Rt=z===1&&(Te||ie),Ct=Rt?1:Lt,ds=!d&&Ct<=x?fr(Ct,x):null,Ls=l/2-j*1.5,us=r>2?50*p:0,lo=r-1>2?50*p:0,mn=Ls*74/244,ro=ds===_p?Xse*j:0,io=j9(r-1,l,p),R=Math.max(j*.4,l+io-R1(r,p)-j-(Ls-lo)),_1=d?r:-1,oo=l-Ls+j*2,co=l-R1(_1,p)-j+Me,uo=Math.max(0,co-Ls);return e.jsxs("div",{ref:t,className:"relative h-[440px] w-full overflow-hidden rounded-t-xl bg-black-300 md:h-[720px] md:rounded-none","data-testid":"tower-board","data-current-floor":r,children:[e.jsxs("div",{className:"tower-layer absolute inset-x-0 bottom-0",style:{height:`${M}
7110px`,transform:`translateY(${Yse(Me,l,p)}px)`},children:[e.jsx("div",{className:"tower-sky pointer-events-none absolute inset-0"}),e.jsxs("div",{className:"tower-city-fade absolute inset-x-0 bottom-0 h-[56%]",children:[e.jsx("img",{src:Fse,alt:"",draggable:!1,decoding:"async",className:"absolute inset-0 size-full object-cover object-[center_42%]"}),e.jsx("div",{className:"tower-city-tint pointer-events-none absolute inset-0"})]})]}),e.jsxs("div",{className:"tower-layer absolute inset-x-0 bottom-0",style:{height:`${F}px`,transform:`translateY(${Me}px)`},children:[e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 bg-[#333333]",style:{height:`${N}px`}}),Kse.map((D,je)=>e.jsx(wa,{src:D.img,pixelated:!0,className:"pointer-events-none absolute left-1/2",style:{bottom:`${D.bottom*p}px`,width:`${D.w*p}px`,transform:`translateX(calc(-50% + ${D.x*p}px))`}},`${D.img}-${je}`)),e.jsx(wa,{src:Rse,pixelated:!0,className:"pointer-events-none absolute left-1/2 -translate-x-1/2",style:{bottom:`${w}px`,width:`${k}px`}}),Zse.map((D,je)=>e.jsx(wa,{src:D.img,className:"pointer-events-none absolute",style:{left:f&&D.leftMobile?D.leftMobile:D.left,bottom:`${Wse(D.floor)*p}px`,width:`${(f&&D.wMobile?D.wMobile:D.w)*p}px`,transform:"translateY(50%)"}},`${D.img}-${je}`)),e.jsxs("div",{className:"absolute inset-x-0 bottom-0",children:[ee==null?void 0:ee.floors.filter(D=>D!==ee.hiddenFloor).map(D=>{const je=ee.crashElapsedMs!==null;return e.jsx("div",{className:"tower-block-clearing absolute left-1/2",style:{width:`${v}px`,height:`${j}px`,bottom:`${R1(D,p)}px`,zIndex:D,transform:`translateX(calc(-50% + ${(ee.landingX[D]??ti(D))*p}px))`},children:e.jsx("div",{className:g("tower-block-inner size-full",je&&"is-crashing"),style:{"--crash-x":`${y9(D)*p}px`,"--crash-y":`${l*1.25}px`,"--crash-rot":`${_9(D)}deg`,"--crash-delay":`${fae(D,ee.topFloor,ee.crashElapsedMs??0)}ms`},children:e.jsx(wa,{src:fr(D,x),pixelated:!0,className:"size-full"})})},`clearing-${ee.nonce}-${D}`)}),J.map(D=>{const je=D===z&&!Te&&!(D===1&&ie)&&D===de.floor&&D!==_1,dt=A&&D!==_1;return e.jsx("div",{className:"absolute left-1/2",style:{width:`${v}px`,height:`${j}px`,bottom:`${R1(D,p)}px`,zIndex:D,transform:`translateX(calc(-50% + ${Fe(D)*p}px))`,opacity:D===z&&Te||D===1&&ie||D===_1?0:1},children:e.jsx("div",{className:g("tower-block-inner size-full",je&&"is-dropping",dt&&"is-crashing"),style:{"--drop":`${R}px`,"--drop-x":`${de.floor===D?de.x:0}px`,"--drop-rot":`${de.floor===D?de.rot:0}deg`,"--crash-x":`${y9(D)*p}px`,"--crash-y":`${l*1.25}px`,"--crash-rot":`${_9(D)}deg`,"--crash-delay":`${Ap(D,r)}ms`},onAnimationStart:fa=>{fa.target===fa.currentTarget&&je&&fa.animationName===tae&&Pu(l1.LAND)},onAnimationEnd:fa=>{fa.target!==fa.currentTarget||A||!je||(V(!0),gt(D),Be(xn=>({floor:D,nonce:((xn==null?void 0:xn.nonce)??0)+1})))},children:e.jsx("div",{className:g("tower-block-teeter size-full",D===yt&&"teetering"),style:{"--teeter-deg":`${Ss}deg`},children:e.jsx(wa,{src:fr(D,x),pixelated:!0,className:"size-full"})})})},D)}),Ce&&Ce.floor>0?e.jsxs("div",{children:[e.jsx("div",{className:"tower-contact-glow pointer-events-none absolute left-1/2",style:{bottom:`${R1(Ce.floor,p)-j*.045}px`,width:`${v*.9}px`,height:`${j*.09}px`,zIndex:60,transform:`translateX(calc(-50% + ${bt(Ce.floor)*p}px))`}}),Qse.map((D,je)=>e.jsx("div",{className:"tower-spark pointer-events-none absolute",style:{left:`calc(50% + ${bt(Ce.floor)*p+D.side*v*.45}px)`,bottom:`${R1(Ce.floor,p)}px`,width:`${D.size*p}px`,height:`${D.size*p}px`,marginLeft:`${-D.size*p/2}px`,marginBottom:`${-D.size*p/2}px`,zIndex:61,"--sx":`${D.side*D.dx*p}px`,"--sy":`${D.dy*p}px`,"--sd":`${D.delay}ms`}},je))]},Ce.nonce):null]})]}),As?e.jsx("div",{className:"tower-crane pointer-events-none absolute left-1/2 top-0",style:{width:`${mn}px`,transform:`translate(-50%, ${-us}px)`},children:e.jsxs("div",{ref:s,className:"tower-crane-swing relative",style:{width:`${mn}px`},children:[e.jsx(wa,{src:Tse}),ds&&(le||Rt)?e.jsx("div",{ref:a,className:"absolute left-1/2 -translate-x-1/2",style:{top:`${Ls-ro}px`,width:`${v}px`,height:`${j}px`},children:e.jsx("div",{className:"tower-crane-block-pop size-full",children:e.jsx(wa,{src:ds,pixelated:!0,className:"size-full"})},Ct)}):null]})}):null,_&&L?e.jsx("div",{className:"tower-loss-fall pointer-events-none absolute left-1/2 z-50",style:{to
7110p:`${Ls}px`,width:`${v}px`,height:`${j}px`,"--fall-y":`${oo}px`,"--fall-x":`${130*p}px`,"--loss-drop":`${uo}px`},onAnimationEnd:B,"data-testid":"tower-loss-fall",children:e.jsx(wa,{src:L,pixelated:!0,className:"size-full"})}):null,y1.length?e.jsx("div",{className:"tower-mul-reel pointer-events-none absolute top-1/2 z-40 -translate-y-1/2",style:{left:`max(8px, calc(50% - ${366*h+(f?26:30)}px))`,width:`${400*h}px`,height:`${3*N9*h}px`},"data-testid":"tower-multipliers",children:y1.map(D=>e.jsxs("div",{className:"tower-mul-row absolute left-0 flex items-center",style:{top:`calc(50% - ${37*h}px)`,gap:`${8*h}px`,zIndex:10-Math.abs(D.offset),transform:`translate(${(D.offset===0?18:0)*h}px, ${-D.offset*N9*h}px) scale(${pae(D.offset)})`},children:[e.jsx(hae,{value:D.value,height:74*h,muted:D.offset<0,dim:D.offset>0}),e.jsx("img",{src:Ise,alt:"",draggable:!1,decoding:"async",className:"tower-mul-arrow tower-pixelated block w-auto",style:{height:`${36*h}px`,opacity:D.offset===0?1:0}})]},D.floor))}):null,$a?e.jsxs("div",{className:"pointer-events-none absolute bottom-6 right-4 flex flex-col items-center gap-px md:right-6","data-testid":"tower-progress",children:[e.jsx("div",{className:g("tower-prog-tri",x<=r&&"tower-prog-tri-on")}),Re.map(D=>e.jsx("div",{className:g("tower-prog-sq",D<=r&&"tower-prog-sq-on")},D))]}):null]})},yae=()=>{qe(xe.SILENT),s1.unlock()},_ae=()=>{const[t,s,a]=C([wB,Pe.$isPlaying,Pe.$isFreeBet]),[l,r]=m.useState(!1);return e.jsxs("div",{className:"flex w-full flex-col gap-2.5",children:[e.jsxs("div",{className:"flex h-6 items-center gap-1.5",children:[e.jsx("span",{className:"text-sm font-normal text-brandblue-100 md:text-base",children:n("games.tower.controls.difficulty")}),e.jsxs("div",{className:"relative flex",children:[e.jsx("button",{type:"button",className:"flex text-[#ADAFCE] transition-colors hover:text-white","aria-label":n("games.tower.controls.difficulty"),"data-testid":"tower-difficulty-info",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onFocus:()=>r(!0),onBlur:()=>r(!1),onClick:()=>r(i=>!i),children:e.jsx(Nae,{className:"size-5"})}),l?e.jsx("div",{role:"tooltip",className:"absolute bottom-full left-1/2 z-[500] mb-2 w-[260px] -translate-x-1/2 rounded-md bg-secondary p-2 text-xs text-brandblue-100 shadow-lg",children:n("games.tower.controls.difficultyInfo")}):null]})]}),e.jsx("div",{className:"grid w-full grid-cols-3 rounded-sm bg-black-300",children:Object.values(t2).map(i=>e.jsx(Z,{height:"medium",block:!0,variant:i===t?"NonAccent":"Link",className:i===t?"text-white":void 0,disabled:s||a,testId:`tower-difficulty-${i}`,onClick:()=>yB(i),children:n(`games.tower.difficulty.${i}`)},i))})]})},Nae=t=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",...t,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18.3333C5.39763 18.3333 1.66667 14.6024 1.66667 10C1.66667 5.39763 5.39763 1.66667 10 1.66667C14.6024 1.66667 18.3333 5.39763 18.3333 10C18.3333 14.6024 14.6024 18.3333 10 18.3333ZM10 5.20833C8.61929 5.20833 7.5 6.32762 7.5 7.70833C7.5 8.05351 7.77982 8.33333 8.125 8.33333C8.47018 8.33333 8.75 8.05351 8.75 7.70833C8.75 7.01798 9.30964 6.45833 10 6.45833C10.6904 6.45833 11.25 7.01798 11.25 7.70833C11.25 8.39869 10.6904 8.95833 10 8.95833C9.65482 8.95833 9.375 9.23816 9.375 9.58333V11.25C9.375 11.5952 9.65482 11.875 10 11.875C10.3452 11.875 10.625 11.5952 10.625 11.25V10.1263C11.6997 9.85 12.5 8.87213 12.5 7.70833C12.5 6.32762 11.3807 5.20833 10 5.20833ZM10 14.375C10.4602 14.375 10.8333 14.0019 10.8333 13.5417C10.8333 13.0814 10.4602 12.7083 10 12.7083C9.53976 12.7083 9.16667 13.0814 9.16667 13.5417C9.16667 14.0019 9.53976 14.375 10 14.375Z",fill:"currentColor"})}),kae=()=>{const t=C(Pe.$isAudioOn);return e.jsx("button",{type:"button",className:"hover:opacity-90","aria-label":n("provablyFair.settings.sounds"),"aria-pressed":t,"data-testid":"tower-audio-toggle",onClick:()=>Pe.audioToggled(),children:t?e.jsx(Mf,{variant:"brandblue",className:"size-5"}):e.jsx(Bf,{variant:"red",className:"size-5"})})},Sae=()=>{const[t,s,a,l,r,i,o,d,u,c]=C([Pe.$isPlaying,Pe.$isFreeBet,Pe.$isCashoutAvailable,_B,Pe.$isActionLoading,Pe.$isRequestPending,Pe.$amountError,Pe.$roundResult,Pe.$betCurrency,Pe.$remainingFreebetCount]),x=u===U.WHALE,p=(x?d==null?void 0:d.winAmount:d==null?void 0:d.winAmountInUsd)??0;if(!t)return e.jsxs("div",{className:"flex w-full flex-col items-center gap-y-2",children:[e.jsx(Z,{variant:s?"Green":"Primary",height:"medium",block:!0,className:"md:h-[68px]",disabled:r||!!o,testId:"tower-place-bet",onClick:()=>{yae(),Pe.placeBetFx()},children:e.jsx("span",{className:"line-clamp-1",children:r?e.jsx(xx,{}):s?n("provablyFair.cta.freebet"):n("games.tower.placeBet")})}),s?e.jsx("div",{className:"w-full text-center text-xs text-brandblue-100","data-testid":"tower-remaining-freebets",children:n("provablyFair.cta.remainingFreebetCount",{remainingFreebetCount:c}
7110)}):null]});const f="md:h-[68px] md:flex-1";return e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:flex-row",children:[e.jsx(Z,{variant:"Accent",height:"medium",block:!0,className:f,disabled:i||!a,testId:"tower-cashout",onClick:()=>{s1.unlock(),Pe.cashOutFx()},children:e.jsxs("span",{className:"flex items-center justify-center gap-1 leading-tight md:flex-col md:gap-0.5",children:[e.jsx("span",{children:n("provablyFair.cta.cashout")}),a?e.jsxs("span",{className:"flex items-center gap-0.5","data-testid":"tower-cashout-amount",children:[p,x?e.jsx(Gt,{className:"text-black size-6"}):e.jsx(ln,{className:"text-black size-6"})]}):null]})}),e.jsx(Z,{variant:"Primary",height:"medium",block:!0,className:f,disabled:i||!l,testId:"tower-build",onClick:()=>{s1.unlock(),NB()},children:e.jsx("span",{className:"line-clamp-1",children:n("games.tower.build")})})]})},Aae=()=>{const s=C(kB).slice(0,_i).reverse();return s.length?e.jsxs("div",{className:"relative flex h-8 w-full flex-row items-center justify-start gap-2 after:absolute after:inset-y-0 after:right-0 after:z-battlepass-card after:w-10 after:bg-gradient-to-l after:from-[#141820] after:to-transparent md:justify-end","data-testid":"tower-previous-rolls",children:[e.jsx("div",{className:"text-sm text-slate-400",children:n("games.tower.lastGames")}),s.map((a,l)=>e.jsx("div",{"data-testid":"tower-roll-chip",className:g("inline-flex items-center justify-center gap-2.5 overflow-hidden rounded-3xl px-3 py-1.5 backdrop-blur-3xl",a.winAmount>0?"bg-[#54D14933]":"bg-highlight"),children:e.jsxs("div",{className:g("justify-center text-center text-sm font-semibold leading-tight",a.winAmount>0?"text-green-500":"text-slate-400"),children:[a.multiplier,"x"]})},`${l}-${a.multiplier}`))]}):null},Lae=1e3,Mae=()=>{const[t,s]=C([SB,Pe.$roundResult]);if(!t||!s)return null;const a=s.betCurrency===U.WHALE;return e.jsx("div",{className:"tower-result-scrim absolute inset-0 z-drawer-buttons flex items-center justify-center bg-[rgba(26,30,39,0.8)]","data-testid":"tower-win-modal",children:e.jsxs("div",{className:"tower-win-card flex min-w-40 flex-col items-center justify-center gap-4 roun
7110ded-lg p-3 shadow-lg",children:[e.jsx("div",{className:"text-xl font-semibold text-golden",children:s.isConstrained?e.jsxs("span",{className:"flex flex-col items-center justify-center text-center",children:[e.jsxs("span",{className:"text-2xl font-bold",children:["ð ",n("global_congratulations")," ð"]}),e.jsx("span",{className:"text-sm",children:n("global_win_constrained")})]}):`${n("global_win").toLocaleUpperCase()}!`}),e.jsxs("div",{className:"flex w-full place-items-center justify-center gap-2 rounded-xl bg-[#14182052] py-3 text-center text-green-500",children:[e.jsxs("span",{"data-testid":"tower-win-amount",children:["+",a?s.winAmount:s.winAmountInUsd]}),a?e.jsx(Gt,{className:"size-5 text-green-500"}):e.jsx(ln,{className:"size-5 text-green-500"})]})]})})},Bae=()=>{const t=C($u),[s,a]=m.useState(!1);return m.useEffect(()=>{if(!t){a(!1);return}const l=setTimeout(()=>a(!0),Lae);return()=>clearTimeout(l)},[t]),!t||!s?null:e.jsx("div",{className:"tower-result-scrim absolute inset-0 z-drawer-buttons flex items-center justify-center bg-[rgba(26,30,39,0.8)]","data-testid":"tower-loss-modal",children:e.jsxs("div",{className:"tower-loss-card flex min-h-[116px] min-w-40 flex-col items-center justify-center gap-1 rounded-lg p-3 text-center shadow-lg",children:[e.jsx("span",{className:"text-xl font-semibold text-error",children:n("games.tower.result.title")}),e.jsx("span",{className:"text-sm font-medium text-error opacity-80",children:n("games.tower.result.subtitle")})]})})},Eae="/assets/block-land-DKwMlcOQ.mp3",Rae="/assets/collapse-BuPCqYF2.mp3",S9={BLOCK_LAND:Eae,COLLAPSE:Rae},Tae=()=>e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"tower-how-to-play-modal",children:[e.jsxs("div",{className:"mb-4 flex w-full flex-row items-center gap-x-2 border-b border-primary pb-4",children:[e.jsx(kl,{className:"size-5"}),e.jsx("span",{className:"line-clamp-2 text-pretty text-sm font-semibold text-white",children:n("games.tower.howToPlay.title")})]}),e.jsx("div",{className:"px-4 pb-6 text-brandblue-100",children:n("games.tower.howToPlay.placeholder")})]}),Lp="tower-how-to-play",Iae=$e({component:Tae,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("games.tower.howToPlay.title")}),D0=({label:t,value:s,currency:a})=>e.jsxs("div",{className:"flex w-full flex-row justify-between rounded-lg bg-secondary p-2",children:[e.jsx("div",{className:"text-brandblue-100",children:t}),e.jsxs("div",{className:"flex flex-row place-items-center gap-1 text-white",children:[Ke(s,void 0,2),e.jsx(Zt,{currency:a,className:"size-4"})]})]}),Fae=()=>{const[t,s,a]=C([Pe.$gameConstraints,Pe.$betCurrency,AB]),{closeModal:l}=W(),r=(t==null?void 0:t.betAmountInUsd.min)??0,i=(t==null?void 0:t.betAmountInUsd.max)??0;return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"tower-rules-modal",children:[e.jsx("div",{className:"mb-4 flex w-full flex-row items-center gap-x-2 border-b border-primary pb-4",children:e.jsxs("span",{className:"flex flex-row place-items-center gap-2 text-pretty text-sm font-semibold text-white",children:[e.jsx(Af,{className:"size-5 text-violet"}),n("games.tower.gameRules.bettingRange")]})}),e.jsx("div",{className:"text-brandblue-100",children:n("games.tower.gameRules.bettingRangeDescription",{minBet:`$${Ke(r,void 0,2)}`,maxBet:`$${Ke(i,void 0,2)}`,maxWin:`$${Ke(a,void 0,2)}`})}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(D0,{label:n("games.tower.gameRules.minBet"),value:r,currency:s}),e.jsx(D0,{label:n("games.tower.gameRules.maxBet"),value:i,currency:s}),e.jsx(D0,{label:n("games.tower.gameRules.maxWin"),value:a,currency:s})]}),e.jsx(Z,{variant:"Primary",height:"medium",block:!0,testId:"tower-rules-close",onClick:()=>l(),children:n("games.tower.gameRules.close")})]})},Mp="tower-rules",Oae=$e({component:Fae,wrapperClass:"bg-gunmetal p-5",omitHeader:!1,title:()=>"",accessibleName:()=>n("global_rules")}),Sr={[l1.LAND]:S9.BLOCK_LAND,[l1.WIN]:xe.WIN,[l1.COLLAPSE]:S9.COLLAPSE},Dae={[l1.LAND]:nae,[l1.COLLAPSE]:lae,[l1.WIN]:0},T1=Object.values(Sr),$ae=()=>{const t=C(Pe.$isAudioOn),s=m.useRef(t);s.current=t,m.useEffect(()=>rn(T1,t),[t]),m.useEffect(()=>{t||s1.stop(T1)},[t]),m.useEffect(()=>(mH([xe.SILENT,...T1]),s1.load(T1),ase(typeof navigator>"u"?void 0:navigator)),[]),m.useEffect(()=>{const a=new Set,l=Pu.watch(r=>{const i=Dae[r];if(!s.current||s1.play(Sr[r],i))return;if(!i){qe(Sr[r]);return}const o=setTimeout(()=>{a.delete(o),qe(Sr[r])},i);a.add(o)});return()=>{l(),a.forEach(clearTimeout),Vs(T1),s1.stop(T1)}},[])},Pae=()=>{const{openModal:t}=W(),s=C(ht);return $ae(),e.jsxs("div",{className:g("mx-auto flex w-full max-w-screen-custom-xl flex-col pb-4",s&&"pl-4"),children:[e.jsxs("div",{className:"order-3 flex w-full flex-col justify-between rounded-b-xl rounded-t-none bg-primary px-4 pb-4 md:order-1 md:flex-row md:rounded-b-none md:rounded-t-xl md:border-1 md:border-b-0 md:border-primary md:bg-black-300 md:p-4",children:[e.jsx("div",{className:"mb-4 h-px w-full bg-highlight md:hidden"}),e.jsxs("div",{className:"flex flex-row justify-between gap-x-3",children:[e.jsxs("div",{className:"flex flex-row gap-x-3",children:[e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"gap-x-3",ariaLabel:n("games.tower.gameRules.button"),testId:"tower-rules-button",onClick:()=>t(Mp),children:[e.jsx(Sf,{className:"size-5"}),e.jsx("span",{className:"hidden md:block",children:n("games.tower.gameRules.button")})]}),e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"gap-x-3",ariaLabel:n("provablyFair.title"),testId:"provably-fair-button",onClick:()=>t(on),children:[e.jsx(da,{className:"size-5"}),e.jsx("span",{className:"hidden md:block",children:n("provablyFair.title")})]}),e.jsxs(Z,{variant:"NonAccent",height:"medium",className:"gap-x-3",ariaLabel:n("games.tower.howToPlay.button"),testId:"tower-how-to-play-button",onClick:()=>t(Lp),children:[e.jsx(kl,{className:"size-5"}),e.jsx("span",{className:"hidden md:block",children:n("games.tower.howToPlay.button")})]})]}),e.jsxs("div",{className:"order-first flex flex-row items-center gap-x-3 md:order-last",children:[e.jsx("div",{className:"hidden h-full w-px bg-primary md:block"}),e.jsx(kae,{})]})]}),e.jsx("div",{className:"hidden md:flex",children:e.jsx(Aae,{})})]}),e.jsxs("div",{className:"relative order-1 overflow-hidden rounded-t-xl md:order-2 md:rounded-none",children:[e.jsx(wae,{}),e.jsx(Mae,{}),e.jsx(Bae,{})]}),e.jsxs("div",{className:"order-2 flex flex-col items-end gap-4 bg-primary p-4 md:order-3 md:flex-row md:rounded-b-xl",children:[e.jsx(rl,{}),e.jsx(_ae,{}),e.jsx("div",{className:"order-first w-full md:order-last md:ml-auto md:max-w-[280px]",children:e.jsx(Sae,{})})]})]})},A9=()=>e.jsx(zs,{game:Pe,children:e.jsx(Pae,{})}),Hae=t=>t.hasUsername&&t.username.trim()!==""&&!W2(t.username),Uae=({uuid:t,owner:s})=>`${Ae}/${Hae(s)?encodeURIComponent(s.username):t}`,Qc=t=>Uae({uuid:t.room.uuid,owner:t.owner}
7110),Bp=({roomParam:t,uuid:s,rooms:a})=>{if(!W2(t))return`${Ae}/${encodeURIComponent(t)}`;const l=a.find(r=>r.room.uuid===s);return l?Qc(l):`${Ae}/${s}`},$0="chrome://flags/#enable-experimental-web-platform-features",Vae="chrome://flags/#element-capture",zae=()=>C(p8)?e.jsxs("div",{"data-testid":"need-element-capture",className:"flex w-full items-start gap-3 rounded-md border border-error bg-[rgba(31,35,45,0.6)] bg-gradient-to-r from-[rgba(96,119,242,0.1)] to-[rgba(26,30,39,0)] p-4 text-xs text-brandblue-200 backdrop-blur-md",children:[e.jsx(Z7,{className:"mt-0.5 size-4 shrink-0 text-error"}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("div",{className:"text-sm font-semibold text-white",children:n("tribes.streamer.chrome_recommend.title-strong")}),e.jsxs("div",{className:"text-brandblue-100",children:[n("tribes.streamer.chrome_recommend.first_part")," ",e.jsx("span",{className:"text-blue-400 underline",children:$0})," ",e.jsx("span",{className:"text-blue-400 underline",children:Vae})," ",n("tribes.streamer.chrome_recommend.second_part")]}),e.jsx("button",{type:"button","data-testid":"need-element-capture-copy",onClick:()=>{var s;return void((s=navigator.clipboard)==null?void 0:s.writeText($0).catch(()=>{}))},className:"self-start rounded-md border border-red-500 px-3 py-1.5 font-medium text-white",children:$0})]})]}):null,Gae=2e3,Ep=({shareUrl:t})=>{const[s,a]=m.useState(!1);m.useEffect(()=>{if(!s)return;const i=setTimeout(()=>a(!1),Gae);return()=>clearTimeout(i)},[s]);const l=()=>{var i;(i=navigator.clipboard)==null||i.writeText(t),a(!0)},r=s?n("tribes.room.copied"):n("tribes.room.copyLink");return e.jsxs("button",{type:"button","data-testid":"room-header-copy","aria-label":r,onClick:l,className:"flex shrink-0 items-center justify-center gap-2 overflow-hidden rounded-lg bg-stream-sub-highlight-color px-2.5 py-2.5 text-sm font-medium leading-5 text-white sm:px-4",children:[e.jsx("span",{className:"hidden sm:inline","data-testid":"room-header-copy-label",children:r}),e.jsx("img",{alt:"",src:"/tribes/copy-link.svg",width:20,height:20,className:"block size-5 shrink-0"})]})},L9=({avatarUrl:t,userId:s})=>e.jsx("img",{alt:"",src:fl(t,s),onError:a=>xl(a.currentTarget,s),className:"size-6 shrink-0 rounded-full object-cover"}),M9=t=>t>=0?"text-success":"text-red-400",Rp=()=>{const[t,s,a,l,r]=C([ri,ii,o8,G2,V2]),[i,o]=m.useState(""),d=i.trim().toLowerCase(),u=d?t.filter(c=>c.username.toLowerCase().includes(d)):t;return e.jsxs("div",{className:"flex flex-col gap-3","data-testid":"room-player-list",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("div",{className:"text-sm font-semibold text-white",children:n("tribes.room.table.name")}),e.jsx("input",{"data-testid":"room-player-search",value:i,onChange:c=>o(c.target.value),placeholder:n("tribes.room.playersSearch"),className:"h-8 w-[180px] rounded-md border border-border-navbar bg-primary px-2 text-xs text-white outline-none focus:border-brand-tertiary"})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full min-w-[420px] text-left text-xs",children:[e.jsx("thead",{className:"text-brandblue-100",children:e.jsxs("tr",{children:[e.jsx("th",{className:"py-1.5 font-medium",children:n("tribes.room.table.name")}),e.jsx("th",{className:"py-1.5 font-medium",children:n("tribes.room.table.totalDeposits")}),e.jsx("th",{className:"py-1.5 font-medium",children:n("tribes.room.table.profit")}),e.jsx("th",{className:"py-1.5 font-medium",children:n("tribes.room.table.share")})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{className:"border-t border-primary","data-testid":"room-player-owner",children:[e.jsx("td",{className:"py-2 font-medium text-white",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(L9,{avatarUrl:l.avatarUrl}),e.jsxs("span",{children:[l.name," ",e.jsxs("span",{className:"text-brandblue-100",children:["(",n("tribes.room.host"),")"]})]})]})}),e.jsx("td",{className:"py-2 text-brandblue-100",children:a.deposited}),e.jsx("td",{className:g("py-2",M9(a.balance-a.deposited)),children:(a.balance-a.deposited).toFixed(2)}),e.jsx("td",{className:"py-2 text-brandblue-100",children:Vr(a.percentage)})]}),u.map(c=>e.jsxs("tr",{className:"border-t border-primary","data-testid":"room-player-row",children:[e.jsx("td",{className:"py-2 text-white",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(L9,{avatarUrl:r[c.externalUserId]??c.avatarUrl,userId:c.externalUserId}),e.jsx("span",{children:c.username})]})}),e.jsx("td",{className:"py-2 text-brandblue-100",children:c.deposited}),e.jsx("td",{className:g("py-2",M9(c.balance-c.deposited)),children:(c.balance-c.deposited).toFixed(2)}),e.jsx("td",{className:"py-2 text-brandblue-100",children:Vr(c.percentage)})]},c.uuid))]})]})}),e.jsx("div",{className:"text-xs text-brandblue-100","data-testid":"room-viewers-count",children:s.length>0?`${n("tribes.room.players")}: ${s.length}`:n("tribes.room.noPlayers")})]})},Zae=()=>{const[t,s,a,l]=C([h8,g8,b8,K2]);m.useEffect(()=>{pg()},[]),m.useEffect(()=>{!a&&t.length>0&&C8(t[0].value)},[a,t]),m.useEffect(()=>{!l&&s.length>0&&j8(s[0].value)},[l,s])},Wae=()=>{const[t,s,a,l,r,i,o,d]=C([hg,h8,g8,b8,K2,gg,bg,Cg]);return t?e.jsx("div",{className:"text-sm text-brandblue-100","data-testid":"streamer-devices-loading",children:n("tribes.loadingVideo")}):e.jsxs("div",{className:"flex flex-col gap-3","data-testid":"streamer-device-init","data-permission-error":i,children:[e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:"Camera"}),e.jsxs("select",{"data-testid":"streamer-webcam-select",value:r,onChange:u=>j8(u.target.value),className:"h-10 rounded-lg border border-border-navbar bg-primary px-2 text-sm text-white",children:[a.length===0?e.jsx("option",{value:"",children:"â"}):null,a.map(u=>e.jsx("option",{value:u.value,children:u.title},u.value))]})]}),e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:"Microphone"}),e.jsxs("select",{"data-testid":"streamer-mic-select",value:l,onCh
7110ange:u=>C8(u.target.value),className:"h-10 rounded-lg border border-border-navbar bg-primary px-2 text-sm text-white",children:[s.length===0?e.jsx("option",{value:"",children:"â"}):null,s.map(u=>e.jsx("option",{value:u.value,children:u.title},u.value))]})]}),i?e.jsx("div",{className:"text-xs text-red-400","data-testid":"streamer-permission-error",children:d&&o?"Camera and microphone access are blocked.":d?"Camera access is blocked.":"Microphone access is blocked."}):null]})},Kae=({className:t})=>{const[s,a,l]=C([Y1,cl,q2]),[r,i]=m.useState(""),o=Number.isFinite(Number(r))&&Number(r)>0,d=()=>{jg({uuid:s,amount:Number(r),userCurrency:l}),i("")};return e.jsxs("div",{className:g("flex min-w-0 items-center gap-2",t),"data-testid":"streamer-deposit-control",children:[e.jsx("input",{"data-testid":"streamer-deposit-amount","aria-label":n("tribes.room.addToYourBalance"),inputMode:"decimal",value:r,onChange:u=>i(u.target.value.replace(/[^0-9.]/g,"")),placeholder:"0.00",className:"h-11 w-full min-w-[96px] max-w-[160px] rounded-lg border border-border-navbar bg-primary px-3 text-sm text-white outline-none focus:border-brand-tertiary"}),e.jsx("button",{type:"button","data-testid":"streamer-deposit",disabled:!o,onClick:d,className:"h-11 shrink-0 whitespace-nowrap rounded-lg bg-gradient-primary px-4 text-sm font-medium text-navbar-label-active disabled:opacity-50",children:a>0?n("tribes.room.roomDeposit"):n("tribes.room.addBalance")})]})},ed="size-[18px] shrink-0",qae=()=>e.jsx("svg",{className:ed,viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M19.5581 12.6217C19.5133 10.3771 19.2187 8.10717 18.7356 5.81611C18.342 4.22433 16.9262 2.80661 14.664 2.70278C12.9939 2.64095 12.671 3.49716 10.7787 3.48069C10.2605 3.47767 9.74264 3.47767 9.2244 3.48069C7.3318 3.49716 7.00809 2.64095 5.33876 2.70278C3.07616 2.80661 1.61629 4.22063 1.2657 5.81611C0.782184 8.10717 0.487597 10.3767 0.443166 12.6214C0.432339 14.1843 2.14684 15.224 3.27815 15.2952C5.46347 15.4437 7.19963 11.9756 8.52247 11.9752C9.50853 11.9803 10.4942 11.9806 11.4803 11.9752C12.8035 11.9752 14.5382 15.4441 16.725 15.2955C17.8559 15.2243 19.6149 14.1776 19.5585 12.6217H19.5581ZM7.57076 8.24192H6.55146V9.15928C6.55146 9.54639 6.20274 9.86024 5.77262 9.86024C5.3425 9.86024 4.99377 9.54639 4.99377 9.15928V8.24192H3.97448C3.54436 8.24192 3.19563 7.92806 3.19563 7.54096C3.19563 7.15385 3.54436 6.83999 3.97448 6.83999H4.99377V5.92263C4.99377 5.53552 5.3425 5.22167 5.77262 5.22167C6.20274 5.22167 6.55146 5.53552 6.55146 5.92263V6.83999H7.57076C8.00088 6.83999 8.3496 7.15385 8.3496 7.54096C8.3496 7.92806 8.00088 8.24192 7.57076 8.24192ZM13.8646 9.8599C13.2549 9.87469 12.7479 9.44121 12.7314 8.89281C12.7154 8.34239 13.1974 7.88539 13.8067 7.87127C14.4168 7.8575 14.9246 8.29064 14.9403 8.83971C14.9556 9.38879 14.4743 9.84579 13.8646 9.8599ZM15.7035 7.2103C15.0937 7.22576 14.5856 6.79194 14.5688 6.2432C14.5535 5.69346 15.0348 5.23713 15.6448 5.222C16.2557 5.20756 16.7627 5.64137 16.7791 6.19045C16.7952 6.73918 16.3128 7.19652 15.7035 7.2103Z",fill:"currentColor"})}),Yae=()=>e.jsx("svg",{className:ed,viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:e.jsx("path",{d:"M2.25 3.75C2.25 2.78333 3.03333 2 4 2C4.96667 2 5.75 2.78333 5.75 3.75C5.75 4.71667 4.96667 5.5 4 5.5C3.03333 5.5 2.25 4.71667 2.25 3.75ZM2 8.675C1.68333 9.025 1.5 9.49167 1.5 10C1.5 10.5083 1.68333 10.975 2 11.325V8.675ZM6.50833 7.13333C5.58333 7.95833 5 9.15833 5 10.5C5 11.575 5.375 12.5583 6 13.325V14C6 14.55 5.55 15 5 15H3C2.45 15 2 14.55 2 14V13.1667C0.816667 12.6 0 11.4 0 10C0 8.06667 1.56667 6.5 3.5 6.5H4.5C5.25 6.5 5.94167 6.73333 6.50833 7.13333ZM14 14V13.325C14.625 12.55 15 11.5667 15 10.5C15 9.16667 14.4167 7.95833 13.4917 7.13333C14.0583 6.73333 14.75 6.5 15.5 6.5H16.5C18.4333 6.5 20 8.06667 20 10C20 11.4 19.1833 12.6 18 13.1667V14C18 14.55 17.55 15 17 15H15C14.45 15 14 14.55 14 14ZM14.25 3.75C14.25 2.78333 15.0333 2 16 2C16.9667 2 17.75 2.78333 17.75 3.75C17.75 4.71667 16.9667 5.5 16 5.5C15.0333 5.5 14.25 4.71667 14.25 3.75ZM18 8.675V11.325C18.3167 10.975 18.5 10.5083 18.5 10C18.5 9.49167 18.3167 9.025 18 8.675ZM10 2C11.1083 2 12 2.89167 12 4C12 5.10833 11.1083 6 10 6C8.89167 6 8 5.10833 8 4C8 2.89167 8.89167 2 10 2ZM7.5 10.5C7.5 11.0083 7.69167 11.4667 8 11.825V9.175C7.69167 9.525 7.5 9.99167 7.5 10.5ZM12 9.175V11.825C12.3167 11.475 12.5 11.0083 12.5 10.5C12.5 9.99167 12.3083 9.525 12 9.175ZM14 10.5C14 11.9 13.1833 13.1 12 13.6667V15C12 15.55 11.55 16 11 16H9C8.45 16 8 15.55 8 15V13.6667C6.81667 13.1 6 11.9 6 10.5C6 8.56667 7.56667 7 9.5 7H10.5C12.4333 7 14 8.56667 14 10.5Z",fill:"currentColor"})}),Xae=()=>e.jsx("svg",{className:ed,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,
7110children:e.jsx("path",{d:"M14.2501 7.5L3.75013 7.5M14.2501 7.5L15.6482 9.83019C15.9616 10.3524 16.1182 10.6135 16.1996 10.8946C16.2717 11.1437 16.3002 11.4033 16.2839 11.6621C16.2654 11.9541 16.1691 12.243 15.9765 12.8208L15.8207 13.2884C15.5256 14.1736 15.3781 14.6162 15.1044 14.9434C14.8628 15.2323 14.5525 15.456 14.2019 15.5939C13.805 15.75 13.3384 15.75 12.4054 15.75L5.59486 15.75C4.66181 15.75 4.19528 15.75 3.79832 15.5939C3.44778 15.456 3.13747 15.2323 2.89583 14.9434C2.62219 14.6162 2.47466 14.1736 2.1796 13.2884L2.02373 12.8208C1.83114 12.243 1.73484 11.9541 1.71639 11.6621C1.70004 11.4033 1.72854 11.1437 1.80064 10.8946C1.88201 10.6135 2.03867 10.3524 2.35201 9.83019L3.75013 7.5M14.2501 7.5L14.5631 6.40466C14.7114 5.88537 14.7856 5.62573 14.7274 5.42031C14.6763 5.24036 14.5599 5.08599 14.4009 4.98747C14.2194 4.875 13.9493 4.875 13.4093 4.875L4.591 4.875C4.05093 4.875 3.7809 4.875 3.59939 4.98747C3.44039 5.08599 3.32395 5.24036 3.2729 5.42031C3.21462 5.62573 3.28881 5.88537 3.43717 6.40467L3.75013 7.5M9.00013 4.875H6.34834C5.95762 4.875 5.5829 4.71696 5.30662 4.43566C5.03034 4.15436 4.87513 3.77282 4.87513 3.375C4.87513 2.97718 5.03034 2.59564 5.30662 2.31434C5.5829 2.03304 5.95762 1.875 6.34834 1.875C8.41084 1.875 9.00013 4.875 9.00013 4.875ZM9.00013 4.875H11.6519C12.0426 4.875 12.4174 4.71696 12.6936 4.43566C12.9699 4.15436 13.1251 3.77282 13.1251 3.375C13.1251 2.97718 12.9699 2.59564 12.6936 2.31434C12.4174 2.03304 12.0426 1.875 11.6519 1.875C9.58941 1.875 9.00013 4.875 9.00013 4.875Z",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),P0=({glyph:t,label:s,value:a,isMuted:l=!1,testId:r})=>e.jsxs("div",{className:"flex min-w-[130px] flex-col gap-1 xl:min-w-[150px]",children:[e.jsxs("span",{className:"flex items-center gap-1.5 whitespace-nowrap text-xs font-medium text-brandblue-100",children:[e.jsx("span",{className:"text-info",children:t}),s]}),e.jsx("span",{"data-testid":r,className:g("truncate text-left text-base",l?"text-stream-non-accent-color":"font-semibold text-white"),children:a})]}),Jae=()=>e.jsxs("div",{"data-testid":"room-info-checklist",className:"flex shrink-0 flex-col gap-1",children:[e.jsx("div",{className:"text-xs font-medium text-brandblue-100",children:n("tribes.room.infoBar.startChecklist.title")}),e.jsx("div",{className:"flex items-center gap-1.5",children:[1,2,3].map(t=>e.jsxs("span",{className:"flex h-7 items-center gap-1.5 whitespace-nowrap rounded bg-primary pl-1 pr-2 text-xs text-stream-non-accent-color",children:[e.jsx("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-gunmetal text-[11px]",children:t}),n(`tribes.room.infoBar.startChecklist.step${t}`)]},t))})]}),Qae=()=>e.jsxs("svg",{width:"93",height:"51",viewBox:"0 0 93 51",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"shrink-0","data-testid":"room-info-select-game","aria-hidden":!0,children:[e.jsx("path",{d:"M56.1696 45.0562L52.4922 41.3788L51.3692 42.5018C50.2195 43.6515 49.6447 44.2263 49.0268 44.0906C48.409 43.9549 48.128 43.1921 47.5659 41.6665L45.6913 36.5782C44.57 33.5347 44.0093 32.013 44.7936 31.2287C45.578 30.4443 47.0997 31.005 50.1432 32.1263L55.2314 34.0009C56.7571 34.563 57.5199 34.844 57.6556 35.4618C57.7913 36.0797 57.2165 36.6545 56.0668 37.8042L54.9438 38.9272L58.6212 42.6046C59.002 42.9854 59.1924 43.1758 59.2804 43.3882C59.3977 43.6713 59.3977 43.9895 59.2804 44.2727C59.1924 44.4851 59.002 44.6755 58.6212 45.0562C58.2405 45.437 58.0501 45.6274 57.8377 45.7154C57.5545 45.8327 57.2363 45.8327 56.9532 45.7154C56.7408 45.6274 56.5504 45.437 56.1696 45.0562Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M66.6406 4.71802C69.2462 4.71802 71.3593 6.83022 71.3594 9.43579V36.5637C71.3594 39.1692 69.247 41.2822 66.6416 41.2825H59.8008L57.4453 38.927C57.9365 38.4359 58.4259 37.9429 58.7637 37.4875C59.1489 36.968 59.614 36.135 59.3828 35.0823C59.1515 34.0298 58.3799 33.4687 57.8125 33.1584C57.2718 32.8629 56.5501 32.6017 55.8428 32.3411L50.7549 30.4661C49.2897 29.9263 48.0029 29.4481 46.9883 29.2327C46.0686 29.0375 44.7823 28.9257 43.7461 29.7913L43.542 29.9778C42.4751 31.0447 42.5887 32.443 42.7969 33.4241C43.0122 34.4387 43.4904 35.7254 44.0303 37.1907L45.5381 41.2825H25.3594C22.7537 41.2825 20.6406 39.1694 20.6406 36.5637V9.43579C20.6407 6.83022 22.7538 4.71802 25.3594 4.71802H66.6406Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M44.7936 31.2287C45.578 30.4443 47.0997 31.005 50.1432 32.1263L55.2314 34.0009L56.2344 34.3801C57.0986 34.7252 57.5538 34.9986 57.6556 35.4618C57.7913 36.0797 57.2165 36.6545 56.0668 37.8042L54.9438 38.9272L57.2988 41.2825H47.4238L45.6913 36.5782C44.57 33.5347 44.0093 32.013 44.7936 31.2287Z",fill:"#ADAFCE"}),e.jsx("path",{d:"M76.0771 9.43572C76.0771 6.83007 78.1894 4.71777 80.7951 4.71777H92.59V41.2819H80.7951C78.1894 41.2819 76.0771 39.1696 76.0771 36.5639V9.43572Z",fill:"url(#roomInfoSelectGameRight)"}),e.jsx("path",{d:"M16.5122 36.5643C16.5122 39.1699 14.3999 41.2822 11.7943 41.2822L-0.000614166 41.2822L-0.00061097 4.71812L11.7943 4.71812C14.3999 4.71812 16.5122 6.83042 16.5122 9.43607L16.5122 36.5643Z",fill:"url(#roomInfoSelectGameLeft)"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"roomInfoSelectGameRight",x1:"92.59",y1:"22.9998",x2:"76.0771",y2:"22.9998",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#ADAFCE",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#ADAFCE"})]}),e.jsxs("linearGradient",{id:"roomInfoSelectGameLeft",x1:"-0.000612568",y1:"23.0002",x2:"16.5122",y2:"23.0002",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#ADAFCE",stopOpacity:"0"}),e.jsx("stop",{offset:"1",stopColor:"#ADAFCE"})]})]})]}),e1e=({gameCode:t,onChangeGame:s})=>{const[a,l,r,i,o]=C([ct,Aa,vg,cl,Y1]),d=t?$s(a,t.trim()):void 0,u=r.filter(x=>x.isActive).length,c=()=>{o&&v8(o),s()};return e.jsxs("div",{"data-testid":"room-info-bar","data-is-live":l,className:"mt-4 flex w-full flex-wrap items-center gap-x-4 gap-y-2 rounded-xl bg-gunmetal px-4 py-2 xl:gap-x-6",children:[l?null:e.jsx(Jae,{}),l&&!d?e.jsx(Qae,{}):null,d?e.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[e.jsx("button",{type:"button","data-testid":"room-info-change-game",onClick:c,className:"h-12 rounded-lg bg-primary px-4 text-sm font-medium text-white",children:n("tribes.room.changeGame")}),e.jsx(ce,{className:"h-12 w-16 rounded-md object-cover",src:d.urlThumb,alt:d.name,loading:"lazy"})]}):null,e.jsx(P0,{glyph:e.jsx(qae,{}),label:n("tribes.room.infoBar.game"),value:d?d.name:n("tribes.room.infoBar.gameNone"),isMuted:!d,testId:"room-info-game"}),e.jsx(P0,{glyph:e.jsx(Yae,{}),label:n("tribes.room.infoBar.viewers"),value:String(u),testId:"room-info-viewers"}),e.jsx(P0,{glyph:e.jsx(Xae,{}),label:n("tribes.room.infoBar.totalBalance"),value:Ur(i),testId:"room-info-balance"}),e.jsx(Kae,{className:"ml-auto"})]})},t1e={kind:"lobby"},s1e=()=>[t1e],a1e=t=>t[t.length-1],Mn=(t,s)=>[...t,s],n1e=t=>t.length>1?t.slice(0,-1):t,Tp=(t,s)=>t.filter(a=>s(a)),l1e=(t,s)=>t.map(a=>({...a,slug:a.slug??a.name,games:Tp(a.games,s)})).filter(a=>a.games.length>0),r1e=(t,s)=>t.map(a=>({...a,games:Tp(a.games,s)})).filter(a=>a.games.length>0),i1e=(t,s)=>t.some(a=>
7110a.slug===s),o1e=(t,s)=>{const a=new Map(t.map(l=>[l.gameCode,l]));return s.map(l=>a.get(l)).filter(l=>!!l)},c1e=1e4,Ip=i8.STREAM_USDT,d1e=t=>t.isLive&&t.hasFrameRef?t.hasAttempted?{kind:"idle"}:{kind:"attempt",showUserPrompt:!0}:t.hasFrameStream?{kind:"stop"}:{kind:"idle"},u1e=t=>t.isLive&&t.hasFrameRef&&!t.hasFrameStream?{kind:"retry",showUserPrompt:!1}:{kind:"clear"},m1e=t=>({uuid:t.uuid,data:{webcam:t.webcamSourceId.length>0,frame:t.frameStatus}}),x1e=(t,s,a)=>{const l=t.trim();return l?a?s?{kind:"original",gameCode:l}:{kind:"game",gameCode:l}:{kind:"game-waiting",gameCode:l}:{kind:"lobby"}},f1e=t=>{const s=Xn(t.trim());return!s||!s.startsWith(`${xt}/`)?null:`${Nt}/${s.slice(xt.length+1)}`},p1e=["nlc_"],Fp=(t,s)=>{const a=t.trim();return a===Mt.WhaleRoulette&&!s?!1:!p1e.some(l=>a.startsWith(l))},h1e=t=>t.isLive&&t.showWebcam&&t.hasVideoTrack,g1e=({onSelect:t})=>{const[s,a,l]=C([ct,H7,Aa]),[r,i]=m.useState(s1e),o=ma(Cs.CasinoTribe);m.useEffect(()=>{$3(),hl()},[]);const d=ke(Se.WhaleRoulette),u=v=>Fp(v,d),c=l1e((o==null?void 0:o.categories)??[],u),x=r1e(a[LB.Tribes]??[],u),p=a1e(r),f=()=>i(n1e),h=v=>t(v.gameCode),b=v=>o1e(s,v).map(j=>j.gameCode);if(p.kind==="category")return e.jsx("div",{className:"mt-6","data-testid":"tribes-picker","data-picker-view":"category",children:e.jsx(Fa,{gameCodes:b(p.gameCodes),title:p.title,onBack:f,onSelectGame:h})});if(p.kind==="providers")return e.jsxs("div",{className:"mt-6 flex flex-col gap-y-6","data-testid":"tribes-picker","data-picker-view":"providers",children:[e.jsx(h1,{title:n("providersSection_title"),onBack:f}),e.jsx(Cp,{providers:x,onSelect:v=>i(j=>Mn(j,{kind:"provider",slug:v}))})]});if(p.kind==="provider"){const v=x.find(j=>j.slug===p.slug);return e.jsx("div",{className:"mt-6 flex flex-col gap-y-6","data-testid":"tribes-picker","data-picker-view":"provider",children:v?e.jsx(Fa,{gameCodes:b(v.games),title:v.name,onBack:f,onSelectGame:h}):e.jsx(h1,{title:p.slug,onBack:f})})}return e.jsxs("div",{className:"mt-6 flex flex-col gap-y-[30px]","data-testid":"tribes-picker","data-picker-view":"lobby",children:[e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("div",{className:"text-base font-semibold text-white",children:n("tribes.room.selectGame")}),l?null:e.jsx("div",{className:"text-xs text-brandblue-100","data-testid":"tribes-picker-start-hint",children:n("tribes.room.startToLoadGame")}),e.jsx(yl,{placeholder:n("global_search_placeholder"),onSelectGame:t,onSelectProvider:v=>i(j=>Mn(j,{kind:"provider",slug:v})),filterResult:v=>v.resultType==="provider"?i1e(x,v.slug):u(v.gameCode)})]}),c.map(v=>e.jsx(ua,{title:S2(v),gameCodes:v.games,onSelectGame:h,onViewAll:()=>i(j=>Mn(j,{kind:"category",slug:v.slug,title:S2(v),gameCodes:v.games}))},v.slug)),e.jsx(Ec,{providers:x,onViewAll:()=>i(v=>Mn(v,{kind:"providers"})),onSelectProvider:v=>i(j=>Mn(j,{kind:"provider",slug:v}))})]})},Op="allow-top-navigation allow-scripts allow-popups allow-forms allow-pointer-lock allow-same-origin",b1e="relative mx-auto w-full max-w-[calc((100dvh_-_320px)*16/9)] overflow-hidden aspect-[16/9]",C1e=({frameRef:t})=>{var c;const[s,a,l,r]=C([wg,ct,uu,Aa]),[i,o]=m.useState("");m.useEffect(()=>{const x=s.trim();x&&(Ir(x)||a.some(p=>p.gameCode===x))&&o(s)},[s,a]);const d=x1e(i,Ir(i.trim()),r),u=d.kind==="game"?d.gameCode:"";return m.useEffect(()=>{$3()},[]),m.useEffect(()=>{u&&T3({currency:Ip,gameCode:u})},[u]),e.jsxs("div",{className:"flex w-full flex-col","data-testid":"streamer-frame","data-frame-content":d.kind,children:[e.jsxs("div",{className:b1e,children:[e.jsxs("div",{ref:t,className:"size-full overflow-hidden bg-black-50",style:{isolation:"isolate"},"data-testid":"streamer-frame-capture-target",children:[d.kind==="lobby"?e.jsx(j1e,{}):null,d.kind==="game"?e.jsx(w1e,{gameCode:d.gameCode,url:l[d.gameCode]}):null,d.kind==="game-waiting"?e.jsx(v1e,{label:((c=a.find(x=>x.gameCode===d.gameCode))==null?void 0:c.name)??d.gameCode}):null,d.kind==="original"?e.jsx(y1e,{gameCode:d.gameCode}):null]}),d.kind==="lobby"?e.jsx("div",{className:"absolute inset-0 overflow-y-auto overscroll-contain bg-black-50 px-4 pb-4","data-testid":"streamer-frame-picker",children:e.jsx(g1e,{onSelect:x=>o(x)})}):null]}),e.jsx(e1e,{gameCode:i,onChangeGame:()=>o("")})]})},j1e=()=>e.jsxs("div",{className:"flex size-full flex-col items-center justify-center gap-1 p-4 text-center","data-testid":"streamer-frame-lobby",children:[e.jsx("div",{className:"text-base font-semibold text-white",children:n("tribes.room.selectGame")}),e.jsx("div",{className:"text-xs text-brandblue-100",children:n("tribes.room.selectedGameNone")})]}),v1e=({label:t})=>e.jsxs("div",{className:"flex size-full flex-col items-center justify-center gap-1 p-4 text-center","data-testid":"streamer-frame-game-waiting",children:[e.jsxs("div",{className:"text-base font-semibold text-white",children:[n("tribes.room.selectedGame"),": ",t]}),e.jsx("div",{className:"text-xs text-brandblue-100",children:n("tribes.room.startToLoadGame")})]}),w1e=({gameCode:t,url:s})=>s!==void 0?s?e.jsx("iframe",{src:s,title:t,"data-testid":"streamer-frame-game-iframe",className:"size-full bg-black-50",frameBorder:"0",allowFullScreen:!1,sandbox:Op},t):e.jsxs("div",{className:"flex size-full flex-col items-center justify-center gap-2 text-center text-white","data-testid":"streamer-frame-game-failed",children:[e.jsx("div",{className:"font-medium",children:n("global_not_available")}),e.jsx("button",{type:"button","data-testid":"streamer-frame-game-retry",onClick:()=>T3({currency:Ip,gameCode:t}),className:"text-xs font-medium text-white underline",children:n("tribes.room.retryLoadGame")})]}):e.jsx("div",{className:"flex size-full items-center justify-center","data-testid":"streamer-frame-game-loading",children:e.jsx("div",{className:"size-8 animate-spin rounded-full border-b-2 border-white"})}),y1e=({gameCode:t})=>{const s=C(Y1),a=Fp(t,ke(Se.WhaleRoulette))?f1e(t):null;return m.useEffect(()=>{if(!(!s||!a))return yg({uuid:s,gameCode:t}),()=>{v8(s)}},[s,t,a]),a?e.jsx("iframe",{src:a,title:t,"data-testid":"streamer-frame-original-iframe",className:"size-full bg-black-50",frameBorder:"0",allowFullScreen:!1,sandbox:Op},t):e.jsxs("div",{className:"flex size-full flex-col items-center justify-center gap-1 text-center text-white","data-testid":"streamer-frame-original",children:[e.jsx("div",{className:"text-base font-semibold",children:n("tribes.room.playing")}),e.jsx("div",{className:"text-xs text-brandblue-100",children:t})]})},Dp=({testId:t,children:s})=>e.jsx(na,{ariaLabel:n("tribes.streamer.settings"),testId:t,trigger:e.jsx(Nl,{className:"size-5"}
7110),align:"end",panelClassName:"w-[300px] gap-y-4",children:s}),_1e=()=>{const[t,s,a,l]=C([_g,Ng,w8,y8]);return e.jsxs(Dp,{testId:"streamer-settings",children:[e.jsx(Wae,{}),e.jsx(Ds,{label:n("tribes.streamer.settings.webcam"),toggled:a,testId:"streamer-webcam-toggle",onToggle:()=>kg(!a)}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"text-sm text-brandblue-100",children:n("tribes.streamer.settings.microphone")}),e.jsx("button",{type:"button","data-testid":"streamer-mic-mute","aria-pressed":s,onClick:()=>Sg(!s),className:"text-xs font-medium text-white underline",children:s?n("tribes.streamer.settings.unmute"):n("tribes.streamer.settings.mute")})]}),e.jsx("input",{type:"range",min:0,max:100,"data-testid":"streamer-mic-volume",value:t,onChange:r=>Ag(Number(r.target.value)),className:"accent-brand-tertiary"})]}),e.jsx("div",{className:"text-[11px] text-brandblue-100","data-testid":"streamer-credentials",children:l.dolbyName?`DOLBY ${l.dolbyName}`:l.nanostreamFrameId?`NANOSTREAM ${l.nanostreamFrameId}`:"â"})]})},B9=({className:t})=>{const[s,a,l]=C([Aa,w8,Lg]),r=m.useRef(null),i=m.useMemo(()=>(l==null?void 0:l.getVideoTracks().some(d=>d.readyState==="live"))??!1,[l]),o=h1e({isLive:s,showWebcam:a,hasVideoTrack:i});return m.useEffect(()=>{const d=r.current;d&&(o&&l?(d.srcObject=l,d.play().catch(()=>{})):d.srcObject=null)},[o,l]),o?e.jsx("div",{"data-testid":"streamer-webcam-preview",className:g("aspect-video w-[220px] overflow-hidden rounded-lg border border-primary bg-black-50 shadow-lg",t),children:e.jsx("video",{ref:r,autoPlay:!0,playsInline:!0,muted:!0,className:"pointer-events-none size-full object-cover"})}):null},N1e=t=>{const{isStreamer:s,session:a,credentials:l}=t;return s?{tokenConnection:l.tokenConnection,tokenSubscription:l.tokenSubscription,canSubscribe:l.id>0&&!!l.tokenConnection}:{tokenConnection:a.tokenConnection,tokenSubscription:a.tokenSubscription,canSubscribe:!!a.tokenConnection}},k1e=t=>`room:${t}`,S1e=t=>{if(typeof t!="object"||t===null)return null;const s=t.data;return typeof s!="object"||s===null||typeof s.type!="string"?null:s};let Ot=null,Bn=null;const A1e=({roomUuid:t,tokenConnection:s})=>`${t}::${s}`,On=()=>{if(!Ot)return;const{connection:t}=Ot;Ot=null,Mg(t)},L1e=async t=>{const s=A1e(t);if((Ot==null?void 0:Ot.key)===s)return{close:On};if(Bn&&(await Bn,(Ot==null?void 0:Ot.key)===s))return{close:On};On();const a=(async()=>{const l=await n8({socketUrl:t.socketUrl,connectionToken:t.tokenConnection,subscriptionToken:t.tokenSubscription,channelName:k1e(t.roomUuid),contextId:"RoomEvents",handlers:{onPublication:r=>{const i=S1e(r.data);i&&t.onMessage(i)}}});l&&(Ot={key:s,connection:l})})();Bn=a;try{await a}finally{Bn===a&&(Bn=null)}return(Ot==null?void 0:Ot.key)===s?{close:On}:null},$p=(t,{isStreamer:s})=>{const[a,l,r,i,o]=C([dl,mi,Bg,y8,Je]);m.useEffect(()=>{!t||!o||(Eg(),Rg({uuid:t,isStreamer:s}),Tg(t))},[t,s,o]);const{tokenConnection:d,tokenSubscription:u,canSubscribe:c}=N1e({isStreamer:s,session:l,credentials:i});m.useEffect(()=>{if(!(!t||!c))return L1e({socketUrl:Ig(),roomUuid:t,tokenConnection:d,tokenSubscription:u,onMessage:Fg}),On},[t,c,d,u]),m.useEffect(()=>{if(r!==null)return MB({id:r,name:a.name,slug:`tribe-${t??""}`}),i3(r),()=>{BB()}},[r,a.name,t])},M1e=({frameRef:t})=>{const[s,a,l,r,i]=C([Y1,Aa,fd,Og,K2]),[o,d,u]=C([Dg,$g,Pg]),c=m.useRef(!1),x=m.useRef(null),p=t.current;m.useEffect(()=>{const f=()=>{x.current&&(clearInterval(x.current),x.current=null)},h=d1e({isLive:a,hasFrameRef:!!p,hasFrameStream:!!l,hasAttempted:c.current});return h.kind==="attempt"&&p&&(c.current=!0,o({frameRef:p,showUserPrompt:h.showUserPrompt})),h.kind==="stop"&&(d(),c.current=!1),a||(c.current=!1),a&&p&&!l?x.current||(x.current=setInterval(()=>{const b=u1e({isLive:Aa.getState(),hasFrameRef:!!t.current,hasFrameStream:!!fd.getState()});if(b.kind==="clear"||!t.current){f();return}o({frameRef:t.current,showUserPrompt:b.showUserPrompt})},c1e)):f(),f},[a,p,l,t,o,d]),m.useEffect(()=>{const f=setTimeout(()=>{u(m1e({uuid:s,webcamSourceId:i,frameStatus:r}))},1e3);return()=>clearTimeout(f)},[s,i,r,u])},B1e=()=>{const{roomId:t}=as(),s=Y(),[a,l,r,i,o,d]=C([dl,Aa,cl,ri,Hg,p8]),u=C(q2),c=C(Y1),x=C(z2),p=C(om),f=Us(),[h,b]=m.useState(!1),[v,j]=m.useState(!1);$p(t,{isStreamer:!0}),Zae();const y=m.useRef(null);if(M1e({frameRef:y}),m.useEffect(()=>{X("Tribes Streaming Page")},[]),m.useEffect(()=>Ug.watch(()=>s(Ae)),[s]),m.useEffect(()=>Vg.watch(k=>{be({level:"error",title:n("notification.toast.error.title"),body:k==="insufficient-balance"?n("tribes.room.startFailedNoFunds"):n("tribes.room.startFailed")})}),[]),m.useEffect(()=>zg.watch(k=>{be({level:"error",title:n("notification.toast.error.title"),body:k==="insufficient-balance"?n("tribes.errors.deposit.insufficient_balance"):n("errors.generic")})}),[]),m.useEffect(()=>{aa.getState()||P3(pt.Chat)},[]),m.useEffect(()=>{const k=()=>{window.history.pushState(null,"",window.location.href),!EE()&&b(!0)};window.history.pushState(null,"",window.location.href),window.addEventListener("popstate",k);const w=()=>_o();return window.addEventListener("beforeunload",w),()=>{window.removeEventListener("popstate",k),window.removeEventListener("beforeunload",w),_o()}},[]),o)return e.jsxs("div",{className:"flex flex-col items-center gap-3 py-16 text-center","data-testid":"tribe-streamer-error",children:[e.jsx("div",{className:"text-lg font-semibold text-white",children:o}),e.jsx("button",{type:"button",className:"h-11 rounded-lg bg-gradient-primary px-8 text-sm font-medium text-navbar-label-active",onClick:()=>s(Ae),children:n("tribes.lobby.no_rooms.cta")})]});const N=t&&typeof window<"u"?`${window.location.origin}
7110${Bp({roomParam:t,uuid:t,rooms:x})}`:null;return e.jsxs("div",{"data-testid":"tribe-streamer","data-room-uuid":t,"data-is-live":l,className:"mx-auto w-full max-w-full bg-black-50",children:[e.jsxs("div",{className:"flex flex-col gap-4 p-4",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("div",{className:"truncate text-lg font-semibold text-white",children:a.name||n("tribes.room.myTribe")}),e.jsxs("div",{className:"text-xs text-brandblue-100","data-testid":"streamer-room-balance",children:[n("tribes.room.roomBalance"),": ",r]})]}),e.jsxs("div",{className:"flex shrink-0 items-center gap-2",children:[N?e.jsx(Ep,{shareUrl:N}):null,e.jsx(_1e,{}),l?e.jsx("button",{type:"button","data-testid":"streamer-close",onClick:()=>No(),className:"h-11 rounded-lg border border-red-500 px-6 text-sm font-medium text-red-400",children:n("tribes.room.stop")}):e.jsxs("div",{className:"flex shrink-0 items-center gap-2",children:[e.jsx("button",{type:"button","data-testid":"streamer-cancel",onClick:()=>r>0?j(!0):No(),className:"h-11 rounded-lg border border-red-500 px-6 text-sm font-medium text-red-400",children:n("tribes.room.stop")}),e.jsx("button",{type:"button","data-testid":"streamer-ready",disabled:r<=0||d,onClick:()=>Gg(),className:"h-11 rounded-lg bg-gradient-primary px-6 text-sm font-medium text-navbar-label-active disabled:opacity-50",children:n("tribes.room.start")})]})]})]}),l?null:e.jsx("p",{className:"text-xs text-brandblue-100","data-testid":"streamer-autoclose-note",children:n("tribes.room.autoCloseNote")}),e.jsx(zae,{}),c===t?e.jsx(C1e,{frameRef:y}):null,p?Oa.createPortal(e.jsx(B9,{className:"w-full rounded-none border-0 border-b shadow-none"}),p):null,e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:[e.jsxs("div",{className:"flex flex-col gap-3",children:[f?e.jsx(Rp,{}):null,i.length>0?e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:n("tribes.chat.ban_user")}),i.map(k=>e.jsx("button",{type:"button","data-testid":"streamer-mute-user","data-user-id":k.externalUserId,onClick:()=>Zg(k.externalUserId),className:"self-start text-xs font-medium text-red-400 underline",children:k.username},k.uuid))]}):null]}),p?null:e.jsx("div",{className:"flex justify-end",children:e.jsx(B9,{})})]})]}),h?e.jsx("div",{className:"fixed inset-0 z-[700] flex items-center justify-center bg-black/70 p-4",children:e.jsxs("div",{className:"flex w-full max-w-[420px] flex-col gap-4 roun
7110ded-2xl bg-black-50 p-6",children:[e.jsx("div",{className:"text-lg font-semibold text-white",children:n("tribes.streamer.close_stream.modal.primary_description")}),e.jsx("div",{className:"text-sm text-brandblue-100",children:n("tribes.streamer.close_stream.modal.secondary_description")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{type:"button","data-testid":"streamer-leave-cancel",onClick:()=>b(!1),className:"h-11 flex-1 rounded-lg border border-border-navbar text-sm font-medium text-white",children:n("tribes.streamer.close_stream.modal.not_yet")}),e.jsx("button",{type:"button","data-testid":"streamer-leave-confirm",onClick:()=>{_o(),s(Ae)},className:"h-11 flex-1 rounded-lg bg-gradient-primary text-sm font-medium text-navbar-label-active",children:n("tribes.streamer.close_stream.cta")})]})]})}):null,v?e.jsx("div",{className:"fixed inset-0 z-[700] flex items-center justify-center bg-black/70 p-4",children:e.jsxs("div",{className:"flex w-full max-w-[420px] flex-col gap-4 rounded-2xl bg-black-50 p-6",children:[e.jsx("div",{className:"text-lg font-semibold text-white",children:n("tribes.room.cancelTribe")}),e.jsx("div",{className:"text-sm text-brandblue-100",children:n("tribes.streamer.close_stream.modal.description")}),e.jsxs("div",{className:"text-sm text-white","data-testid":"streamer-cancel-balance",children:[n("tribes.streamer.close_stream.modal.balance_leave_label")," ",r," ",u]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{type:"button","data-testid":"streamer-cancel-abort",onClick:()=>j(!1),className:"h-11 flex-1 rounded-lg border border-border-navbar text-sm font-medium text-white",children:n("tribes.streamer.close_stream.modal.not_yet")}),e.jsx("button",{type:"button","data-testid":"streamer-cancel-confirm",onClick:()=>{j(!1),No()},className:"h-11 flex-1 rounded-lg border border-red-500 text-sm font-medium text-red-400",children:n("tribes.streamer.close_stream.cta")})]})]})}):null]})},E1e="tribes.errors.",R1e=t=>t.startsWith(E1e)?n(t):t,T1e=[.25,.5,1],H0=({label:t,value:s,accent:a})=>e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"text-xs leading-[18px] text-brandblue-100",children:t}),e.jsx("span",{className:g("text-sm font-semibold leading-5",a?"text-info":"text-white"),children:s})]}),I1e=()=>{const[t,s,a,l,r,i]=C([Y1,mi,cl,Wg,Kg,q2]),[o,d]=m.useState(""),u=Number(o),x=Number.isFinite(u)&&u>0&&!l&&!!s.tokenConnection,p=()=>{x&&(qg({uuid:t,amount:u,userCurrency:i}),d(""))},f=()=>{x&&(Yg({uuid:t,token:s.tokenConnection,amount:u}),d(""))};
7110return e.jsxs("div",{className:"flex w-full flex-col gap-4 rounded-xl bg-gunmetal p-4","data-testid":"room-cashier",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx(H0,{label:n("tribes.room.tribeTotalBalance"),value:`${a} ${vr}`}),e.jsx(H0,{label:n("tribes.room.myBalance"),value:`${s.balance} ${vr}`}),e.jsx(H0,{label:n("tribes.room.table.share"),value:Vr(s.percentage),accent:!0})]}),e.jsx("div",{className:"h-px w-full bg-tribe-live"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{"data-testid":"room-cashier-amount",inputMode:"decimal",value:o,onChange:h=>d(h.target.value.replace(/[^0-9.]/g,"")),placeholder:"0.00",className:"h-11 w-full rounded-lg border border-border-navbar bg-primary pl-3 pr-16 text-sm text-white outline-none focus:border-brand-tertiary"}),e.jsx("span",{className:"pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-xs text-brandblue-100",children:vr})]}),e.jsx("div",{className:"flex gap-1.5",children:T1e.map(h=>e.jsx("button",{type:"button","data-testid":`room-cashier-quick-${h}`,onClick:()=>d(String(Math.floor(s.balance*h*100)/100)),className:"flex-1 rounded-md border border-border-navbar py-1.5 text-xs text-brandblue-100 transition-colors hover:text-white",children:h===1?"MAX":`${h*100}%`},h))})]}),r?e.jsx("div",{className:"text-xs text-red-400","data-testid":"room-cashier-error",children:R1e(r)}):null,l?e.jsx("div",{className:"text-xs text-warning","data-testid":"room-cashier-frozen",children:n("tribes.room.waitNextRound")}):null,e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("button",{type:"button","data-testid":"room-deposit",disabled:!x,onClick:p,className:"h-11 w-full rounded-lg border border-brand-tertiary bg-gradient-primary text-sm font-medium text-white disabled:opacity-40",children:n("tribes.room.roomDeposit")}),e.jsx("button",{type:"button","data-testid":"room-withdraw",disabled:!x,onClick:f,className:"h-9 w-full rounded-lg text-sm font-medium text-brandblue-100 transition-colors hover:text-white disabled:opacity-40",children:n("tribes.room.roomWithdraw")})]})]})},F1e=()=>{const{closeModal:t}=W();return m.useEffect(()=>{const s=Xg.watch(()=>t());return()=>s.unsubscribe()},[t]),e.jsx("div",{"data-testid":"tribe-cashier-modal",children:e.jsx(I1e,{})})},Pp="tribeCashier",O1e=$e({component:F1e,title:()=>n("tribes.room.roomBalance")}),D1e=()=>e.jsx("div",{"data-testid":"tribe-players-modal",children:e.jsx(Rp,{})}),Hp="tribePlayers",$1e=$e({component:D1e,title:()=>n("tribes.room.players")}),P1e=["how_it_works","hosting","earning","tribe_wars"],H1e=["join","split","start","points"],U1e=({className:t})=>{const[s,a]=m.useState(!1),l=m.useId();return e.jsxs("section",{className:g("flex min-w-0 flex-col gap-1",t),"data-testid":"tribe-profile-about",children:[e.jsx("h2",{className:"text-xs font-medium uppercase leading-[18px] text-stream-non-accent-color",children:n("tribes.profile.about.label")}),e.jsxs("div",{className:"flex flex-col gap-2 rounded-md bg-gunmetal p-4",children:[e.jsxs("div",{id:l,"data-testid":"tribe-profile-about-content","data-expanded":s,className:g("relative flex flex-col gap-3 overflow-hidden",!s&&"max-h-[132px]"),children:[e.jsx("h3",{className:"text-xl font-semibold leading-6 text-white",children:n("tribes.profile.about.title")}),e.jsx("p",{className:"text-sm font-medium leading-5 text-stream-non-accent-color",children:n("tribes.profile.about.intro")}),P1e.map(r=>e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("h4",{className:"text-base font-semibold leading-6 text-white",children:n(`tribes.profile.about.sections.${r}.title`)}),e.jsx("p",{className:"text-sm font-medium leading-5 text-stream-non-accent-color",children:n(`tribes.profile.about.sections.${r}.body`)})]},r)),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h4",{className:"text-base font-semibold leading-6 text-white",children:n("tribes.profile.about.faq.title")}),e.jsx("dl",{className:"flex flex-col gap-2",children:H1e.map(r=>e.jsxs("div",{className:"flex flex-col gap-0.5",children:[e.jsx("dt",{className:"text-sm font-semibold leading-5 text-white",children:n(`tribes.profile.about.faq.${r}.question`)}),e.jsx("dd",{className:"text-sm font-medium leading-5 text-stream-non-accent-color",children:n(`tribes.profile.about.faq.${r}.answer`)})]},r))})]}),!s&&e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-12 bg-gradient-to-b from-gunmetal/0 to-gunmetal"})]}),e.jsx("div",{className:"flex justify-center",children:e.jsx("button",{type:"button","data-testid":"tribe-profile-about-toggle","aria-expanded":s,"aria-controls":l,onClick:()=>a(r=>!r),className:"flex h-8 items-center rounded-lg px-2.5 text-sm font-medium leading-5 text-checkbox-active transition-colors hover:text-white",children:s?n("tribes.profile.about.show_less"):n("global_showmore")})})]})]})}
7110,Up=5,E9="â",V1e=new Intl.NumberFormat("en-US",{maximumFractionDigits:0}),z1e=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),R9=t=>V1e.format(t||0),G1e=t=>z1e.format(t||0),Z1e=t=>Ur(t),W1e=[["year",365*24*3600],["month",30*24*3600],["week",7*24*3600],["day",24*3600],["hour",3600],["minute",60]],K1e=(t,s=Date.now(),a=li())=>{if(!t)return E9;const l=new Date(t).getTime();if(Number.isNaN(l))return E9;const r=Math.max(60,Math.floor((s-l)/1e3)),[i,o]=W1e.find(([,d])=>r>=d)??["minute",60];return new Intl.RelativeTimeFormat(a,{numeric:"always"}).format(-Math.floor(r/o),i)},q1e=t=>[...t].sort((s,a)=>s.rank-a.rank).slice(0,Up),Y1e=[{key:"streams",label:"tribes.wars.table.streams",value:t=>R9(t.streams)},{key:"last-broadcast",label:"tribes.profile.stats.last_broadcast",value:t=>K1e(t.lastBroadcastAt)},{key:"hours-streamed",label:"tribes.profile.stats.hours_streamed",value:t=>G1e(t.hoursStreamed)},{key:"total-viewers",label:"tribes.profile.stats.total_viewers",value:t=>R9(t.totalViewers)},{key:"total-wagered",label:"tribes.profile.stats.total_wagered",value:t=>Z1e(t.totalWageredUsd)}],X1e=({stats:t,className:s})=>e.jsxs("section",{className:g("flex flex-col gap-1",s),"data-testid":"tribe-profile-stats",children:[e.jsx("h2",{className:"text-xs font-medium uppercase leading-[18px] text-stream-non-accent-color",children:n("tribes.profile.stats.title")}),e.jsx("dl",{className:"flex flex-col divide-y divide-tribe-live overflow-hidden rounded-md",children:Y1e.map(a=>e.jsxs("div",{className:"flex h-10 items-center gap-1 bg-gunmetal p-2","data-testid":`tribe-profile-stat-${a.key}`,children:[e.jsx("dt",{className:"min-w-0 flex-1 truncate text-sm font-medium leading-5 text-white",children:n(a.label)}),e.jsx("dd",{className:"shrink-0",children:t===null?e.jsx(qs,{className:"block h-5 w-14"}):e.jsx("span",{className:"flex h-5 items-center rounded bg-stream-sub-highlight-color px-1.5 text-sm font-medium leading-5 text-white","data-testid":`tribe-profile-stat-${a.key}-value`,children:a.value(t)})})]},a.key))})]}),J1e=({wins:t,isPending:s})=>{const[a]=C([ct]),l=m.useRef(null),r=Y(),i=q1e(t);if(!s&&i.length===0)return null;const o=d=>{var x,p;const u=(x=d.game)==null?void 0:x.game_code;if(!u)return;X("Open biggest win game",{gameCode:u,provider:(p=d.game)==null?void 0:p.product});const c=la(a,u);c&&r(c)};return e.jsxs("section",{className:"flex flex-col gap-y-3","data-testid":"tribe-profile-wins",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsxs("h2",{className:"flex items-center gap-2 text-base font-semibold leading-4 text-white",children:[e.jsx(ve,{icon:"trophy",className:"size-5 text-[#FFDD62]"}),n("tribes.profile.biggest_wins")]}),s?null:e.jsx(ns,{containerRef:l})]}),s?e.jsx("div",{className:"no-scrollbar flex gap-x-3 overflow-x-hidden","data-testid":"tribe-profile-wins-skeleton",children:Array.from({length:Up},(d,u)=>e.jsxs("div",{className:"flex w-[227px] flex-none flex-col gap-y-2.5",children:[e.jsx(qs,{className:"h-28 rounded-xl"}),e.jsx(qs,{className:"h-4 w-32"}),e.jsx(qs,{className:"h-3 w-20"})]},u))}):e.jsx("div",{ref:l,className:"no-scrollbar flex gap-x-3 overflow-x-auto",children:i.map(d=>{var u,c,x;return e.jsx(Ix,{gameName:((u=d.game)==null?void 0:u.name)??"",provider:(c=d.game)==null?void 0:c.product,imageUrl:La(((x=d.game)==null?void 0:x.url_thumb)??""),rank:d.rank,winMultiplier:d.multiplier,amount:d.winAmount,amountUsd:d.winUsdAmount,currency:d.currency,createdAt:d.createdAt,onClick:()=>o(d)},`${d.rank}-${d.createdAt}`)})})]})},no=({isFollowing:t,isPending:s=!1,onToggle:a,variant:l="full",label:r,className:i,labelClassName:o})=>{const d=t?n("tribes.follow.subscribed"):n("tribes.follow.subscribe"),u=c=>{c.preventDefault(),c.stopPropagation(),s||a()};return l==="compact"?e.jsx("button",{type:"button","data-testid":"tribe-follow-button","data-following":t,"aria-label":r??d,"aria-pressed":t,disabled:s,onClick:u,className:g("flex size-8 items-center justify-center rounded-full bg-black/60 transition-colors hover:bg-black/80 disabled:opacity-60",t?"text-[#FF6659]":"text-white",i),children:e.jsx(Ta,{icon:t?"heart":"heartOutline",className:"size-4"})}):e.jsxs("button",{type:"button","data-testid":"tribe-follow-button","data-following":t,"aria-label":r??d,"aria-pressed":t,disabled:s,onClick:u,className:g("flex items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-2.5 text-sm font-medium leading-5 text-white transition-colors disabled:opacity-60",t?"bg-stream-sub-highlight-color":"bg-gradient-primary",i),children:[e.jsx(Ta,{icon:"heart",className:g("size-4 shrink-0",t&&"text-[#FF6659]")}),e.jsx("span",{className:o,children:d})]})},Q1e="radial-gradient(50% 184% at 50% 0%, #7086FF 0%, rgba(89,106,199,0.75
7110) 25%, rgba(66,78,143,0.5) 50%, rgba(42,50,86,0.25) 75%, rgba(19,22,30,0) 100%), linear-gradient(#292D3C, #292D3C)",T9="/tribes/profile-whale.svg",ene=({count:t})=>{const s=String(t),[a,...l]=n("tribes.offline.followers",{count:s}).split(s);return e.jsxs("p",{"data-testid":"tribe-offline-followers",className:"text-sm font-medium leading-5 text-stream-non-accent-color",children:[a,e.jsx("span",{className:"text-white",children:s}),l.join(s)]})},I9=({username:t,avatarUrl:s,hostUserId:a,followersCount:l,follow:r,onBack:i,profile:o,isProfilePending:d})=>{const u=o!==null||d,c=(o==null?void 0:o.level)??0;return e.jsxs("div",{"data-testid":"tribe-offline",className:"mx-auto flex w-full max-w-screen-custom-xl flex-col gap-6 px-4 py-6 md:py-8",children:[e.jsxs("button",{type:"button","data-testid":"tribe-offline-back",onClick:i,className:"flex h-8 w-fit items-center gap-2 font-jost text-sm font-medium leading-5 text-stream-non-accent-color transition-colors hover:text-white",children:[e.jsx("img",{alt:"",src:"/tribes/back-arrow.svg",width:32,height:32,className:"block size-8 shrink-0"}),n("tribes.offline.back")]}),e.jsxs("div",{className:"flex flex-col items-stretch gap-2 lg:flex-row lg:justify-center",children:[e.jsxs("div",{className:"relative flex h-[249px] w-full flex-col items-center justify-center gap-2 overflow-hidden rounded-xl p-3 lg:w-[401px]",style:{backgroundImage:Q1e},children:[e.jsx("img",{alt:"","aria-hidden":"true",src:T9,width:149,height:143,className:"pointer-events-none absolute left-0 top-[46%] h-[143px] w-[149px] max-w-none -translate-x-1/2 -translate-y-1/2 -rotate-[20.05deg]"}),e.jsx("img",{alt:"","aria-hidden":"true",src:T9,width:149,height:143,className:"pointer-events-none absolute right-0 top-[46%] h-[143px] w-[149px] max-w-none -translate-y-1/2 translate-x-1/2 rotate-[20.05deg] -scale-x-100"}),e.jsx(ss,{src:s,size:"xxl",userId:a,alt:t,className:"relative"}),e.jsxs("div",{className:"relative flex max-w-full flex-col items-center",children:[e.jsxs("div",{className:"flex max-w-full items-center gap-1.5",children:[e.jsx("h1",{"data-testid":"tribe-offline-username",className:"min-w-0 truncate font-jost text-sm font-semibold leading-5 text-white",children:t}),c>0?e.jsxs("span",{className:"flex shrink-0 items-center gap-1","data-testid":"tribe-offline-level",children:[e.jsx("img",{src:"/level-badge.webp",alt:"",width:20,height:20,className:"size-5","aria-hidden":"true"}),e.jsx("span",{className:"text-sm font-medium leading-5 text-stream-non-accent-color",children:c})]}):null]}),e.jsx(ene,{count:l})]})]}),e.jsxs("div",{className:"flex flex-col justify-center gap-5 rounded-[14px] px-0 py-3 lg:w-[269px] lg:px-4 lg:py-5",children:[e.jsxs("div",{className:"flex flex-col items-start gap-2",children:[e.jsx("span",{className:"flex h-8 items-center rounded-lg border border-stream-sub-highlight-color bg-tribe-live px-2.5 text-sm font-semibold uppercase leading-[13px] text-white",children:n("tribes.offline.status")}),e.jsx("p",{className:"text-base font-semibold leading-6 text-white",children:n("tribes.profile.notify")})]}),e.jsx(no,{isFollowing:r.isFollowing,isPending:r.isPending,onToggle:r.onToggle,className:"w-full lg:w-[191px]"})]})]}),e.jsx(J1e,{wins:(o==null?void 0:o.biggestWins)??[],isPending:o===null&&d}),e.jsxs("div",{className:"flex flex-col gap-4 xl:flex-row xl:items-start",children:[u?e.jsx(X1e,{stats:(o==null?void 0:o.stats)??null,className:"xl:w-[354px] xl:shrink-0"}):null,e.jsx(U1e,{className:"flex-1"})]})]})},tne={profile:null,isPending:!1},sne=t=>{const[s,a,l,r]=C([Jg,Qg,eb,tb]);if(m.useEffect(()=>{t!==null&&r({username:t})},[t,r]),t===null)return tne;const i=a===t,o=i?s:null;return{profile:o,isPending:o===null&&(!i||l)}},En=({icon:t,label:s,children:a})=>e.jsxs("div",{className:"flex shrink-0 flex-col items-start gap-1",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("img",{alt:"",src:t,width:20,height:18,className:"block h-[18px] w-5 shrink-0"}),e.jsx("span",{className:"whitespace-nowrap text-xs leading-[18px] text-brandblue-100",children:s})]}),e.jsx("div",{className:"flex items-start gap-1 whitespace-nowrap text-base leading-6",children:a})]}),ane=({onDeposit:t,onViewers:s,className:a})=>{const[l,r,i,o,d]=C([dl,cl,mi,ii,ct]);m.useEffect(()=>{$3()},[]);const u=(l.game||"").trim(),c=u?$s(d,u):void 0;return e.jsxs("div",{className:g("flex flex-wrap items-center gap-3",a),"data-testid":"room-balance-bar",children:[e.jsxs("div",{className:"flex min-h-[70px] flex-wrap items-end justify-center gap-x-8 gap-y-2 rounded-xl bg-secondary py-3 pl-4 pr-6",children:[e.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[c?e.jsx(ce,{className:"h-12 w-16 rounded-md object-cover",src:c.urlThumb,alt:c.name,loading:"lazy"}):null,e.jsx(En,{icon:"/tribes/info-game.svg",label:n("tribes.room.infoBar.game"),children:e.jsx("span",{className:"font-semibold text-white","data-testid":"room-balance-bar-game",children:c?c.name:u||n("tribes.room.infoBar.gameNone")})})]}),s?e.jsx("button",{type:"button","data-testid":"room-balance-bar-viewers","aria-label":n("tribes.room.players"),onClick:s,className:"rounded-lg text-left outline-none focus-visible:ring-2 focus-visible:ring-brand-tertiary",children:e.jsx(En,{icon:"/tribes/info-viewers.svg",label:n("tribes.room.infoBar.viewers"),children:e.jsx("span",{className:"font-semibold text-white underline decoration-brandblue-100 underline-offset-4",children:o.length})})}):e.jsx(En,{icon:"/tribes/info-viewers.svg",label:n("tribes.room.infoBar.viewers"),children:e.jsx("span",{className:"font-semibold text-white",children:o.length})}),e.jsx(En,{icon:"/tribes/info-wallet.svg",label:n("tribes.room.infoBar.totalBalance"),children:e.jsx("span",{className:"font-semibold text-white",children:Ur(r)})})]}),e.jsxs("div",{className:"flex items-center gap-2.5 rounded-xl bg-secondary px-4 py-3",children:[e.jsxs(En,{icon:"/tribes/info-wallet-own.svg",label:n("tribes.room.myBalance"),children:[e.jsx("span",{className:"font-semibold text-white",children:Ur(i.balance)}),e.jsx("span",{className:"font-light text-info",children:Vr(i.percentage)})]}),e.jsx("button",{type:"button","data-testid":"room-balance-bar-deposit",onClick:t,className:"shrink-0 overflow-hidden rounded-lg border border-brand-tertiary bg-gradient-primary px-4 py-2.5 text-sm font-medium leading-5 text-white",children:n("tribes.room.roomDeposit")})]})]})},nne=({title:t,onBack:s,shareUrl:a,follow:l,actions:r,className:i})=>e.jsxs("div",{className:g("relative flex h-10 items-center justify-between gap-3",i),"data-testid":"room-header-bar",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[e.jsx("button",{type:"button","data-testid":"room-header-back","aria-label":n("tribes.room.back"),onClick:s,className:"flex size-8 shrink-0 items-center justify-center",children:e.jsx("img",{alt:"",src:"/tribes/back-arrow.svg",width:32,height:32,className:"block size-8"})}),e.jsx("h1",{className:"min-w-0 truncate text-2xl font-bold leading-8 text-white","data-testid":"room-header-title",children:t})]}),e.jsxs("div",{className:"flex shrink-0 items-center justify-end gap-1.5 sm:gap-2",children:[a?e.jsx(Ep,{shareUrl:a}):null,l?e.jsx(no,{isFollowing:l.isFollowing,isPending:l.isPending,onToggle:l.onToggle,className:"h-10 shrink-0 px-3 sm:px-4",labelClassName:"hidden sm:inline"}):null,r]})]}),lne=t=>{const[s,a]=t.split("/");if(!s||!a)throw new Error(`Invalid stream ID format: ${t}. Expected format: "accountId/streamName"`);return{streamAccountId:s,streamName:a}},rne=(t,s)=>new sb(t,()=>ab.getSubscriber({streamAccountId:s,streamName:t})),ine=async(t,s={})=>(await t.connect({disableAudio:s.disableAudio??!1,disableVideo:s.disableVideo??!1}),!0),one=(t,{disableAudio:s=!1,disableVideo:a=!1}={})=>{const[l,r]=m.useState(),[i,o]=m.useState(!1),[d,u]=m.useState(null);return m.useEffect(()=>{if(!t)return;let c,x=!1;try{const{streamAccountId:p,streamName:f}=lne(t);c=rne(f,p),c.on("reconnect",h=>{console.warn("[Dolby] Reconnecting...",h),o(!1)}),c.on("error",h=>{console.error("[Dolby] Viewer error:",h),u("Connection error"),o(!1)}),c.on("track",h=>{const[b]=h.streams;b&&!x&&(r(b),u(null))}),c.on("connected",()=>{o(!0),u(null)}),ine(c,{disableAudio:s,disableVideo:a}).then(()=>{x||o(!0)}).catch(h=>{x||(u(h.message),o(!1))})}catch(p){u(p instanceof Error?p.message:"Invalid stream ID");return}return()=>{x=!0,c==null||c.removeAllListeners();try{c==null||c.stop()}catch(p){console.warn("[Dolby] Failed to stop viewer",p)}o(!1),r(void 0),u(null)}},[t,s,a]),{mediaStream:l,isConnected:i,error:d}}
7110,cne=(t,s,a)=>{if(t.srcObject)return;t.srcObject=s;const l=()=>{t.videoWidth>0&&t.videoHeight>0&&a()};t.addEventListener("loadedmetadata",l),t.addEventListener("resize",l),t.addEventListener("timeupdate",l),l();const r=setInterval(l,1e3);return t.play().catch(i=>{console.warn("Autoplay was prevented:",i)}),()=>{t.removeEventListener("loadedmetadata",l),t.removeEventListener("resize",l),t.removeEventListener("timeupdate",l),clearInterval(r)}},dne=(t,s,a)=>{if(!t)return;if(a){t.muted=!0,t.volume=0;return}t.muted=!1;const l=Math.min(s/50,2)/2;t.volume=Math.max(0,Math.min(l,1))},Yn=({id:t,controlsEnabled:s=!1,className:a,audioOnly:l=!1,volume:r,muted:i,paused:o=!1})=>{const d=m.useRef(null),[u,c]=C([_8,N8]),[x,p]=m.useState(!1),f=r??u,h=i??c,{mediaStream:b}=one(t,{disableVideo:l});return m.useEffect(()=>{dne(d.current,f,h)},[f,h,b]),m.useEffect(()=>{if(b&&d.current)return cne(d.current,b,()=>p(!0))},[b]),m.useEffect(()=>{const v=d.current;if(!(!v||!b)){if(o){v.pause();return}v.play().catch(j=>console.warn("Playback was prevented:",j))}},[o,b]),l?b?e.jsx("video",{ref:d,className:"hidden",autoPlay:!0,playsInline:!0,"data-testid":"dolby-audio"}):null:e.jsx("div",{className:g("relative size-full",a),"data-testid":"dolby-video",children:b?e.jsx("video",{className:g("bg-black size-full object-cover md:object-contain lg:rounded-lg",!x&&"min-h-[60vh]"),ref:d,disablePictureInPicture:!0,controls:s,autoPlay:!0,playsInline:!0,muted:h}):e.jsx("div",{className:"flex size-full min-h-[60vh] items-center justify-center bg-gray-900 lg:rounded-lg","data-testid":"dolby-video-loading",children:e.jsx("div",{className:"text-sm text-white",children:n("tribes.loadingVideo")})})})},si=({id:t,type:s,showCropped:a=!1,withAudio:l=!1,muted:r=!0,paused:i=!1,className:o})=>{const[d,u,c,x,p]=C([nb,lb,rb,ib,ob]),f=m.useRef(null),h=m.useId(),b=`nanoplayer-${s}-${h.replace(/:/g,"")}`;return m.useEffect(()=>!t||!f.current?void 0:((s==="frame"?d:u)({streamName:t,playerDivId:b,type:s,showCropped:a,withAudio:l}),()=>{p({playerDivId:b})}),[t,s,a,l,b,d,u,p]),m.useEffect(()=>{l||c({playerDivId:b,muted:r})},[l,r,b,c]),m.useEffect(()=>{x({playerDivId:b,paused:i})},[i,b,x]),e.jsx("div",{ref:f,id:b,"data-testid":`nanostream-${s}`,"data-muted":l?void 0:r,className:g("relative overflow-hidden",o)})},une=()=>{const[t,s,a,l,r,i]=C([dl,cb,db,k8,S8,om]);if(!t.frameSource)return e.jsx("div",{className:"flex aspect-video w-full items-center justify-center rounded-lg bg-gray-900 text-sm text-brandblue-100","data-testid":"room-player-no-source",children:n("tribes.noStream")});const o=t.streamProvider===ub.DOLBY;return e.jsxs("div",{className:"relative aspect-video w-full","data-testid":"room-player","data-stream-provider":t.streamProvider,children:[o?e.jsx(Yn,{id:t.frameSource,className:"[&>div]:min-h-0 [&_video]:min-h-0"}):e.jsx(si,{id:t.frameSource,type:"frame",withAudio:!0,className:"size-full rounded-lg"}),t.webcamSource?o&&s?e.jsx(Yn,{id:t.webcamSource,audioOnly:!0,volume:l,muted:r}):(()=>{const d=e.jsx("div",{className:g(s?"pointer-events-none absolute left-0 top-0 size-0 overflow-hidden opacity-0":["aspect-video overflow-hidden border-primary",i?"w-full border-b":"absolute bottom-3 right-3 w-[160px] rounded-lg border shadow-lg lg:w-[220px]",!a&&"hidden"]),"aria-hidden":s||void 0,"data-testid":s?"room-webcam-audio-only":"room-webcam-pip","data-placement":s?void 0:i?"chat":"overlay",children:o?e.jsx(Yn,{id:t.webcamSource,volume:l,muted:r,className:"[&>div]:min-h-0 [&_video]:min-h-0"}):e.jsx(si,{id:t.webcamSource,type:"webcam",withAudio:!0,className:s?"size-0":"size-full"})});return i?Oa.createPortal(d,i):d})():null]})},F9=({label:t,testId:s,volume:a,isMuted:l,onVolume:r,onMute:i})=>e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:t}),e.jsx("button",{type:"button","data-testid":`${s}-mute`,"aria-pressed":l,onClick:()=>i(!l),className:"text-xs font-medium text-white underline",children:l?"Unmute":"Mute"})]}),e.jsx("input",{type:"range",min:0,max:100,step:1,"data-testid":`${s}-volume`,value:a,onChange:o=>r(Number(o.target.value)),className:"accent-brand-tertiary"})]}),mne=()=>{const[t,s,a,l]=C([k8,S8,_8,N8]);return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"room-viewer-settings",children:[e.jsx(F9,{label:n("tribes.room.host"),testId:"room-mic",volume:t,isMuted:s,onVolume:xb,onMute:mb}),e.jsx(F9,{label:n("tribes.room.playing"),testId:"room-game",volume:a,isMuted:l,onVolume:pb,onMute:fb})]})},O9={uuid:void 0,tribe:null,isResolving:!1,hasResolutionError:!1,isTribeMissing:!1},xne=t=>{var c;const[s,a,l]=C([hb,gb,bb]),r=t!==void 0&&W2(t),i=t!==void 0&&!r?t:null;m.useEffect(()=>{i!==null&&l({username:i})},[i,l]);const o=()=>{i!==null&&l({username:i})};if(i===null)return r&&t!==void 0?{...O9,uuid:t,retry:o}:{...O9,retry:o};const d=s!==null&&s.host.username.toLowerCase()===i.toLowerCase()?s:null,u=a!==null&&a.username.toLowerCase()===i.toLowerCase();return{uuid:(c=d==null?void 0:d.liveRoom)==null?void 0:c.uuid,tribe:d,isResolving:d===null&&!u,hasResolutionError:u,isTribeMissing:u&&a!==null&&a.isNotFound,retry:o}},fne=()=>{const{roomId:t}=as(),{uuid:s,tribe:a,isResolving:l,hasResolutionError:r,isTribeMissing:i,retry:o}=xne(t),d=Y(),u=Us(),{openModal:c}=W(),[x,p,f,h,b,v,j,y,N]=C([dl,G2,Aa,Cb,jb,te,Je,aa,z2]),[k,w,S,M]=C([mi,vb,wb,yb]),[_,A,E]=C([A8,L8,M8]),[L,B]=m.useState(void 0);m.useEffect(()=>{s!==void 0&&!h&&B(s)},[s,h]);const z=h&&s!==void 0&&L===s,le=s!==void 0&&!z,V=a!==null&&(a.liveRoom===null||z),$=sne(V?a.host.username:null);m.useEffect(()=>(p2(V),()=>{p2(!1)}),[V]),$p(s,{isStreamer:!1});const re=!!(p.isFollowing||k.subscribed),K=()=>
7110{if(!v){c(_e,{tab:"register"});return}re?M():S()},ae=(ie,Le)=>{if(!v){c(_e,{tab:"register"});return}Le?E({ownerId:ie}):A({ownerId:ie})};if(m.useEffect(()=>{s&&(_b(s),X("Tribes Room Page",{roomId:s}))},[s]),m.useEffect(()=>{le&&j&&!v&&c(_e,{tab:"register"})},[le,j,v,c]),m.useEffect(()=>{!u&&le&&P3(pt.Chat)},[u,le]),m.useEffect(()=>{Nb(u||y)},[u,y]),i)return e.jsxs("div",{className:"flex flex-col items-center gap-3 py-16 text-center","data-testid":"tribe-viewer-not-found",children:[e.jsx("div",{className:"text-lg font-semibold text-white",children:n("tribes.viewer.not_found.title")}),e.jsx("p",{className:"max-w-80 text-sm text-stream-non-accent-color",children:n("tribes.viewer.not_found.description")}),e.jsx("button",{type:"button",className:"h-11 rounded-lg bg-gradient-primary px-8 text-sm font-medium text-navbar-label-active",onClick:()=>d(Ae),children:n("tribes.lobby.no_rooms.cta")})]});if(b||r)return e.jsxs("div",{className:"flex flex-col items-center gap-3 py-16 text-center","data-testid":"tribe-viewer-error",children:[e.jsx("div",{className:"text-lg font-semibold text-white",children:n("tribes.viewer.load_error.title")}),e.jsx("p",{className:"max-w-80 text-sm text-stream-non-accent-color",children:n("error.try_again")}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[e.jsx("button",{type:"button","data-testid":"tribe-viewer-retry",className:"h-11 rounded-lg bg-gradient-primary px-8 text-sm font-medium text-navbar-label-active",onClick:()=>r?o():window.location.reload(),children:n("tribes.room.retryLoadGame")}),e.jsx("button",{type:"button",className:"h-11 rounded-lg bg-stream-sub-highlight-color px-8 text-sm font-medium text-white",onClick:()=>d(Ae),children:n("tribes.lobby.no_rooms.cta")})]})]});if(V)return e.jsx(I9,{username:a.host.username,avatarUrl:a.host.avatarUrl,hostUserId:a.host.hostUserId,followersCount:a.followersCount,profile:$.profile,isProfilePending:$.isPending,follow:{isFollowing:a.isFollowing||s!==void 0&&re,isPending:_.includes(a.host.hostUserId),onToggle:()=>ae(a.host.hostUserId,a.isFollowing||s!==void 0&&re)},onBack:()=>d(Ae)});if(z)return e.jsx(I9,{username:p.name||t||"",avatarUrl:p.avatarUrl??null,hostUserId:null,followersCount:p.subscribersCount??0,profile:null,isProfilePending:!1,follow:{isFollowing:re,isPending:w,onToggle:K},onBack:()=>d(Ae)});if(l||!s||!t)return e.jsx("div",{className:"py-16 text-center text-sm text-brandblue-100","data-testid":"tribe-viewer-resolving",children:n("global_loading")});const ee=typeof window>"u"?null:`${window.location.origin}${Bp({roomParam:t,uuid:s,rooms:N})}`;return e.jsx("div",{"data-testid":"tribe-viewer","data-room-uuid":s,className:g("w-full bg-black-50",u?"absolute inset-0 z-[600] overflow-y-auto":"mx-auto w-full max-w-full"),children:e.jsxs("div",{className:"flex flex-col gap-4 p-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(nne,{className:"min-w-0 flex-1",title:x.name,onBack:()=>d(Ae),shareUrl:ee,follow:{isFollowing:re,isPending:w,onToggle:K},actions:e.jsx(Dp,{testId:"room-viewer-settings-menu",children:e.jsx(mne,{})})}),f?e.jsxs("span",{className:"flex shrink-0 items-center gap-1.5 rounded-md bg-red-600 px-2 py-0.5 text-[11px] font-bold uppercase text-white",children:[e.jsx("span",{className:"size-1.5 rounded-full bg-white"}),n("tribes_widget.live")]}):null]}),e.jsx(une,{}),e.jsx(ane,{onDeposit:()=>c(Pp),onViewers:u?()=>c(Hp):void 0})]})})},pne=t=>e.jsx("svg",{viewBox:"0 0 21 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...t,children:e.jsx("path",{d:"M16.3781 2.09062C16.6547 1.44844 16.4484 0.698437 15.8812 0.285937C15.3141 -0.126563 14.5406 -0.0890625 14.0109 0.370312L2.01094 10.8703C1.54219 11.2828 1.37344 11.9437 1.59375 12.525C1.81406 13.1062 2.37656 13.5 3 13.5H8.22656L4.62187 21.9094C4.34531 22.5516 4.55156 23.3016 5.11875 23.7141C5.68594 24.1266 6.45938 24.0891 6.98906 23.6297L18.9891 13.1297C19.4578 12.7172 19.6266 12.0563 19.4062 11.475C19.1859 10.8938 18.6281 10.5047 18 10.5047H12.7734L16.3781 2.09062Z",fill:"currentColor"})}),D9=t=>e.jsx("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...t,children:e.jsx("path",{d:"M7 0C8.85652 0 10.637 0.737498 11.9497 2.05025C13.2625 3.36301 14 5.14348 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14C5.14348 14 3.36301 13.2625 2.05025 11.9497C0.737498 10.637 0 8.85652 0 7C0 5.14348 0.737498 3.36301 2.05025 2.05025C3.36301 0.737498 5.14348 0 7 0ZM6.34375 3.28125V7C6.34375 7.21875 6.45312 7.42383 6.63633 7.54688L9.26133 9.29688C9.56211 9.49922 9.96953 9.41719 10.1719 9.11367C10.3742 8.81016 10.2922 8.40547 9.98867 8.20312L7.65625 6.65V3.28125C7.65625 2.91758 7.36367 2.625 7 2.625C6.63633 2.625 6.34375 2.91758 6.34375 3.28125Z",fill:"currentColor"})}),hne=t=>e.jsx("svg",{viewBox:"0 0 15.75 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...t,children:e.jsx("path",{d:"M4.5 0C5.12227 0 5.625 0.502734 5.625 1.125V2.25H10.125V1.125C10.125 0.502734 10.6277 0 11.25 0C11.8723 0 12.375 0.502734 12.375 1.125V2.25H14.0625C14.9941 2.25 15.75 3.00586 15.75 3.9375V5.625H0V3.9375C0 3.00586 0.755859 2.25 1.6875 2.25H3.375V1.125C3.375 0.502734 3.87773 0 4.5 0ZM0 6.75H15.75V16.3125C15.75 17.2441 14.9941 18 14.0625 18H1.6875C0.755859 18 0 17.2441 0 16.3125V6.75ZM2.8125 9C2.50312 9 2.25 9.25312 2.25 9.5625V12.9375C2.25 13.2469 2.50312 13.5 2.8125 13.5H6.187
71105C6.49688 13.5 6.75 13.2469 6.75 12.9375V9.5625C6.75 9.25312 6.49688 9 6.1875 9H2.8125Z",fill:"currentColor"})}),gne=t=>e.jsx("svg",{viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...t,children:e.jsx("path",{d:"M12 5C11.4469 5 11 4.55313 11 4C11 3.44687 11.4469 3 12 3H17C17.5531 3 18 3.44687 18 4V9C18 9.55313 17.5531 10 17 10C16.4469 10 16 9.55313 16 9V6.41563L10.7063 11.7063C10.3156 12.0969 9.68125 12.0969 9.29063 11.7063L6 8.41562L1.70625 12.7063C1.31562 13.0969 0.68125 13.0969 0.290625 12.7063C-0.1 12.3156 -0.1 11.6812 0.290625 11.2906L5.29063 6.29063C5.68125 5.9 6.31563 5.9 6.70625 6.29063L10 9.58438L14.5844 5H12Z",fill:"currentColor"})}),bne=t=>e.jsx("svg",{viewBox:"0 0 7.5 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",...t,children:e.jsx("path",{d:"M3.22031 8.77969C3.51328 9.07266 3.98906 9.07266 4.28203 8.77969L7.28203 5.77969C7.49766 5.56406 7.56094 5.24297 7.44375 4.96172C7.32656 4.68047 7.05469 4.49766 6.75 4.49766L0.75 4.5C0.447656 4.5 0.173437 4.68281 0.05625 4.96406C-0.0609375 5.24531 0.0046875 5.56641 0.217969 5.78203L3.21797 8.78203L3.22031 8.77969Z",fill:"currentColor"})}),$9=t=>q0(t).replace(/x$/,""),Cne=t=>{const s=Date.parse(t);return Number.isNaN(s)?"":new Date(s).toLocaleDateString("en-US",{month:"short",day:"numeric",timeZone:"UTC"})},jne=(t,s,a)=>{var i,o;const l=Date.parse(((i=t.schedule[t.currentWeekIndex])==null?void 0:i.startsAt)??""),r=Date.parse(((o=t.schedule[t.currentWeekIndex+1])==null?void 0:o.startsAt)??s??"");return Number.isNaN(l)||Number.isNaN(r)||r<=l?0:Math.min(Math.max((a-l)/(r-l),0),1)},vne=({boost:t,periodEnd:s,now:a,isWide:l})=>{const r=t.schedule.length,i=jne(t,s,a),o=r?(t.currentWeekIndex+i)/r*100:0,d=t.nextMultiplier!==null&&t.nextStartsAt!==null;return e.jsxs("div",{"data-testid":"tribe-wars-boost",className:g("flex flex-col justify-between gap-6 rounded-2xl border border-[rgba(112,134,255,0.1)] bg-gunmetal",l?"p-6":"p-4"),style:{backgroundImage:"linear-gradient(90deg, rgba(112,134,255,0.1) 0.38%, rgba(19,22,30,0) 99.615%)"},children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{className:"flex min-w-px items-center gap-3",children:[e.jsx("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-xl bg-[rgba(112,134,255,0.1)] text-checkbox-active",children:e.jsx(pne,{className:"h-6 w-[21px]"})}),e.jsx("p",{className:g("font-jost font-semibold leading-8 text-white",l?"text-2xl":"text-xl"),children:n("tribes.wars.boost.title")})]}),d?e.jsxs("div",{"data-testid":"tribe-wars-boost-countdown",className:"flex shrink-0 items-center gap-1.5 rounded-[44px] bg-[rgba(112,134,255,0.1)] px-3 py-2 font-jost text-sm font-medium leading-5 text-checkbox-active",children:[e.jsx(D9,{className:"size-3.5 shrink-0"}),n("tribes.wars.boost.countdown",{multiplier:$9(t.nextMultiplier??0),countdown:B8(t.nextStartsAt,a)})]}):null]}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsxs("div",{className:"flex items-baseline gap-2.5",children:[e.jsx("p",{"data-testid":"tribe-wars-boost-multiplier",className:g("font-jost font-semibold leading-none text-checkbox-active",l?"text-[48px]":"text-[40px]"),children:q0(t.currentMultiplier)}),e.jsx("p",{className:g("font-jost font-medium leading-6 text-white",l?"text-2xl":"text-xl"),children:n("tribes.wars.boost.points")})]}),d?e.jsx("p",{className:g("font-jost font-medium leading-[22px] text-stream-non-accent-color",l?"text-base":"text-sm"),children:n("tribes.wars.boost.next",{multiplier:$9(t.nextMultiplier??0),date:Cne(t.nextStartsAt??"")})}):null]}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsxs("div",{className:g("relative flex h-14 items-center gap-1 rounded-full bg-[#13161E]",l?"px-6":"px-3"),children:[t.schedule.map((u,c)=>e.jsx("div",{className:"relative h-2 min-w-px flex-1 rounded bg-stream-sub-highlight-color",children:c<=t.currentWeekIndex?e.jsx("div",{className:"absolute left-0 top-0 h-2 rounded-[52px] bg-checkbox-active",style:{width:c<t.currentWeekIndex?"100%":`${i*100}%`}}):null},u.weekIndex)),e.jsxs("div",{"data-testid":"tribe-wars-boost-marker",className:"pointer-events-none absolute top-1 flex -translate-x-1/2 flex-col items-center text-checkbox-active",style:{left:l?`calc(24px + (100% - 48px) * ${o/100})`:`calc(12px + (100% - 24px) * ${o/100})`},children:[e.jsx(D9,{className:"size-3"}),e.jsx(bne,{className:"h-3 w-[7.5px]"})]})]}),e.jsx("div",{className:g("flex items-start gap-1",l?"px-3":"px-0"),children:t.schedule.map(u=>{const c=u.weekIndex===t.currentWeekIndex;return e.jsxs("div",{className:"flex min-w-px flex-1 flex-col items-center gap-1",children:[e.jsx("p",{className:g("font-jost font-semibold leading-6",l?"text-base":"text-sm",c?"text-checkbox-active":"text-white"),children:q0(u.multiplier)}),c?e.jsx("span",{"data-testid":"tribe-wars-boost-now",className:g("rounded bg-[rgba(112,134,255,0.1)] px-1.5 py-0.5 font-jost text-xs font-medium leading-5 text-checkbox-active",l&&"px-2 text-sm"),children:n("tribes.wars.boost.now")}):e.jsx("span",{className:g("truncate font-jost text-xs font-medium leading-5 text-stream-non-accent-color opacity-60",l&&"text-sm"),children:n("tribes.wars.boost.week",{number:u.weekIndex+1})})]},u.weekIndex)})})]})]})},P9="/assets/ball-vvtrp1ta.webp",H9="/assets/bear-BnHROp7s.webp",U9="/assets/cauldron-CrSPC6rE.webp",V9="/assets/diamond-6Ns5p0DG.webp",z9="/assets/fish-fCx0CioH.webp",G9="/assets/gold7-BxkCJLh7.webp",wne="/assets/pig-phone-BAvUUFnb.webp",yne="/assets/pig-Df1yfaRi.webp",Z9="/assets/snake-CHD4W26u.webp",W9="/assets/teddy-DwH_ikhW.webp",K9="/assets/whale-CiJVEMky.webp",Ya={width:1121,height:426,bandWidth:1200},Rn={width:481,height:182.789,bandWidth:350,artHeight:240},Vp=[{name:"pig",driftX:.23,driftY:-.06,delay:0,desktop:{src:yne,side:"left",pos:-120.33,top:-122,width:214.84,height:223,rot:0,blur:2},phone:{src:wne,side:"left",pos:19.36,top:-32.96,width:85.12,height:88.16,rot:0,blur:0}},{name:"gold7",driftX:.285,driftY:.16,delay:40,desktop:{src:G9,side:"left",pos:-152.78,top:63.76,width:231.63,height:365.15,rot:43.42,blur:10},phone:{src:G9,side:"left",pos:6.81,top:44.59,width:91.36,height:144.02,rot:43.42,blur:3.66}},{name:"ball",driftX:.18,driftY:.08,delay:60,desktop:{src:P9,side:"left",pos:112.34,top:31.31,width:89.85,height:89.22,rot:0,blur:3},phone:{src:P9,side:"left",pos:99.3,top:22.75,width:32.87,height:32.64,rot:0,blur:1.1}},{name:"bear",driftX:.16,driftY:-.08,delay:80,desktop:{src:H9,side:"left",pos:239.86,top:-6.05,width:89.19,height:108.69,rot:25.13,blur:0},phone:{src:H9,side:"left",pos:145.95,top:9.09,width:32.62,height:39.76,rot:25.13,blur:0}},{name:"whale",driftX:.215,driftY:.145,delay:100,desktop:{src:K9,side:"left",pos:174.03,top:179.1,width:154.09,height:183.46,rot:-30.51,blur:2},phone:{src:K9,side:"left",pos:171.2,top:46.23,width:56.37,height:67.11,rot:-30.51,blur:.73}},{name:"diamond",driftX:.135,driftY:.06,delay:120,desktop:{src:V9,side:"left",pos:232.92,top:140.77,width:44.69,height:37.44,rot:30.63,blur:0}
7110,phone:{src:V9,side:"left",pos:128.21,top:63.38,width:22.32,height:18.7,rot:30.63,blur:0}},{name:"cauldron",driftX:-.27,driftY:-.145,delay:0,desktop:{src:U9,side:"right",pos:-85.95,top:-169.11,width:258.5,height:344.27,rot:-29.25,blur:0},phone:{src:U9,side:"left",pos:364.84,top:-77.58,width:98.52,height:131.2,rot:-29.25,blur:0}},{name:"teddy",driftX:-.25,driftY:.18,delay:40,desktop:{src:W9,side:"right",pos:-87.02,top:186.77,width:299.75,height:311.88,rot:2.22,blur:0},phone:{src:W9,side:"left",pos:349.53,top:58.05,width:114.24,height:118.86,rot:2.22,blur:0}},{name:"fish",driftX:-.18,driftY:-.08,delay:100,desktop:{src:z9,side:"right",pos:145.72,top:71.22,width:103.7,height:140.29,rot:169.56,blur:2},phone:{src:z9,side:"left",pos:318.57,top:18.93,width:48.62,height:65.78,rot:169.56,blur:.76}},{name:"snake",driftX:-.145,driftY:.1,delay:120,desktop:{src:Z9,side:"right",pos:233.17,top:232.43,width:77.57,height:134.71,rot:45.21,blur:2},phone:{src:Z9,side:"left",pos:277.64,top:58.21,width:29.56,height:51.34,rot:28.95,blur:.76}}],zp=()=>{const t=m.useRef(null),[s,a]=m.useState(null);return m.useEffect(()=>{const l=t.current;if(!l||typeof ResizeObserver>"u")return;const r=()=>a(u=>u===l.clientWidth?u:l.clientWidth);r();const i=new ResizeObserver(r);i.observe(l);let o=0;const d=()=>{r(),cancelAnimationFrame(o),o=requestAnimationFrame(r)};return window.addEventListener("resize",d),()=>{cancelAnimationFrame(o),i.disconnect(),window.removeEventListener("resize",d)}},[]),[t,s]},_ne=640,q9=8.5,Nne=()=>{var t;return typeof window<"u"&&!!((t=window.matchMedia)!=null&&t.call(window,"(prefers-reduced-motion: reduce)").matches)},kne=(t,s,a,l)=>{const r=`rotate(${s.rot}deg)`,i=`translate(${t.driftX*a}px,${t.driftY*a}px)`;return{width:`${s.width}px`,height:`${s.height}px`,top:`${s.top}px`,[s.side]:`${s.pos}px`,transform:l?r:`${i} ${r}`,transition:`transform 1s cubic-bezier(0.34,1.56,0.64,1) ${t.delay}ms,opacity 1s ease-in-out ${t.delay}ms`,opacity:l?1:0,...s.blur?{filter:`blur(${s.blur}px)`}:{}}},Sne=t=>{const[s,a]=m.useState(Nne);return m.useEffect(()=>{const l=t.current;if(!l||s)return;let r=l.parentElement,i=window;for(;r;){const{overflowY:u}=getComputedStyle(r);if(u==="auto"||u==="scroll"){i=r;break}r=r.parentElement}const o=()=>{(i instanceof Window?window.scrollY:i.scrollTop)>=100&&a(!0)},d=()=>a(!0);return i.addEventListener("scroll",o,{passive:!0}),o(),l.addEventListener("mouseenter",d),()=>{i.removeEventListener("scroll",o),l.removeEventListener("mouseenter",d)}},[t,s]),s},U0=({placements:t,stageWidth:s,shown:a})=>e.jsx(e.Fragment,{children:t.map(([l,r])=>e.jsx("img",{src:r.src,alt:"",width:Math.round(r.width),height:Math.round(r.height),loading:"eager",decoding:"async",draggable:!1,className:"pointer-events-none absolute max-w-none",style:kne(l,r,s,a)},l.name))}),Gp=t=>Vp.filter(s=>s.desktop.side===t).map(s=>[s,s.desktop]),Ane=Gp("left"),Lne=Gp("right"),Mne=Vp.map(t=>[t,t.phone]),Bne=()=>{const{isMediumBreakpointOrLarger:t}=_l(),[s,a]=zp(),l=Sne(s),r=a===null?t:a>=_ne,i=a===null?null:Math.min(1,a/Ya.bandWidth),o=a===null?null:a/Rn.bandWidth;return e.jsxs("div",{ref:s,"data-testid":"tribe-wars-hero",className:g("relative -mx-4 my-6 bg-background-primary md:my-10 xl:my-16",r?"grid grid-cols-1":"flex flex-col"),children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-1/2 h-[220px] w-[min(760px,120%)] -translate-x-1/2 -translate-y-1/2 blur-[70px] [background:radial-gradient(ellipse_60%_50%_at_50%_50%,rgba(112,134,255,0.35),transparent_100%)]"}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-[18%] size-[160px] -translate-x-1/2 -translate-y-1/2 blur-[60px] [background:radial-gradient(circle_at_50%_50%,rgba(251,182,63,0.35),transparent_70%)]"}),r&&i!==null?e.jsxs(e.Fragment,{children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-0 z-0 origin-left overflow-visible",style:{top:`calc(50% + ${q9*i}px)`,width:`${Ya.width}px`,height:`${Ya.height}px`,transform:`translateY(-50%) scale(${i})`},children:e.jsx(U0,{placements:Ane,stageWidth:Ya.width,shown:l})}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute right-0 z-0 origin-right overflow-visible",style:{to
7110p:`calc(50% + ${q9*i}px)`,width:`${Ya.width}px`,height:`${Ya.height}px`,transform:`translateY(-50%) scale(${i})`},children:e.jsx(U0,{placements:Lne,stageWidth:Ya.width,shown:l})})]}):null,e.jsxs("div",{className:"relative z-10 col-start-1 row-start-1 flex flex-col items-center justify-center gap-3 px-6 pt-10 text-center md:gap-6 md:py-14",children:[e.jsx(xc,{color:"#FBB63F",size:32}),e.jsx("h2",{className:"font-gilroy text-[32px] font-black uppercase leading-none text-[#C6C7DD] md:text-[40px]",children:n("tribes.wars.title")}),e.jsx("p",{className:"max-w-[384px] font-jost text-sm font-medium leading-[1.4] text-stream-non-accent-color md:text-base",children:n("tribes.wars.subtitle")})]}),!r&&o!==null?e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none relative w-full",style:{height:`${Rn.artHeight*o}px`},children:e.jsx("div",{className:"absolute left-1/2 top-0 origin-top overflow-visible",style:{width:`${Rn.width}px`,height:`${Rn.height}px`,transform:`translateX(-50%) translateY(${60*o}px) scale(${o})`},children:e.jsx(U0,{placements:Mne,stageWidth:Rn.width,shown:l})})}):null,r?e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-1/2 h-[86%] w-[min(680px,104%)] -translate-x-1/2 -translate-y-1/2 [background:radial-gradient(ellipse_58%_52%_at_50%_50%,rgba(19,22,30,0.95)_0%,rgba(19,22,30,0.82)_58%,transparent_100%)]"}):null,r?e.jsx("div",{"aria-hidden":"true",className:"col-start-1 row-start-1 w-full aspect-[1200/353]"}):null]})},Ene=["rule_wager","rule_boost","rule_reset"],Rne={rule_wager:e.jsx(Ta,{icon:"coins",className:"size-[18px]"}),rule_boost:e.jsx(gne,{className:"h-4 w-[18px]"}),rule_reset:e.jsx(hne,{className:"h-[18px] w-[15.75px]"})},Tne=()=>e.jsxs("div",{"data-testid":"tribe-wars-how-it-works",className:"flex flex-col gap-6 rounded-2xl border border-gunmetal bg-[#161923] p-6",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"font-jost text-xl font-semibold leading-[30px] text-white",children:n("tribes.wars.how_it_works.title")}),e.jsx("p",{className:"font-jost text-sm font-medium leading-5 text-stream-non-accent-color opacity-60",children:n("tribes.wars.how_it_works.description")})]}),e.jsx("div",{className:"flex flex-col gap-2.5",children:Ene.map(t=>e.jsxs("div",{className:"flex items-center gap-3 rounded-lg bg-gunmetal p-3",children:[e.jsx("div",{className:"flex size-10 shrink-0 items-center justify-center rounded bg-[#13161E] text-stream-non-accent-color",children:Rne[t]}),e.jsxs("div",{className:"flex min-w-px flex-1 flex-col gap-1",children:[e.jsx("p",{className:"font-jost text-base font-semibold leading-4 text-white",children:n(`tribes.wars.how_it_works.${t}.title`)}),e.jsx("p",{className:"font-jost text-sm font-medium leading-[14px] text-stream-non-accent-color opacity-60",children:n(`tribes.wars.how_it_works.${t}.description`)})]})]},t))})]}),ya="px-1 py-2.5 font-jost text-sm font-medium leading-5 text-stream-non-accent-color first:pl-3 last:pr-3 md:first:pl-4 md:last:pr-4",_a="px-1 py-2 align-middle first:pl-3 last:pr-3 md:first:pl-4 md:last:pr-4",ai="w-[8%] overflow-hidden text-right",Zp="w-[13%] overflow-hidden text-right",Wp="w-[15%] overflow-hidden text-right",Kp="w-[88px]",Ine=760,V0="block truncate font-jost text-sm font-medium leading-5 text-stream-non-accent-color",Y9=t=>Math.round(t).toLocaleString("en-US"),pr=t=>bs(t,U.USDT),Fne=t=>`${Ae}/${encodeURIComponent(t)}`,One=({record:t,isWide:s,isCompactNumbers:a,follow:l,onOpen:r})=>{const i=()=>r(t),o=c=>{c.stopPropagation(),r(t)},d=e.jsx(ss,{src:t.avatarUrl,size:"lg",userId:t.hostUserId,className:g("shrink-0",t.isLive&&"ring-2 ring-[#FF6659]")}),u=e.jsx(no,{variant:"compact",isFollowing:t.isFollowing,isPending:l.pendingOwnerIds.includes(t.hostUserId),onToggle:()=>l.onToggle(t),label:n("tribes.wars.table.follow_host",{host:t.username}),className:g("-m-3 size-11 shrink-0 bg-transparent hover:bg-transparent",!t.isFollowing&&"text-stream-non-accent-color")});return e.jsxs("tr",{"data-testid":"tribe-wars-row","data-username":t.username,onClick:i,className:"cursor-pointer border-b border-tribe-live bg-gunmetal transition-colors hover:bg-white/5 focus-within:bg-white/5",children:[e.jsx("th",{scope:"row",className:g(_a,s?"w-[40px]":"w-[28px]"),children:e.jsx("span",{className:g("block text-center font-jost text-sm font-semibold leading-5",t.rank<=3?"text-white":"text-stream-non-accent-color"),children:t.rank})}),e.jsx("td",{className:_a,children:e.jsxs("div",{className:"flex min-w-px items-center gap-2 md:gap-3",children:[d,e.jsxs("div",{className:"flex min-w-px flex-col gap-0.5",children:[e.jsx(De,{to:Fne(t.username),"data-testid":"tribe-wars-host-link",className:"truncate font-jost text-sm font-medium leading-5 text-white outline-offset-2 focus-visible:outline focus-visible:outline-checkbox-active",children:t.username}),s?null:e.jsx("span",{className:"truncate font-jost text-[11px] font-medium leading-4 text-stream-non-accent-color",children:n("tribes.wars.table.summary",{streams:t.streamCount,players:t.playerCount})})]})]})}),s?e.jsxs(e.Fragment,{children:[e.jsx("td",{className:g(_a,Kp),children:t.isLive?e.jsxs("button",{type:"button","data-testid":"tribe-wars-join-live","aria-label":n("tribes.wars.table.join_live_host",{host:t.username}),onClick:o,className:"flex h-8 w-full items-center justify-center gap-1.5 rounded-lg border border-checkbox-active bg-[rgba(112,134,255,0.1)] px-2 font-jost text-xs font-semibold leading-3 text-stream-non-accent-color transition-colors hover:text-white xl:h-9",children:[n("tribes.wars.table.join_live"),e.jsx(Ta,{icon:"arrowRight",className:"h-3 w-[10.5px] shrink-0"})]}):null}),e.jsx("td",{className:g(_a,ai),children:e.jsx("span",{className:V0,children:t.streamCount})}),e.jsx("td",{className:g(_a,ai),children:e.jsx("span",{className:V0,children:t.playerCount})}),e.jsx("td",{className:g(_a,Zp),"data-testid":"tribe-wars-wagered",children:e.jsx("span",{className:V0,children:a?`$${pd(pr(t.wageredAmount))}`:`$${Y9(pr(t.wageredAmount))}`})})]}):null,e.jsx("td",{className:g(_a,s?Wp:"w-[58px] overflow-hidden text-right"),children:e.jsx("span",{className:"block truncate font-jost text-base font-semibold leading-6 text-white",children:s&&!a?Y9(pr(t.score)):pd(pr(t.score))})}),e.jsx("td",{className:g(_a,"w-[44px] pl-2"),children:e.jsx("span",{className:"flex justify-end",children:u})})]})},Dne=({season:t,records:s,isWide:a,tableWidth:l,isExpandable:r,isPending:i,now:o,follow:d,onExpand:u,onOpenTribe:c})=>{const x=new Date(t.periodStart).toLocaleDateString("en-US",{month:"long",timeZone:"UTC"}),p=m.useRef(null),f=m.useRef(!1),h=l!==null&&l<Ine;m.useEffect(()=>{var v;f.current&&!r&&(f.current=!1,(v=p.current)==null||v.focus())},[r,s.length]);const b=()=>{f.current=!0,u()};return e.jsxs("div",{className:"flex flex-col gap-4","data-testid":"tribe-wars-leaderboard",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"font-jost text-lg font-semibold leading-[30px] text-white md:text-xl",children:n("tribes.wars.table.title",{month:x})}),e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-x-4 gap-y-1",children:[e.jsx("p",{className:"font-jost text-sm font-medium leading-5 text-stream-non-accent-color opacity-60",children:n("tribes.wars.table.subtitle")}),e.jsx("p",{"data-testid":"tribe-wars-resets-in",className:"shrink-0 whitespace-nowrap font-jost text-sm font-medium leading-5 text-stream-non-accent-color",children:n("tribes.wars.table.resets_in",{countdown:B8(t.periodEnd,o)})})]})]}),e.jsx("p",{className:"sr-only",role:"status","aria-live":"polite",children:n("tribes.wars.table.rows_shown",{count:s.length})}
7110),e.jsxs("div",{ref:p,tabIndex:-1,className:"overflow-hidden rounded-xl bg-gunmetal focus:outline-none",children:[e.jsxs("table",{className:"w-full table-fixed",children:[e.jsx("caption",{className:"sr-only",children:n("tribes.wars.table.caption",{month:x})}),e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-stream-sub-highlight-color bg-tribe-live",children:[e.jsx("th",{scope:"col",className:g(ya,"text-center",a?"w-[40px]":"w-[28px]"),children:"#"}),e.jsx("th",{scope:"col",className:g(ya,"text-left"),children:n("tribes.wars.table.host")}),a?e.jsxs(e.Fragment,{children:[e.jsx("th",{scope:"col",className:g(ya,Kp),children:e.jsx("span",{className:"sr-only",children:n("tribes.wars.table.join_live")})}),e.jsx("th",{scope:"col",className:g(ya,ai),children:n("tribes.wars.table.streams")}),e.jsx("th",{scope:"col",className:g(ya,ai),children:n("tribes.wars.table.players")}),e.jsx("th",{scope:"col",className:g(ya,Zp),children:n("tribes.wars.table.wagered")})]}):null,e.jsx("th",{scope:"col",className:g(ya,a?Wp:"w-[58px] overflow-hidden text-right"),children:n("tribes.wars.table.points")}),e.jsx("th",{scope:"col",className:g(ya,"w-[44px] pl-2"),children:e.jsx("span",{className:"sr-only",children:n("tribes.follow.subscribe")})})]})}),e.jsx("tbody",{children:s.map(v=>e.jsx(One,{record:v,isWide:a,isCompactNumbers:h,follow:d,onOpen:c},v.hostUserId))})]}),s.length?null:e.jsx("p",{"data-testid":"tribe-wars-empty",className:"px-4 py-10 text-center font-jost text-sm font-medium text-stream-non-accent-color",children:n("tribes.wars.table.empty")})]}),r?e.jsx("div",{className:"flex justify-center",children:e.jsx("button",{type:"button","data-testid":"tribe-wars-see-all",disabled:i,onClick:b,className:"flex h-11 items-center justify-center rounded-xl bg-gunmetal px-6 font-jost text-sm font-semibold leading-5 text-white transition-opacity hover:opacity-80 disabled:opacity-60",style:{backgroundImage:"linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.2) 100%)"},children:n("tribes.wars.table.show_top",{count:kb})})}):null]})},$ne=3e4,Pne=()=>{const[t,s]=m.useState(()=>Date.now());return m.useEffect(()=>{const a=window.setInterval(()=>s(Date.now()),$ne);return()=>window.clearInterval(a)},[]),t},Hne=640,Une=32,Vne=()=>{var v;const t=Y(),{openModal:s}=W(),{isMediumBreakpointOrLarger:a}=_l(),[l,r]=zp(),i=Pne(),o=r===null?a:r>=Hne,d=r===null?null:Math.max(0,r-Une),u=C({season:Fb,boost:Ib,podium:Tb,prizePoolUsd:Rb,records:Eb,isExpandable:Bb,isPending:Mb,error:Lb,isLoaded:Ab,followPendingOwnerIds:A8}),c=C(te),[x,p,f]=C([L8,M8,Sb]);m.useEffect(()=>{hd()},[]);const h=j=>{if(!c){s(_e,{tab:"register"});return}j.isFollowing?p({ownerId:j.hostUserId}):x({ownerId:j.hostUserId})},b=j=>t(`${Ae}/${j.username}`);return e.jsxs("section",{ref:l,"data-testid":"tribe-wars",className:g("flex flex-col gap-4 p-4",o&&"gap-6"),children:[e.jsx(Bne,{}),e.jsxs("div",{className:g("grid grid-cols-1 gap-4",o&&"grid-cols-2 gap-6"),children:[e.jsx(Tne,{}),u.boost?e.jsx(vne,{boost:u.boost,periodEnd:((v=u.season)==null?void 0:v.periodEnd)??null,now:i,isWide:o}):null]}),null,u.error?e.jsxs("div",{"data-testid":"tribe-wars-error",role:"alert",className:"flex flex-col items-center gap-3 rounded-xl border border-gunmetal bg-[#161923] px-4 py-8 text-center",children:[e.jsx("p",{className:"font-jost text-base font-semibold leading-6 text-white",children:n("global_error_generic")}),e.jsx("p",{className:"font-jost text-sm font-medium leading-5 text-stream-non-accent-color",children:n("error.try_again")}),e.jsx("button",{type:"button","data-testid":"tribe-wars-retry",disabled:u.isPending,onClick:()=>hd(),className:"h-11 rounded-xl bg-gradient-primary px-6 font-jost text-sm font-semibold leading-5 text-navbar-label-active transition-opacity hover:opacity-80 disabled:opacity-60",children:n("tribes.room.retryLoadGame")})]}):null,u.season?e.jsx(Dne,{season:u.season,records:u.records,isWide:o,tableWidth:d,isExpandable:u.isExpandable,isPending:u.isPending,now:i,follow:{pendingOwnerIds:u.followPendingOwnerIds,onToggle:h},onExpand:f,onOpenTribe:b}):u.isLoaded?u.error?null:e.jsx("p",{"data-testid":"tribe-wars-no-season",className:"py-10 text-center text-sm text-stream-non-accent-color",children:n("tribes.wars.table.empty")}):e.jsx("div",{"data-testid":"tribe-wars-loading",className:"h-[420px] animate-pulse rounded-xl bg-gunmetal"})]})},zne="bg-[linear-gradient(90deg,rgba(96,119,242,0.1)_0.38%,rgba(19,22,30,0)_99.62%),#1A1E27]",Gne=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M27.2001 13.3324C19.8575 1.71782 8.24298 1.71782 0.900446 13.3324C0.633445 13.7329 0.633445 14.2669 0.900446 14.6674C8.24298 26.2819 19.8575 26.2819 27.2001 14.6674C27.3336 14.2669 27.3336 13.7329 27.2001 13.3324ZM13.9835 20.6749C10.2455 20.6749 7.30848 17.7379 7.30848 13.9999C7.30848 10.2619 10.2455 7.32485 13.9835 7.32485C17.7215 7.32485 20.6585 10.2619 20.6585 13.9999C20.6585 17.7379 17.7215 20.6749 13.9835 20.6749Z",fill:"#6077F2"}),e.jsx("path",{d:"M16.6531 12.6649C15.8521 12.6649 15.3181 12.1309 15.3181 11.3299C15.3181 10.9294 15.4516 10.6624 15.7186 10.3954C15.1846 10.1284 14.6505 9.99487 13.983 9.99487C11.7135 9.99487 9.97803 11.7304 9.97803 13.9999C9.97803 16.2694 11.7135 18.0049 13.983 18.0049C16.2526 18.0049 17.9881 16.2694 17.9881 13.9999C17.9881 13.3324 17.8546 12.7984 17.5876 12.2644C17.3206 12.5314 17.0536 12.6649 16.6531 12.6649Z",fill:"#6077F2"})]}),Zne=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M4.95825 7.87489C4.95825 6.74711 5.87214 5.83322 6.99992 5.83322C8.1277 5.83322 9.04158 6.74711 9.04158 7.87489C9.04158 9.00267 8.1277 9.91655 6.99992 9.91655C5.87214 9.91655 4.95825 9.00267 4.95825 7.87489ZM4.66659 13.6207C4.29714 14.0291 4.08325 14.5735 4.08325 15.1666C4.08325 15.7596 4.29714 16.3041 4.66659 16.7124V13.6207ZM9.92631 11.8221C8.84714 12.7846 8.16658 14.1846 8.16658 15.7499C8.16658 17.0041 8.60408 18.1513 9.33325 19.0457V19.8332C9.33325 20.4749 8.80825 20.9999 8.16658 20.9999H5.83325C5.19159 20.9999 4.66659 20.4749 4.66659 19.8332V18.861C3.28603 18.1999 2.33325 16.7999 2.33325 15.1666C2.33325 12.911 4.16103 11.0832 6.41658 11.0832H7.58325C8.45825 11.0832 9.2652 11.3554 9.92631 11.8221ZM18.6666 19.8332V19.0457C19.3958 18.1416 19.8333 16.9943 19.8333 15.7499C19.8333 14.1943 19.1527 12.7846 18.0735 11.8221C18.7346 11.3554 19.5416 11.0832 20.4166 11.0832H21.5833C23.8388 11.0832 25.6666 12.911 25.6666 15.1666C25.6666 16.7999 24.7138 18.1999 23.3333 18.861V19.8332C23.3333 20.4749 22.8083 20.9999 22.1666 20.9999H19.8333C19.1916 20.9999 18.6666 20.4749 18.6666 19.8332ZM18.9583 7.87489C18.9583 6.74711 19.8721 5.83322 20.9999 5.83322C22.1277 5.83322 23.0416 6.74711 23.0416 7.87489C23.0416 9.00267 22.1277 9.91655 20.9999 9.91655C19.8721 9.91655 18.9583 9.00267 18.9583 7.87489ZM23.3333 13.6207V16.7124C23.7027 16.3041 23.9166 15.7596 23.9166 15.1666C23.9166 14.5735 23.7027 14.0291 23.3333 13.6207ZM13.9999 5.83322C15.293 5.83322 16.3333 6.8735 16.3333 8.16655C16.3333 9.45961 15.293 10.4999 13.9999 10.4999C12.7069 10.4999 11.6666 9.45961 11.6666 8.16655C11.6666 6.8735 12.7069 5.83322 13.9999 5.83322ZM11.0833 15.7499C11.0833 16.3429 11.3069 16.8777 11.6666 17.2957V14.2041C11.3069 14.6124 11.0833 15.1568 11.0833 15.7499ZM16.3333 14.2041V17.2957C16.7027 16.8874 16.9166 16.3429 16.9166 15.7499C16.9166 15.1568 16.693 14.6124 16.3333 14.2041ZM18.6666 15.7499C18.6666 17.3832 17.7138 18.7832 16.3333 19.4443V20.9999C16.3333 21.6416 15.8083 22.1666 15.1666 22.1666H12.8333C12.1916 22.1666 11.6666 21.6416 11.6666 20.9999V19.4443C10.286 18.7832 9.33325 17.3832 9.33325 15.7499C9.33325 13.4943 11.161 11.6666 13.4166 11.6666H14.5833C16.8388 11.6666 18.6666 13.4943 18.6666 15.7499Z",fill:"#6077F2"})}),Wne=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M23.0398 24.9999C24.0885 24.9211 24.9221 24.0875 25.0009 23.0388L20.5905 18.6284L18.6294 20.5894L23.0398 24.9999Z",fill:"#6077F2"}),e.jsx("path",{d:"M17.7563 15.1963L14.9878 17.5777L16.6037 18.9677L15.1854 20.386L16.0969 21.2974L21.297 16.0973L20.3855 15.1859L18.9672 16.6041L17.7563 15.1963Z",fill:"#6077F2"}),e.jsx("path",{d:"M13.1498 9.84036L7.68535 3.48762L3 2.99988L3.48774 7.68523L10.1065 13.3784L13.1498 9.84036Z",fill:"#6077F2"}),e.jsx("path",{d:"M3 23.0388C3.0788 24.0875 3.9124 24.9211 4.96109 24.9999L9.37152 20.5894L7.41043 18.6284L3 23.0388Z",fill:"#6077F2"}
7110),e.jsx("path",{d:"M9.03162 16.6041L7.61336 15.1858L6.7019 16.0973L11.902 21.2974L12.8135 20.386L11.3952 18.9677L24.5117 7.68523L24.9994 2.99988L20.3141 3.48762L9.03162 16.6041Z",fill:"#6077F2"})]}),z0=({icon:t,titleKey:s,descriptionKey:a,className:l})=>e.jsxs("div",{className:g("flex-col items-start justify-start gap-4 overflow-hidden rounded-2xl p-6",zne,l),children:[e.jsx("div",{className:"relative size-12 rounded-xl bg-[rgba(96,119,242,0.1)] p-[10px]",children:t}),e.jsxs("div",{className:"flex flex-col items-start justify-center gap-2 overflow-hidden",children:[e.jsx("div",{className:"text-xl font-semibold leading-loose text-white",children:n(s)}),e.jsx("div",{className:"break-words text-base font-medium leading-normal text-brandblue-100",children:n(a)})]})]}),Kne=()=>e.jsxs("div",{className:"flex flex-row justify-center gap-4 md:p-4","data-testid":"tribes-info-cards",children:[e.jsx(z0,{icon:e.jsx(Gne,{}),titleKey:"tribes.lobby.cards.watch.title",descriptionKey:"tribes.lobby.cards.watch.description",className:"flex"}),e.jsx(z0,{icon:e.jsx(Zne,{}),titleKey:"tribes.lobby.cards.enter_a_tribe.title",descriptionKey:"tribes.lobby.cards.enter_a_tribe.description",className:"hidden lg:flex"}),e.jsx(z0,{icon:e.jsx(Wne,{}),titleKey:"tribes.lobby.cards.become_a_leader.title",descriptionKey:"tribes.lobby.cards.become_a_leader.description",className:"hidden md:flex"})]}),X9=10,qne=({item:t})=>{const[s,a]=m.useState(!1);return e.jsxs("div",{className:"overflow-hidden rounded-lg bg-primary",children:[e.jsxs("button",{type:"button","data-testid":`tribes-faq-item-${t}`,"aria-expanded":s,onClick:()=>a(l=>!l),className:"flex w-full items-center justify-between gap-4 p-4 text-left text-sm font-medium text-white",children:[n(`tribes.faq.faq_item_${t}.heading`),s?e.jsx(ra,{className:"size-4 shrink-0"}):e.jsx(Qt,{className:"size-4 shrink-0"})]}),s?e.jsx("p",{className:"whitespace-pre-line px-4 pb-4 text-sm font-normal text-brandblue-100","data-testid":`tribes-faq-answer-${t}`,children:n(`tribes.faq.faq_item_${t}.paragraph`)}):null]})},G0=({items:t,className:s})=>e.jsx("div",{className:g("flex-col gap-2",s),children:t.map(a=>e.jsx(qne,{item:a},a))}),Yne=()=>{const t=Array.from({length:X9},(a,l)=>l+1),s=Math.ceil(X9/2);return e.jsxs("section",{className:"p-4","data-testid":"tribes-faq",children:[e.jsx("h2",{className:"text-2xl font-semibold text-white",children:n("modals.refer.faq")}),e.jsxs("div",{className:"mt-2 flex flex-col gap-6 lg:flex-row",children:[e.jsx(G0,{items:t,className:"flex w-full lg:hidden"}),e.jsx(G0,{items:t.slice(0,s),className:"hidden lg:flex lg:w-1/2"}),e.jsx(G0,{items:t.slice(s),className:"hidden lg:flex lg:w-1/2"})]})]})},Xne=()=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"size-6 text-white","aria-hidden":"true",children:e.jsx("path",{d:"M9 7.5l8 4.5-8 4.5V7.5z",fill:"currentColor"})}),qp=({image:t,className:s})=>e.jsxs("div",{className:g("relative size-full overflow-hidden bg-gunmetal",s),"data-testid":"tribes-stream-poster",children:[e.jsx("img",{src:t,alt:"","aria-hidden":"true",className:"size-full scale-110 object-cover blur-xl"}),e.jsx("div",{className:"absolute inset-0 bg-black/40"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("span",{className:"flex size-12 items-center justify-center rounded-full bg-black/50",children:e.jsx(Xne,{})})})]}),Jne="/assets/SelectedGame-DmmhYfV5.webp",Qne="/assets/TotalBalance-CbbPc2s-.webp",ele={DOLBY:5e3,NANOSTREAM:3e4},tle=400,Yp=.5,Xp="(hover: none), (pointer: coarse)",sle=()=>typeof window<"u"&&typeof window.matchMedia=="function"?!window.matchMedia(Xp).matches:!1,Jp=()=>{const[t,s]=m.useState(sle);return m.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const a=window.matchMedia(Xp),l=()=>s(!a.matches);return a.addEventListener("change",l),l(),()=>a.removeEventListener("change",l)},[]),t},Qp=()=>{const[t,s]=m.useState(!1),a=m.useRef(null),l=m.useCallback(()=>{a.current&&(clearTimeout(a.current),a.current=null)},[]),r=m.useCallback(()=>{l(),s(!1)},[l]);return m.useEffect(()=>{const i=()=>{document.visibilityState==="hidden"&&r()};
7110return document.addEventListener("visibilitychange",i),()=>{document.removeEventListener("visibilitychange",i),l()}},[r,l]),{isAudible:t,handlers:{onMouseEnter:()=>{l(),a.current=setTimeout(()=>s(!0),tle)},onMouseLeave:r}}},ale=({budgetMs:t,isReady:s})=>{const a=Jp(),{isAudible:l,handlers:r}=Qp(),[i,o]=m.useState(!0),d=m.useRef(null),u=m.useRef(!1),c=m.useCallback(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]);m.useEffect(()=>{if(!(!s||!a||u.current))return d.current=setTimeout(()=>o(!1),t),c},[s,a,t,c]),m.useEffect(()=>{const p=()=>{document.visibilityState==="hidden"&&(c(),o(!1))};return document.addEventListener("visibilitychange",p),()=>document.removeEventListener("visibilitychange",p)},[c]);const x=m.useCallback(()=>{u.current=!0,c(),o(!0)},[c]);return{isStreamEnabled:a,isPlaying:a&&i,isAudible:a&&l,handlers:{onMouseEnter:()=>{x(),r.onMouseEnter()},onMouseLeave:()=>{o(!1),r.onMouseLeave()}}}},nle=({room:t,highlighted:s})=>{var p;const a=C(ct),l=Jp(),{isAudible:r,handlers:i}=Qp(),o=E8(t.room.streamProvider),d=t.room.frameSource??"",u=t.room.game?(p=a.find(f=>f.gameCode===t.room.game))==null?void 0:p.name:void 0,c=t.viewers.count,x=r&&s;return e.jsxs("div",{"data-testid":"tribes-hero-card","data-room-uuid":t.room.uuid,"data-stream-provider":o,className:"grid size-full grid-cols-1 overflow-hidden rounded-xl bg-gunmetal text-left md:grid-cols-[1fr_200px]",...i,children:[e.jsxs("div",{className:"relative size-full overflow-hidden bg-black","data-testid":"tribes-hero-preview",children:[d&&!l?e.jsx(qp,{image:t.owner.image??a1()}):null,d&&l?o==="DOLBY"?e.jsx(Yn,{id:d,muted:!x,volume:x?Yp*100:0,paused:!s,className:"isolate [&>div]:min-h-0 [&_video]:min-h-0"}):e.jsx(si,{id:d,type:"frame",muted:!x,paused:!s,className:"isolate size-full"}):null,d?null:e.jsx("div",{className:"flex size-full items-center justify-center text-xs text-brandblue-100",children:n("tribes.noStream")}),e.jsx("div",{className:g("absolute inset-0 bg-black/40 transition-opacity",s?"opacity-0":"opacity-100")}),e.jsx("div",{className:"absolute bottom-2 left-2 flex items-center rounded-sm px-2 py-0.5 text-lg text-white opacity-90",children:t.room.name})]}),e.jsxs("div",{className:"hidden h-full flex-col justify-between border-l border-[#212734] bg-gunmetal p-2.5 text-left md:flex",children:[e.jsxs("div",{className:"flex items-center gap-2 border-b border-black-50 pb-5",children:[e.jsx(ss,{size:"md",src:t.owner.image??a1(),alt:""}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-white",children:t.owner.username.toUpperCase()}),e.jsxs("p",{className:"flex items-center justify-start gap-1 truncate text-sm font-semibold text-white",children:[e.jsx("span",{className:"size-1.5 rounded-full bg-red-600"}),e.jsx("span",{children:c}),e.jsx("span",{className:"text-brandblue-100",children:c===1?n("tribes_widget.viewer"):n("tribes_widget.viewers")})]})]})]}),e.jsx(Z0,{label:n("tribes_widget.players"),value:String(t.players.count)}),e.jsx(Z0,{label:n("tribes_widget.selectedGame"),value:u||"-",icon:Jne}),e.jsx(Z0,{label:n("tribes_widget.totalBalance"),value:`$${t.balance.amount}`,icon:Qne})]})]})},lle=()=>e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",className:"size-5 text-brand-tertiary","aria-hidden":"true",children:[e.jsx("circle",{cx:"7",cy:"6",r:"2.6",stroke:"currentColor",strokeWidth:"1.4"}),e.jsx("circle",{cx:"14",cy:"7",r:"2.1",stroke:"currentColor",strokeWidth:"1.4"}),e.jsx("path",{d:"M2.4 16c0-2.5 2-4.2 4.6-4.2s4.6 1.7 4.6 4.2",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),e.jsx("path",{d:"M13.2 12.1c2.2.2 3.8 1.8 3.8 3.9",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]}),Z0=({label:t,value:s,icon:a})=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex size-9 items-center justify-center rounded-sm bg-brandblue-100/10 p-2",children:a?e.jsx("img",{src:a,alt:"",className:"size-full object-contain"}):e.jsx(lle,{})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("p",{className:"truncate text-sm font-semibold text-brandblue-100",children:t}),e.jsx("p",{className:"w-28 truncate text-sm font-semibold text-white",children:s})]})]}),rle=({muted:t})=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",className:"size-4 text-white","aria-hidden":"true",children:[e.jsx("path",{d:"M4 9.5h3L11 6v12l-4-3.5H4z",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round"}),t?e.jsx("path",{d:"M15 9.5l4.5 5m0-5l-4.5 5",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"}):e.jsx("path",{d:"M15.5 9a4 4 0 010 6M18 7a7 7 0 010 10",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"})]}),ile=({sourceUrl:t,highlighted:s,staticDescription:a})=>{const l=m.useRef(null),r=C(Ob),i=C(Db),[o,d]=m.useState(!1),[u,c]=m.useState(!1),x=m.useMemo(()=>a1(),[]),p=s||o||u;m.useEffect(()=>{const h=l.current;h&&(p?h.play().catch(b=>console.warn("[TribesHero] Video play error:",b)):h.pause())}
7110,[p]),m.useEffect(()=>{const h=()=>{const b=l.current;b&&(document.visibilityState==="visible"?p&&b.play().catch(v=>console.warn("[TribesHero] Video play error:",v)):b.pause())};return document.addEventListener("visibilitychange",h),()=>document.removeEventListener("visibilitychange",h)},[p]);const f=typeof window>"u"?!0:window.matchMedia("(hover: hover)").matches;return e.jsx("div",{"data-testid":"tribes-hero-static-video",className:g("size-full overflow-hidden rounded-xl border border-[#212734] bg-[#171b24] transition-all duration-300 ease-in-out",s&&"scale-[1.02]"),onMouseEnter:()=>f&&d(!0),onMouseLeave:()=>f&&d(!1),onTouchStart:()=>c(!0),onTouchEnd:()=>c(!1),onTouchCancel:()=>c(!1),children:e.jsxs("div",{className:"grid h-full grid-cols-[100%] md:grid-cols-[70%_30%]",children:[e.jsxs("div",{className:"relative h-full overflow-hidden",children:[e.jsx("video",{ref:l,src:t,disablePictureInPicture:!0,playsInline:!0,muted:r,loop:!0,className:"size-full object-cover"}),e.jsx("button",{type:"button","aria-label":r?"Unmute":"Mute",onClick:h=>{h.stopPropagation(),h.preventDefault(),i()},className:"bg-black/50 hover:bg-black/70 absolute bottom-1 right-2 z-10 rounded-full p-2 transition-colors duration-200",children:e.jsx(rle,{muted:r})}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-8 bg-gradient-to-b from-[rgba(19,22,30,0.9)] to-transparent"}),e.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-8 bg-gradient-to-t from-[rgba(19,22,30,0.9)] to-transparent"})]}),e.jsx("div",{className:"hidden h-full flex-col justify-between border-l border-[#212734] bg-gunmetal p-2.5 text-left md:flex",children:e.jsxs("div",{className:"flex items-center gap-2 border-b border-black-50 pb-5",children:[e.jsx(ss,{size:"lg",src:x,alt:""}),e.jsx("p",{className:"flex items-center truncate text-sm font-semibold text-white",children:a.name})]})})]})})},ole=()=>{const t=typeof window>"u"?"whale.io":window.location.hostname;return t==="localhost"?"whale.io":t},cle=()=>[1,2,3].map(t=>`https://cdn-games.${ole()}/whale-marketing/tribes_carousel_holder${t}.mp4`),J9=[{name:"ThunderStorm",description:"Wild Waves Megaways"},{name:"FireBlaze",description:"Blazing Inferno Adventures"},{name:"IceFrost",description:"Frozen Tundra Escapades"},{name:"ShadowStrike",description:"Mystic Ninja Chronicles"}],dle=5e3,ule=100,W0=3,mle=({isActive:t,isPrev:s,isNext:a,isMobile:l})=>t?{zIndex:30,transform:"translateX(0) scale(1)",opacity:1}:s||a?l?{zIndex:20,transform:"translateX(0) scale(0.8)",opacity:0}
7110:{zIndex:20,transform:`translateX(${s?"-60%":"60%"}) scale(0.8)`,opacity:s?.5:.7,filter:"brightness(0.7)"}:{zIndex:10,transform:"translateX(0) scale(0.5)",opacity:0},Q9=({direction:t})=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:g("size-5 text-white",t==="left"&&"rotate-180"),"aria-hidden":"true",children:e.jsx("path",{d:"M9 6l6 6-6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),xle=()=>{const t=Y(),s=C(R8),a=Us(),l=C(T8),[r,i]=m.useState(0),[o,d]=m.useState(!1),u=m.useRef(null),c=m.useRef(null),x=m.useMemo(()=>{const j=s.map(N=>({kind:"room",room:N}));if(j.length>=W0)return j.slice(0,W0);const y=cle().map((N,k)=>({kind:"video",source:N,index:k}));return[...j,...y].slice(0,W0)},[s]),p=x.length>1,f=m.useCallback(()=>{u.current&&(clearInterval(u.current),u.current=null),c.current&&(clearTimeout(c.current),c.current=null)},[]),h=m.useCallback(()=>{f(),!(x.length<=1||o)&&(c.current=setTimeout(()=>{u.current=setInterval(()=>i(j=>(j+1)%x.length),dle)},ule))},[f,x.length,o]);m.useEffect(()=>(h(),f),[h,f]),m.useEffect(()=>{i(j=>x.length===0?0:j%x.length)},[x.length]);const b=j=>{i(j<0?x.length-1:j%x.length),h()};if(x.length===0)return null;const v=j=>{l({roomId:j.room.uuid,roomName:j.room.name,playerCount:j.players.count,roomBalance:j.balance.amount,hostName:j.owner.username,hostImage:j.owner.image,hostLevel:j.owner.level??0,roomImage:j.owner.image??a1()}),t(Qc(j))};return e.jsx("div",{"data-testid":"tribes-hero-stream",className:"relative w-full overflow-hidden pb-12 md:pb-16",onMouseEnter:()=>{d(!0),f()},onMouseLeave:()=>d(!1),children:e.jsxs("div",{className:"relative flex h-64 items-center justify-center [perspective:1000px]",children:[x.map((j,y)=>{const N=y===r,k=p&&y===(r-1+x.length)%x.length,w=p&&y===(r+1)%x.length,S=p&&!N&&!k&&!w;return e.jsx("div",{role:"button",tabIndex:N?0:-1,"data-testid":"tribes-hero-slide","data-active":N,onClick:()=>{if(!N){b(y);return}j.kind==="room"&&v(j.room)},onKeyDown:M=>{(M.key==="Enter"||M.key===" ")&&N&&j.kind==="room"&&(M.preventDefault(),v(j.room))},className:g("absolute h-[296px] w-full max-w-[696px] cursor-pointer rounded-xl transition-all duration-500 ease-in-out md:w-[90%]",N&&"pt-5",S&&"pointer-events-none"),style:mle({isActive:N,isPrev:k,isNext:w,isMobile:a}),children:j.kind==="room"?e.jsx(nle,{room:j.room,highlighted:N}):e.jsx(ile,{sourceUrl:j.source,highlighted:N,staticDescription:J9[j.index%J9.length]})},j.kind==="room"?j.room.room.uuid:`video-${j.index}`)}),p?e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button","aria-label":"Previous slide",onClick:j=>{j.preventDefault(),b(r-1)},className:"absolute left-2 top-1/2 z-50 flex -translate-y-1/2 items-center justify-center rounded-lg bg-[#1f232d] p-1.5 shadow-md transition-all duration-200 ease-in-out hover:bg-[#2a303d] md:left-4",children:e.jsx(Q9,{direction:"left"})}),e.jsx("button",{type:"button","aria-label":"Next slide",onClick:j=>{j.preventDefault(),b(r+1)},className:"absolute right-2 top-1/2 z-50 flex -translate-y-1/2 items-center justify-center rounded-lg bg-[#1f232d] p-1.5 shadow-md transition-all duration-200 ease-in-out hover:bg-[#2a303d] md:right-4",children:e.jsx(Q9,{direction:"right"})})]}):null]})})},e8=({room:t,carousel:s=!1,follow:a})=>{const l=Y(),r=C(T8),i=E8(t.room.streamProvider),o=t.room.frameSource??"",{isStreamEnabled:d,isPlaying:u,isAudible:c,handlers:x}=ale({budgetMs:ele[i],isReady:!!o}),p=t.viewers.count,f=$b(t.owner.country),h=()=>{r({roomId:t.room.uuid,roomName:t.room.name,playerCount:t.players.count,roomBalance:t.balance.amount,hostName:t.owner.username,hostImage:t.owner.image,hostLevel:t.owner.level??0,roomImage:t.owner.image??a1()}),l(Qc(t))};return e.jsxs("div",{"data-testid":"tribes-widget","data-room-uuid":t.room.uuid,"data-stream-provider":i,className:g("group flex size-full cursor-pointer flex-col overflow-hidden rounded-2xl bg-primary transition-colors hover:bg-[#20252F]",s?"min-w-[360px] max-w-[400px]":"min-w-full"),role:"button",tabIndex:0,onClick:h,onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),h())},...x,children:[e.jsxs("div",{className:"relative aspect-video w-full overflow-hidden bg-black","data-testid":"tribes-widget-preview",children:[o&&!d?e.jsx(qp,{image:t.owner.image??a1()}):null,o&&d?i==="DOLBY"?e.jsx(Yn,{id:o,muted:!c,volume:c?Yp*100:0,paused:!u,className:"isolate min-h-0 [&_video]:min-h-0"}):e.jsx(si,{id:o,type:"frame",muted:!c,paused:!u,className:"isolate size-full"}):null,o?null:e.jsx("div",{className:"flex size-full items-center justify-center text-xs text-brandblue-100","data-testid":"tribes-widget-no-stream",children:n("tribes.noStream")}),e.jsx("div",{className:g("absolute inset-0 bg-black/40 transition-opacity",!d||u?"opacity-0":"opacity-100"),"data-testid":"tribes-widget-preview-paused","data-
7110paused":d&&!u}),e.jsxs("div",{className:"absolute left-3 top-3 flex items-center gap-1.5 rounded-md bg-red-600 px-2 py-0.5 text-[11px] font-bold uppercase text-white",children:[e.jsx("span",{className:"size-1.5 rounded-full bg-white"}),n("tribes_widget.live")]}),e.jsxs("div",{className:"absolute right-3 top-3 flex items-center gap-2",children:[e.jsxs("div",{className:"bg-black/70 rounded-md px-2 py-0.5 text-[11px] font-medium text-white",children:[p," ",p===1?n("tribes_widget.viewer"):n("tribes_widget.viewers")]}),a?e.jsx(no,{variant:"compact",isFollowing:!!t.owner.isFollowing,isPending:a.isPending,onToggle:()=>a.onToggle(t)}):null]})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-3 p-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ss,{size:"lg",src:t.owner.image??a1(),alt:""}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("div",{className:"truncate text-sm font-semibold text-white",children:t.room.name}),e.jsxs("div",{className:"flex items-center gap-1 truncate text-xs text-brandblue-100",children:[f?e.jsx("span",{"aria-hidden":"true",children:f}):null,e.jsx("span",{className:"truncate",children:t.owner.username}),t.owner.level?e.jsxs("span",{className:"shrink-0",children:["· ",n("tribes_widget.level")," ",t.owner.level]}):null]})]})]}),e.jsxs("div",{className:"mt-auto flex items-end justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[11px] font-medium text-brandblue-100",children:n("tribes_widget.totalBalance")}),e.jsxs("div",{className:"text-sm font-semibold text-white","data-testid":"tribes-widget-balance",children:[t.balance.amount," ",t.balance.currency]})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"text-[11px] font-medium text-brandblue-100",children:n("tribes_widget.players")}),e.jsx("div",{className:"text-sm font-semibold text-white","data-testid":"tribes-widget-players",children:t.players.count})]})]})]})]})},fle=()=>e.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[e.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"white",fillOpacity:"0.1"}),e.jsx("path",{d:"M18 22.4979C20.4853 22.4979 22.5 20.4832 22.5 17.9979C22.5 15.5126 20.4853 13.4979 18 13.4979C15.5147 13.4979 13.5 15.5126 13.5 17.9979C13.5 20.4832 15.5147 22.4979 18 22.4979Z",fill:"white"}),e.jsx("path",{d:"M18 13.5H25.7929C25.0032 12.1318 23.8673 10.9956 22.4992 10.2056C21.1311 9.41571 19.5791 8.99989 17.9994 9C16.4196 9.00011 14.8677 9.41614 13.4998 10.2063C12.1318 10.9964 10.996 12.1328 10.2065 13.5011L14.103 20.25L14.1064 20.2491C13.7101 19.5656 13.5009 18.7896 13.5 17.9995C13.4991 17.2094 13.7065 16.433 14.1014 15.7485C14.4962 15.0641 15.0645 14.4959 15.749 14.1011C16.4334 13.7064 17.2098 13.499 18 13.5Z",fill:"url(#paint0_linear_chromeLogo)"}),e.jsx("path",{d:"M18 21.5625C19.9675 21.5625 21.5625 19.9675 21.5625 18C21.5625 16.0325 19.9675 14.4375 18 14.4375C16.0325 14.4375 14.4375 16.0325 14.4375 18C14.4375 19.9675 16.0325 21.5625 18 21.5625Z",fill:"#1A73E8"}),e.jsx("path",{d:"M21.8967 20.2511L18.0002 27C19.58 27.0003 21.1319 26.5845 22.5001 25.7947C23.8682 25.0049 25.0043 23.8688 25.794 22.5006C26.5838 21.1324 26.9995 19.5804 26.9992 18.0007C26.9989 16.4209 26.5827 14.8691 25.7924 13.5012H17.9995L17.9986 13.5047C18.7887 13.5032 19.5653 13.71 20.25 14.1043C20.9348 14.4986 21.5034 15.0664 21.8987 15.7506C22.294 16.4347 22.502 17.211 22.5016 18.0011C22.5013 18.7913 22.2926 19.5674 21.8967 20.2511Z",fill:"url(#paint1_linear_chromeLogo)"}),e.jsx("path",{d:"M14.1032 20.2512L10.2067 13.5023C9.41665 14.8703 9.00067 16.4222 9.00061 18.002C9.00055 19.5817 9.41642 21.1337 10.2064 22.5017C10.9964 23.8698 12.1326 25.0057 13.5009 25.7954C14.8691 26.585 16.4211 27.0005 18.0009 27.0001L21.8974 20.2511L21.8949 20.2486C21.5011 20.9336 20.9337 21.5028 20.2499 21.8986C19.566 22.2944 18.7899 22.503 17.9998 22.5033C17.2097 22.5035 16.4334 22.2955 15.7493 21.9001C15.0652 21.5047 14.4974 20.936 14.1032 20.2512Z",fill:"url(#paint2_linear_chromeLogo)"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"paint0_linear_chromeLogo",x1:"10.2065",y1:"14.625",x2:"25.7929",y2:"14.625",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#D93025"}),e.jsx("stop",{offset:"1",stopColor:"#EA4335"})]}),e.jsxs("linearGradient",{id:"paint1_linear_chromeLogo",x1:"16.7707",y1:"26.8797",x2:"24.5639",y2:"13.3814",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FCC934"}),e.jsx("stop",{offset:"1",stopColor:"#FBBC04"})]}),e.jsxs("linearGradient",{id:"paint2_linear_chromeLogo",x1:"18.9743",y1:"26.4381",x2:"11.181",y2:"12.9398",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#1E8E3E"}),e.jsx("stop",{offset:"1",stopColor:"#34A853"})]})]})]}),ple="https://www.google.com/chrome/",hle=()=>{const t=Y(),{closeModal:s}=W(),[a,l,r,i]=C([Pb,Hb,Ub,Vb]),[o,d]=m.useState(""),[u,c]=m.useState(""),x=zb(typeof navigator>"u"?"":navigator.userAgent);if(m.useEffect(()=>(x&&Gb(),()=>Zb()),[x]),m.useEffect(()=>{a.length>0&&d(f=>f||a[0])},[a]),m.useEffect(()=>{l&&(s(td),t(`${Ae}/${l}/stream`))},[l,s,t]),!x)return e.jsxs("div",{className:"flex max-w-[512px] items-center rounded-md bg-[rgba(31,35,45,0.6)] bg-gradient-to-r from-[rgba(96,119,242,0.1)] to-[rgba(26,30,39,0)] p-4 text-xs text-brandblue-200 backdrop-blur-md","data-testid":"tribe-create-chrome-gate",children:[e.jsx("div",{className:"mr-4 shrink-0",children:e.jsx(fle,{})}),e.jsxs("div",{className:"relative flex flex-col gap-1",children:[e.jsx("p",{className:"font-semibold text-white",children:n("tribes.streamer.chrome_required.title")}),e.jsx("p",{className:"text-[#9092B2]",children:n("tribes.streamer.chrome_required.description")}),e.jsx("a",{href:ple,target:"_blank",rel:"noreferrer",className:"relative text-blue-400 underline",children:n("tribes.streamer.chrome_required.download")})]})]});const p=Wb(o)&&!i;return e.jsxs("form",{"data-testid":"tribe-create-form",className:"flex flex-col gap-4 p-6",onSubmit:f=>{f.preventDefault(),p&&(X("Create room clicked",{isPrivate:gd.isPrivate}),Kb({name:o.trim(),description:u,...gd}))},children:[e.jsx("h2",{className:"text-xl font-semibold text-white",children:n("tribes.viewer.modal.open_tribe.title")}),e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:n("tribes.viewer.modal.open_tribe.name")}),e.jsx("input",{"data-testid":"tribe-create-name",value:o,maxLength:ko,onChange:f=>d(f.target.value.slice(0,ko)),list:"tribe-name-options",className:"h-11 rounded-lg border border-border-navbar bg-primary px-3 text-sm text-white outline-none focus:border-brand-tertiary"}),e.jsx("datalist",{id:"tribe-name-options",children:a.map(f=>e.jsx("option",{value:f},f))}),e.jsxs("span",{className:"self-end text-[11px] text-brandblue-100","data-testid":"tribe-create-name-count",children:[o.length,"/",ko]})]}),e.jsxs("label",{className:"flex flex-col gap-1.5",children:[e.jsx("span",{className:"text-xs font-medium text-brandblue-100",children:n("tribes.viewer.modal.open_tribe.description")}),e.jsx("textarea",{"data-testid":"tribe-create-description",value:u,onChange:f=>c(f.target.value),rows:3,className:"resize-none rounded-lg border border-border-navbar bg-primary p-3 text-sm text-white outline-none focus:border-brand-tertiary"})]}),r?e.jsx("div",{className:"text-xs text-red-400","data-testid":"tribe-create-error",children:r}):null,e.jsx("button",{type:"submit","data-testid":"tribe-create-submit",disabled:!p,className:"h-11 rounded-lg bg-gradient-primary text-sm font-medium text-navbar-label-active disabled:opacity-50",children:n("tribes.viewer.modal.open_tribe.create")})]})},td="tribeCreate",gle=$e({component:hle,hideTitle:!0,omitHeader:!0,hideContentHorizontalPadding:!0,isDrawer:!0,wrapperClass:"md:min-w-[460px] bg-black-50"}),ble=["create_tribe","deposit_seed","deposit_usdt","closing_room","percent_deposit"],Cle=()=>e.jsxs("div",{className:"flex flex-col gap-4 p-6","data-testid":"tribe-how-it-works",children:[e.jsx("h2",{className:"text-xl font-semibold text-white",children:n("tribes.how_it_works.title")}),e.jsx("p",{className:"text-sm text-brandblue-100",children:n("tribes.how_it_works.description")}),e.jsx("ul",{className:"flex flex-col gap-3",children:ble.map(t=>e.jsxs("li",{className:"flex gap-2 text-sm text-brandblue-100",children:[e.jsx("span",{className:"mt-1.5 size-1.5 shrink-0 rounded-full bg-brand-tertiary"}),e.jsx("span",{children:n(`tribes.how_it_works.bullets.${t}`)})]},t))})]}),eh="tribeHowItWorks",jle=$e({component:Cle,hideTitle:!0,omitHeader:!0,hideContentHorizontalPadding:!0,isDrawer:!0,wrapperClass:"md:min-w-[520px] bg-black-50"}),vle=()=>{const t=Y(),{openModal:s}=W(),[a,l,r,i,o,d,u,c]=C([R8,qb,Yb,Xb,Jb,te,We,ki]),[x,p]=C([Qb,eC]),f=k=>{if(!d){s(_e,{tab:"register"});return}k.owner.isFollowing?p({uuid:k.room.uuid}):x({uuid:k.room.uuid})},h=k=>({isPending:r.includes(k.room.uuid),onToggle:f}),b="z-20 grid w-full grid-cols-1 gap-4 self-stretch pb-4 md:grid-cols-[repeat(auto-fill,minmax(280px,1fr))] lg:grid-cols-[repeat(auto-fill,minmax(290px,1fr))] xl:grid-cols-[repeat(auto-fill,minmax(300px,1fr))] 2xl:gr
7110id-cols-[repeat(auto-fill,minmax(320px,1fr))]";m.useEffect(()=>{tC()},[]),m.useEffect(()=>{u!=null&&u.canCreateTribes&&sC()},[u==null?void 0:u.canCreateTribes]),m.useEffect(()=>{d&&!(u!=null&&u.canCreateTribes)&&EB()},[d,u==null?void 0:u.canCreateTribes]);const v=!!(u!=null&&u.selfExclusionUntil&&new Date(u.selfExclusionUntil)>new Date),j=aC({isAuthenticated:d,isProfileLoaded:u!==null,isSelfExcluded:v,canCreateTribes:!!(u!=null&&u.canCreateTribes),level:c.level}),y=e.jsx("button",{type:"button","data-testid":"tribes-how-it-works",onClick:()=>s(eh),className:"cursor-pointer whitespace-nowrap text-sm leading-5 text-white underline",children:n("tribes.streamer.howto")}),N="flex h-10 items-center justify-center gap-1.5 whitespace-nowrap rounded-lg border border-brand-tertiary bg-gradient-primary p-2 px-8 text-sm font-medium text-navbar-label-active shadow transition-colors active:opacity-90 sm:h-11";return e.jsxs("div",{"data-testid":"tribes-lobby",className:"mx-auto mb-4 w-full border-b border-b-primary bg-black-50 py-[0.2rem] transition-all duration-300 sm:max-w-full md:max-w-full lg:max-w-[952px] xl:max-w-[1160px] 2xl:max-w-[1360px]",children:[e.jsx(xle,{}),e.jsx("div",{className:"relative grid grid-cols-1 gap-6 py-4 md:grid-cols-12 md:p-4",children:e.jsx("div",{className:"col-span-full md:pt-0",children:e.jsxs("div",{className:"inline-flex items-center justify-between self-stretch md:mb-4 md:w-full",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(xc,{color:"#9092B2",size:32}),e.jsx("div",{className:"ml-2 font-jost text-[18px] font-semibold leading-[30px] text-white",children:n("global_ongoingtribes")})]}),e.jsx("div",{className:"ml-auto hidden items-center gap-4 md:flex",children:j==="start-tribe"?e.jsxs("div",{className:"flex items-center gap-4",children:[y,e.jsx("button",{type:"button","data-testid":"tribes-cta-streamer",className:N,style:{boxShadow:"0 0 160px 16px rgba(99, 122, 244, 0.4), 0 0 100px 2px rgba(0, 255, 200, 0.3)"},onClick:()=>o?t(`${Ae}/${o}/stream`):s(td),children:o?n("tribes.lobby.goto_current_tribe_cta.text"):n("tribes.streamer.startTribe")})]}):j==="level-requirement"?e.jsxs("div",{className:"flex items-center gap-4",children:[y,e.jsx("div",{"data-testid":"tribes-cta-level-requirement",className:"whitespace-nowrap text-sm leading-5 text-white",children:n("tribes.streamer.level_requirement")})]}):j==="register"?e.jsxs("div",{className:"flex items-center gap-4",children:[y,e.jsx("button",{type:"button","data-testid":"tribes-cta-register",className:N,onClick:()=>s(_e,{tab:"register"}),children:n("auth.button")})]}):j==="none"?e.jsx("div",{className:"flex items-center gap-4",children:y}):null})]})})}),e.jsx("div",{className:a.length>0?"pb-3 md:px-4":"md:px-4",children:a.length>0?e.jsxs(e.Fragment,{children:[l.length>0?e.jsxs("section",{"data-testid":"tribes-following-section",className:"mb-2",children:[e.jsx("h2",{className:"mb-3 font-jost text-base font-semibold text-white",children:n("tribes.lobby.following")}),e.jsx("div",{"data-testid":"tribes-following-grid",className:b,children:l.map(k=>e.jsx("div",{className:"size-full min-w-full",children:e.jsx(e8,{room:k,follow:h(k)})},k.room.uuid))})]}):null,e.jsxs("section",{"data-testid":"tribes-browse-section",children:[l.length>0?e.jsx("h2",{className:"mb-3 font-jost text-base font-semibold text-white",children:n("tribes.lobby.browse")}):null,e.jsx("div",{"data-testid":"tribes-rooms-grid",className:b,children:a.map(k=>e.jsx("div",{className:"size-full min-w-full",children:e.jsx(e8,{room:k,follow:h(k)})},k.room.uuid))})]})]}):i?null:e.jsxs("div",{className:"flex flex-col items-center gap-3 px-4 py-10 text-center","data-testid":"tribes-rooms-empty",children:[e.jsx("div",{className:"text-xl font-semibold text-white",children:n("tribes.lobby.no_rooms.title")}),e.jsx("div",{className:"max-w-[520px] text-sm text-brandblue-100",children:n("tribes.lobby.no_rooms.description")}),e.jsx("button",{type:"button",className:N,onClick:()=>t(ot),children:n("tribes.lobby.no_rooms.cta")})]})}),e.jsx(Kne,{}),e.jsx(Vne,{}),e.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 p-4 lg:flex-row",children:[e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx("span",{className:"text-2xl text-white",children:n("tribes.lobby.how_tribe_works.title")}),e.jsx("div",{className:"flex flex-col gap-4 text-brandblue-100 [&_p]:text-base [&_p]:leading-normal",dangerouslySetInnerHTML:{__html:n("tribes.lobby.how_tribe_works.text")}})]}),e.jsx("img",{src:"/tribes/treemock.webp",alt:"","data-testid":"tribes-how-it-works-illustration",className:"w-full lg:w-1/2",loading:"lazy",decoding:"async"})]}),e.jsx(Yne,{})]})},wle=()=>(Qe("meta.tribes.title","meta.tribes.description"),m.useEffect(()=>{X("Tribes Lobby Page")},[]),e.jsx(vle,{})),yle=()=>{const{game:t}=as();return ht.getState()||x8(),e.jsx(kt,{to:t?`${xt}/${t}`:Fs,replace:!0})},_le=()=>{var l;const t=ma(Cs.WhaleSpecials);m.useEffect(()=>{X("Whale Specials Category page")},[]);const s=n("global_whaleSpecials"),a=((l=t==null?void 0:t.categories)==null?void 0:l.flatMap(r=>r.games))??[];return e.jsxs("div",{className:"flex flex-col gap-8","data-testid":"whalespecials-lobby",children:[e.jsx(h1,{title:s,count:a.length}),e.jsx(Xc,{title:n("premium_category.whalespecials.banner.title"),description:n("premium_category.whalespecials.banner.description"),mobileBackgroun
7110dImage:"/wide-banners/hero/whalespecials-mobile.webp",backgroundImage:"/wide-banners/hero/whalespecials-web.webp"}),e.jsx(Fa,{gameCodes:a,title:s})]})},Nle=[],t8=()=>ke(Se.WhaleRoulette)?e.jsx(ite,{}):e.jsx(kt,{to:ot,replace:!0}),kle=()=>{const[t,s,a]=C([Je,te,ts]),[l,r]=m.useState(null);return m.useEffect(()=>{if(!t||!s)return;const i=new AbortController;return A$(i.signal).then(o=>{i.signal.aborted||r(o)}),()=>{i.abort(),r(null)}},[t,s]),t?!s||String(a).startsWith("-")?e.jsx(kr,{}):l?l===Zr.Betby?e.jsx(kr,{gameCode:wp,withDeeplinks:!1,analyticsEvent:"Sportsbook Beta Page"},l):e.jsx(kr,{},l):null:null},Sle=()=>{const[t,s,a]=C([Je,te,Ps]);return!t||s&&!a?null:ke(Se.SportsbookBeta)?e.jsx(kr,{gameCode:wp,withDeeplinks:!1,analyticsEvent:"Sportsbook Beta Page"}):e.jsx(kt,{to:ot,replace:!0})};m.lazy(()=>g1(()=>import("./TribesPickerDevPage-B43YCcsO.js"),__vite__mapDeps([8,1,2,4])).then(t=>({default:t.TribesPickerDevPage})));const Ale=({children:t})=>{const{pathname:s,search:a}=at(),l=zI(s,a);return l!==null?e.jsx(kt,{to:l,replace:!0}):e.jsx(e.Fragment,{children:t})},Lle=()=>{const{search:t,hash:s}=at();return e.jsx(kt,{to:{pathname:ot,search:t,hash:s},replace:!0})},Mle=()=>e.jsx(Ale,{children:e.jsx(Hu,{children:e.jsxs(H,{element:e.jsx(rx,{}),children:[e.jsx(H,{caseSensitive:!0,path:ot,element:e.jsx(qG,{})}),e.jsx(H,{caseSensitive:!0,path:wt(),element:e.jsx(cf,{})}),e.jsx(H,{caseSensitive:!0,path:Oi(),element:e.jsx(ef,{})}),e.jsx(H,{caseSensitive:!0,path:Di(),element:e.jsx(np,{})}),e.jsx(H,{caseSensitive:!0,path:ic(),element:e.jsx(ap,{})}),e.jsx(H,{caseSensitive:!0,path:y3,element:e.jsx(qr,{})}),e.jsx(H,{caseSensitive:!0,path:Uu,element:e.jsx(qr,{})}),e.jsx(H,{caseSensitive:!0,path:Bm(":slug"),element:e.jsx(_f,{})}),e.jsx(H,{caseSensitive:!0,path:Jt(":slug"),element:e.jsx(kf,{})}),e.jsx(H,{path:"*",element:e.jsx(Lle,{})})]})})}),Ble=()=>e.jsxs(Hu,{children:[e.jsxs(H,{element:e.jsx(rx,{}),children:[e.jsx(H,{caseSensitive:!0,path:ot,element:e.jsx(yX,{})}),e.jsx(H,{caseSensitive:!0,path:Ma,element:e.jsx(Yq,{})}),e.jsx(H,{caseSensitive:!0,path:Ve,element:e.jsx(vz,{})}),e.jsx(H,{caseSensitive:!0,path:n2,element:e.jsx(uee,{})}),e.jsx(H,{caseSensitive:!0,path:`${Ve}/:provider`,element:e.jsx(cee,{})}),e.jsx(H,{caseSensitive:!0,path:`${Ve}/:provider/:game`,element:e.jsx(Rq,{})}),e.jsx(H,{caseSensitive:!0,path:Ba,element:e.jsx(NX,{})}),e.jsx(H,{caseSensitive:!0,path:c1,element:e.jsx(AW,{})}),e.jsx(H,{caseSensitive:!0,path:Fs,element:e.jsx(wQ,{})}),e.jsx(H,{caseSensitive:!0,path:`${J8}/:categoryId`,element:e.jsx(wz,{})}),e.jsx(H,{caseSensitive:!0,path:p3,element:e.jsx(E0,{variant:"megaways"})}),e.jsx(H,{caseSensitive:!0,path:x3,element:e.jsx(E0,{variant:"newarrivals"})}),e.jsx(H,{caseSensitive:!0,path:f3,element:e.jsx(E0,{variant:"buyfeature"})}),e.jsx(H,{caseSensitive:!0,path:e7,element:e.jsx(_le,{})}),e.jsx(H,{caseSensitive:!0,path:m3,element:e.jsx(IJ,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/dice`,element:e.jsx(l4,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/mines`,element:e.jsx(I4,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/keno`,element:e.jsx(b4,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/duck`,element:e.jsx(r4,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/crash`,element:e.jsx(s4,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/roulette`,element:e.jsx(t8,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/blackjack`,element:e.jsx(F5,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/crock-dentist`,element:e.jsx(a4,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/tower`,element:e.jsx(A9,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/baccarat`,element:e.jsx(E5,{})}),e.jsx(H,{caseSensitive:!0,path:`${xt}/plinko`,element:e.jsx(V4,{})}),Nle.map(t=>e.jsx(H,{caseSensitive:!0,path:`${xt}/${t}`,element:e.jsx(TJ,{title:"Whale Originals"})},t)),e.jsx(H,{caseSensitive:!0,path:Os,element:e.jsx(kle,{})}),e.jsx(H,{caseSensitive:!0,path:n1,element:e.jsx(Sle,{})}),ox.map(t=>e.jsx(H,{caseSensitive:!0,path:`/${t}`,element:e.jsx(xte,{slug:t})},t)),e.jsx(H,{caseSensitive:!0,path:ps,element:Zl?e.jsx(rG,{}):e.jsx(LJ,{})}),e.jsx(H,{caseSensitive:!0,path:x6,element:Zl?e.jsx(cf,{}):e.jsx(pJ,{})}),e.jsx(H,{caseSensitive:!0,path:`${ps}/history`,element:e.jsx(np,{})}),e.jsx(H,{caseSensitive:!0,path:`${ps}/deliveries`,element:e.jsx(ap,{})}),e.jsx(H,{caseSensitive:!0,path:Y8,element:e.jsx(kt,{to:x6,replace:!0})}),e.jsx(H,{caseSensitive:!0,path:RB,element:e.jsx(ef,{})}),e.jsx(H,{caseSensitive:!0,path:`${ps}/:slug/open`,element:Zl?e.jsx(_f,{}):e.jsx(kt,{to:ps,replace:!0})}),e.jsx(H,{caseSensitive:!0,path:`${ps}/:slug`,element:Zl?e.jsx(kf,{}):e.jsx(IX,{})}),e.jsx(H,{caseSensitive:!0,path:V1,element:e.jsx(fQ,{})}),e.jsx(H,{caseSensitive:!0,path:Ea,element:e.jsx(Qte,{})}),e.jsx(H,{caseSensitive:!0,path:`${Ea}/:slug`,element:e.jsx(zte,{})}),e.jsx(H,{caseSensitive:!0,path:Ae,element:e.jsx(wle,{})}),e.jsx(H,{caseSensitive:!0,path:`${Ae}/:roomId`,element:e.jsx(fne,{})}),e.jsx(H,{caseSensitive:!0,path:`${Ae}/:roomId/stream`,element:e.jsx(B1e,{})}),null,e.jsx(H,{caseSensitive:!0,path:`${X8}/:game`,element:e.jsx(yle,{})}),e.jsx(H,{caseSensitive:!0,path:sa,element:e.jsx(Fee,{})}),e.jsx(H,{caseSensitive:!0,path:Q8,element:e.jsx(kt,{to:sa,replace:!0})}),e.jsx(H,{caseSensitive:!0,path:d1,element:e.jsx(fq,{})}),e.jsx(H,{caseSensitive:!0,path:Ut,element:e.jsx(kt,{to:TB,replace:!0})}),e.jsx(H,{caseSensitive:!0,path:`${Ut}/:subcategory`,element:e.jsx(oee,{})}),e.jsx(H,{caseSensitive:!0,path:`${Ut}/:subcategory/:promotion`,element:e.jsx(ree,{})}),e.jsx(H,{caseSensitive:!0,path:z1,element:e.jsx(Pte,{})}),e.jsx(H,{caseSensitive:!0,path:u3,element:e.jsx(fP,{})}),e.jsx(H,{caseSensitive:!0,path:y3,element:e.jsx(qr,{})}),e.jsx(H,{caseSensitive:!0,path:Uu,element:e.jsx(qr,{})}),e.jsx(H,{path:"*",element:e.jsx(hc,{})})]}),e.jsxs(H,{element:e.jsx(k$,{}),children:[e.jsx(H,{caseSensitive:!0,path:`${Nt}/dice`,element:e.jsx(l4,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/mines`,element:e.jsx(I4,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/keno`,element:e.jsx(b4,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/duck`,element:e.jsx(r4,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/crash`,element:e.jsx(s4,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/roulette`,element:e.jsx(t8,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/blackjack`,element:e.jsx(F5,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/crock-dentist`,element:e.jsx(a4,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/tower`,element:e.jsx(A9,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/baccarat`,element:e.jsx(E5,{})}),e.jsx(H,{caseSensitive:!0,path:`${Nt}/plinko`,element:e.jsx(V4,{})}),e.jsx(H,{path:`${Nt}/*`,element:e.jsx(Rle,{})})]})]}),Ele=()=>ue?e.jsx(Mle,{}):e.jsx(Ble,{}),Rle=()=>e.jsx("div",{className:"flex min-h-dvh w-full items-center justify-center text-sm font-medium text-white","data-testid":"tribes-frame-unavailable",children:n("global_not_available")}),Tle=()=>{const[t,s]=C([_3,IB.pending]),a=t==="missing_init_data",l=()=>{if(a){window.location.reload();return}FB()};return e.jsxs("div",{className:"flex min-h-dvh w-full flex-col items-center justify-center gap-y-6 bg-background-primary px-6 pt-tg-safe-top text-center font-jost text-white","data-testid":"telegram-auth-gate",children:[e.jsx("img",{src:"/random/1.webp",alt:"Whale",className:"size-16 object-cover"}),e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsx("p",{className:"text-2xl font-extrabold",children:n("telegram_auth_gate.title")}),e.jsx("p",{className:"text-base text-brandblue-100",children:n(a?"telegram_auth_gate.reopen":"telegram_auth_gate.description")})]}),e.jsx(O,{variant:"primary",className:"w-full max-w-xs px-4",disabled:s,onClick:l,"data-testid":"telegram-auth-gate-retry",children:n("telegram_auth_gate.retry")})]})},Ile="https://t.me/whale/whale",Fle=[{wrapper:"right-8 top-16 h-[343px] w-[422px] rotate-[-150deg]",dots:["right-[159px] top-[18px] size-[5px]","right-[269px] top-[93px] size-[5px]","right-[145px] top-[104px] size-[3px]","right-[162px] top-[109px] size-[3px]","right-[77px] top-[116px] size-[3px]"]},{wrapper:"bottom-0 left-0 h-[446px] w-[622px] rotate-[-15deg]",dots:["bottom-[87px] left-[188px] size-[5px]","bottom-[230px] left-[388px] size-[5px]","bottom-[232px] left-[267px] size-[3px]","bottom-[311px] left-[403px] size-[3px]","bottom-[261px] left-[23
71100px] size-[3px]"]},{wrapper:"right-32 top-[400px] h-[346px] w-[461px] rotate-180",dots:["right-[213px] top-[179px] size-[5px]","right-[100px] top-[241px] size-[5px]","right-[192px] top-[259px] size-[3px]","right-[319px] top-[203px] size-[3px]","right-[138px] top-[300px] size-[3px]"]},{wrapper:"left-32 top-[400px] h-[416px] w-[404px] rotate-180",dots:["left-[101px] top-[183px] size-[5px]","left-[128px] top-[87px] size-[5px]","left-[174px] top-[240px] size-[3px]","left-[200px] top-[196px] size-[3px]","left-[120px] top-[300px] size-[3px]"]},{wrapper:"right-32 top-[50px] h-[416px] w-[404px] rotate-[15deg]",dots:["left-[421px] top-[143px] size-[5px]","left-[468px] top-[67px] size-[5px]","left-[404px] top-[180px] size-[3px]","left-[440px] top-[156px] size-[3px]","left-[450px] top-[220px] size-[3px]"]}],Ole=()=>e.jsxs("div",{className:"relative flex min-h-dvh size-full items-center justify-center overflow-hidden bg-gradient-to-b from-black-50 to-[#222a47]","data-testid":"telegram-desktop-gate",children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 z-0 overflow-hidden",children:Fle.map(t=>e.jsx("div",{className:`absolute ${t.wrapper}`,children:t.dots.map(s=>e.jsx("div",{className:`absolute rounded-full bg-[#6077f2] ${s}`},s))},t.wrapper))}),e.jsxs("div",{className:"z-[2] flex flex-col items-center space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-center gap-4",children:[e.jsx("img",{src:"/random/1.webp",alt:"Whale Logo",className:"size-16 object-cover"}),e.jsx("h1",{className:"pt-4 text-2xl font-bold",children:"@Whale"})]}),e.jsxs("div",{className:"relative size-64 rounded-3xl bg-white",children:[e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(OB,{value:Ile,size:188,marginSize:0,bgColor:"#ffffff",fgColor:"#000000",level:"M"})}),e.jsx("span",{className:"absolute inset-x-0 bottom-0 flex h-6 items-center justify-center text-2xl font-extrabold leading-tight text-black-50",children:"@Whale"})]}),e.jsxs("div",{className:"z-[2] flex flex-col items-center gap-y-6",children:[e.jsxs("div",{className:"flex flex-col items-center gap-y-2",children:[e.jsx("p",{className:"text-center text-4xl font-extrabold text-white",children:"Play on your mobile"}),e.jsx("p",{className:"text-center text-base font-medium leading-normal text-brandblue-100",children:"Point the camera and open the link"})]}),e.jsx("div",{className:"inline-flex h-9 items-center justify-center gap-2.5 rounded-lg bg-[#7c91ff]/20 px-4 py-1.5",children:e.jsx("a",{className:"text-center text-base font-bold leading-normal text-[#7c90ff] hover:underline",href:"https://www.whale.io",target:"_blank",rel:"noopener",children:"Whale.io"})})]})]})]}),Dle=()=>e.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"#FF6659",fillOpacity:"0.1"}),e.jsx("g",{clipPath:"url(#clip0_1047_1192)",children:e.jsx("path",{d:"M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6024 26.3333 18 26.3333C13.3976 26.3333 9.66666 22.6024 9.66666 18C9.66666 13.3976 13.3976 9.66666 18 9.66666C22.6024 9.66666 26.3333 13.3976 26.3333 18Z",stroke:"#FF6659",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1047_1192",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(8 8)"})})})]}),$le=()=>e.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"#6178F3",fillOpacity:"0.1"}),e.jsx("g",{clipPath:"url(#clip0_1047_234)",children:e.jsx("path",{d:"M13.8333 25.2184C11.3425 23.7775 9.66666 21.0844 9.66666 17.9999C9.66666 13.3975 13.3976 9.66656 18 9.66656C22.6024 9.66656 26.3333 13.3975 26.3333 17.9999C26.3333 21.0844 24.6575 23.7775 22.1667 25.2184M21.3333 18L18 14.6666M18 14.6666L14.6667 18M18 14.6666V26.3333",stroke:"#6178F3",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1047_234",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(8 8)"})})})]}),Ple=()=>e.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"#54D149",fillOpacity:"0.1"}),e.jsx("g",{clipPath:"url(#clip0_1047_218)",children:e.jsx("path",{d:"M13.8333 25.2184C11.3425 23.7775 9.66666 21.0844 9.66666 17.9999C9.66666 13.3975 13.3976 9.66656 18 9.66656C22.6024 9.66656 26.3333 13.3975 26.3333 17.9999C26.3333 21.0844 24.6575 23.7775 22.1667 25.2184M21.3333 18L18 14.6666M18 14.6666L14.6667 18M18 14.6666V26.3333",stroke:"#54D149",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1047_218",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(8 8)"})})})]}),Hle=()=>e.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"#FFCA41",fillOpacity:"0.1"}),e.jsx("g",{clipPath:"url(#clip0_1047_202)",children:e.jsx("path",{d:"M13.8333 25.2184C11.3425 23.7776 9.66666 21.0845 9.66666 18C9.66666 13.3976 13.3976 9.66663 18 9.66663C22.6024 9.66663 26.3333 13.3976 26.3333 18C26.3333 21.0845 24.6575 23.7776 22.1667 25.2184M21.3333 18L18 14.6667M18 14.6667L14.6667 18M18 14.6667V26.3333",stroke:"#FFCA41",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1047_202",children:e.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(8 8)"})})})]}),Ule={success:e.jsx(Ple,{}),error:e.jsx(Dle,{}),info:e.jsx($le,{}),warning:e.jsx(Hle,{})},Vle={toast:"group flex flex-row items-center gap-x-6 p-4 group-data-[sonner-toaster]:rounded-lg group-data-[sonner-toaster]:border-none group-data-[sonner-toaster]:shadow-lg",success:"data-[type=success]:bg-gradient-success",error:"data-[type=error]:bg-gradient-error",info:"data-[type=info]:bg-gradient-info",warning:"data-[type=warning]:bg-gradient-warning",icon:"relative ml-[-3px] mr-1 flex size-4 shrink-0 items-center justify-start [&>*]:shrink-0 [&_svg]:ml-[-1px]",content:"flex flex-col gap-0.5",title:"font-medium group-data-[sonner-toast]:text-sm group-data-[sonner-toast]:text-white",description:"font-normal group-data-[sonner-toast]:text-xs group-data-[sonner-toast]:text-brandblue-100",closeButton:"absolute left-0 top-0 z-[1] flex size-5 -translate-x-[35%]
7110-translate-y-[35%] cursor-pointer items-center justify-center rounded-full p-0 group-data-[sonner-toast]:border-1 group-data-[sonner-toast]:border-solid group-data-[sonner-toast]:border-highlight group-data-[sonner-toast]:bg-highlight group-data-[sonner-toast]:text-sm group-data-[sonner-toast]:font-medium group-data-[sonner-toast]:text-brandblue-100"},zle={unstyled:!0,classNames:Vle},Gle=()=>e.jsx(DB,{className:"group",position:"bottom-left",expand:!0,closeButton:!0,visibleToasts:3,duration:$B,offset:32,mobileOffset:{bottom:20},icons:Ule,toastOptions:zle}),Zle=({isPaywall:t,redirect:s})=>{const{closeModal:a}=W(),l=Y(),r=t==="true",i=()=>{if(a(),r&&s&&s.startsWith("/")){l(s);return}l(sa)};return e.jsxs("div",{"data-testid":"purchase-battlepass-complete-modal",className:"flex flex-col items-center gap-6 px-5 py-8",children:[e.jsx("img",{src:"/battlepass/season-pass.webp",alt:"",className:"h-[168px] w-auto object-contain"}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("h2",{className:"text-xl font-bold text-white",children:n("purchase_battlepass_complete_modal.title")}),e.jsx("p",{className:"max-w-sm text-sm font-medium text-brandblue-100",children:n("purchase_battlepass_complete_modal.paragraph")})]}),e.jsx(O,{variant:"primary","data-testid":"battlepass-complete-cta",className:"h-12 w-full rounded-lg",onClick:i,children:n("purchase_battlepass_complete_modal.cta")})]})},Wle="purchaseBattlepassComplete",Kle=$e({component:Zle,removeSearchParams:["isPaywall","redirect"],hideTitle:!0,omitHeader:!0,hideContentHorizontalPadding:!0,wrapperClass:"max-w-[480px] bg-[#161923]"}),qle=({image:t,label:s,useSpinningBorder:a=!1})=>{const l=e.jsx("div",{className:"flex size-[72px] items-center justify-center rounded-2xl bg-[#292D3C]",children:t});return e.jsxs("div",{className:"flex w-[72px] flex-col items-center justify-center gap-2",children:[a?e.jsx("div",{className:"relative overflow-hidden rounded-2xl p-px before:absolute before:-inset-full before:animate-[spin_4s_linear_infinite] before:bg-[conic-gradient(from_0deg,transparent_0deg,#fcd753_60deg,transparent_120deg)] before:content-['']",children:e.jsx("div",{className:"relative",children:l})}):l,e.jsx("div",{className:g("text-nowrap text-center text-sm",a?"text-Accent-Main":"text-brandblue-100"),children:s})]})},Yle=11,Xle=t=>{if(!t)return Yle;const s=Number.parseInt(t,10);return Number.isNaN(s)?0:s},Jle=t=>{const s=Ia.findIndex(a=>a.minLevel===t);return Math.min(Math.max(0,s)+1,Ia.length)},Qle=t=>Ia[Math.min(Math.max(t,1),Ia.length)-1],ere=t=>{const{isAuthenticated:s,hasBattlePass:a,currentRankMinLevel:l,activeRankMinLevel:r}=t;return{isCurrentUserRank:a&&l===r,isHigherRank:!s||!a||l!==null&&l<r,isCompletedRank:a&&l!==null&&l>r}},tre=t=>{const{hasBattlePass:s,relation:a,unlockXp:l}=t;return s?a.isCurrentUserRank?{kind:"current"}:a.isHigherRank?{kind:"xp_to_unlock",xp:l}:{kind:"completed"}:{kind:"get_battlepass"}},sre=[2,3,7,9,11,13,15,17,19,20],are=t=>`/cashback/Cashback${sre.find(s=>t<=s)??22}.webp`,nre=(t,s)=>[{label:"cashback",value:`${s}%`},{label:"og_rtp",value:"99%"},{label:"tribe_leadership",value:!0},{label:"live_sports",value:!0},{label:"vip",value:t.isVip}],lre=({level:t})=>{const s=C(Vu),a=zu(s,t);return e.jsx("div",{className:"flex items-center justify-center gap-5",children:e.jsx(qle,{useSpinningBorder:!0,image:e.jsx("img",{src:are(a),alt:"","aria-hidden":"true",className:"size-12 pt-2"}),label:n("rank_perk.cashback_percentage",{percentage:a})})})},rre=({label:t,value:s="",className:a,isTagGoldenByDefault:l=!1})=>e.jsxs("div",{className:g("flex w-full items-center justify-between text-sm",a),children:[e.jsx("span",{children:n(`rank_perk.${t}`)}),typeof s=="boolean"?e.jsx("span",{className:g("flex h-5 items-center justify-center rounded-xs px-1.5",s?"bg-Accent-BgAlpha/10":"bg-error/10"),children:s?e.jsx(C1,{className:"size-4 text-Accent-Main"}):e.jsx(X3,{className:"size-4 text-error"})}):s?e.jsx("span",{className:g("h-5 rounded-xs px-1.5",l?"bg-Accent-BgAlpha/10 text-Accent-Main":"bg-[#323A4C] text-white"),children:s}):null]}),th=132,sh=6,ire=th+sh,ore=1,cre=Ia.length,dre=t=>{switch(t.kind){case"get_battlepass":return n("rank_info.get_battlepass");case"current":return n("rank_perks.title");case"xp_to_unlock":return n("rank_info.xp_to_unlock",{xp:ZB(t.xp)});case"completed":return n("rank_info.completed_rank")}},ure=({currentRank:t})=>{const[s,a,l,r,i]=C([Vu,PB,ki,We,te]),o=!!a&&s.length===0,d=Jle(t),[u,c]=m.useState(d);m.useEffect(()=>{HB()},[]),m.useEffect(()=>{c(d)},[d]);const x=Qle(u),p=UB(s,l.level),f=p?Ia.find(N=>N.minLevel===p.level)??null:null,h=!!(r!=null&&r.battlePassActive),b=ere({isAuthenticated:i,hasBattlePass:h,currentRankMinLevel:(f==null?void 0:f.minLevel)??null,activeRankMinLevel:x.minLevel}),v=tre({hasBattlePass:h,relation:b,unlockXp:VB(s,x.minLevel,(p==null?void 0:p.xp)??0)}),j=nre(x,zu(s,x.minLevel)),y=N=>
7110c(Math.min(Math.max(N,ore),cre));return e.jsxs("div",{className:"relative w-full",children:[e.jsxs("div",{className:"relative w-full",children:[e.jsx("div",{className:"relative h-[72px] overflow-hidden","aria-label":"Ranks",children:e.jsxs("div",{className:"absolute left-1/2 top-0 flex h-full items-center transition-transform duration-200",style:{gap:`${sh}px`,transform:`translateX(-${u*ire+th/2}px)`},children:[e.jsx("div",{className:"h-full w-[132px] shrink-0"}),Ia.map((N,k)=>{const w=k+1;return e.jsx("button",{type:"button","aria-label":n(N.name),"aria-current":w===u,className:"flex h-full w-[132px] shrink-0 items-center justify-center",onClick:()=>y(w),children:e.jsx("span",{className:g("flex items-center justify-center transition-all duration-200 hover:scale-110",w===u?"scale-150":""),children:e.jsx(tc,{rank:N.minLevel,size:"lg"})})},N.id)}),e.jsx("div",{className:"h-full w-[132px] shrink-0"})]})}),e.jsx("button",{type:"button","aria-label":"Previous rank",className:"absolute left-3 top-1/2 z-[1] flex size-[30px] -translate-y-1/2 items-center justify-center rounded-lg bg-[#292D3C] text-[#ADAFCE]",onClick:()=>y(u-1),children:e.jsx(zB,{className:"size-6"})}),e.jsx("button",{type:"button","aria-label":"Next rank",className:"absolute right-3 top-1/2 z-[1] flex size-[30px] -translate-y-1/2 items-center justify-center rounded-lg bg-[#292D3C] text-[#ADAFCE]",onClick:()=>y(u+1),children:e.jsx(GB,{className:"size-6"})}),e.jsx("div",{className:"pointer-events-none absolute right-0 top-0 h-full w-[120px] bg-gradient-to-r from-transparent to-[#13161E]"}),e.jsx("div",{className:"pointer-events-none absolute left-0 top-0 h-full w-[120px] bg-gradient-to-r from-[#13161E] to-transparent"})]}),e.jsx("div",{className:"w-full pt-3 text-center text-sm",children:n(x.name)}),e.jsxs("div",{className:"flex items-center justify-between gap-1.5 pt-6",children:[e.jsx("div",{className:"h-px flex-1 bg-[#323A4C]"}),e.jsx("div",{className:g("h-5 whitespace-nowrap rounded-xs px-2 text-sm",b.isCurrentUserRank?"bg-Accent-BgAlpha/10 text-Accent-Main":"",b.isCompletedRank||b.isHigherRank?"bg-[#323A4C] text-[#ADAFCE]":""),children:dre(v)}),e.jsx("div",{className:"h-px flex-1 bg-[#323A4C]"})]}),e.jsx("div",{className:"w-full pt-5",children:e.jsx(lre,{level:x.minLevel})}),e.jsx("div",{className:"pt-4",children:o?e.jsx("p",{className:"text-center text-sm text-brandblue-100","data-testid":"rank-perks-error",children:n("global_error_generic")}):e.jsx("div",{className:"flex w-full flex-col gap-y-px overflow-hidden rounded-md bg-[#292D3C]",children:j.map(N=>e.jsx(rre,{label:N.label,value:N.value,className:"bg-[#1F232F] px-2 py-2.5"},N.label))})})]})},mre="$777,777",xre=({showPromo:t=!0})=>{const[s,a]=C([We,te]),{openModal:l}=W(),r=!!(s!=null&&s.battlePassActive);return e.jsx("div",{"data-testid":"get-battlepass-card",className:"relative w-full overflow-hidden rounded-2xl p-px before:absolute before:-inset-full before:animate-[spin_4s_linear_infinite] before:bg-[conic-gradient(from_0deg,transparent_0deg,#fcd753_60deg,transparent_120deg)] before:content-['']",children:e.jsxs("div",{className:"relative flex h-[70px] items-center rounded-2xl bg-[#13161E] bg-gradient-to-r from-[rgba(252,215,83,0.24)] to-transparent",children:[e.jsx("div",{className:"relative h-full w-[110px] shrink-0",children:e.jsx("img",{src:"/battlepass/bp5-tickets.webp",alt:"Battle Pass Ticket",className:"absolute left-[-20px] h-auto w-[140px] rotate-[15deg] scale-[1.25] object-contain drop-shadow-[2px_6px_14px_rgba(0,0,0,0.45)]"})}),e.jsxs("div",{className:g("flex flex-1 gap-1 pl-1 pr-3",t?"flex-row items-center justify-between":"flex-col items-start"),children:[e.jsx("p",{className:g("text-base leading-6 text-white/90",t?"line-clamp-2 flex-1":""),children:t?n("modals.rewards.battlepass.promo_message",{amount:mre}):n("modals.rewards.battlepass.locked_message")}),e.jsx("button",{type:"button","data-testid":"get-battlepass-cta",disabled:r,className:"h-5 shrink-0 rounded-xl bg-golden/10 px-2 text-xs font-medium text-golden transition-colors hover:bg-golden/20 active:opacity-90 disabled:opacity-50",onClick:()=>a?l(Gu):l(_e,{tab:"login"}),children:n("rewards.buttons.get_battle_pass")})]})]})})},fre=({rank:t})=>{const s=C(We),{closeModal:a}=W(),l=!!(s!=null&&s.battlePassActive);return e.jsxs("div",{className:"relative flex min-h-full flex-col items-center gap-6 rounded-xl bg-[#13161E] p-6 pt-[80px] md:min-
7110h-0",children:[l?null:e.jsx(O,{variant:"ghost","aria-label":"Close Modal",className:"absolute right-6 top-6",onClick:()=>a(),children:e.jsx(ia,{})}),e.jsx(ure,{currentRank:Xle(t)}),l?e.jsx("div",{className:"flex w-full justify-center pt-10",children:e.jsx(O,{variant:"golden",className:"h-11 w-fit bg-[radial-gradient(ellipse_50.00%_29782.34%_at_50.00%_50.00%,_#FCD753_0%,_#E2B61A_100%)] px-6",onClick:()=>a(),children:n("rank_perks_modal.cta")})}):e.jsx(xre,{})]})},pre="rankPerks",hre=$e({component:fre,title:()=>n("rank_perks.title"),removeSearchParams:["rank"],hideTitle:!0,omitHeader:!0,hideContentHorizontalPadding:!0,wrapperClass:"max-w-[480px] border border-[#323A4C] bg-[#13161E]"}),gre=({name:t})=>{const{closeModal:s}=W();return e.jsxs("div",{"data-testid":"reward-claimed-custom-modal",className:"flex flex-col items-center gap-6 px-5 py-8",children:[e.jsx("img",{src:"/mission-whale-icon.webp",alt:"",className:"size-24 object-contain"}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("h2",{className:"text-xl font-bold text-white",children:n("modals.rewards.claimed.title")}),t?e.jsx("p",{"data-testid":"claimed-custom-name",className:"text-base font-semibold text-golden",children:t}):null,e.jsx("p",{className:"text-sm font-medium text-brandblue-100",children:n("modals.rewards.claimed.custom_description")})]}),e.jsx(O,{variant:"primary",className:"h-12 w-full rounded-lg",onClick:()=>s(),children:n("modals.rewards.claimed.cta_close")})]})},bre=({gameCode:t,bonusBuy:s})=>{const{closeModal:a}=W(),l=Y(),r=t?G1(t):void 0;return e.jsxs("div",{"data-testid":"reward-claimed-free-spins-modal",className:"flex flex-col items-center gap-6 px-5 py-8",children:[e.jsx("img",{src:"/rewards/freespins.webp",alt:"",className:"size-24 rounded-xl object-cover"}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("h2",{className:"text-xl font-bold text-white",children:n("modals.rewards.claimed.title")}),e.jsx("p",{className:"text-sm font-medium text-brandblue-100",children:n(s==="true"?"modals.rewards.claimed.bonus_buy_description":"modals.rewards.claimed.free_spins_description")})]}),e.jsx(O,{variant:"primary","data-testid":"claimed-free-spins-cta",className:"h-12 w-full rounded-lg",onClick:()=>{a(),l(r??Ve)},children:n("modals.rewards.claimed.cta.play")})]})},Cre=({rewardId:t,amount:s,currency:a})=>{const l=C(C3),{closeModal:r}=W(),i=Number(t),o=Number.isFinite(i)&&i>0,d=o&&l.includes(i),u=()=>{if(!o){r();return}r(),j3({userRewardId:i,type:$n.DEPOSIT,metadata:{amount:Number(s)||0,currency:a??""}})};return e.jsxs("div",{"data-testid":"rewards-claim-deposit-modal",className:"flex flex-col items-center gap-6 px-5 py-8",children:[e.jsxs("div",{className:"relative flex size-28 items-center justify-center",children:[e.jsx("div",{className:"absolute inset-0 rounded-full bg-[radial-gradient(circle,rgba(251,182,63,0.28),transparent_70%)]"}),e.jsx("img",{src:"/rewards/whale-token-xl.webp",alt:"",className:"size-24 object-contain"})]}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("h2",{className:"text-xl font-bold text-white",children:n("modals.rewards.deposit.claim.title")}),e.jsx("p",{className:"text-sm font-medium text-brandblue-100",children:n("modals.rewards.deposit.claim.description")})]}),e.jsxs("div",{className:"flex items-center gap-2 rounded-xl bg-secondary px-4 py-3",children:[e.jsx(we,{currency:a??"",className:"size-6 shrink-0"}),e.jsxs("span",{"data-testid":"claim-deposit-amount",className:"text-lg font-semibold text-white",children:[s," ",a]})]}),e.jsx(O,{variant:"primary","data-testid":"claim-deposit-cta",className:"h-12 w-full rounded-lg",disabled:d,onClick:u,children:n("modals.rewards.deposit.claim.cta")})]})},jre=()=>e.jsxs("div",{"data-testid":"rewards-claim-in-web-modal",className:"flex flex-col items-center gap-6 px-5 py-8",children:[e.jsx("img",{src:"/mission-whale-icon.webp",alt:"",className:"size-24 object-contain"}),e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("h2",{className:"text-xl font-bold text-white",children:n("modals.rewards.claimInWeb.title")}),e.jsx("p",{className:"text-sm font-medium text-brandblue-100",children:n("modals.rewards.claimInWeb.description")})]}),e.jsx(O,{variant:"primary","data-testid":"claim-in-web-cta",className:"h-12 w-full rounded-lg",onClick:()=>window.open(WB(H1()),"_blank","noopener"),children:n("modals.rewards.claimInWeb.cta")})]}),vre=()=>{const t=C(We),{closeModal:s}=W(),a=t!=null&&t.selfExclusionUntil?new Date(t.selfExclusionUntil):null,l=a&&!Number.isNaN(a.getTime())?a.toLocaleStr
7110ing():"";return e.jsxs("div",{"data-testid":"self-exclusion-notice-modal",className:"flex flex-col items-center gap-6 px-5 py-8",children:[e.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[e.jsx("h2",{className:"text-xl font-bold text-white",children:n("modals.selfExclusion.notice.title")}),e.jsx("p",{className:"text-sm font-medium text-brandblue-100",children:l?n("modals.selfExclusion.notice.description_until",{date:l}):n("modals.selfExclusion.notice.description")})]}),e.jsx(O,{variant:"primary",className:"h-12 w-full rounded-lg",onClick:()=>s(),children:n("modals.selfExclusion.notice.cta")})]})},wre="rewardsClaimDeposit",yre="rewardsClaimInWeb",_re="rewardClaimedFreeSpins",Nre="rewardClaimedCustom",kre="selfExclusionNotice",Fl=t=>$e({component:t,hideTitle:!0,omitHeader:!0,hideContentHorizontalPadding:!0,wrapperClass:"max-w-[420px] bg-[#161923]"}),Sre={...Fl(Cre),removeSearchParams:["rewardId","amount","currency"]},Are=Fl(jre),Lre={...Fl(bre),removeSearchParams:["gameCode","bonusBuy"]},Mre={...Fl(gre),removeSearchParams:["name"]},Bre=Fl(vre),ah={[_e]:QB,[es]:JB,[Gu]:XB,[Wle]:Kle,[pre]:hre,[wre]:Sre,[yre]:Are,[_re]:Lre,[Nre]:Mre,[kre]:Bre,[on]:DV,[Hc]:VZ,[Pc]:PZ,[Rf]:YW,[Ef]:KW,[Mp]:Oae,[Lp]:Iae,[Ux]:TV,[zx]:dz,[pl]:YB,[ul]:qB,[eE]:KB,[cp]:kJ,[$c]:MZ,[sp]:TX,[Zc]:PX,[op]:mJ,[ip]:oJ,[Q3]:OR,[Mi]:YE,[td]:gle,[eh]:jle,[vm]:LI,[Pp]:O1e,[Hp]:$1e},s8=t=>X2(t)?ah[t]:void 0,Ere=(t,{isAuthenticated:s,isVerifyingEmailInAuthModal:a})=>t!=="notAuthenticated"?!1:s&&!a,Rre=t=>t?t==="fit"?"max-w-fit":t:"",Tre=["a[href]","area[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"[tabindex]"].join(","),Ire=t=>t.tabIndex<0||t.closest("[inert]")?!1:typeof t.checkVisibility=="function"?t.checkVisibility({visibilityProperty:!0}):!0,a8=t=>Array.from(t.querySelectorAll(Tre)).filter(Ire),hr=t=>{t==null||t.focus({preventScroll:!0})},Fre=({children:t})=>{var z,le,V,$,re;const s=Y(),[a]=Q1(),l=m.useMemo(()=>tE(s,K=>{var ae;return((ae=s8(K))==null?void 0:ae.removeSearchParams)??[]},K=>{var ae;return(ae=s8(K))==null?void 0:ae.modalStorageKey}),[s]),[r,i]=C([te,f8]),o=a.get(I8),d=X2(o)?o:void 0,u=d?ah[d]:void 0,c=Ere(u==null?void 0:u.restricted,{isAuthenticated:r,isVerifyingEmailInAuthModal:i}),x=!!u&&!c,p=m.useId(),f=m.useRef(null),h=m.useRef(null),b=m.useRef(!1);b.current!==x&&(b.current=x,x&&typeof document<"u"&&(h.current=document.activeElement instanceof HTMLElement?document.activeElement:null)),m.useEffect(()=>{c&&d&&l.closeModal(d)},[c,d,l]),m.useEffect(()=>(m2(x),()=>{m2(!1)}),[x]);const v=!(u!=null&&u.persistent)&&!((z=u==null?void 0:u.preventClose)!=null&&z.call(u)),j=()=>{v&&l.closeModal()},y=m.useMemo(()=>{const K={};return a.forEach((ae,ee)=>{K[ee]=ae}),K},[a]);m.useEffect(()=>{if(!x)return;const K=document.querySelector("html"),ae=(K==null?void 0:K.style.overflowY)??"";K&&(K.style.overflowY="hidden");const ee=ie=>{ie.key==="Escape"&&j()};return u!=null&&u.persistent||window.addEventListener("keydown",ee),()=>{window.removeEventListener("keydown",ee),K&&(K.style.overflowY=ae||"auto")}},[x,l,u==null?void 0:u.persistent]),m.useEffect(()=>{if(x)return()=>{const K=h.current;h.current=null,K!=null&&K.isConnected&&hr(K)}},[x]),m.useLayoutEffect(()=>{const K=f.current;!x||!K||K.contains(document.activeElement)||hr(K)},[x,d]),m.useEffect(()=>{if(!x)return;const K=ae=>{const ee=f.current,ie=document.activeElement;if(ae.key!=="Tab"||!ee||ie&&ie!==document.body)return;ae.preventDefault();const Le=a8(ee);hr((ae.shiftKey?Le[Le.length-1]:Le[0])??ee)};return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[x]);const N=K=>{const ae=f.current;if(!ae)return;const ee=a8(ae);hr((K==="start"?ee[ee.length-1]:ee[0])??ae)},k=u==null?void 0:u.component,w=!(u!=null&&u.omitHeader)&&!(u!=null&&u.hideTitle),S=Vt()===zt.TELEGRAM,M=((le=u==null?void 0:u.title)==null?void 0:le.call(u).trim())??"",_=w&&M!=="",A=_?void 0:((V=u==null?void 0:u.accessibleName)==null?void 0:V.call(u).trim())||(w?"":M)||void 0,[E,L]=m.useState(),B=x&&!_&&!A;return m.useLayoutEffect(()=>{const K=f.current;if(!B||!K){L(void 0);return}const ae=()=>{const ie=Array.from(K.querySelectorAll("h1, h2, h3")).find(Le=>{var de;return Le.id!==p&&((de=Le.textContent)==null?void 0:de.trim())});
7110ie&&!ie.id&&(ie.id=`${p}heading`),L((ie==null?void 0:ie.id)||void 0)};ae();const ee=new MutationObserver(ae);return ee.observe(K,{childList:!0,subtree:!0}),()=>ee.disconnect()},[B,d,p]),e.jsxs(sE.Provider,{value:l,children:[t,x&&k?e.jsxs("div",{className:g("fixed inset-0 z-overlay flex items-center justify-center md:p-4",u!=null&&u.isDrawer?"pt-10":""),children:[v?e.jsx("button",{type:"button","aria-label":"Close Modal",className:"absolute inset-0 bg-[rgba(0,0,0,0.7)] backdrop-blur-sm",onClick:j}):e.jsx("div",{className:"absolute inset-0 bg-[rgba(0,0,0,0.7)] backdrop-blur-sm"}),e.jsx("span",{tabIndex:0,"data-testid":"modal-focus-guard-start",className:"pointer-events-none fixed size-px opacity-0 outline-none",onFocus:()=>N("start")}),e.jsxs("div",{ref:f,id:"active-modal",role:"dialog","aria-modal":"true","aria-labelledby":_?p:E,"aria-label":A,tabIndex:-1,className:g("group/modal z-20 flex size-full flex-col outline-none md:h-auto md:max-h-[90vh] md:w-[35rem] md:rounded-2xl md:shadow-lg",u!=null&&u.big?"md:w-[53rem]":"",u!=null&&u.hideTitle?"":"p-5 has-[[data-modal-full-bleed]]:px-0 md:has-[[data-modal-full-bleed]]:px-5",($=u==null?void 0:u.wrapperClass)!=null&&$.includes("bg-")?"":"bg-primary",(u==null?void 0:u.wrapperClass)??"",Rre(u==null?void 0:u.maxWidth),S?"pt-24":""),children:[w?e.jsxs("div",{className:g("z-drawer-buttons flex w-full items-center group-has-[[data-modal-full-bleed]]/modal:px-5 md:group-has-[[data-modal-full-bleed]]/modal:px-0",v?"flex-row-reverse justify-between":"flex-col justify-start"),children:[v?e.jsx("button",{type:"button","aria-label":"Close Modal",className:"flex size-8 items-center justify-center rounded-full bg-primary text-brandblue-100 hover:bg-secondary-active hover:text-white",onClick:j,children:e.jsx(Ta,{icon:"xmark",className:"h-[1em] w-auto"})}):null,e.jsxs("h2",{id:p,className:"flex items-center text-lg font-semibold text-white",children:[u!=null&&u.titleIcon?e.jsx("span",{className:"mr-3 flex items-center",children:e.jsx(u.titleIcon,{})}):null,((re=u==null?void 0:u.title)==null?void 0:re.call(u))??""]})]}):null,w?e.jsx("div",{className:"mt-2 h-px w-full bg-secondary group-has-[[data-modal-full-bleed]]/modal:mx-5 group-has-[[data-modal-full-bleed]]/modal:w-auto md:group-has-[[data-modal-full-bleed]]/modal:mx-0 md:group-has-[[data-modal-full-bleed]]/modal:w-full"}):null,e.jsx("div",{className:g("z-drawer-buttons flex h-full flex-col overflow-y-auto overflow-x-hidden",w?"pt-4":"",u!=null&&u.hideContentHorizontalPadding?"":"px-1 group-has-[[data-modal-full-bleed]]/modal:px-6 md:group-has-[[data-modal-full-bleed]]/modal:px-1"),children:e.jsx(k,{...y})})]}),e.jsx("span",{tabIndex:0,"data-testid":"modal-focus-guard-end",className:"pointer-events-none fixed size-px opacity-0 outline-none",onFocus:()=>N("end")})]}):null]})},Ore=()=>{const t=m.useRef(!1),[s,a,l,r,i]=C([ui,nC,lE,_3,v7]);return m.useEffect(()=>{var o;t.current||(t.current=!0,(o=document.getElementById("app-shell"))==null||o.remove(),RE(),rE()||(console.warn("[boot] appStarted did not run before the first render â mount-fired dataflow events on the initial route were dropped. Restore the appStarted() call in main.tsx boot()."),aE()))},[]),l?e.jsx(Ole,{}):r&&!i?e.jsx(Tle,{}):e.jsx(nE,{basename:m8(),children:e.jsxs(Gr,{recover:"reload",children:[e.jsx(d$,{}),e.jsx(gE,{}),e.jsx(AE,{}),e.jsx(jE,{}),e.jsxs(Fre,{children:[e.jsx(vE,{}),e.jsx(SE,{}),e.jsx(Ele,{}),e.jsx(Gle,{})]},`${s}:${a}`)]})})},Hre=Object.freeze(Object.defineProperty({__proto__:null,App:Ore},Symbol.toStringTag,{value:"Module"}));export{Hre as A,up as E,q3 as L,e1e as R,ns as S,g1e as T,e8 as a,lp as b,st as l};
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.