bitslip6/bitfire

View on GitHub
public/underscore.min.js

Summary

Maintainability
A
0 mins
Test Coverage
(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?module.exports=a():typeof define==="function"&&define.amd?define("underscore",a):(b=typeof globalThis!=="undefined"?globalThis:b||self,(function(){var d=b._;var c=b._=a();c.noConflict=function(){b._=d;return c}}()))}(this,(function(){var cu="1.13.6";var cf=(typeof self=="object"&&self.self===self&&self)||(typeof global=="object"&&global.global===global&&global)||Function("return this")()||{};var bV=Array.prototype,bO=Object.prototype;var bv=typeof Symbol!=="undefined"?Symbol.prototype:null;var q=bV.push,V=bV.slice,t=bO.toString,ab=bO.hasOwnProperty;var e=typeof ArrayBuffer!=="undefined",F=typeof DataView!=="undefined";var aq=Array.isArray,bs=Object.keys,o=Object.create,S=e&&ArrayBuffer.isView;var a=isNaN,y=isFinite;var a4=!{toString:null}.propertyIsEnumerable("toString");var bB=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];var u=Math.pow(2,53)-1;function cm(cb,cF){cF=cF==null?cb.length-1:+cF;return function(){var cJ=Math.max(arguments.length-cF,0),cI=Array(cJ),cH=0;for(;cH<cJ;cH++){cI[cH]=arguments[cH+cF]}switch(cF){case 0:return cb.call(this,cI);case 1:return cb.call(this,arguments[0],cI);case 2:return cb.call(this,arguments[0],arguments[1],cI)}var cG=Array(cF+1);for(cH=0;cH<cF;cH++){cG[cH]=arguments[cH]}cG[cF]=cI;return cb.apply(this,cG)}}function cD(cF){var cb=typeof cF;return cb==="function"||(cb==="object"&&!!cF)}function cl(cb){return cb===null}function ba(cb){return cb===void 0}function aU(cb){return cb===true||cb===false||t.call(cb)==="[object Boolean]"}function be(cb){return !!(cb&&cb.nodeType===1)}function U(cF){var cb="[object "+cF+"]";return function(cG){return t.call(cG)===cb}}var bN=U("String");var aE=U("Number");var am=U("Date");var b3=U("RegExp");var R=U("Error");var bI=U("Symbol");var W=U("ArrayBuffer");var s=U("Function");var O=cf.document&&cf.document.childNodes;if(typeof/./!="function"&&typeof Int8Array!="object"&&typeof O!="function"){s=function(cb){return typeof cb=="function"||false}}var bW=s;var aH=U("Object");var G=(F&&aH(new DataView(new ArrayBuffer(8)))),Q=(typeof Map!=="undefined"&&aH(new Map));var aC=U("DataView");function ac(cb){return cb!=null&&bW(cb.getInt8)&&W(cb.buffer)}var aQ=(G?ac:aC);var aR=aq||U("Array");function k(cF,cb){return cF!=null&&ab.call(cF,cb)}var aj=U("Arguments");(function(){if(!aj(arguments)){aj=function(cb){return k(cb,"callee")}}}());var bK=aj;function cA(cb){return !bI(cb)&&y(cb)&&!isNaN(parseFloat(cb))}function a6(cb){return aE(cb)&&a(cb)}function bH(cb){return function(){return cb}}function cz(cb){return function(cG){var cF=cb(cG);return typeof cF=="number"&&cF>=0&&cF<=u}}function a7(cb){return function(cF){return cF==null?void 0:cF[cb]}}var b4=a7("byteLength");var bd=cz(b4);var ad=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function bq(cb){return S?(S(cb)&&!aQ(cb)):bd(cb)&&ad.test(t.call(cb))}var l=e?bq:bH(false);var B=a7("length");function aA(cG){var cH={};for(var cb=cG.length,cF=0;cF<cb;++cF){cH[cG[cF]]=true}return{contains:function(cI){return cH[cI]===true},push:function(cI){cH[cI]=true;return cG.push(cI)}}}function aM(cI,cH){cH=aA(cH);var cb=bB.length;var cF=cI.constructor;var cG=(bW(cF)&&cF.prototype)||bO;var cJ="constructor";if(k(cI,cJ)&&!cH.contains(cJ)){cH.push(cJ)}while(cb--){cJ=bB[cb];if(cJ in cI&&cI[cJ]!==cG[cJ]&&!cH.contains(cJ)){cH.push(cJ)}}}function bm(cG){if(!cD(cG)){return[]}if(bs){return bs(cG)}var cF=[];for(var cb in cG){if(k(cG,cb)){cF.push(cb)}}if(a4){aM(cG,cF)}return cF}function bC(cF){if(cF==null){return true}var cb=B(cF);if(typeof cb=="number"&&(aR(cF)||bN(cF)||bK(cF))){return cb===0}return B(bm(cF))===0}function Z(cF,cb){var cI=bm(cb),cJ=cI.length;if(cF==null){return !cJ}var cK=Object(cF);for(var cH=0;cH<cJ;cH++){var cG=cI[cH];if(cb[cG]!==cK[cG]||!(cG in cK)){return false}}return true}function a8(cb){if(cb instanceof a8){return cb}if(!(this instanceof a8)){return new a8(cb)}this._wrapped=cb}a8.VERSION=cu;a8.prototype.value=function(){return this._wrapped};a8.prototype.valueOf=a8.prototype.toJSON=a8.prototype.value;a8.prototype.toString=function(){return String(this._wrapped)};function af(cb){return new Uint8Array(cb.buffer||cb,cb.byteOffset||0,b4(cb))}var bf="[object DataView]";function aZ(cF,cb,cI,cH){if(cF===cb){return cF!==0||1/cF===1/cb}if(cF==null||cb==null){return false}if(cF!==cF){return cb!==cb}var cG=typeof cF;if(cG!=="function"&&cG!=="object"&&typeof cb!="object"){return false}return X(cF,cb,cI,cH)}function X(cN,cM,cF,cH){if(cN instanceof a8){cN=cN._wrapped}if(cM instanceof a8){cM=cM._wrapped}var cJ=t.call(cN);if(cJ!==t.call(cM)){return false}if(G&&cJ=="[object Object]"&&aQ(cN)){if(!aQ(cM)){return false}cJ=bf}switch(cJ){case"[object RegExp]":case"[object String]":return""+cN===""+cM;case"[object Number]":if(+cN!==+cN){return +cM!==+cM}return +cN===0?1/+cN===1/cM:+cN===+cM;case"[object Date]":case"[object Boolean]":return +cN===+cM;case"[object Symbol]":return bv.valueOf.call(cN)===bv.valueOf.call(cM);case"[object ArrayBuffer]":case bf:return X(af(cN),af(cM),cF,cH)}var cG=cJ==="[object Array]";if(!cG&&l(cN)){var cP=b4(cN);if(cP!==b4(cM)){return false}if(cN.buffer===cM.buffer&&cN.byteOffset===cM.byteOffset){return true}cG=true}if(!cG){if(typeof cN!="object"||typeof cM!="object"){return false}var cL=cN.constructor,cI=cM.constructor;if(cL!==cI&&!(bW(cL)&&cL instanceof cL&&bW(cI)&&cI instanceof cI)&&("constructor" in cN&&"constructor" in cM)){return false}}cF=cF||[];cH=cH||[];var cb=cF.length;while(cb--){if(cF[cb]===cN){return cH[cb]===cM}}cF.push(cN);cH.push(cM);if(cG){cb=cN.length;if(cb!==cM.length){return false}while(cb--){if(!aZ(cN[cb],cM[cb],cF,cH)){return false}}}else{var cK=bm(cN),cO;cb=cK.length;if(bm(cM).length!==cb){return false}while(cb--){cO=cK[cb];if(!(k(cM,cO)&&aZ(cN[cO],cM[cO],cF,cH))){return false}}}cF.pop();cH.pop();return true}function bg(cF,cb){return aZ(cF,cb)}function cj(cG){if(!cD(cG)){return[]}var cF=[];for(var cb in cG){cF.push(cb)}if(a4){aM(cG,cF)}return cF}function bU(cb){var cF=B(cb);return function(cI){if(cI==null){return false}var cH=cj(cI);if(B(cH)){return false}for(var cG=0;cG<cF;cG++){if(!bW(cI[cb[cG]])){return false}}return cb!==b5||!bW(cI[aa])}}var aa="forEach",bh="has",ch=["clear","delete"],cC=["get",bh,"set"];var ao=ch.concat(aa,cC),b5=ch.concat(cC),aP=["add"].concat(ch,aa,bh);var cy=Q?bU(ao):U("Map");var au=Q?bU(b5):U("WeakMap");var a5=Q?bU(aP):U("Set");var ct=U("WeakSet");function aK(cI){var cG=bm(cI);var cH=cG.length;var cb=Array(cH);for(var cF=0;cF<cH;cF++){cb[cF]=cI[cG[cF]]}return cb}function aO(cI){var cF=bm(cI);var cG=cF.length;var cH=Array(cG);for(var cb=0;cb<cG;cb++){cH[cb]=[cF[cb],cI[cF[cb]]]}return cH}function bk(cI){var cb={};var cG=bm(cI);for(var cF=0,cH=cG.length;cF<cH;cF++){cb[cI[cG[cF]]]=cG[cF]}return cb}function bX(cG){var cF=[];for(var cb in cG){if(bW(cG[cb])){cF.push(cb)}}return cF.sort()}function i(cb,cF){return function(cN){var cL=arguments.length;if(cF){cN=Object(cN)}if(cL<2||cN==null){return cN}for(var cH=1;cH<cL;cH++){var cM=arguments[cH],cK=cb(cM),cG=cK.length;for(var cJ=0;cJ<cG;cJ++){var cI=cK[cJ];if(!cF||cN[cI]===void 0){cN[cI]=cM[cI]}}}return cN}}var bA=i(cj);var cr=i(bm);var aF=i(cj,true);function m(){return function(){}}function bc(cG){if(!cD(cG)){return{}}if(o){return o(cG)}var cF=m();cF.prototype=cG;var cb=new cF;cF.prototype=null;return cb}function K(cF,cG){var cb=bc(cF);if(cG){cr(cb,cG)}return cb}function bR(cb){if(!cD(cb)){return cb}return aR(cb)?cb.slice():bA({},cb)}function bP(cF,cb){cb(cF);return cF}function bL(cb){return aR(cb)?cb:[cb]}a8.toPath=bL;function cd(cb){return a8.toPath(cb)}function cw(cH,cG){var cF=cG.length;for(var cb=0;cb<cF;cb++){if(cH==null){return void 0}cH=cH[cG[cb]]}return cF?cH:void 0}function h(cF,cH,cb){var cG=cw(cF,cd(cH));return ba(cG)?cb:cG}function ce(cI,cH){cH=cd(cH);var cG=cH.length;for(var cF=0;cF<cG;cF++){var cb=cH[cF];if(!k(cI,cb)){return false}cI=cI[cb]}return !!cG}function aw(cb){return cb}function bY(cb){cb=cr({},cb);return function(cF){return Z(cF,cb)}}function ag(cb){cb=cd(cb);return function(cF){return cw(cF,cb)}}function b0(cF,cb,cG){if(cb===void 0){return cF}switch(cG==null?3:cG){case 1:return function(cH){return cF.call(cb,cH)};case 3:return function(cI,cH,cJ){return cF.call(cb,cI,cH,cJ)};case 4:return function(cH,cJ,cI,cK){return cF.call(cb,cH,cJ,cI,cK)}}return function(){return cF.apply(cb,arguments)}}function aW(cF,cb,cG){if(cF==null){return aw}if(bW(cF)){return b0(cF,cb,cG)}if(cD(cF)&&!aR(cF)){return bY(cF)}return ag(cF)}function az(cF,cb){return aW(cF,cb,Infinity)}a8.iteratee=az;function bz(cF,cb,cG){if(a8.iteratee!==az){return a8.iteratee(cF,cb)}return aW(cF,cb,cG)}function p(cJ,cL,cH){cL=bz(cL,cH);var cG=bm(cJ),cI=cG.length,cF={};for(var cb=0;cb<cI;cb++){var cK=cG[cb];cF[cK]=cL(cJ[cK],cK,cJ)}return cF}function d(){}function b9(cb){if(cb==null){return d}return function(cF){return h(cb,cF)}}function g(cI,cH,cG){var cb=Array(Math.max(0,cI));cH=b0(cH,cG,1);for(var cF=0;cF<cI;cF++){cb[cF]=cH(cF)}return cb}function bo(cF,cb){if(cb==null){cb=cF;cF=0}return cF+Math.floor(Math.random()*(cb-cF+1))}var br=Date.now||function(){return new Date().getTime()};function bi(cI){var cF=function(cJ){return cI[cJ]};var cH="(?:"+bm(cI).join("|")+")";var cG=RegExp(cH);var cb=RegExp(cH,"g");return function(cJ){cJ=cJ==null?"":""+cJ;return cG.test(cJ)?cJ.replace(cb,cF):cJ}}var T={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};var M=bi(T);var I=bk(T);var c=bi(I);var av=a8.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var v=/(.)^/;var cp={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"};var bt=/\\|'|\r|\n|\u2028|\u2029/g;function cg(cb){return"\\"+cp[cb]}var b8=/^\s*(\w|\$)+\s*$/;function aT(cN,cH,cL){if(!cH&&cL){cH=cL}cH=aF({},cH,a8.templateSettings);var cI=RegExp([(cH.escape||v).source,(cH.interpolate||v).source,(cH.evaluate||v).source].join("|")+"|$","g");var cJ=0;var cb="__p+='";cN.replace(cI,function(cP,cQ,cO,cS,cR){cb+=cN.slice(cJ,cR).replace(bt,cg);cJ=cR+cP.length;if(cQ){cb+="'+\n((__t=("+cQ+"))==null?'':_.escape(__t))+\n'"}else{if(cO){cb+="'+\n((__t=("+cO+"))==null?'':__t)+\n'"}else{if(cS){cb+="';\n"+cS+"\n__p+='"}}}return cP});cb+="';\n";var cF=cH.variable;if(cF){if(!b8.test(cF)){throw new Error("variable is not a bare identifier: "+cF)}}else{cb="with(obj||{}){\n"+cb+"}\n";cF="obj"}cb="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+cb+"return __p;\n";var cG;try{cG=new Function(cF,"_",cb)}catch(cK){cK.source=cb;throw cK}var cM=function(cO){return cG.call(this,cO,a8)};cM.source="function("+cF+"){\n"+cb+"}";return cM}function L(cH,cG,cJ){cG=cd(cG);var cF=cG.length;if(!cF){return bW(cJ)?cJ.call(cH):cJ}for(var cb=0;cb<cF;cb++){var cI=cH==null?void 0:cH[cG[cb]];if(cI===void 0){cI=cJ;cb=cF}cH=bW(cI)?cI.call(cH):cI}return cH}var bj=0;function bu(cb){var cF=++bj+"";return cb?cb+cF:cF}function aN(cF){var cb=a8(cF);cb._chain=true;return cb}function cv(cJ,cG,cI,cK,cH){if(!(cK instanceof cG)){return cJ.apply(cI,cH)}var cF=bc(cJ.prototype);var cb=cJ.apply(cF,cH);if(cD(cb)){return cb}return cF}var ca=cm(function(cF,cH){var cG=ca.placeholder;var cb=function(){var cI=0,cL=cH.length;var cJ=Array(cL);for(var cK=0;cK<cL;cK++){cJ[cK]=cH[cK]===cG?arguments[cI++]:cH[cK]}while(cI<arguments.length){cJ.push(arguments[cI++])}return cv(cF,cb,this,this,cJ)};return cb});ca.placeholder=a8;var bb=cm(function(cH,cF,cb){if(!bW(cH)){throw new TypeError("Bind must be called on a function")}var cG=cm(function(cI){return cv(cH,cG,cF,this,cb.concat(cI))});return cG});var aL=cz(B);function a2(cK,cH,cL,cF){cF=cF||[];if(!cH&&cH!==0){cH=Infinity}else{if(cH<=0){return cF.concat(cK)}}var cN=cF.length;for(var cI=0,cb=B(cK);cI<cb;cI++){var cM=cK[cI];if(aL(cM)&&(aR(cM)||bK(cM))){if(cH>1){a2(cM,cH-1,cL,cF);cN=cF.length}else{var cG=0,cJ=cM.length;while(cG<cJ){cF[cN++]=cM[cG++]}}}else{if(!cL){cF[cN++]=cM}}}return cF}var aJ=cm(function(cH,cG){cG=a2(cG,false,false);var cb=cG.length;if(cb<1){throw new Error("bindAll must be passed function names")}while(cb--){var cF=cG[cb];cH[cF]=bb(cH[cF],cH)}return cH});function ah(cF,cb){var cG=function(cJ){var cI=cG.cache;var cH=""+(cb?cb.apply(this,arguments):cJ);if(!k(cI,cH)){cI[cH]=cF.apply(this,arguments)}return cI[cH]};cG.cache={};return cG}var a0=cm(function(cF,cG,cb){return setTimeout(function(){return cF.apply(null,cb)},cG)});var ae=ca(a0,a8,1);function bw(cG,cI,cM){var cL,cF,cK,cN;var cJ=0;if(!cM){cM={}}var cH=function(){cJ=cM.leading===false?0:br();cL=null;cN=cG.apply(cF,cK);if(!cL){cF=cK=null}};var cb=function(){var cO=br();if(!cJ&&cM.leading===false){cJ=cO}var cP=cI-(cO-cJ);cF=this;cK=arguments;if(cP<=0||cP>cI){if(cL){clearTimeout(cL);cL=null}cJ=cO;cN=cG.apply(cF,cK);if(!cL){cF=cK=null}}else{if(!cL&&cM.trailing!==false){cL=setTimeout(cH,cP)}}return cN};cb.cancel=function(){clearTimeout(cL);cJ=0;cL=cF=cK=null};return cb}function bS(cG,cJ,cF){var cM,cK,cL,cN,cb;var cI=function(){var cO=br()-cK;if(cJ>cO){cM=setTimeout(cI,cJ-cO)}else{cM=null;if(!cF){cN=cG.apply(cb,cL)}if(!cM){cL=cb=null}}};var cH=cm(function(cO){cb=this;cL=cO;cK=br();if(!cM){cM=setTimeout(cI,cJ);if(cF){cN=cG.apply(cb,cL)}}return cN});cH.cancel=function(){clearTimeout(cM);cM=cL=cb=null};return cH}function a9(cb,cF){return ca(cF,cb)}function z(cb){return function(){return !cb.apply(this,arguments)}}function bT(){var cb=arguments;var cF=cb.length-1;return function(){var cH=cF;var cG=cb[cF].apply(this,arguments);while(cH--){cG=cb[cH].call(this,cG)}return cG}}function P(cF,cb){return function(){if(--cF<1){return cb.apply(this,arguments)}}}function b1(cG,cF){var cb;return function(){if(--cG>0){cb=cF.apply(this,arguments)}if(cG<=1){cF=null}return cb}}var bJ=ca(b1,2);function bD(cK,cb,cI){cb=bz(cb,cI);var cH=bm(cK),cG;for(var cF=0,cJ=cH.length;cF<cJ;cF++){cG=cH[cF];if(cb(cK[cG],cG,cK)){return cG}}}function bp(cb){return function(cJ,cF,cH){cF=bz(cF,cH);var cI=B(cJ);var cG=cb>0?0:cI-1;for(;cG>=0&&cG<cI;cG+=cb){if(cF(cJ[cG],cG,cJ)){return cG}}return -1}}var ck=bp(1);var E=bp(-1);function ap(cL,cJ,cK,cG){cK=bz(cK,cG,1);var cI=cK(cJ);var cb=0,cH=B(cL);while(cb<cH){var cF=Math.floor((cb+cH)/2);if(cK(cL[cF])<cI){cb=cF+1}else{cH=cF}}return cb}function aV(cb,cF,cG){return function(cL,cK,cH){var cI=0,cJ=B(cL);if(typeof cH=="number"){if(cb>0){cI=cH>=0?cH:Math.max(cH+cJ,cI)}else{cJ=cH>=0?Math.min(cH+1,cJ):cH+cJ+1}}else{if(cG&&cH&&cJ){cH=cG(cL,cK);return cL[cH]===cK?cH:-1}}if(cK!==cK){cH=cF(V.call(cL,cI,cJ),a6);return cH>=0?cH+cI:-1}for(cH=cb>0?cI:cJ-1;cH>=0&&cH<cJ;cH+=cb){if(cL[cH]===cK){return cH}}return -1}}var co=aV(1,ck,ap);var cE=aV(-1,E);function aS(cI,cb,cG){var cH=aL(cI)?ck:bD;var cF=cH(cI,cb,cG);if(cF!==void 0&&cF!==-1){return cI[cF]}}function D(cF,cb){return aS(cF,bY(cb))}function N(cI,cJ,cG){cJ=b0(cJ,cG);var cF,cH;if(aL(cI)){for(cF=0,cH=cI.length;cF<cH;cF++){cJ(cI[cF],cF,cI)}}else{var cb=bm(cI);for(cF=0,cH=cb.length;cF<cH;cF++){cJ(cI[cb[cF]],cb[cF],cI)}}return cI}function ax(cJ,cL,cH){cL=bz(cL,cH);var cG=!aL(cJ)&&bm(cJ),cI=(cG||cJ).length,cF=Array(cI);for(var cb=0;cb<cI;cb++){var cK=cG?cG[cb]:cb;cF[cb]=cL(cJ[cK],cK,cJ)}return cF}function bZ(cb){var cF=function(cL,cN,cG,cI){var cJ=!aL(cL)&&bm(cL),cK=(cJ||cL).length,cH=cb>0?0:cK-1;if(!cI){cG=cL[cJ?cJ[cH]:cH];cH+=cb}for(;cH>=0&&cH<cK;cH+=cb){var cM=cJ?cJ[cH]:cH;cG=cN(cG,cL[cM],cM,cL)}return cG};return function(cJ,cK,cG,cI){var cH=arguments.length>=3;return cF(cJ,b0(cK,cI,4),cG,cH)}}var by=bZ(1);var b7=bZ(-1);function a1(cH,cb,cG){var cF=[];cb=bz(cb,cG);N(cH,function(cK,cI,cJ){if(cb(cK,cI,cJ)){cF.push(cK)}});return cF}function w(cG,cb,cF){return a1(cG,z(bz(cb)),cF)}function r(cJ,cb,cH){cb=bz(cb,cH);var cG=!aL(cJ)&&bm(cJ),cI=(cG||cJ).length;for(var cF=0;cF<cI;cF++){var cK=cG?cG[cF]:cF;if(!cb(cJ[cK],cK,cJ)){return false}}return true}function ak(cJ,cb,cH){cb=bz(cb,cH);var cG=!aL(cJ)&&bm(cJ),cI=(cG||cJ).length;for(var cF=0;cF<cI;cF++){var cK=cG?cG[cF]:cF;if(cb(cJ[cK],cK,cJ)){return true}}return false}function ai(cH,cG,cb,cF){if(!aL(cH)){cH=aK(cH)}if(typeof cb!="number"||cF){cb=0}return co(cH,cG,cb)>=0}var C=cm(function(cI,cH,cF){var cb,cG;if(bW(cH)){cG=cH}else{cH=cd(cH);cb=cH.slice(0,-1);cH=cH[cH.length-1]}return ax(cI,function(cJ){var cK=cG;if(!cK){if(cb&&cb.length){cJ=cw(cJ,cb)}if(cJ==null){return void 0}cK=cJ[cH]}return cK==null?cK:cK.apply(cJ,cF)})});function cx(cF,cb){return ax(cF,ag(cb))}function f(cF,cb){return a1(cF,bY(cb))}function at(cH,cJ,cb){var cM=-Infinity,cK=-Infinity,cL,cG;if(cJ==null||(typeof cJ=="number"&&typeof cH[0]!="object"&&cH!=null)){cH=aL(cH)?cH:aK(cH);for(var cI=0,cF=cH.length;cI<cF;cI++){cL=cH[cI];if(cL!=null&&cL>cM){cM=cL}}}else{cJ=bz(cJ,cb);N(cH,function(cN,cO,cP){cG=cJ(cN,cO,cP);if(cG>cK||(cG===-Infinity&&cM===-Infinity)){cM=cN;cK=cG}})}return cM}function bx(cH,cJ,cb){var cM=Infinity,cK=Infinity,cL,cG;if(cJ==null||(typeof cJ=="number"&&typeof cH[0]!="object"&&cH!=null)){cH=aL(cH)?cH:aK(cH);for(var cI=0,cF=cH.length;cI<cF;cI++){cL=cH[cI];if(cL!=null&&cL<cM){cM=cL}}}else{cJ=bz(cJ,cb);N(cH,function(cN,cO,cP){cG=cJ(cN,cO,cP);if(cG<cK||(cG===Infinity&&cM===Infinity)){cM=cN;cK=cG}})}return cM}var cB=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function A(cb){if(!cb){return[]}if(aR(cb)){return V.call(cb)}if(bN(cb)){return cb.match(cB)}if(aL(cb)){return ax(cb,aw)}return aK(cb)}function b6(cG,cF,cI){if(cF==null||cI){if(!aL(cG)){cG=aK(cG)}return cG[bo(cG.length-1)]}var cK=A(cG);var cb=B(cK);cF=Math.max(Math.min(cF,cb),0);var cL=cb-1;for(var cH=0;cH<cF;cH++){var cJ=bo(cH,cL);var cM=cK[cH];cK[cH]=cK[cJ];cK[cJ]=cM}return cK.slice(0,cF)}function aI(cb){return b6(cb,Infinity)}function an(cG,cH,cF){var cb=0;cH=bz(cH,cF);return cx(ax(cG,function(cK,cI,cJ){return{value:cK,index:cb++,criteria:cH(cK,cI,cJ)}}).sort(function(cL,cK){var cJ=cL.criteria;var cI=cK.criteria;if(cJ!==cI){if(cJ>cI||cJ===void 0){return 1}if(cJ<cI||cI===void 0){return -1}}return cL.index-cK.index}),"value")}function aB(cF,cb){return function(cI,cJ,cH){var cG=cb?[[],[]]:{};cJ=bz(cJ,cH);N(cI,function(cM,cK){var cL=cJ(cM,cK,cI);cF(cG,cM,cL)});return cG}}var aD=aB(function(cb,cG,cF){if(k(cb,cF)){cb[cF].push(cG)}else{cb[cF]=[cG]}});var cq=aB(function(cb,cG,cF){cb[cF]=cG});var aX=aB(function(cb,cG,cF){if(k(cb,cF)){cb[cF]++}else{cb[cF]=1}});var bG=aB(function(cb,cG,cF){cb[cF?0:1].push(cG)},true);function al(cb){if(cb==null){return 0}return aL(cb)?cb.length:bm(cb).length}function cc(cF,cb,cG){return cb in cG}var aY=cm(function(cK,cI){var cb={},cL=cI[0];if(cK==null){return cb}if(bW(cL)){if(cI.length>1){cL=b0(cL,cI[1])}cI=cj(cK)}else{cL=cc;cI=a2(cI,false,false);cK=Object(cK)}for(var cG=0,cH=cI.length;cG<cH;cG++){var cF=cI[cG];var cJ=cK[cF];if(cL(cJ,cF,cK)){cb[cF]=cJ}}return cb});var bF=cm(function(cG,cF){var cH=cF[0],cb;if(bW(cH)){cH=z(cH);if(cF.length>1){cb=cF[1]}}else{cF=ax(a2(cF,false,false),String);cH=function(cJ,cI){return !ai(cF,cI)}}return aY(cG,cH,cb)});function cs(cG,cF,cb){return V.call(cG,0,Math.max(0,cG.length-(cF==null||cb?1:cF)))}function ar(cG,cF,cb){if(cG==null||cG.length<1){return cF==null||cb?void 0:[]}if(cF==null||cb){return cG[0]}return cs(cG,cG.length-cF)}function bl(cG,cF,cb){return V.call(cG,cF==null||cb?1:cF)}function aG(cG,cF,cb){if(cG==null||cG.length<1){return cF==null||cb?void 0:[]}if(cF==null||cb){return cG[cG.length-1]}return bl(cG,Math.max(0,cG.length-cF))}function H(cb){return a1(cb,Boolean)}function bQ(cF,cb){return a2(cF,cb,false)}var b=cm(function(cF,cb){cb=a2(cb,true,true);return a1(cF,function(cG){return !ai(cb,cG)})});var ci=cm(function(cF,cb){return b(cF,cb)});function a3(cL,cH,cK,cF){if(!aU(cH)){cF=cK;cK=cH;cH=false}if(cK!=null){cK=bz(cK,cF)}var cN=[];var cb=[];for(var cJ=0,cG=B(cL);cJ<cG;cJ++){var cM=cL[cJ],cI=cK?cK(cM,cJ,cL):cM;if(cH&&!cK){if(!cJ||cb!==cI){cN.push(cM)}cb=cI}else{if(cK){if(!ai(cb,cI)){cb.push(cI);cN.push(cM)}}else{if(!ai(cN,cM)){cN.push(cM)}}}}return cN}var n=cm(function(cb){return a3(a2(cb,true,true))});function bM(cK){var cb=[];var cJ=arguments.length;for(var cG=0,cI=B(cK);cG<cI;cG++){var cH=cK[cG];if(ai(cb,cH)){continue}var cF;for(cF=1;cF<cJ;cF++){if(!ai(arguments[cF],cH)){break}}if(cF===cJ){cb.push(cH)}}return cb}function cn(cH){var cG=(cH&&at(cH,B).length)||0;var cb=Array(cG);for(var cF=0;cF<cG;cF++){cb[cF]=cx(cH,cF)}return cb}var j=cm(cn);function J(cI,cF){var cb={};for(var cG=0,cH=B(cI);cG<cH;cG++){if(cF){cb[cI[cG]]=cF[cG]}else{cb[cI[cG][0]]=cI[cG][1]}}return cb}function Y(cJ,cG,cI){if(cG==null){cG=cJ||0;cJ=0}if(!cI){cI=cG<cJ?-1:1}var cH=Math.max(Math.ceil((cG-cJ)/cI),0);var cF=Array(cH);for(var cb=0;cb<cH;cb++,cJ+=cI){cF[cb]=cJ}return cF}function b2(cI,cH){if(cH==null||cH<1){return[]}var cb=[];var cF=0,cG=cI.length;while(cF<cG){cb.push(V.call(cI,cF,cF+=cH))}return cb}function bn(cb,cF){return cb._chain?a8(cF).chain():cF}function x(cb){N(bX(cb),function(cF){var cG=a8[cF]=cb[cF];a8.prototype[cF]=function(){var cH=[this._wrapped];q.apply(cH,arguments);return bn(this,cG.apply(a8,cH))}});return a8}N(["pop","push","reverse","shift","sort","splice","unshift"],function(cb){var cF=bV[cb];a8.prototype[cb]=function(){var cG=this._wrapped;if(cG!=null){cF.apply(cG,arguments);if((cb==="shift"||cb==="splice")&&cG.length===0){delete cG[0]}}return bn(this,cG)}});N(["concat","join","slice"],function(cb){var cF=bV[cb];a8.prototype[cb]=function(){var cG=this._wrapped;if(cG!=null){cG=cF.apply(cG,arguments)}return bn(this,cG)}});var ay={__proto__:null,VERSION:cu,restArguments:cm,isObject:cD,isNull:cl,isUndefined:ba,isBoolean:aU,isElement:be,isString:bN,isNumber:aE,isDate:am,isRegExp:b3,isError:R,isSymbol:bI,isArrayBuffer:W,isDataView:aQ,isArray:aR,isFunction:bW,isArguments:bK,isFinite:cA,isNaN:a6,isTypedArray:l,isEmpty:bC,isMatch:Z,isEqual:bg,isMap:cy,isWeakMap:au,isSet:a5,isWeakSet:ct,keys:bm,allKeys:cj,values:aK,pairs:aO,invert:bk,functions:bX,methods:bX,extend:bA,extendOwn:cr,assign:cr,defaults:aF,create:K,clone:bR,tap:bP,get:h,has:ce,mapObject:p,identity:aw,constant:bH,noop:d,toPath:bL,property:ag,propertyOf:b9,matcher:bY,matches:bY,times:g,random:bo,now:br,escape:M,unescape:c,templateSettings:av,template:aT,result:L,uniqueId:bu,chain:aN,iteratee:az,partial:ca,bind:bb,bindAll:aJ,memoize:ah,delay:a0,defer:ae,throttle:bw,debounce:bS,wrap:a9,negate:z,compose:bT,after:P,before:b1,once:bJ,findKey:bD,findIndex:ck,findLastIndex:E,sortedIndex:ap,indexOf:co,lastIndexOf:cE,find:aS,detect:aS,findWhere:D,each:N,forEach:N,map:ax,collect:ax,reduce:by,foldl:by,inject:by,reduceRight:b7,foldr:b7,filter:a1,select:a1,reject:w,every:r,all:r,some:ak,any:ak,contains:ai,includes:ai,include:ai,invoke:C,pluck:cx,where:f,max:at,min:bx,shuffle:aI,sample:b6,sortBy:an,groupBy:aD,indexBy:cq,countBy:aX,partition:bG,toArray:A,size:al,pick:aY,omit:bF,first:ar,head:ar,take:ar,initial:cs,last:aG,rest:bl,tail:bl,drop:bl,compact:H,flatten:bQ,without:ci,uniq:a3,unique:a3,union:n,intersection:bM,difference:b,unzip:cn,transpose:cn,zip:j,object:J,range:Y,chunk:b2,mixin:x,"default":a8};var bE=x(ay);bE._=bE;return bE})));