Escape a few more characters for in _.escapeRegExp for better narwhal/ringo/rhino support.

This commit is contained in:
John-David Dalton
2014-03-03 09:18:49 -08:00
parent e22b2f00dc
commit 5695e0e6b6
7 changed files with 11 additions and 11 deletions

View File

@@ -69,7 +69,7 @@
* See this [article on RegExp characters](http://www.regular-expressions.info/characters.html#special)
* for more details.
*/
var reRegExpChars =/[.*+?^${()|[\\]/g;
var reRegExpChars = /[.*+?^${}()|[\]\\]/g;
/** Used to detect functions containing a `this` reference */
var reThis = /\bthis\b/;
@@ -6863,7 +6863,7 @@
/**
* Escapes the RegExp special characters "\", "^", "$", ".", "|", "?", "*",
* "+", "(", ")", "[", and "{" in `string`.
* "+", "(", ")", "[", "]", "{" and "}" in `string`.
*
* @static
* @memberOf _

View File

@@ -63,6 +63,6 @@ n.replace(f,function(t,r,e,u,i,f){return e||(e=u),c+=n.slice(l,f).replace(V,s),r
r=r.slice(0,null==i?o:i)}}else n.indexOf(u,o)!=o&&(u=r.lastIndexOf(u),-1<u&&(r=r.slice(0,u)));return r+e},u.unescape=function(n){return null==n?"":(n=Or(n),0>n.indexOf(";")?n:n.replace(T,d))},u.uniqueId=function(n){var t=++S;return Or(null==n?"":n)+t},u.all=Bt,u.any=Jt,u.detect=Ut,u.findWhere=Ut,u.foldl=Yt,u.foldr=Gt,u.include=Wt,u.inject=Yt,vr(function(){var n={};return ht(u,function(t,r){u.prototype[r]||(n[r]=t)}),n}(),false),u.first=Rt,u.last=function(n,t,r){var e=n?n.length:0;if(typeof t!="number"&&null!=t){var o=e,a=0;
for(t=u.createCallback(t,r,3);o--&&t(n[o],o,n);)a++}else if(a=t,null==a||r)return n?n[e-1]:_;return a=e-a,Lt(n,0<a?a:0)},u.sample=function(n,t,r){return n&&typeof n.length!="number"?n=fr(n):se.unindexedChars&&lr(n)&&(n=n.split("")),null==t||r?n?n[_t(0,n.length-1)]:_:(n=Ht(n),n.length=re(te(0,t),n.length),n)},u.take=Rt,u.head=Rt,ht(u,function(n,t){var r="sample"!==t;u.prototype[t]||(u.prototype[t]=function(t,e){var u=this.__chain__,a=n(this.__wrapped__,t,e);return u||null!=t&&(!e||r&&typeof t=="function")?new o(a,u):a
})}),u.VERSION=E,u.prototype.chain=function(){return this.__chain__=true,this},u.prototype.toString=function(){return Or(this.__wrapped__)},u.prototype.value=Dt,u.prototype.valueOf=Dt,st(["join","pop","shift"],function(n){var t=Ar[n];u.prototype[n]=function(){var n=this.__chain__,r=t.apply(this.__wrapped__,arguments);return n?new o(r,n):r}}),st(["push","reverse","sort","unshift"],function(n){var t=Ar[n];u.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),st(["concat","splice"],function(n){var t=Ar[n];
u.prototype[n]=function(){return new o(t.apply(this.__wrapped__,arguments),this.__chain__)}}),se.spliceObjects||st(["pop","shift","splice"],function(n){var t=Ar[n],r="splice"==n;u.prototype[n]=function(){var n=this.__chain__,e=this.__wrapped__,u=t.apply(e,arguments);return 0===e.length&&delete e[0],n||r?new o(u,n):u}}),u}var _,w=1,x=2,C=4,j=8,k=16,O=32,E="2.4.1",A="__lodash@"+E+"__",S=0,I=/\b__p\+='';/g,R=/\b(__p\+=)''\+/g,N=/(__e\(.*?\)|\b__t\))\+'';/g,T=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,P=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,$=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,D=/\w*$/,W=/^\s*function[ \n\r\t]+\w/,B=/^0[xX]/,z=/[\xC0-\xFF]/g,U=/($^)/,K=/[.*+?^${()|[\\]/g,M=/\bthis\b/,V=/['\n\r\t\u2028\u2029\\]/g,X=/[a-z0-9]+/g,Y=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",G="Array Boolean Date Error Function Math Number Object RegExp Set String _ clearTimeout document isFinite isNaN parseInt setTimeout TypeError window WinRTError".split(" "),H="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),J="[object Arguments]",Q="[object Array]",Z="[object Boolean]",nt="[object Date]",tt="[object Error]",rt="[object Function]",et="[object Number]",ut="[object Object]",ot="[object RegExp]",at="[object String]",it={};
u.prototype[n]=function(){return new o(t.apply(this.__wrapped__,arguments),this.__chain__)}}),se.spliceObjects||st(["pop","shift","splice"],function(n){var t=Ar[n],r="splice"==n;u.prototype[n]=function(){var n=this.__chain__,e=this.__wrapped__,u=t.apply(e,arguments);return 0===e.length&&delete e[0],n||r?new o(u,n):u}}),u}var _,w=1,x=2,C=4,j=8,k=16,O=32,E="2.4.1",A="__lodash@"+E+"__",S=0,I=/\b__p\+='';/g,R=/\b(__p\+=)''\+/g,N=/(__e\(.*?\)|\b__t\))\+'';/g,T=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,P=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,$=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,D=/\w*$/,W=/^\s*function[ \n\r\t]+\w/,B=/^0[xX]/,z=/[\xC0-\xFF]/g,U=/($^)/,K=/[.*+?^${}()|[\]\\]/g,M=/\bthis\b/,V=/['\n\r\t\u2028\u2029\\]/g,X=/[a-z0-9]+/g,Y=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",G="Array Boolean Date Error Function Math Number Object RegExp Set String _ clearTimeout document isFinite isNaN parseInt setTimeout TypeError window WinRTError".split(" "),H="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),J="[object Arguments]",Q="[object Array]",Z="[object Boolean]",nt="[object Date]",tt="[object Error]",rt="[object Function]",et="[object Number]",ut="[object Object]",ot="[object RegExp]",at="[object String]",it={};
it[rt]=false,it[J]=it[Q]=it[Z]=it[nt]=it[et]=it[ut]=it[ot]=it[at]=true;var lt={leading:false,maxWait:0,trailing:false},ft={configurable:false,enumerable:false,value:null,writable:false},ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},st={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},pt={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"AE",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss","\xd7":"","\xf7":""},gt={"function":true,object:true},ht={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},vt=gt[typeof window]&&window||this,yt=gt[typeof exports]&&exports&&!exports.nodeType&&exports,gt=gt[typeof module]&&module&&!module.nodeType&&module,mt=yt&&gt&&typeof global=="object"&&global;
!mt||mt.global!==mt&&mt.window!==mt&&mt.self!==mt||(vt=mt);var mt=gt&&gt.exports===yt&&yt,dt=b();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(vt._=dt, define(function(){return dt})):yt&&gt?mt?(gt.exports=dt)._=dt:yt._=dt:vt._=dt}).call(this);

4
dist/lodash.js vendored
View File

@@ -69,7 +69,7 @@
* See this [article on RegExp characters](http://www.regular-expressions.info/characters.html#special)
* for more details.
*/
var reRegExpChars =/[.*+?^${()|[\\]/g;
var reRegExpChars = /[.*+?^${}()|[\]\\]/g;
/** Used to detect functions containing a `this` reference */
var reThis = /\bthis\b/;
@@ -6585,7 +6585,7 @@
/**
* Escapes the RegExp special characters "\", "^", "$", ".", "|", "?", "*",
* "+", "(", ")", "[", and "{" in `string`.
* "+", "(", ")", "[", "]", "{" and "}" in `string`.
*
* @static
* @memberOf _

2
dist/lodash.min.js vendored
View File

@@ -59,6 +59,6 @@ n.replace(f,function(t,r,e,i,f,l){return e||(e=i),c+=n.slice(a,l).replace(M,p),r
r=r.slice(0,null==a?o:a)}}else n.indexOf(u,o)!=o&&(u=r.lastIndexOf(u),-1<u&&(r=r.slice(0,u)));return r+e},l.unescape=function(n){return null==n?"":(n=kr(n),0>n.indexOf(";")?n:n.replace(S,m))},l.uniqueId=function(n){var t=++E;return kr(null==n?"":n)+t},l.all=Bt,l.any=Gt,l.detect=zt,l.findWhere=zt,l.foldl=Vt,l.foldr=Xt,l.include=Wt,l.inject=Vt,hr(function(){var n={};return gt(l,function(t,r){l.prototype[r]||(n[r]=t)}),n}(),false),l.first=It,l.last=function(n,t,r){var e=n?n.length:0;if(typeof t!="number"&&null!=t){var u=e,o=0;
for(t=l.createCallback(t,r,3);u--&&t(n[u],u,n);)o++}else if(o=t,null==o||r)return n?n[e-1]:b;return o=e-o,St(n,0<o?o:0)},l.sample=function(n,t,r){return n&&typeof n.length!="number"&&(n=ar(n)),null==t||r?n?n[bt(0,n.length-1)]:b:(n=Yt(n),n.length=Qr(Jr(0,t),n.length),n)},l.take=It,l.head=It,gt(l,function(n,t){var r="sample"!==t;l.prototype[t]||(l.prototype[t]=function(t,e){var u=this.__chain__,o=n(this.__wrapped__,t,e);return u||null!=t&&(!e||r&&typeof t=="function")?new v(o,u):o})}),l.VERSION=O,l.prototype.chain=function(){return this.__chain__=true,this
},l.prototype.toString=function(){return kr(this.__wrapped__)},l.prototype.value=Lt,l.prototype.valueOf=Lt,ct(["join","pop","shift"],function(n){var t=Or[n];l.prototype[n]=function(){var n=this.__chain__,r=t.apply(this.__wrapped__,arguments);return n?new v(r,n):r}}),ct(["push","reverse","sort","unshift"],function(n){var t=Or[n];l.prototype[n]=function(){return t.apply(this.__wrapped__,arguments),this}}),ct(["concat","splice"],function(n){var t=Or[n];l.prototype[n]=function(){return new v(t.apply(this.__wrapped__,arguments),this.__chain__)
}}),l}var b,_=1,w=2,x=4,j=8,k=16,C=32,O="2.4.1",A="__lodash@"+O+"__",E=0,I=/\b__p\+='';/g,R=/\b(__p\+=)''\+/g,N=/(__e\(.*?\)|\b__t\))\+'';/g,S=/&(?:amp|lt|gt|quot|#39);/g,T=/[&<>"']/g,F=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,D=/<%=([\s\S]+?)%>/g,L=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,W=/\w*$/,B=/^\s*function[ \n\r\t]+\w/,q=/^0[xX]/,z=/[\xC0-\xFF]/g,U=/($^)/,P=/[.*+?^${()|[\\]/g,K=/\bthis\b/,M=/['\n\r\t\u2028\u2029\\]/g,V=/[a-z0-9]+/g,X=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",Y="Array Boolean Date Function Math Number Object RegExp Set String _ clearTimeout document isFinite isNaN parseInt setTimeout TypeError window WinRTError".split(" "),G="[object Arguments]",H="[object Array]",J="[object Boolean]",Q="[object Date]",Z="[object Function]",nt="[object Number]",tt="[object Object]",rt="[object RegExp]",et="[object String]",ut={};
}}),l}var b,_=1,w=2,x=4,j=8,k=16,C=32,O="2.4.1",A="__lodash@"+O+"__",E=0,I=/\b__p\+='';/g,R=/\b(__p\+=)''\+/g,N=/(__e\(.*?\)|\b__t\))\+'';/g,S=/&(?:amp|lt|gt|quot|#39);/g,T=/[&<>"']/g,F=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,D=/<%=([\s\S]+?)%>/g,L=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,W=/\w*$/,B=/^\s*function[ \n\r\t]+\w/,q=/^0[xX]/,z=/[\xC0-\xFF]/g,U=/($^)/,P=/[.*+?^${}()|[\]\\]/g,K=/\bthis\b/,M=/['\n\r\t\u2028\u2029\\]/g,V=/[a-z0-9]+/g,X=" \t\x0B\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",Y="Array Boolean Date Function Math Number Object RegExp Set String _ clearTimeout document isFinite isNaN parseInt setTimeout TypeError window WinRTError".split(" "),G="[object Arguments]",H="[object Array]",J="[object Boolean]",Q="[object Date]",Z="[object Function]",nt="[object Number]",tt="[object Object]",rt="[object RegExp]",et="[object String]",ut={};
ut[Z]=false,ut[G]=ut[H]=ut[J]=ut[Q]=ut[nt]=ut[tt]=ut[rt]=ut[et]=true;var ot={leading:false,maxWait:0,trailing:false},it={configurable:false,enumerable:false,value:null,writable:false},at={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ft={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},lt={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"AE",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss","\xd7":"","\xf7":""},ct={"function":true,object:true},pt={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},st=ct[typeof window]&&window||this,ht=ct[typeof exports]&&exports&&!exports.nodeType&&exports,ct=ct[typeof module]&&module&&!module.nodeType&&module,gt=ht&&ct&&typeof global=="object"&&global;
!gt||gt.global!==gt&&gt.window!==gt&&gt.self!==gt||(st=gt);var gt=ct&&ct.exports===ht&&ht,vt=d();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(st._=vt, define(function(){return vt})):ht&&ct?gt?(ct.exports=vt)._=vt:ht._=vt:st._=vt}).call(this);

View File

@@ -49,7 +49,7 @@
* See this [article on RegExp characters](http://www.regular-expressions.info/characters.html#special)
* for more details.
*/
var reRegExpChars =/[.*+?^${()|[\\]/g;
var reRegExpChars = /[.*+?^${}()|[\]\\]/g;
/** Used to match unescaped characters in compiled string literals */
var reUnescapedString = /['\n\r\t\u2028\u2029\\]/g;
@@ -4432,7 +4432,7 @@
/**
* Escapes the RegExp special characters "\", "^", "$", ".", "|", "?", "*",
* "+", "(", ")", "[", and "{" in `string`.
* "+", "(", ")", "[", "]", "{" and "}" in `string`.
*
* @static
* @memberOf _

View File

@@ -19,7 +19,7 @@ if(typeof i=="number")for(u&&i&&(t=n[++o]);++o<i;)t=r(t,n[o],o,n);else g(n,funct
return function(){if(o=arguments,a=ut(),c=this,p=h&&(l||!v),false===g)var t=v&&!l;else{i||v||(s=a);var y=g-(a-s),m=0>=y||y>g;m?(i&&(i=clearTimeout(i)),s=a,f=n.apply(c,o)):i||(i=setTimeout(e,y))}return m&&l?l=clearTimeout(l):l||r===g||(l=setTimeout(u,r)),t&&(m=true,f=n.apply(c,o)),!m||l||i||(o=c=null),f}}function P(n,r,t){if(!n)return n;var e=arguments,u=0,o=e.length,i=typeof t;for("number"!=i&&"string"!=i||!e[3]||e[3][t]!==r||(o=2);++u<o;)if(r=e[u])for(var f in r)n[f]=r[f];return n}function U(n,r,t){if(!n)return n;
var e=arguments,u=0,o=e.length,i=typeof t;for("number"!=i&&"string"!=i||!e[3]||e[3][t]!==r||(o=2);++u<o;)if(r=e[u])for(var f in r)"undefined"==typeof n[f]&&(n[f]=r[f]);return n}function V(n){var t=[];return r(n,function(n,r){G(n)&&t.push(r)}),t.sort()}function G(n){return typeof n=="function"}function H(n){var r=typeof n;return n&&("function"==r||"object"==r)||false}function J(n){var r=typeof n;return"number"==r||n&&"object"==r&&qr.call(n)==vr||false}function K(n){return typeof n=="string"||n&&typeof n=="object"&&qr.call(n)==_r||false
}function L(n){for(var r=-1,t=et(n),e=t.length,u=Array(e);++r<e;)u[r]=n[t[r]];return u}function Q(n,r,t){var e=typeof n;return"function"==e||null==n?(typeof r=="undefined"||!("prototype"in n))&&n||l(n,r,t):"object"!=e?nr(n):Y(n)}function X(n){return n}function Y(n){n||(n={});var r=et(n);return function(t){for(var e=r.length,u=true;e--&&(u=r[e],u=Ir.call(t,u)&&t[u]===n[u]););return u}}function Z(n){for(var r=-1,t=V(n),e=t.length;++r<e;){var u=t[r];f.prototype[u]=function(){var r=f[u]=n[u];return function(){var n=[this.__wrapped__];
return Mr.apply(n,arguments),n=r.apply(f,n),this.__chain__?new a(n,true):n}}()}}function nr(n){return function(r){return r[n]}}var rr,tr=1,er=16,ur="__lodash@2.4.1__breaker__",or=0,ir=/&(?:amp|lt|gt|quot|#x27);/g,fr=/[&<>"']/g,ar=/($^)/,cr=/[.*+?^${()|[\\]/g,lr=/['\n\r\t\u2028\u2029\\]/g,pr="[object Arguments]",sr="[object Array]",gr="[object Boolean]",hr="[object Date]",vr="[object Number]",yr="[object Object]",mr="[object RegExp]",_r="[object String]",br={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"},dr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'"},wr={"function":true,object:true},jr={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},xr=wr[typeof window]&&window||this,Ar=wr[typeof exports]&&exports&&!exports.nodeType&&exports,Tr=wr[typeof module]&&module&&!module.nodeType&&module,Er=Ar&&Tr&&typeof global=="object"&&global;
return Mr.apply(n,arguments),n=r.apply(f,n),this.__chain__?new a(n,true):n}}()}}function nr(n){return function(r){return r[n]}}var rr,tr=1,er=16,ur="__lodash@2.4.1__breaker__",or=0,ir=/&(?:amp|lt|gt|quot|#x27);/g,fr=/[&<>"']/g,ar=/($^)/,cr=/[.*+?^${}()|[\]\\]/g,lr=/['\n\r\t\u2028\u2029\\]/g,pr="[object Arguments]",sr="[object Array]",gr="[object Boolean]",hr="[object Date]",vr="[object Number]",yr="[object Object]",mr="[object RegExp]",_r="[object String]",br={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"},dr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'"},wr={"function":true,object:true},jr={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},xr=wr[typeof window]&&window||this,Ar=wr[typeof exports]&&exports&&!exports.nodeType&&exports,Tr=wr[typeof module]&&module&&!module.nodeType&&module,Er=Ar&&Tr&&typeof global=="object"&&global;
!Er||Er.global!==Er&&Er.window!==Er&&Er.self!==Er||(xr=Er);var Or=Tr&&Tr.exports===Ar&&Ar,kr=Array.prototype,Sr=Object.prototype,Nr=xr._,qr=Sr.toString,Fr=RegExp("^"+(null==qr?"":(qr+"").replace(cr,"\\$&")).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Br=Math.ceil,Rr=Math.floor,$r=Function.prototype.toString,Ir=Sr.hasOwnProperty,Mr=kr.push,Dr=Sr.propertyIsEnumerable,Wr=kr.splice,zr=w(zr=Object.create)&&zr,Cr=w(Cr=Array.isArray)&&Cr,Pr=xr.isFinite,Ur=xr.isNaN,Vr=w(Vr=Object.keys)&&Vr,Gr=Math.max,Hr=Math.min,Jr=w(Jr=Date.now)&&Jr,Kr=Math.random;
a.prototype=f.prototype;var Lr={};!function(){var n={0:1,length:1};Lr.spliceObjects=(Wr.call(n,0,1),!n[0])}(1),f.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,variable:""},zr||(c=function(){function n(){}return function(r){if(H(r)){n.prototype=r;var t=new n;n.prototype=null}return t||xr.Object()}}()),j(arguments)||(j=function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&Ir.call(n,"callee")&&!Dr.call(n,"callee")||false});var Qr=_(function(n,r,t){Ir.call(n,t)?n[t]++:n[t]=1
}),Xr=_(function(n,r,t){Ir.call(n,t)?n[t].push(r):n[t]=[r]}),Yr=_(function(n,r,t){n[t]=r}),Zr=_(function(n,r,t){n[t?0:1].push(r)},true),nt=R,rt=q,tt=Cr||function(n){return n&&typeof n=="object"&&typeof n.length=="number"&&qr.call(n)==sr||false};G(/x/)&&(G=function(n){return typeof n=="function"&&"[object Function]"==qr.call(n)});var et=Vr?function(n){return H(n)?Vr(n):[]}:n,ut=Jr||function(){return(new Date).getTime()};f.after=function(n,r){if(!G(r))throw new TypeError;return function(){return 1>--n?r.apply(this,arguments):void 0