(function(){vare=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=r.unshift,l=i.toString,c=i.hasOwnProperty,h=r.forEach,p=r.map,d=r.reduce,v=r.reduceRight,m=r.filter,g=r.every,y=r.some,b=r.indexOf,w=r.lastIndexOf,E=Array.isArray,S=Object.keys,x=s.bind,T=function(e){if(einstanceofT)returne;if(!(thisinstanceofT))returnnewT(e);this._wrapped=e};typeofexports!="undefined"?(typeofmodule!="undefined"&&module.exports&&(exports=module.exports=T),exports._=T):e._=T,T.VERSION="1.4.1";varN=T.each=T.forEach=function(e,t,r){if(h&&e.forEach===h)e.forEach(t,r);elseif(e.length===+e.length){for(vari=0,s=e.length;i<s;i++)if(t.call(r,e[i],i,e)===n)return}elsefor(varoine)if(T.has(e,o)&&t.call(r,e[o],o,e)===n)return};T.map=T.collect=function(e,t,n){varr=[];returnp&&e.map===p?e.map(t,n):(N(e,function(e,i,s){r[r.length]=t.call(n,e,i,s)}),r)},T.reduce=T.foldl=T.inject=function(e,t,n,r){vari=arguments.length>2;if(d&&e.reduce===d)returnr&&(t=T.bind(t,r)),i?e.reduce(t,n):e.reduce(t);N(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)thrownewTypeError("Reduce of empty array with no initial value");returnn},T.reduceRight=T.foldr=function(e,t,n,r){vari=arguments.length>2;if(v&&e.reduceRight===v)returnr&&(t=T.bind(t,r)),arguments.length>2?e.reduceRight(t,n):e.reduceRight(t);vars=e.length;if(s!==+s){varo=T.keys(e);s=o.length}N(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)thrownewTypeError("Reduce of empty array with no initial value");returnn},T.find=T.detect=function(e,t,n){varr;returnC(e,function(e,i,s){if(t.call(n,e,i,s))returnr=e,!0}),r},T.filter=T.select=function(e,t,n){varr=[];returnm&&e.filter===m?e.filter(t,n):(N(e,function(e,i,s){t.call(n,e,i,s)&&(r[r.length]=e)}),r)},T.reject=function(e,t,n){varr=[];returnN(e,function(e,i,s){t.call(n,e,i,s)||(r[r.length]=e)}),r},T.every=T.all=function(e,t,r){t||(t=T.identity);vari=!0;returng&&e.every===g?e.every(t,r):(N(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))returnn}),!!i)};varC=T.some=T.any=function(e,t,r){t||(t=T.identity);vari=!1;returny&&e.some===y?e.some(t,r):(N(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))returnn}),!!i)};T.contains=T.include=function(e,t){varn=!1;returnb&&e.indexOf===b?e.indexOf(t)!=-1:(n=C(e,function(e){returne===t}),n)},T.invoke=function(e,t){varn=u.call(arguments,2);returnT.map(e,function(e){return(T.isFunction(t)?t:e[t]).apply(e,n)})},T.pluck=function(e,t){returnT.map(e,function(e){returne[t]})},T.where=function(e,t){returnT.isEmpty(t)?[]:T.filter(e,function(e){for(varnint)if(t[n]!==e[n])return!1;return!0})},T.max=function(e,t,n){if(!t&&T.isArray(e)&&e[0]===+e[0]&&e.length<65535)returnMath.max.apply(Math,e);if(!t&&T.isEmpty(e))return-Infinity;varr={computed:-Infinity};returnN(e,function(e,i,s){varo=t?t.call(n,e,i,s):e;o>=r.computed&&(r={value:e,computed:o})}),r.value},T.min=function(e,t,n){if(!t&&T.isArray(e)&&e[0]===+e[0]&&e.length<65535)returnMath.min.apply(Math,e);if(!t&&T.isEmpty(e))returnInfinity;varr={computed:Infinity};returnN(e,function(e,i,s){varo=t?t.call(n,e,i,s):e;o<r.computed&&(r={value:e,computed:o})}),r.value},T.shuffle=function(e){vart,n=0,r=[];returnN(e,function(e){t=T.random(n++),r[n-1]=r[t],r[t]=e}),r};vark=function(e){returnT.isFunction(e)?e:function(t){returnt[e]}};T.sortBy=function(e,t,n){varr=k(t);returnT.pluck(T.map(e,function(e,t,i){return{value:e,index:t,criteria:r.call(n,e,t,i)}}).sort(function(e,t){varn=e.criteria,r=t.criteria;if(n!==r){if(n>r||n===void0)return1;if(n<r||r===void0)return-1}returne.index<t.index?-1:1}),"value")};varL=function(e,t,n,r){vari={},s=k(t);returnN(e,function(t,o){varu=s.call(n,t,o,e);r(i,u,t)}),i};T.groupBy=function(e,t,n){returnL(e,t,n,function(e,t,n){(T.has(e,t)?e[t]:e[t]=[]).push(n)})},T.countBy=function(e,t,n){returnL(e,t,n,function(e,t,n){T.has(e,t)||(e[t]=0),e[t]++})},T.sortedIndex=function(e,t,n,r){n=n==null?T.identity:k(n);vari=n.call(r,t),s=0,o=e.length;while(s<o){varu=s+o>>>1;n.call(r,e[u])<i?s=u+1:o=u}returns},T.toArray=function(e