call-bind-apply-helpers.DJjIjCF_.js 571 B

1
  1. import{r}from"./function-bind.DrnB-baK.js";import{r as n}from"./es-errors.DTEWvbA_.js";var t,e,o,f,i,u,c,a,p,l;function s(){return e?t:(e=1,t=Function.prototype.call)}function y(){return f?o:(f=1,o=Function.prototype.apply)}function m(){if(a)return c;a=1;var n=r(),t=y(),e=s(),o=u?i:(u=1,i="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return c=o||n.call(e,t)}function d(){if(l)return p;l=1;var t=r(),e=n(),o=s(),f=m();return p=function(r){if(r.length<1||"function"!=typeof r[0])throw new e("a function is required");return f(t,o,r)}}export{s as a,y as b,d as r};