makearmy-app/node_modules/next/dist/compiled/util/util.js

1 line
33 KiB
JavaScript
Raw Normal View History

2025-09-22 10:37:53 -04:00
(function(){var r={992:function(r){r.exports=function(r,t,n){if(r.filter)return r.filter(t,n);if(void 0===r||null===r)throw new TypeError;if("function"!=typeof t)throw new TypeError;var o=[];for(var i=0;i<r.length;i++){if(!e.call(r,i))continue;var a=r[i];if(t.call(n,a,i,r))o.push(a)}return o};var e=Object.prototype.hasOwnProperty},256:function(r,e,t){"use strict";var n=t(192);var o=t(139);var i=o(n("String.prototype.indexOf"));r.exports=function callBoundIntrinsic(r,e){var t=n(r,!!e);if(typeof t==="function"&&i(r,".prototype.")>-1){return o(t)}return t}},139:function(r,e,t){"use strict";var n=t(212);var o=t(192);var i=o("%Function.prototype.apply%");var a=o("%Function.prototype.call%");var f=o("%Reflect.apply%",true)||n.call(a,i);var u=o("%Object.getOwnPropertyDescriptor%",true);var s=o("%Object.defineProperty%",true);var c=o("%Math.max%");if(s){try{s({},"a",{value:1})}catch(r){s=null}}r.exports=function callBind(r){var e=f(n,a,arguments);if(u&&s){var t=u(e,"length");if(t.configurable){s(e,"length",{value:1+c(0,r.length-(arguments.length-1))})}}return e};var y=function applyBind(){return f(n,i,arguments)};if(s){s(r.exports,"apply",{value:y})}else{r.exports.apply=y}},181:function(r){"use strict";r.exports=EvalError},545:function(r){"use strict";r.exports=Error},22:function(r){"use strict";r.exports=RangeError},803:function(r){"use strict";r.exports=ReferenceError},182:function(r){"use strict";r.exports=SyntaxError},202:function(r){"use strict";r.exports=TypeError},284:function(r){"use strict";r.exports=URIError},144:function(r){var e=Object.prototype.hasOwnProperty;var t=Object.prototype.toString;r.exports=function forEach(r,n,o){if(t.call(n)!=="[object Function]"){throw new TypeError("iterator must be a function")}var i=r.length;if(i===+i){for(var a=0;a<i;a++){n.call(o,r[a],a,r)}}else{for(var f in r){if(e.call(r,f)){n.call(o,r[f],f,r)}}}}},136:function(r){"use strict";var e="Function.prototype.bind called on incompatible ";var t=Object.prototype.toString;var n=Math.max;var o="[object Function]";var i=function concatty(r,e){var t=[];for(var n=0;n<r.length;n+=1){t[n]=r[n]}for(var o=0;o<e.length;o+=1){t[o+r.length]=e[o]}return t};var a=function slicy(r,e){var t=[];for(var n=e||0,o=0;n<r.length;n+=1,o+=1){t[o]=r[n]}return t};var joiny=function(r,e){var t="";for(var n=0;n<r.length;n+=1){t+=r[n];if(n+1<r.length){t+=e}}return t};r.exports=function bind(r){var f=this;if(typeof f!=="function"||t.apply(f)!==o){throw new TypeError(e+f)}var u=a(arguments,1);var s;var binder=function(){if(this instanceof s){var e=f.apply(this,i(u,arguments));if(Object(e)===e){return e}return this}return f.apply(r,i(u,arguments))};var c=n(0,f.length-u.length);var y=[];for(var p=0;p<c;p++){y[p]="$"+p}s=Function("binder","return function ("+joiny(y,",")+"){ return binder.apply(this,arguments); }")(binder);if(f.prototype){var l=function Empty(){};l.prototype=f.prototype;s.prototype=new l;l.prototype=null}return s}},212:function(r,e,t){"use strict";var n=t(136);r.exports=Function.prototype.bind||n},192:function(r,e,t){"use strict";var n;var o=t(545);var i=t(181);var a=t(22);var f=t(803);var u=t(182);var s=t(202);var c=t(284);var y=Function;var getEvalledConstructor=function(r){try{return y('"use strict"; return ('+r+").constructor;")()}catch(r){}};var p=Object.getOwnPropertyDescriptor;if(p){try{p({},"")}catch(r){p=null}}var throwTypeError=function(){throw new s};var l=p?function(){try{arguments.callee;return throwTypeError}catch(r){try{return p(arguments,"callee").get}catch(r){return throwTypeError}}}():throwTypeError;var g=t(115)();var v=t(14)();var b=Object.getPrototypeOf||(v?function(r){return r.__proto__}:null);var d={};var m=typeof Uint8Array==="undefined"||!b?n:b(Uint8Array);var S={__proto__:null,"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":