import{i as P,b,d as u,S as c,m as w,n as I,g as O}from"./_getTag.5j88QV3u.js";import{k as S,M as g,l as E}from"./index.hZKuveGx.js";var T="[object Symbol]";function f(n){return typeof n=="symbol"||P(n)&&b(n)==T}function _(n,r){for(var t=-1,e=n==null?0:n.length,i=Array(e);++t<e;)i[t]=r(n[t],t,n);return i}var l=c?c.prototype:void 0,p=l?l.toString:void 0;function m(n){if(typeof n=="string")return n;if(u(n))return _(n,m)+"";if(f(n))return p?p.call(n):"";var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function H(n){return n}var h=function(){try{var n=w(Object,"defineProperty");return n({},"",{}),n}catch(r){}}();function C(n,r,t){r=="__proto__"&&h?h(n,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[r]=t}var x=Object.prototype,A=x.hasOwnProperty;function U(n,r,t){var e=n[r];(!(A.call(n,r)&&S(e,t))||t===void 0&&!(r in n))&&C(n,r,t)}var M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/;function $(n,r){if(u(n))return!1;var t=typeof n;return t=="number"||t=="symbol"||t=="boolean"||n==null||f(n)?!0:z.test(n)||!M.test(n)||r!=null&&n in Object(r)}var N="Expected a function";function o(n,r){if(typeof n!="function"||r!=null&&typeof r!="function")throw new TypeError(N);var t=function(){var e=arguments,i=r?r.apply(this,e):e[0],s=t.cache;if(s.has(i))return s.get(i);var a=n.apply(this,e);return t.cache=s.set(i,a)||s,a};return t.cache=new(o.Cache||g),t}o.Cache=g;var R=500;function V(n){var r=o(n,function(e){return t.size===R&&t.clear(),e}),t=r.cache;return r}var G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/\\(\\)?/g,L=V(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(G,function(t,e,i,s){r.push(i?s.replace(K,"$1"):e||t)}),r});function X(n){return n==null?"":m(n)}function y(n,r){return u(n)?n:$(n,r)?[n]:L(X(n))}function d(n){if(typeof n=="string"||f(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}function B(n,r){r=y(r,n);for(var t=0,e=r.length;n!=null&&t<e;)n=n[d(r[t++])];return t&&t==e?n:void 0}function Z(n,r){return n!=null&&r in Object(n)}function q(n,r,t){r=y(r,n);for(var e=-1,i=r.length,s=!1;++e<i;){var a=d(r[e]);if(!(s=n!=null&&t(n,a)))break;n=n[a]}return s||++e!=i?s:(i=n==null?0:n.length,!!i&&I(i)&&E(a,i)&&(u(n)||O(n)))}function J(n,r){return n!=null&&q(n,r,Z)}export{H as a,_ as b,B as c,h as d,y as e,C as f,U as g,J as h,f as i,$ as j,d as t};
