import{__exports as r}from"../../../_virtual/es.number.constructor.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/is-pure.mjs";import{__require as i}from"../internals/descriptors.mjs";import{__require as s}from"../internals/global-this.mjs";import{__require as o}from"../internals/path.mjs";import{__require as n}from"../internals/function-uncurry-this.mjs";import{__require as a}from"../internals/is-forced.mjs";import{__require as m}from"../internals/has-own-property.mjs";import{__require as u}from"../internals/inherit-if-required.mjs";import{__require as f}from"../internals/object-is-prototype-of.mjs";import{__require as p}from"../internals/is-symbol.mjs";import{__require as _}from"../internals/to-primitive.mjs";import{__require as l}from"../internals/fails.mjs";import{__require as c}from"../internals/object-get-own-property-names.mjs";import{__require as j}from"../internals/object-get-own-property-descriptor.mjs";import{__require as b}from"../internals/object-define-property.mjs";import{__require as q}from"../internals/this-number-value.mjs";import{__require as N}from"../internals/string-trim.mjs";var I;function g(){if(I)return r;I=1;var g=e(),h=t(),y=i(),E=s(),v=o(),d=n(),A=a(),w=m(),S=u(),T=f(),F=p(),x=_(),M=l(),V=c().f,G=j().f,L=b().f,O=q(),k=N().trim,C="Number",P=E[C],R=v[C],U=P.prototype,X=E.TypeError,Y=d("".slice),z=d("".charCodeAt),B=function(r){var e,t,i,s,o,n,a,m,u=x(r,"number");if(F(u))throw new X("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=k(u),43===(e=z(u,0))||45===e){if(88===(t=z(u,2))||120===t)return NaN}else if(48===e){switch(z(u,1)){case 66:case 98:i=2,s=49;break;case 79:case 111:i=8,s=55;break;default:return+u}for(n=(o=Y(u,2)).length,a=0;a<n;a++)if((m=z(o,a))<48||m>s)return NaN;return parseInt(o,i)}return+u},D=A(C,!P(" 0o1")||!P("0b1")||P("+0x1")),H=function(r){var e,t=arguments.length<1?0:P(function(r){var e=x(r,"number");return"bigint"==typeof e?e:B(e)}(r));return T(U,e=this)&&M(function(){O(e)})?S(Object(t),this,H):t};H.prototype=U,D&&!h&&(U.constructor=H),g({global:!0,constructor:!0,wrap:!0,forced:D},{Number:H});var J=function(r,e){for(var t,i=y?V(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),s=0;i.length>s;s++)w(e,t=i[s])&&!w(r,t)&&L(r,t,G(e,t))};return h&&R&&J(v[C],R),(D||h)&&J(v[C],P),r}export{g as __require};