| 1 |
- var t,n,r,o;function e(){if(o)return r;o=1;var e=function(){if(n)return t;n=1;var r=Object.prototype.toString,o=Math.max,e=function(t,n){for(var r=[],o=0;o<t.length;o+=1)r[o]=t[o];for(var e=0;e<n.length;e+=1)r[e+t.length]=n[e];return r};return t=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.apply(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,p=function(t){for(var n=[],r=1,o=0;r<t.length;r+=1,o+=1)n[o]=t[r];return n}(arguments),u=o(0,n.length-p.length),a=[],f=0;f<u;f++)a[f]="$"+f;if(i=Function("binder","return function ("+function(t,n){for(var r="",o=0;o<t.length;o+=1)r+=t[o],o+1<t.length&&(r+=n);return r}(a,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var r=n.apply(this,e(p,arguments));return Object(r)===r?r:this}return n.apply(t,e(p,arguments))}),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},t}();return r=Function.prototype.bind||e}export{e as r};
|