1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="dbcf5521-e0e3-4a3e-97b3-9b9d0c7887e5",e._sentryDebugIdIdentifier="sentry-dbid-dbcf5521-e0e3-4a3e-97b3-9b9d0c7887e5")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"20261005.8"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3839],{71931:function(e,a,l){"use strict";l.d(a,{$p:function(){return t},L5:function(){return C},ZP:function(){return w}});var s,t,n=l(52322),o=l(78418),c=l(83705),r=l(2784),i=l(43202),d=l(888),u={src:"/_next/static/media/daily_bonus_coins.1ea8fd32.svg",height:88,width:122,blurWidth:0,blurHeight:0},y=l(79313),b={src:"/_next/static/media/daily_bonus_checkmark.cc7c7baa.svg",height:51,width:67,blurWidth:0,blurHeight:0},m=l(35194),h=l(75840),x=l(96577),f=l.n(x),g=l(51199),p=l(46138),N=l(29577);l(72455),(s=t||(t={}))[s.COLLECT=0]="COLLECT",s[s.PENDING=1]="PENDING",s[s.COOL_DOWN=2]="COOL_DOWN",s[s.CLAIMED=3]="CLAIMED";let C="Failed to update daily bonus data in the background.";var w=e=>{let{type:a,gcValue:l,fcValue:s,day:t,imageUrl:x,cardStyle:w,handleClose:j,isFinalDay:D}=e,v=(0,g.TV)(j),E=(0,c.Y)(),{isEnableSweep:L}=(0,p.Pxw)(),_=(0,r.useMemo)(()=>{let e="collect-daily-bonus-box-title";return w===m.WK.Golden&&(e+="-gold"),e},[w,a]);return(0,n.jsxs)("div",{className:"collect-daily-bonus-box","data-sentry-component":"BonusBox","data-sentry-source-file":"BonusBox.tsx",children:[0===a&&(0,n.jsx)("div",{className:"collect-daily-bonus-box-collect-active"}),(0,n.jsxs)("div",{className:`collect-daily-bonus-box-title ${_}`,children:["Day ",t]}),(0,n.jsxs)("div",{className:"collect-daily-bonus-box-content",children:[D&&(0,n.jsx)("div",{className:"collect-daily-bonus-box-final-day-sub-header",children:"Big Daily Bonus"}),(0,n.jsxs)("div",{className:D?"final-day-content-wrapper":"content-wrapper",children:[(0,n.jsx)("div",{className:"collect-daily-bonus-box-coins-icon",children:(0,n.jsx)(d.Z,{src:[x,u],alt:"coins",width:"50",height:"50","data-sentry-element":"FallbackImage","data-sentry-source-file":"BonusBox.tsx"})}),(0,n.jsxs)("div",{className:"coin-row-wrapper",children:[(0,n.jsx)(N.T,{className:"collect-daily-bonus-box-gc-amount",coinType:m.ys.GC,amount:l,prepend:(0,n.jsx)(f(),{className:"collect-daily-bonus-box-gc-icon",src:y.h.gcIcon,alt:"GC coin",width:22,height:22}),"data-sentry-element":"CoinAmount","data-sentry-source-file":"BonusBox.tsx"}),L&&(0,n.jsx)(N.T,{className:"collect-daily-bonus-box-fc-amount",coinType:m.ys.FC,amount:s,prepend:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"collect-daily-bonus-box-add-symbol",children:"+ Free"})," ",(0,n.jsx)(f(),{className:"collect-daily-bonus-box-fc-icon",src:y.h.scIcon,alt:"FC coin",width:22,height:22})]})})]})]})]}),1!==a&&(0,n.jsx)("div",{className:"collect-daily-bonus-box-button-row",children:(0,n.jsx)(i.J,{variant:"primary",className:"collect-daily-bonus-box-button",onClick:()=>{v.doCollect({gc:l,fc:s}).then(()=>(0,h.l)().catch(()=>{E.show(o.w,{errorType:o.Q.ERROR_DIALOG_CLOSE,errorContent:C})}))},loading:v.requestState.isLoading,disabled:0!==a||v.requestState.isLoading,children:"COLLECT"})}),1===a&&(0,n.jsx)("div",{className:"layout-placeholder"}),3===a&&(0,n.jsx)("div",{className:"collect-daily-bonus-box-overlay",children:(0,n.jsx)(f(),{src:b,alt:"collected",width:100,height:81})})]})}},43839:function(e,a,l){"use strict";l.r(a);var s=l(52322),t=l(25331),n=l(83705),o=l(2784),c=l(46138),r=l(71931),i=l(43344),d=l(11353),u=l(65147);l(73944),a.default=e=>{let{close:a}=e,l=(0,c.CGy)(e=>e.user.dailyBonusInfo),y=(0,n.Y)(),b=(0,u.i)(),m=(0,o.useCallback)((e,a,l)=>a!==e||l?a<e||a===e&&l?r.$p.CLAIMED:l&&a===e+1?r.$p.COOL_DOWN:r.$p.PENDING:r.$p.COLLECT,[]);if(null===l||null===l.days)return(0,s.jsx)(s.Fragment,{});let h=(0,o.useCallback)(()=>{a(),b||y.show(t.d,{})},[a,y,b]);return(0,s.jsxs)(d.U,{close:h,title:"DAILY BONUS",className:"collect-daily-bonus","data-testid":(0,i.Q)("dialog.collectDailyBonus.root"),"data-sentry-element":"AppDialog","data-sentry-component":"CollectDailyBonusDialog","data-sentry-source-file":"CollectDailyBonusDialog.tsx",children:[(0,s.jsxs)("p",{className:"collect-daily-bonus-title",children:["Collect ",(0,s.jsx)("strong",{children:"daily"})," to claim the ",(0,s.jsx)("strong",{children:"BIG DAILY BONUS"})," on Day ",l?.days?.length,"!"]}),(0,s.jsx)("div",{className:"collect-daily-bonus-items-row",children:l?.days.map(e=>s.jsx("div",{className:"collect-daily-bonus-item",children:s.jsx(r.ZP,{type:m(l.currentDay,e.dayNumber,l.isCurrentDayBonusCollected),gcValue:e.productCurrencyAmount,fcValue:e.sweepCurrencyAmount,day:e.dayNumber,imageUrl:e.imageUrl,cardStyle:e.cardStyle,handleClose:a,isFinalDay:l?.days?.length===e.dayNumber})},e.dayNumber))}),(0,s.jsx)("p",{className:"collect-daily-bonus-footnote",children:"Daily Bonus and rewards may differ and change from time to time"})]})}},888:function(e,a,l){"use strict";
1var s=l(52322),t=l(2784),n=l(96577),o=l.n(n),c=l(41690),r=l(86239);a.Z=(0,t.memo)(e=>{let[a,l]=(0,t.useState)(0),[n,i]=(0,t.useState)(!1),d=(0,t.useMemo)(()=>{if(!e.src)return[""];if(!Array.isArray(e.src))return[e.src];{let a=new Set;for(let l of e.src)l&&a.add(l);return Array.from(a)}},[e.src]),u=d[a],y=()=>{c.$e(a=>{a.setLevel("info"),a.setExtra("name",`${e.alt?e.alt:"unknown"}`),a.setExtra("url",`${u||"unknown"}`),r.uT("Failed to load image")})},b=()=>{y&&y(),l(e=>e+1)},m=()=>{e.onFinalError&&e.onFinalError(),c.$e(a=>{a.setExtra("name",`${e.alt?e.alt:"unknown"}`),a.setExtra("url",`${u||"unknown"}`),r.uT("Failed to load backup image")})},h=()=>{i(!0),e.onLoad&&e.onLoad()};(0,t.useEffect)(()=>{l(0)},[d]);let x=(0,t.useMemo)(()=>a>=d.length?(m&&m(),(0,s.jsx)(s.Fragment,{children:e.children})):(0,s.jsx)(o(),{src:u,alt:e.alt||"game icon",className:`${e.className?e.className:""} ${n?"":"lazy-load-image-container"}`,onError:b,onLoad:h,fill:!0,sizes:"45vw"}),[a,d.length,e.src,n]);return(0,s.jsx)(s.Fragment,{children:x})},function(e,a){return!!a.src&&e.alt===a.alt&&("string"==typeof a.src&&"string"==typeof e.src?a.src===e.src:Array.isArray(e.src)&&Array.isArray(a.src)&&e.src.length===a.src.length&&e.src.every((e,l)=>e===a.src[l]))})},72455:function(){},73944:function(){}}]); 2//# sourceMappingURL=3839.9a657a7d65c37cc1.js.map
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.