import{q as a}from"./vendor-D9GbouFG.js";import{F as s}from"./page-FortuneWheel.ts-CaqHFvhq.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="407d7a6f-a60e-442d-80a5-46da4e0c0e38",t._sentryDebugIdIdentifier="sentry-dbid-407d7a6f-a60e-442d-80a5-46da4e0c0e38")}catch{}const n={sectionList:[],prizeSection:null,isAvailable:!1,nextAvailableAt:"",step:s.INIT,error:"",spinRequestedAt:null},o=a(t=>({...n,setSectionList:e=>t(i=>({...i,sectionList:e.sections})),setSection:e=>t(i=>({...i,prizeSection:e})),setNextAvailable:e=>t(i=>({...i,nextAvailableAt:e})),setAvailable:e=>t(i=>({...i,isAvailable:e})),setError:e=>t(i=>({...i,error:e})),requestSpin:()=>t(e=>({...e,spinRequestedAt:Date.now()})),setStep:e=>t(i=>({...i,step:e})),clearSpinRequest:()=>t(e=>({...e,spinRequestedAt:null})),clear:()=>t(()=>({...n}))}));export{o as u};
//# sourceMappingURL=page-fortuneWheel.ts-CH3S4oZb.js.map