import{__require as r}from"./to-integer-or-infinity.mjs";import{__require as e}from"./to-length.mjs";var n,i;function t(){if(i)return n;i=1;var t=r(),o=e(),u=RangeError;return n=function(r){if(void 0===r)return 0;var e=t(r),n=o(e);if(e!==n)throw new u("Wrong length or index");return n}}export{t as __require};