1import{a4 as R,f as c,ag as _,bB as T,L as k,n as D,ax as A,W as B,o as i,O as N,b1 as O,p as j,j as P,U as z,q as L,aG as U,aF as W,S as C,t as $,aJ as q,b9 as F}from"./index-D5gHkNn-.js";import{f as S}from"./index-CgokGjYA.js";(function(){try{var e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e.SENTRY_RELEASE={id:"8c3b9aa2b95acaad15d7da0cf7f36f5b8cfcd6d1"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(o){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(a!=null)for(var s in a)a.hasOwnProperty(s)&&(o[s]=a[s])}return o})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:playsmart-ai":!0})}catch(o){}})();const G="/assets/box-D9HVUAu6.png";var H=$('<div class="mt-1 font-semibold text-secondary">: '),J=$('<div><div class="relative z-20 flex min-h-14 flex-col justify-center overflow-hidden rounded-lg bg-layer4 py-2 pl-16 pr-1"style="background-image:radial-gradient(circle at left center, rgba(238, 177, 36, .4), transparent)"><img class="absolute left-0 top-0 h-full w-auto"alt="gift box"><div class="text-base font-extrabold text-primary"> <span class=text-warning>+<!>%</span></div></div><b class="absolute -top-[25px] left-1/2 z-10 -ml-[8px] border-[16px] border-transparent">');function K(e){const o=q(()=>e.time);return F(t=>{var s;const a=o();return t&&!a&&((s=e.onCountdown)==null||s.call(e)),o()},o()),c(C,{get when(){return o()},children:t=>{const a=["d","h","m","s"],s=[t().days,t().hours,t().minutes,t().seconds],f=()=>{const n=t().days>0?0:1,u=n+3;return s.slice(n,u).map((g,r)=>`${g}${a[r+n]}`).join(" : ")};return(()=>{var n=H(),u=n.firstChild;return i(n,()=>S("Ends in"),u),i(n,f,null),n})()}})}function I(e){const[o,{refetch:t}]=R;return c(C,{get when(){return o()},children:a=>{const s=_(()=>{var l;const r=T(a());return new k((l=r==null?void 0:r.bonusRatio)!=null?l:0).mul(100).toNumber()}),f=_(()=>a().expiredTime);let n;const[u,g]=D(!1);return A(()=>{if(n){const r=n.getBoundingClientRect();g(r.right>window.innerWidth)}}),(()=>{var r=J(),l=r.firstChild,b=l.firstChild,m=b.nextSibling,p=m.firstChild,h=p.nextSibling,M=h.firstChild,v=M.nextSibling;v.nextSibling;var E=l.nextSibling,w=n;return typeof w=="function"?W(w,r):n=r,B(b,"src",G),i(m,()=>S("Deposit bonus"),p),i(h,s,v),i(l,c(K,{get time(){return f()},onCountdown:t}),null),i(l,c(N,{get onClick(){return e.close},class:"absolute right-0 top-0 h-8 w-8 p-2",get children(){return c(O,{})}}),null),j(d=>{var x=P("absolute top-14 w-72",u()?"right-0":"right-1/2 -mr-36"),y=z.darken?"rgb(86 78 55)":"rgb(252 240 218)";return x!==d.e&&L(r,d.e=x),y!==d.t&&U(E,"border-bottom-color",d.t=y),d},{e:void 0,t:void 0}),r})()}})}export{I as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.