import{__require as r}from"./to-primitive.mjs";var e,t;function n(){if(t)return e;t=1;var n=r(),i=TypeError;return e=function(r){var e=n(r,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}}export{n as __require};