From b338e76649492be4c5cb399d81b1d266d8f6de08 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 23 Dec 2013 17:29:51 -0600 Subject: [PATCH] Cleanup lodash and lodash.underscore builds. --- dist/lodash.compat.js | 7 ++-- dist/lodash.js | 10 +++--- dist/lodash.min.js | 4 +-- dist/lodash.underscore.js | 10 +++--- dist/lodash.underscore.min.js | 68 +++++++++++++++++------------------ 5 files changed, 50 insertions(+), 49 deletions(-) diff --git a/dist/lodash.compat.js b/dist/lodash.compat.js index afefae7f8..dc6982256 100644 --- a/dist/lodash.compat.js +++ b/dist/lodash.compat.js @@ -4057,7 +4057,7 @@ * @type Function * @category Collections * @param {Array|Object|string} collection The collection to iterate over. - * @param {string} property The name of the property to pluck. + * @param {string} prop The name of the property to pluck. * @returns {Array} Returns a new array of property values. * @example * @@ -6250,8 +6250,9 @@ } /** - * Creates a "_.where" style function, which returns `true` for a given object - * if it has the equivalent property values of the `props` object, else `false`. + * Creates a "_.where" style function, which performs a deep comparison + * between a given object and the `props` object, returning `true` if the + * given object has equivalent property values, else `false`. * * @static * @memberOf _ diff --git a/dist/lodash.js b/dist/lodash.js index b480dae33..def25a200 100644 --- a/dist/lodash.js +++ b/dist/lodash.js @@ -3742,7 +3742,7 @@ * @type Function * @category Collections * @param {Array|Object|string} collection The collection to iterate over. - * @param {string} property The name of the property to pluck. + * @param {string} prop The name of the property to pluck. * @returns {Array} Returns a new array of property values. * @example * @@ -3787,12 +3787,11 @@ * // => { 'a': 3, 'b': 6, 'c': 9 } */ function reduce(collection, callback, accumulator, thisArg) { - if (!collection) return accumulator; var noaccum = arguments.length < 3; callback = lodash.createCallback(callback, thisArg, 4); var index = -1, - length = collection.length; + length = collection ? collection.length : 0; if (typeof length == 'number') { if (noaccum) { @@ -5932,8 +5931,9 @@ } /** - * Creates a "_.where" style function, which returns `true` for a given object - * if it has the equivalent property values of the `props` object, else `false`. + * Creates a "_.where" style function, which performs a deep comparison + * between a given object and the `props` object, returning `true` if the + * given object has equivalent property values, else `false`. * * @static * @memberOf _ diff --git a/dist/lodash.min.js b/dist/lodash.min.js index 5219a53b3..6833b0021 100644 --- a/dist/lodash.min.js +++ b/dist/lodash.min.js @@ -21,8 +21,8 @@ for(t=ut(t,e,3);u--&&(e=r[u],false!==t(n[e],e,n)););return n}function xt(n){var return u}function St(n,t,e){var r=n?n.length:0;if(e=typeof e=="number"?e:0,typeof r=="number"){if(e>=r)return false;if(typeof n=="string"||!Ue(n)&&It(n))return Te?Te.call(n,t,e):-1e?qe(0,r+e):e)||0,-1o&&(o=a)}}else t=null==t&&It(n)?r:d.createCallback(t,e,3),$t(n,function(n,e,r){e=t(n,e,r),e>u&&(u=e,o=n)});return o}function Wt(n,t,e,r){if(!n)return e;var u=3>arguments.length;t=d.createCallback(t,r,4);var o=-1,i=n.length;if(typeof i=="number")for(u&&(e=n[++o]);++oarguments.length;return t=d.createCallback(t,r,4),Ft(n,function(n,r,o){e=u?(u=false,n):t(e,n,r,o) -}),e}function Pt(n){var t=-1,e=n?n.length:0,r=ue(typeof e=="number"?e:0);return $t(n,function(n){var e=ct(0,++t);r[t]=r[e],r[e]=n}),r}function Kt(n,t,e){var r;t=d.createCallback(t,e,3),e=-1;var u=n?n.length:0;if(typeof u=="number")for(;++eo&&(o=a)}}else t=null==t&&It(n)?r:d.createCallback(t,e,3),$t(n,function(n,e,r){e=t(n,e,r),e>u&&(u=e,o=n)});return o}function Wt(n,t,e,r){var u=3>arguments.length;t=d.createCallback(t,r,4);var o=-1,i=n?n.length:0;if(typeof i=="number")for(u&&(e=n[++o]);++oarguments.length;return t=d.createCallback(t,r,4),Ft(n,function(n,r,o){e=u?(u=false,n):t(e,n,r,o)}),e +}function Pt(n){var t=-1,e=n?n.length:0,r=ue(typeof e=="number"?e:0);return $t(n,function(n){var e=ct(0,++t);r[t]=r[e],r[e]=n}),r}function Kt(n,t,e){var r;t=d.createCallback(t,e,3),e=-1;var u=n?n.length:0;if(typeof u=="number")for(;++er?qe(0,u+r):r||0}else if(r)return r=Ut(t,e),t[r]===e?r:-1;return n(t,e,r)}function Vt(n,t,e){if(typeof t!="number"&&null!=t){var r=0,u=-1,o=n?n.length:0;for(t=d.createCallback(t,e,3);++u>>1,e(n[r])e?0:e);++t=h;m?(i&&(i=je(i)),s=f,a=n.apply(l,o)):i||(i=Ne(r,h))}return m&&c?c=je(c):c||t===v||(c=Ne(u,t)),e&&(m=true,a=n.apply(l,o)),!m||c||i||(o=l=null),a}}function Yt(n){return n}function Zt(n){n||(n={});var t=Ge(n),e=t[0],r=n[e]; diff --git a/dist/lodash.underscore.js b/dist/lodash.underscore.js index 3d19d7112..f8b0af8e4 100644 --- a/dist/lodash.underscore.js +++ b/dist/lodash.underscore.js @@ -2496,7 +2496,7 @@ * @type Function * @category Collections * @param {Array|Object|string} collection The collection to iterate over. - * @param {string} property The name of the property to pluck. + * @param {string} prop The name of the property to pluck. * @returns {Array} Returns a new array of property values. * @example * @@ -2541,12 +2541,11 @@ * // => { 'a': 3, 'b': 6, 'c': 9 } */ function reduce(collection, callback, accumulator, thisArg) { - if (!collection) return accumulator; var noaccum = arguments.length < 3; callback = createCallback(callback, thisArg, 4); var index = -1, - length = collection.length; + length = collection ? collection.length : 0; if (typeof length == 'number') { if (noaccum) { @@ -4301,8 +4300,9 @@ } /** - * Creates a "_.where" style function, which returns `true` for a given object - * if it has the equivalent property values of the `props` object, else `false`. + * Creates a "_.where" style function, which performs a deep comparison + * between a given object and the `props` object, returning `true` if the + * given object has equivalent property values, else `false`. * * @static * @memberOf _ diff --git a/dist/lodash.underscore.min.js b/dist/lodash.underscore.min.js index f9dd4d27e..526aa4c44 100644 --- a/dist/lodash.underscore.min.js +++ b/dist/lodash.underscore.min.js @@ -3,37 +3,37 @@ * Lo-Dash 2.4.1 (Custom Build) lodash.com/license | Underscore.js 1.5.2 underscorejs.org/LICENSE * Build: `lodash underscore exports="amd,commonjs,global,node" -o ./dist/lodash.underscore.js` */ -;(function(){function n(n,r,t){t=(t||0)-1;for(var e=n?n.length:0;++tf||typeof i=="undefined")return 1;if(it?0:t);++ee(r,i)&&o.push(i)}return o}function p(n,r,t,e){e=(e||0)-1;for(var u=n?n.length:0,o=[];++eu(f,l))&&(t&&f.push(l),i.push(a))}return i}function h(n){return function(r,t,e){var u={};t=X(t,e,3),e=-1;var o=r?r.length:0;if(typeof o=="number")for(;++eu&&(u=t); -else r=X(r,t,3),$(n,function(n,t,o){t=r(n,t,o),t>e&&(e=t,u=n)});return u}function W(n,r,t,e){if(!n)return t;var u=3>arguments.length;r=X(r,e,4);var o=-1,i=n.length;if(typeof i=="number")for(u&&(t=n[++o]);++oarguments.length;return r=X(r,e,4),D(n,function(n,e,o){t=u?(u=false,n):r(t,n,e,o)}),t}function C(n){var r=-1,t=n?n.length:0,e=Array(typeof t=="number"?t:0);return $(n,function(n){var t;t=++r,t=0+Br(Gr()*(t-0+1)),e[r]=e[t],e[t]=n -}),e}function P(n,r,t){var e;r=X(r,t,3),t=-1;var u=n?n.length:0;if(typeof u=="number")for(;++te?Ur(0,u+e):e||0}else if(e)return e=J(r,t),r[e]===t?e:-1; -return n(r,t,e)}function H(n,r,t){if(typeof r!="number"&&null!=r){var u=0,o=-1,i=n?n.length:0;for(r=X(r,t,3);++o>>1,t(n[e])=y;m?(u&&(u=clearTimeout(u)),c=i,o=n.apply(f,e)):u||(u=setTimeout(v,y))}return m&&a?a=clearTimeout(a):a||r===p||(a=setTimeout(h,r)),t&&(m=true,o=n.apply(f,e)),!m||a||u||(e=f=null),o}}function X(n,r,t){var e=typeof n;return null==n||"function"==e?a(n,r,t):"object"!=e?rr(n):Z(n)}function Y(n){return n}function Z(n){n||(n={});var r=Lr(n);return function(t){for(var e=r.length,u=false;e--&&(u=t[r[e]]===n[r[e]]););return u}}function nr(n){$(T(n),function(r){var t=u[r]=n[r]; -u.prototype[r]=function(){var n=[this.__wrapped__];return Dr.apply(n,arguments),n=t.apply(u,n),this.__chain__?new o(n,true):n}})}function rr(n){return function(r){return r[n]}}var tr,er=0,ur={},or=+new Date+"",ir=/&(?:amp|lt|gt|quot|#x27);/g,fr=/[&<>"']/g,ar=/($^)/,lr=/['\n\r\t\u2028\u2029\\]/g,cr="[object Arguments]",pr="[object Array]",sr="[object Boolean]",gr="[object Date]",hr="[object Number]",vr="[object Object]",yr="[object RegExp]",mr="[object String]",_r={"&":"&","<":"<",">":">",'"':""","'":"'"},dr={"&":"&","<":"<",">":">",""":'"',"'":"'"},br={"boolean":false,"function":true,object:true,number:false,string:false,undefined:false},wr={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},jr=br[typeof window]&&window||this,xr=br[typeof exports]&&exports&&!exports.nodeType&&exports,Tr=br[typeof global]&&global; -!Tr||Tr.global!==Tr&&Tr.window!==Tr||(jr=Tr);var Ar=br[typeof module]&&module&&!module.nodeType&&module,Er=Ar&&Ar.exports===xr&&xr,Or=[],Sr=Object.prototype,kr=jr._,Nr=Sr.toString,qr=RegExp("^"+(Nr+"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fr=Math.ceil,Br=Math.floor,Rr=Function.prototype.toString,$r=Sr.hasOwnProperty,Dr=Or.push,Ir=Sr.propertyIsEnumerable,Mr=_(Mr=Object.create)&&Mr,Wr=_(Wr=Array.isArray)&&Wr,zr=jr.isFinite,Cr=jr.isNaN,Pr=_(Pr=Object.keys)&&Pr,Ur=Math.max,Vr=Math.min,Gr=Math.random; -o.prototype=u.prototype;var Hr={};!function(){var n={0:1,length:1};Hr.spliceObjects=(Or.splice.call(n,0,1),!n[0])}(1),u.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,variable:""},Mr||(f=function(){function n(){}return function(r){if(O(r)){n.prototype=r;var t=new n;n.prototype=null}return t||jr.Object()}}()),b(arguments)||(b=function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&$r.call(n,"callee")&&!Ir.call(n,"callee")||false});var Jr=Wr||function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&Nr.call(n)==pr||false -},Kr=function(n){var r=[];if(!n||!br[typeof n])return r;for(var t in n)$r.call(n,t)&&r.push(t);return r},Lr=Pr?function(n){return O(n)?Pr(n):[]}:Kr,Qr=function(n,r){if(!n||!br[typeof n])return n;for(var t in n)if(r(n[t],t,n)===ur)break;return n};E(/x/)&&(E=function(n){return typeof n=="function"&&"[object Function]"==Nr.call(n)});var Xr=h(function(n,r,t){$r.call(n,t)?n[t]++:n[t]=1}),Yr=h(function(n,r,t){($r.call(n,t)?n[t]:n[t]=[]).push(r)}),Zr=h(function(n,r,t){n[t]=r}),nt=I,rt=_(rt=Date.now)&&rt||function(){return(new Date).getTime() -};u.after=function(n,r){if(!E(r))throw new TypeError;return function(){return 1>--n?r.apply(this,arguments):void 0}},u.bind=L,u.bindAll=function(n){for(var r=1i(a,e)){for(r=t;--r;)if(0>i(n[r],e))continue n;a.push(e)}return a},u.invert=function(n,r){for(var t=-1,e=Lr(n),u=e.length,o={};++tr?0:r);++nt?Ur(0,e+t):Vr(t,e-1))+1);e--;)if(n[e]===r)return e;return-1},u.mixin=nr,u.noConflict=function(){return jr._=kr,this},u.random=function(n,r){return null==n&&null==r&&(r=1),n=+n||0,null==r?(r=n,n=0):r=+r||0,n+Br(Gr()*(r-n+1)) -},u.reduce=W,u.reduceRight=z,u.result=function(n,r){if(n){var t=n[r];return E(t)?n[r]():t}},u.size=function(n){var r=n?n.length:0;return typeof r=="number"?r:Lr(n).length},u.some=P,u.sortedIndex=J,u.template=function(n,r,e){var o=u,i=o.templateSettings;n=(n||"")+"",e=j({},e,i);var f=0,a="__p+='",i=e.variable;n.replace(RegExp((e.escape||ar).source+"|"+(e.interpolate||ar).source+"|"+(e.evaluate||ar).source+"|$","g"),function(r,e,u,o,i){return a+=n.slice(f,i).replace(lr,t),e&&(a+="'+_.escape("+e+")+'"),o&&(a+="';"+o+";\n__p+='"),u&&(a+="'+((__t=("+u+"))==null?'':__t)+'"),f=i+r.length,r -}),a+="';",i||(i="obj",a="with("+i+"||{}){"+a+"}"),a="function("+i+"){var __t,__p='',__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}"+a+"return __p}";try{var l=Function("_","return "+a)(o)}catch(c){throw c.source=a,c}return r?l(r):(l.source=a,l)},u.unescape=function(n){return null==n?"":(n+="",0>n.indexOf(";")?n:n.replace(ir,d))},u.uniqueId=function(n){var r=++er+"";return n?n+r:r},u.all=F,u.any=P,u.detect=R,u.findWhere=function(n,r){return U(n,r,true)},u.foldl=W,u.foldr=z,u.include=q,u.inject=W,u.first=V,u.last=function(n,r,t){var u=0,o=n?n.length:0; -if(typeof r!="number"&&null!=r){var i=o;for(r=X(r,t,3);i--&&r(n[i],i,n);)u++}else if(u=r,null==u||t)return n?n[o-1]:tr;return e(n,Ur(0,o-u))},u.sample=function(n,r,t){return n&&typeof n.length!="number"&&(n=N(n)),null==r||t?n?n[0+Br(Gr()*(n.length-1-0+1))]:tr:(n=C(n),n.length=Vr(Ur(0,r),n.length),n)},u.take=V,u.head=V,nr(w({},u)),u.VERSION="2.4.1",u.prototype.chain=function(){return this.__chain__=true,this},u.prototype.value=function(){return this.__wrapped__},$("pop push reverse shift sort splice unshift".split(" "),function(n){var r=Or[n]; -u.prototype[n]=function(){var n=this.__wrapped__;return r.apply(n,arguments),Hr.spliceObjects||0!==n.length||delete n[0],this}}),$(["concat","join","slice"],function(n){var r=Or[n];u.prototype[n]=function(){var n=r.apply(this.__wrapped__,arguments);return this.__chain__&&(n=new o(n),n.__chain__=true),n}}),typeof define=="function"&&typeof define.amd=="object"&&define.amd?(jr._=u, define(function(){return u})):xr&&Ar?Er?(Ar.exports=u)._=u:xr._=u:jr._=u}).call(this); \ No newline at end of file +;(function(){function n(n,t,r){r=(r||0)-1;for(var e=n?n.length:0;++rf||typeof i=="undefined")return 1;if(ir?0:r);++ee(t,i)&&o.push(i)}return o}function p(n,t,r,e){e=(e||0)-1;for(var u=n?n.length:0,o=[];++eu(f,l))&&(r&&f.push(l),i.push(a))}return i}function h(n){return function(t,r,e){var u={};r=X(r,e,3),e=-1;var o=t?t.length:0;if(typeof o=="number")for(;++eu&&(u=r); +else t=X(t,r,3),$(n,function(n,r,o){r=t(n,r,o),r>e&&(e=r,u=n)});return u}function W(n,t,r,e){var u=3>arguments.length;t=X(t,e,4);var o=-1,i=n?n.length:0;if(typeof i=="number")for(u&&(r=n[++o]);++oarguments.length;return t=X(t,e,4),D(n,function(n,e,o){r=u?(u=false,n):t(r,n,e,o)}),r}function C(n){var t=-1,r=n?n.length:0,e=Array(typeof r=="number"?r:0);return $(n,function(n){var r;r=++t,r=0+Bt(Gt()*(r-0+1)),e[t]=e[r],e[r]=n +}),e}function P(n,t,r){var e;t=X(t,r,3),r=-1;var u=n?n.length:0;if(typeof u=="number")for(;++re?Ut(0,u+e):e||0}else if(e)return e=J(t,r),t[e]===r?e:-1; +return n(t,r,e)}function H(n,t,r){if(typeof t!="number"&&null!=t){var u=0,o=-1,i=n?n.length:0;for(t=X(t,r,3);++o>>1,r(n[e])=y;m?(u&&(u=clearTimeout(u)),c=i,o=n.apply(f,e)):u||(u=setTimeout(v,y))}return m&&a?a=clearTimeout(a):a||t===p||(a=setTimeout(h,t)),r&&(m=true,o=n.apply(f,e)),!m||a||u||(e=f=null),o}}function X(n,t,r){var e=typeof n;return null==n||"function"==e?a(n,t,r):"object"!=e?tt(n):Z(n)}function Y(n){return n}function Z(n){n||(n={});var t=Lt(n);return function(r){for(var e=t.length,u=false;e--&&(u=r[t[e]]===n[t[e]]););return u}}function nt(n){$(T(n),function(t){var r=u[t]=n[t]; +u.prototype[t]=function(){var n=[this.__wrapped__];return Dt.apply(n,arguments),n=r.apply(u,n),this.__chain__?new o(n,true):n}})}function tt(n){return function(t){return t[n]}}var rt,et=0,ut={},ot=+new Date+"",it=/&(?:amp|lt|gt|quot|#x27);/g,ft=/[&<>"']/g,at=/($^)/,lt=/['\n\r\t\u2028\u2029\\]/g,ct="[object Arguments]",pt="[object Array]",st="[object Boolean]",gt="[object Date]",ht="[object Number]",vt="[object Object]",yt="[object RegExp]",mt="[object String]",_t={"&":"&","<":"<",">":">",'"':""","'":"'"},dt={"&":"&","<":"<",">":">",""":'"',"'":"'"},bt={"boolean":false,"function":true,object:true,number:false,string:false,undefined:false},wt={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},jt=bt[typeof window]&&window||this,xt=bt[typeof exports]&&exports&&!exports.nodeType&&exports,Tt=bt[typeof global]&&global; +!Tt||Tt.global!==Tt&&Tt.window!==Tt||(jt=Tt);var At=bt[typeof module]&&module&&!module.nodeType&&module,Et=At&&At.exports===xt&&xt,Ot=[],St=Object.prototype,kt=jt._,Nt=St.toString,qt=RegExp("^"+(Nt+"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=Math.ceil,Bt=Math.floor,Rt=Function.prototype.toString,$t=St.hasOwnProperty,Dt=Ot.push,It=St.propertyIsEnumerable,Mt=_(Mt=Object.create)&&Mt,Wt=_(Wt=Array.isArray)&&Wt,zt=jt.isFinite,Ct=jt.isNaN,Pt=_(Pt=Object.keys)&&Pt,Ut=Math.max,Vt=Math.min,Gt=Math.random; +o.prototype=u.prototype;var Ht={};!function(){var n={0:1,length:1};Ht.spliceObjects=(Ot.splice.call(n,0,1),!n[0])}(1),u.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,variable:""},Mt||(f=function(){function n(){}return function(t){if(O(t)){n.prototype=t;var r=new n;n.prototype=null}return r||jt.Object()}}()),b(arguments)||(b=function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&$t.call(n,"callee")&&!It.call(n,"callee")||false});var Jt=Wt||function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&Nt.call(n)==pt||false +},Kt=function(n){var t=[];if(!n||!bt[typeof n])return t;for(var r in n)$t.call(n,r)&&t.push(r);return t},Lt=Pt?function(n){return O(n)?Pt(n):[]}:Kt,Qt=function(n,t){if(!n||!bt[typeof n])return n;for(var r in n)if(t(n[r],r,n)===ut)break;return n};E(/x/)&&(E=function(n){return typeof n=="function"&&"[object Function]"==Nt.call(n)});var Xt=h(function(n,t,r){$t.call(n,r)?n[r]++:n[r]=1}),Yt=h(function(n,t,r){($t.call(n,r)?n[r]:n[r]=[]).push(t)}),Zt=h(function(n,t,r){n[r]=t}),nr=I,tr=_(tr=Date.now)&&tr||function(){return(new Date).getTime() +};u.after=function(n,t){if(!E(t))throw new TypeError;return function(){return 1>--n?t.apply(this,arguments):void 0}},u.bind=L,u.bindAll=function(n){for(var t=1i(a,e)){for(t=r;--t;)if(0>i(n[t],e))continue n;a.push(e)}return a},u.invert=function(n,t){for(var r=-1,e=Lt(n),u=e.length,o={};++rt?0:t);++nr?Ut(0,e+r):Vt(r,e-1))+1);e--;)if(n[e]===t)return e;return-1},u.mixin=nt,u.noConflict=function(){return jt._=kt,this},u.random=function(n,t){return null==n&&null==t&&(t=1),n=+n||0,null==t?(t=n,n=0):t=+t||0,n+Bt(Gt()*(t-n+1)) +},u.reduce=W,u.reduceRight=z,u.result=function(n,t){if(n){var r=n[t];return E(r)?n[t]():r}},u.size=function(n){var t=n?n.length:0;return typeof t=="number"?t:Lt(n).length},u.some=P,u.sortedIndex=J,u.template=function(n,t,e){var o=u,i=o.templateSettings;n=(n||"")+"",e=j({},e,i);var f=0,a="__p+='",i=e.variable;n.replace(RegExp((e.escape||at).source+"|"+(e.interpolate||at).source+"|"+(e.evaluate||at).source+"|$","g"),function(t,e,u,o,i){return a+=n.slice(f,i).replace(lt,r),e&&(a+="'+_.escape("+e+")+'"),o&&(a+="';"+o+";\n__p+='"),u&&(a+="'+((__t=("+u+"))==null?'':__t)+'"),f=i+t.length,t +}),a+="';",i||(i="obj",a="with("+i+"||{}){"+a+"}"),a="function("+i+"){var __t,__p='',__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}"+a+"return __p}";try{var l=Function("_","return "+a)(o)}catch(c){throw c.source=a,c}return t?l(t):(l.source=a,l)},u.unescape=function(n){return null==n?"":(n+="",0>n.indexOf(";")?n:n.replace(it,d))},u.uniqueId=function(n){var t=++et+"";return n?n+t:t},u.all=F,u.any=P,u.detect=R,u.findWhere=function(n,t){return U(n,t,true)},u.foldl=W,u.foldr=z,u.include=q,u.inject=W,u.first=V,u.last=function(n,t,r){var u=0,o=n?n.length:0; +if(typeof t!="number"&&null!=t){var i=o;for(t=X(t,r,3);i--&&t(n[i],i,n);)u++}else if(u=t,null==u||r)return n?n[o-1]:rt;return e(n,Ut(0,o-u))},u.sample=function(n,t,r){return n&&typeof n.length!="number"&&(n=N(n)),null==t||r?n?n[0+Bt(Gt()*(n.length-1-0+1))]:rt:(n=C(n),n.length=Vt(Ut(0,t),n.length),n)},u.take=V,u.head=V,nt(w({},u)),u.VERSION="2.4.1",u.prototype.chain=function(){return this.__chain__=true,this},u.prototype.value=function(){return this.__wrapped__},$("pop push reverse shift sort splice unshift".split(" "),function(n){var t=Ot[n]; +u.prototype[n]=function(){var n=this.__wrapped__;return t.apply(n,arguments),Ht.spliceObjects||0!==n.length||delete n[0],this}}),$(["concat","join","slice"],function(n){var t=Ot[n];u.prototype[n]=function(){var n=t.apply(this.__wrapped__,arguments);return this.__chain__&&(n=new o(n),n.__chain__=true),n}}),typeof define=="function"&&typeof define.amd=="object"&&define.amd?(jt._=u, define(function(){return u})):xt&&At?Et?(At.exports=u)._=u:xt._=u:jt._=u}).call(this); \ No newline at end of file