Socket
Socket
Sign inDemoInstall

lodash

Package Overview
Dependencies
0
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.0 to 1.0.0-rc.1

65

lodash.min.js
/*!
Lo-Dash 0.10.0 lodash.com/license
Lo-Dash 1.0.0-rc.1 lodash.com/license
Underscore.js 1.4.2 underscorejs.org/LICENSE
*/
;(function(n,t){function r(n){return n&&n.__wrapped__?n:this instanceof r?(this.__wrapped__=n,void 0):new r(n)}function e(n,t,r){t||(t=0);var e=n.length,u=e-t>=(r||tt);if(u)for(var i={},r=t-1;++r<e;){var o=n[r]+"";(wt.call(i,o)?i[o]:i[o]=[]).push(n[r])}return function(r){if(u){var e=r+"";return wt.call(i,e)&&-1<D(i[e],r)}return-1<D(n,r,t)}}function u(n){return n.charCodeAt(0)}function i(n,r){var e=n.b,u=r.b,n=n.a,r=r.a;if(n!==r){if(n>r||n===t)return 1;if(n<r||r===t)return-1}return e<u?-1:1}function o(n,t,r){function e(){var a=arguments,c=i?this:t;
return u||(n=t[o]),r.length&&(a=a.length?r.concat(Ot.call(a)):r),this instanceof e?(s.prototype=n.prototype,c=new s,a=n.apply(c,a),w(a)?a:c):n.apply(c,a)}var u=b(n),i=!r,o=t;return i&&(r=t),u||(t=n),e}function a(n,r){return n?typeof n!="function"?function(t){return t[n]}:r!==t?function(t,e,u){return n.call(r,t,e,u)}:n:K}function c(){for(var n,t={b:"",c:"",e:Q,f:Wt,g:"",h:Lt,i:Gt,j:_t,k:"",l:U},r=0;n=arguments[r];r++)for(var e in n)t[e]=n[e];if(n=t.a,t.d=/^[^,]+/.exec(n)[0],r="var i,x,l="+t.d+",t="+t.d+";if(!"+t.d+")return t;"+t.k+";",t.b?(r+="var m=l.length;i=-1;if(typeof m=='number'){",t.i&&(r+="if(k(l)){l=l.split('')}"),r+="while(++i<m){x=l[i];"+t.b+"}}else {"):t.h&&(r+="var m=l.length;i=-1;if(m&&j(l)){while(++i<m){x=l[i+=''];"+t.g+"}}else {"),t.e||(r+="var u=typeof l=='function'&&s.call(l,'prototype');"),t.f&&t.l?(r+="var q=-1,r=p[typeof l]?n(l):[],m=r.length;while(++q<m){i=r[q];",t.e||(r+="if(!(u&&i=='prototype')){"),r+="x=l[i];"+t.g,t.e||(r+="}")):(r+="for(i in l){",(!t.e||t.l)&&(r+="if(",t.e||(r+="!(u&&i=='prototype')"),!t.e&&t.l&&(r+="&&"),t.l&&(r+="h.call(l,i)"),r+="){"),r+="x=l[i];"+t.g+";",(!t.e||t.l)&&(r+="}")),r+="}",t.e)for(r+="var f=l.constructor;",e=0;7>e;e++)r+="i='"+t.j[e]+"';if(","constructor"==t.j[e]&&(r+="!(f&&f.prototype===l)&&"),r+="h.call(l,i)){x=l[i];"+t.g+"}";
return(t.b||t.h)&&(r+="}"),r+=t.c+";return t",Function("e,h,j,k,p,n,s","return function("+n+"){"+r+"}")(a,wt,v,x,Yt,qt,jt)}function f(n){return"\\"+Zt[n]}function l(n){return or[n]}function s(){}function p(n){return ar[n]}function v(n){return At.call(n)==Rt}function g(n){var t=G;if(!n||typeof n!="object"||v(n))return t;var r=n.constructor;return Ht&&typeof n.toString!="function"&&typeof(n+"")=="string"||b(r)&&!(r instanceof r)?t:W?(ur(n,function(n,r,e){return t=!wt.call(e,r),G}),t===G):(ur(n,function(n,r){t=r
}),t===G||wt.call(n,t))}function h(n){var t=[];return ir(n,function(n,r){t.push(r)}),t}function _(n,t,r,e,u){if(n==V)return n;if(r&&(t=G),r=w(n)){var i=At.call(n);if(!Xt[i]||Ut&&v(n))return n;var o=i==Tt,r=o||(i==Pt?lr(n):r)}if(!r||!t)return r?o?Ot.call(n):er({},n):n;switch(r=n.constructor,i){case Bt:case Dt:return new r(+n);case Mt:case Ct:return new r(n);case zt:return r(n.source,ct.exec(n))}for(e||(e=[]),u||(u=[]),i=e.length;i--;)if(e[i]==n)return u[i];var a=o?r(n.length):{};return e.push(n),u.push(a),(o?pr:ir)(n,function(n,r){a[r]=_(n,t,V,e,u)
}),a}function y(n){var t=[];return ur(n,function(n,r){b(n)&&t.push(r)}),t.sort()}function m(n){var t={};return ir(n,function(n,r){t[n]=r}),t}function d(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(n==V||t==V)return n===t;var u=At.call(n);if(u!=At.call(t))return G;switch(u){case Bt:case Dt:return+n==+t;case Mt:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case zt:case Ct:return n==t+""}var i=u==Tt||u==Rt;if(Ut&&!i&&(i=v(n))&&!v(t))return G;if(!i){if(n.__wrapped__||t.__wrapped__)return d(n.__wrapped__||n,t.__wrapped__||t);
if(u!=Pt||Ht&&(typeof n.toString!="function"&&typeof(n+"")=="string"||typeof t.toString!="function"&&typeof(t+"")=="string"))return G;var u=n.constructor,o=t.constructor;if(u!=o&&(!b(u)||!(u instanceof u&&b(o)&&o instanceof o)))return G}for(r||(r=[]),e||(e=[]),u=r.length;u--;)if(r[u]==n)return e[u]==t;var u=-1,o=U,a=0;if(r.push(n),e.push(t),i){if(a=n.length,o=a==t.length)for(;a--&&(o=d(n[a],t[a],r,e)););return o}for(var c in n)if(wt.call(n,c)&&(a++,!wt.call(t,c)||!d(n[c],t[c],r,e)))return G;for(c in t)if(wt.call(t,c)&&!a--)return G;
if(Q)for(;7>++u;)if(c=_t[u],wt.call(n,c)&&(!wt.call(t,c)||!d(n[c],t[c],r,e)))return G;return U}function b(n){return typeof n=="function"}function w(n){return n?Yt[typeof n]:G}function x(n){return At.call(n)==Ct}function j(n,t,r){var e=arguments,u=0,i=2,o=e[3],a=e[4];for(r!==nt&&(o=[],a=[],typeof r!="number"&&(i=e.length));++u<i;)ir(e[u],function(t,r){var e,u,i;if(t&&((u=fr(t))||lr(t))){for(var c=o.length;c--&&!(e=o[c]==t););e?n[r]=a[c]:(o.push(t),a.push((i=n[r],i=u?fr(i)?i:[]:lr(i)?i:{})),n[r]=j(i,t,nt,o,a))
}else t!=V&&(n[r]=t)});return n}function O(n){var t=[];return ir(n,function(n){t.push(n)}),t}function A(n,t,r){var e=-1,u=n?n.length:0,i=G,r=(0>r?Nt(0,u+r):r)||0;return typeof u=="number"?i=-1<(x(n)?n.indexOf(t,r):D(n,t,r)):pr(n,function(n){return++e<r?void 0:!(i=n===t)}),i}function S(n,t,r){var e=U,t=a(t,r);if(fr(n))for(var r=-1,u=n.length;++r<u&&(e=!!t(n[r],r,n)););else pr(n,function(n,r,u){return e=!!t(n,r,u)});return e}function k(n,t,r){var e=[],t=a(t,r);if(fr(n))for(var r=-1,u=n.length;++r<u;){var i=n[r];
t(i,r,n)&&e.push(i)}else pr(n,function(n,r,u){t(n,r,u)&&e.push(n)});return e}function E(n,t,r){var e,t=a(t,r);return pr(n,function(n,r,u){return t(n,r,u)?(e=n,G):void 0}),e}function $(n,t,r){var e=-1,u=n?n.length:0,i=Array(typeof u=="number"?u:0),t=a(t,r);if(fr(n))for(;++e<u;)i[e]=t(n[e],e,n);else pr(n,function(n,r,u){i[++e]=t(n,r,u)});return i}function q(n,t,r){var e=-1/0,i=-1,o=n?n.length:0,c=e;if(t||!fr(n))t=!t&&x(n)?u:a(t,r),pr(n,function(n,r,u){r=t(n,r,u),r>e&&(e=r,c=n)});else for(;++i<o;)n[i]>c&&(c=n[i]);
return c}function N(n,t){var r=[];return pr(n,function(n){r.push(n[t])}),r}function F(n,t,r,e){var u=3>arguments.length,t=a(t,e);return pr(n,function(n,e,i){r=u?(u=G,n):t(r,n,e,i)}),r}function I(n,t,r,e){var u=n,i=n?n.length:0,o=3>arguments.length;if(typeof i!="number")var a=sr(n),i=a.length;else Gt&&x(n)&&(u=n.split(""));return pr(n,function(n,c,f){c=a?a[--i]:--i,r=o?(o=G,u[c]):t.call(e,r,u[c],c,f)}),r}function R(n,t,r){var e,t=a(t,r);if(fr(n))for(var r=-1,u=n.length;++r<u&&!(e=t(n[r],r,n)););else pr(n,function(n,r,u){return!(e=t(n,r,u))
});return!!e}function T(n,t,r){return n?t==V||r?n[0]:Ot.call(n,0,t):void 0}function B(n,t){for(var r=-1,e=n?n.length:0,u=[];++r<e;){var i=n[r];fr(i)?xt.apply(u,t?i:B(i)):u.push(i)}return u}function D(n,t,r){var e=-1,u=n?n.length:0;if(typeof r=="number")e=(0>r?Nt(0,u+r):r||0)-1;else if(r)return e=P(n,t),n[e]===t?e:-1;for(;++e<u;)if(n[e]===t)return e;return-1}function M(n,t,r){return n?Ot.call(n,t==V||r?1:t):[]}function P(n,t,r,e){for(var u=0,i=n?n.length:u,r=r?a(r,e):K,t=r(t);u<i;)e=u+i>>>1,r(n[e])<t?u=e+1:i=e;
return u}function z(n,t,r,e){var u=-1,i=n?n.length:0,o=[],c=o;typeof t=="function"&&(e=r,r=t,t=G);var f=!t&&74<i;if(f)var l={};for(r&&(c=[],r=a(r,e));++u<i;){var e=n[u],s=r?r(e,u,n):e;f&&(c=wt.call(l,s+"")?l[s]:l[s]=[]),(t?!u||c[c.length-1]!==s:0>D(c,s))&&((r||f)&&c.push(s),o.push(e))}return o}function C(n,t){return Qt||St&&2<arguments.length?St.call.apply(St,arguments):o(n,t,Ot.call(arguments,2))}function K(n){return n}function L(n){pr(y(n),function(t){var e=r[t]=n[t];r.prototype[t]=function(){var n=[this.__wrapped__];
return xt.apply(n,arguments),n=e.apply(r,n),this.__chain__&&(n=new r(n),n.__chain__=U),n}})}var U=!0,V=null,G=!1,H=typeof exports=="object"&&exports,J=typeof global=="object"&&global;J.global===J&&(n=J);var Q,W,X=[],Y=new function(){},Z=0,nt=Y,tt=30,rt=n._,et=/[-?+=!~*%&^<>|{(\/]|\[\D|\b(?:delete|in|instanceof|new|typeof|void)\b/,ut=/&(?:amp|lt|gt|quot|#x27);/g,it=/\b__p\+='';/g,ot=/\b(__p\+=)''\+/g,at=/(__e\(.*?\)|\b__t\))\+'';/g,ct=/\w*$/,ft=/(?:__e|__t=)\(\s*(?![\d\s"']|this\.)/g,lt=RegExp("^"+(Y.valueOf+"").replace(/[.*+?^=!:${}()|[\]\/\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),st=/\$\{((?:(?=\\?)\\?[\s\S])*?)}/g,pt=/<%=([\s\S]+?)%>/g,vt=/($^)/,gt=/[&<>"']/g,ht=/['\n\r\t\u2028\u2029\\]/g,_t="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),yt=Math.ceil,mt=X.concat,dt=Math.floor,bt=lt.test(bt=Object.getPrototypeOf)&&bt,wt=Y.hasOwnProperty,xt=X.push,jt=Y.propertyIsEnumerable,Ot=X.slice,At=Y.toString,St=lt.test(St=Ot.bind)&&St,kt=lt.test(kt=Array.isArray)&&kt,Et=n.isFinite,$t=n.isNaN,qt=lt.test(qt=Object.keys)&&qt,Nt=Math.max,Ft=Math.min,It=Math.random,Rt="[object Arguments]",Tt="[object Array]",Bt="[object Boolean]",Dt="[object Date]",Mt="[object Number]",Pt="[object Object]",zt="[object RegExp]",Ct="[object String]",Kt=(Kt={0:1,length:1},X.splice.call(Kt,0,1),Kt[0]),Lt=U;
(function(){function n(){this.x=1}var t=[];n.prototype={valueOf:1,y:1};for(var r in new n)t.push(r);for(r in arguments)Lt=!r;Q=!/valueOf/.test(t),W="x"!=t[0]})(1);var Ut=!v(arguments),Vt="x"!=Ot.call("x")[0],Gt="xx"!="x"[0]+Object("x")[0];try{var Ht=At.call(n.document||0)==Pt}catch(Jt){}var Qt=St&&/\n|Opera/.test(St+At.call(n.opera)),Wt=qt&&/^.+$|true/.test(qt+!!n.attachEvent),Xt={};Xt[Rt]=Xt["[object Function]"]=G,Xt[Tt]=Xt[Bt]=Xt[Dt]=Xt[Mt]=Xt[Pt]=Xt[zt]=Xt[Ct]=U;var Yt={"boolean":G,"function":U,object:U,number:G,string:G,undefined:G},Zt={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"};
r.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:pt,variable:""};var nr={a:"o,v,g",k:"for(var a=1,b=typeof g=='number'?2:arguments.length;a<b;a++){if((l=arguments[a])){",g:"t[i]=x",c:"}}"},tr={a:"d,c,w",k:"c=e(c,w)",b:"if(c(x,i,d)===false)return t",g:"if(c(x,i,d)===false)return t"},rr={b:V},er=c(nr);Ut&&(v=function(n){return n?wt.call(n,"callee"):G});var ur=c(tr,rr,{l:G}),ir=c(tr,rr),or={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"},ar=m(or),cr=c(nr,{g:"if(t[i]==null)"+nr.g}),fr=kt||function(n){return At.call(n)==Tt
};b(/x/)&&(b=function(n){return"[object Function]"==At.call(n)});var lr=bt?function(n){if(!n||typeof n!="object")return G;var t=n.valueOf,r=typeof t=="function"&&(r=bt(t))&&bt(r);return r?n==r||bt(n)==r&&!v(n):g(n)}:g,sr=qt?function(n){return typeof n=="function"&&jt.call(n,"prototype")?h(n):w(n)?qt(n):[]}:h,pr=c(tr);r.VERSION="0.10.0",r.assign=er,r.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},r.bind=C,r.bindAll=function(n){for(var t=arguments,r=1<t.length?0:(t=y(n),-1),e=t.length;++r<e;){var u=t[r];
n[u]=C(n[u],n)}return n},r.bindKey=function(n,t){return o(n,t,Ot.call(arguments,2))},r.chain=function(n){return n=new r(n),n.__chain__=U,n},r.clone=_,r.compact=function(n){for(var t=-1,r=n?n.length:0,e=[];++t<r;){var u=n[t];u&&e.push(u)}return e},r.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length;r--;)t=[n[r].apply(this,t)];return t[0]}},r.contains=A,r.countBy=function(n,t,r){var e={},t=a(t,r);return pr(n,function(n,r,u){r=t(n,r,u),wt.call(e,r)?e[r]++:e[r]=1}),e
},r.debounce=function(n,t,r){function e(){a=V,r||(i=n.apply(o,u))}var u,i,o,a;return function(){var c=r&&!a;return u=arguments,o=this,clearTimeout(a),a=setTimeout(e,t),c&&(i=n.apply(o,u)),i}},r.defaults=cr,r.defer=function(n){var r=Ot.call(arguments,1);return setTimeout(function(){n.apply(t,r)},1)},r.delay=function(n,r){var e=Ot.call(arguments,2);return setTimeout(function(){n.apply(t,e)},r)},r.difference=function(n){for(var t=-1,r=n?n.length:0,u=mt.apply(X,arguments),u=e(u,r),i=[];++t<r;){var o=n[t];
u(o)||i.push(o)}return i},r.escape=function(n){return n==V?"":(n+"").replace(gt,l)},r.every=S,r.filter=k,r.find=E,r.first=T,r.flatten=B,r.forEach=pr,r.forIn=ur,r.forOwn=ir,r.functions=y,r.groupBy=function(n,t,r){var e={},t=a(t,r);return pr(n,function(n,r,u){r=t(n,r,u),(wt.call(e,r)?e[r]:e[r]=[]).push(n)}),e},r.has=function(n,t){return n?wt.call(n,t):G},r.identity=K,r.indexOf=D,r.initial=function(n,t,r){return n?Ot.call(n,0,-(t==V||r?1:t)):[]},r.intersection=function(n){var t=arguments,r=t.length,u={},i=[];
return pr(n,function(n){if(0>D(i,n)){for(var o=r;--o;)if(!(u[o]||(u[o]=e(t[o])))(n))return;i.push(n)}}),i},r.invert=m,r.invoke=function(n,t){var r=Ot.call(arguments,2),e=typeof t=="function",u=[];return pr(n,function(n){u.push((e?t:n[t]).apply(n,r))}),u},r.isArguments=v,r.isArray=fr,r.isBoolean=function(n){return n===U||n===G||At.call(n)==Bt},r.isDate=function(n){return At.call(n)==Dt},r.isElement=function(n){return n?1===n.nodeType:G},r.isEmpty=function(n){var t=U;if(!n)return t;var r=At.call(n),e=n.length;
return r==Tt||r==Ct||r==Rt||Ut&&v(n)||r==Pt&&typeof e=="number"&&b(n.splice)?!e:(ir(n,function(){return t=G}),t)},r.isEqual=d,r.isFinite=function(n){return Et(n)&&!$t(parseFloat(n))},r.isFunction=b,r.isNaN=function(n){return At.call(n)==Mt&&n!=+n},r.isNull=function(n){return n===V},r.isNumber=function(n){return At.call(n)==Mt},r.isObject=w,r.isPlainObject=lr,r.isRegExp=function(n){return At.call(n)==zt},r.isString=x,r.isUndefined=function(n){return n===t},r.keys=sr,r.last=function(n,t,r){if(n){var e=n.length;
return t==V||r?n[e-1]:Ot.call(n,-t||e)}},r.lastIndexOf=function(n,t,r){var e=n?n.length:0;for(typeof r=="number"&&(e=(0>r?Nt(0,e+r):Ft(r,e-1))+1);e--;)if(n[e]===t)return e;return-1},r.map=$,r.max=q,r.memoize=function(n,t){var r={};return function(){var e=t?t.apply(this,arguments):arguments[0];return wt.call(r,e)?r[e]:r[e]=n.apply(this,arguments)}},r.merge=j,r.min=function(n,t,r){var e=1/0,i=-1,o=n?n.length:0,c=e;if(t||!fr(n))t=!t&&x(n)?u:a(t,r),pr(n,function(n,r,u){r=t(n,r,u),r<e&&(e=r,c=n)});else for(;++i<o;)n[i]<c&&(c=n[i]);
return c},r.mixin=L,r.noConflict=function(){return n._=rt,this},r.object=function(n,t){for(var r=-1,e=n?n.length:0,u={};++r<e;){var i=n[r];t?u[i]=t[r]:u[i[0]]=i[1]}return u},r.omit=function(n,t,r){var e=typeof t=="function",u={};if(e)t=a(t,r);else var i=mt.apply(X,arguments);return ur(n,function(n,r,o){(e?!t(n,r,o):0>D(i,r,1))&&(u[r]=n)}),u},r.once=function(n){var t,r=G;return function(){return r?t:(r=U,t=n.apply(this,arguments),n=V,t)}},r.pairs=function(n){var t=[];return ir(n,function(n,r){t.push([r,n])
}),t},r.partial=function(n){return o(n,Ot.call(arguments,1))},r.pick=function(n,t,r){var e={};if(typeof t!="function")for(var u=0,i=mt.apply(X,arguments),o=i.length;++u<o;){var c=i[u];c in n&&(e[c]=n[c])}else t=a(t,r),ur(n,function(n,r,u){t(n,r,u)&&(e[r]=n)});return e},r.pluck=N,r.random=function(n,t){return n==V&&t==V&&(t=1),n=+n||0,t==V&&(t=n,n=0),n+dt(It()*((+t||0)-n+1))},r.range=function(n,t,r){n=+n||0,r=+r||1,t==V&&(t=n,n=0);for(var e=-1,t=Nt(0,yt((t-n)/r)),u=Array(t);++e<t;)u[e]=n,n+=r;return u
},r.reduce=F,r.reduceRight=I,r.reject=function(n,t,r){return t=a(t,r),k(n,function(n,r,e){return!t(n,r,e)})},r.rest=M,r.result=function(n,t){var r=n?n[t]:V;return b(r)?n[t]():r},r.shuffle=function(n){var t=-1,r=Array(n?n.length:0);return pr(n,function(n){var e=dt(It()*(++t+1));r[t]=r[e],r[e]=n}),r},r.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:sr(n).length},r.some=R,r.sortBy=function(n,t,r){var e=[],t=a(t,r);for(pr(n,function(n,r,u){e.push({a:t(n,r,u),b:r,c:n})}),n=e.length,e.sort(i);n--;)e[n]=e[n].c;
return e},r.sortedIndex=P,r.tap=function(n,t){return t(n),n},r.template=function(n,t,e){n||(n=""),e||(e={});var u,i,o=r.templateSettings,a=0,c=e.interpolate||o.interpolate||vt,l="__p += '",s=e.variable||o.variable,p=s;n.replace(RegExp((e.escape||o.escape||vt).source+"|"+c.source+"|"+(c===pt?st:vt).source+"|"+(e.evaluate||o.evaluate||vt).source+"|$","g"),function(t,r,e,i,o,c){e||(e=i),l+=n.slice(a,c).replace(ht,f),l+=r?"'+__e("+r+")+'":o?"';"+o+";__p+='":e?"'+((__t=("+e+"))==null?'':__t)+'":"",u||(u=o||et.test(r||e)),a=c+t.length
}),l+="';",p||(s="obj",u?l="with("+s+"){"+l+"}":(e=RegExp("(\\(\\s*)"+s+"\\."+s+"\\b","g"),l=l.replace(ft,"$&"+s+".").replace(e,"$1__d"))),l=(u?l.replace(it,""):l).replace(ot,"$1").replace(at,"$1;"),l="function("+s+"){"+(p?"":s+"||("+s+"={});")+"var __t,__p='',__e=_.escape"+(u?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":(p?"":",__d="+s+"."+s+"||"+s)+";")+l+"return __p}";try{i=Function("_","return "+l)(r)}catch(v){throw v.source=l,v}return t?i(t):(i.source=l,i)},r.throttle=function(n,t){function r(){a=new Date,o=V,u=n.apply(i,e)
}var e,u,i,o,a=0;return function(){var c=new Date,f=t-(c-a);return e=arguments,i=this,0<f?o||(o=setTimeout(r,f)):(clearTimeout(o),a=c,u=n.apply(i,e)),u}},r.times=function(n,t,r){for(var n=+n||0,e=-1,u=Array(n);++e<n;)u[e]=t.call(r,e);return u},r.toArray=function(n){return n&&typeof n.length=="number"?(Vt?x(n):typeof n=="string")?n.split(""):Ot.call(n):O(n)},r.unescape=function(n){return n==V?"":(n+"").replace(ut,p)},r.union=function(){return z(mt.apply(X,arguments))},r.uniq=z,r.uniqueId=function(n){var t=Z++;
return n?n+t:t},r.values=O,r.where=function(n,t){var r=sr(t);return k(n,function(n){for(var e=r.length;e--;){var u=n[r[e]]===t[r[e]];if(!u)break}return!!u})},r.without=function(n){for(var t=-1,r=n?n.length:0,u=e(arguments,1,20),i=[];++t<r;){var o=n[t];u(o)||i.push(o)}return i},r.wrap=function(n,t){return function(){var r=[n];return xt.apply(r,arguments),t.apply(this,r)}},r.zip=function(n){for(var t=-1,r=n?q(N(arguments,"length")):0,e=Array(r);++t<r;)e[t]=N(arguments,t);return e},r.all=S,r.any=R,r.collect=$,r.detect=E,r.drop=M,r.each=pr,r.extend=er,r.foldl=F,r.foldr=I,r.head=T,r.include=A,r.inject=F,r.methods=y,r.select=k,r.tail=M,r.take=T,r.unique=z,L(r),r.prototype.chain=function(){return this.__chain__=U,this
},r.prototype.value=function(){return this.__wrapped__},pr("pop push reverse shift sort splice unshift".split(" "),function(n){var t=X[n];r.prototype[n]=function(){var n=this.__wrapped__;return t.apply(n,arguments),Kt&&0===n.length&&delete n[0],this.__chain__&&(n=new r(n),n.__chain__=U),n}}),pr(["concat","join","slice"],function(n){var t=X[n];r.prototype[n]=function(){var n=t.apply(this.__wrapped__,arguments);return this.__chain__&&(n=new r(n),n.__chain__=U),n}}),typeof define=="function"&&typeof define.amd=="object"&&define.amd?(n._=r,define(function(){return r
})):H?typeof module=="object"&&module&&module.exports==H?(module.exports=r)._=r:H._=r:n._=r})(this);
;(function(n,t){function r(n){return n&&typeof n=="object"&&n.__wrapped__?n:this instanceof r?(this.__wrapped__=n,void 0):new r(n)}function e(t,r){return n.eval("(function("+t+"){"+r+"})")}function u(n,t,r){t||(t=0);var e=n.length,u=e-t>=(r||it);if(u)for(var o={},r=t-1;++r<e;){var i=n[r]+"";(St.call(o,i)?o[i]:o[i]=[]).push(n[r])}return function(r){if(u){var e=r+"";return St.call(o,e)&&-1<C(o[e],r)}return-1<C(n,r,t)}}function o(n){return n.charCodeAt(0)}function i(n,t){var r=n.b,e=t.b,n=n.a,t=t.a;if(n!==t){if(n>t||typeof n=="undefined")return 1;
if(n<t||typeof t=="undefined")return-1}return r<e?-1:1}function a(n,t,r){function e(){var a=arguments,f=o?this:t;return u||(n=t[i]),r.length&&(a=a.length?r.concat(g(a)):r),this instanceof e?(v.prototype=n.prototype,f=new v,v.prototype=Q,a=n.apply(f,a),O(a)?a:f):n.apply(f,a)}var u=x(n),o=!r,i=t;return o&&(r=t),u||(t=n),e}function f(n,t){return n?typeof n!="function"?function(t){return t[n]}:typeof t!="undefined"?function(r,e,u){return n.call(t,r,e,u)}:n:Z}function c(){for(var n,t={b:"",c:"",e:nt,f:Qt,g:"",h:Xt,i:nr,j:wt,k:"",l:J},r=0;n=arguments[r];r++)for(var u in n)t[u]=n[u];
if(n=t.a,t.d=/^[^,]+/.exec(n)[0],r="var i,l="+t.d+",t="+t.d+";if(!"+t.d+")return t;"+t.k+";",t.b?(r+="var m=l.length;i=-1;if(typeof m=='number'){",t.i&&(r+="if(k(l)){l=l.split('')}"),r+="while(++i<m){"+t.b+"}}else {"):t.h&&(r+="var m=l.length;i=-1;if(m&&j(l)){while(++i<m){i+='';"+t.g+"}}else {"),t.e||(r+="var u=typeof l=='function'&&s.call(l,'prototype');"),t.f&&t.l?(r+="var q=-1,r=p[typeof l]?n(l):[],m=r.length;while(++q<m){i=r[q];",t.e||(r+="if(!(u&&i=='prototype')){"),r+=t.g+"",t.e||(r+="}")):(r+="for(i in l){",(!t.e||t.l)&&(r+="if(",t.e||(r+="!(u&&i=='prototype')"),!t.e&&t.l&&(r+="&&"),t.l&&(r+="h.call(l,i)"),r+="){"),r+=t.g+";",(!t.e||t.l)&&(r+="}")),r+="}",t.e)for(r+="var f=l.constructor;",u=0;7>u;u++)r+="i='"+t.j[u]+"';if(","constructor"==t.j[u]&&(r+="!(f&&f.prototype===l)&&"),r+="h.call(l,i)){"+t.g+"}";
return(t.b||t.h)&&(r+="}"),r+=t.c+";return t",e("e,h,j,k,p,n,s","return function("+n+"){"+r+"}")(f,St,y,S,or,It,kt)}function l(n){return"\\"+ir[n]}function p(n){return vr[n]}function s(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}function v(){}function g(n,t,r){t||(t=0),typeof r=="undefined"&&(r=n?n.length:0);for(var e=-1,r=r-t||0,u=Array(0>r?0:r);++e<r;)u[e]=n[t+e];return u}function h(n){return gr[n]}function y(n){return $t.call(n)==Mt}function m(n){var t=W;if(!n||typeof n!="object"||y(n))return t;
var r=n.constructor;return!x(r)&&(!tr||!s(n))||r instanceof r?tt?(pr(n,function(n,r,e){return t=!St.call(e,r),W}),t===W):(pr(n,function(n,r){t=r}),t===W||St.call(n,t)):t}function _(n){var t=[];return sr(n,function(n,r){t.push(r)}),t}function d(n,t,r,e,u){if(n==Q)return n;if(r&&(t=W),r=O(n)){var o=$t.call(n);if(!er[o]||tr&&s(n))return n;var i=yr(n)}if(!r||!t)return r?i?g(n):lr({},n):n;switch(r=ur[o],o){case zt:case Ct:return new r(+n);case Kt:case Vt:return new r(n);case Ut:return r(n.source,vt.exec(n))
}for(e||(e=[]),u||(u=[]),o=e.length;o--;)if(e[o]==n)return u[o];var a=i?r(n.length):{};return e.push(n),u.push(a),(i?dr:sr)(n,function(n,r){a[r]=d(n,t,Q,e,u)}),i&&(St.call(n,"index")&&(a.index=n.index),St.call(n,"input")&&(a.input=n.input)),a}function b(n){var t=[];return pr(n,function(n,r){x(n)&&t.push(r)}),t.sort()}function w(n){var t={};return sr(n,function(n,r){t[n]=r}),t}function j(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(n==Q||t==Q)return n===t;var u=$t.call(n),o=$t.call(t);if(u==Mt&&(u=Lt),o==Mt&&(o=Lt),u!=o)return W;
switch(u){case zt:case Ct:return+n==+t;case Kt:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case Ut:case Vt:return n==t+""}if(o=u==Pt,!o){if(n.__wrapped__||t.__wrapped__)return j(n.__wrapped__||n,t.__wrapped__||t);if(u!=Lt||tr&&(s(n)||s(t)))return W;var u=Yt&&y(n)?Object:n.constructor,i=Yt&&y(t)?Object:t.constructor;if(u!=i&&(!x(u)||!(u instanceof u&&x(i)&&i instanceof i)))return W}for(r||(r=[]),e||(e=[]),u=r.length;u--;)if(r[u]==n)return e[u]==t;var a=J,f=0;if(r.push(n),e.push(t),o){if(f=n.length,a=f==t.length)for(;f--&&(a=j(n[f],t[f],r,e)););return a
}return pr(n,function(n,u,o){return St.call(o,u)?(f++,a=St.call(t,u)&&j(n,t[u],r,e)):void 0}),a&&pr(t,function(n,t,r){return St.call(r,t)?a=-1<--f:void 0}),a}function x(n){return typeof n=="function"}function O(n){return n?or[typeof n]:W}function A(n){return typeof n=="number"||$t.call(n)==Kt}function S(n){return typeof n=="string"||$t.call(n)==Vt}function E(n,t,r){var e=arguments,u=0,o=2,i=e[3],a=e[4];for(r!==ot&&(i=[],a=[],typeof r!="number"&&(o=e.length));++u<o;)sr(e[u],function(t,r){var e,u,o;if(t&&((u=yr(t))||mr(t))){for(var f=i.length;f--&&!(e=i[f]==t););e?n[r]=a[f]:(i.push(t),a.push((o=n[r],o=u?yr(o)?o:[]:mr(o)?o:{})),n[r]=E(o,t,ot,i,a))
}else t!=Q&&(n[r]=t)});return n}function k(n){var t=[];return sr(n,function(n){t.push(n)}),t}function $(n,t,r){var e=-1,u=n?n.length:0,o=W,r=(0>r?Tt(0,u+r):r)||0;return typeof u=="number"?o=-1<(S(n)?n.indexOf(t,r):C(n,t,r)):dr(n,function(n){return++e<r?void 0:!(o=n===t)}),o}function q(n,t,r){var e=J,t=f(t,r);if(yr(n))for(var r=-1,u=n.length;++r<u&&(e=!!t(n[r],r,n)););else dr(n,function(n,r,u){return e=!!t(n,r,u)});return e}function N(n,t,r){var e=[],t=f(t,r);if(yr(n))for(var r=-1,u=n.length;++r<u;){var o=n[r];
t(o,r,n)&&e.push(o)}else dr(n,function(n,r,u){t(n,r,u)&&e.push(n)});return e}function R(n,t,r){var e,t=f(t,r);return dr(n,function(n,r,u){return t(n,r,u)?(e=n,W):void 0}),e}function F(n,t,r){var e=-1,u=n?n.length:0,o=Array(typeof u=="number"?u:0),t=f(t,r);if(yr(n))for(;++e<u;)o[e]=t(n[e],e,n);else dr(n,function(n,r,u){o[++e]=t(n,r,u)});return o}function I(n,t,r){var e=-1/0,u=-1,i=n?n.length:0,a=e;if(t||!yr(n))t=!t&&S(n)?o:f(t,r),dr(n,function(n,r,u){r=t(n,r,u),r>e&&(e=r,a=n)});else for(;++u<i;)n[u]>a&&(a=n[u]);
return a}function T(n,t){return F(n,t+"")}function B(n,t,r,e){var u=3>arguments.length;return t||(t=Z),dr(n,function(n,o,i){r=u?(u=W,n):t.call(e,r,n,o,i)}),r}function D(n,t,r,e){var u=n,o=n?n.length:0,i=3>arguments.length;if(typeof o!="number")var a=_r(n),o=a.length;else nr&&S(n)&&(u=n.split(""));return t||(t=Z),dr(n,function(n,f,c){f=a?a[--o]:--o,r=i?(i=W,u[f]):t.call(e,r,u[f],f,c)}),r}function M(n,t,r){var e,t=f(t,r);if(yr(n))for(var r=-1,u=n.length;++r<u&&!(e=t(n[r],r,n)););else dr(n,function(n,r,u){return!(e=t(n,r,u))
});return!!e}function P(n,t,r){if(n){var e=n.length;return t==Q||r?n[0]:g(n,0,Bt(Tt(0,t),e))}}function z(n,t){for(var r=-1,e=n?n.length:0,u=[];++r<e;){var o=n[r];yr(o)?Et.apply(u,t?o:z(o)):u.push(o)}return u}function C(n,t,r){var e=-1,u=n?n.length:0;if(typeof r=="number")e=(0>r?Tt(0,u+r):r||0)-1;else if(r)return e=L(n,t),n[e]===t?e:-1;for(;++e<u;)if(n[e]===t)return e;return-1}function K(n,t,r){return g(n,t==Q||r?1:Tt(0,t))}function L(n,t,r,e){for(var u=0,o=n?n.length:u,r=r?f(r,e):Z,t=r(t);u<o;)e=u+o>>>1,r(n[e])<t?u=e+1:o=e;
return u}function U(n,t,r,e){var u=-1,o=n?n.length:0,i=[],a=i;typeof t=="function"&&(e=r,r=t,t=W);var c=!t&&74<o;if(c)var l={};for(r&&(a=[],r=f(r,e));++u<o;){var e=n[u],p=r?r(e,u,n):e;c&&(a=St.call(l,p+"")?l[p]:l[p]=[]),(t?!u||a[a.length-1]!==p:0>C(a,p))&&((r||c)&&a.push(p),i.push(e))}return i}function V(n,t){return Jt||qt&&2<arguments.length?qt.call.apply(qt,arguments):a(n,t,g(arguments,2))}function Z(n){return n}function G(n){dr(b(n),function(t){var e=r[t]=n[t];r.prototype[t]=function(){var n=[this.__wrapped__];
return Et.apply(n,arguments),n=e.apply(r,n),new r(n)}})}function H(){return this.__wrapped__}var J=!0,Q=null,W=!1,X=typeof exports=="object"&&exports,Y=typeof global=="object"&&global;Y.global===Y&&(n=Y);var nt,tt,rt=[],et=new function(){},ut=0,ot=et,it=30,at=n._,ft=/[-?+=!~*%&^<>|{(\/]|\[\D|\b(?:delete|in|instanceof|new|typeof|void)\b/,ct=/&(?:amp|lt|gt|quot|#x27);/g,lt=/\b__p\+='';/g,pt=/\b(__p\+=)''\+/g,st=/(__e\(.*?\)|\b__t\))\+'';/g,vt=/\w*$/,gt=/(?:__e|__t=)\(\s*(?![\d\s"']|this\.)/g,ht=RegExp("^"+(et.valueOf+"").replace(/[.*+?^=!:${}()|[\]\/\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),yt=/\$\{((?:(?=\\?)\\?[\s\S])*?)}/g,mt=/<%=([\s\S]+?)%>/g,_t=/($^)/,dt=/[&<>"']/g,bt=/['\n\r\t\u2028\u2029\\]/g,wt="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),jt=Math.ceil,xt=rt.concat,Ot=Math.floor,At=ht.test(At=Object.getPrototypeOf)&&At,St=et.hasOwnProperty,Et=rt.push,kt=et.propertyIsEnumerable,$t=et.toString,qt=ht.test(qt=g.bind)&&qt,Nt=ht.test(Nt=Array.isArray)&&Nt,Rt=n.isFinite,Ft=n.isNaN,It=ht.test(It=Object.keys)&&It,Tt=Math.max,Bt=Math.min,Dt=Math.random,Mt="[object Arguments]",Pt="[object Array]",zt="[object Boolean]",Ct="[object Date]",Kt="[object Number]",Lt="[object Object]",Ut="[object RegExp]",Vt="[object String]",Zt=!/1/.test(Function("1")),Gt=!!n.attachEvent,Ht=qt&&!/\n|true/.test(qt+Gt),Jt=qt&&!Ht,Qt=It&&(Gt||Ht),Wt=(Wt={0:1,length:1},rt.splice.call(Wt,0,1),Wt[0]),Xt=J;
(function(){function n(){this.x=1}var t=[];n.prototype={valueOf:1,y:1};for(var r in new n)t.push(r);for(r in arguments)Xt=!r;nt=!/valueOf/.test(t),tt="x"!=t[0]})(1);var Yt=!y(arguments),nr="xx"!="x"[0]+Object("x")[0];try{var tr=$t.call(document)==Lt}catch(rr){}var er={"[object Function]":W};er[Mt]=er[Pt]=er[zt]=er[Ct]=er[Kt]=er[Lt]=er[Ut]=er[Vt]=J;var ur={};ur[Pt]=Array,ur[zt]=Boolean,ur[Ct]=Date,ur[Lt]=Object,ur[Kt]=Number,ur[Ut]=RegExp,ur[Vt]=String;var or={"boolean":W,"function":J,object:J,number:W,string:W,undefined:W},ir={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"};
r.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:mt,variable:""},(Gt||Ht||!Zt)&&(e=Function);var ar={a:"o,v,g",k:"for(var a=1,b=typeof g=='number'?2:arguments.length;a<b;a++){if((l=arguments[a])){",g:"t[i]=l[i]",c:"}}"},fr={a:"d,c,w",k:"c=c&&typeof w=='undefined'?c:e(c,w)",b:"if(c(l[i],i,d)===false)return t",g:"if(c(l[i],i,d)===false)return t"},cr={b:Q},lr=c(ar);Yt&&(y=function(n){return n?St.call(n,"callee"):W});var pr=c(fr,cr,{l:W}),sr=c(fr,cr),vr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"},gr=w(vr),hr=c(ar,{g:"if(t[i]==null)"+ar.g}),yr=Nt||function(n){return $t.call(n)==Pt
};x(/x/)&&(x=function(n){return"[object Function]"==$t.call(n)});var mr=At?function(n){if(!n||typeof n!="object")return W;var t=n.valueOf,r=typeof t=="function"&&(r=At(t))&&At(r);return r?n==r||At(n)==r&&!y(n):m(n)}:m,_r=It?function(n){return typeof n=="function"&&kt.call(n,"prototype")?_(n):O(n)?It(n):[]}:_,dr=c(fr);r.VERSION="1.0.0-rc.1",r.assign=lr,r.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},r.bind=V,r.bindAll=function(n){for(var t=arguments,r=1<t.length?0:(t=b(n),-1),e=t.length;++r<e;){var u=t[r];
n[u]=V(n[u],n)}return n},r.bindKey=function(n,t){return a(n,t,g(arguments,2))},r.chain=function(n){return new r(n)},r.clone=d,r.compact=function(n){for(var t=-1,r=n?n.length:0,e=[];++t<r;){var u=n[t];u&&e.push(u)}return e},r.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length;r--;)t=[n[r].apply(this,t)];return t[0]}},r.contains=$,r.countBy=function(n,t,r){var e={},t=f(t,r);return dr(n,function(n,r,u){r=t(n,r,u),St.call(e,r)?e[r]++:e[r]=1}),e},r.debounce=function(n,t,r){function e(){a=Q,r||(o=n.apply(i,u))
}var u,o,i,a;return function(){var f=r&&!a;return u=arguments,i=this,clearTimeout(a),a=setTimeout(e,t),f&&(o=n.apply(i,u)),o}},r.defaults=hr,r.defer=function(n){var r=g(arguments,1);return setTimeout(function(){n.apply(t,r)},1)},r.delay=function(n,r){var e=g(arguments,2);return setTimeout(function(){n.apply(t,e)},r)},r.difference=function(n){for(var t=-1,r=n?n.length:0,e=xt.apply(rt,arguments),e=u(e,r),o=[];++t<r;){var i=n[t];e(i)||o.push(i)}return o},r.escape=function(n){return n==Q?"":(n+"").replace(dt,p)
},r.every=q,r.filter=N,r.find=R,r.first=P,r.flatten=z,r.forEach=dr,r.forIn=pr,r.forOwn=sr,r.functions=b,r.groupBy=function(n,t,r){var e={},t=f(t,r);return dr(n,function(n,r,u){r=t(n,r,u),(St.call(e,r)?e[r]:e[r]=[]).push(n)}),e},r.has=function(n,t){return n?St.call(n,t):W},r.identity=Z,r.indexOf=C,r.initial=function(n,t,r){if(!n)return[];var e=n.length;return g(n,0,Bt(Tt(0,e-(t==Q||r?1:t||0)),e))},r.intersection=function(n){var t=arguments,r=t.length,e={},o=[];return dr(n,function(n){if(0>C(o,n)){for(var i=r;--i;)if(!(e[i]||(e[i]=u(t[i])))(n))return;
o.push(n)}}),o},r.invert=w,r.invoke=function(n,t){var r=g(arguments,2),e=typeof t=="function",u=[];return dr(n,function(n){u.push((e?t:n[t]).apply(n,r))}),u},r.isArguments=y,r.isArray=yr,r.isBoolean=function(n){return n===J||n===W||$t.call(n)==zt},r.isDate=function(n){return $t.call(n)==Ct},r.isElement=function(n){return n?1===n.nodeType:W},r.isEmpty=function(n){var t=J;if(!n)return t;var r=$t.call(n),e=n.length;return r==Pt||r==Vt||r==Mt||Yt&&y(n)||r==Lt&&typeof e=="number"&&x(n.splice)?!e:(sr(n,function(){return t=W
}),t)},r.isEqual=j,r.isFinite=function(n){return Rt(n)&&!Ft(parseFloat(n))},r.isFunction=x,r.isNaN=function(n){return A(n)&&n!=+n},r.isNull=function(n){return n===Q},r.isNumber=A,r.isObject=O,r.isPlainObject=mr,r.isRegExp=function(n){return $t.call(n)==Ut},r.isString=S,r.isUndefined=function(n){return typeof n=="undefined"},r.keys=_r,r.last=function(n,t,r){if(n){var e=n.length;return t==Q||r?n[e-1]:g(n,Tt(0,e-t))}},r.lastIndexOf=function(n,t,r){var e=n?n.length:0;for(typeof r=="number"&&(e=(0>r?Tt(0,e+r):Bt(r,e-1))+1);e--;)if(n[e]===t)return e;
return-1},r.map=F,r.max=I,r.memoize=function(n,t){var r={};return function(){var e=t?t.apply(this,arguments):arguments[0];return St.call(r,e)?r[e]:r[e]=n.apply(this,arguments)}},r.merge=E,r.min=function(n,t,r){var e=1/0,u=-1,i=n?n.length:0,a=e;if(t||!yr(n))t=!t&&S(n)?o:f(t,r),dr(n,function(n,r,u){r=t(n,r,u),r<e&&(e=r,a=n)});else for(;++u<i;)n[u]<a&&(a=n[u]);return a},r.mixin=G,r.noConflict=function(){return n._=at,this},r.object=function(n,t){for(var r=-1,e=n?n.length:0,u={};++r<e;){var o=n[r];t?u[o]=t[r]:u[o[0]]=o[1]
}return u},r.omit=function(n,t,r){var e=typeof t=="function",u={};if(e)t=f(t,r);else var o=xt.apply(rt,arguments);return pr(n,function(n,r,i){(e?!t(n,r,i):0>C(o,r,1))&&(u[r]=n)}),u},r.once=function(n){var t,r=W;return function(){return r?t:(r=J,t=n.apply(this,arguments),n=Q,t)}},r.pairs=function(n){var t=[];return sr(n,function(n,r){t.push([r,n])}),t},r.partial=function(n){return a(n,g(arguments,1))},r.pick=function(n,t,r){var e={};if(typeof t!="function")for(var u=0,o=xt.apply(rt,arguments),i=o.length;++u<i;){var a=o[u];
a in n&&(e[a]=n[a])}else t=f(t,r),pr(n,function(n,r,u){t(n,r,u)&&(e[r]=n)});return e},r.pluck=T,r.random=function(n,t){return n==Q&&t==Q&&(t=1),n=+n||0,t==Q&&(t=n,n=0),n+Ot(Dt()*((+t||0)-n+1))},r.range=function(n,t,r){n=+n||0,r=+r||1,t==Q&&(t=n,n=0);for(var e=-1,t=Tt(0,jt((t-n)/r)),u=Array(t);++e<t;)u[e]=n,n+=r;return u},r.reduce=B,r.reduceRight=D,r.reject=function(n,t,r){return t=f(t,r),N(n,function(n,r,e){return!t(n,r,e)})},r.rest=K,r.result=function(n,t){var r=n?n[t]:Q;return x(r)?n[t]():r},r.shuffle=function(n){var t=-1,r=Array(n?n.length:0);
return dr(n,function(n){var e=Ot(Dt()*(++t+1));r[t]=r[e],r[e]=n}),r},r.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:_r(n).length},r.some=M,r.sortBy=function(n,t,r){var e=[],t=f(t,r);for(dr(n,function(n,r,u){e.push({a:t(n,r,u),b:r,c:n})}),n=e.length,e.sort(i);n--;)e[n]=e[n].c;return e},r.sortedIndex=L,r.tap=function(n,t){return t(n),n},r.template=function(n,t,u){n||(n=""),u||(u={});var o,i,a=r.templateSettings,f=0,c=u.interpolate||a.interpolate||_t,p="__p+='",s=u.variable||a.variable,v=s;
n.replace(RegExp((u.escape||a.escape||_t).source+"|"+c.source+"|"+(c===mt?yt:_t).source+"|"+(u.evaluate||a.evaluate||_t).source+"|$","g"),function(t,r,e,u,i,a){return e||(e=u),p+=n.slice(f,a).replace(bt,l),r&&(p+="'+__e("+r+")+'"),i&&(p+="';"+i+";__p+='"),e&&(p+="'+((__t=("+e+"))==null?'':__t)+'"),o||(o=i||ft.test(r||e)),f=a+t.length,t}),p+="';\n",v||(s="obj",o?p="with("+s+"){"+p+"}":(u=RegExp("(\\(\\s*)"+s+"\\."+s+"\\b","g"),p=p.replace(gt,"$&"+s+".").replace(u,"$1__d"))),p=(o?p.replace(lt,""):p).replace(pt,"$1").replace(st,"$1;"),p="function("+s+"){"+(v?"":s+"||("+s+"={});")+"var __t,__p='',__e=_.escape"+(o?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":(v?"":",__d="+s+"."+s+"||"+s)+";")+p+"return __p}";
try{i=e("_","return "+p)(r)}catch(g){throw g.source=p,g}return t?i(t):(i.source=p,i)},r.throttle=function(n,t){function r(){a=new Date,i=Q,u=n.apply(o,e)}var e,u,o,i,a=0;return function(){var f=new Date,c=t-(f-a);return e=arguments,o=this,0<c?i||(i=setTimeout(r,c)):(clearTimeout(i),i=Q,a=f,u=n.apply(o,e)),u}},r.times=function(n,t,r){for(var n=+n||0,e=-1,u=Array(n);++e<n;)u[e]=t.call(r,e);return u},r.toArray=function(n){return typeof(n?n.length:0)=="number"?nr&&S(n)?n.split(""):g(n):k(n)},r.unescape=function(n){return n==Q?"":(n+"").replace(ct,h)
},r.union=function(){return U(xt.apply(rt,arguments))},r.uniq=U,r.uniqueId=function(n){return(n==Q?"":n+"")+ ++ut},r.values=k,r.where=function(n,t){var r=_r(t);return N(n,function(n){for(var e=r.length;e--;){var u=n[r[e]]===t[r[e]];if(!u)break}return!!u})},r.without=function(n){for(var t=-1,r=n?n.length:0,e=u(arguments,1,20),o=[];++t<r;){var i=n[t];e(i)||o.push(i)}return o},r.wrap=function(n,t){return function(){var r=[n];return Et.apply(r,arguments),t.apply(this,r)}},r.zip=function(n){for(var t=-1,r=n?I(T(arguments,"length")):0,e=Array(r);++t<r;)e[t]=T(arguments,t);
return e},r.all=q,r.any=M,r.collect=F,r.detect=R,r.drop=K,r.each=dr,r.extend=lr,r.foldl=B,r.foldr=D,r.head=P,r.include=$,r.inject=B,r.methods=b,r.select=N,r.tail=K,r.take=P,r.unique=U,G(r),r.prototype.chain=function(){return this},r.prototype.toString=function(){return""+this.__wrapped__},r.prototype.value=H,r.prototype.valueOf=H,dr(["first","last"],function(n){var t=r[n];t&&(r.prototype[n]=function(n,e){var u=t(this.__wrapped__,n,e);return n==Q||e?u:new r(u)})}),dr(N(b(r),function(n){return/^(?:bind|contains|every|find|has|is[A-Z].+|reduce.*|some)$/.test(n)
}),function(n){var t=r[n];r.prototype[n]=function(){var n=[this.__wrapped__];return Et.apply(n,arguments),t.apply(r,n)}}),dr("pop push reverse shift sort splice unshift".split(" "),function(n){var t=rt[n];r.prototype[n]=function(){var n=this.__wrapped__;return t.apply(n,arguments),Wt&&0===n.length&&delete n[0],this}}),dr(["concat","join","slice"],function(n){var t=rt[n];r.prototype[n]=function(){var n=t.apply(this.__wrapped__,arguments);return new r(n)}}),typeof define=="function"&&typeof define.amd=="object"&&define.amd?(n._=r,define(function(){return r
})):X?typeof module=="object"&&module&&module.exports==X?(module.exports=r)._=r:X._=r:n._=r})(this);
/*!
Lo-Dash 0.10.0 (Custom Build) lodash.com/license
Lo-Dash 1.0.0-rc.1 (Custom Build) lodash.com/license
Build: `lodash underscore -m -o ./lodash.underscore.min.js`
Underscore.js 1.4.2 underscorejs.org/LICENSE
*/
;(function(n,r){function t(n,r,t){var e;if(!n)return n;var r=c(r,t),u=n.length,t=-1;if(typeof u=="number"){for(;++t<u;)if(e=n[t],r(e,t,n)===Q)return n}else for(t in n)if(ir.call(n,t)&&(e=n[t],r(e,t,n)===Q))return n}function e(n,r){var t,e;if(n)for(t in r=c(r),n)if(ir.call(n,t)&&(e=n[t],r(e,t,n)===Q))break}function u(n,r){var t,e;if(n)for(t in r=c(r),n)if(e=n[t],r(e,t,n)===Q)break}function i(n){return n&&n.__wrapped__?n:this instanceof i?(this.__wrapped__=n,void 0):new i(n)}function a(n,t){var e=n.b,u=t.b,n=n.a,t=t.a;
if(n!==t){if(n>t||n===r)return 1;if(n<t||t===r)return-1}return e<u?-1:1}function o(n,r,t){function e(){var u=arguments,i=r;return t.length&&(u=u.length?t.concat(or.call(u)):t),this instanceof e?(s.prototype=n.prototype,i=new s,u=n.apply(i,u),b(u)?u:i):n.apply(i,u)}return e}function c(n,t){return n?typeof n!="function"?function(r){return r[n]}:t!==r?function(r,e,u){return n.call(t,r,e,u)}:n:C}function f(n){return"\\"+Er[n]}function l(n){return Sr[n]}function s(){}function p(n){return kr[n]}function h(n){if(!n)return n;
for(var r=1,t=arguments.length;r<t;r++){var e=arguments[r];if(e)for(var u in e)n[u]=e[u]}return n}function v(n){var r=[];return e(n,function(n,t){r.push(t)}),r}function g(n){if(!n)return n;for(var r=1,t=arguments.length;r<t;r++){var e=arguments[r];if(e)for(var u in e)n[u]==V&&(n[u]=e[u])}return n}function _(n){var r=[];return u(n,function(n,t){d(n)&&r.push(t)}),r.sort()}function m(n){var r={};return e(n,function(n,t){r[n]=t}),r}function y(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;if(n==V||r==V)return n===r;
var u=cr.call(n);if(u!=cr.call(r))return G;switch(u){case mr:case yr:return+n==+r;case dr:return n!=+n?r!=+r:0==n?1/n==1/r:n==+r;case wr:case jr:return n==r+""}var i=u==_r;if(!i){if(n.__wrapped__||r.__wrapped__)return y(n.__wrapped__||n,r.__wrapped__||r);if(u!=br)return G;var u=n.constructor,a=r.constructor;if(u!=a&&(!d(u)||!(u instanceof u&&d(a)&&a instanceof a)))return G}for(t||(t=[]),e||(e=[]),u=t.length;u--;)if(t[u]==n)return e[u]==r;if(u=U,a=0,t.push(n),e.push(r),i){if(a=n.length,u=a==r.length)for(;a--&&(u=y(n[a],r[a],t,e)););return u
}for(var o in n)if(ir.call(n,o)&&(a++,!ir.call(r,o)||!y(n[o],r[o],t,e)))return G;for(o in r)if(ir.call(r,o)&&!a--)return G;return U}function d(n){return typeof n=="function"}function b(n){return n?Or[typeof n]:G}function w(n){return cr.call(n)==jr}function j(n){var r=[];return e(n,function(n){r.push(n)}),r}function x(n,r){var e=G;return typeof(n?n.length:0)=="number"?e=-1<M(n,r):t(n,function(n){return(e=n===r)&&Q}),e}function A(n,r,e){var u=U,r=c(r,e);if(Tr(n))for(var e=-1,i=n.length;++e<i&&(u=!!r(n[e],e,n)););else t(n,function(n,t,e){return!(u=!!r(n,t,e))&&Q
});return u}function O(n,r,e){var u=[],r=c(r,e);if(Tr(n))for(var e=-1,i=n.length;++e<i;){var a=n[e];r(a,e,n)&&u.push(a)}else t(n,function(n,t,e){r(n,t,e)&&u.push(n)});return u}function E(n,r,e){var u,r=c(r,e);return t(n,function(n,t,e){return r(n,t,e)?(u=n,Q):void 0}),u}function S(n,r,e){var u=-1,i=n?n.length:0,a=Array(typeof i=="number"?i:0),r=c(r,e);if(Tr(n))for(;++u<i;)a[u]=r(n[u],u,n);else t(n,function(n,t,e){a[++u]=r(n,t,e)});return a}function k(n,r,e){var u=-1/0,i=-1,a=n?n.length:0,o=u;if(r||!Tr(n))r=c(r,e),t(n,function(n,t,e){t=r(n,t,e),t>u&&(u=t,o=n)
});else for(;++i<a;)n[i]>o&&(o=n[i]);return o}function T(n,r){var e=[];return t(n,function(n){e.push(n[r])}),e}function N(n,r,e,u){var i=3>arguments.length,r=c(r,u);return t(n,function(n,t,u){e=i?(i=G,n):r(e,n,t,u)}),e}function q(n,r,e,u){var i=n?n.length:0,a=3>arguments.length;if(typeof i!="number")var o=Nr(n),i=o.length;return t(n,function(t,c,f){c=o?o[--i]:--i,e=a?(a=G,n[c]):r.call(u,e,n[c],c,f)}),e}function R(n,r,e){var u,r=c(r,e);if(Tr(n))for(var e=-1,i=n.length;++e<i&&!(u=r(n[e],e,n)););else t(n,function(n,t,e){return(u=r(n,t,e))&&Q
});return!!u}function B(n,r,t){return n?r==V||t?n[0]:or.call(n,0,r):void 0}function F(n,r){for(var t=-1,e=n?n.length:0,u=[];++t<e;){var i=n[t];Tr(i)?ar.apply(u,r?i:F(i)):u.push(i)}return u}function M(n,r,t){var e=-1,u=n?n.length:0;if(typeof t=="number")e=(0>t?hr(0,u+t):t||0)-1;else if(t)return e=I(n,r),n[e]===r?e:-1;for(;++e<u;)if(n[e]===r)return e;return-1}function $(n,r,t){return n?or.call(n,r==V||t?1:r):[]}function I(n,r,t,e){for(var u=0,i=n?n.length:u,t=t?c(t,e):C,r=t(r);u<i;)e=u+i>>>1,t(n[e])<r?u=e+1:i=e;
return u}function D(n,r,t,e){var u=-1,i=n?n.length:0,a=[],o=a;for(t&&(o=[],t=c(t,e));++u<i;){var e=n[u],f=t?t(e,u,n):e;(r?!u||o[o.length-1]!==f:0>M(o,f))&&(t&&o.push(f),a.push(e))}return a}function z(n,r){return Ar||fr&&2<arguments.length?fr.call.apply(fr,arguments):o(n,r,or.call(arguments,2))}function C(n){return n}function P(n){t(_(n),function(r){var t=i[r]=n[r];i.prototype[r]=function(){var n=[this.__wrapped__];return ar.apply(n,arguments),n=t.apply(i,n),this.__chain__&&(n=new i(n),n.__chain__=U),n
}})}var U=!0,V=null,G=!1,H=typeof exports=="object"&&exports,J=typeof global=="object"&&global;J.global===J&&(n=J);var K=[],J=new function(){},L=0,Q=J,W=n._,X=/&(?:amp|lt|gt|quot|#x27);/g,Y=RegExp("^"+(J.valueOf+"").replace(/[.*+?^=!:${}()|[\]\/\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),Z=/($^)/,nr=/[&<>"']/g,rr=/['\n\r\t\u2028\u2029\\]/g,tr=Math.ceil,er=K.concat,ur=Math.floor,ir=J.hasOwnProperty,ar=K.push,or=K.slice,cr=J.toString,fr=Y.test(fr=or.bind)&&fr,lr=Y.test(lr=Array.isArray)&&lr,sr=n.isFinite,pr=Y.test(pr=Object.keys)&&pr,hr=Math.max,vr=Math.min,gr=Math.random,_r="[object Array]",mr="[object Boolean]",yr="[object Date]",dr="[object Number]",br="[object Object]",wr="[object RegExp]",jr="[object String]",xr=(xr={0:1,length:1},K.splice.call(xr,0,1),xr[0]),Ar=fr&&/\n|Opera/.test(fr+cr.call(n.opera)),Or={"boolean":G,"function":U,object:U,number:G,string:G,undefined:G},Er={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"};
i.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,variable:""},i.isArguments=function(n){return"[object Arguments]"==cr.call(n)},i.isArguments(arguments)||(i.isArguments=function(n){return n?ir.call(n,"callee"):G});var Sr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"},kr=m(Sr),Tr=lr||function(n){return cr.call(n)==_r};d(/x/)&&(d=function(n){return"[object Function]"==cr.call(n)});var Nr=pr?function(n){return b(n)?pr(n):[]}:v;i.VERSION="0.10.0",i.after=function(n,r){return 1>n?r():function(){return 1>--n?r.apply(this,arguments):void 0
}},i.bind=z,i.bindAll=function(n){for(var r=arguments,t=1<r.length?0:(r=_(n),-1),e=r.length;++t<e;){var u=r[t];n[u]=z(n[u],n)}return n},i.chain=function(n){return n=new i(n),n.__chain__=U,n},i.clone=function(n){return n&&Or[typeof n]?Tr(n)?or.call(n):h({},n):n},i.compact=function(n){for(var r=-1,t=n?n.length:0,e=[];++r<t;){var u=n[r];u&&e.push(u)}return e},i.compose=function(){var n=arguments;return function(){for(var r=arguments,t=n.length;t--;)r=[n[t].apply(this,r)];return r[0]}},i.contains=x,i.countBy=function(n,r,e){var u={},r=c(r,e);
return t(n,function(n,t,e){t=r(n,t,e),ir.call(u,t)?u[t]++:u[t]=1}),u},i.debounce=function(n,r,t){function e(){o=V,t||(i=n.apply(a,u))}var u,i,a,o;return function(){var c=t&&!o;return u=arguments,a=this,clearTimeout(o),o=setTimeout(e,r),c&&(i=n.apply(a,u)),i}},i.defaults=g,i.defer=function(n){var t=or.call(arguments,1);return setTimeout(function(){n.apply(r,t)},1)},i.delay=function(n,t){var e=or.call(arguments,2);return setTimeout(function(){n.apply(r,e)},t)},i.difference=function(n){for(var r=-1,t=n.length,e=er.apply(K,arguments),u=[];++r<t;){var i=n[r];
0>M(e,i,t)&&u.push(i)}return u},i.escape=function(n){return n==V?"":(n+"").replace(nr,l)},i.every=A,i.filter=O,i.find=E,i.first=B,i.flatten=F,i.forEach=t,i.functions=_,i.groupBy=function(n,r,e){var u={},r=c(r,e);return t(n,function(n,t,e){t=r(n,t,e),(ir.call(u,t)?u[t]:u[t]=[]).push(n)}),u},i.has=function(n,r){return n?ir.call(n,r):G},i.identity=C,i.indexOf=M,i.initial=function(n,r,t){return n?or.call(n,0,-(r==V||t?1:r)):[]},i.intersection=function(n){var r=arguments,e=r.length,u=[];return t(n,function(n){if(0>M(u,n)){for(var t=e;--t;)if(0>M(r[t],n))return;
u.push(n)}}),u},i.invert=m,i.invoke=function(n,r){var e=or.call(arguments,2),u=typeof r=="function",i=[];return t(n,function(n){i.push((u?r:n[r]).apply(n,e))}),i},i.isArray=Tr,i.isBoolean=function(n){return n===U||n===G||cr.call(n)==mr},i.isDate=function(n){return cr.call(n)==yr},i.isElement=function(n){return n?1===n.nodeType:G},i.isEmpty=function(n){if(!n)return U;if(Tr(n)||w(n))return!n.length;for(var r in n)if(ir.call(n,r))return G;return U},i.isEqual=y,i.isFinite=function(n){return sr(n)&&cr.call(n)==dr
},i.isFunction=d,i.isNaN=function(n){return cr.call(n)==dr&&n!=+n},i.isNull=function(n){return n===V},i.isNumber=function(n){return cr.call(n)==dr},i.isObject=b,i.isRegExp=function(n){return cr.call(n)==wr},i.isString=w,i.isUndefined=function(n){return n===r},i.keys=Nr,i.last=function(n,r,t){if(n){var e=n.length;return r==V||t?n[e-1]:or.call(n,-r||e)}},i.lastIndexOf=function(n,r,t){var e=n?n.length:0;for(typeof t=="number"&&(e=(0>t?hr(0,e+t):vr(t,e-1))+1);e--;)if(n[e]===r)return e;return-1},i.map=S,i.max=k,i.memoize=function(n,r){var t={};
return function(){var e=r?r.apply(this,arguments):arguments[0];return ir.call(t,e)?t[e]:t[e]=n.apply(this,arguments)}},i.min=function(n,r,e){var u=1/0,i=-1,a=n?n.length:0,o=u;if(r||!Tr(n))r=c(r,e),t(n,function(n,t,e){t=r(n,t,e),t<u&&(u=t,o=n)});else for(;++i<a;)n[i]<o&&(o=n[i]);return o},i.mixin=P,i.noConflict=function(){return n._=W,this},i.object=function(n,r){for(var t=-1,e=n?n.length:0,u={};++t<e;){var i=n[t];r?u[i]=r[t]:u[i[0]]=i[1]}return u},i.omit=function(n){var r=er.apply(K,arguments),t={};
return u(n,function(n,e){0>M(r,e,1)&&(t[e]=n)}),t},i.once=function(n){var r,t=G;return function(){return t?r:(t=U,r=n.apply(this,arguments),n=V,r)}},i.pairs=function(n){var r=[];return e(n,function(n,t){r.push([t,n])}),r},i.pick=function(n){for(var r=0,t=er.apply(K,arguments),e=t.length,u={};++r<e;){var i=t[r];i in n&&(u[i]=n[i])}return u},i.pluck=T,i.random=function(n,r){return n==V&&r==V&&(r=1),n=+n||0,r==V&&(r=n,n=0),n+ur(gr()*((+r||0)-n+1))},i.range=function(n,r,t){n=+n||0,t=+t||1,r==V&&(r=n,n=0);
for(var e=-1,r=hr(0,tr((r-n)/t)),u=Array(r);++e<r;)u[e]=n,n+=t;return u},i.reduce=N,i.reduceRight=q,i.reject=function(n,r,t){return r=c(r,t),O(n,function(n,t,e){return!r(n,t,e)})},i.rest=$,i.result=function(n,r){var t=n?n[r]:V;return d(t)?n[r]():t},i.shuffle=function(n){var r=-1,e=Array(n?n.length:0);return t(n,function(n){var t=ur(gr()*(++r+1));e[r]=e[t],e[t]=n}),e},i.size=function(n){var r=n?n.length:0;return typeof r=="number"?r:Nr(n).length},i.some=R,i.sortBy=function(n,r,e){var u=[],r=c(r,e);
for(t(n,function(n,t,e){u.push({a:r(n,t,e),b:t,c:n})}),n=u.length,u.sort(a);n--;)u[n]=u[n].c;return u},i.sortedIndex=I,i.tap=function(n,r){return r(n),n},i.template=function(n,r,t){n||(n="");var t=g({},t,i.templateSettings),e=0,u="__p += '",a=t.variable;n.replace(RegExp((t.escape||Z).source+"|"+(t.interpolate||Z).source+"|"+(t.evaluate||Z).source+"|$","g"),function(r,t,i,a,o){u+=n.slice(e,o).replace(rr,f),u+=t?"'+_['escape']("+t+")+'":a?"';"+a+";__p+='":i?"'+((__t=("+i+"))==null?'':__t)+'":"",e=o+r.length
}),u+="';",a||(a="obj",u="with("+a+"||{}){"+u+"}"),u="function("+a+"){var __t,__p='',__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}"+u+"return __p}";try{var o=Function("_","return "+u)(i)}catch(c){throw c.source=u,c}return r?o(r):(o.source=u,o)},i.throttle=function(n,r){function t(){o=new Date,a=V,u=n.apply(i,e)}var e,u,i,a,o=0;return function(){var c=new Date,f=r-(c-o);return e=arguments,i=this,0<f?a||(a=setTimeout(t,f)):(clearTimeout(a),o=c,u=n.apply(i,e)),u}},i.times=function(n,r,t){for(var n=+n||0,e=-1,u=Array(n);++e<n;)u[e]=r.call(t,e);
return u},i.toArray=function(n){return n&&typeof n.length=="number"?typeof n=="string"?n.split(""):or.call(n):j(n)},i.unescape=function(n){return n==V?"":(n+"").replace(X,p)},i.union=function(){return D(er.apply(K,arguments))},i.uniq=D,i.uniqueId=function(n){var r=L++;return n?n+r:r},i.values=j,i.where=function(n,r){var t=Nr(r);return O(n,function(n){for(var e=t.length;e--;){var u=n[t[e]]===r[t[e]];if(!u)break}return!!u})},i.without=function(n){for(var r=-1,t=n.length,e=[];++r<t;){var u=n[r];0>M(arguments,u,1)&&e.push(u)
}return e},i.wrap=function(n,r){return function(){var t=[n];return ar.apply(t,arguments),r.apply(this,t)}},i.zip=function(n){for(var r=-1,t=n?k(T(arguments,"length")):0,e=Array(t);++r<t;)e[r]=T(arguments,r);return e},i.all=A,i.any=R,i.collect=S,i.detect=E,i.drop=$,i.each=t,i.extend=h,i.foldl=N,i.foldr=q,i.head=B,i.include=x,i.inject=N,i.methods=_,i.select=O,i.tail=$,i.take=B,i.unique=D,P(i),i.prototype.chain=function(){return this.__chain__=U,this},i.prototype.value=function(){return this.__wrapped__
},t("pop push reverse shift sort splice unshift".split(" "),function(n){var r=K[n];i.prototype[n]=function(){var n=this.__wrapped__;return r.apply(n,arguments),xr&&0===n.length&&delete n[0],this.__chain__&&(n=new i(n),n.__chain__=U),n}}),t(["concat","join","slice"],function(n){var r=K[n];i.prototype[n]=function(){var n=r.apply(this.__wrapped__,arguments);return this.__chain__&&(n=new i(n),n.__chain__=U),n}}),H?typeof module=="object"&&module&&module.exports==H?(module.exports=i)._=i:H._=i:n._=i})(this);
;(function(n,t){function r(n){return n&&typeof n=="object"&&n.__wrapped__?n:this instanceof r?(this.__wrapped__=n,void 0):new r(n)}function e(n,t){var r=n.b,e=t.b,n=n.a,t=t.a;if(n!==t){if(n>t||typeof n=="undefined")return 1;if(n<t||typeof t=="undefined")return-1}return r<e?-1:1}function u(n,t,r){function e(){var u=arguments,i=t;return r.length&&(u=u.length?r.concat(c(u)):r),this instanceof e?(f.prototype=n.prototype,i=new f,f.prototype=null,u=n.apply(i,u),y(u)?u:i):n.apply(i,u)}return e}function i(n,t){return n?typeof n!="function"?function(t){return t[n]
}:typeof t!="undefined"?function(r,e,u){return n.call(t,r,e,u)}:n:z}function o(n){return"\\"+jt[n]}function a(n){return At[n]}function f(){}function c(n,t,r){t||(t=0),typeof r=="undefined"&&(r=n?n.length:0);for(var e=-1,r=r-t||0,u=Array(0>r?0:r);++e<r;)u[e]=n[t+e];return u}function l(n){return Et[n]}function s(n){if(!n)return n;for(var t=1,r=arguments.length;t<r;t++){var e=arguments[t];if(e)for(var u in e)n[u]=e[u]}return n}function p(n){var t=[];return xt(n,function(n,r){t.push(r)}),t}function h(n){if(!n)return n;
for(var t=1,r=arguments.length;t<r;t++){var e=arguments[t];if(e)for(var u in e)null==n[u]&&(n[u]=e[u])}return n}function v(n){var t=[];return wt(n,function(n,r){m(n)&&t.push(r)}),t.sort()}function g(n){var t={};return xt(n,function(n,r){t[n]=r}),t}function _(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;var u=et.call(n),i=et.call(t);if(u!=i)return!1;switch(u){case pt:case ht:return+n==+t;case vt:return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case _t:case mt:return n==t+""}if(i=u==st,!i){if(n.__wrapped__||t.__wrapped__)return _(n.__wrapped__||n,t.__wrapped__||t);
if(u!=gt)return!1;var u=n.constructor,o=t.constructor;if(u!=o&&(!m(u)||!(u instanceof u&&m(o)&&o instanceof o)))return!1}for(r||(r=[]),e||(e=[]),u=r.length;u--;)if(r[u]==n)return e[u]==t;var a=!0,f=0;if(r.push(n),e.push(t),i){if(f=n.length,a=f==t.length)for(;f--&&(a=_(n[f],t[f],r,e)););return a}return wt(n,function(n,u,i){return tt.call(i,u)?(f++,!(a=tt.call(t,u)&&_(n,t[u],r,e))&&H):void 0}),a&&wt(t,function(n,t,r){return tt.call(r,t)?!(a=-1<--f)&&H:void 0}),a}function m(n){return typeof n=="function"
}function y(n){return n?bt[typeof n]:!1}function d(n){return typeof n=="number"||et.call(n)==vt}function b(n){return typeof n=="string"||et.call(n)==mt}function j(n){var t=[];return xt(n,function(n){t.push(n)}),t}function w(n,t){var r=!1;return typeof(n?n.length:0)=="number"?r=-1<F(n,t):kt(n,function(n){return(r=n===t)&&H}),r}function x(n,t,r){var e=!0,t=i(t,r);if(Ot(n))for(var r=-1,u=n.length;++r<u&&(e=!!t(n[r],r,n)););else kt(n,function(n,r,u){return!(e=!!t(n,r,u))&&H});return e}function A(n,t,r){var e=[],t=i(t,r);
if(Ot(n))for(var r=-1,u=n.length;++r<u;){var o=n[r];t(o,r,n)&&e.push(o)}else kt(n,function(n,r,u){t(n,r,u)&&e.push(n)});return e}function E(n,t,r){var e,t=i(t,r);return kt(n,function(n,r,u){return t(n,r,u)?(e=n,H):void 0}),e}function O(n,t,r){var e=-1,u=n?n.length:0,o=Array(typeof u=="number"?u:0),t=i(t,r);if(Ot(n))for(;++e<u;)o[e]=t(n[e],e,n);else kt(n,function(n,r,u){o[++e]=t(n,r,u)});return o}function S(n,t,r){var e=-1/0,u=-1,o=n?n.length:0,a=e;if(t||!Ot(n))t=i(t,r),kt(n,function(n,r,u){r=t(n,r,u),r>e&&(e=r,a=n)
});else for(;++u<o;)n[u]>a&&(a=n[u]);return a}function k(n,t){return O(n,t+"")}function N(n,t,r,e){var u=3>arguments.length;return t||(t=z),kt(n,function(n,i,o){r=u?(u=!1,n):t.call(e,r,n,i,o)}),r}function T(n,t,r,e){var u=n?n.length:0,i=3>arguments.length;if(typeof u!="number")var o=St(n),u=o.length;return t||(t=z),kt(n,function(a,f,c){f=o?o[--u]:--u,r=i?(i=!1,n[f]):t.call(e,r,n[f],f,c)}),r}function q(n,t,r){var e,t=i(t,r);if(Ot(n))for(var r=-1,u=n.length;++r<u&&!(e=t(n[r],r,n)););else kt(n,function(n,r,u){return(e=t(n,r,u))&&H
});return!!e}function R(n,t,r){if(n){var e=n.length;return null==t||r?n[0]:c(n,0,ct(ft(0,t),e))}}function B(n,t){for(var r=-1,e=n?n.length:0,u=[];++r<e;){var i=n[r];Ot(i)?rt.apply(u,t?i:B(i)):u.push(i)}return u}function F(n,t,r){var e=-1,u=n?n.length:0;if(typeof r=="number")e=(0>r?ft(0,u+r):r||0)-1;else if(r)return e=$(n,t),n[e]===t?e:-1;for(;++e<u;)if(n[e]===t)return e;return-1}function M(n,t,r){return c(n,null==t||r?1:ft(0,t))}function $(n,t,r,e){for(var u=0,o=n?n.length:u,r=r?i(r,e):z,t=r(t);u<o;)e=u+o>>>1,r(n[e])<t?u=e+1:o=e;
return u}function I(n,t,r,e){var u=-1,o=n?n.length:0,a=[],f=a;for(r&&(f=[],r=i(r,e));++u<o;){var e=n[u],c=r?r(e,u,n):e;(t?!u||f[f.length-1]!==c:0>F(f,c))&&(r&&f.push(c),a.push(e))}return a}function D(n,t){return yt||ut&&2<arguments.length?ut.call.apply(ut,arguments):u(n,t,c(arguments,2))}function z(n){return n}function C(n){kt(v(n),function(t){var e=r[t]=n[t];r.prototype[t]=function(){var n=[this.__wrapped__];return rt.apply(n,arguments),n=e.apply(r,n),this.__chain__&&(n=new r(n),n.__chain__=!0),n
}})}var P=typeof exports=="object"&&exports,U=typeof global=="object"&&global;U.global===U&&(n=U);var V=[],U=new function(){},G=0,H=U,J=n._,K=/&(?:amp|lt|gt|quot|#x27);/g,L=RegExp("^"+(U.valueOf+"").replace(/[.*+?^=!:${}()|[\]\/\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),Q=/($^)/,W=/[&<>"']/g,X=/['\n\r\t\u2028\u2029\\]/g,Y=Math.ceil,Z=V.concat,nt=Math.floor,tt=U.hasOwnProperty,rt=V.push,et=U.toString,ut=L.test(ut=c.bind)&&ut,it=L.test(it=Array.isArray)&&it,ot=n.isFinite,at=L.test(at=Object.keys)&&at,ft=Math.max,ct=Math.min,lt=Math.random,st="[object Array]",pt="[object Boolean]",ht="[object Date]",vt="[object Number]",gt="[object Object]",_t="[object RegExp]",mt="[object String]",U=!!n.attachEvent,U=ut&&!/\n|true/.test(ut+U),yt=ut&&!U,dt=(dt={0:1,length:1},V.splice.call(dt,0,1),dt[0]),bt={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},jt={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"};
r.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,variable:""},r.isArguments=function(n){return"[object Arguments]"==et.call(n)},r.isArguments(arguments)||(r.isArguments=function(n){return n?tt.call(n,"callee"):!1});var wt=function(n,t){var r;if(!n)return n;t||(t=z);for(r in n)if(t(n[r],r,n)===H)break;return n},xt=function(n,t){var r;if(!n)return n;t||(t=z);for(r in n)if(tt.call(n,r)&&t(n[r],r,n)===H)break;return n},At={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"},Et=g(At),Ot=it||function(n){return et.call(n)==st
};m(/x/)&&(m=function(n){return"[object Function]"==et.call(n)});var St=at?function(n){return y(n)?at(n):[]}:p,kt=function(n,t,r){if(!n)return n;var t=t&&typeof r=="undefined"?t:i(t,r),e=n.length,r=-1;if(typeof e=="number"){for(;++r<e;)if(t(n[r],r,n)===H)return n}else for(r in n)if(tt.call(n,r)&&t(n[r],r,n)===H)return n};r.VERSION="1.0.0-rc.1",r.after=function(n,t){return 1>n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},r.bind=D,r.bindAll=function(n){for(var t=arguments,r=1<t.length?0:(t=v(n),-1),e=t.length;++r<e;){var u=t[r];
n[u]=D(n[u],n)}return n},r.chain=function(n){return n=new r(n),n.__chain__=!0,n},r.clone=function(n){return n&&bt[typeof n]?Ot(n)?c(n):s({},n):n},r.compact=function(n){for(var t=-1,r=n?n.length:0,e=[];++t<r;){var u=n[t];u&&e.push(u)}return e},r.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length;r--;)t=[n[r].apply(this,t)];return t[0]}},r.contains=w,r.countBy=function(n,t,r){var e={},t=i(t,r);return kt(n,function(n,r,u){r=t(n,r,u),tt.call(e,r)?e[r]++:e[r]=1}),e},r.debounce=function(n,t,r){function e(){a=null,r||(i=n.apply(o,u))
}var u,i,o,a;return function(){var f=r&&!a;return u=arguments,o=this,clearTimeout(a),a=setTimeout(e,t),f&&(i=n.apply(o,u)),i}},r.defaults=h,r.defer=function(n){var r=c(arguments,1);return setTimeout(function(){n.apply(t,r)},1)},r.delay=function(n,r){var e=c(arguments,2);return setTimeout(function(){n.apply(t,e)},r)},r.difference=function(n){for(var t=-1,r=n.length,e=Z.apply(V,arguments),u=[];++t<r;){var i=n[t];0>F(e,i,r)&&u.push(i)}return u},r.escape=function(n){return null==n?"":(n+"").replace(W,a)
},r.every=x,r.filter=A,r.find=E,r.first=R,r.flatten=B,r.forEach=kt,r.functions=v,r.groupBy=function(n,t,r){var e={},t=i(t,r);return kt(n,function(n,r,u){r=t(n,r,u),(tt.call(e,r)?e[r]:e[r]=[]).push(n)}),e},r.has=function(n,t){return n?tt.call(n,t):!1},r.identity=z,r.indexOf=F,r.initial=function(n,t,r){if(!n)return[];var e=n.length;return c(n,0,ct(ft(0,e-(null==t||r?1:t||0)),e))},r.intersection=function(n){var t=arguments,r=t.length,e=[];return kt(n,function(n){if(0>F(e,n)){for(var u=r;--u;)if(0>F(t[u],n))return;
e.push(n)}}),e},r.invert=g,r.invoke=function(n,t){var r=c(arguments,2),e=typeof t=="function",u=[];return kt(n,function(n){u.push((e?t:n[t]).apply(n,r))}),u},r.isArray=Ot,r.isBoolean=function(n){return!0===n||!1===n||et.call(n)==pt},r.isDate=function(n){return et.call(n)==ht},r.isElement=function(n){return n?1===n.nodeType:!1},r.isEmpty=function(n){if(!n)return!0;if(Ot(n)||b(n))return!n.length;for(var t in n)if(tt.call(n,t))return!1;return!0},r.isEqual=_,r.isFinite=function(n){return ot(n)&&et.call(n)==vt
},r.isFunction=m,r.isNaN=function(n){return d(n)&&n!=+n},r.isNull=function(n){return null===n},r.isNumber=d,r.isObject=y,r.isRegExp=function(n){return et.call(n)==_t},r.isString=b,r.isUndefined=function(n){return typeof n=="undefined"},r.keys=St,r.last=function(n,t,r){if(n){var e=n.length;return null==t||r?n[e-1]:c(n,ft(0,e-t))}},r.lastIndexOf=function(n,t,r){var e=n?n.length:0;for(typeof r=="number"&&(e=(0>r?ft(0,e+r):ct(r,e-1))+1);e--;)if(n[e]===t)return e;return-1},r.map=O,r.max=S,r.memoize=function(n,t){var r={};
return function(){var e=t?t.apply(this,arguments):arguments[0];return tt.call(r,e)?r[e]:r[e]=n.apply(this,arguments)}},r.min=function(n,t,r){var e=1/0,u=-1,o=n?n.length:0,a=e;if(t||!Ot(n))t=i(t,r),kt(n,function(n,r,u){r=t(n,r,u),r<e&&(e=r,a=n)});else for(;++u<o;)n[u]<a&&(a=n[u]);return a},r.mixin=C,r.noConflict=function(){return n._=J,this},r.object=function(n,t){for(var r=-1,e=n?n.length:0,u={};++r<e;){var i=n[r];t?u[i]=t[r]:u[i[0]]=i[1]}return u},r.omit=function(n){var t=Z.apply(V,arguments),r={};
return wt(n,function(n,e){0>F(t,e,1)&&(r[e]=n)}),r},r.once=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},r.pairs=function(n){var t=[];return xt(n,function(n,r){t.push([r,n])}),t},r.pick=function(n){for(var t=0,r=Z.apply(V,arguments),e=r.length,u={};++t<e;){var i=r[t];i in n&&(u[i]=n[i])}return u},r.pluck=k,r.random=function(n,t){return null==n&&null==t&&(t=1),n=+n||0,null==t&&(t=n,n=0),n+nt(lt()*((+t||0)-n+1))},r.range=function(n,t,r){n=+n||0,r=+r||1,null==t&&(t=n,n=0);
for(var e=-1,t=ft(0,Y((t-n)/r)),u=Array(t);++e<t;)u[e]=n,n+=r;return u},r.reduce=N,r.reduceRight=T,r.reject=function(n,t,r){return t=i(t,r),A(n,function(n,r,e){return!t(n,r,e)})},r.rest=M,r.result=function(n,t){var r=n?n[t]:null;return m(r)?n[t]():r},r.shuffle=function(n){var t=-1,r=Array(n?n.length:0);return kt(n,function(n){var e=nt(lt()*(++t+1));r[t]=r[e],r[e]=n}),r},r.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:St(n).length},r.some=q,r.sortBy=function(n,t,r){var u=[],t=i(t,r);
for(kt(n,function(n,r,e){u.push({a:t(n,r,e),b:r,c:n})}),n=u.length,u.sort(e);n--;)u[n]=u[n].c;return u},r.sortedIndex=$,r.tap=function(n,t){return t(n),n},r.template=function(n,t,e){n||(n="");var e=h({},e,r.templateSettings),u=0,i="__p+='",a=e.variable;n.replace(RegExp((e.escape||Q).source+"|"+(e.interpolate||Q).source+"|"+(e.evaluate||Q).source+"|$","g"),function(t,r,e,a,f){i+=n.slice(u,f).replace(X,o),i+=r?"'+_['escape']("+r+")+'":a?"';"+a+";__p+='":e?"'+((__t=("+e+"))==null?'':__t)+'":"",u=f+t.length
}),i+="';\n",a||(a="obj",i="with("+a+"||{}){"+i+"}"),i="function("+a+"){var __t,__p='',__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}"+i+"return __p}";try{var f=Function("_","return "+i)(r)}catch(c){throw c.source=i,c}return t?f(t):(f.source=i,f)},r.throttle=function(n,t){function r(){a=new Date,o=null,u=n.apply(i,e)}var e,u,i,o,a=0;return function(){var f=new Date,c=t-(f-a);return e=arguments,i=this,0<c?o||(o=setTimeout(r,c)):(clearTimeout(o),o=null,a=f,u=n.apply(i,e)),u}
},r.times=function(n,t,r){for(var n=+n||0,e=-1,u=Array(n);++e<n;)u[e]=t.call(r,e);return u},r.toArray=function(n){return typeof(n?n.length:0)=="number"?c(n):j(n)},r.unescape=function(n){return null==n?"":(n+"").replace(K,l)},r.union=function(){return I(Z.apply(V,arguments))},r.uniq=I,r.uniqueId=function(n){var t=G++;return n?n+t:t},r.values=j,r.where=function(n,t){var r=St(t);return A(n,function(n){for(var e=r.length;e--;){var u=n[r[e]]===t[r[e]];if(!u)break}return!!u})},r.without=function(n){for(var t=-1,r=n.length,e=[];++t<r;){var u=n[t];
0>F(arguments,u,1)&&e.push(u)}return e},r.wrap=function(n,t){return function(){var r=[n];return rt.apply(r,arguments),t.apply(this,r)}},r.zip=function(n){for(var t=-1,r=n?S(k(arguments,"length")):0,e=Array(r);++t<r;)e[t]=k(arguments,t);return e},r.all=x,r.any=q,r.collect=O,r.detect=E,r.drop=M,r.each=kt,r.extend=s,r.foldl=N,r.foldr=T,r.head=R,r.include=w,r.inject=N,r.methods=v,r.select=A,r.tail=M,r.take=R,r.unique=I,C(r),r.prototype.chain=function(){return this.__chain__=!0,this},r.prototype.value=function(){return this.__wrapped__
},kt("pop push reverse shift sort splice unshift".split(" "),function(n){var t=V[n];r.prototype[n]=function(){var n=this.__wrapped__;return t.apply(n,arguments),dt&&0===n.length&&delete n[0],this}}),kt(["concat","join","slice"],function(n){var t=V[n];r.prototype[n]=function(){var n=t.apply(this.__wrapped__,arguments);return this.__chain__&&(n=new r(n),n.__chain__=!0),n}}),P?typeof module=="object"&&module&&module.exports==P?(module.exports=r)._=r:P._=r:n._=r})(this);
{
"name": "lodash",
"version": "0.10.0",
"version": "1.0.0-rc.1",
"description": "A utility library delivering consistency, customization, performance, and extras.",

@@ -5,0 +5,0 @@ "homepage": "http://lodash.com",

@@ -1,2 +0,2 @@

# Lo-Dash v0.10.0
# Lo-Dash <sup>v1.0.0-rc.1</sup>

@@ -7,8 +7,18 @@ A utility library delivering consistency, [customization](http://lodash.com/custom-builds), [performance](http://lodash.com/benchmarks), & [extras](http://lodash.com/#features).

* [Development build](https://raw.github.com/lodash/lodash/0.10.0/lodash.js)
* [Production build](https://raw.github.com/lodash/lodash/0.10.0/lodash.min.js)
* [Underscore build](https://raw.github.com/lodash/lodash/0.10.0/lodash.underscore.min.js) tailored for projects already using Underscore
* CDN copies of ≤ v0.10.0’s [Production](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/0.10.0/lodash.min.js), [Underscore](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/0.10.0/lodash.underscore.min.js), and [Development](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/0.10.0/lodash.js) builds are available on [cdnjs](http://cdnjs.com/) thanks to [CloudFlare](http://www.cloudflare.com/)
* For optimal file size, [create a custom build](http://lodash.com/custom-builds) with only the features you need
* Lo-Dash builds:<br>
[Development](https://raw.github.com/lodash/lodash/1.0.0-rc.1/lodash.js) and
[Production](https://raw.github.com/lodash/lodash/1.0.0-rc.1/lodash.min.js)
* Underscore builds:<br>
[Development](https://raw.github.com/lodash/lodash/1.0.0-rc.1/lodash.underscore.js) and
[Production](https://raw.github.com/lodash/lodash/1.0.0-rc.1/lodash.underscore.min.js)
* CDN copies of ≤ v1.0.0-rc.1’s builds are available on [cdnjs](http://cdnjs.com/) thanks to [CloudFlare](http://www.cloudflare.com/):<br>
[Lo-Dash development](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.1/lodash.js),
[Lo-Dash production](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.1/lodash.min.js),
[Underscore development](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.js), and
[Underscore production](http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.0.0-rc.1/lodash.underscore.min.js)
* For optimal file size, [create a custom build](http://lodash.com/custom-builds) with only the features you need
## Dive in

@@ -36,2 +46,3 @@

* AMD loader support ([RequireJS](http://requirejs.org/), [curl.js](https://github.com/cujojs/curl), etc.)
* [_.bindKey](http://lodash.com/docs#bindKey) for binding [*“lazy”* defined](http://michaux.ca/articles/lazy-function-definition-pattern) methods
* [_.clone](http://lodash.com/docs#clone) supports *“deep”* cloning

@@ -43,7 +54,6 @@ * [_.contains](http://lodash.com/docs#contains) accepts a `fromIndex` argument

* [_.isPlainObject](http://lodash.com/docs#isPlainObject) checks if values are created by the `Object` constructor
* [_.bindKey](http://lodash.com/docs#bindKey) for binding [*“lazy”* defined](http://michaux.ca/articles/lazy-function-definition-pattern) methods
* [_.merge](http://lodash.com/docs#merge) for a *“deep”* [_.extend](http://lodash.com/docs#extend)
* [_.partial](http://lodash.com/docs#partial) for partial application without `this` binding
* [_.pick](http://lodash.com/docs#pick) and [_.omit](http://lodash.com/docs#omit) accepts `callback` and `thisArg` arguments
* [_.template](http://lodash.com/docs#template) supports [ES6 delimiters](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-7.8.6) and utilizes [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier debugging
* [_.template](http://lodash.com/docs#template) supports [ES6 template delimiters](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-7.8.6) and utilizes [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier debugging
* [_.contains](http://lodash.com/docs#contains), [_.size](http://lodash.com/docs#size), [_.toArray](http://lodash.com/docs#toArray),

@@ -54,3 +64,3 @@ [and more…](http://lodash.com/docs "_.countBy, _.every, _.filter, _.find, _.forEach, _.groupBy, _.invoke, _.map, _.max, _.min, _.pluck, _.reduce, _.reduceRight, _.reject, _.shuffle, _.some, _.sortBy, _.where") accept strings

Lo-Dash has been tested in at least Chrome 5~23, Firefox 1~16, IE 6-10, Opera 9.25-12, Safari 3-6, Node.js 0.4.8-0.8.14, Narwhal 0.3.2, RingoJS 0.8, and Rhino 1.7RC5.
Lo-Dash has been tested in at least Chrome 5~23, Firefox 1~16, IE 6-10, Opera 9.25-12, Safari 3-6, Node.js 0.4.8-0.8.15, Narwhal 0.3.2, RingoJS 0.8, and Rhino 1.7RC5.

@@ -84,5 +94,8 @@ ## Installation and usage

var _ = require('lodash');
// or as a drop-in replacement for Underscore
var _ = require('lodash/lodash.underscore');
```
**Note:** If Lo-Dash is installed globally, [run `npm link lodash`](http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/) in your project’s root directory before requiring it.
**Note:** If Lo-Dash is installed globally, run [`npm link lodash`](http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/) in your project’s root directory before requiring it.

@@ -116,30 +129,30 @@ In [RingoJS v0.7.0-](http://ringojs.org/):

* Allow iteration of objects with a `length` property [[#799](https://github.com/documentcloud/underscore/pull/799), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L590-L596)]
* Fix cross-browser object iteration bugs [[#60](https://github.com/documentcloud/underscore/issues/60), [#376](https://github.com/documentcloud/underscore/issues/376), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L603-L627)]
* Methods should work on pages with incorrectly shimmed native methods [[#7](https://github.com/documentcloud/underscore/issues/7), [#742](https://github.com/documentcloud/underscore/issues/742), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L140-L146)]
* `_.isEmpty` should support jQuery/MooTools DOM query collections [[#690](https://github.com/documentcloud/underscore/pull/690), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L792-L797)]
* `_.isObject` should avoid V8 bug [#2291](http://code.google.com/p/8/issues/detail?id=2291) [[#605](https://github.com/documentcloud/underscore/issues/605), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L873-L885)]
* `_.keys` should work with `arguments` objects cross-browser [[#396](https://github.com/documentcloud/underscore/issues/396), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L966-L968)]
* `_.range` should coerce arguments to numbers [[#634](https://github.com/documentcloud/underscore/issues/634), [#683](https://github.com/documentcloud/underscore/issues/683), [test](https://github.com/lodash/lodash/blob/0.10.0/test/test.js#L1367-L1370)]
* Allow iteration of objects with a `length` property [[#799](https://github.com/documentcloud/underscore/pull/799), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L605-L611)]
* Fix cross-browser object iteration bugs [[#60](https://github.com/documentcloud/underscore/issues/60), [#376](https://github.com/documentcloud/underscore/issues/376), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L618-L642)]
* Methods should work on pages with incorrectly shimmed native methods [[#7](https://github.com/documentcloud/underscore/issues/7), [#742](https://github.com/documentcloud/underscore/issues/742), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L140-L146)]
* `_.isEmpty` should support jQuery/MooTools DOM query collections [[#690](https://github.com/documentcloud/underscore/pull/690), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L807-L812)]
* `_.isObject` should avoid V8 bug [#2291](http://code.google.com/p/8/issues/detail?id=2291) [[#605](https://github.com/documentcloud/underscore/issues/605), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L888-L900)]
* `_.keys` should work with `arguments` objects cross-browser [[#396](https://github.com/documentcloud/underscore/issues/396), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L981-L983)]
* `_.range` should coerce arguments to numbers [[#634](https://github.com/documentcloud/underscore/issues/634), [#683](https://github.com/documentcloud/underscore/issues/683), [test](https://github.com/lodash/lodash/blob/1.0.0-rc.1/test/test.js#L1382-L1385)]
## Release Notes
### <sup>v0.10.0</sup>
### <sup>v1.0.0-rc.1</sup>
#### Compatibility Warnings ####
* Aligned `_.defaults` and `_.extend` with ES6 [Object.assign](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-15.2.3.15)
* Renamed `_.lateBind` to `_.bindKey`
* Made `_(…)` chain automatically without needing to call `_#chain`
* Made `_.isEqual` equate `arguments` objects to similar `Object` objects
* Made `_.clone` copy the enumerable properties of `arguments` objects and objects<br>
created by constructors other than `Object` are cloned to plain `Object` objects
#### Changes ####
* Added the build commands used to custom build copyright/license headers
* Added `_.assign`
* Ensured the `underscore` build of `_.find` returns the first, not last, matched value
* Ensured `_defaults`, `_.extends`, and `_.merge` works with `_.reduce`
* Made Lo-Dash’s `npm` package installation work with more system configurations
* Made `_.extend` an alias of `_.assign`
* Optimized `_.contains`, `_.defaults`, `_.extend`, and `_.filter`
* Restricted `_.where` to iterate only own properties of the `source` object
* Updated `backbone` build Lo-Dash method dependencies
* Ensure Lo-Dash runs in the JS engine embedded in Adobe products
* Ensured `_.reduce` and `_.reduceRight` pass the correct number of `callback` arguments
* Ensured `_.throttle` nulls the `timeoutId`
* Made deep `_.clone` more closely follow the structured clone algorithm and copy array properties assigned by `RegExp#exec`
* Optimized compiled templates in Firefox
* Optimized `_.forEach`, `_.forOwn`, `_.isNumber`, and `_.isString`
* Simplified `iteratorTemplate`

@@ -146,0 +159,0 @@ The full changelog is available [here](https://github.com/lodash/lodash/wiki/Changelog).

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc