import{r as v,a as p}from"./index-76fb7be0.js";import{p as g,q as y,h,l as P,a as b,n as I}from"./_baseAssignValue-4b27bc5d.js";var x=function(n){return n()},O=p["useInsertionEffect"]?p["useInsertionEffect"]:!1,$=O||x,B=O||v.useLayoutEffect;function _(){return _=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},_.apply(this,arguments)}function c(t,n){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,s){return r.__proto__=s,r},c(t,n)}function D(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n)}var E=g,m=y,F=Object.prototype,q=F.hasOwnProperty;function A(t,n,e){var r=t[n];(!(q.call(t,n)&&m(r,e))||e===void 0&&!(n in t))&&E(t,n,e)}var L=A,S=L,w=h,K=P,l=b,W=I;function j(t,n,e,r){if(!l(t))return t;n=w(n,t);for(var s=-1,u=n.length,d=u-1,o=t;o!=null&&++s<u;){var a=W(n[s]),i=e;if(a==="__proto__"||a==="constructor"||a==="prototype")return t;if(s!=d){var f=o[a];i=r?r(f,a,o):void 0,i===void 0&&(i=l(f)?f:K(n[s+1])?[]:{})}S(o,a,i),o=o[a]}return t}var G=j;export{D as _,_ as a,G as b,L as c,$ as d,c as e,B as u};
