import{a as i}from"./chunk-RJ7BCVZA.js";import{n}from"./chunk-IRFDE6LX.js";var h=async(s,{audience:a,diceRolled:l,diceSet:c,results:m,rollId:p,total:d,type:y,action:f,kind:r,isDm:u,eventType:D},t,o,g,E,R)=>{try{await i(s,"GAME_ACTION",{gameId:g,playSessionId:E,actionTaken:"dice_roll",actionDescriptors:[{rollId:p,diceRolled:l,results:m,total:d,type:y,action:f,diceSet:c,audience:a,location:o,isDm:u,...r&&{kind:r},is3d:D===n.Deferred}]},t,void 0,R)}catch(e){let b=e instanceof Error?e.message:String(e);console.warn(b,{exception:e,location:`${t} > ${o} > instrumentDiceRoll`})}};export{h as a};
//# sourceMappingURL=chunk-3PH666YX.js.map
