import{__exports as e}from"../../../_virtual/esnext.math.seeded-prng.mjs";import{__require as r}from"../internals/export.mjs";import{__require as t}from"../internals/an-object.mjs";import{__require as s}from"../internals/number-is-finite.mjs";import{__require as i}from"../internals/iterator-create-constructor.mjs";import{__require as n}from"../internals/create-iter-result-object.mjs";import{__require as a}from"../internals/internal-state.mjs";var o;function m(){if(o)return e;o=1;var m=r(),u=t(),d=s(),f=i(),_=n(),p=a(),l="Seeded Random",c=l+" Generator",h=p.set,j=p.getterFor(c),q=TypeError,v=f(function(e){h(this,{type:c,seed:e%2147483647})},l,function(){var e=j(this),r=e.seed=(1103515245*e.seed+12345)%2147483647;return _((1073741823&r)/1073741823,!1)});return m({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var r=u(e).seed;if(!d(r))throw new q('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new v(r)}}),e}export{m as __require};