import{bp as e,bj as f,br as h,ai as t,Y as g,b4 as m}from"./index-F5308wi0.js";function x(n,r){return n!=null&&r in Object(n)}function I(n,r,u){r=e(r,n);for(var a=-1,s=r.length,i=!1;++a<s;){var l=f(r[a]);if(!(i=n!=null&&u(n,l)))break;n=n[l]}return i||++a!=s?i:(s=n==null?0:n.length,!!s&&h(s)&&t(l,s)&&(g(n)||m(n)))}function v(n,r){return n!=null&&I(n,r,x)}export{v as h};