Module 320118

546 characters · in 6b747e4b3254f2ae.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{F:()=>o});var s=n(311907),a=n(895944),r=n(649032),l=n(26508),i=n(673608),d=n(861495);function o(e){let t=e?.location??"useNitroProgramReward",n=(0,l.DK)(r.W.NITRO,t),{isReady:o,programReward:c,totalDays:u}=(0,s.cf)([a.A],()=>({isReady:a.A.isReady(),programReward:a.A.getRewardForProgram(r.W.NITRO),totalDays:a.A.getTotalDaysInDuration(r.W.NITRO)})),m=(0,i.q)(),h=(0,d.Q)(c,n),x=(0,d.Y)(c,u,n);return{isEligible:n,isReady:o,passesGeneralUIInvariant:h,passesProgressBarInvariant:x,programReward:c,shouldFetch:m,totalDays:u}}}