"use strict";
/* Socket Lib - Built with esbuild */
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var number_exports = {};
__export(number_exports, {
  NumberCtor: () => NumberCtor,
  NumberEPSILON: () => NumberEPSILON,
  NumberIsFinite: () => NumberIsFinite,
  NumberIsInteger: () => NumberIsInteger,
  NumberIsNaN: () => NumberIsNaN,
  NumberIsSafeInteger: () => NumberIsSafeInteger,
  NumberMAX_SAFE_INTEGER: () => NumberMAX_SAFE_INTEGER,
  NumberMAX_VALUE: () => NumberMAX_VALUE,
  NumberMIN_SAFE_INTEGER: () => NumberMIN_SAFE_INTEGER,
  NumberMIN_VALUE: () => NumberMIN_VALUE,
  NumberNEGATIVE_INFINITY: () => NumberNEGATIVE_INFINITY,
  NumberPOSITIVE_INFINITY: () => NumberPOSITIVE_INFINITY,
  NumberParseFloat: () => NumberParseFloat,
  NumberParseInt: () => NumberParseInt,
  NumberPrototypeToExponential: () => NumberPrototypeToExponential,
  NumberPrototypeToFixed: () => NumberPrototypeToFixed,
  NumberPrototypeToPrecision: () => NumberPrototypeToPrecision,
  NumberPrototypeToString: () => NumberPrototypeToString,
  NumberPrototypeValueOf: () => NumberPrototypeValueOf
});
module.exports = __toCommonJS(number_exports);
var import_primordial = require("../smol/primordial");
var import_uncurry = require("./uncurry");
const _smolPrimordial = (0, import_primordial.getSmolPrimordial)();
const NumberCtor = Number;
const NumberEPSILON = Number.EPSILON;
const NumberMAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER;
const NumberMAX_VALUE = Number.MAX_VALUE;
const NumberMIN_SAFE_INTEGER = Number.MIN_SAFE_INTEGER;
const NumberMIN_VALUE = Number.MIN_VALUE;
const NumberNEGATIVE_INFINITY = Number.NEGATIVE_INFINITY;
const NumberPOSITIVE_INFINITY = Number.POSITIVE_INFINITY;
const NumberIsFinite = _smolPrimordial?.numberIsFinite ?? Number.isFinite;
const NumberIsInteger = _smolPrimordial?.numberIsInteger ?? Number.isInteger;
const NumberIsNaN = _smolPrimordial?.numberIsNaN ?? Number.isNaN;
const NumberIsSafeInteger = _smolPrimordial?.numberIsSafeInteger ?? Number.isSafeInteger;
const NumberParseFloat = _smolPrimordial?.numberParseFloat ?? Number.parseFloat;
const _smolParseInt10 = _smolPrimordial?.numberParseInt10;
const NumberParseInt = _smolParseInt10 ? (s, radix) => radix === void 0 || radix === 10 ? _smolParseInt10(s) : Number.parseInt(s, radix) : Number.parseInt;
const NumberPrototypeToExponential = (0, import_uncurry.uncurryThis)(
  Number.prototype.toExponential
);
const NumberPrototypeToFixed = (0, import_uncurry.uncurryThis)(Number.prototype.toFixed);
const NumberPrototypeToPrecision = (0, import_uncurry.uncurryThis)(
  Number.prototype.toPrecision
);
const NumberPrototypeToString = (0, import_uncurry.uncurryThis)(Number.prototype.toString);
const NumberPrototypeValueOf = (0, import_uncurry.uncurryThis)(Number.prototype.valueOf);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  NumberCtor,
  NumberEPSILON,
  NumberIsFinite,
  NumberIsInteger,
  NumberIsNaN,
  NumberIsSafeInteger,
  NumberMAX_SAFE_INTEGER,
  NumberMAX_VALUE,
  NumberMIN_SAFE_INTEGER,
  NumberMIN_VALUE,
  NumberNEGATIVE_INFINITY,
  NumberPOSITIVE_INFINITY,
  NumberParseFloat,
  NumberParseInt,
  NumberPrototypeToExponential,
  NumberPrototypeToFixed,
  NumberPrototypeToPrecision,
  NumberPrototypeToString,
  NumberPrototypeValueOf
});
