/*! bxs-vue-ui v3.3.0 */
import { g as global, $, p as path } from './entry-virtual.js';
import { w as whitespaces, r as require$$0 } from './string-trim.js';

var trim = require$$0.trim;


var nativeParseInt = global.parseInt;
var hex = /^[+-]?0[Xx]/;
var FORCED = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22;

// `parseInt` method
// https://tc39.github.io/ecma262/#sec-parseint-string-radix
var _parseInt = FORCED ? function parseInt(string, radix) {
  var S = trim(String(string));
  return nativeParseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
} : nativeParseInt;

// `parseInt` method
// https://tc39.github.io/ecma262/#sec-parseint-string-radix
$({ global: true, forced: parseInt != _parseInt }, {
  parseInt: _parseInt
});

var _parseInt$1 = path.parseInt;

var _parseInt$2 = _parseInt$1;

var _parseInt$3 = _parseInt$2;

export { _parseInt$3 as _ };
