import{n as i}from"./transform.B1W4q_4U.js";import{i as s}from"./_getAllKeys.DZaJc8Pt.js";import{b as f}from"./_baseClone.Rt-HIFZK.js";var o=/\s/;function c(r){for(var t=r.length;t--&&o.test(r.charAt(t)););return t}var a=/^\s+/;function m(r){return r&&r.slice(0,c(r)+1).replace(a,"")}var n=NaN,p=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,O=/^0o[0-7]+$/i,y=parseInt;function N(r){if(typeof r=="number")return r;if(s(r))return n;if(i(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=i(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=m(r);var e=b.test(r);return e||O.test(r)?y(r.slice(2),e?2:8):p.test(r)?n:+r}var I=1,d=4;function A(r){return f(r,I|d)}export{A as c,N as t};
