export function randomSeed(){return Math.floor(Math.random()*2**31)}export class Random{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}