From 4660908636be65ac0591cb06bfd85cfdc99cbb1f Mon Sep 17 00:00:00 2001
From: haad <haad@headbanggames.com>
Date: Fri, 15 Apr 2016 11:39:46 +0200
Subject: [PATCH] Add browser build and examples

---
 dist/orbitdb.min.js       |    22 +
 examples/browser.html     |    48 +
 examples/browser.js       |    42 +
 examples/bundle.js        | 69416 ++++++++++++++++++++++++++++++++++++
 examples/index.html       |     8 +
 package.json              |    19 +-
 src/post/Post.js          |     1 +
 webpack.config.js         |    59 +
 webpack.example.config.js |    51 +
 9 files changed, 69663 insertions(+), 3 deletions(-)
 create mode 100644 dist/orbitdb.min.js
 create mode 100644 examples/browser.html
 create mode 100644 examples/browser.js
 create mode 100644 examples/bundle.js
 create mode 100644 examples/index.html
 create mode 100644 webpack.config.js
 create mode 100644 webpack.example.config.js

diff --git a/dist/orbitdb.min.js b/dist/orbitdb.min.js
new file mode 100644
index 0000000..1d6c2b4
--- /dev/null
+++ b/dist/orbitdb.min.js
@@ -0,0 +1,22 @@
+var OrbitDB=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(1),i=r(o),u=n(5),c=r(u),a=n(37),s=r(a),f=n(61),p=r(f),h=n(62),l=r(h),y=n(63).EventEmitter,d=n(64).create("orbit-db.Client"),v=n(91),g=n(150),S=function(){function e(t,n){(0,p["default"])(this,e),this._ipfs=t,this._pubsub=null,this.user=null,this.network=null,this.events=new y,this.options=n||{},this.db=new g(this._ipfs,this.options)}return(0,l["default"])(e,[{key:"channel",value:function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n=!0);var o={iterator:function(n){return r._iterator(e,t,n)},"delete":function(){return r.db.deleteChannel(e,t)},del:function(n){return r.db.del(e,t,n)},add:function(n){return r.db.add(e,t,n)},put:function(n,o){return r.db.put(e,t,n,o)},get:function(n){var o=r._iterator(e,t,{key:n}).collect();return o[0]?o[0]:null},close:function(){return r._pubsub.unsubscribe(e)}};return new s["default"](function(i,u){r.db.use(e,r.user).then(function(){r.db.events[e].on("write",r._onWrite.bind(r)),r.db.events[e].on("sync",r._onSync.bind(r)),r.db.events[e].on("load",r._onLoad.bind(r)),r.db.events[e].on("loaded",r._onLoaded.bind(r)),n&&r._pubsub.subscribe(e,t,r._onMessage.bind(r)),i(o)})["catch"](u)})}},{key:"disconnect",value:function(){this._pubsub.disconnect(),this._store={},this.user=null,this.network=null}},{key:"_onMessage",value:function(e,t){this.db.sync(e,t)}},{key:"_onWrite",value:function(e,t){this._pubsub.publish(e,t),this.events.emit("data",e,t)}},{key:"_onSync",value:function(e,t){this.events.emit("data",e,t)}},{key:"_onLoad",value:function(e,t){this.events.emit("load",e,t)}},{key:"_onLoaded",value:function(e,t){this.events.emit("loaded",e,t)}},{key:"_iterator",value:function(e,t,n){var r,o=this.db.query(e,t,n),u=0,a=(r={},(0,i["default"])(r,c["default"],function(){return this}),(0,i["default"])(r,"next",function(){var e={value:null,done:!0};return u<o.length&&(e={value:o[u],done:!1},u++),e}),(0,i["default"])(r,"collect",function(){return o}),r);return a}},{key:"_connect",value:function(e,t,n,r,o){var i=this;return new s["default"](function(u,c){void 0===o&&(o=!1),i._pubsub=new v(i._ipfs),i._pubsub.connect(e,t,n,r).then(function(){d.debug("Connected to Pubsub at '"+e+":"+t+"'"),i.user={username:n,id:n},i.network={host:e,port:t,name:"TODO: network name"},u()})["catch"](function(r){return d.warn("Couldn't connect to Pubsub:",r.message),o?(i.user={username:n,id:n},i.network={host:e,port:t,name:"TODO: network name"},void u()):(d.debug("'allowOffline' set to false, terminating"),i._pubsub.disconnect(),void c(r))})})}}]),e}(),m=function(){function e(){(0,p["default"])(this,e)}return(0,l["default"])(e,null,[{key:"connect",value:function(e,t,n,r,o,i){var u=function(o){return new s["default"](function(u,c){var a=new S(o,i);a._connect(e,t,n,r,i.allowOffline).then(function(){return u(a)})["catch"](c)})};if(i=i?i:{},!o)throw d.error("IPFS instance not provided"),new Error("IPFS instance not provided");return u(o)}}]),e}();e.exports=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),i=r(o);t["default"]=function(e,t,n){return t in e?(0,i["default"])(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports={"default":n(3),__esModule:!0}},function(e,t,n){var r=n(4);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){e.exports={"default":n(6),__esModule:!0}},function(e,t,n){n(7),n(30),e.exports=n(27)("iterator")},function(e,t,n){"use strict";var r=n(8)(!0);n(11)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(9),o=n(10);e.exports=function(e){return function(t,n){var i,u,c=String(o(t)),a=r(n),s=c.length;return 0>a||a>=s?e?"":void 0:(i=c.charCodeAt(a),55296>i||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?e?c.charAt(a):i:e?c.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){"use strict";var r=n(12),o=n(13),i=n(18),u=n(19),c=n(23),a=n(24),s=n(25),f=n(26),p=n(4).getProto,h=n(27)("iterator"),l=!([].keys&&"next"in[].keys()),y="@@iterator",d="keys",v="values",g=function(){return this};e.exports=function(e,t,n,S,m,w,_){s(n,t,S);var b,q,k=function(e){if(!l&&e in I)return I[e];switch(e){case d:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A=m==v,E=!1,I=e.prototype,L=I[h]||I[y]||m&&I[m],O=L||k(m);if(L){var C=p(O.call(new e));f(C,x,!0),!r&&c(I,y)&&u(C,h,g),A&&L.name!==v&&(E=!0,O=function(){return L.call(this)})}if(r&&!_||!l&&!E&&I[h]||u(I,h,O),a[t]=O,a[x]=g,m)if(b={values:A?O:k(v),keys:w?O:k(d),entries:A?k("entries"):O},_)for(q in b)q in I||i(I,q,b[q]);else o(o.P+o.F*(l||E),t,b);return b}},function(e,t){e.exports=!0},function(e,t,n){var r=n(14),o=n(15),i=n(16),u="prototype",c=function(e,t,n){var a,s,f,p=e&c.F,h=e&c.G,l=e&c.S,y=e&c.P,d=e&c.B,v=e&c.W,g=h?o:o[t]||(o[t]={}),S=h?r:l?r[t]:(r[t]||{})[u];h&&(n=t);for(a in n)s=!p&&S&&a in S,s&&a in g||(f=s?S[a]:n[a],g[a]=h&&"function"!=typeof S[a]?n[a]:d&&s?i(f,r):v&&S[a]==f?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[u]=e[u],t}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((g[u]||(g[u]={}))[a]=f))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(17);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports=n(19)},function(e,t,n){var r=n(4),o=n(20);e.exports=n(21)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=!n(22)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(4),o=n(20),i=n(26),u={};n(19)(u,n(27)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r.create(u,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(4).setDesc,o=n(23),i=n(27)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(28)("wks"),o=n(29),i=n(14).Symbol;e.exports=function(e){return r[e]||(r[e]=i&&i[e]||(i||o)("Symbol."+e))}},function(e,t,n){var r=n(14),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){n(31);var r=n(24);r.NodeList=r.HTMLCollection=r.Array},function(e,t,n){"use strict";var r=n(32),o=n(33),i=n(24),u=n(34);e.exports=n(11)(Array,"Array",function(e,t){this._t=u(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(35),o=n(10);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(36);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){e.exports={"default":n(38),__esModule:!0}},function(e,t,n){n(39),n(7),n(30),n(40),e.exports=n(15).Promise},function(e,t){},function(e,t,n){"use strict";var r,o=n(4),i=n(12),u=n(14),c=n(16),a=n(41),s=n(13),f=n(42),p=n(43),h=n(17),l=n(44),y=n(45),d=n(50).set,v=n(51),g=n(27)("species"),S=n(52),m=n(53),w="Promise",_=u.process,b="process"==a(_),q=u[w],k=function(e){var t=new q(function(){});return e&&(t.constructor=Object),q.resolve(t)===t},x=function(){function e(t){var n=new q(t);return d(n,e.prototype),n}var t=!1;try{if(t=q&&q.resolve&&k(),d(e,q),e.prototype=o.create(q.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(t=!1),t&&n(21)){var r=!1;q.resolve(o.setDesc({},"then",{get:function(){r=!0}})),t=r}}catch(i){t=!1}return t}(),A=function(e,t){return i&&e===q&&t===r?!0:v(e,t)},E=function(e){var t=p(e)[g];return void 0!=t?t:e},I=function(e){var t;return f(e)&&"function"==typeof(t=e.then)?t:!1},L=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=h(t),this.reject=h(n)},O=function(e){try{e()}catch(t){return{error:t}}},C=function(e,t){if(!e.n){e.n=!0;var n=e.c;m(function(){for(var r=e.v,o=1==e.s,i=0,c=function(t){var n,i,u=o?t.ok:t.fail,c=t.resolve,a=t.reject;try{u?(o||(e.h=!0),n=u===!0?r:u(r),n===t.promise?a(TypeError("Promise-chain cycle")):(i=I(n))?i.call(n,c,a):c(n)):a(r)}catch(s){a(s)}};n.length>i;)c(n[i++]);n.length=0,e.n=!1,t&&setTimeout(function(){var t,n,o=e.p;j(o)&&(b?_.emit("unhandledRejection",r,o):(t=u.onunhandledrejection)?t({promise:o,reason:r}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",r)),e.a=void 0},1)})}},j=function(e){var t,n=e._d,r=n.a||n.c,o=0;if(n.h)return!1;for(;r.length>o;)if(t=r[o++],t.fail||!j(t.promise))return!1;return!0},R=function(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,t.a=t.c.slice(),C(t,!0))},T=function(e){var t,n=this;if(!n.d){n.d=!0,n=n.r||n;try{if(n.p===e)throw TypeError("Promise can't be resolved itself");(t=I(e))?m(function(){var r={r:n,d:!1};try{t.call(e,c(T,r,1),c(R,r,1))}catch(o){R.call(r,o)}}):(n.v=e,n.s=1,C(n,!1))}catch(r){R.call({r:n,d:!1},r)}}};x||(q=function(e){h(e);var t=this._d={p:l(this,q,w),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{e(c(T,t,1),c(R,t,1))}catch(n){R.call(t,n)}},n(58)(q.prototype,{then:function(e,t){var n=new L(S(this,q)),r=n.promise,o=this._d;return n.ok="function"==typeof e?e:!0,n.fail="function"==typeof t&&t,o.c.push(n),o.a&&o.a.push(n),o.s&&C(o,!1),r},"catch":function(e){return this.then(void 0,e)}})),s(s.G+s.W+s.F*!x,{Promise:q}),n(26)(q,w),n(59)(w),r=n(15)[w],s(s.S+s.F*!x,w,{reject:function(e){var t=new L(this),n=t.reject;return n(e),t.promise}}),s(s.S+s.F*(!x||k(!0)),w,{resolve:function(e){if(e instanceof q&&A(e.constructor,this))return e;var t=new L(this),n=t.resolve;return n(e),t.promise}}),s(s.S+s.F*!(x&&n(60)(function(e){q.all(e)["catch"](function(){})})),w,{all:function(e){var t=E(this),n=new L(t),r=n.resolve,i=n.reject,u=[],c=O(function(){y(e,!1,u.push,u);var n=u.length,c=Array(n);n?o.each.call(u,function(e,o){var u=!1;t.resolve(e).then(function(e){u||(u=!0,c[o]=e,--n||r(c))},i)}):r(c)});return c&&i(c.error),n.promise},race:function(e){var t=E(this),n=new L(t),r=n.reject,o=O(function(){y(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},function(e,t,n){var r=n(36),o=n(27)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=(t=Object(e))[o])?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(42);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(n+": use the 'new' operator!");return e}},function(e,t,n){var r=n(16),o=n(46),i=n(47),u=n(43),c=n(48),a=n(49);e.exports=function(e,t,n,s){var f,p,h,l=a(e),y=r(n,s,t?2:1),d=0;if("function"!=typeof l)throw TypeError(e+" is not iterable!");if(i(l))for(f=c(e.length);f>d;d++)t?y(u(p=e[d])[0],p[1]):y(e[d]);else for(h=l.call(e);!(p=h.next()).done;)o(h,y,p.value,t)}},function(e,t,n){var r=n(43);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(i){var u=e["return"];throw void 0!==u&&r(u.call(e)),i}}},function(e,t,n){var r=n(24),o=n(27)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(9),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(41),o=n(27)("iterator"),i=n(24);e.exports=n(15).getIteratorMethod=function(e){return void 0!=e?e[o]||e["@@iterator"]||i[r(e)]:void 0}},function(e,t,n){var r=n(4).getDesc,o=n(42),i=n(43),u=function(e,t){if(i(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,o){try{o=n(16)(Function.call,r(Object.prototype,"__proto__").set,2),o(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return u(e,n),t?e.__proto__=n:o(e,n),e}}({},!1):void 0),check:u}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(43),o=n(17),i=n(27)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||void 0==(n=r(u)[i])?t:o(n)}},function(e,t,n){var r,o,i,u=n(14),c=n(54).set,a=u.MutationObserver||u.WebKitMutationObserver,s=u.process,f=u.Promise,p="process"==n(36)(s),h=function(){var e,t,n;for(p&&(e=s.domain)&&(s.domain=null,e.exit());r;)t=r.domain,n=r.fn,t&&t.enter(),n(),t&&t.exit(),r=r.next;o=void 0,e&&e.enter()};if(p)i=function(){s.nextTick(h)};else if(a){var l=1,y=document.createTextNode("");new a(h).observe(y,{characterData:!0}),i=function(){y.data=l=-l}}else i=f&&f.resolve?function(){f.resolve().then(h)}:function(){c.call(u,h)};e.exports=function(e){var t={fn:e,next:void 0,domain:p&&s.domain};o&&(o.next=t),r||(r=t,i()),o=t}},function(e,t,n){var r,o,i,u=n(16),c=n(55),a=n(56),s=n(57),f=n(14),p=f.process,h=f.setImmediate,l=f.clearImmediate,y=f.MessageChannel,d=0,v={},g="onreadystatechange",S=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},m=function(e){S.call(e.data)};h&&l||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++d]=function(){c("function"==typeof e?e:Function(e),t)},r(d),d},l=function(e){delete v[e]},"process"==n(36)(p)?r=function(e){p.nextTick(u(S,e,1))}:y?(o=new y,i=o.port2,o.port1.onmessage=m,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",m,!1)):r=g in s("script")?function(e){a.appendChild(s("script"))[g]=function(){a.removeChild(this),S.call(e)}}:function(e){setTimeout(u(S,e,1),0)}),e.exports={set:h,clear:l}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){e.exports=n(14).document&&document.documentElement},function(e,t,n){var r=n(42),o=n(14).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(18);e.exports=function(e,t){for(var n in t)r(e,n,t[n]);return e}},function(e,t,n){"use strict";var r=n(15),o=n(4),i=n(21),u=n(27)("species");e.exports=function(e){var t=r[e];i&&t&&!t[u]&&o.setDesc(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(27)("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){n=!0},i[r]=function(){return u},e(i)}catch(c){}return n}},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(2),i=r(o);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function o(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function u(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!o(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,o,c,a,s;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(n=this._events[e],u(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),n.apply(this,c)}else if(i(n))for(c=Array.prototype.slice.call(arguments,1),s=n.slice(),o=s.length,a=0;o>a;a++)s[a].apply(this,c);return!0},n.prototype.addListener=function(e,t){var o;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(o=u(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,o&&o>0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var o=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,u,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],u=n.length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(c=u;c-- >0;)if(n[c]===t||n[c].listener&&n[c].listener===t){o=c;break}if(0>o)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(67),i=r(o),u=n(79),c=r(u),a=n(86),s=r(a),f=n(87),p=r(f),h=n(90),l=!!t.version,y={DEBUG:"DEBUG",INFO:"INFO",WARN:"WARN",ERROR:"ERROR",NONE:"NONE"},d=y.DEBUG,v={Black:0,Red:1,Green:2,Yellow:3,Blue:4,Magenta:5,Cyan:6,Grey:7,White:9,Default:9};l||(v={Black:"Black",Red:"IndianRed",Green:"LimeGreen",Yellow:"Orange",Blue:"RoyalBlue",Magenta:"Orchid",Cyan:"SkyBlue",Grey:"DimGrey",White:"White",Default:"Black"});var g=[v.Cyan,v.Green,v.Yellow,v.Red,v.Default],S={useColors:!0,color:v.Default,showTimestamp:!0,showLevel:!0,filename:null,appendFile:!0},m=function(){function e(t,n){(0,s["default"])(this,e),this.category=t;var r={};if((0,c["default"])(r,S),(0,c["default"])(r,n),this.options=r,this.options.filename){var o=this.options.appendFile?"a":"w";this.fileWriter=h.createWriteStream(this.options.filename,{flags:o})}}return(0,p["default"])(e,[{key:"debug",value:function(e){this._write(y.DEBUG,e)}},{key:"log",value:function(e){this.debug(e)}},{key:"info",value:function(e){this._write(y.INFO,e)}},{key:"warn",value:function(e){this._write(y.WARN,e)}},{key:"error",value:function(e){this._write(y.ERROR,e)}},{key:"_write",value:function(e,t){if(this._shouldLog(e)){var n=this._format(e,t),r=this._createLogMessage(e,t),o=this._createLogMessage(e,t,n.timestamp,n.level,n.category,n.text);this.fileWriter&&this.fileWriter.write(r+"\n"),l?console.log(o):e===y.ERROR?this.options.showTimestamp&&this.options.showLevel?console.error(o,n.timestamp,n.level,n.category,n.text):this.options.showTimestamp&&!this.options.showLevel?console.error(o,n.timestamp,n.category,n.text):!this.options.showTimestamp&&this.options.showLevel?console.error(o,n.level,n.category,n.text):console.error(o,n.category,n.text):this.options.showTimestamp&&this.options.showLevel?console.log(o,n.timestamp,n.level,n.category,n.text):this.options.showTimestamp&&!this.options.showLevel?console.log(o,n.timestamp,n.category,n.text):!this.options.showTimestamp&&this.options.showLevel?console.log(o,n.level,n.category,n.text):console.log(o,n.category,n.text)}}},{key:"_format",value:function(e,t){var n="",r="",o="",u=": ";if(this.options.useColors){var c=(0,i["default"])(y).map(function(e){return y[e]}).indexOf(e),a=this.options.color;l?(this.options.showTimestamp&&(n="[3"+v.Grey+"m"),this.options.showLevel&&(r="[3"+g[c]+";22m"),o="[3"+a+";1m",u=": "):(this.options.showTimestamp&&(n="color:"+v.Grey),this.options.showLevel&&(r="color:"+g[c]),o="color:"+a+"; font-weight: bold")}return{timestamp:n,level:r,category:o,text:u}}},{key:"_createLogMessage",value:function(e,t,n,r,o,i){n=n||"",r=r||"",o=o||"",i=i||": ",l||(this.options.showTimestamp&&(n="%c"),this.options.showLevel&&(r="%c"),o="%c",i=": %c");var u="";return this.options.showTimestamp&&(u+=""+(new Date).toISOString()+" "),u=n+u,this.options.showLevel&&(u+=r+"["+e+"]"+(e===y.INFO||e===y.WARN?" ":"")+" "),u+=o+this.category,u+=i+t}},{key:"_shouldLog",value:function(e){var t=(0,i["default"])(y).map(function(e){return y[e]}),n=t.indexOf(e),r=t.indexOf(d);return n>=r}}]),e}();e.exports={Colors:v,LogLevel:y,setLogLevel:function(e){d=e},create:function(e,t){return new m(e,t)}}}).call(t,n(65))},function(e,t,n){t.nextTick=function(e){setTimeout(e,0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n(66)),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return o.exec(e).slice(1)};t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var u=i>=0?arguments[i]:e.cwd();if("string"!=typeof u)throw new TypeError("Arguments to path.resolve must be strings");u&&(t=u+"/"+t,o="/"===u.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+t||"."},t.normalize=function(e){var o=t.isAbsolute(e),i="/"===u(e,-1);return e=n(r(e.split("/"),function(e){return!!e}),!o).join("/"),e||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),u=Math.min(o.length,i.length),c=u,a=0;u>a;a++)if(o[a]!==i[a]){c=a;break}for(var s=[],a=c;a<o.length;a++)s.push("..");return s=s.concat(i.slice(c)),s.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},t.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){return i(e)[3]};var u="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return 0>t&&(t=e.length+t),e.substr(t,n)}}).call(t,n(65))},function(e,t,n){e.exports={"default":n(68),__esModule:!0}},function(e,t,n){n(69),e.exports=n(75).Object.keys},function(e,t,n){var r=n(70);n(72)("keys",function(e){return function(t){return e(r(t))}})},function(e,t,n){var r=n(71);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(73),o=n(75),i=n(78);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],u={};u[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(e,t,n){var r=n(74),o=n(75),i=n(76),u="prototype",c=function(e,t,n){var a,s,f,p=e&c.F,h=e&c.G,l=e&c.S,y=e&c.P,d=e&c.B,v=e&c.W,g=h?o:o[t]||(o[t]={}),S=h?r:l?r[t]:(r[t]||{})[u];h&&(n=t);for(a in n)s=!p&&S&&a in S,s&&a in g||(f=s?S[a]:n[a],g[a]=h&&"function"!=typeof S[a]?n[a]:d&&s?i(f,r):v&&S[a]==f?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[u]=e[u],t}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((g[u]||(g[u]={}))[a]=f))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(77);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){e.exports={"default":n(80),__esModule:!0}},function(e,t,n){n(81),e.exports=n(75).Object.assign},function(e,t,n){var r=n(73);r(r.S+r.F,"Object",{assign:n(82)})},function(e,t,n){var r=n(83),o=n(70),i=n(84);e.exports=n(78)(function(){var e=Object.assign,t={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=o})?function(e,t){for(var n=o(e),u=arguments,c=u.length,a=1,s=r.getKeys,f=r.getSymbols,p=r.isEnum;c>a;)for(var h,l=i(u[a++]),y=f?s(l).concat(f(l)):s(l),d=y.length,v=0;d>v;)p.call(l,h=y[v++])&&(n[h]=l[h]);return n}:Object.assign},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){var r=n(85);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(88),i=r(o);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={"default":n(89),__esModule:!0}},function(e,t,n){var r=n(83);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},function(e,t){"use strict";e.exports={createWriteStream:function(e,t){},writeFileSync:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(92),i=r(o),u=n(37),c=r(u),a=n(61),s=r(a),f=n(62),p=r(f),h=n(94),l=n(64).create("orbit-db.Pubsub"),y=function(){function e(t){(0,s["default"])(this,e),this.ipfs=t,this._socket=null,this._subscriptions={},this.onConnected=null,this.onConnectionError=null}return(0,p["default"])(e,[{key:"connect",value:function(e,t,n,r){var o=this;return new c["default"](function(n,r){o._socket||(o._socket=h.connect("http://"+e+":"+t,{forceNew:!0})),o._socket.on("connect",n),o._socket.on("connect_error",function(n){return r(new Error("Connection refused to Pubsub at '"+e+":"+t+"'"))}),o._socket.on("disconnect",function(n){return l.warn("Disconnected from Pubsub at 'http://"+e+":"+t+"'")}),o._socket.on("error",function(e){return l.error("Pubsub socket error:",e)}),o._socket.on("message",o._handleMessage.bind(o)),o._socket.on("subscribed",o._handleMessage.bind(o))})}},{key:"disconnect",value:function(){this._socket&&this._socket.disconnect()}},{key:"subscribe",value:function(e,t,n){this._subscriptions[e]||(this._subscriptions[e]={callback:n},this._socket.emit("subscribe",{channel:e}))}},{key:"unsubscribe",value:function(e){this._socket.emit("unsubscribe",{channel:e}),delete this._subscriptions[e]}},{key:"publish",value:function(e,t){this._socket.send((0,i["default"])({channel:e,message:t}))}},{key:"_handleMessage",value:function(e,t){this._subscriptions[e]&&this._subscriptions[e].callback&&this._subscriptions[e].callback(e,t)}}]),e}();e.exports=y;
+},function(e,t,n){e.exports={"default":n(93),__esModule:!0}},function(e,t,n){var r=n(15);e.exports=function(e){return(r.JSON&&r.JSON.stringify||JSON.stringify).apply(JSON,arguments)}},function(e,t,n){function r(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r=o(e),i=r.source,s=r.id,f=r.path,p=a[s]&&f in a[s].nsps,h=t.forceNew||t["force new connection"]||!1===t.multiplex||p;return h?(c("ignoring socket cache for %s",i),n=u(i,t)):(a[s]||(c("new io instance for %s",i),a[s]=u(i,t)),n=a[s]),n.socket(r.path)}var o=n(95),i=n(100),u=n(111),c=n(97)("socket.io-client");e.exports=t=r;var a=t.managers={};t.protocol=i.protocol,t.connect=r,t.Manager=n(111),t.Socket=n(142)},function(e,t,n){(function(t){function r(e,n){var r=e,n=n||t.location;null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"==e.charAt(0)&&(e="/"==e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(i("protocol-less url %s",e),e="undefined"!=typeof n?n.protocol+"//"+e:"https://"+e),i("parse %s",e),r=o(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var u=-1!==r.host.indexOf(":"),c=u?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+c+":"+r.port,r.href=r.protocol+"://"+c+(n&&n.port==r.port?"":":"+r.port),r}var o=n(96),i=n(97)("socket.io-client:url");e.exports=r}).call(t,function(){return this}())},function(e,t){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,o=e.indexOf("["),i=e.indexOf("]");-1!=o&&-1!=i&&(e=e.substring(0,o)+e.substring(o,i).replace(/:/g,";")+e.substring(i,e.length));for(var u=n.exec(e||""),c={},a=14;a--;)c[r[a]]=u[a]||"";return-1!=o&&-1!=i&&(c.source=t,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c}},function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function o(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var o=0,i=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r),e}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}}function c(){var e;try{e=t.storage.debug}catch(n){}return e}function a(){try{return window.localStorage}catch(e){}}t=e.exports=n(98),t.log=i,t.formatArgs=o,t.save=u,t.load=c,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:a(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(c())},function(e,t,n){function r(){return t.colors[f++%t.colors.length]}function o(e){function n(){}function o(){var e=o,n=+new Date,i=n-(s||n);e.diff=i,e.prev=s,e.curr=n,s=n,null==e.useColors&&(e.useColors=t.useColors()),null==e.color&&e.useColors&&(e.color=r());var u=Array.prototype.slice.call(arguments);u[0]=t.coerce(u[0]),"string"!=typeof u[0]&&(u=["%o"].concat(u));var c=0;u[0]=u[0].replace(/%([a-z%])/g,function(n,r){if("%%"===n)return n;c++;var o=t.formatters[r];if("function"==typeof o){var i=u[c];n=o.call(e,i),u.splice(c,1),c--}return n}),"function"==typeof t.formatArgs&&(u=t.formatArgs.apply(e,u));var a=o.log||t.log||console.log.bind(console);a.apply(e,u)}n.enabled=!1,o.enabled=!0;var i=t.enabled(e)?o:n;return i.namespace=e,i}function i(e){t.save(e);for(var n=(e||"").split(/[\s,]+/),r=n.length,o=0;r>o;o++)n[o]&&(e=n[o].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function u(){t.enable("")}function c(e){var n,r;for(n=0,r=t.skips.length;r>n;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;r>n;n++)if(t.names[n].test(e))return!0;return!1}function a(e){return e instanceof Error?e.stack||e.message:e}t=e.exports=o,t.coerce=a,t.disable=u,t.enable=i,t.enabled=c,t.humanize=n(99),t.names=[],t.skips=[],t.formatters={};var s,f=0},function(e,t){function n(e){if(e=""+e,!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*s;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*c;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function r(e){return e>=s?Math.round(e/s)+"d":e>=a?Math.round(e/a)+"h":e>=c?Math.round(e/c)+"m":e>=u?Math.round(e/u)+"s":e+"ms"}function o(e){return i(e,s,"day")||i(e,a,"hour")||i(e,c,"minute")||i(e,u,"second")||e+" ms"}function i(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var u=1e3,c=60*u,a=60*c,s=24*a,f=365.25*s;e.exports=function(e,t){return t=t||{},"string"==typeof e?n(e):t["long"]?o(e):r(e)}},function(e,t,n){function r(){}function o(e){var n="",r=!1;return n+=e.type,t.BINARY_EVENT!=e.type&&t.BINARY_ACK!=e.type||(n+=e.attachments,n+="-"),e.nsp&&"/"!=e.nsp&&(r=!0,n+=e.nsp),null!=e.id&&(r&&(n+=",",r=!1),n+=e.id),null!=e.data&&(r&&(n+=","),n+=p.stringify(e.data)),f("encoded %j as %s",e,n),n}function i(e,t){function n(e){var n=l.deconstructPacket(e),r=o(n.packet),i=n.buffers;i.unshift(r),t(i)}l.removeBlobs(e,n)}function u(){this.reconstructor=null}function c(e){var n={},r=0;if(n.type=Number(e.charAt(0)),null==t.types[n.type])return s();if(t.BINARY_EVENT==n.type||t.BINARY_ACK==n.type){for(var o="";"-"!=e.charAt(++r)&&(o+=e.charAt(r),r!=e.length););if(o!=Number(o)||"-"!=e.charAt(r))throw new Error("Illegal attachments");n.attachments=Number(o)}if("/"==e.charAt(r+1))for(n.nsp="";++r;){var i=e.charAt(r);if(","==i)break;if(n.nsp+=i,r==e.length)break}else n.nsp="/";var u=e.charAt(r+1);if(""!==u&&Number(u)==u){for(n.id="";++r;){var i=e.charAt(r);if(null==i||Number(i)!=i){--r;break}if(n.id+=e.charAt(r),r==e.length)break}n.id=Number(n.id)}if(e.charAt(++r))try{n.data=p.parse(e.substr(r))}catch(c){return s()}return f("decoded %s as %j",e,n),n}function a(e){this.reconPack=e,this.buffers=[]}function s(e){return{type:t.ERROR,data:"parser error"}}var f=n(101)("socket.io-parser"),p=n(104),h=(n(107),n(108)),l=n(109),y=n(110);t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=r,t.Decoder=u,r.prototype.encode=function(e,n){if(f("encoding packet %j",e),t.BINARY_EVENT==e.type||t.BINARY_ACK==e.type)i(e,n);else{var r=o(e);n([r])}},h(u.prototype),u.prototype.add=function(e){var n;if("string"==typeof e)n=c(e),t.BINARY_EVENT==n.type||t.BINARY_ACK==n.type?(this.reconstructor=new a(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!y(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,this.emit("decoded",n))}},u.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},a.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length==this.reconPack.attachments){var t=l.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},a.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function o(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var o=0,i=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r),e}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}}function c(){var e;try{e=t.storage.debug}catch(n){}return e}function a(){try{return window.localStorage}catch(e){}}t=e.exports=n(102),t.log=i,t.formatArgs=o,t.save=u,t.load=c,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:a(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(c())},function(e,t,n){function r(){return t.colors[f++%t.colors.length]}function o(e){function n(){}function o(){var e=o,n=+new Date,i=n-(s||n);e.diff=i,e.prev=s,e.curr=n,s=n,null==e.useColors&&(e.useColors=t.useColors()),null==e.color&&e.useColors&&(e.color=r());var u=Array.prototype.slice.call(arguments);u[0]=t.coerce(u[0]),"string"!=typeof u[0]&&(u=["%o"].concat(u));var c=0;u[0]=u[0].replace(/%([a-z%])/g,function(n,r){if("%%"===n)return n;c++;var o=t.formatters[r];if("function"==typeof o){var i=u[c];n=o.call(e,i),u.splice(c,1),c--}return n}),"function"==typeof t.formatArgs&&(u=t.formatArgs.apply(e,u));var a=o.log||t.log||console.log.bind(console);a.apply(e,u)}n.enabled=!1,o.enabled=!0;var i=t.enabled(e)?o:n;return i.namespace=e,i}function i(e){t.save(e);for(var n=(e||"").split(/[\s,]+/),r=n.length,o=0;r>o;o++)n[o]&&(e=n[o].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function u(){t.enable("")}function c(e){var n,r;for(n=0,r=t.skips.length;r>n;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;r>n;n++)if(t.names[n].test(e))return!0;return!1}function a(e){return e instanceof Error?e.stack||e.message:e}t=e.exports=o,t.coerce=a,t.disable=u,t.enable=i,t.enabled=c,t.humanize=n(103),t.names=[],t.skips=[],t.formatters={};var s,f=0},function(e,t){function n(e){if(e=""+e,!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*s;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*c;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function r(e){return e>=s?Math.round(e/s)+"d":e>=a?Math.round(e/a)+"h":e>=c?Math.round(e/c)+"m":e>=u?Math.round(e/u)+"s":e+"ms"}function o(e){return i(e,s,"day")||i(e,a,"hour")||i(e,c,"minute")||i(e,u,"second")||e+" ms"}function i(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var u=1e3,c=60*u,a=60*c,s=24*a,f=365.25*s;e.exports=function(e,t){return t=t||{},"string"==typeof e?n(e):t["long"]?o(e):r(e)}},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){function n(e){if(n[e]!==v)return n[e];var i;if("bug-string-char-index"==e)i="a"!="a"[0];else if("json"==e)i=n("json-stringify")&&n("json-parse");else{var u,c='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var s=t.stringify,f="function"==typeof s&&m;if(f){(u=function(){return 1}).toJSON=u;try{f="0"===s(0)&&"0"===s(new r)&&'""'==s(new o)&&s(S)===v&&s(v)===v&&s()===v&&"1"===s(u)&&"[1]"==s([u])&&"[null]"==s([v])&&"null"==s(null)&&"[null,null,null]"==s([v,S,null])&&s({a:[u,!0,!1,null,"\x00\b\n\f\r	"]})==c&&"1"===s(null,u)&&"[\n 1,\n 2\n]"==s([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==s(new a(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==s(new a(864e13))&&'"-000001-01-01T00:00:00.000Z"'==s(new a(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==s(new a(-1))}catch(p){f=!1}}i=f}if("json-parse"==e){var h=t.parse;if("function"==typeof h)try{if(0===h("0")&&!h(!1)){u=h(c);var l=5==u.a.length&&1===u.a[0];if(l){try{l=!h('"	"')}catch(p){}if(l)try{l=1!==h("01")}catch(p){}if(l)try{l=1!==h("1.")}catch(p){}}}}catch(p){l=!1}i=l}}return n[e]=!!i}e||(e=s.Object()),t||(t=s.Object());var r=e.Number||s.Number,o=e.String||s.String,u=e.Object||s.Object,a=e.Date||s.Date,f=e.SyntaxError||s.SyntaxError,p=e.TypeError||s.TypeError,h=e.Math||s.Math,l=e.JSON||s.JSON;"object"==typeof l&&l&&(t.stringify=l.stringify,t.parse=l.parse);var y,d,v,g=u.prototype,S=g.toString,m=new a(-0xc782b5b800cec);try{m=-109252==m.getUTCFullYear()&&0===m.getUTCMonth()&&1===m.getUTCDate()&&10==m.getUTCHours()&&37==m.getUTCMinutes()&&6==m.getUTCSeconds()&&708==m.getUTCMilliseconds()}catch(w){}if(!n("json")){var _="[object Function]",b="[object Date]",q="[object Number]",k="[object String]",x="[object Array]",A="[object Boolean]",E=n("bug-string-char-index");if(!m)var I=h.floor,L=[0,31,59,90,120,151,181,212,243,273,304,334],O=function(e,t){return L[t]+365*(e-1970)+I((e-1969+(t=+(t>1)))/4)-I((e-1901+t)/100)+I((e-1601+t)/400)};if((y=g.hasOwnProperty)||(y=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=S?y=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,y=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,y.call(this,e)}),d=function(e,t){var n,r,o,i=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n;for(o in r)y.call(r,o)&&i++;return n=r=null,i?d=2==i?function(e,t){var n,r={},o=S.call(e)==_;for(n in e)o&&"prototype"==n||y.call(r,n)||!(r[n]=1)||!y.call(e,n)||t(n)}:function(e,t){var n,r,o=S.call(e)==_;for(n in e)o&&"prototype"==n||!y.call(e,n)||(r="constructor"===n)||t(n);(r||y.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],d=function(e,t){var n,o,i=S.call(e)==_,u=!i&&"function"!=typeof e.constructor&&c[typeof e.hasOwnProperty]&&e.hasOwnProperty||y;for(n in e)i&&"prototype"==n||!u.call(e,n)||t(n);for(o=r.length;n=r[--o];u.call(e,n)&&t(n));}),d(e,t)},!n("json-stringify")){var C={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},j="000000",R=function(e,t){return(j+(t||0)).slice(-e)},T="\\u00",P=function(e){for(var t='"',n=0,r=e.length,o=!E||r>10,i=o&&(E?e.split(""):e);r>n;n++){var u=e.charCodeAt(n);switch(u){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=C[u];break;default:if(32>u){t+=T+R(2,u.toString(16));break}t+=o?i[n]:e.charAt(n)}}return t+'"'},M=function(e,t,n,r,o,i,u){var c,a,s,f,h,l,g,m,w,_,E,L,C,j,T,B;try{c=t[e]}catch(D){}if("object"==typeof c&&c)if(a=S.call(c),a!=b||y.call(c,"toJSON"))"function"==typeof c.toJSON&&(a!=q&&a!=k&&a!=x||y.call(c,"toJSON"))&&(c=c.toJSON(e));else if(c>-1/0&&1/0>c){if(O){for(h=I(c/864e5),s=I(h/365.2425)+1970-1;O(s+1,0)<=h;s++);for(f=I((h-O(s,0))/30.42);O(s,f+1)<=h;f++);h=1+h-O(s,f),l=(c%864e5+864e5)%864e5,g=I(l/36e5)%24,m=I(l/6e4)%60,w=I(l/1e3)%60,_=l%1e3}else s=c.getUTCFullYear(),f=c.getUTCMonth(),h=c.getUTCDate(),g=c.getUTCHours(),m=c.getUTCMinutes(),w=c.getUTCSeconds(),_=c.getUTCMilliseconds();c=(0>=s||s>=1e4?(0>s?"-":"+")+R(6,0>s?-s:s):R(4,s))+"-"+R(2,f+1)+"-"+R(2,h)+"T"+R(2,g)+":"+R(2,m)+":"+R(2,w)+"."+R(3,_)+"Z"}else c=null;if(n&&(c=n.call(t,e,c)),null===c)return"null";if(a=S.call(c),a==A)return""+c;if(a==q)return c>-1/0&&1/0>c?""+c:"null";if(a==k)return P(""+c);if("object"==typeof c){for(j=u.length;j--;)if(u[j]===c)throw p();if(u.push(c),E=[],T=i,i+=o,a==x){for(C=0,j=c.length;j>C;C++)L=M(C,c,n,r,o,i,u),E.push(L===v?"null":L);B=E.length?o?"[\n"+i+E.join(",\n"+i)+"\n"+T+"]":"["+E.join(",")+"]":"[]"}else d(r||c,function(e){var t=M(e,c,n,r,o,i,u);t!==v&&E.push(P(e)+":"+(o?" ":"")+t)}),B=E.length?o?"{\n"+i+E.join(",\n"+i)+"\n"+T+"}":"{"+E.join(",")+"}":"{}";return u.pop(),B}};t.stringify=function(e,t,n){var r,o,i,u;if(c[typeof t]&&t)if((u=S.call(t))==_)o=t;else if(u==x){i={};for(var a,s=0,f=t.length;f>s;a=t[s++],u=S.call(a),(u==k||u==q)&&(i[a]=1));}if(n)if((u=S.call(n))==q){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.length<n;r+=" ");}else u==k&&(r=n.length<=10?n:n.slice(0,10));return M("",(a={},a[""]=e,a),o,i,r,"",[])}}if(!n("json-parse")){var B,D,F=o.fromCharCode,N={92:"\\",34:'"',47:"/",98:"\b",116:"	",110:"\n",102:"\f",114:"\r"},U=function(){throw B=D=null,f()},W=function(){for(var e,t,n,r,o,i=D,u=i.length;u>B;)switch(o=i.charCodeAt(B)){case 9:case 10:case 13:case 32:B++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=E?i.charAt(B):i[B],B++,e;case 34:for(e="@",B++;u>B;)if(o=i.charCodeAt(B),32>o)U();else if(92==o)switch(o=i.charCodeAt(++B)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=N[o],B++;break;case 117:for(t=++B,n=B+4;n>B;B++)o=i.charCodeAt(B),o>=48&&57>=o||o>=97&&102>=o||o>=65&&70>=o||U();e+=F("0x"+i.slice(t,B));break;default:U()}else{if(34==o)break;for(o=i.charCodeAt(B),t=B;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++B);e+=i.slice(t,B)}if(34==i.charCodeAt(B))return B++,e;U();default:if(t=B,45==o&&(r=!0,o=i.charCodeAt(++B)),o>=48&&57>=o){for(48==o&&(o=i.charCodeAt(B+1),o>=48&&57>=o)&&U(),r=!1;u>B&&(o=i.charCodeAt(B),o>=48&&57>=o);B++);if(46==i.charCodeAt(B)){for(n=++B;u>n&&(o=i.charCodeAt(n),o>=48&&57>=o);n++);n==B&&U(),B=n}if(o=i.charCodeAt(B),101==o||69==o){for(o=i.charCodeAt(++B),43!=o&&45!=o||B++,n=B;u>n&&(o=i.charCodeAt(n),o>=48&&57>=o);n++);n==B&&U(),B=n}return+i.slice(t,B)}if(r&&U(),"true"==i.slice(B,B+4))return B+=4,!0;if("false"==i.slice(B,B+5))return B+=5,!1;if("null"==i.slice(B,B+4))return B+=4,null;U()}return"$"},z=function(e){var t,n;if("$"==e&&U(),"string"==typeof e){if("@"==(E?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=W(),"]"!=e;n||(n=!0))n&&(","==e?(e=W(),"]"==e&&U()):U()),","==e&&U(),t.push(z(e));return t}if("{"==e){for(t={};e=W(),"}"!=e;n||(n=!0))n&&(","==e?(e=W(),"}"==e&&U()):U()),","!=e&&"string"==typeof e&&"@"==(E?e.charAt(0):e[0])&&":"==W()||U(),t[e.slice(1)]=z(W());return t}U()}return e},Y=function(e,t,n){var r=H(e,t,n);r===v?delete e[t]:e[t]=r},H=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if(S.call(o)==x)for(r=o.length;r--;)Y(o,r,n);else d(o,function(e){Y(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return B=0,D=""+e,n=z(W()),"$"!=W()&&U(),B=D=null,t&&S.call(t)==_?H((r={},r[""]=n,r),"",t):n}}}return t.runInContext=i,t}var u=n(106),c={"function":!0,object:!0},a=c[typeof t]&&t&&!t.nodeType&&t,s=c[typeof window]&&window||this,f=a&&c[typeof e]&&e&&!e.nodeType&&"object"==typeof o&&o;if(!f||f.global!==f&&f.window!==f&&f.self!==f||(s=f),a&&!u)i(s,a);else{var p=s.JSON,h=s.JSON3,l=!1,y=i(s,s.JSON3={noConflict:function(){return l||(l=!0,s.JSON=p,s.JSON3=h,p=h=null),y}});s.JSON={parse:y.parse,stringify:y.stringify}}u&&(r=function(){return y}.call(t,n,t,e),!(void 0!==r&&(e.exports=r)))}).call(this)}).call(t,n(105)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t){function n(e){return e?r(e):void 0}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){r.off(e,n),t.apply(this,arguments)}var r=this;return this._callbacks=this._callbacks||{},n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks[e];if(n){n=n.slice(0);for(var r=0,o=n.length;o>r;++r)n[r].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){(function(e){var r=n(107),o=n(110);t.deconstructPacket=function(e){function t(e){if(!e)return e;if(o(e)){var i={_placeholder:!0,num:n.length};return n.push(e),i}if(r(e)){for(var u=new Array(e.length),c=0;c<e.length;c++)u[c]=t(e[c]);return u}if("object"==typeof e&&!(e instanceof Date)){var u={};for(var a in e)u[a]=t(e[a]);return u}return e}var n=[],i=e.data,u=e;return u.data=t(i),u.attachments=n.length,{packet:u,buffers:n}},t.reconstructPacket=function(e,t){function n(e){if(e&&e._placeholder){var o=t[e.num];return o}if(r(e)){for(var i=0;i<e.length;i++)e[i]=n(e[i]);return e}if(e&&"object"==typeof e){for(var u in e)e[u]=n(e[u]);return e}return e}return e.data=n(e.data),e.attachments=void 0,e},t.removeBlobs=function(t,n){function i(t,a,s){if(!t)return t;if(e.Blob&&t instanceof Blob||e.File&&t instanceof File){u++;var f=new FileReader;f.onload=function(){s?s[a]=this.result:c=this.result,--u||n(c)},f.readAsArrayBuffer(t)}else if(r(t))for(var p=0;p<t.length;p++)i(t[p],p,t);else if(t&&"object"==typeof t&&!o(t))for(var h in t)i(t[h],h,t)}var u=0,c=t;i(c),u||n(c)}}).call(t,function(){return this}())},function(e,t){(function(t){function n(e){return t.Buffer&&t.Buffer.isBuffer(e)||t.ArrayBuffer&&e instanceof ArrayBuffer}e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e,t){return this instanceof r?(e&&"object"==typeof e&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new h({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[],this.encoder=new c.Encoder,this.decoder=new c.Decoder,this.autoConnect=t.autoConnect!==!1,void(this.autoConnect&&this.open())):new r(e,t)}var o=n(112),i=n(142),u=n(143),c=n(100),a=n(145),s=n(146),f=n(97)("socket.io-client:manager"),p=n(140),h=n(149),l=Object.prototype.hasOwnProperty;e.exports=r,r.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var e in this.nsps)l.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},r.prototype.updateSocketIds=function(){for(var e in this.nsps)l.call(this.nsps,e)&&(this.nsps[e].id=this.engine.id)},u(r.prototype),r.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},r.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},r.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},r.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},r.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},r.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},r.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},r.prototype.open=r.prototype.connect=function(e){if(f("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;f("opening %s",this.uri),this.engine=o(this.uri,this.opts);var t=this.engine,n=this;this.readyState="opening",this.skipReconnect=!1;var r=a(t,"open",function(){n.onopen(),e&&e()}),i=a(t,"error",function(t){if(f("connect_error"),n.cleanup(),n.readyState="closed",n.emitAll("connect_error",t),e){var r=new Error("Connection error");r.data=t,e(r)}else n.maybeReconnectOnOpen()});if(!1!==this._timeout){var u=this._timeout;f("connect attempt will timeout after %d",u);var c=setTimeout(function(){f("connect attempt timed out after %d",u),r.destroy(),t.close(),t.emit("error","timeout"),n.emitAll("connect_timeout",u)},u);this.subs.push({destroy:function(){clearTimeout(c)}})}return this.subs.push(r),this.subs.push(i),this},r.prototype.onopen=function(){f("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",s(this,"ondata"))),this.subs.push(a(e,"ping",s(this,"onping"))),this.subs.push(a(e,"pong",s(this,"onpong"))),this.subs.push(a(e,"error",s(this,"onerror"))),this.subs.push(a(e,"close",s(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",s(this,"ondecoded")))},r.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},r.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},r.prototype.ondata=function(e){this.decoder.add(e)},r.prototype.ondecoded=function(e){this.emit("packet",e)},r.prototype.onerror=function(e){f("error",e),this.emitAll("error",e)},r.prototype.socket=function(e){function t(){~p(r.connecting,n)||r.connecting.push(n)}var n=this.nsps[e];if(!n){n=new i(this,e),this.nsps[e]=n;var r=this;n.on("connecting",t),n.on("connect",function(){n.id=r.engine.id}),this.autoConnect&&t()}return n},r.prototype.destroy=function(e){var t=p(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},r.prototype.packet=function(e){f("writing packet %j",e);var t=this;t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()}))},r.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},r.prototype.cleanup=function(){f("cleanup");for(var e;e=this.subs.shift();)e.destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},r.prototype.close=r.prototype.disconnect=function(){f("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"==this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},r.prototype.onclose=function(e){f("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},r.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)f("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();f("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout(function(){e.skipReconnect||(f("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open(function(t){t?(f("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(f("reconnect success"),e.onreconnect())}))},t);this.subs.push({destroy:function(){clearTimeout(n)}})}},r.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},function(e,t,n){e.exports=n(113)},function(e,t,n){e.exports=n(114),e.exports.parser=n(121)},function(e,t,n){(function(t){function r(e,n){if(!(this instanceof r))return new r(e,n);n=n||{},e&&"object"==typeof e&&(n=e,e=null),e?(e=f(e),n.hostname=e.host,n.secure="https"==e.protocol||"wss"==e.protocol,n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=f(n.host).host),this.secure=null!=n.secure?n.secure:t.location&&"https:"==location.protocol,n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.agent=n.agent||!1,this.hostname=n.hostname||(t.location?location.hostname:"localhost"),this.port=n.port||(t.location&&location.port?location.port:this.secure?443:80),this.query=n.query||{},"string"==typeof this.query&&(this.query=h.decode(this.query)),this.upgrade=!1!==n.upgrade,this.path=(n.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!n.forceJSONP,this.jsonp=!1!==n.jsonp,this.forceBase64=!!n.forceBase64,this.enablesXDR=!!n.enablesXDR,this.timestampParam=n.timestampParam||"t",this.timestampRequests=n.timestampRequests,this.transports=n.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.policyPort=n.policyPort||843,this.rememberUpgrade=n.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=n.onlyBinaryUpgrades,this.perMessageDeflate=!1!==n.perMessageDeflate?n.perMessageDeflate||{}:!1,!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=n.pfx||null,this.key=n.key||null,this.passphrase=n.passphrase||null,this.cert=n.cert||null,this.ca=n.ca||null,this.ciphers=n.ciphers||null,this.rejectUnauthorized=void 0===n.rejectUnauthorized?null:n.rejectUnauthorized;var o="object"==typeof t&&t;o.global===o&&n.extraHeaders&&Object.keys(n.extraHeaders).length>0&&(this.extraHeaders=n.extraHeaders),this.open()}function o(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var i=n(115),u=n(130),c=n(134)("engine.io-client:socket"),a=n(140),s=n(121),f=n(96),p=n(141),h=n(131);e.exports=r,r.priorWebsocketSuccess=!1,u(r.prototype),r.protocol=s.protocol,r.Socket=r,r.Transport=n(120),r.transports=n(115),r.parser=n(121),r.prototype.createTransport=function(e){c('creating transport "%s"',e);var t=o(this.query);t.EIO=s.protocol,t.transport=e,this.id&&(t.sid=this.id);var n=new i[e]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:t,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized,perMessageDeflate:this.perMessageDeflate,extraHeaders:this.extraHeaders});return n},r.prototype.open=function(){var e;if(this.rememberUpgrade&&r.priorWebsocketSuccess&&-1!=this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout(function(){t.emit("error","No transports available")},0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e);
+}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},r.prototype.setTransport=function(e){c("setting transport %s",e.name);var t=this;this.transport&&(c("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",function(){t.onDrain()}).on("packet",function(e){t.onPacket(e)}).on("error",function(e){t.onError(e)}).on("close",function(){t.onClose("transport close")})},r.prototype.probe=function(e){function t(){if(h.onlyBinaryUpgrades){var t=!this.supportsBinary&&h.transport.supportsBinary;p=p||t}p||(c('probe transport "%s" opened',e),f.send([{type:"ping",data:"probe"}]),f.once("packet",function(t){if(!p)if("pong"==t.type&&"probe"==t.data){if(c('probe transport "%s" pong',e),h.upgrading=!0,h.emit("upgrading",f),!f)return;r.priorWebsocketSuccess="websocket"==f.name,c('pausing current transport "%s"',h.transport.name),h.transport.pause(function(){p||"closed"!=h.readyState&&(c("changing transport and sending upgrade packet"),s(),h.setTransport(f),f.send([{type:"upgrade"}]),h.emit("upgrade",f),f=null,h.upgrading=!1,h.flush())})}else{c('probe transport "%s" failed',e);var n=new Error("probe error");n.transport=f.name,h.emit("upgradeError",n)}}))}function n(){p||(p=!0,s(),f.close(),f=null)}function o(t){var r=new Error("probe error: "+t);r.transport=f.name,n(),c('probe transport "%s" failed because of error: %s',e,t),h.emit("upgradeError",r)}function i(){o("transport closed")}function u(){o("socket closed")}function a(e){f&&e.name!=f.name&&(c('"%s" works - aborting "%s"',e.name,f.name),n())}function s(){f.removeListener("open",t),f.removeListener("error",o),f.removeListener("close",i),h.removeListener("close",u),h.removeListener("upgrading",a)}c('probing transport "%s"',e);var f=this.createTransport(e,{probe:1}),p=!1,h=this;r.priorWebsocketSuccess=!1,f.once("open",t),f.once("error",o),f.once("close",i),this.once("close",u),this.once("upgrading",a),f.open()},r.prototype.onOpen=function(){if(c("socket open"),this.readyState="open",r.priorWebsocketSuccess="websocket"==this.transport.name,this.emit("open"),this.flush(),"open"==this.readyState&&this.upgrade&&this.transport.pause){c("starting upgrade probes");for(var e=0,t=this.upgrades.length;t>e;e++)this.probe(this.upgrades[e])}},r.prototype.onPacket=function(e){if("opening"==this.readyState||"open"==this.readyState)switch(c('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(p(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else c('packet received with socket readyState "%s"',this.readyState)},r.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!=this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},r.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout(function(){"closed"!=t.readyState&&t.onClose("ping timeout")},e||t.pingInterval+t.pingTimeout)},r.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout(function(){c("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)},e.pingInterval)},r.prototype.ping=function(){var e=this;this.sendPacket("ping",function(){e.emit("ping")})},r.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},r.prototype.flush=function(){"closed"!=this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(c("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},r.prototype.write=r.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},r.prototype.sendPacket=function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!=this.readyState&&"closed"!=this.readyState){n=n||{},n.compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},r.prototype.close=function(){function e(){r.onClose("forced close"),c("socket closing - telling transport to close"),r.transport.close()}function t(){r.removeListener("upgrade",t),r.removeListener("upgradeError",t),e()}function n(){r.once("upgrade",t),r.once("upgradeError",t)}if("opening"==this.readyState||"open"==this.readyState){this.readyState="closing";var r=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?n():e()}):this.upgrading?n():e()}return this},r.prototype.onError=function(e){c("socket error %j",e),r.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},r.prototype.onClose=function(e,t){if("opening"==this.readyState||"open"==this.readyState||"closing"==this.readyState){c('socket close with reason: "%s"',e);var n=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),n.writeBuffer=[],n.prevBufferLen=0}},r.prototype.filterUpgrades=function(e){for(var t=[],n=0,r=e.length;r>n;n++)~a(this.transports,e[n])&&t.push(e[n]);return t}}).call(t,function(){return this}())},function(e,t,n){(function(e){function r(t){var n,r=!1,c=!1,a=!1!==t.jsonp;if(e.location){var s="https:"==location.protocol,f=location.port;f||(f=s?443:80),r=t.hostname!=location.hostname||f!=t.port,c=t.secure!=s}if(t.xdomain=r,t.xscheme=c,n=new o(t),"open"in n&&!t.forceJSONP)return new i(t);if(!a)throw new Error("JSONP disabled");return new u(t)}var o=n(116),i=n(118),u=n(137),c=n(138);t.polling=r,t.websocket=c}).call(t,function(){return this}())},function(e,t,n){var r=n(117);e.exports=function(e){var t=e.xdomain,n=e.xscheme,o=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||r))return new XMLHttpRequest}catch(i){}try{if("undefined"!=typeof XDomainRequest&&!n&&o)return new XDomainRequest}catch(i){}if(!t)try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(i){}}},function(e,t){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){e.exports=!1}},function(e,t,n){(function(t){function r(){}function o(e){if(a.call(this,e),t.location){var n="https:"==location.protocol,r=location.port;r||(r=n?443:80),this.xd=e.hostname!=t.location.hostname||r!=e.port,this.xs=e.secure!=n}else this.extraHeaders=e.extraHeaders}function i(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!=e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function u(){for(var e in i.requests)i.requests.hasOwnProperty(e)&&i.requests[e].abort()}var c=n(116),a=n(119),s=n(130),f=n(132),p=n(134)("engine.io-client:polling-xhr");e.exports=o,e.exports.Request=i,f(o,a),o.prototype.supportsBinary=!0,o.prototype.request=function(e){return e=e||{},e.uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.extraHeaders=this.extraHeaders,new i(e)},o.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,r=this.request({method:"POST",data:e,isBinary:n}),o=this;r.on("success",t),r.on("error",function(e){o.onError("xhr post error",e)}),this.sendXhr=r},o.prototype.doPoll=function(){p("xhr poll");var e=this.request(),t=this;e.on("data",function(e){t.onData(e)}),e.on("error",function(e){t.onError("xhr poll error",e)}),this.pollXhr=e},s(i.prototype),i.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var n=this.xhr=new c(e),r=this;try{p("xhr open %s: %s",this.method,this.uri),n.open(this.method,this.uri,this.async);try{if(this.extraHeaders){n.setDisableHeaderCheck(!0);for(var o in this.extraHeaders)this.extraHeaders.hasOwnProperty(o)&&n.setRequestHeader(o,this.extraHeaders[o])}}catch(u){}if(this.supportsBinary&&(n.responseType="arraybuffer"),"POST"==this.method)try{this.isBinary?n.setRequestHeader("Content-type","application/octet-stream"):n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(u){}"withCredentials"in n&&(n.withCredentials=!0),this.hasXDR()?(n.onload=function(){r.onLoad()},n.onerror=function(){r.onError(n.responseText)}):n.onreadystatechange=function(){4==n.readyState&&(200==n.status||1223==n.status?r.onLoad():setTimeout(function(){r.onError(n.status)},0))},p("xhr data %s",this.data),n.send(this.data)}catch(u){return void setTimeout(function(){r.onError(u)},0)}t.document&&(this.index=i.requestsCount++,i.requests[this.index]=this)},i.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},i.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},i.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},i.prototype.cleanup=function(e){if("undefined"!=typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=r:this.xhr.onreadystatechange=r,e)try{this.xhr.abort()}catch(n){}t.document&&delete i.requests[this.index],this.xhr=null}},i.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type").split(";")[0]}catch(n){}if("application/octet-stream"===t)e=this.xhr.response;else if(this.supportsBinary)try{e=String.fromCharCode.apply(null,new Uint8Array(this.xhr.response))}catch(n){for(var r=new Uint8Array(this.xhr.response),o=[],i=0,u=r.length;u>i;i++)o.push(r[i]);e=String.fromCharCode.apply(null,o)}else e=this.xhr.responseText}catch(n){this.onError(n)}null!=e&&this.onData(e)},i.prototype.hasXDR=function(){return"undefined"!=typeof t.XDomainRequest&&!this.xs&&this.enablesXDR},i.prototype.abort=function(){this.cleanup()},t.document&&(i.requestsCount=0,i.requests={},t.attachEvent?t.attachEvent("onunload",u):t.addEventListener&&t.addEventListener("beforeunload",u,!1))}).call(t,function(){return this}())},function(e,t,n){function r(e){var t=e&&e.forceBase64;f&&!t||(this.supportsBinary=!1),o.call(this,e)}var o=n(120),i=n(131),u=n(121),c=n(132),a=n(133),s=n(134)("engine.io-client:polling");e.exports=r;var f=function(){var e=n(116),t=new e({xdomain:!1});return null!=t.responseType}();c(r,o),r.prototype.name="polling",r.prototype.doOpen=function(){this.poll()},r.prototype.pause=function(e){function t(){s("paused"),n.readyState="paused",e()}var n=this;if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(s("we are currently polling - waiting to pause"),r++,this.once("pollComplete",function(){s("pre-pause polling complete"),--r||t()})),this.writable||(s("we are currently writing - waiting to pause"),r++,this.once("drain",function(){s("pre-pause writing complete"),--r||t()}))}else t()},r.prototype.poll=function(){s("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},r.prototype.onData=function(e){var t=this;s("polling got data %s",e);var n=function(e,n,r){return"opening"==t.readyState&&t.onOpen(),"close"==e.type?(t.onClose(),!1):void t.onPacket(e)};u.decodePayload(e,this.socket.binaryType,n),"closed"!=this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"==this.readyState?this.poll():s('ignoring poll - transport state "%s"',this.readyState))},r.prototype.doClose=function(){function e(){s("writing close packet"),t.write([{type:"close"}])}var t=this;"open"==this.readyState?(s("transport open - closing"),e()):(s("transport not open - deferring close"),this.once("open",e))},r.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")},t=this;u.encodePayload(e,this.supportsBinary,function(e){t.doWrite(e,n)})},r.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";!1!==this.timestampRequests&&(e[this.timestampParam]=a()),this.supportsBinary||e.sid||(e.b64=1),e=i.encode(e),this.port&&("https"==t&&443!=this.port||"http"==t&&80!=this.port)&&(n=":"+this.port),e.length&&(e="?"+e);var r=-1!==this.hostname.indexOf(":");return t+"://"+(r?"["+this.hostname+"]":this.hostname)+n+this.path+e}},function(e,t,n){function r(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders}var o=n(121),i=n(130);e.exports=r,i(r.prototype),r.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},r.prototype.open=function(){return"closed"!=this.readyState&&""!=this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!=this.readyState&&"open"!=this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(e){if("open"!=this.readyState)throw new Error("Transport not open");this.write(e)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(e){var t=o.decodePacket(e,this.socket.binaryType);this.onPacket(t)},r.prototype.onPacket=function(e){this.emit("packet",e)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},function(e,t,n){(function(e){function r(e,n){var r="b"+t.packets[e.type]+e.data.data;return n(r)}function o(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=e.data,i=new Uint8Array(o),u=new Uint8Array(1+o.byteLength);u[0]=g[e.type];for(var c=0;c<i.length;c++)u[c+1]=i[c];return r(u.buffer)}function i(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=new FileReader;return o.onload=function(){e.data=o.result,t.encodePacket(e,n,!0,r)},o.readAsArrayBuffer(e.data)}function u(e,n,r){if(!n)return t.encodeBase64Packet(e,r);if(v)return i(e,n,r);var o=new Uint8Array(1);o[0]=g[e.type];var u=new w([o.buffer,e.data]);return r(u)}function c(e,t,n){for(var r=new Array(e.length),o=h(e.length,n),i=function(e,n,o){t(n,function(t,n){r[e]=n,o(t,r)})},u=0;u<e.length;u++)i(u,e[u],o)}var a=n(122),s=n(123),f=n(125),p=n(126),h=n(127),l=n(128),y=navigator.userAgent.match(/Android/i),d=/PhantomJS/i.test(navigator.userAgent),v=y||d;t.protocol=3;var g=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},S=a(g),m={type:"error",data:"parser error"},w=n(129);t.encodePacket=function(t,n,i,c){"function"==typeof n&&(c=n,n=!1),"function"==typeof i&&(c=i,i=null);var a=void 0===t.data?void 0:t.data.buffer||t.data;if(e.ArrayBuffer&&a instanceof ArrayBuffer)return o(t,n,c);if(w&&a instanceof e.Blob)return u(t,n,c);if(a&&a.base64)return r(t,c);var s=g[t.type];return void 0!==t.data&&(s+=i?l.encode(String(t.data)):String(t.data)),c(""+s)},t.encodeBase64Packet=function(n,r){var o="b"+t.packets[n.type];if(w&&n.data instanceof e.Blob){var i=new FileReader;return i.onload=function(){var e=i.result.split(",")[1];r(o+e)},i.readAsDataURL(n.data)}var u;try{u=String.fromCharCode.apply(null,new Uint8Array(n.data))}catch(c){for(var a=new Uint8Array(n.data),s=new Array(a.length),f=0;f<a.length;f++)s[f]=a[f];u=String.fromCharCode.apply(null,s)}return o+=e.btoa(u),r(o)},t.decodePacket=function(e,n,r){if("string"==typeof e||void 0===e){if("b"==e.charAt(0))return t.decodeBase64Packet(e.substr(1),n);if(r)try{e=l.decode(e)}catch(o){return m}var i=e.charAt(0);return Number(i)==i&&S[i]?e.length>1?{type:S[i],data:e.substring(1)}:{type:S[i]}:m}var u=new Uint8Array(e),i=u[0],c=f(e,1);return w&&"blob"===n&&(c=new w([c])),{type:S[i],data:c}},t.decodeBase64Packet=function(t,n){var r=S[t.charAt(0)];if(!e.ArrayBuffer)return{type:r,data:{base64:!0,data:t.substr(1)}};var o=p.decode(t.substr(1));return"blob"===n&&w&&(o=new w([o])),{type:r,data:o}},t.encodePayload=function(e,n,r){function o(e){return e.length+":"+e}function i(e,r){t.encodePacket(e,u?n:!1,!0,function(e){r(null,o(e))})}"function"==typeof n&&(r=n,n=null);var u=s(e);return n&&u?w&&!v?t.encodePayloadAsBlob(e,r):t.encodePayloadAsArrayBuffer(e,r):e.length?void c(e,i,function(e,t){return r(t.join(""))}):r("0:")},t.decodePayload=function(e,n,r){if("string"!=typeof e)return t.decodePayloadAsBinary(e,n,r);"function"==typeof n&&(r=n,n=null);var o;if(""==e)return r(m,0,1);for(var i,u,c="",a=0,s=e.length;s>a;a++){var f=e.charAt(a);if(":"!=f)c+=f;else{if(""==c||c!=(i=Number(c)))return r(m,0,1);if(u=e.substr(a+1,i),c!=u.length)return r(m,0,1);if(u.length){if(o=t.decodePacket(u,n,!0),m.type==o.type&&m.data==o.data)return r(m,0,1);var p=r(o,a+i,s);if(!1===p)return}a+=i,c=""}}return""!=c?r(m,0,1):void 0},t.encodePayloadAsArrayBuffer=function(e,n){function r(e,n){t.encodePacket(e,!0,!0,function(e){return n(null,e)})}return e.length?void c(e,r,function(e,t){var r=t.reduce(function(e,t){var n;return n="string"==typeof t?t.length:t.byteLength,e+n.toString().length+n+2},0),o=new Uint8Array(r),i=0;return t.forEach(function(e){var t="string"==typeof e,n=e;if(t){for(var r=new Uint8Array(e.length),u=0;u<e.length;u++)r[u]=e.charCodeAt(u);n=r.buffer}t?o[i++]=0:o[i++]=1;for(var c=n.byteLength.toString(),u=0;u<c.length;u++)o[i++]=parseInt(c[u]);o[i++]=255;for(var r=new Uint8Array(n),u=0;u<r.length;u++)o[i++]=r[u]}),n(o.buffer)}):n(new ArrayBuffer(0))},t.encodePayloadAsBlob=function(e,n){function r(e,n){t.encodePacket(e,!0,!0,function(e){var t=new Uint8Array(1);if(t[0]=1,"string"==typeof e){for(var r=new Uint8Array(e.length),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);e=r.buffer,t[0]=0}for(var i=e instanceof ArrayBuffer?e.byteLength:e.size,u=i.toString(),c=new Uint8Array(u.length+1),o=0;o<u.length;o++)c[o]=parseInt(u[o]);if(c[u.length]=255,w){var a=new w([t.buffer,c.buffer,e]);n(null,a)}})}c(e,r,function(e,t){return n(new w(t))})},t.decodePayloadAsBinary=function(e,n,r){"function"==typeof n&&(r=n,n=null);for(var o=e,i=[],u=!1;o.byteLength>0;){for(var c=new Uint8Array(o),a=0===c[0],s="",p=1;255!=c[p];p++){if(s.length>310){u=!0;break}s+=c[p]}if(u)return r(m,0,1);o=f(o,2+s.length),s=parseInt(s);var h=f(o,0,s);if(a)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(l){var y=new Uint8Array(h);h="";for(var p=0;p<y.length;p++)h+=String.fromCharCode(y[p])}i.push(h),o=f(o,s)}var d=i.length;i.forEach(function(e,o){r(t.decodePacket(e,n,!0),o,d)})}}).call(t,function(){return this}())},function(e,t){e.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var r in e)n.call(e,r)&&t.push(r);return t}},function(e,t,n){(function(t){function r(e){function n(e){if(!e)return!1;if(t.Buffer&&t.Buffer.isBuffer(e)||t.ArrayBuffer&&e instanceof ArrayBuffer||t.Blob&&e instanceof Blob||t.File&&e instanceof File)return!0;if(o(e)){for(var r=0;r<e.length;r++)if(n(e[r]))return!0}else if(e&&"object"==typeof e){e.toJSON&&(e=e.toJSON());for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&n(e[i]))return!0}return!1}return n(e)}var o=n(124);e.exports=r}).call(t,function(){return this}())},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e,t,n){var r=e.byteLength;if(t=t||0,n=n||r,e.slice)return e.slice(t,n);if(0>t&&(t+=r),0>n&&(n+=r),n>r&&(n=r),t>=r||t>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(e),i=new Uint8Array(n-t),u=t,c=0;n>u;u++,c++)i[c]=o[u];return i.buffer}},function(e,t){!function(e){"use strict";t.encode=function(t){var n,r=new Uint8Array(t),o=r.length,i="";for(n=0;o>n;n+=3)i+=e[r[n]>>2],i+=e[(3&r[n])<<4|r[n+1]>>4],i+=e[(15&r[n+1])<<2|r[n+2]>>6],i+=e[63&r[n+2]];return o%3===2?i=i.substring(0,i.length-1)+"=":o%3===1&&(i=i.substring(0,i.length-2)+"=="),i},t.decode=function(t){var n,r,o,i,u,c=.75*t.length,a=t.length,s=0;"="===t[t.length-1]&&(c--,"="===t[t.length-2]&&c--);var f=new ArrayBuffer(c),p=new Uint8Array(f);for(n=0;a>n;n+=4)r=e.indexOf(t[n]),o=e.indexOf(t[n+1]),i=e.indexOf(t[n+2]),u=e.indexOf(t[n+3]),p[s++]=r<<2|o>>4,p[s++]=(15&o)<<4|i>>2,p[s++]=(3&i)<<6|63&u;return f}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},function(e,t){function n(e,t,n){function o(e,r){if(o.count<=0)throw new Error("after called too many times");--o.count,e?(i=!0,t(e),t=n):0!==o.count||i||t(null,r)}var i=!1;return n=n||r,o.count=e,0===e?t():o}function r(){}e.exports=n},function(e,t,n){var r;(function(e,o){!function(i){function u(e){for(var t,n,r=[],o=0,i=e.length;i>o;)t=e.charCodeAt(o++),t>=55296&&56319>=t&&i>o?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function c(e){for(var t,n=e.length,r=-1,o="";++r<n;)t=e[r],t>65535&&(t-=65536,o+=w(t>>>10&1023|55296),t=56320|1023&t),o+=w(t);return o}function a(e){if(e>=55296&&57343>=e)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function s(e,t){return w(e>>t&63|128)}function f(e){if(0==(4294967168&e))return w(e);var t="";return 0==(4294965248&e)?t=w(e>>6&31|192):0==(4294901760&e)?(a(e),t=w(e>>12&15|224),t+=s(e,6)):0==(4292870144&e)&&(t=w(e>>18&7|240),t+=s(e,12),t+=s(e,6)),t+=w(63&e|128)}function p(e){for(var t,n=u(e),r=n.length,o=-1,i="";++o<r;)t=n[o],i+=f(t);return i}function h(){if(m>=S)throw Error("Invalid byte index");var e=255&g[m];if(m++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function l(){var e,t,n,r,o;if(m>S)throw Error("Invalid byte index");if(m==S)return!1;if(e=255&g[m],m++,0==(128&e))return e;if(192==(224&e)){var t=h();if(o=(31&e)<<6|t,o>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if(t=h(),n=h(),o=(15&e)<<12|t<<6|n,o>=2048)return a(o),o;throw Error("Invalid continuation byte")}if(240==(248&e)&&(t=h(),n=h(),r=h(),o=(15&e)<<18|t<<12|n<<6|r,o>=65536&&1114111>=o))return o;throw Error("Invalid UTF-8 detected")}function y(e){g=u(e),S=g.length,m=0;for(var t,n=[];(t=l())!==!1;)n.push(t);return c(n)}var d="object"==typeof t&&t,v=("object"==typeof e&&e&&e.exports==d&&e,"object"==typeof o&&o);v.global!==v&&v.window!==v||(i=v);var g,S,m,w=String.fromCharCode,_={version:"2.0.0",encode:p,decode:y};r=function(){return _}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(this)}).call(t,n(105)(e),function(){return this}())},function(e,t){(function(t){function n(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.buffer instanceof ArrayBuffer){var r=n.buffer;if(n.byteLength!==r.byteLength){var o=new Uint8Array(n.byteLength);o.set(new Uint8Array(r,n.byteOffset,n.byteLength)),r=o.buffer}e[t]=r}}}function r(e,t){t=t||{};var r=new i;n(e);for(var o=0;o<e.length;o++)r.append(e[o]);return t.type?r.getBlob(t.type):r.getBlob()}function o(e,t){return n(e),new Blob(e,t||{})}var i=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder,u=function(){try{var e=new Blob(["hi"]);return 2===e.size}catch(t){return!1}}(),c=u&&function(){try{var e=new Blob([new Uint8Array([1,2])]);return 2===e.size}catch(t){return!1}}(),a=i&&i.prototype.append&&i.prototype.getBlob;e.exports=function(){return u?c?t.Blob:o:a?r:void 0}()}).call(t,function(){return this}())},function(e,t){function n(e){return e?r(e):void 0}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){r.off(e,n),t.apply(this,arguments)}var r=this;return this._callbacks=this._callbacks||{},n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks[e];if(n){n=n.slice(0);for(var r=0,o=n.length;o>r;++r)n[r].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;o>r;r++){var i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}},function(e,t){e.exports=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){"use strict";function n(e){var t="";do t=u[e%c]+t,e=Math.floor(e/c);while(e>0);return t}function r(e){var t=0;for(f=0;f<e.length;f++)t=t*c+a[e.charAt(f)];return t}function o(){var e=n(+new Date);return e!==i?(s=0,i=e):e+"."+n(s++)}for(var i,u="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),c=64,a={},s=0,f=0;c>f;f++)a[u[f]]=f;o.encode=n,o.decode=r,e.exports=o},function(e,t,n){function r(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function o(){var e=arguments,n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return e;var r="color: "+this.color;e=[e[0],r,"color: inherit"].concat(Array.prototype.slice.call(e,1));var o=0,i=0;return e[0].replace(/%[a-z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r),e}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}}function c(){var e;try{e=t.storage.debug}catch(n){}return e}function a(){try{return window.localStorage}catch(e){}}t=e.exports=n(135),t.log=i,t.formatArgs=o,t.save=u,t.load=c,t.useColors=r,t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:a(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){return JSON.stringify(e)},t.enable(c())},function(e,t,n){function r(){return t.colors[f++%t.colors.length]}function o(e){function n(){}function o(){var e=o,n=+new Date,i=n-(s||n);e.diff=i,e.prev=s,e.curr=n,s=n,null==e.useColors&&(e.useColors=t.useColors()),null==e.color&&e.useColors&&(e.color=r());var u=Array.prototype.slice.call(arguments);u[0]=t.coerce(u[0]),"string"!=typeof u[0]&&(u=["%o"].concat(u));var c=0;u[0]=u[0].replace(/%([a-z%])/g,function(n,r){if("%%"===n)return n;c++;var o=t.formatters[r];if("function"==typeof o){var i=u[c];n=o.call(e,i),u.splice(c,1),c--}return n}),"function"==typeof t.formatArgs&&(u=t.formatArgs.apply(e,u));var a=o.log||t.log||console.log.bind(console);a.apply(e,u)}n.enabled=!1,o.enabled=!0;var i=t.enabled(e)?o:n;return i.namespace=e,i}function i(e){t.save(e);for(var n=(e||"").split(/[\s,]+/),r=n.length,o=0;r>o;o++)n[o]&&(e=n[o].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))}function u(){t.enable("")}function c(e){var n,r;for(n=0,r=t.skips.length;r>n;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;r>n;n++)if(t.names[n].test(e))return!0;return!1}function a(e){return e instanceof Error?e.stack||e.message:e}t=e.exports=o,t.coerce=a,t.disable=u,t.enable=i,t.enabled=c,t.humanize=n(136),t.names=[],t.skips=[],t.formatters={};var s,f=0},function(e,t){function n(e){if(e=""+e,!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*s;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*c;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function r(e){return e>=s?Math.round(e/s)+"d":e>=a?Math.round(e/a)+"h":e>=c?Math.round(e/c)+"m":e>=u?Math.round(e/u)+"s":e+"ms"}function o(e){return i(e,s,"day")||i(e,a,"hour")||i(e,c,"minute")||i(e,u,"second")||e+" ms"}function i(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var u=1e3,c=60*u,a=60*c,s=24*a,f=365.25*s;e.exports=function(e,t){return t=t||{},"string"==typeof e?n(e):t["long"]?o(e):r(e)}},function(e,t,n){(function(t){function r(){}function o(e){i.call(this,e),this.query=this.query||{},c||(t.___eio||(t.___eio=[]),c=t.___eio),this.index=c.length;var n=this;c.push(function(e){n.onData(e)}),this.query.j=this.index,t.document&&t.addEventListener&&t.addEventListener("beforeunload",function(){n.script&&(n.script.onerror=r)},!1)}var i=n(119),u=n(132);e.exports=o;var c,a=/\n/g,s=/\\n/g;u(o,i),o.prototype.supportsBinary=!1,o.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),i.prototype.doClose.call(this)},o.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t;var r="undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent);r&&setTimeout(function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)},100)},o.prototype.doWrite=function(e,t){function n(){r(),t()}function r(){if(o.iframe)try{o.form.removeChild(o.iframe)}catch(e){o.onError("jsonp polling iframe removal error",e)}try{var t='<iframe src="javascript:0" name="'+o.iframeId+'">';i=document.createElement(t)}catch(e){i=document.createElement("iframe"),i.name=o.iframeId,i.src="javascript:0"}i.id=o.iframeId,o.form.appendChild(i),o.iframe=i}var o=this;if(!this.form){var i,u=document.createElement("form"),c=document.createElement("textarea"),f=this.iframeId="eio_iframe_"+this.index;u.className="socketio",u.style.position="absolute",u.style.top="-1000px",u.style.left="-1000px",u.target=f,u.method="POST",u.setAttribute("accept-charset","utf-8"),c.name="d",u.appendChild(c),document.body.appendChild(u),this.form=u,this.area=c}this.form.action=this.uri(),r(),e=e.replace(s,"\\\n"),this.area.value=e.replace(a,"\\n");try{this.form.submit()}catch(p){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){
+"complete"==o.iframe.readyState&&n()}:this.iframe.onload=n}}).call(t,function(){return this}())},function(e,t,n){(function(t){function r(e){var t=e&&e.forceBase64;t&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,o.call(this,e)}var o=n(120),i=n(121),u=n(131),c=n(132),a=n(133),s=n(134)("engine.io-client:websocket"),f=t.WebSocket||t.MozWebSocket,p=f;if(!p&&"undefined"==typeof window)try{p=n(139)}catch(h){}e.exports=r,c(r,o),r.prototype.name="websocket",r.prototype.supportsBinary=!0,r.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t=void 0,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.ws=f?new p(e):new p(e,t,n),void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="buffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},r.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},"undefined"!=typeof navigator&&/iPad|iPhone|iPod/i.test(navigator.userAgent)&&(r.prototype.onData=function(e){var t=this;setTimeout(function(){o.prototype.onData.call(t,e)},0)}),r.prototype.write=function(e){function n(){r.emit("flush"),setTimeout(function(){r.writable=!0,r.emit("drain")},0)}var r=this;this.writable=!1;for(var o=e.length,u=0,c=o;c>u;u++)!function(e){i.encodePacket(e,r.supportsBinary,function(i){if(!f){var u={};if(e.options&&(u.compress=e.options.compress),r.perMessageDeflate){var c="string"==typeof i?t.Buffer.byteLength(i):i.length;c<r.perMessageDeflate.threshold&&(u.compress=!1)}}try{f?r.ws.send(i):r.ws.send(i,u)}catch(a){s("websocket closed before onclose event")}--o||n()})}(e[u])},r.prototype.onClose=function(){o.prototype.onClose.call(this)},r.prototype.doClose=function(){"undefined"!=typeof this.ws&&this.ws.close()},r.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",n="";this.port&&("wss"==t&&443!=this.port||"ws"==t&&80!=this.port)&&(n=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=a()),this.supportsBinary||(e.b64=1),e=u.encode(e),e.length&&(e="?"+e);var r=-1!==this.hostname.indexOf(":");return t+"://"+(r?"["+this.hostname+"]":this.hostname)+n+this.path+e},r.prototype.check=function(){return!(!p||"__initialize"in p&&this.name===r.prototype.name)}}).call(t,function(){return this}())},function(e,t){},function(e,t){var n=[].indexOf;e.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},function(e,t){(function(t){var n=/^[\],:{}\s]*$/,r=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,o=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,i=/(?:^|:|,)(?:\s*\[)+/g,u=/^\s+/,c=/\s+$/;e.exports=function(e){return"string"==typeof e&&e?(e=e.replace(u,"").replace(c,""),t.JSON&&JSON.parse?JSON.parse(e):n.test(e.replace(r,"@").replace(o,"]").replace(i,""))?new Function("return "+e)():void 0):null}}).call(t,function(){return this}())},function(e,t,n){function r(e,t){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.io.autoConnect&&this.open()}var o=n(100),i=n(143),u=n(144),c=n(145),a=n(146),s=n(97)("socket.io-client:socket"),f=n(147);e.exports=t=r;var p={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},h=i.prototype.emit;i(r.prototype),r.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[c(e,"open",a(this,"onopen")),c(e,"packet",a(this,"onpacket")),c(e,"close",a(this,"onclose"))]}},r.prototype.open=r.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"==this.io.readyState&&this.onopen(),this.emit("connecting"),this)},r.prototype.send=function(){var e=u(arguments);return e.unshift("message"),this.emit.apply(this,e),this},r.prototype.emit=function(e){if(p.hasOwnProperty(e))return h.apply(this,arguments),this;var t=u(arguments),n=o.EVENT;f(t)&&(n=o.BINARY_EVENT);var r={type:n,data:t};return r.options={},r.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),r.id=this.ids++),this.connected?this.packet(r):this.sendBuffer.push(r),delete this.flags,this},r.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},r.prototype.onopen=function(){s("transport is open - connecting"),"/"!=this.nsp&&this.packet({type:o.CONNECT})},r.prototype.onclose=function(e){s("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},r.prototype.onpacket=function(e){if(e.nsp==this.nsp)switch(e.type){case o.CONNECT:this.onconnect();break;case o.EVENT:this.onevent(e);break;case o.BINARY_EVENT:this.onevent(e);break;case o.ACK:this.onack(e);break;case o.BINARY_ACK:this.onack(e);break;case o.DISCONNECT:this.ondisconnect();break;case o.ERROR:this.emit("error",e.data)}},r.prototype.onevent=function(e){var t=e.data||[];s("emitting event %j",t),null!=e.id&&(s("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?h.apply(this,t):this.receiveBuffer.push(t)},r.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var r=u(arguments);s("sending ack %j",r);var i=f(r)?o.BINARY_ACK:o.ACK;t.packet({type:i,id:e,data:r})}}},r.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(s("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):s("bad ack %s",e.id)},r.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},r.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)h.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},r.prototype.ondisconnect=function(){s("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},r.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},r.prototype.close=r.prototype.disconnect=function(){return this.connected&&(s("performing disconnect (%s)",this.nsp),this.packet({type:o.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},r.prototype.compress=function(e){return this.flags=this.flags||{},this.flags.compress=e,this}},function(e,t){function n(e){return e?r(e):void 0}function r(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,o=n.length;o>r;++r)n[r].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t){function n(e,t){var n=[];t=t||0;for(var r=t||0;r<e.length;r++)n[r-t]=e[r];return n}e.exports=n},function(e,t){function n(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}e.exports=n},function(e,t){var n=[].slice;e.exports=function(e,t){if("string"==typeof t&&(t=e[t]),"function"!=typeof t)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return t.apply(e,r.concat(n.call(arguments)))}}},function(e,t,n){(function(t){function r(e){function n(e){if(!e)return!1;if(t.Buffer&&t.Buffer.isBuffer&&t.Buffer.isBuffer(e)||t.ArrayBuffer&&e instanceof ArrayBuffer||t.Blob&&e instanceof Blob||t.File&&e instanceof File)return!0;if(o(e)){for(var r=0;r<e.length;r++)if(n(e[r]))return!0}else if(e&&"object"==typeof e){e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON());for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&n(e[i]))return!0}return!1}return n(e)}var o=n(148);e.exports=r}).call(t,function(){return this}())},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(151),i=r(o),u=n(92),c=r(u),a=n(37),s=r(a),f=n(61),p=r(f),h=n(62),l=r(h),y=n(156),d=n(63).EventEmitter,v=(n(64).create("orbit-db.OrbitDB"),n(159)),g=n(233),S=(n(256),n(266)),m=function(){function e(t,n){(0,p["default"])(this,e),this._ipfs=t,this._logs={},this.events={},this.options=n||{},this.lastWrite=null,this._cached=[],this._state={}}return(0,l["default"])(e,[{key:"use",value:function(e,t){var n=this;return this.user=t,this._state[e]=!0,new s["default"](function(t,r){v.create(n._ipfs,n.user.username).then(function(o){n._logs[e]=o,n.events[e]=new d,n.options.cacheFile?(S.loadCache(n.options.cacheFile),n.sync(e,S.get(e)).then(function(){n._state[e]=!1,t()})["catch"](r)):t()})["catch"](r)})}},{key:"sync",value:function(e,t){var n=this;return new s["default"](function(r,o){t&&t!==n.lastWrite&&n._logs[e]?!function(){n.events[e].emit("load","sync",e);var i=n._logs[e].items.length;v.fromIpfsHash(n._ipfs,t).then(function(u){n._logs[e].join(u).then(function(u){var c=n._logs[e].items.length-i;c>0?(S.set(e,t),n._cacheOperations(n._logs[e]).then(function(){n.events[e].emit("sync",e,t),n.events[e].emit("loaded","sync",e),r()})["catch"](o)):(n.events[e].emit("loaded","sync",e),r())})})}():(n.events[e].emit("loaded","sync",e),r())})}},{key:"query",value:function(e,t,n){this.events[e].emit("load","query",e),n||(n={}),this._cached||(this._cached=[]);var r=y(this._logs[e].items),o=n.limit?n.limit>-1?n.limit:this._logs[e].items.length:1,i=[];i=n.key?this._read(r.reverse(),n.key,1,!0).map(function(e){return e.value}):n.gt||n.gte?this._read(r,n.gt?n.gt:n.gte,o,n.gte?n.gte:!1):this._read(r.reverse(),n.lt?n.lt:n.lte,o,n.lte||!n.lt).reverse(),n.reverse&&i.reverse();var u=i.toArray();return this.events[e].emit("loaded","query",e),u}},{key:"add",value:function(e,t,n){return this._write(e,t,g.Types.Add,null,n)}},{key:"put",value:function(e,t,n,r){return this._write(e,t,g.Types.Put,n,r)}},{key:"del",value:function(e,t,n){return this._write(e,t,g.Types.Delete,n)}},{key:"deleteChannel",value:function(e,t){return this._logs[e]?(this._logs[e].clear(),!0):!1}},{key:"_cacheOperations",value:function(t){var n=this;return new s["default"](function(r,o){var i=t.items.map(function(e){return e.payload}).filter(function(e){return void 0===y(n._cached).find(function(t){return t.hash===e.payload})}),u=i.map(function(t){return e.fetchPayload(n._ipfs,t)});s["default"].all(u).then(function(e){e.forEach(function(e){return n._cached.push(e)}),r()})["catch"](o)})}},{key:"_read",value:function(e,t,n,r){var o=this,i=[],u=function(e){return-1===y(i).indexOf(e.key)&&(i.push(e.key),g.Types.isInsert(e.op))?e:null};return e.map(function(e){return y(o._cached).find(function(t){return t.hash===e.payload})}).compact().skipWhile(function(e){return t&&e.key!==t}).map(function(e){return e}).map(u).compact().drop(r?0:1).take(n)}},{key:"_write",value:function(e,t,n,r,o){var u=this;return new s["default"](function(t,a){g.create(u._ipfs,u._logs[e],u.user,n,r,o).then(function(n){v.getIpfsHash(u._ipfs,u._logs[e]).then(function(r){u.lastWrite=r,S.set(e,r);var o=JSON.parse((0,c["default"])(n.op));(0,i["default"])(o,{hash:n.node.payload}),null===o.key&&(0,i["default"])(o,{key:n.node.payload}),u._cached.push(o),u.events[e].emit("write",e,r),t(n.node.payload)})})["catch"](a)})}}],[{key:"fetchPayload",value:function(e,t){return new s["default"](function(n,r){e.object.get(t).then(function(e){var r=JSON.parse(e.Data);(0,i["default"])(r,{hash:t}),null===r.key&&(0,i["default"])(r,{key:t}),n(r)})["catch"](r)})}}]),e}();e.exports=m},function(e,t,n){e.exports={"default":n(152),__esModule:!0}},function(e,t,n){n(153),e.exports=n(15).Object.assign},function(e,t,n){var r=n(13);r(r.S+r.F,"Object",{assign:n(154)})},function(e,t,n){var r=n(4),o=n(155),i=n(35);e.exports=n(22)(function(){var e=Object.assign,t={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=o})?function(e,t){for(var n=o(e),u=arguments,c=u.length,a=1,s=r.getKeys,f=r.getSymbols,p=r.isEnum;c>a;)for(var h,l=i(u[a++]),y=f?s(l).concat(f(l)):s(l),d=y.length,v=0;d>v;)p.call(l,h=y[v++])&&(n[h]=l[h]);return n}:Object.assign},function(e,t,n){var r=n(10);e.exports=function(e){return Object(r(e))}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(setImmediate,clearImmediate){!function(e,t){__WEBPACK_AMD_DEFINE_FACTORY__=t,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(this,function(context){function Lazy(e){if(e instanceof Array)return new ArrayWrapper(e);if("string"==typeof e)return new StringWrapper(e);if(e instanceof Sequence)return e;if(Lazy.extensions){for(var t,n=Lazy.extensions,r=n.length;!t&&r--;)t=n[r](e);if(t)return t}return new ObjectWrapper(e)}function Sequence(){}function Iterator(e){this.sequence=e,this.index=-1}function MemoizedSequence(e){this.parent=e}function MappedSequence(e,t){this.parent=e,this.mapFn=t}function MappingIterator(e,t){this.iterator=e.getIterator(),this.mapFn=t,this.index=-1}function FilteredSequence(e,t){this.parent=e,this.filterFn=t}function FilteringIterator(e,t){this.iterator=e.getIterator(),this.filterFn=t,this.index=0}function ReversedSequence(e){this.parent=e}function ReversedIterator(e){this.sequence=e}function ConcatenatedSequence(e,t){this.parent=e,this.arrays=t}function TakeSequence(e,t){this.parent=e,this.count=t}function TakeIterator(e,t){this.iterator=e.getIterator(),this.count=t}function TakeWhileSequence(e,t){this.parent=e,this.predicate=t}function InitialSequence(e,t){this.parent=e,this.count="number"==typeof t?t:1}function DropSequence(e,t){this.parent=e,this.count="number"==typeof t?t:1}function DropWhileSequence(e,t){this.parent=e,this.predicate=t}function SortedSequence(e,t){this.parent=e,this.sortFn=t}function GroupedSequence(e,t,n){this.parent=e,this.keyFn=t,this.valFn=n}function IndexedSequence(e,t,n){this.parent=e,this.keyFn=t,this.valFn=n}function CountedSequence(e,t){this.parent=e,this.keyFn=t}function UniqueSequence(e,t){this.parent=e,this.keyFn=t}function ZippedSequence(e,t){this.parent=e,this.arrays=t}function ShuffledSequence(e){this.parent=e}function FlattenedSequence(e){this.parent=e}function WithoutSequence(e,t){this.parent=e,this.values=t}function IntersectionSequence(e,t){this.parent=e,this.arrays=t}function UniqueMemoizer(e){this.iterator=e,this.set=new Set,this.memo=[],this.currentValue=void 0}function ChunkedSequence(e,t){this.parent=e,this.chunkSize=t}function ChunkedIterator(e,t){this.iterator=e.getIterator(),this.size=t}function TappedSequence(e,t){this.parent=e,this.callback=t}function SimpleIntersectionSequence(e,t){this.parent=e,this.array=t,this.each=getEachForIntersection(t)}function getEachForIntersection(e){return e.length<40?SimpleIntersectionSequence.prototype.eachArrayCache:SimpleIntersectionSequence.prototype.eachMemoizerCache}function SimpleZippedSequence(e,t){this.parent=e,this.array=t}function ArrayLikeSequence(){}function IndexedIterator(e){this.sequence=e,this.index=-1}function IndexedMappedSequence(e,t){this.parent=e,this.mapFn=t}function IndexedFilteredSequence(e,t){this.parent=e,this.filterFn=t}function IndexedReversedSequence(e){this.parent=e}function IndexedTakeSequence(e,t){this.parent=e,this.count=t}function IndexedDropSequence(e,t){this.parent=e,this.count="number"==typeof t?t:1}function IndexedConcatenatedSequence(e,t){this.parent=e,this.other=t}function IndexedUniqueSequence(e,t){this.parent=e,this.each=getEachForParent(e),this.keyFn=t}function getEachForParent(e){return e.length()<100?IndexedUniqueSequence.prototype.eachArrayCache:UniqueSequence.prototype.each}function ArrayWrapper(e){this.source=e}function MappedArrayWrapper(e,t){this.parent=e,this.mapFn=t}function FilteredArrayWrapper(e,t){this.parent=e,this.filterFn=t}function UniqueArrayWrapper(e,t){this.parent=e,this.each=getEachForSource(e.source),this.keyFn=t}function getEachForSource(e){return e.length<40?UniqueArrayWrapper.prototype.eachNoCache:e.length<100?UniqueArrayWrapper.prototype.eachArrayCache:UniqueArrayWrapper.prototype.eachSetCache}function ConcatArrayWrapper(e,t){this.parent=e,this.other=t}function ObjectLikeSequence(){}function FilteredObjectLikeSequence(e,t){this.parent=e,this.filterFn=t}function AssignSequence(e,t){this.parent=e,this.other=t}function DefaultsSequence(e,t){this.parent=e,this.defaults=t}function InvertedSequence(e){this.parent=e}function MergedSequence(e,t,n){this.parent=e,this.others=t,this.mergeFn=n}function mergeObjects(e,t){var n,r;if("undefined"==typeof t)return e;if(isVanillaObject(e)&&isVanillaObject(t))n={};else{if(!(e instanceof Array&&t instanceof Array))return t;n=[]}for(r in e)n[r]=mergeObjects(e[r],t[r]);for(r in t)n[r]||(n[r]=t[r]);return n}function isVanillaObject(e){return e&&e.constructor===Object}function PickSequence(e,t){this.parent=e,this.properties=t}function OmitSequence(e,t){this.parent=e,this.properties=t}function ObjectWrapper(e){this.source=e}function StringLikeSequence(){}function CharIterator(e){this.source=Lazy(e),this.index=-1}function StringSegment(e,t,n){this.parent=e,this.start=Math.max(0,t),this.stop=n}function MappedStringLikeSequence(e,t){this.parent=e,this.mapFn=t}function ReversedStringLikeSequence(e){this.parent=e}function StringMatchSequence(e,t){this.parent=e,this.pattern=t}function StringMatchIterator(e,t){this.source=e,this.pattern=cloneRegex(t)}function SplitStringSequence(e,t){this.parent=e,this.pattern=t}function SplitWithRegExpIterator(e,t){this.source=e,this.pattern=cloneRegex(t)}function SplitWithStringIterator(e,t){this.source=e,this.delimiter=t}function StringWrapper(e){this.source=e}function GeneratedSequence(e,t){this.get=e,this.fixedLength=t}function GeneratedIterator(e){this.sequence=e,this.index=0,this.currentValue=null}function AsyncSequence(e,t){if(e instanceof AsyncSequence)throw new Error("Sequence is already asynchronous!");this.parent=e,this.interval=t,this.onNextCallback=getOnNextCallback(t),this.cancelCallback=getCancelCallback(t)}function AsyncHandle(e){this.resolveListeners=[],this.rejectListeners=[],this.state=PENDING,this.cancelFn=e}function resolve(e,t){if(e===t)return void e._reject(new TypeError("Cannot resolve a promise to itself"));if(t instanceof AsyncHandle)return void t.then(function(t){resolve(e,t)},function(t){e._reject(t)});var n;try{n=/function|object/.test(typeof t)&&null!=t&&t.then}catch(r){return void e._reject(r)}var o=PENDING;if("function"!=typeof n)e._resolve(t);else try{n.call(t,function(t){o===PENDING&&(o=RESOLVED,resolve(e,t))},function(t){o===PENDING&&(o=REJECTED,e._reject(t))})}catch(r){if(o!==PENDING)return;e._reject(r)}}function consumeListeners(e,t,n){n||(n=getOnNextCallback()),n(function(){e.length>0&&(e.shift()(t),consumeListeners(e,t,n))})}function getOnNextCallback(e){return"undefined"==typeof e&&"function"==typeof setImmediate?setImmediate:(e=e||0,function(t){return setTimeout(t,e)})}function getCancelCallback(e){return"undefined"==typeof e&&"function"==typeof clearImmediate?clearImmediate:clearTimeout}function transform(e,t){return t instanceof AsyncHandle?t.then(function(){e(t)}):e(t)}function WatchedPropertySequence(e,t){this.listeners=[],t?t instanceof Array||(t=[t]):t=Lazy(e).keys().toArray();var n=this.listeners,r=0;Lazy(t).each(function(t){var o=e[t];Object.defineProperty(e,t,{get:function(){return o},set:function(e){for(var i=n.length-1;i>=0;--i)n[i]({property:t,value:e},r)===!1&&n.splice(i,1);o=e,++r}})})}function StreamLikeSequence(){}function SplitStreamSequence(e,t){this.parent=e,this.delimiter=t,this.each=this.getEachForDelimiter(t)}function MatchedStreamSequence(e,t){this.parent=e,this.pattern=cloneRegex(t)}function createCallback(e,t){switch(typeof e){case"function":return e;case"string":return function(t){return t[e]};case"object":return function(t){return Lazy(e).all(function(e,n){return t[n]===e})};case"undefined":return t?function(){return t}:Lazy.identity;default:throw new Error("Don't know how to make a callback from a "+typeof e+"!")}}function createComparator(e,t){return e?(e=createCallback(e),function(t,n){return compare(e(t),e(n))}):compare}function reverseArguments(e){return function(t,n){return e(n,t)}}function createSet(e){var t=new Set;return Lazy(e||[]).flatten().each(function(e){t.add(e)}),t}function compare(e,t){return e===t?0:e>t?1:-1}function forEach(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n)===!1)return!1;return!0}function getFirst(e){var t;return e.each(function(e){return t=e,!1}),t}function arrayContains(e,t){var n=-1,r=e.length;if(t!==t){for(;++n<r;)if(e[n]!==e[n])return!0;return!1}for(;++n<r;)if(e[n]===t)return!0;return!1}function arrayContainsBefore(e,t,n,r){var o=-1;if(r){for(r=createCallback(r);++o<n;)if(r(e[o])===r(t))return!0}else for(;++o<n;)if(e[o]===t)return!0;return!1}function swap(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function cloneRegex(pattern){return eval(""+pattern+(pattern.global?"":"g"))}function Set(){this.table={},this.objects=[]}function Queue(e){this.contents=new Array(e),this.start=0,this.count=0}function defineSequenceType(e,t,n){var r=function(){};r.prototype=new e;for(var o in n)r.prototype[o]=n[o];for(var i=function(){var e=new r;return e.parent=this,e.init&&e.init.apply(e,arguments),e},u="string"==typeof t?[t]:t,c=0;c<u.length;++c)e.prototype[u[c]]=i;return r}Lazy.VERSION="0.4.2",Lazy.noop=function(){},Lazy.identity=function(e){return e},Lazy.strict=function(){function e(e){if(null==e)throw new Error("You cannot wrap null or undefined using Lazy.");if("number"==typeof e||"boolean"==typeof e)throw new Error("You cannot wrap primitive values using Lazy.");return Lazy(e)}return Lazy(Lazy).each(function(t,n){e[n]=t}),e},Sequence.define=function(e,t){if(!t||!t.getIterator&&!t.each)throw new Error("A custom sequence must implement *at least* getIterator or each!");return defineSequenceType(Sequence,e,t)},Sequence.prototype.size=function(){return this.getIndex().length()},Sequence.prototype.getIterator=function(){return new Iterator(this)},Sequence.prototype.root=function(){return this.parent.root()},Sequence.prototype.isAsync=function(){return this.parent?this.parent.isAsync():!1},Sequence.prototype.value=function(){return this.toArray()},Sequence.prototype.apply=function(e){var t,n=this.root(),r=n.source;try{n.source=e,t=this.value()}finally{n.source=r}return t},Iterator.prototype.current=function(){return this.cachedIndex&&this.cachedIndex.get(this.index)},Iterator.prototype.moveNext=function(){var e=this.cachedIndex;return e||(e=this.cachedIndex=this.sequence.getIndex()),this.index>=e.length()-1?!1:(++this.index,!0)},Sequence.prototype.toArray=function(){return this.reduce(function(e,t){return e.push(t),e},[])},Sequence.prototype.getIndex=function(){return new ArrayWrapper(this.toArray())},Sequence.prototype.get=function(e){var t;return this.each(function(n,r){return r===e?(t=n,!1):void 0}),t},Sequence.prototype.memoize=function(){return new MemoizedSequence(this)},Sequence.prototype.toObject=function(){return this.reduce(function(e,t){return e[t[0]]=t[1],e},{})},Sequence.prototype.each=function(e){for(var t=this.getIterator(),n=-1;t.moveNext();)if(e(t.current(),++n)===!1)return!1;return!0},Sequence.prototype.forEach=function(e){return this.each(e)},Sequence.prototype.map=function(e){return new MappedSequence(this,createCallback(e))},Sequence.prototype.collect=function(e){return this.map(e)},MappedSequence.prototype=new Sequence,MappedSequence.prototype.getIterator=function(){return new MappingIterator(this.parent,this.mapFn)},MappedSequence.prototype.each=function(e){var t=this.mapFn;return this.parent.each(function(n,r){return e(t(n,r),r)})},MappingIterator.prototype.current=function(){return this.mapFn(this.iterator.current(),this.index)},MappingIterator.prototype.moveNext=function(){return this.iterator.moveNext()?(++this.index,!0):!1},Sequence.prototype.pluck=function(e){return this.map(e)},Sequence.prototype.invoke=function(e){return this.map(function(t){return t[e]()})},Sequence.prototype.filter=function(e){return new FilteredSequence(this,createCallback(e))},Sequence.prototype.select=function(e){return this.filter(e)},FilteredSequence.prototype=new Sequence,FilteredSequence.prototype.getIterator=function(){return new FilteringIterator(this.parent,this.filterFn)},FilteredSequence.prototype.each=function(e){var t=this.filterFn,n=0;return this.parent.each(function(r,o){return t(r,o)?e(r,n++):void 0})},FilteredSequence.prototype.reverse=function(){return this.parent.reverse().filter(this.filterFn)},FilteringIterator.prototype.current=function(){return this.value},FilteringIterator.prototype.moveNext=function(){for(var e,t=this.iterator,n=this.filterFn;t.moveNext();)if(e=t.current(),n(e,this.index++))return this.value=e,!0;return this.value=void 0,!1},Sequence.prototype.reject=function(e){return e=createCallback(e),this.filter(function(t){return!e(t)})},Sequence.prototype.ofType=function(e){return this.filter(function(t){return typeof t===e})},Sequence.prototype.where=function(e){return this.filter(e)},Sequence.prototype.reverse=function(){return new ReversedSequence(this)},ReversedSequence.prototype=new Sequence,ReversedSequence.prototype.getIterator=function(){return new ReversedIterator(this.parent)},ReversedIterator.prototype.current=function(){return this.getIndex().get(this.index)},ReversedIterator.prototype.moveNext=function(){var e=this.getIndex(),t=e.length();return"undefined"==typeof this.index&&(this.index=t),--this.index>=0},ReversedIterator.prototype.getIndex=function(){return this.cachedIndex||(this.cachedIndex=this.sequence.getIndex()),this.cachedIndex},Sequence.prototype.concat=function(e){return new ConcatenatedSequence(this,arraySlice.call(arguments,0))},ConcatenatedSequence.prototype=new Sequence,ConcatenatedSequence.prototype.each=function(e){var t=!1,n=0;this.parent.each(function(r){return e(r,n++)===!1?(t=!0,!1):void 0}),t||Lazy(this.arrays).flatten().each(function(t){return e(t,n++)===!1?!1:void 0})},Sequence.prototype.first=function(e){return"undefined"==typeof e?getFirst(this):new TakeSequence(this,e)},Sequence.prototype.head=Sequence.prototype.take=function(e){return this.first(e)},TakeSequence.prototype=new Sequence,TakeSequence.prototype.getIterator=function(){return new TakeIterator(this.parent,this.count)},TakeSequence.prototype.each=function(e){var t,n=this.count,r=0,o=this.parent.each(function(o){return n>r&&(t=e(o,r++)),r>=n?!1:t});return o instanceof AsyncHandle?o:r===n&&t!==!1},TakeIterator.prototype.current=function(){return this.iterator.current()},TakeIterator.prototype.moveNext=function(){return--this.count>=0&&this.iterator.moveNext()},Sequence.prototype.takeWhile=function(e){return new TakeWhileSequence(this,e)},TakeWhileSequence.prototype=new Sequence,TakeWhileSequence.prototype.each=function(e){var t=this.predicate,n=!1,r=0,o=this.parent.each(function(o,i){return t(o,i)?e(o,r++):(n=!0,!1)});return o instanceof AsyncHandle?o:n},Sequence.prototype.initial=function(e){return new InitialSequence(this,e)},InitialSequence.prototype=new Sequence,InitialSequence.prototype.each=function(e){var t=this.parent.getIndex();return t.take(t.length()-this.count).each(e)},Sequence.prototype.last=function(e){return"undefined"==typeof e?this.reverse().first():this.reverse().take(e).reverse()},Sequence.prototype.findWhere=function(e){return this.where(e).first()},Sequence.prototype.rest=function(e){return new DropSequence(this,e)},Sequence.prototype.skip=Sequence.prototype.tail=Sequence.prototype.drop=function(e){return this.rest(e)},DropSequence.prototype=new Sequence,DropSequence.prototype.each=function(e){var t=this.count,n=0,r=0;return this.parent.each(function(o){return n++<t?void 0:e(o,r++)})},Sequence.prototype.dropWhile=function(e){return new DropWhileSequence(this,e)},Sequence.prototype.skipWhile=function(e){return this.dropWhile(e)},DropWhileSequence.prototype=new Sequence,DropWhileSequence.prototype.each=function(e){var t=this.predicate,n=!1;return this.parent.each(function(r){if(!n){if(t(r))return;n=!0}return e(r)})},Sequence.prototype.sort=function(e,t){return e||(e=compare),t&&(e=reverseArguments(e)),new SortedSequence(this,e)},Sequence.prototype.sortBy=function(e,t){return e=createComparator(e),t&&(e=reverseArguments(e)),new SortedSequence(this,e)},SortedSequence.prototype=new Sequence,SortedSequence.prototype.each=function(e){var t=this.sortFn,n=this.parent.toArray();return n.sort(t),forEach(n,e)},SortedSequence.prototype.reverse=function(){return new SortedSequence(this.parent,reverseArguments(this.sortFn))},Sequence.prototype.groupBy=function(e,t){return new GroupedSequence(this,e,t)},Sequence.prototype.indexBy=function(e,t){return new IndexedSequence(this,e,t)},Sequence.prototype.countBy=function(e){return new CountedSequence(this,e)},Sequence.prototype.uniq=function(e){return new UniqueSequence(this,e)},Sequence.prototype.unique=function(e){return this.uniq(e)},UniqueSequence.prototype=new Sequence,UniqueSequence.prototype.each=function(e){var t=new Set,n=this.keyFn,r=0;return n?(n=createCallback(n),this.parent.each(function(o){return t.add(n(o))?e(o,r++):void 0})):this.parent.each(function(n){return t.add(n)?e(n,r++):void 0})},Sequence.prototype.zip=function(e){return 1===arguments.length?new SimpleZippedSequence(this,e):new ZippedSequence(this,arraySlice.call(arguments,0))},ZippedSequence.prototype=new Sequence,ZippedSequence.prototype.each=function(e){var t=this.arrays,n=0;this.parent.each(function(r){for(var o=[r],i=0;i<t.length;++i)t[i].length>n&&o.push(t[i][n]);return e(o,n++)})},Sequence.prototype.shuffle=function(){return new ShuffledSequence(this)},ShuffledSequence.prototype=new Sequence,ShuffledSequence.prototype.each=function(e){for(var t=this.parent.toArray(),n=Math.floor,r=Math.random,o=0,i=t.length-1;i>0;--i)if(swap(t,i,n(r()*(i+1))),e(t[i],o++)===!1)return;e(t[0],o)},Sequence.prototype.flatten=function(){return new FlattenedSequence(this)},FlattenedSequence.prototype=new Sequence,
+FlattenedSequence.prototype.each=function(e){var t=0;return this.parent.each(function n(r){return r instanceof Array?forEach(r,n):r instanceof Sequence?r.each(n):e(r,t++)})},Sequence.prototype.compact=function(){return this.filter(function(e){return!!e})},Sequence.prototype.without=function(e){return new WithoutSequence(this,arraySlice.call(arguments,0))},Sequence.prototype.difference=function(e){return this.without.apply(this,arguments)},WithoutSequence.prototype=new Sequence,WithoutSequence.prototype.each=function(e){var t=createSet(this.values),n=0;return this.parent.each(function(r){return t.contains(r)?void 0:e(r,n++)})},Sequence.prototype.union=function(e){return this.concat(e).uniq()},Sequence.prototype.intersection=function(e){return 1===arguments.length&&arguments[0]instanceof Array?new SimpleIntersectionSequence(this,e):new IntersectionSequence(this,arraySlice.call(arguments,0))},IntersectionSequence.prototype=new Sequence,IntersectionSequence.prototype.each=function(e){var t=Lazy(this.arrays).map(function(e){return new UniqueMemoizer(Lazy(e).getIterator())}),n=new UniqueMemoizer(t.getIterator()),r=0;return this.parent.each(function(t){var o=!0;return n.each(function(e){return e.contains(t)?void 0:(o=!1,!1)}),o?e(t,r++):void 0})},UniqueMemoizer.prototype.current=function(){return this.currentValue},UniqueMemoizer.prototype.moveNext=function(){for(var e,t=this.iterator,n=this.set,r=this.memo;t.moveNext();)if(e=t.current(),n.add(e))return r.push(e),this.currentValue=e,!0;return!1},UniqueMemoizer.prototype.each=function(e){for(var t=this.memo,n=t.length,r=-1;++r<n;)if(e(t[r],r)===!1)return!1;for(;this.moveNext()&&e(this.currentValue,r++)!==!1;);},UniqueMemoizer.prototype.contains=function(e){if(this.set.contains(e))return!0;for(;this.moveNext();)if(this.currentValue===e)return!0;return!1},Sequence.prototype.every=function(e){return e=createCallback(e),this.each(function(t,n){return!!e(t,n)})},Sequence.prototype.all=function(e){return this.every(e)},Sequence.prototype.some=function(e){e=createCallback(e,!0);var t=!1;return this.each(function(n){return e(n)?(t=!0,!1):void 0}),t},Sequence.prototype.any=function(e){return this.some(e)},Sequence.prototype.none=function(e){return!this.any(e)},Sequence.prototype.isEmpty=function(){return!this.any()},Sequence.prototype.indexOf=function(e){var t=-1;return this.each(function(n,r){return n===e?(t=r,!1):void 0}),t},Sequence.prototype.lastIndexOf=function(e){var t=this.getIndex().reverse(),n=t.indexOf(e);return-1!==n&&(n=t.length()-n-1),n},Sequence.prototype.sortedIndex=function(e){for(var t,n=this.getIndex(),r=0,o=n.length();o>r;)t=r+o>>>1,-1===compare(n.get(t),e)?r=t+1:o=t;return r},Sequence.prototype.contains=function(e){return-1!==this.indexOf(e)},Sequence.prototype.reduce=function(e,t){if(arguments.length<2)return this.tail().reduce(e,this.head());var n=this.each(function(n,r){t=e(t,n,r)});return n instanceof AsyncHandle?n.then(function(){return t}):t},Sequence.prototype.inject=Sequence.prototype.foldl=function(e,t){return this.reduce(e,t)},Sequence.prototype.reduceRight=function(e,t){if(arguments.length<2)return this.initial(1).reduceRight(e,this.last());var n=this.getIndex(),r=n.length()-1;return n.reverse().reduce(function(t,n){return e(t,n,r--)},t)},Sequence.prototype.foldr=function(e,t){return this.reduceRight(e,t)},Sequence.prototype.consecutive=function(e){var t=new Queue(e),n=this.map(function(n){return t.add(n).count===e?t.toArray():void 0});return n.compact()},Sequence.prototype.chunk=function(e){if(1>e)throw new Error("You must specify a positive chunk size.");return new ChunkedSequence(this,e)},ChunkedSequence.prototype=new Sequence,ChunkedSequence.prototype.getIterator=function(){return new ChunkedIterator(this.parent,this.chunkSize)},ChunkedIterator.prototype.current=function(){return this.currentChunk},ChunkedIterator.prototype.moveNext=function(){for(var e=this.iterator,t=this.size,n=[];n.length<t&&e.moveNext();)n.push(e.current());return 0===n.length?!1:(this.currentChunk=n,!0)},Sequence.prototype.tap=function(e){return new TappedSequence(this,e)},TappedSequence.prototype=new Sequence,TappedSequence.prototype.each=function(e){var t=this.callback;return this.parent.each(function(n,r){return t(n,r),e(n,r)})},Sequence.prototype.find=function(e){return this.filter(e).first()},Sequence.prototype.detect=function(e){return this.find(e)},Sequence.prototype.min=function(e){return"undefined"!=typeof e?this.minBy(e):this.reduce(function(e,t){return e>t?t:e},1/0)},Sequence.prototype.minBy=function(e){return e=createCallback(e),this.reduce(function(t,n){return e(n)<e(t)?n:t})},Sequence.prototype.max=function(e){return"undefined"!=typeof e?this.maxBy(e):this.reduce(function(e,t){return t>e?t:e},-(1/0))},Sequence.prototype.maxBy=function(e){return e=createCallback(e),this.reduce(function(t,n){return e(n)>e(t)?n:t})},Sequence.prototype.sum=function(e){return"undefined"!=typeof e?this.sumBy(e):this.reduce(function(e,t){return e+t},0)},Sequence.prototype.sumBy=function(e){return e=createCallback(e),this.reduce(function(t,n){return t+e(n)},0)},Sequence.prototype.join=function(e){return e="string"==typeof e?e:",",this.reduce(function(t,n,r){return r>0&&(t+=e),t+n},"")},Sequence.prototype.toString=function(e){return this.join(e)},Sequence.prototype.async=function(e){return new AsyncSequence(this,e)},SimpleIntersectionSequence.prototype=new Sequence,SimpleIntersectionSequence.prototype.eachMemoizerCache=function(e){var t=new UniqueMemoizer(Lazy(this.array).getIterator()),n=0;return this.parent.each(function(r){return t.contains(r)?e(r,n++):void 0})},SimpleIntersectionSequence.prototype.eachArrayCache=function(e){var t=this.array,n=arrayContains,r=0;return this.parent.each(function(o){return n(t,o)?e(o,r++):void 0})},SimpleZippedSequence.prototype=new Sequence,SimpleZippedSequence.prototype.each=function(e){var t=this.array;return this.parent.each(function(n,r){return e([n,t[r]],r)})},ArrayLikeSequence.prototype=new Sequence,ArrayLikeSequence.define=function(e,t){if(!t||"function"!=typeof t.get)throw new Error("A custom array-like sequence must implement *at least* get!");return defineSequenceType(ArrayLikeSequence,e,t)},ArrayLikeSequence.prototype.get=function(e){return this.parent.get(e)},ArrayLikeSequence.prototype.length=function(){return this.parent.length()},ArrayLikeSequence.prototype.getIndex=function(){return this},ArrayLikeSequence.prototype.getIterator=function(){return new IndexedIterator(this)},IndexedIterator.prototype.current=function(){return this.sequence.get(this.index)},IndexedIterator.prototype.moveNext=function(){return this.index>=this.sequence.length()-1?!1:(++this.index,!0)},ArrayLikeSequence.prototype.each=function(e){for(var t=this.length(),n=-1;++n<t;)if(e(this.get(n),n)===!1)return!1;return!0},ArrayLikeSequence.prototype.pop=function(){return this.initial()},ArrayLikeSequence.prototype.shift=function(){return this.drop()},ArrayLikeSequence.prototype.slice=function(e,t){var n=this.length();0>e&&(e=n+e);var r=this.drop(e);return"number"==typeof t&&(0>t&&(t=n+t),r=r.take(t-e)),r},ArrayLikeSequence.prototype.map=function(e){return new IndexedMappedSequence(this,createCallback(e))},IndexedMappedSequence.prototype=new ArrayLikeSequence,IndexedMappedSequence.prototype.get=function(e){return 0>e||e>=this.parent.length()?void 0:this.mapFn(this.parent.get(e),e)},ArrayLikeSequence.prototype.filter=function(e){return new IndexedFilteredSequence(this,createCallback(e))},IndexedFilteredSequence.prototype=new FilteredSequence,IndexedFilteredSequence.prototype.each=function(e){for(var t,n=this.parent,r=this.filterFn,o=this.parent.length(),i=-1,u=0;++i<o;)if(t=n.get(i),r(t,i)&&e(t,u++)===!1)return!1;return!0},ArrayLikeSequence.prototype.reverse=function(){return new IndexedReversedSequence(this)},IndexedReversedSequence.prototype=new ArrayLikeSequence,IndexedReversedSequence.prototype.get=function(e){return this.parent.get(this.length()-e-1)},ArrayLikeSequence.prototype.first=function(e){return"undefined"==typeof e?this.get(0):new IndexedTakeSequence(this,e)},IndexedTakeSequence.prototype=new ArrayLikeSequence,IndexedTakeSequence.prototype.length=function(){var e=this.parent.length();return this.count<=e?this.count:e},ArrayLikeSequence.prototype.rest=function(e){return new IndexedDropSequence(this,e)},IndexedDropSequence.prototype=new ArrayLikeSequence,IndexedDropSequence.prototype.get=function(e){return this.parent.get(this.count+e)},IndexedDropSequence.prototype.length=function(){var e=this.parent.length();return this.count<=e?e-this.count:0},ArrayLikeSequence.prototype.concat=function(e){return 1===arguments.length&&arguments[0]instanceof Array?new IndexedConcatenatedSequence(this,e):Sequence.prototype.concat.apply(this,arguments)},IndexedConcatenatedSequence.prototype=new ArrayLikeSequence,IndexedConcatenatedSequence.prototype.get=function(e){var t=this.parent.length();return t>e?this.parent.get(e):this.other[e-t]},IndexedConcatenatedSequence.prototype.length=function(){return this.parent.length()+this.other.length},ArrayLikeSequence.prototype.uniq=function(e){return new IndexedUniqueSequence(this,createCallback(e))},IndexedUniqueSequence.prototype=new Sequence,IndexedUniqueSequence.prototype.eachArrayCache=function(e){for(var t,n,r=this.parent,o=this.keyFn,i=r.length(),u=[],c=arrayContains,a=-1,s=0;++a<i;)if(n=r.get(a),t=o(n),!c(u,t)&&(u.push(t),e(n,s++)===!1))return!1},IndexedUniqueSequence.prototype.eachSetCache=UniqueSequence.prototype.each,MemoizedSequence.prototype=new ArrayLikeSequence,MemoizedSequence.prototype.cache=function(){return this.cachedResult||(this.cachedResult=this.parent.toArray())},MemoizedSequence.prototype.get=function(e){return this.cache()[e]},MemoizedSequence.prototype.length=function(){return this.cache().length},MemoizedSequence.prototype.slice=function(e,t){return this.cache().slice(e,t)},MemoizedSequence.prototype.toArray=function(){return this.cache().slice(0)},ArrayWrapper.prototype=new ArrayLikeSequence,ArrayWrapper.prototype.root=function(){return this},ArrayWrapper.prototype.isAsync=function(){return!1},ArrayWrapper.prototype.get=function(e){return this.source[e]},ArrayWrapper.prototype.length=function(){return this.source.length},ArrayWrapper.prototype.each=function(e){return forEach(this.source,e)},ArrayWrapper.prototype.map=function(e){return new MappedArrayWrapper(this,createCallback(e))},ArrayWrapper.prototype.filter=function(e){return new FilteredArrayWrapper(this,createCallback(e))},ArrayWrapper.prototype.uniq=function(e){return new UniqueArrayWrapper(this,e)},ArrayWrapper.prototype.concat=function(e){return 1===arguments.length&&arguments[0]instanceof Array?new ConcatArrayWrapper(this,e):ArrayLikeSequence.prototype.concat.apply(this,arguments)},ArrayWrapper.prototype.toArray=function(){return this.source.slice(0)},MappedArrayWrapper.prototype=new ArrayLikeSequence,MappedArrayWrapper.prototype.get=function(e){var t=this.parent.source;if(!(0>e||e>=t.length))return this.mapFn(t[e])},MappedArrayWrapper.prototype.length=function(){return this.parent.source.length},MappedArrayWrapper.prototype.each=function(e){for(var t=this.parent.source,n=t.length,r=this.mapFn,o=-1;++o<n;)if(e(r(t[o],o),o)===!1)return!1;return!0},FilteredArrayWrapper.prototype=new FilteredSequence,FilteredArrayWrapper.prototype.each=function(e){for(var t,n=this.parent.source,r=this.filterFn,o=n.length,i=-1,u=0;++i<o;)if(t=n[i],r(t,i)&&e(t,u++)===!1)return!1;return!0},UniqueArrayWrapper.prototype=new Sequence,UniqueArrayWrapper.prototype.eachNoCache=function(e){for(var t,n=this.parent.source,r=this.keyFn,o=n.length,i=arrayContainsBefore,u=-1,c=0;++u<o;)if(t=n[u],!i(n,t,u,r)&&e(t,c++)===!1)return!1;return!0},UniqueArrayWrapper.prototype.eachArrayCache=function(e){var t,n,r=this.parent.source,o=this.keyFn,i=r.length,u=[],c=arrayContains,a=-1,s=0;if(o){for(o=createCallback(o);++a<i;)if(n=r[a],t=o(n),!c(u,t)&&(u.push(t),e(n,s++)===!1))return!1}else for(;++a<i;)if(n=r[a],!c(u,n)&&(u.push(n),e(n,s++)===!1))return!1;return!0},UniqueArrayWrapper.prototype.eachSetCache=UniqueSequence.prototype.each,ConcatArrayWrapper.prototype=new ArrayLikeSequence,ConcatArrayWrapper.prototype.get=function(e){var t=this.parent.source,n=t.length;return n>e?t[e]:this.other[e-n]},ConcatArrayWrapper.prototype.length=function(){return this.parent.source.length+this.other.length},ConcatArrayWrapper.prototype.each=function(e){for(var t=this.parent.source,n=t.length,r=this.other,o=r.length,i=0,u=-1;++u<n;)if(e(t[u],i++)===!1)return!1;for(u=-1;++u<o;)if(e(r[u],i++)===!1)return!1;return!0},ObjectLikeSequence.prototype=new Sequence,ObjectLikeSequence.define=function(e,t){if(!t||"function"!=typeof t.each)throw new Error("A custom object-like sequence must implement *at least* each!");return defineSequenceType(ObjectLikeSequence,e,t)},ObjectLikeSequence.prototype.value=function(){return this.toObject()},ObjectLikeSequence.prototype.get=function(e){var t=this.pairs().find(function(t){return t[0]===e});return t?t[1]:void 0},ObjectLikeSequence.prototype.keys=function(){return this.map(function(e,t){return t})},ObjectLikeSequence.prototype.values=function(){return this.map(function(e,t){return e})},ObjectLikeSequence.prototype.async=function(){throw new Error("An ObjectLikeSequence does not support asynchronous iteration.")},ObjectLikeSequence.prototype.filter=function(e){return new FilteredObjectLikeSequence(this,createCallback(e))},FilteredObjectLikeSequence.prototype=new ObjectLikeSequence,FilteredObjectLikeSequence.prototype.each=function(e){var t=this.filterFn;return this.parent.each(function(n,r){return t(n,r)?e(n,r):void 0})},ObjectLikeSequence.prototype.reverse=function(){return this},ObjectLikeSequence.prototype.assign=function(e){return new AssignSequence(this,e)},ObjectLikeSequence.prototype.extend=function(e){return this.assign(e)},AssignSequence.prototype=new ObjectLikeSequence,AssignSequence.prototype.get=function(e){return this.other[e]||this.parent.get(e)},AssignSequence.prototype.each=function(e){var t=new Set,n=!1;return Lazy(this.other).each(function(r,o){return e(r,o)===!1?(n=!0,!1):void t.add(o)}),n?void 0:this.parent.each(function(n,r){return t.contains(r)||e(n,r)!==!1?void 0:!1})},ObjectLikeSequence.prototype.defaults=function e(e){return new DefaultsSequence(this,e)},DefaultsSequence.prototype=new ObjectLikeSequence,DefaultsSequence.prototype.get=function(e){return this.parent.get(e)||this.defaults[e]},DefaultsSequence.prototype.each=function(e){var t=new Set,n=!1;this.parent.each(function(r,o){return e(r,o)===!1?(n=!0,!1):void("undefined"!=typeof r&&t.add(o))}),n||Lazy(this.defaults).each(function(n,r){return t.contains(r)||e(n,r)!==!1?void 0:!1})},ObjectLikeSequence.prototype.invert=function(){return new InvertedSequence(this)},InvertedSequence.prototype=new ObjectLikeSequence,InvertedSequence.prototype.each=function(e){this.parent.each(function(t,n){return e(n,t)})},ObjectLikeSequence.prototype.merge=function(e){var t=arguments.length>1&&"function"==typeof arguments[arguments.length-1]?arrayPop.call(arguments):null;return new MergedSequence(this,arraySlice.call(arguments,0),t)},MergedSequence.prototype=new ObjectLikeSequence,MergedSequence.prototype.each=function(e){var t=this.others,n=this.mergeFn||mergeObjects,r={},o=this.parent.each(function(o,i){var u=o;return forEach(t,function(e){i in e&&(u=n(u,e[i]))}),r[i]=!0,e(u,i)});if(o===!1)return!1;var i={};return forEach(t,function(e){for(var t in e)r[t]||(i[t]=n(i[t],e[t]))}),Lazy(i).each(e)},ObjectLikeSequence.prototype.functions=function(){return this.filter(function(e,t){return"function"==typeof e}).map(function(e,t){return t})},ObjectLikeSequence.prototype.methods=function(){return this.functions()},ObjectLikeSequence.prototype.pick=function(e){return new PickSequence(this,e)},PickSequence.prototype=new ObjectLikeSequence,PickSequence.prototype.get=function(e){return arrayContains(this.properties,e)?this.parent.get(e):void 0},PickSequence.prototype.each=function(e){var t=arrayContains,n=this.properties;return this.parent.each(function(r,o){return t(n,o)?e(r,o):void 0})},ObjectLikeSequence.prototype.omit=function(e){return new OmitSequence(this,e)},OmitSequence.prototype=new ObjectLikeSequence,OmitSequence.prototype.get=function(e){return arrayContains(this.properties,e)?void 0:this.parent.get(e)},OmitSequence.prototype.each=function(e){var t=arrayContains,n=this.properties;return this.parent.each(function(r,o){return t(n,o)?void 0:e(r,o)})},ObjectLikeSequence.prototype.pairs=function(){return this.map(function(e,t){return[t,e]})},ObjectLikeSequence.prototype.toArray=function(){return this.pairs().toArray()},ObjectLikeSequence.prototype.toObject=function(){return this.reduce(function(e,t,n){return e[n]=t,e},{})},GroupedSequence.prototype=new ObjectLikeSequence,GroupedSequence.prototype.each=function(e){var t,n=createCallback(this.keyFn),r=createCallback(this.valFn);return t=this.parent.reduce(function(e,t){var o=n(t),i=r(t);return e[o]instanceof Array?e[o].push(i):e[o]=[i],e},{}),transform(function(t){for(var n in t)if(e(t[n],n)===!1)return!1},t)},IndexedSequence.prototype=new ObjectLikeSequence,IndexedSequence.prototype.each=function(e){var t=createCallback(this.keyFn),n=createCallback(this.valFn),r={};return this.parent.each(function(o){var i=t(o),u=n(o);return r[i]?void 0:(r[i]=u,e(u,i))})},CountedSequence.prototype=new ObjectLikeSequence,CountedSequence.prototype.each=function(e){var t=createCallback(this.keyFn),n={};this.parent.each(function(e){var r=t(e);n[r]?n[r]+=1:n[r]=1});for(var r in n)if(e(n[r],r)===!1)return!1;return!0},ObjectLikeSequence.prototype.watch=function(e){throw new Error("You can only call #watch on a directly wrapped object.")},ObjectWrapper.prototype=new ObjectLikeSequence,ObjectWrapper.prototype.root=function(){return this},ObjectWrapper.prototype.isAsync=function(){return!1},ObjectWrapper.prototype.get=function(e){return this.source[e]},ObjectWrapper.prototype.each=function(e){var t,n=this.source;for(t in n)if(e(n[t],t)===!1)return!1;return!0},StringLikeSequence.prototype=new ArrayLikeSequence,StringLikeSequence.define=function(e,t){if(!t||"function"!=typeof t.get)throw new Error("A custom string-like sequence must implement *at least* get!");return defineSequenceType(StringLikeSequence,e,t)},StringLikeSequence.prototype.value=function(){return this.toString()},StringLikeSequence.prototype.getIterator=function(){return new CharIterator(this)},CharIterator.prototype.current=function(){return this.source.charAt(this.index)},CharIterator.prototype.moveNext=function(){return++this.index<this.source.length()},StringLikeSequence.prototype.charAt=function(e){return this.get(e)},StringLikeSequence.prototype.charCodeAt=function(e){var t=this.charAt(e);return t?t.charCodeAt(0):NaN},StringLikeSequence.prototype.substring=function(e,t){return new StringSegment(this,e,t)},StringSegment.prototype=new StringLikeSequence,StringSegment.prototype.get=function(e){return this.parent.get(e+this.start)},StringSegment.prototype.length=function(){return("number"==typeof this.stop?this.stop:this.parent.length())-this.start},StringLikeSequence.prototype.first=function(e){return"undefined"==typeof e?this.charAt(0):this.substring(0,e)},StringLikeSequence.prototype.last=function(e){return"undefined"==typeof e?this.charAt(this.length()-1):this.substring(this.length()-e)},StringLikeSequence.prototype.drop=function(e){return this.substring(e)},StringLikeSequence.prototype.indexOf=function(e,t){return this.toString().indexOf(e,t)},StringLikeSequence.prototype.lastIndexOf=function(e,t){return this.toString().lastIndexOf(e,t)},StringLikeSequence.prototype.contains=function(e){return-1!==this.indexOf(e)},StringLikeSequence.prototype.endsWith=function(e){return this.substring(this.length()-e.length).toString()===e},StringLikeSequence.prototype.startsWith=function(e){return this.substring(0,e.length).toString()===e},StringLikeSequence.prototype.toUpperCase=function(){return this.mapString(function(e){return e.toUpperCase()})},StringLikeSequence.prototype.toLowerCase=function(){return this.mapString(function(e){return e.toLowerCase()})},StringLikeSequence.prototype.mapString=function(e){return new MappedStringLikeSequence(this,e)},MappedStringLikeSequence.prototype=new StringLikeSequence,MappedStringLikeSequence.prototype.get=IndexedMappedSequence.prototype.get,MappedStringLikeSequence.prototype.length=IndexedMappedSequence.prototype.length,StringLikeSequence.prototype.reverse=function(){return new ReversedStringLikeSequence(this)},ReversedStringLikeSequence.prototype=new StringLikeSequence,ReversedStringLikeSequence.prototype.get=IndexedReversedSequence.prototype.get,ReversedStringLikeSequence.prototype.length=IndexedReversedSequence.prototype.length,StringLikeSequence.prototype.toString=function(){return this.join("")},StringLikeSequence.prototype.match=function(e){return new StringMatchSequence(this,e)},StringMatchSequence.prototype=new Sequence,StringMatchSequence.prototype.getIterator=function(){return new StringMatchIterator(this.parent.toString(),this.pattern)},StringMatchIterator.prototype.current=function(){return this.match[0]},StringMatchIterator.prototype.moveNext=function(){return!!(this.match=this.pattern.exec(this.source))},StringLikeSequence.prototype.split=function(e){return new SplitStringSequence(this,e)},SplitStringSequence.prototype=new Sequence,SplitStringSequence.prototype.getIterator=function(){var e=this.parent.toString();return this.pattern instanceof RegExp?""===this.pattern.source||"(?:)"===this.pattern.source?new CharIterator(e):new SplitWithRegExpIterator(e,this.pattern):""===this.pattern?new CharIterator(e):new SplitWithStringIterator(e,this.pattern)},SplitWithRegExpIterator.prototype.current=function(){return this.source.substring(this.start,this.end)},SplitWithRegExpIterator.prototype.moveNext=function(){if(!this.pattern)return!1;var e=this.pattern.exec(this.source);return e?(this.start=this.nextStart?this.nextStart:0,this.end=e.index,this.nextStart=e.index+e[0].length,!0):this.pattern?(this.start=this.nextStart,this.end=void 0,this.nextStart=void 0,this.pattern=void 0,!0):!1},SplitWithStringIterator.prototype.current=function(){return this.source.substring(this.leftIndex,this.rightIndex)},SplitWithStringIterator.prototype.moveNext=function(){return this.finished||(this.leftIndex="undefined"!=typeof this.leftIndex?this.rightIndex+this.delimiter.length:0,this.rightIndex=this.source.indexOf(this.delimiter,this.leftIndex)),-1===this.rightIndex?(this.finished=!0,this.rightIndex=void 0,!0):!this.finished},StringWrapper.prototype=new StringLikeSequence,StringWrapper.prototype.root=function(){return this},StringWrapper.prototype.isAsync=function(){return!1},StringWrapper.prototype.get=function(e){return this.source.charAt(e)},StringWrapper.prototype.length=function(){return this.source.length},StringWrapper.prototype.toString=function(){return this.source},GeneratedSequence.prototype=new Sequence,GeneratedSequence.prototype.isAsync=function(){return!1},GeneratedSequence.prototype.length=function(){return this.fixedLength},GeneratedSequence.prototype.each=function(e){for(var t=this.get,n=this.fixedLength,r=0;"undefined"==typeof n||n>r;)if(e(t(r),r++)===!1)return!1;return!0},GeneratedSequence.prototype.getIterator=function(){return new GeneratedIterator(this)},GeneratedIterator.prototype.current=function(){return this.currentValue},GeneratedIterator.prototype.moveNext=function(){var e=this.sequence;return"number"==typeof e.fixedLength&&this.index>=e.fixedLength?!1:(this.currentValue=e.get(this.index++),!0)},AsyncSequence.prototype=new Sequence,AsyncSequence.prototype.isAsync=function(){return!0},AsyncSequence.prototype.getIterator=function(){throw new Error("An AsyncSequence does not support synchronous iteration.")},AsyncSequence.prototype.each=function(e){var t=this.parent.getIterator(),n=this.onNextCallback,r=this.cancelCallback,o=0,i=new AsyncHandle(function(){u&&r(u)}),u=n(function c(){u=null;try{t.moveNext()&&e(t.current(),o++)!==!1?u=n(c):i._resolve()}catch(r){i._reject(r)}});return i};var PENDING=1,RESOLVED=2,REJECTED=3;AsyncHandle.prototype.then=function(e,t){var n=new AsyncHandle(this.cancelFn);return this.resolveListeners.push(function(t){try{if("function"!=typeof e)return void resolve(n,t);resolve(n,e(t))}catch(r){n._reject(r)}}),this.rejectListeners.push(function(e){try{if("function"!=typeof t)return void n._reject(e);resolve(n,t(e))}catch(r){n._reject(r)}}),this.state===RESOLVED&&this._resolve(this.value),this.state===REJECTED&&this._reject(this.reason),n},AsyncHandle.prototype._resolve=function(e){this.state!==REJECTED&&(this.state===PENDING&&(this.state=RESOLVED,this.value=e),consumeListeners(this.resolveListeners,this.value))},AsyncHandle.prototype._reject=function(e){this.state!==RESOLVED&&(this.state===PENDING&&(this.state=REJECTED,this.reason=e),consumeListeners(this.rejectListeners,this.reason))},AsyncHandle.prototype.cancel=function(){this.cancelFn&&(this.cancelFn(),this.cancelFn=null,this._resolve(!1))},AsyncHandle.prototype.onComplete=function(e){return this.resolveListeners.push(e),this},AsyncHandle.prototype.onError=function(e){return this.rejectListeners.push(e),this},AsyncSequence.prototype.reverse=function(){return this.parent.reverse().async()},AsyncSequence.prototype.find=function(e){var t,n=this.each(function(n,r){return e(n,r)?(t=n,!1):void 0});return n.then(function(){return t})},AsyncSequence.prototype.indexOf=function(e){var t=-1,n=this.each(function(n,r){return n===e?(t=r,!1):void 0});return n.then(function(){return t})},AsyncSequence.prototype.contains=function(e){var t=!1,n=this.each(function(n){return n===e?(t=!0,!1):void 0});return n.then(function(){return t})},AsyncSequence.prototype.async=function(){return this},ObjectWrapper.prototype.watch=function(e){return new WatchedPropertySequence(this.source,e)},WatchedPropertySequence.prototype=new AsyncSequence,WatchedPropertySequence.prototype.each=function(e){this.listeners.push(e)},StreamLikeSequence.prototype=new AsyncSequence,StreamLikeSequence.prototype.isAsync=function(){return!0},StreamLikeSequence.prototype.split=function(e){return new SplitStreamSequence(this,e)},SplitStreamSequence.prototype=new Sequence,SplitStreamSequence.prototype.getEachForDelimiter=function(e){return e instanceof RegExp?this.regexEach:this.stringEach},SplitStreamSequence.prototype.regexEach=function(e){var t,n=cloneRegex(this.delimiter),r="",o=0,i=0,u=this.parent.each(function(u){r+=u;for(var c;c=n.exec(r);){if(t=c.index,e(r.substring(o,t),i++)===!1)return!1;o=t+c[0].length}r=r.substring(o),o=0});return u.onComplete(function(){r.length>0&&e(r,i++)}),u},SplitStreamSequence.prototype.stringEach=function(e){var t=this.delimiter,n=0,r="",o=this.parent.each(function(o){r+=o;for(var i;(i=r.indexOf(t))>=0;){var u=r.substr(0,i);if(r=r.substr(i+t.length),e(u,n++)===!1)return!1}return!0});return o.onComplete(function(){e(r,n++)}),o},StreamLikeSequence.prototype.lines=function(){return this.split("\n")},StreamLikeSequence.prototype.match=function(e){return new MatchedStreamSequence(this,e)},MatchedStreamSequence.prototype=new AsyncSequence,MatchedStreamSequence.prototype.each=function(e){var t=this.pattern,n=!1,r=0;return this.parent.each(function(o){return Lazy(o).match(t).each(function(t){return e(t,r++)===!1?(n=!0,!1):void 0}),!n})},Lazy.createWrapper=function(e){var t=function(){this.listeners=[]};return t.prototype=new StreamLikeSequence,t.prototype.each=function(e){this.listeners.push(e)},t.prototype.emit=function(e){for(var t=this.listeners,n=t.length,r=n-1;r>=0;--r)t[r](e)===!1&&t.splice(r,1)},function(){var n=new t;return e.apply(n,arguments),n}},Lazy.generate=function(e,t){return new GeneratedSequence(e,t)},Lazy.range=function(){var e=arguments.length>1?arguments[0]:0,t=arguments.length>1?arguments[1]:arguments[0],n=arguments.length>2&&arguments[2];return n===!1&&(n=t>e?1:-1),0===n?Lazy([]):Lazy.generate(function(t){return e+n*t}).take(Math.ceil((t-e)/n))},Lazy.repeat=function(e,t){return Lazy.generate(function(){return e},t)},Lazy.Sequence=Sequence,Lazy.ArrayLikeSequence=ArrayLikeSequence,Lazy.ObjectLikeSequence=ObjectLikeSequence,Lazy.StringLikeSequence=StringLikeSequence,Lazy.StreamLikeSequence=StreamLikeSequence,Lazy.GeneratedSequence=GeneratedSequence,Lazy.AsyncSequence=AsyncSequence,Lazy.AsyncHandle=AsyncHandle,Lazy.clone=function(e){return Lazy(e).value()},Lazy.deprecate=function(e,t){return function(){return console.warn(e),t.apply(this,arguments)}};var arrayPop=Array.prototype.pop,arraySlice=Array.prototype.slice;return Set.prototype.add=function(e){var t,n=this.table,r=typeof e;switch(r){case"number":case"boolean":case"undefined":return n[e]?!1:(n[e]=!0,!0);case"string":switch(e.charAt(0)){case"_":case"f":case"t":case"c":case"u":case"@":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"N":e="@"+e}return n[e]?!1:(n[e]=!0,!0);default:return t=this.objects,arrayContains(t,e)?!1:(t.push(e),!0)}},Set.prototype.contains=function(e){var t=typeof e;switch(t){case"number":case"boolean":case"undefined":return!!this.table[e];case"string":switch(e.charAt(0)){case"_":case"f":case"t":case"c":case"u":case"@":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"N":e="@"+e}return!!this.table[e];default:return arrayContains(this.objects,e)}},Queue.prototype.add=function(e){var t=this.contents,n=t.length,r=this.start;return this.count===n?(t[r]=e,this.start=(r+1)%n):t[this.count++]=e,this},Queue.prototype.toArray=function(){var e=this.contents,t=this.start,n=this.count,r=e.slice(t,t+n);return r.length<n&&(r=r.concat(e.slice(0,n-r.length))),r},Lazy})}).call(exports,__webpack_require__(157).setImmediate,__webpack_require__(157).clearImmediate)},function(e,t,n){(function(e,r){function o(e,t){this._id=e,this._clearFn=t}var i=n(158).nextTick,u=Function.prototype.apply,c=Array.prototype.slice,a={},s=0;t.setTimeout=function(){return new o(u.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new o(u.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},t.setImmediate="function"==typeof e?e:function(e){var n=s++,r=arguments.length<2?!1:c.call(arguments,1);return a[n]=!0,i(function(){a[n]&&(r?e.apply(null,r):e.call(null),t.clearImmediate(n))}),n},t.clearImmediate="function"==typeof r?r:function(e){delete a[e]}}).call(t,n(157).setImmediate,n(157).clearImmediate)},function(e,t){function n(){s=!1,u.length?a=u.concat(a):f=-1,a.length&&r()}function r(){if(!s){var e=setTimeout(n);s=!0;for(var t=a.length;t;){for(u=a,a=[];++f<t;)u&&u[f].run();f=-1,t=a.length}u=null,s=!1,clearTimeout(e)}}function o(e,t){this.fun=e,this.array=t}function i(){}var u,c=e.exports={},a=[],s=!1,f=-1;c.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];a.push(new o(e,t)),1!==a.length||s||setTimeout(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(164),i=r(o),u=n(167),c=r(u),a=n(221),s=r(a),f=n(222),p=r(f),h=n(225),l=n(226),y=n(227),d=10,v=256,g=function(){
+function e(t,n,r){(0,s["default"])(this,e),this.id=n,this._ipfs=t,this._items=r||[],this._currentBatch=[]}return(0,p["default"])(e,[{key:"add",value:function(t){var n=this;return this._currentBatch.length>=d&&this._commit(),new c["default"](function(r,o){var i=e.findHeads(n);y.create(n._ipfs,t,i).then(function(e){n._currentBatch.push(e),r(e)})["catch"](o)})}},{key:"join",value:function(e){var t=this;return new c["default"](function(n,r){var o=l(t._currentBatch).difference(t._items).toArray(),i=h.differenceWith(e.items,t._items,y.equals),u=h.unionWith(o,i,y.equals);t._items=t._items.concat(u),t._currentBatch=[];var a=h.flatten(e.items.map(function(e){return e.next})),s=a.map(function(e){var n=t.items.map(function(e){return e.hash});return t._fetchRecursive(t._ipfs,e,n,v,0).then(function(e){return e.forEach(function(e){return t._insert(e)}),e})});c["default"].all(s).then(function(e){return n(t)})})}},{key:"clear",value:function(){this._items=[],this._currentBatch=[]}},{key:"_insert",value:function(e){var t=this,n=l(e.next).map(function(e){return l(t._items).map(function(e){return e.hash}).indexOf(e)}),r=n.toArray().length>0?Math.max(n.max()+1,0):0;return this._items.splice(r,0,e),e}},{key:"_commit",value:function(){var e=l(this._currentBatch).difference(this._items).toArray();this._items=this._items.concat(e),this._currentBatch=[]}},{key:"_fetchRecursive",value:function(e,t,n,r,o){var i=this,u=function(e,t){return void 0!==l(e).reverse().find(function(e){return e===t})};return new c["default"](function(a,s){var f=[];return u(n,t)||o>=r?void a(f):void y.fromIpfsHash(e,t).then(function(u){f.push(u),n.push(t),o++;var p=u.next.map(function(t){return i._fetchRecursive(e,t,n,r,o)});c["default"].all(p).then(function(e){f=h.flatten(e.concat(f)),a(f)})["catch"](s)})["catch"](s)})}},{key:"items",get:function(){return this._items.concat(this._currentBatch)}},{key:"snapshot",get:function(){return{id:this.id,items:this._currentBatch.map(function(e){return e.hash})}}}],[{key:"create",value:function(t,n,r){if(!t)throw new Error("Ipfs instance not defined");if(!n)throw new Error("id is not defined");return new c["default"](function(o,i){var u=new e(t,n,r);o(u)})}},{key:"getIpfsHash",value:function(e,n){if(!e)throw new Error("Ipfs instance not defined");return new c["default"](function(r,o){e.object.put(new t((0,i["default"])({Data:(0,i["default"])(n.snapshot)}))).then(function(e){return r(e.Hash)})["catch"](o)})}},{key:"fromJson",value:function(t,n){return new c["default"](function(r,o){c["default"].all(n.items.map(function(e){return y.fromIpfsHash(t,e)})).then(function(i){e.create(t,n.id,i).then(r)["catch"](o)})["catch"](o)})}},{key:"fromIpfsHash",value:function(t,n){if(!t)throw new Error("Ipfs instance not defined");if(!n)throw new Error("Invalid hash: "+n);return new c["default"](function(r,o){t.object.get(n).then(function(n){e.fromJson(t,JSON.parse(n.Data)).then(r)["catch"](o)})["catch"](o)})}},{key:"findHeads",value:function(t){return l(t.items).reverse().filter(function(n){return!e.isReferencedInChain(t,n)}).map(function(e){return e.hash}).toArray()}},{key:"isReferencedInChain",value:function(e,t){return void 0!==l(e.items).reverse().find(function(e){return e.hasChild(t)})}},{key:"batchSize",get:function(){return d}},{key:"maxHistory",get:function(){return v}}]),e}();e.exports=g}).call(t,n(160).Buffer)},function(e,t,n){(function(e,r){/*!
+	 * The buffer module from node.js, for the browser.
+	 *
+	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
+	 * @license  MIT
+	 */
+"use strict";function o(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(n){return!1}}function i(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(t){return this instanceof e?(e.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?u(this,t):"string"==typeof t?c(this,t,arguments.length>1?arguments[1]:"utf8"):a(this,t)):arguments.length>1?new e(t,arguments[1]):new e(t)}function u(t,n){if(t=d(t,0>n?0:0|v(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;n>r;r++)t[r]=0;return t}function c(e,t,n){"string"==typeof n&&""!==n||(n="utf8");var r=0|S(t,n);return e=d(e,r),e.write(t,n),e}function a(t,n){if(e.isBuffer(n))return s(t,n);if(K(n))return f(t,n);if(null==n)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(n.buffer instanceof ArrayBuffer)return p(t,n);if(n instanceof ArrayBuffer)return h(t,n)}return n.length?l(t,n):y(t,n)}function s(e,t){var n=0|v(t.length);return e=d(e,n),t.copy(e,0,0,n),e}function f(e,t){var n=0|v(t.length);e=d(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function p(e,t){var n=0|v(t.length);e=d(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function h(t,n){return e.TYPED_ARRAY_SUPPORT?(n.byteLength,t=e._augment(new Uint8Array(n))):t=p(t,new Uint8Array(n)),t}function l(e,t){var n=0|v(t.length);e=d(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function y(e,t){var n,r=0;"Buffer"===t.type&&K(t.data)&&(n=t.data,r=0|v(n.length)),e=d(e,r);for(var o=0;r>o;o+=1)e[o]=255&n[o];return e}function d(t,n){e.TYPED_ARRAY_SUPPORT?(t=e._augment(new Uint8Array(n)),t.__proto__=e.prototype):(t.length=n,t._isBuffer=!0);var r=0!==n&&n<=e.poolSize>>>1;return r&&(t.parent=X),t}function v(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function g(t,n){if(!(this instanceof g))return new g(t,n);var r=new e(t,n);return delete r.parent,r}function S(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return L(this,t,n);case"binary":return O(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var i=t.length;if(i%2!==0)throw new Error("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;r>u;u++){var c=parseInt(t.substr(2*u,2),16);if(isNaN(c))throw new Error("Invalid hex string");e[n+u]=c}return u}function _(e,t,n,r){return J(z(t,e.length-n),e,n,r)}function b(e,t,n,r){return J(Y(t),e,n,r)}function q(e,t,n,r){return b(e,t,n,r)}function k(e,t,n,r){return J(G(t),e,n,r)}function x(e,t,n,r){return J(H(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?V.fromByteArray(e):V.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;n>o;){var i=e[o],u=null,c=i>239?4:i>223?3:i>191?2:1;if(n>=o+c){var a,s,f,p;switch(c){case 1:128>i&&(u=i);break;case 2:a=e[o+1],128===(192&a)&&(p=(31&i)<<6|63&a,p>127&&(u=p));break;case 3:a=e[o+1],s=e[o+2],128===(192&a)&&128===(192&s)&&(p=(15&i)<<12|(63&a)<<6|63&s,p>2047&&(55296>p||p>57343)&&(u=p));break;case 4:a=e[o+1],s=e[o+2],f=e[o+3],128===(192&a)&&128===(192&s)&&128===(192&f)&&(p=(15&i)<<18|(63&a)<<12|(63&s)<<6|63&f,p>65535&&1114112>p&&(u=p))}}null===u?(u=65533,c=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=c}return I(r)}function I(e){var t=e.length;if(Z>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Z));return n}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function C(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=t;n>i;i++)o+=W(e[i]);return o}function j(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function T(t,n,r,o,i,u){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>i||u>n)throw new RangeError("value is out of bounds");if(r+o>t.length)throw new RangeError("index out of range")}function P(e,t,n,r){0>t&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);i>o;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function M(e,t,n,r){0>t&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);i>o;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function B(e,t,n,r,o,i){if(t>o||i>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function D(e,t,n,r,o){return o||B(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,o){return o||B(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,t,n,r,52,8),n+8}function N(e){if(e=U(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return 16>e?"0"+e.toString(16):e.toString(16)}function z(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],u=0;r>u;u++){if(n=e.charCodeAt(u),n>55295&&57344>n){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(56320>n){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,128>n){if((t-=1)<0)break;i.push(n)}else if(2048>n){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Y(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function H(e,t){for(var n,r,o,i=[],u=0;u<e.length&&!((t-=2)<0);u++)n=e.charCodeAt(u),r=n>>8,o=n%256,i.push(o),i.push(r);return i}function G(e){return V.toByteArray(N(e))}function J(e,t,n,r){for(var o=0;r>o&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}var V=n(161),$=n(162),K=n(163);t.Buffer=e,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var X={};e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:o(),e.TYPED_ARRAY_SUPPORT?(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array):(e.prototype.length=void 0,e.prototype.parent=void 0),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,o=n.length,i=0,u=Math.min(r,o);u>i&&t[i]===n[i];)++i;return i!==u&&(r=t[i],o=n[i]),o>r?-1:r>o?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!K(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new e(0);var r;if(void 0===n)for(n=0,r=0;r<t.length;r++)n+=t[r].length;var o=new e(n),i=0;for(r=0;r<t.length;r++){var u=t[r];u.copy(o,i),i+=u.length}return o},e.byteLength=S,e.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):m.apply(this,arguments)},e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===e.compare(this,t)},e.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:e.compare(this,t)},e.prototype.indexOf=function(t,n){function r(e,t,n){for(var r=-1,o=0;n+o<e.length;o++)if(e[n+o]===t[-1===r?0:o-r]){if(-1===r&&(r=o),o-r+1===t.length)return n+r}else r=-1;return-1}if(n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(0>n&&(n=Math.max(this.length+n,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,n);if(e.isBuffer(t))return r(this,t,n);if("number"==typeof t)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,n):r(this,[t],n);throw new TypeError("val must be string, number or Buffer")},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var o=r;r=t,t=0|n,n=o}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var u=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return b(this,e,t,n);case"binary":return q(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>n?(n+=r,0>n&&(n=0)):n>r&&(n=r),t>n&&(n=t);var o;if(e.TYPED_ARRAY_SUPPORT)o=e._augment(this.subarray(t,n));else{var i=n-t;o=new e(i,void 0);for(var u=0;i>u;u++)o[u]=this[u+t]}return o.length&&(o.parent=this.parent||this),o},e.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},e.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},e.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},e.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),$.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),$.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),$.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),$.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||T(this,e,t,n,Math.pow(2,8*n),0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUIntBE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||T(this,e,t,n,Math.pow(2,8*n),0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):P(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):P(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):M(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):M(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var i=0,u=1,c=0>e?1:0;for(this[t]=255&e;++i<n&&(u*=256);)this[t+i]=(e/u>>0)-c&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var i=n-1,u=1,c=0>e?1:0;for(this[t+i]=255&e;--i>=0&&(u*=256);)this[t+i]=(e/u>>0)-c&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):P(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):P(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):M(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):M(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,o){if(r||(r=0),o||0===o||(o=this.length),n>=t.length&&(n=t.length),n||(n=0),o>0&&r>o&&(o=r),o===r)return 0;if(0===t.length||0===this.length)return 0;if(0>n)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>o)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-n<o-r&&(o=t.length-n+r);var i,u=o-r;if(this===t&&n>r&&o>n)for(i=u-1;i>=0;i--)t[i+n]=this[i+r];else if(1e3>u||!e.TYPED_ARRAY_SUPPORT)for(i=0;u>i;i++)t[i+n]=this[i+r];else t._set(this.subarray(r,r+u),n);return u},e.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var o=z(e.toString()),i=o.length;for(r=t;n>r;r++)this[r]=o[r%i]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var t=new Uint8Array(this.length),n=0,r=t.length;r>n;n+=1)t[n]=this[n];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var Q=e.prototype;e._augment=function(t){return t.constructor=e,t._isBuffer=!0,t._set=t.set,t.get=Q.get,t.set=Q.set,t.write=Q.write,t.toString=Q.toString,t.toLocaleString=Q.toString,t.toJSON=Q.toJSON,t.equals=Q.equals,t.compare=Q.compare,t.indexOf=Q.indexOf,t.copy=Q.copy,t.slice=Q.slice,t.readUIntLE=Q.readUIntLE,t.readUIntBE=Q.readUIntBE,t.readUInt8=Q.readUInt8,t.readUInt16LE=Q.readUInt16LE,t.readUInt16BE=Q.readUInt16BE,t.readUInt32LE=Q.readUInt32LE,t.readUInt32BE=Q.readUInt32BE,t.readIntLE=Q.readIntLE,t.readIntBE=Q.readIntBE,t.readInt8=Q.readInt8,t.readInt16LE=Q.readInt16LE,t.readInt16BE=Q.readInt16BE,t.readInt32LE=Q.readInt32LE,t.readInt32BE=Q.readInt32BE,t.readFloatLE=Q.readFloatLE,t.readFloatBE=Q.readFloatBE,t.readDoubleLE=Q.readDoubleLE,t.readDoubleBE=Q.readDoubleBE,t.writeUInt8=Q.writeUInt8,t.writeUIntLE=Q.writeUIntLE,t.writeUIntBE=Q.writeUIntBE,t.writeUInt16LE=Q.writeUInt16LE,t.writeUInt16BE=Q.writeUInt16BE,t.writeUInt32LE=Q.writeUInt32LE,t.writeUInt32BE=Q.writeUInt32BE,t.writeIntLE=Q.writeIntLE,t.writeIntBE=Q.writeIntBE,t.writeInt8=Q.writeInt8,t.writeInt16LE=Q.writeInt16LE,t.writeInt16BE=Q.writeInt16BE,t.writeInt32LE=Q.writeInt32LE,t.writeInt32BE=Q.writeInt32BE,t.writeFloatLE=Q.writeFloatLE,t.writeFloatBE=Q.writeFloatBE,t.writeDoubleLE=Q.writeDoubleLE,t.writeDoubleBE=Q.writeDoubleBE,t.fill=Q.fill,t.inspect=Q.inspect,t.toArrayBuffer=Q.toArrayBuffer,t};var ee=/[^+\/0-9A-Za-z-_]/g}).call(t,n(160).Buffer,function(){return this}())},function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===u||t===p?62:t===c||t===h?63:a>t?-1:a+10>t?t-a+26+26:f+26>t?t-f:s+26>t?t-s+26:void 0}function n(e){function n(e){s[p++]=e}var r,o,u,c,a,s;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var f=e.length;a="="===e.charAt(f-2)?2:"="===e.charAt(f-1)?1:0,s=new i(3*e.length/4-a),u=a>0?e.length-4:e.length;var p=0;for(r=0,o=0;u>r;r+=4,o+=3)c=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&c)>>16),n((65280&c)>>8),n(255&c);return 2===a?(c=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&c)):1===a&&(c=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(c>>8&255),n(255&c)),s}function o(e){function t(e){return r.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var o,i,u,c=e.length%3,a="";for(o=0,u=e.length-c;u>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],a+=n(i);switch(c){case 1:i=e[e.length-1],a+=t(i>>2),a+=t(i<<4&63),a+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],a+=t(i>>10),a+=t(i>>4&63),a+=t(i<<2&63),a+="="}return a}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,u="+".charCodeAt(0),c="/".charCodeAt(0),a="0".charCodeAt(0),s="a".charCodeAt(0),f="A".charCodeAt(0),p="-".charCodeAt(0),h="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=o}(t)},function(e,t){t.read=function(e,t,n,r,o){var i,u,c=8*o-r-1,a=(1<<c)-1,s=a>>1,f=-7,p=n?o-1:0,h=n?-1:1,l=e[t+p];for(p+=h,i=l&(1<<-f)-1,l>>=-f,f+=c;f>0;i=256*i+e[t+p],p+=h,f-=8);for(u=i&(1<<-f)-1,i>>=-f,f+=r;f>0;u=256*u+e[t+p],p+=h,f-=8);if(0===i)i=1-s;else{if(i===a)return u?NaN:(l?-1:1)*(1/0);u+=Math.pow(2,r),i-=s}return(l?-1:1)*u*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var u,c,a,s=8*i-o-1,f=(1<<s)-1,p=f>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,l=r?0:i-1,y=r?1:-1,d=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,u=f):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),t+=u+p>=1?h/a:h*Math.pow(2,1-p),t*a>=2&&(u++,a/=2),u+p>=f?(c=0,u=f):u+p>=1?(c=(t*a-1)*Math.pow(2,o),u+=p):(c=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+l]=255&c,l+=y,c/=256,o-=8);for(u=u<<o|c,s+=o;s>0;e[n+l]=255&u,l+=y,u/=256,s-=8);e[n+l-y]|=128*d}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports={"default":n(165),__esModule:!0}},function(e,t,n){var r=n(166);e.exports=function(e){return(r.JSON&&r.JSON.stringify||JSON.stringify).apply(JSON,arguments)}},function(e,t){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports={"default":n(168),__esModule:!0}},function(e,t,n){n(169),n(170),n(193),n(200),e.exports=n(166).Promise},function(e,t){},function(e,t,n){"use strict";var r=n(171)(!0);n(174)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(172),o=n(173);e.exports=function(e){return function(t,n){var i,u,c=String(o(t)),a=r(n),s=c.length;return 0>a||a>=s?e?"":void 0:(i=c.charCodeAt(a),55296>i||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?e?c.charAt(a):i:e?c.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){"use strict";var r=n(175),o=n(176),i=n(180),u=n(181),c=n(186),a=n(187),s=n(188),f=n(189),p=n(182).getProto,h=n(190)("iterator"),l=!([].keys&&"next"in[].keys()),y="@@iterator",d="keys",v="values",g=function(){return this};e.exports=function(e,t,n,S,m,w,_){s(n,t,S);var b,q,k=function(e){if(!l&&e in I)return I[e];switch(e){case d:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A=m==v,E=!1,I=e.prototype,L=I[h]||I[y]||m&&I[m],O=L||k(m);if(L){var C=p(O.call(new e));f(C,x,!0),!r&&c(I,y)&&u(C,h,g),A&&L.name!==v&&(E=!0,O=function(){return L.call(this)})}if(r&&!_||!l&&!E&&I[h]||u(I,h,O),a[t]=O,a[x]=g,m)if(b={values:A?O:k(v),keys:w?O:k(d),entries:A?k("entries"):O},_)for(q in b)q in I||i(I,q,b[q]);else o(o.P+o.F*(l||E),t,b);return b}},function(e,t){e.exports=!0},function(e,t,n){var r=n(177),o=n(166),i=n(178),u="prototype",c=function(e,t,n){var a,s,f,p=e&c.F,h=e&c.G,l=e&c.S,y=e&c.P,d=e&c.B,v=e&c.W,g=h?o:o[t]||(o[t]={}),S=h?r:l?r[t]:(r[t]||{})[u];h&&(n=t);for(a in n)s=!p&&S&&a in S,s&&a in g||(f=s?S[a]:n[a],g[a]=h&&"function"!=typeof S[a]?n[a]:d&&s?i(f,r):v&&S[a]==f?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[u]=e[u],t}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((g[u]||(g[u]={}))[a]=f))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(179);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports=n(181)},function(e,t,n){var r=n(182),o=n(183);e.exports=n(184)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=!n(185)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(182),o=n(183),i=n(189),u={};n(181)(u,n(190)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r.create(u,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(182).setDesc,o=n(186),i=n(190)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(191)("wks"),o=n(192),i=n(177).Symbol;e.exports=function(e){return r[e]||(r[e]=i&&i[e]||(i||o)("Symbol."+e))}},function(e,t,n){var r=n(177),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){n(194);var r=n(187);r.NodeList=r.HTMLCollection=r.Array},function(e,t,n){"use strict";var r=n(195),o=n(196),i=n(187),u=n(197);e.exports=n(174)(Array,"Array",function(e,t){this._t=u(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(198),o=n(173);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(199);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r,o=n(182),i=n(175),u=n(177),c=n(178),a=n(201),s=n(176),f=n(202),p=n(203),h=n(179),l=n(204),y=n(205),d=n(210).set,v=n(211),g=n(190)("species"),S=n(212),m=n(213),w="Promise",_=u.process,b="process"==a(_),q=u[w],k=function(e){var t=new q(function(){});return e&&(t.constructor=Object),q.resolve(t)===t},x=function(){function e(t){var n=new q(t);return d(n,e.prototype),n}var t=!1;try{if(t=q&&q.resolve&&k(),d(e,q),e.prototype=o.create(q.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(t=!1),t&&n(184)){var r=!1;q.resolve(o.setDesc({},"then",{get:function(){r=!0}})),t=r}}catch(i){t=!1}return t}(),A=function(e,t){return i&&e===q&&t===r?!0:v(e,t)},E=function(e){var t=p(e)[g];return void 0!=t?t:e},I=function(e){var t;return f(e)&&"function"==typeof(t=e.then)?t:!1},L=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=h(t),this.reject=h(n)},O=function(e){try{e()}catch(t){return{error:t}}},C=function(e,t){if(!e.n){e.n=!0;var n=e.c;m(function(){for(var r=e.v,o=1==e.s,i=0,c=function(t){var n,i,u=o?t.ok:t.fail,c=t.resolve,a=t.reject;try{u?(o||(e.h=!0),n=u===!0?r:u(r),n===t.promise?a(TypeError("Promise-chain cycle")):(i=I(n))?i.call(n,c,a):c(n)):a(r)}catch(s){a(s)}};n.length>i;)c(n[i++]);n.length=0,e.n=!1,t&&setTimeout(function(){var t,n,o=e.p;j(o)&&(b?_.emit("unhandledRejection",r,o):(t=u.onunhandledrejection)?t({promise:o,reason:r}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",r)),e.a=void 0},1)})}},j=function(e){var t,n=e._d,r=n.a||n.c,o=0;if(n.h)return!1;for(;r.length>o;)if(t=r[o++],t.fail||!j(t.promise))return!1;return!0},R=function(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,t.a=t.c.slice(),C(t,!0))},T=function(e){var t,n=this;if(!n.d){n.d=!0,n=n.r||n;try{if(n.p===e)throw TypeError("Promise can't be resolved itself");(t=I(e))?m(function(){var r={r:n,d:!1};try{t.call(e,c(T,r,1),c(R,r,1))}catch(o){R.call(r,o)}}):(n.v=e,n.s=1,C(n,!1))}catch(r){R.call({r:n,d:!1},r)}}};x||(q=function(e){h(e);var t=this._d={p:l(this,q,w),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{e(c(T,t,1),c(R,t,1))}catch(n){R.call(t,n)}},n(218)(q.prototype,{then:function(e,t){var n=new L(S(this,q)),r=n.promise,o=this._d;return n.ok="function"==typeof e?e:!0,n.fail="function"==typeof t&&t,o.c.push(n),o.a&&o.a.push(n),o.s&&C(o,!1),r},"catch":function(e){return this.then(void 0,e)}})),s(s.G+s.W+s.F*!x,{Promise:q}),n(189)(q,w),n(219)(w),r=n(166)[w],s(s.S+s.F*!x,w,{reject:function(e){var t=new L(this),n=t.reject;return n(e),t.promise}}),s(s.S+s.F*(!x||k(!0)),w,{resolve:function(e){if(e instanceof q&&A(e.constructor,this))return e;var t=new L(this),n=t.resolve;return n(e),t.promise}}),s(s.S+s.F*!(x&&n(220)(function(e){q.all(e)["catch"](function(){})})),w,{all:function(e){var t=E(this),n=new L(t),r=n.resolve,i=n.reject,u=[],c=O(function(){y(e,!1,u.push,u);var n=u.length,c=Array(n);n?o.each.call(u,function(e,o){var u=!1;t.resolve(e).then(function(e){u||(u=!0,c[o]=e,--n||r(c))},i)}):r(c)});return c&&i(c.error),n.promise},race:function(e){var t=E(this),n=new L(t),r=n.reject,o=O(function(){y(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},function(e,t,n){var r=n(199),o=n(190)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=(t=Object(e))[o])?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(202);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(n+": use the 'new' operator!");return e}},function(e,t,n){var r=n(178),o=n(206),i=n(207),u=n(203),c=n(208),a=n(209);e.exports=function(e,t,n,s){var f,p,h,l=a(e),y=r(n,s,t?2:1),d=0;if("function"!=typeof l)throw TypeError(e+" is not iterable!");if(i(l))for(f=c(e.length);f>d;d++)t?y(u(p=e[d])[0],p[1]):y(e[d]);else for(h=l.call(e);!(p=h.next()).done;)o(h,y,p.value,t)}},function(e,t,n){var r=n(203);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(i){var u=e["return"];throw void 0!==u&&r(u.call(e)),i}}},function(e,t,n){var r=n(187),o=n(190)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(172),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(201),o=n(190)("iterator"),i=n(187);e.exports=n(166).getIteratorMethod=function(e){return void 0!=e?e[o]||e["@@iterator"]||i[r(e)]:void 0}},function(e,t,n){var r=n(182).getDesc,o=n(202),i=n(203),u=function(e,t){if(i(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,o){try{o=n(178)(Function.call,r(Object.prototype,"__proto__").set,2),o(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return u(e,n),t?e.__proto__=n:o(e,n),e}}({},!1):void 0),check:u}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(203),o=n(179),i=n(190)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||void 0==(n=r(u)[i])?t:o(n)}},function(e,t,n){var r,o,i,u=n(177),c=n(214).set,a=u.MutationObserver||u.WebKitMutationObserver,s=u.process,f=u.Promise,p="process"==n(199)(s),h=function(){
+var e,t,n;for(p&&(e=s.domain)&&(s.domain=null,e.exit());r;)t=r.domain,n=r.fn,t&&t.enter(),n(),t&&t.exit(),r=r.next;o=void 0,e&&e.enter()};if(p)i=function(){s.nextTick(h)};else if(a){var l=1,y=document.createTextNode("");new a(h).observe(y,{characterData:!0}),i=function(){y.data=l=-l}}else i=f&&f.resolve?function(){f.resolve().then(h)}:function(){c.call(u,h)};e.exports=function(e){var t={fn:e,next:void 0,domain:p&&s.domain};o&&(o.next=t),r||(r=t,i()),o=t}},function(e,t,n){var r,o,i,u=n(178),c=n(215),a=n(216),s=n(217),f=n(177),p=f.process,h=f.setImmediate,l=f.clearImmediate,y=f.MessageChannel,d=0,v={},g="onreadystatechange",S=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},m=function(e){S.call(e.data)};h&&l||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++d]=function(){c("function"==typeof e?e:Function(e),t)},r(d),d},l=function(e){delete v[e]},"process"==n(199)(p)?r=function(e){p.nextTick(u(S,e,1))}:y?(o=new y,i=o.port2,o.port1.onmessage=m,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",m,!1)):r=g in s("script")?function(e){a.appendChild(s("script"))[g]=function(){a.removeChild(this),S.call(e)}}:function(e){setTimeout(u(S,e,1),0)}),e.exports={set:h,clear:l}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){e.exports=n(177).document&&document.documentElement},function(e,t,n){var r=n(202),o=n(177).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(180);e.exports=function(e,t){for(var n in t)r(e,n,t[n]);return e}},function(e,t,n){"use strict";var r=n(166),o=n(182),i=n(184),u=n(190)("species");e.exports=function(e){var t=r[e];i&&t&&!t[u]&&o.setDesc(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(190)("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){n=!0},i[r]=function(){return u},e(i)}catch(c){}return n}},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(223),i=r(o);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={"default":n(224),__esModule:!0}},function(e,t,n){var r=n(182);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function u(e,t){return e.add(t),e}function c(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var o=-1,i=e.length;++o<i;){var u=e[o];t(r,u,n(u),e)}return r}function s(e,t){for(var n=-1,r=e.length,o=-1,i=t.length,u=Array(r+i);++n<r;)u[n]=e[n];for(;++o<i;)u[n++]=t[o];return u}function f(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function p(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function h(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var u=e[n];t(u,n,e)&&(i[o++]=u)}return i}function y(e,t){return!!e.length&&k(e,t,0)>-1}function d(e,t,n){for(var r=-1,o=e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function v(e,t){for(var n=-1,r=e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function g(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function S(e,t,n,r){var o=-1,i=e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function m(e,t,n,r){var o=e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function w(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],u=t(i);if(null!=u&&(c===te?u===u:n(u,c)))var c=u,a=i}return a}function b(e,t,n,r){var o;return n(e,function(e,n,i){return t(e,n,i)?(o=r?n:e,!1):void 0}),o}function q(e,t,n){for(var r=e.length,o=n?r:-1;n?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function k(e,t,n){if(t!==t)return Y(e,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function x(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function A(e,t){var n=e?e.length:0;return n?L(e,t)/n:Le}function E(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function I(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function L(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==te&&(n=n===te?i:n+i)}return n}function O(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e,t){return v(t,function(t){return[t,e[t]]})}function j(e){return function(t){return e(t)}}function R(e,t){return v(t,function(t){return e[t]})}function T(e,t){for(var n=-1,r=e.length;++n<r&&k(t,e[n],0)>-1;);return n}function P(e,t){for(var n=e.length;n--&&k(t,e[n],0)>-1;);return n}function M(e){return e&&e.Object===Object?e:null}function B(e,t){if(e!==t){var n=null===e,r=e===te,o=e===e,i=null===t,u=t===te,c=t===t;if(e>t&&!i||!o||n&&!u&&c||r&&c)return 1;if(t>e&&!n||!c||i&&!r&&o||u&&o)return-1}return 0}function D(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,u=o.length,c=n.length;++r<u;){var a=B(o[r],i[r]);if(a){if(r>=c)return a;var s=n[r];return a*("desc"==s?-1:1)}}return e.index-t.index}function F(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function N(e){return function(t,n){var r;return t===te&&n===te?0:(t!==te&&(r=t),n!==te&&(r=r===te?n:e(r,n)),r)}}function U(e){return jn[e]}function W(e){return Rn[e]}function z(e){return"\\"+Mn[e]}function Y(e,t,n){for(var r=e.length,o=t+(n?0:-1);n?o--:++o<r;){var i=e[o];if(i!==i)return o}return-1}function H(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function G(e,t){return e="number"==typeof e||Tt.test(e)?+e:-1,t=null==t?Ee:t,e>-1&&e%1==0&&t>e}function J(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function $(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var u=e[n];u!==t&&u!==ue||(e[n]=ue,i[o++]=n)}return i}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function X(e){if(!e||!An.test(e))return e.length;for(var t=kn.lastIndex=0;kn.test(e);)t++;return t}function Z(e){return e.match(kn)}function Q(e){return Tn[e]}function ee(e){function t(e){if(uc(e)&&!Zf(e)&&!(e instanceof o)){if(e instanceof r)return e;if(ls.call(e,"__wrapped__"))return Xo(e)}return new r(e)}function n(){}function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=te}function o(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Oe,this.__views__=[]}function M(){var e=new o(this.__wrapped__);return e.__actions__=Vr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Vr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Vr(this.__views__),e}function Tt(){if(this.__filtered__){var e=new o(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Zf(e),r=0>t,o=n?e.length:0,i=Oo(0,o,this.__views__),u=i.start,c=i.end,a=c-u,s=r?c:u-1,f=this.__iteratees__,p=f.length,h=0,l=Ds(a,this.__takeCount__);if(!n||re>o||o==a&&l==a)return Cr(e,this.__actions__);var y=[];e:for(;a--&&l>h;){s+=t;for(var d=-1,v=e[s];++d<p;){var g=f[d],S=g.iteratee,m=g.type,w=S(v);if(m==ke)v=w;else if(!w){if(m==qe)continue e;break e}}y[h++]=v}return y}function Ft(){}function Nt(e,t){return Wt(e,t)&&delete e[t]}function Ut(e,t){if($s){var n=e[t];return n===ie?te:n}return ls.call(e,t)?e[t]:te}function Wt(e,t){return $s?e[t]!==te:ls.call(e,t)}function zt(e,t,n){e[t]=$s&&n===te?ie:n}function Yt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ht(){this.__data__={hash:new Ft,map:Hs?new Hs:[],string:new Ft}}function Gt(e){var t=this.__data__;return No(e)?Nt("string"==typeof e?t.string:t.hash,e):Hs?t.map["delete"](e):un(t.map,e)}function Jt(e){var t=this.__data__;return No(e)?Ut("string"==typeof e?t.string:t.hash,e):Hs?t.map.get(e):cn(t.map,e)}function Vt(e){var t=this.__data__;return No(e)?Wt("string"==typeof e?t.string:t.hash,e):Hs?t.map.has(e):an(t.map,e)}function $t(e,t){var n=this.__data__;return No(e)?zt("string"==typeof e?n.string:n.hash,e,t):Hs?n.map.set(e,t):fn(n.map,e,t),this}function Kt(e){var t=-1,n=e?e.length:0;for(this.__data__=new Yt;++t<n;)this.push(e[t])}function Xt(e,t){var n=e.__data__;if(No(t)){var r=n.__data__,o="string"==typeof t?r.string:r.hash;return o[t]===ie}return n.has(t)}function Zt(e){var t=this.__data__;if(No(e)){var n=t.__data__,r="string"==typeof e?n.string:n.hash;r[e]=ie}else t.set(e,ie)}function Qt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__={array:[],map:null}}function tn(e){var t=this.__data__,n=t.array;return n?un(n,e):t.map["delete"](e)}function nn(e){var t=this.__data__,n=t.array;return n?cn(n,e):t.map.get(e)}function rn(e){var t=this.__data__,n=t.array;return n?an(n,e):t.map.has(e)}function on(e,t){var n=this.__data__,r=n.array;r&&(r.length<re-1?fn(r,e,t):(n.array=null,n.map=new Yt(r)));var o=n.map;return o&&o.set(e,t),this}function un(e,t){var n=sn(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():Os.call(e,n,1),!0}function cn(e,t){var n=sn(e,t);return 0>n?te:e[n][1]}function an(e,t){return sn(e,t)>-1}function sn(e,t){for(var n=e.length;n--;)if(Uu(e[n][0],t))return n;return-1}function fn(e,t,n){var r=sn(e,t);0>r?e.push([t,n]):e[r][1]=n}function pn(e,t,n,r){return e===te||Uu(e,fs[n])&&!ls.call(r,n)?t:e}function hn(e,t,n){(n===te||Uu(e[t],n))&&("number"!=typeof t||n!==te||t in e)||(e[t]=n)}function ln(e,t,n){var r=e[t];ls.call(e,t)&&Uu(r,n)&&(n!==te||t in e)||(e[t]=n)}function yn(e,t,n,r){return af(e,function(e,o,i){t(r,e,n(e),i)}),r}function dn(e,t){return e&&$r(t,Gc(t),e)}function vn(e,t){for(var n=-1,r=null==e,o=t.length,i=Array(o);++n<o;)i[n]=r?te:zc(e,t[n]);return i}function gn(e,t,n){return e===e&&(n!==te&&(e=n>=e?e:n),t!==te&&(e=e>=t?e:t)),e}function Sn(e,t,n,r,o,i,u){var c;if(r&&(c=i?r(e,o,i,u):r(e)),c!==te)return c;if(!ic(e))return e;var a=Zf(e);if(a){if(c=jo(e),!t)return Vr(e,c)}else{var s=Lo(e),p=s==De||s==Fe;if(Qf(e))return Dr(e,t);if(s==We||s==Re||p&&!i){if(H(e))return i?e:{};if(c=Ro(p?{}:e),!t)return Kr(e,dn(c,e))}else{if(!Cn[s])return i?e:{};c=To(e,s,Sn,t)}}u||(u=new Qt);var h=u.get(e);if(h)return h;if(u.set(e,c),!a)var l=n?wo(e):Gc(e);return f(l||e,function(o,i){l&&(i=o,o=e[i]),ln(c,i,Sn(o,t,n,r,i,e,u))}),c}function mn(e){var t=Gc(e),n=t.length;return function(r){if(null==r)return!n;for(var o=n;o--;){var i=t[o],u=e[i],c=r[i];if(c===te&&!(i in Object(r))||!u(c))return!1}return!0}}function wn(e){return ic(e)?Es(e):{}}function _n(e,t,n){if("function"!=typeof e)throw new as(oe);return Ls(function(){e.apply(te,n)},t)}function kn(e,t,n,r){var o=-1,i=y,u=!0,c=e.length,a=[],s=t.length;if(!c)return a;n&&(t=v(t,j(n))),r?(i=d,u=!1):t.length>=re&&(i=Xt,u=!1,t=new Kt(t));e:for(;++o<c;){var f=e[o],p=n?n(f):f;if(u&&p===p){for(var h=s;h--;)if(t[h]===p)continue e;a.push(f)}else i(t,p,r)||a.push(f)}return a}function jn(e,t){var n=!0;return af(e,function(e,r,o){return n=!!t(e,r,o)}),n}function Rn(e,t,n,r){var o=e.length;for(n=Ic(n),0>n&&(n=-n>o?0:o+n),r=r===te||r>o?o:Ic(r),0>r&&(r+=o),r=n>r?0:Lc(r);r>n;)e[n++]=t;return e}function Tn(e,t){var n=[];return af(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function Pn(e,t,n,r,o){var i=-1,u=e.length;for(n||(n=Mo),o||(o=[]);++i<u;){var c=e[i];t>0&&n(c)?t>1?Pn(c,t-1,n,r,o):g(o,c):r||(o[o.length]=c)}return o}function Mn(e,t){return e&&ff(e,t,Gc)}function Fn(e,t){return e&&pf(e,t,Gc)}function Nn(e,t){return l(t,function(t){return nc(e[t])})}function Wn(e,t){t=Fo(t,e)?[t]:Mr(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:te}function zn(e,t,n){var r=t(e);return Zf(e)?r:g(r,n(e))}function Yn(e,t){return ls.call(e,t)||"object"==typeof e&&t in e&&null===Eo(e)}function Hn(e,t){return t in Object(e)}function Vn(e,t,n){return e>=Ds(t,n)&&e<Bs(t,n)}function $n(e,t,n){for(var r=n?d:y,o=e[0].length,i=e.length,u=i,c=Array(i),a=1/0,s=[];u--;){var f=e[u];u&&t&&(f=v(f,j(t))),a=Ds(f.length,a),c[u]=!n&&(t||o>=120&&f.length>=120)?new Kt(u&&f):te}f=e[0];var p=-1,h=c[0];e:for(;++p<o&&s.length<a;){var l=f[p],g=t?t(l):l;if(!(h?Xt(h,g):r(s,g,n))){for(u=i;--u;){var S=c[u];if(!(S?Xt(S,g):r(e[u],g,n)))continue e}h&&h.push(g),s.push(l)}}return s}function Kn(e,t,n,r){return Mn(e,function(e,o,i){t(r,n(e),o,i)}),r}function Xn(e,t,n){Fo(t,e)||(t=Mr(t),e=Jo(e,t),t=vi(t));var r=null==e?e:e[t];return null==r?te:c(r,e,n)}function Zn(e,t,n,r,o){return e===t?!0:null==e||null==t||!ic(e)&&!uc(t)?e!==e&&t!==t:Qn(e,t,Zn,n,r,o)}function Qn(e,t,n,r,o,i){var u=Zf(e),c=Zf(t),a=Te,s=Te;u||(a=Lo(e),a=a==Re?We:a),c||(s=Lo(t),s=s==Re?We:s);var f=a==We&&!H(e),p=s==We&&!H(t),h=a==s;if(h&&!f)return i||(i=new Qt),u||_c(e)?go(e,t,n,r,o,i):So(e,t,a,n,r,o,i);if(!(o&Se)){var l=f&&ls.call(e,"__wrapped__"),y=p&&ls.call(t,"__wrapped__");if(l||y){var d=l?e.value():e,v=y?t.value():t;return i||(i=new Qt),n(d,v,r,o,i)}}return h?(i||(i=new Qt),mo(e,t,n,r,o,i)):!1}function er(e,t,n,r){var o=n.length,i=o,u=!r;if(null==e)return!i;for(e=Object(e);o--;){var c=n[o];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){c=n[o];var a=c[0],s=e[a],f=c[1];if(u&&c[2]){if(s===te&&!(a in e))return!1}else{var p=new Qt;if(r)var h=r(s,f,a,e,t,p);if(!(h===te?Zn(f,s,r,ge|Se,p):h))return!1}}return!0}function tr(e){return"function"==typeof e?e:null==e?Ba:"object"==typeof e?Zf(e)?ur(e[0],e[1]):ir(e):Ha(e)}function nr(e){return Ms(Object(e))}function rr(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function or(e,t){var n=-1,r=Gu(e)?Array(e.length):[];return af(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function ir(e){var t=ko(e);return 1==t.length&&t[0][2]?Yo(t[0][0],t[0][1]):function(n){return n===e||er(n,e,t)}}function ur(e,t){return Fo(e)&&zo(t)?Yo(e,t):function(n){var r=zc(n,e);return r===te&&r===t?Hc(n,e):Zn(t,r,te,ge|Se)}}function cr(e,t,n,r,o){if(e!==t){if(!Zf(t)&&!_c(t))var i=Jc(t);f(i||t,function(u,c){if(i&&(c=u,u=t[c]),ic(u))o||(o=new Qt),ar(e,t,c,n,cr,r,o);else{var a=r?r(e[c],u,c+"",e,t,o):te;a===te&&(a=u),hn(e,c,a)}})}}function ar(e,t,n,r,o,i,u){var c=e[n],a=t[n],s=u.get(a);if(s)return void hn(e,n,s);var f=i?i(c,a,n+"",e,t,u):te,p=f===te;p&&(f=a,Zf(a)||_c(a)?Zf(c)?f=c:Ju(c)?f=Vr(c):(p=!1,f=Sn(a,!0)):dc(a)||Yu(a)?Yu(c)?f=Cc(c):!ic(c)||r&&nc(c)?(p=!1,f=Sn(a,!0)):f=c:p=!1),u.set(a,f),p&&o(f,a,r,i,u),u["delete"](a),hn(e,n,f)}function sr(e,t){var n=e.length;if(n)return t+=0>t?n:0,G(t,n)?e[t]:te}function fr(e,t,n){var r=-1;t=v(t.length?t:[Ba],j(qo()));var o=or(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return I(o,function(e,t){return D(e,t,n)})}function pr(e,t){return e=Object(e),S(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function hr(e,t){for(var n=-1,r=_o(e),o=r.length,i={};++n<o;){var u=r[n],c=e[u];t(c,u)&&(i[u]=c)}return i}function lr(e){return function(t){return null==t?te:t[e]}}function yr(e){return function(t){return Wn(t,e)}}function dr(e,t,n,r){var o=r?x:k,i=-1,u=t.length,c=e;for(n&&(c=v(e,j(n)));++i<u;)for(var a=0,s=t[i],f=n?n(s):s;(a=o(c,f,a,r))>-1;)c!==e&&Os.call(c,a,1),Os.call(e,a,1);return e}function vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(r==n||o!=i){var i=o;if(G(o))Os.call(e,o,1);else if(Fo(o,e))delete e[o];else{var u=Mr(o),c=Jo(e,u);null!=c&&delete c[vi(u)]}}}return e}function gr(e,t){return e+js(Ns()*(t-e+1))}function Sr(e,t,n,r){for(var o=-1,i=Bs(Cs((t-e)/(n||1)),0),u=Array(i);i--;)u[r?i:++o]=e,e+=n;return u}function mr(e,t){var n="";if(!e||1>t||t>Ee)return n;do t%2&&(n+=e),t=js(t/2),t&&(e+=e);while(t);return n}function wr(e,t,n,r){t=Fo(t,e)?[t]:Mr(t);for(var o=-1,i=t.length,u=i-1,c=e;null!=c&&++o<i;){var a=t[o];if(ic(c)){var s=n;if(o!=u){var f=c[a];s=r?r(f,a,c):te,s===te&&(s=null==f?G(t[o+1])?[]:{}:f)}ln(c,a,s)}c=c[a]}return e}function _r(e,t,n){var r=-1,o=e.length;0>t&&(t=-t>o?0:o+t),n=n>o?o:n,0>n&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function br(e,t){var n;return af(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function qr(e,t,n){var r=0,o=e?e.length:r;if("number"==typeof t&&t===t&&je>=o){for(;o>r;){var i=r+o>>>1,u=e[i];(n?t>=u:t>u)&&null!==u?r=i+1:o=i}return o}return kr(e,t,Ba,n)}function kr(e,t,n,r){t=n(t);for(var o=0,i=e?e.length:0,u=t!==t,c=null===t,a=t===te;i>o;){var s=js((o+i)/2),f=n(e[s]),p=f!==te,h=f===f;if(u)var l=h||r;else l=c?h&&p&&(r||null!=f):a?h&&(r||p):null==f?!1:r?t>=f:t>f;l?o=s+1:i=s}return Ds(i,Ce)}function xr(e){return Ar(e)}function Ar(e,t){for(var n=0,r=e.length,o=e[0],i=t?t(o):o,u=i,c=1,a=[o];++n<r;)o=e[n],i=t?t(o):o,Uu(i,u)||(u=i,a[c++]=o);return a}function Er(e,t,n){var r=-1,o=y,i=e.length,u=!0,c=[],a=c;if(n)u=!1,o=d;else if(i>=re){var s=t?null:lf(e);if(s)return K(s);u=!1,o=Xt,a=new Kt}else a=t?[]:c;e:for(;++r<i;){var f=e[r],p=t?t(f):f;if(u&&p===p){for(var h=a.length;h--;)if(a[h]===p)continue e;t&&a.push(p),c.push(f)}else o(a,p,n)||(a!==c&&a.push(p),c.push(f))}return c}function Ir(e,t){t=Fo(t,e)?[t]:Mr(t),e=Jo(e,t);var n=vi(t);return null!=e&&Yc(e,n)?delete e[n]:!0}function Lr(e,t,n,r){return wr(e,t,n(Wn(e,t)),r)}function Or(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?_r(e,r?0:i,r?i+1:o):_r(e,r?i+1:0,r?o:i)}function Cr(e,t){var n=e;return n instanceof o&&(n=n.value()),S(t,function(e,t){return t.func.apply(t.thisArg,g([e],t.args))},n)}function jr(e,t,n){for(var r=-1,o=e.length;++r<o;)var i=i?g(kn(i,e[r],t,n),kn(e[r],i,t,n)):e[r];return i&&i.length?Er(i,t,n):[]}function Rr(e,t,n){for(var r=-1,o=e.length,i=t.length,u={};++r<o;){var c=i>r?t[r]:te;n(u,e[r],c)}return u}function Tr(e){return Ju(e)?e:[]}function Pr(e){return"function"==typeof e?e:Ba}function Mr(e){return Zf(e)?e:Sf(e)}function Br(e,t,n){var r=e.length;return n=n===te?r:n,!t&&n>=r?e:_r(e,t,n)}function Dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function Fr(e){var t=new e.constructor(e.byteLength);return new bs(t).set(new bs(e)),t}function Nr(e,t){var n=t?Fr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ur(e,t,n){var r=t?n(V(e),!0):V(e);return S(r,i,new e.constructor)}function Wr(e){var t=new e.constructor(e.source,It.exec(e));return t.lastIndex=e.lastIndex,t}function zr(e,t,n){var r=t?n(K(e),!0):K(e);return S(r,u,new e.constructor)}function Yr(e){return uf?Object(uf.call(e)):{}}function Hr(e,t){var n=t?Fr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Gr(e,t,n,r){for(var o=-1,i=e.length,u=n.length,c=-1,a=t.length,s=Bs(i-u,0),f=Array(a+s),p=!r;++c<a;)f[c]=t[c];for(;++o<u;)(p||i>o)&&(f[n[o]]=e[o]);for(;s--;)f[c++]=e[o++];return f}function Jr(e,t,n,r){for(var o=-1,i=e.length,u=-1,c=n.length,a=-1,s=t.length,f=Bs(i-c,0),p=Array(f+s),h=!r;++o<f;)p[o]=e[o];for(var l=o;++a<s;)p[l+a]=t[a];for(;++u<c;)(h||i>o)&&(p[l+n[u]]=e[o++]);return p}function Vr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function $r(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var u=t[o],c=r?r(n[u],e[u],u,n,e):e[u];ln(n,u,c)}return n}function Kr(e,t){return $r(e,Io(e),t)}function Xr(e,t){return function(n,r){var o=Zf(n)?a:yn,i=t?t():{};return o(n,e,qo(r),i)}}function Zr(e){return Cu(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:te,u=o>2?n[2]:te;for(i="function"==typeof i?(o--,i):te,u&&Do(n[0],n[1],u)&&(i=3>o?te:i,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t})}function Qr(e,t){return function(n,r){if(null==n)return n;if(!Gu(n))return e(n,r);for(var o=n.length,i=t?o:-1,u=Object(n);(t?i--:++i<o)&&r(u[i],i,u)!==!1;);return n}}function eo(e){return function(t,n,r){for(var o=-1,i=Object(t),u=r(t),c=u.length;c--;){var a=u[e?c:++o];if(n(i[a],a,i)===!1)break}return t}}function to(e,t,n){function r(){var t=this&&this!==Gn&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&ce,i=oo(e);return r}function no(e){return function(t){t=Rc(t);var n=An.test(t)?Z(t):te,r=n?n[0]:t.charAt(0),o=n?Br(n,1).join(""):t.slice(1);return r[e]()+o}}function ro(e){return function(t){return S(Ra(la(t).replace(bn,"")),e,"")}}function oo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=wn(e.prototype),r=e.apply(n,t);return ic(r)?r:n}}function io(e,t,n){function r(){for(var i=arguments.length,u=Array(i),a=i,s=Ao(r);a--;)u[a]=arguments[a];var f=3>i&&u[0]!==s&&u[i-1]!==s?[]:$(u,s);if(i-=f.length,n>i)return lo(e,t,co,r.placeholder,te,u,f,te,te,n-i);var p=this&&this!==Gn&&this instanceof r?o:e;return c(p,this,u)}var o=oo(e);return r}function uo(e){return Cu(function(t){t=Pn(t,1);var n=t.length,o=n,i=r.prototype.thru;for(e&&t.reverse();o--;){var u=t[o];if("function"!=typeof u)throw new as(oe);if(i&&!c&&"wrapper"==bo(u))var c=new r([],!0)}for(o=c?o:n;++o<n;){u=t[o];var a=bo(u),s="wrapper"==a?yf(u):te;c=s&&Uo(s[0])&&s[1]==(ye|fe|he|de)&&!s[4].length&&1==s[9]?c[bo(s[0])].apply(c,s[3]):1==u.length&&Uo(u)?c[a]():c.thru(u)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Zf(r)&&r.length>=re)return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function co(e,t,n,r,o,i,u,c,a,s){function f(){for(var g=arguments.length,S=g,m=Array(g);S--;)m[S]=arguments[S];if(y)var w=Ao(f),_=F(m,w);if(r&&(m=Gr(m,r,o,y)),i&&(m=Jr(m,i,u,y)),g-=_,y&&s>g){var b=$(m,w);return lo(e,t,co,f.placeholder,n,m,b,c,a,s-g)}var q=h?n:this,k=l?q[e]:e;return g=m.length,c?m=Vo(m,c):d&&g>1&&m.reverse(),p&&g>a&&(m.length=a),this&&this!==Gn&&this instanceof f&&(k=v||oo(k)),k.apply(q,m)}var p=t&ye,h=t&ce,l=t&ae,y=t&(fe|pe),d=t&ve,v=l?te:oo(e);return f}function ao(e,t){return function(n,r){return Kn(n,e,t(r),{})}}function so(e){return Cu(function(t){return t=1==t.length&&Zf(t[0])?v(t[0],j(qo())):v(Pn(t,1,Bo),j(qo())),Cu(function(n){var r=this;return e(t,function(e){return c(e,r,n)})})})}function fo(e,t){t=t===te?" ":t+"";var n=t.length;if(2>n)return n?mr(t,e):t;var r=mr(t,Cs(e/X(t)));return An.test(t)?Br(Z(r),0,e).join(""):r.slice(0,e)}function po(e,t,n,r){function o(){for(var t=-1,a=arguments.length,s=-1,f=r.length,p=Array(f+a),h=this&&this!==Gn&&this instanceof o?u:e;++s<f;)p[s]=r[s];for(;a--;)p[s++]=arguments[++t];return c(h,i?n:this,p)}var i=t&ce,u=oo(e);return o}function ho(e){return function(t,n,r){return r&&"number"!=typeof r&&Do(t,n,r)&&(n=r=te),t=Oc(t),t=t===t?t:0,n===te?(n=t,t=0):n=Oc(n)||0,r=r===te?n>t?1:-1:Oc(r)||0,Sr(t,n,r,e)}}function lo(e,t,n,r,o,i,u,c,a,s){var f=t&fe,p=f?u:te,h=f?te:u,l=f?i:te,y=f?te:i;t|=f?he:le,t&=~(f?le:he),t&se||(t&=~(ce|ae));var d=[e,t,o,l,p,y,h,c,a,s],v=n.apply(te,d);return Uo(e)&&gf(v,d),v.placeholder=r,v}function yo(e){var t=us[e];return function(e,n){if(e=Oc(e),n=Ic(n)){var r=(Rc(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Rc(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function vo(e,t,n,r,o,i,u,c){var a=t&ae;if(!a&&"function"!=typeof e)throw new as(oe);var s=r?r.length:0;if(s||(t&=~(he|le),r=o=te),u=u===te?u:Bs(Ic(u),0),c=c===te?c:Ic(c),s-=o?o.length:0,t&le){var f=r,p=o;r=o=te}var h=a?te:yf(e),l=[e,t,n,r,o,f,p,i,u,c];if(h&&Ho(l,h),e=l[0],t=l[1],n=l[2],r=l[3],o=l[4],c=l[9]=null==l[9]?a?0:e.length:Bs(l[9]-s,0),!c&&t&(fe|pe)&&(t&=~(fe|pe)),t&&t!=ce)y=t==fe||t==pe?io(e,t,c):t!=he&&t!=(ce|he)||o.length?co.apply(te,l):po(e,t,n,r);else var y=to(e,t,n);var d=h?hf:gf;return d(y,l)}function go(e,t,n,r,o,i){var u=-1,c=o&Se,a=o&ge,s=e.length,f=t.length;if(s!=f&&!(c&&f>s))return!1;var p=i.get(e);if(p)return p==t;var h=!0;for(i.set(e,t);++u<s;){var l=e[u],y=t[u];if(r)var d=c?r(y,l,u,t,e,i):r(l,y,u,e,t,i);if(d!==te){if(d)continue;h=!1;break}if(a){if(!w(t,function(e){return l===e||n(l,e,r,o,i)})){h=!1;break}}else if(l!==y&&!n(l,y,r,o,i)){h=!1;break}}return i["delete"](e),h}function So(e,t,n,r,o,i,u){switch(n){case Xe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ke:return!(e.byteLength!=t.byteLength||!r(new bs(e),new bs(t)));case Pe:case Me:return+e==+t;case Be:return e.name==t.name&&e.message==t.message;case Ue:return e!=+e?t!=+t:e==+t;case Ye:case Ge:return e==t+"";case Ne:var c=V;case He:var a=i&Se;if(c||(c=K),e.size!=t.size&&!a)return!1;var s=u.get(e);return s?s==t:(i|=ge,u.set(e,t),go(c(e),c(t),r,o,i,u));case Je:if(uf)return uf.call(e)==uf.call(t)}return!1}function mo(e,t,n,r,o,i){var u=o&Se,c=Gc(e),a=c.length,s=Gc(t),f=s.length;if(a!=f&&!u)return!1;for(var p=a;p--;){var h=c[p];if(!(u?h in t:Yn(t,h)))return!1}var l=i.get(e);if(l)return l==t;var y=!0;i.set(e,t);for(var d=u;++p<a;){h=c[p];var v=e[h],g=t[h];if(r)var S=u?r(g,v,h,t,e,i):r(v,g,h,e,t,i);if(!(S===te?v===g||n(v,g,r,o,i):S)){y=!1;break}d||(d="constructor"==h)}if(y&&!d){var m=e.constructor,w=t.constructor;m!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w)&&(y=!1)}return i["delete"](e),y}function wo(e){return zn(e,Gc,Io)}function _o(e){return zn(e,Jc,vf)}function bo(e){for(var t=e.name+"",n=Zs[t],r=ls.call(Zs,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function qo(){var e=t.iteratee||Da;return e=e===Da?tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ko(e){for(var t=ta(e),n=t.length;n--;)t[n][2]=zo(t[n][1]);return t}function xo(e,t){var n=e[t];return pc(n)?n:te}function Ao(e){var n=ls.call(t,"placeholder")?t:e;return n.placeholder}function Eo(e){return Rs(Object(e))}function Io(e){return xs(Object(e))}function Lo(e){return vs.call(e)}function Oo(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],u=i.size;switch(i.type){case"drop":e+=u;break;case"dropRight":t-=u;break;case"take":t=Ds(t,e+u);break;case"takeRight":e=Bs(e,t-u)}}return{start:e,end:t}}function Co(e,t,n){t=Fo(t,e)?[t]:Mr(t);for(var r,o=-1,i=t.length;++o<i;){var u=t[o];if(!(r=null!=e&&n(e,u)))break;e=e[u]}if(r)return r;var i=e?e.length:0;return!!i&&oc(i)&&G(u,i)&&(Zf(e)||mc(e)||Yu(e))}function jo(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&ls.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Ro(e){return"function"!=typeof e.constructor||Wo(e)?{}:wn(Eo(e))}function To(e,t,n,r){var o=e.constructor;switch(t){case Ke:return Fr(e);case Pe:case Me:return new o(+e);case Xe:return Nr(e,r);case Ze:case Qe:case et:case tt:case nt:case rt:case ot:case it:case ut:return Hr(e,r);case Ne:return Ur(e,r,n);case Ue:case Ge:return new o(e);case Ye:return Wr(e);case He:return zr(e,r,n);case Je:return Yr(e)}}function Po(e){var t=e?e.length:te;return oc(t)&&(Zf(e)||mc(e)||Yu(e))?O(t,String):null}function Mo(e){return Ju(e)&&(Zf(e)||Yu(e))}function Bo(e){return Zf(e)&&!(2==e.length&&!nc(e[0]))}function Do(e,t,n){if(!ic(n))return!1;var r=typeof t;return("number"==r?Gu(n)&&G(t,n.length):"string"==r&&t in n)?Uu(n[t],e):!1}function Fo(e,t){var n=typeof e;return"number"==n||"symbol"==n?!0:!Zf(e)&&(wc(e)||St.test(e)||!gt.test(e)||null!=t&&e in Object(t))}function No(e){var t=typeof e;return"number"==t||"boolean"==t||"string"==t&&"__proto__"!=e||null==e}function Uo(e){var n=bo(e),r=t[n];if("function"!=typeof r||!(n in o.prototype))return!1;if(e===r)return!0;var i=yf(r);return!!i&&e===i[0]}function Wo(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||fs;return e===n}function zo(e){return e===e&&!ic(e)}function Yo(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==te||e in Object(n))}}function Ho(e,t){var n=e[1],r=t[1],o=n|r,i=(ce|ae|ye)>o,u=r==ye&&n==fe||r==ye&&n==de&&e[7].length<=t[8]||r==(ye|de)&&t[7].length<=t[8]&&n==fe;if(!i&&!u)return e;r&ce&&(e[2]=t[2],o|=n&ce?0:se);var c=t[3];if(c){var a=e[3];e[3]=a?Gr(a,c,t[4]):c,e[4]=a?$(e[3],ue):t[4]}return c=t[5],c&&(a=e[5],e[5]=a?Jr(a,c,t[6]):c,e[6]=a?$(e[5],ue):t[6]),c=t[7],c&&(e[7]=c),r&ye&&(e[8]=null==e[8]?t[8]:Ds(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Go(e,t,n,r,o,i){return ic(e)&&ic(t)&&cr(e,t,te,Go,i.set(t,e)),e}function Jo(e,t){return 1==t.length?e:Wn(e,_r(t,0,-1))}function Vo(e,t){for(var n=e.length,r=Ds(t.length,n),o=Vr(e);r--;){var i=t[r];e[r]=G(i,n)?o[i]:te}return e}function $o(e){return"string"==typeof e||wc(e)?e:e+""}function Ko(e){if(null!=e){try{return hs.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Xo(e){if(e instanceof o)return e.clone();var t=new r(e.__wrapped__,e.__chain__);return t.__actions__=Vr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zo(e,t,n){t=(n?Do(e,t,n):t===te)?1:Bs(Ic(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var o=0,i=0,u=Array(Cs(r/t));r>o;)u[i++]=_r(e,o,o+=t);return u}function Qo(e){for(var t=-1,n=e?e.length:0,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}function ei(){var e=arguments.length,t=Mu(arguments[0]);if(2>e)return e?Vr(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return s(t,Pn(n,1))}function ti(e,t,n){var r=e?e.length:0;return r?(t=n||t===te?1:Ic(t),_r(e,0>t?0:t,r)):[]}function ni(e,t,n){var r=e?e.length:0;return r?(t=n||t===te?1:Ic(t),t=r-t,_r(e,0,0>t?0:t)):[]}function ri(e,t){return e&&e.length?Or(e,qo(t,3),!0,!0):[]}function oi(e,t){return e&&e.length?Or(e,qo(t,3),!0):[]}function ii(e,t,n,r){var o=e?e.length:0;return o?(n&&"number"!=typeof n&&Do(e,t,n)&&(n=0,r=o),Rn(e,t,n,r)):[]}function ui(e,t){return e&&e.length?q(e,qo(t,3)):-1}function ci(e,t){return e&&e.length?q(e,qo(t,3),!0):-1}function ai(e){var t=e?e.length:0;return t?Pn(e,1):[]}function si(e){var t=e?e.length:0;return t?Pn(e,Ae):[]}function fi(e,t){var n=e?e.length:0;return n?(t=t===te?1:Ic(t),Pn(e,t)):[]}function pi(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function hi(e){return e&&e.length?e[0]:te}function li(e,t,n){var r=e?e.length:0;return r?(n=Ic(n),0>n&&(n=Bs(r+n,0)),k(e,t,n)):-1}function yi(e){return ni(e,1)}function di(e,t){return e?Ps.call(e,t):""}function vi(e){var t=e?e.length:0;return t?e[t-1]:te}function gi(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=r;if(n!==te&&(o=Ic(n),o=(0>o?Bs(r+o,0):Ds(o,r-1))+1),t!==t)return Y(e,o,!0);for(;o--;)if(e[o]===t)return o;return-1}function Si(e,t){return e&&e.length?sr(e,Ic(t)):te}function mi(e,t){return e&&e.length&&t&&t.length?dr(e,t):e}function wi(e,t,n){return e&&e.length&&t&&t.length?dr(e,t,qo(n)):e}function _i(e,t,n){return e&&e.length&&t&&t.length?dr(e,t,te,n):e}function bi(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=qo(t,3);++r<i;){var u=e[r];t(u,r,e)&&(n.push(u),o.push(r))}return vr(e,o),n}function qi(e){return e?Ws.call(e):e}function ki(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&Do(e,t,n)?(t=0,n=r):(t=null==t?0:Ic(t),n=n===te?r:Ic(n)),_r(e,t,n)):[]}function xi(e,t){return qr(e,t)}function Ai(e,t,n){return kr(e,t,qo(n))}function Ei(e,t){var n=e?e.length:0;if(n){var r=qr(e,t);if(n>r&&Uu(e[r],t))return r}return-1}function Ii(e,t){return qr(e,t,!0)}function Li(e,t,n){
+return kr(e,t,qo(n),!0)}function Oi(e,t){var n=e?e.length:0;if(n){var r=qr(e,t,!0)-1;if(Uu(e[r],t))return r}return-1}function Ci(e){return e&&e.length?xr(e):[]}function ji(e,t){return e&&e.length?Ar(e,qo(t)):[]}function Ri(e){return ti(e,1)}function Ti(e,t,n){return e&&e.length?(t=n||t===te?1:Ic(t),_r(e,0,0>t?0:t)):[]}function Pi(e,t,n){var r=e?e.length:0;return r?(t=n||t===te?1:Ic(t),t=r-t,_r(e,0>t?0:t,r)):[]}function Mi(e,t){return e&&e.length?Or(e,qo(t,3),!1,!0):[]}function Bi(e,t){return e&&e.length?Or(e,qo(t,3)):[]}function Di(e){return e&&e.length?Er(e):[]}function Fi(e,t){return e&&e.length?Er(e,qo(t)):[]}function Ni(e,t){return e&&e.length?Er(e,te,t):[]}function Ui(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){return Ju(e)?(t=Bs(e.length,t),!0):void 0}),O(t,function(t){return v(e,lr(t))})}function Wi(e,t){if(!e||!e.length)return[];var n=Ui(e);return null==t?n:v(n,function(e){return c(t,te,e)})}function zi(e,t){return Rr(e||[],t||[],ln)}function Yi(e,t){return Rr(e||[],t||[],wr)}function Hi(e){var n=t(e);return n.__chain__=!0,n}function Gi(e,t){return t(e),e}function Ji(e,t){return t(e)}function Vi(){return Hi(this)}function $i(){return new r(this.value(),this.__chain__)}function Ki(){this.__values__===te&&(this.__values__=Ec(this.value()));var e=this.__index__>=this.__values__.length,t=e?te:this.__values__[this.__index__++];return{done:e,value:t}}function Xi(){return this}function Zi(e){for(var t,r=this;r instanceof n;){var o=Xo(r);o.__index__=0,o.__values__=te,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t}function Qi(){var e=this.__wrapped__;if(e instanceof o){var t=e;return this.__actions__.length&&(t=new o(this)),t=t.reverse(),t.__actions__.push({func:Ji,args:[qi],thisArg:te}),new r(t,this.__chain__)}return this.thru(qi)}function eu(){return Cr(this.__wrapped__,this.__actions__)}function tu(e,t,n){var r=Zf(e)?h:jn;return n&&Do(e,t,n)&&(t=te),r(e,qo(t,3))}function nu(e,t){var n=Zf(e)?l:Tn;return n(e,qo(t,3))}function ru(e,t){if(t=qo(t,3),Zf(e)){var n=q(e,t);return n>-1?e[n]:te}return b(e,t,af)}function ou(e,t){if(t=qo(t,3),Zf(e)){var n=q(e,t,!0);return n>-1?e[n]:te}return b(e,t,sf)}function iu(e,t){return Pn(pu(e,t),1)}function uu(e,t){return Pn(pu(e,t),Ae)}function cu(e,t,n){return n=n===te?1:Ic(n),Pn(pu(e,t),n)}function au(e,t){return"function"==typeof t&&Zf(e)?f(e,t):af(e,qo(t))}function su(e,t){return"function"==typeof t&&Zf(e)?p(e,t):sf(e,qo(t))}function fu(e,t,n,r){e=Gu(e)?e:ca(e),n=n&&!r?Ic(n):0;var o=e.length;return 0>n&&(n=Bs(o+n,0)),mc(e)?o>=n&&e.indexOf(t,n)>-1:!!o&&k(e,t,n)>-1}function pu(e,t){var n=Zf(e)?v:or;return n(e,qo(t,3))}function hu(e,t,n,r){return null==e?[]:(Zf(t)||(t=null==t?[]:[t]),n=r?te:n,Zf(n)||(n=null==n?[]:[n]),fr(e,t,n))}function lu(e,t,n){var r=Zf(e)?S:E,o=arguments.length<3;return r(e,qo(t,4),n,o,af)}function yu(e,t,n){var r=Zf(e)?m:E,o=arguments.length<3;return r(e,qo(t,4),n,o,sf)}function du(e,t){var n=Zf(e)?l:Tn;return t=qo(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function vu(e){var t=Gu(e)?e:ca(e),n=t.length;return n>0?t[gr(0,n-1)]:te}function gu(e,t,n){var r=-1,o=Ec(e),i=o.length,u=i-1;for(t=(n?Do(e,t,n):t===te)?1:gn(Ic(t),0,i);++r<t;){var c=gr(r,u),a=o[c];o[c]=o[r],o[r]=a}return o.length=t,o}function Su(e){return gu(e,Oe)}function mu(e){if(null==e)return 0;if(Gu(e)){var t=e.length;return t&&mc(e)?X(e):t}if(uc(e)){var n=Lo(e);if(n==Ne||n==He)return e.size}return Gc(e).length}function wu(e,t,n){var r=Zf(e)?w:br;return n&&Do(e,t,n)&&(t=te),r(e,qo(t,3))}function _u(e,t){if("function"!=typeof t)throw new as(oe);return e=Ic(e),function(){return--e<1?t.apply(this,arguments):void 0}}function bu(e,t,n){return t=n?te:t,t=e&&null==t?e.length:t,vo(e,ye,te,te,te,te,t)}function qu(e,t){var n;if("function"!=typeof t)throw new as(oe);return e=Ic(e),function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=te),n}}function ku(e,t,n){t=n?te:t;var r=vo(e,fe,te,te,te,te,te,t);return r.placeholder=ku.placeholder,r}function xu(e,t,n){t=n?te:t;var r=vo(e,pe,te,te,te,te,te,t);return r.placeholder=xu.placeholder,r}function Au(e,t,n){function r(t){var n=h,r=l;return h=l=te,S=t,d=e.apply(r,n)}function o(e){return S=e,v=Ls(c,t),m?r(e):d}function i(e){var n=e-g,r=e-S,o=t-n;return w?Ds(o,y-r):o}function u(e){var n=e-g,r=e-S;return!g||n>=t||0>n||w&&r>=y}function c(){var e=zf();return u(e)?a(e):void(v=Ls(c,i(e)))}function a(e){return qs(v),v=te,_&&h?r(e):(h=l=te,d)}function s(){v!==te&&qs(v),g=S=0,h=l=v=te}function f(){return v===te?d:a(zf())}function p(){var e=zf(),n=u(e);if(h=arguments,l=this,g=e,n){if(v===te)return o(g);if(w)return qs(v),v=Ls(c,t),r(g)}return v===te&&(v=Ls(c,t)),d}var h,l,y,d,v,g=0,S=0,m=!1,w=!1,_=!0;if("function"!=typeof e)throw new as(oe);return t=Oc(t)||0,ic(n)&&(m=!!n.leading,w="maxWait"in n,y=w?Bs(Oc(n.maxWait)||0,t):y,_="trailing"in n?!!n.trailing:_),p.cancel=s,p.flush=f,p}function Eu(e){return vo(e,ve)}function Iu(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new as(oe);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=e.apply(this,r);return n.cache=i.set(o,u),u};return n.cache=new(Iu.Cache||Yt),n}function Lu(e){if("function"!=typeof e)throw new as(oe);return function(){return!e.apply(this,arguments)}}function Ou(e){return qu(2,e)}function Cu(e,t){if("function"!=typeof e)throw new as(oe);return t=Bs(t===te?e.length-1:Ic(t),0),function(){for(var n=arguments,r=-1,o=Bs(n.length-t,0),i=Array(o);++r<o;)i[r]=n[t+r];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,n[0],i);case 2:return e.call(this,n[0],n[1],i)}var u=Array(t+1);for(r=-1;++r<t;)u[r]=n[r];return u[t]=i,c(e,this,u)}}function ju(e,t){if("function"!=typeof e)throw new as(oe);return t=t===te?0:Bs(Ic(t),0),Cu(function(n){var r=n[t],o=Br(n,0,t);return r&&g(o,r),c(e,this,o)})}function Ru(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new as(oe);return ic(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Au(e,t,{leading:r,maxWait:t,trailing:o})}function Tu(e){return bu(e,1)}function Pu(e,t){return t=null==t?Ba:t,$f(t,e)}function Mu(){if(!arguments.length)return[];var e=arguments[0];return Zf(e)?e:[e]}function Bu(e){return Sn(e,!1,!0)}function Du(e,t){return Sn(e,!1,!0,t)}function Fu(e){return Sn(e,!0,!0)}function Nu(e,t){return Sn(e,!0,!0,t)}function Uu(e,t){return e===t||e!==e&&t!==t}function Wu(e,t){return e>t}function zu(e,t){return e>=t}function Yu(e){return Ju(e)&&ls.call(e,"callee")&&(!Is.call(e,"callee")||vs.call(e)==Re)}function Hu(e){return uc(e)&&vs.call(e)==Ke}function Gu(e){return null!=e&&oc(df(e))&&!nc(e)}function Ju(e){return uc(e)&&Gu(e)}function Vu(e){return e===!0||e===!1||uc(e)&&vs.call(e)==Pe}function $u(e){return uc(e)&&vs.call(e)==Me}function Ku(e){return!!e&&1===e.nodeType&&uc(e)&&!dc(e)}function Xu(e){if(Gu(e)&&(Zf(e)||mc(e)||nc(e.splice)||Yu(e)||Qf(e)))return!e.length;if(uc(e)){var t=Lo(e);if(t==Ne||t==He)return!e.size}for(var n in e)if(ls.call(e,n))return!1;return!(Xs&&Gc(e).length)}function Zu(e,t){return Zn(e,t)}function Qu(e,t,n){n="function"==typeof n?n:te;var r=n?n(e,t):te;return r===te?Zn(e,t,n):!!r}function ec(e){return uc(e)?vs.call(e)==Be||"string"==typeof e.message&&"string"==typeof e.name:!1}function tc(e){return"number"==typeof e&&Ts(e)}function nc(e){var t=ic(e)?vs.call(e):"";return t==De||t==Fe}function rc(e){return"number"==typeof e&&e==Ic(e)}function oc(e){return"number"==typeof e&&e>-1&&e%1==0&&Ee>=e}function ic(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function uc(e){return!!e&&"object"==typeof e}function cc(e){return uc(e)&&Lo(e)==Ne}function ac(e,t){return e===t||er(e,t,ko(t))}function sc(e,t,n){return n="function"==typeof n?n:te,er(e,t,ko(t),n)}function fc(e){return yc(e)&&e!=+e}function pc(e){if(!ic(e))return!1;var t=nc(e)||H(e)?Ss:jt;return t.test(Ko(e))}function hc(e){return null===e}function lc(e){return null==e}function yc(e){return"number"==typeof e||uc(e)&&vs.call(e)==Ue}function dc(e){if(!uc(e)||vs.call(e)!=We||H(e))return!1;var t=Eo(e);if(null===t)return!0;var n=ls.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&hs.call(n)==ds}function vc(e){return ic(e)&&vs.call(e)==Ye}function gc(e){return rc(e)&&e>=-Ee&&Ee>=e}function Sc(e){return uc(e)&&Lo(e)==He}function mc(e){return"string"==typeof e||!Zf(e)&&uc(e)&&vs.call(e)==Ge}function wc(e){return"symbol"==typeof e||uc(e)&&vs.call(e)==Je}function _c(e){return uc(e)&&oc(e.length)&&!!On[vs.call(e)]}function bc(e){return e===te}function qc(e){return uc(e)&&Lo(e)==Ve}function kc(e){return uc(e)&&vs.call(e)==$e}function xc(e,t){return t>e}function Ac(e,t){return t>=e}function Ec(e){if(!e)return[];if(Gu(e))return mc(e)?Z(e):Vr(e);if(As&&e[As])return J(e[As]());var t=Lo(e),n=t==Ne?V:t==He?K:ca;return n(e)}function Ic(e){if(!e)return 0===e?e:0;if(e=Oc(e),e===Ae||e===-Ae){var t=0>e?-1:1;return t*Ie}var n=e%1;return e===e?n?e-n:e:0}function Lc(e){return e?gn(Ic(e),0,Oe):0}function Oc(e){if("number"==typeof e)return e;if(wc(e))return Le;if(ic(e)){var t=nc(e.valueOf)?e.valueOf():e;e=ic(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(bt,"");var n=Ct.test(e);return n||Rt.test(e)?Dn(e.slice(2),n?2:8):Ot.test(e)?Le:+e}function Cc(e){return $r(e,Jc(e))}function jc(e){return gn(Ic(e),-Ee,Ee)}function Rc(e){if("string"==typeof e)return e;if(null==e)return"";if(wc(e))return cf?cf.call(e):"";var t=e+"";return"0"==t&&1/e==-Ae?"-0":t}function Tc(e,t){var n=wn(e);return t?dn(n,t):n}function Pc(e,t){return b(e,qo(t,3),Mn,!0)}function Mc(e,t){return b(e,qo(t,3),Fn,!0)}function Bc(e,t){return null==e?e:ff(e,qo(t),Jc)}function Dc(e,t){return null==e?e:pf(e,qo(t),Jc)}function Fc(e,t){return e&&Mn(e,qo(t))}function Nc(e,t){return e&&Fn(e,qo(t))}function Uc(e){return null==e?[]:Nn(e,Gc(e))}function Wc(e){return null==e?[]:Nn(e,Jc(e))}function zc(e,t,n){var r=null==e?te:Wn(e,t);return r===te?n:r}function Yc(e,t){return null!=e&&Co(e,t,Yn)}function Hc(e,t){return null!=e&&Co(e,t,Hn)}function Gc(e){var t=Wo(e);if(!t&&!Gu(e))return nr(e);var n=Po(e),r=!!n,o=n||[],i=o.length;for(var u in e)!Yn(e,u)||r&&("length"==u||G(u,i))||t&&"constructor"==u||o.push(u);return o}function Jc(e){for(var t=-1,n=Wo(e),r=rr(e),o=r.length,i=Po(e),u=!!i,c=i||[],a=c.length;++t<o;){var s=r[t];u&&("length"==s||G(s,a))||"constructor"==s&&(n||!ls.call(e,s))||c.push(s)}return c}function Vc(e,t){var n={};return t=qo(t,3),Mn(e,function(e,r,o){n[t(e,r,o)]=e}),n}function $c(e,t){var n={};return t=qo(t,3),Mn(e,function(e,r,o){n[r]=t(e,r,o)}),n}function Kc(e,t){return t=qo(t),hr(e,function(e,n){return!t(e,n)})}function Xc(e,t){return null==e?{}:hr(e,qo(t))}function Zc(e,t,n){t=Fo(t,e)?[t]:Mr(t);var r=-1,o=t.length;for(o||(e=te,o=1);++r<o;){var i=null==e?te:e[t[r]];i===te&&(r=o,i=n),e=nc(i)?i.call(e):i}return e}function Qc(e,t,n){return null==e?e:wr(e,t,n)}function ea(e,t,n,r){return r="function"==typeof r?r:te,null==e?e:wr(e,t,n,r)}function ta(e){return C(e,Gc(e))}function na(e){return C(e,Jc(e))}function ra(e,t,n){var r=Zf(e)||_c(e);if(t=qo(t,4),null==n)if(r||ic(e)){var o=e.constructor;n=r?Zf(e)?new o:[]:nc(o)?wn(Eo(e)):{}}else n={};return(r?f:Mn)(e,function(e,r,o){return t(n,e,r,o)}),n}function oa(e,t){return null==e?!0:Ir(e,t)}function ia(e,t,n){return null==e?e:Lr(e,t,Pr(n))}function ua(e,t,n,r){return r="function"==typeof r?r:te,null==e?e:Lr(e,t,Pr(n),r)}function ca(e){return e?R(e,Gc(e)):[]}function aa(e){return null==e?[]:R(e,Jc(e))}function sa(e,t,n){return n===te&&(n=t,t=te),n!==te&&(n=Oc(n),n=n===n?n:0),t!==te&&(t=Oc(t),t=t===t?t:0),gn(Oc(e),t,n)}function fa(e,t,n){return t=Oc(t)||0,n===te?(n=t,t=0):n=Oc(n)||0,e=Oc(e),Vn(e,t,n)}function pa(e,t,n){if(n&&"boolean"!=typeof n&&Do(e,t,n)&&(t=n=te),n===te&&("boolean"==typeof t?(n=t,t=te):"boolean"==typeof e&&(n=e,e=te)),e===te&&t===te?(e=0,t=1):(e=Oc(e)||0,t===te?(t=e,e=0):t=Oc(t)||0),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Ns();return Ds(e+o*(t-e+Bn("1e-"+((o+"").length-1))),t)}return gr(e,t)}function ha(e){return _p(Rc(e).toLowerCase())}function la(e){return e=Rc(e),e&&e.replace(Pt,U).replace(qn,"")}function ya(e,t,n){e=Rc(e),t="string"==typeof t?t:t+"";var r=e.length;return n=n===te?r:gn(Ic(n),0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function da(e){return e=Rc(e),e&&lt.test(e)?e.replace(pt,W):e}function va(e){return e=Rc(e),e&&_t.test(e)?e.replace(wt,"\\$&"):e}function ga(e,t,n){e=Rc(e),t=Ic(t);var r=t?X(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return fo(js(o),n)+e+fo(Cs(o),n)}function Sa(e,t,n){e=Rc(e),t=Ic(t);var r=t?X(e):0;return t&&t>r?e+fo(t-r,n):e}function ma(e,t,n){e=Rc(e),t=Ic(t);var r=t?X(e):0;return t&&t>r?fo(t-r,n)+e:e}function wa(e,t,n){return n||null==t?t=0:t&&(t=+t),e=Rc(e).replace(bt,""),Fs(e,t||(Lt.test(e)?16:10))}function _a(e,t,n){return t=(n?Do(e,t,n):t===te)?1:Ic(t),mr(Rc(e),t)}function ba(){var e=arguments,t=Rc(e[0]);return e.length<3?t:Us.call(t,e[1],e[2])}function qa(e,t,n){return n&&"number"!=typeof n&&Do(e,t,n)&&(t=n=te),(n=n===te?Oe:n>>>0)?(e=Rc(e),e&&("string"==typeof t||null!=t&&!vc(t))&&(t+="",""==t&&An.test(e))?Br(Z(e),0,n):zs.call(e,t,n)):[]}function ka(e,t,n){return e=Rc(e),n=gn(Ic(n),0,e.length),e.lastIndexOf(t,n)==n}function xa(e,n,r){var o=t.templateSettings;r&&Do(e,n,r)&&(n=te),e=Rc(e),n=np({},n,o,pn);var i,u,c=np({},n.imports,o.imports,pn),a=Gc(c),s=R(c,a),f=0,p=n.interpolate||Mt,h="__p += '",l=cs((n.escape||Mt).source+"|"+p.source+"|"+(p===vt?Et:Mt).source+"|"+(n.evaluate||Mt).source+"|$","g"),y="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ln+"]")+"\n";e.replace(l,function(t,n,r,o,c,a){return r||(r=o),h+=e.slice(f,a).replace(Bt,z),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),c&&(u=!0,h+="';\n"+c+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=a+t.length,t}),h+="';\n";var d=n.variable;d||(h="with (obj) {\n"+h+"\n}\n"),h=(u?h.replace(ct,""):h).replace(at,"$1").replace(st,"$1;"),h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=bp(function(){return Function(a,y+"return "+h).apply(te,s)});if(v.source=h,ec(v))throw v;return v}function Aa(e){return Rc(e).toLowerCase()}function Ea(e){return Rc(e).toUpperCase()}function Ia(e,t,n){if(e=Rc(e),!e)return e;if(n||t===te)return e.replace(bt,"");if(!(t+=""))return e;var r=Z(e),o=Z(t),i=T(r,o),u=P(r,o)+1;return Br(r,i,u).join("")}function La(e,t,n){if(e=Rc(e),!e)return e;if(n||t===te)return e.replace(kt,"");if(!(t+=""))return e;var r=Z(e),o=P(r,Z(t))+1;return Br(r,0,o).join("")}function Oa(e,t,n){if(e=Rc(e),!e)return e;if(n||t===te)return e.replace(qt,"");if(!(t+=""))return e;var r=Z(e),o=T(r,Z(t));return Br(r,o).join("")}function Ca(e,t){var n=me,r=we;if(ic(t)){var o="separator"in t?t.separator:o;n="length"in t?Ic(t.length):n,r="omission"in t?Rc(t.omission):r}e=Rc(e);var i=e.length;if(An.test(e)){var u=Z(e);i=u.length}if(n>=i)return e;var c=n-X(r);if(1>c)return r;var a=u?Br(u,0,c).join(""):e.slice(0,c);if(o===te)return a+r;if(u&&(c+=a.length-c),vc(o)){if(e.slice(c).search(o)){var s,f=a;for(o.global||(o=cs(o.source,Rc(It.exec(o))+"g")),o.lastIndex=0;s=o.exec(f);)var p=s.index;a=a.slice(0,p===te?c:p)}}else if(e.indexOf(o,c)!=c){var h=a.lastIndexOf(o);h>-1&&(a=a.slice(0,h))}return a+r}function ja(e){return e=Rc(e),e&&ht.test(e)?e.replace(ft,Q):e}function Ra(e,t,n){return e=Rc(e),t=n?te:t,t===te&&(t=En.test(e)?xn:xt),e.match(t)||[]}function Ta(e){var t=e?e.length:0,n=qo();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new as(oe);return[n(e[0]),e[1]]}):[],Cu(function(n){for(var r=-1;++r<t;){var o=e[r];if(c(o[0],this,n))return c(o[1],this,n)}})}function Pa(e){return mn(Sn(e,!0))}function Ma(e){return function(){return e}}function Ba(e){return e}function Da(e){return tr("function"==typeof e?e:Sn(e,!0))}function Fa(e){return ir(Sn(e,!0))}function Na(e,t){return ur(e,Sn(t,!0))}function Ua(e,t,n){var r=Gc(t),o=Nn(t,r);null!=n||ic(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Nn(t,Gc(t)));var i=!(ic(n)&&"chain"in n&&!n.chain),u=nc(e);return f(o,function(n){var r=t[n];e[n]=r,u&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Vr(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,g([this.value()],arguments))})}),e}function Wa(){return Gn._===this&&(Gn._=gs),this}function za(){}function Ya(e){return e=Ic(e),Cu(function(t){return sr(t,e)})}function Ha(e){return Fo(e)?lr(e):yr(e)}function Ga(e){return function(t){return null==e?te:Wn(e,t)}}function Ja(e,t){if(e=Ic(e),1>e||e>Ee)return[];var n=Oe,r=Ds(e,Oe);t=qo(t),e-=Oe;for(var o=O(r,t);++n<e;)t(n);return o}function Va(e){return Zf(e)?v(e,$o):wc(e)?[e]:Vr(Sf(e))}function $a(e){var t=++ys;return Rc(e)+t}function Ka(e){return e&&e.length?_(e,Ba,Wu):te}function Xa(e,t){return e&&e.length?_(e,qo(t),Wu):te}function Za(e){return A(e,Ba)}function Qa(e,t){return A(e,qo(t))}function es(e){return e&&e.length?_(e,Ba,xc):te}function ts(e,t){return e&&e.length?_(e,qo(t),xc):te}function ns(e){return e&&e.length?L(e,Ba):0}function rs(e,t){return e&&e.length?L(e,qo(t)):0}e=e?Jn.defaults({},e,Jn.pick(Gn,In)):Gn;var os=e.Date,is=e.Error,us=e.Math,cs=e.RegExp,as=e.TypeError,ss=e.Array.prototype,fs=e.Object.prototype,ps=e.String.prototype,hs=e.Function.prototype.toString,ls=fs.hasOwnProperty,ys=0,ds=hs.call(Object),vs=fs.toString,gs=Gn._,Ss=cs("^"+hs.call(ls).replace(wt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ms=Un?e.Buffer:te,ws=e.Reflect,_s=e.Symbol,bs=e.Uint8Array,qs=e.clearTimeout,ks=ws?ws.enumerate:te,xs=Object.getOwnPropertySymbols,As="symbol"==typeof(As=_s&&_s.iterator)?As:te,Es=Object.create,Is=fs.propertyIsEnumerable,Ls=e.setTimeout,Os=ss.splice,Cs=us.ceil,js=us.floor,Rs=Object.getPrototypeOf,Ts=e.isFinite,Ps=ss.join,Ms=Object.keys,Bs=us.max,Ds=us.min,Fs=e.parseInt,Ns=us.random,Us=ps.replace,Ws=ss.reverse,zs=ps.split,Ys=xo(e,"DataView"),Hs=xo(e,"Map"),Gs=xo(e,"Promise"),Js=xo(e,"Set"),Vs=xo(e,"WeakMap"),$s=xo(Object,"create"),Ks=Vs&&new Vs,Xs=!Is.call({valueOf:1},"valueOf"),Zs={},Qs=Ko(Ys),ef=Ko(Hs),tf=Ko(Gs),nf=Ko(Js),rf=Ko(Vs),of=_s?_s.prototype:te,uf=of?of.valueOf:te,cf=of?of.toString:te;t.templateSettings={escape:yt,evaluate:dt,interpolate:vt,variable:"",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,r.prototype=wn(n.prototype),r.prototype.constructor=r,o.prototype=wn(n.prototype),o.prototype.constructor=o,Ft.prototype=$s?$s(null):fs,Yt.prototype.clear=Ht,Yt.prototype["delete"]=Gt,Yt.prototype.get=Jt,Yt.prototype.has=Vt,Yt.prototype.set=$t,Kt.prototype.push=Zt,Qt.prototype.clear=en,Qt.prototype["delete"]=tn,Qt.prototype.get=nn,Qt.prototype.has=rn,Qt.prototype.set=on;var af=Qr(Mn),sf=Qr(Fn,!0),ff=eo(),pf=eo(!0);ks&&!Is.call({valueOf:1},"valueOf")&&(rr=function(e){return J(ks(e))});var hf=Ks?function(e,t){return Ks.set(e,t),e}:Ba,lf=Js&&2===new Js([1,2]).size?function(e){return new Js(e)}:za,yf=Ks?function(e){return Ks.get(e)}:za,df=lr("length");xs||(Io=function(){return[]});var vf=xs?function(e){for(var t=[];e;)g(t,Io(e)),e=Eo(e);return t}:Io;(Ys&&Lo(new Ys(new ArrayBuffer(1)))!=Xe||Hs&&Lo(new Hs)!=Ne||Gs&&Lo(Gs.resolve())!=ze||Js&&Lo(new Js)!=He||Vs&&Lo(new Vs)!=Ve)&&(Lo=function(e){var t=vs.call(e),n=t==We?e.constructor:te,r=n?Ko(n):te;if(r)switch(r){case Qs:return Xe;case ef:return Ne;case tf:return ze;case nf:return He;case rf:return Ve}return t});var gf=function(){var e=0,t=0;return function(n,r){var o=zf(),i=be-(o-t);if(t=o,i>0){if(++e>=_e)return n}else e=0;return hf(n,r)}}(),Sf=Iu(function(e){var t=[];return Rc(e).replace(mt,function(e,n,r,o){t.push(r?o.replace(At,"$1"):n||e)}),t}),mf=Cu(function(e,t){return Ju(e)?kn(e,Pn(t,1,Ju,!0)):[]}),wf=Cu(function(e,t){var n=vi(t);return Ju(n)&&(n=te),Ju(e)?kn(e,Pn(t,1,Ju,!0),qo(n)):[]}),_f=Cu(function(e,t){var n=vi(t);return Ju(n)&&(n=te),Ju(e)?kn(e,Pn(t,1,Ju,!0),te,n):[]}),bf=Cu(function(e){var t=v(e,Tr);return t.length&&t[0]===e[0]?$n(t):[]}),qf=Cu(function(e){var t=vi(e),n=v(e,Tr);return t===vi(n)?t=te:n.pop(),n.length&&n[0]===e[0]?$n(n,qo(t)):[]}),kf=Cu(function(e){var t=vi(e),n=v(e,Tr);return t===vi(n)?t=te:n.pop(),n.length&&n[0]===e[0]?$n(n,te,t):[]}),xf=Cu(mi),Af=Cu(function(e,t){t=v(Pn(t,1),String);var n=vn(e,t);return vr(e,t.sort(B)),n}),Ef=Cu(function(e){return Er(Pn(e,1,Ju,!0))}),If=Cu(function(e){var t=vi(e);return Ju(t)&&(t=te),Er(Pn(e,1,Ju,!0),qo(t))}),Lf=Cu(function(e){var t=vi(e);return Ju(t)&&(t=te),Er(Pn(e,1,Ju,!0),te,t)}),Of=Cu(function(e,t){return Ju(e)?kn(e,t):[]}),Cf=Cu(function(e){return jr(l(e,Ju))}),jf=Cu(function(e){var t=vi(e);return Ju(t)&&(t=te),jr(l(e,Ju),qo(t))}),Rf=Cu(function(e){var t=vi(e);return Ju(t)&&(t=te),jr(l(e,Ju),te,t)}),Tf=Cu(Ui),Pf=Cu(function(e){var t=e.length,n=t>1?e[t-1]:te;return n="function"==typeof n?(e.pop(),n):te,Wi(e,n)}),Mf=Cu(function(e){e=Pn(e,1);var t=e.length,n=t?e[0]:0,i=this.__wrapped__,u=function(t){return vn(t,e)};return!(t>1||this.__actions__.length)&&i instanceof o&&G(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:Ji,args:[u],thisArg:te}),new r(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(te),e})):this.thru(u)}),Bf=Xr(function(e,t,n){ls.call(e,n)?++e[n]:e[n]=1}),Df=Xr(function(e,t,n){ls.call(e,n)?e[n].push(t):e[n]=[t]}),Ff=Cu(function(e,t,n){var r=-1,o="function"==typeof t,i=Fo(t),u=Gu(e)?Array(e.length):[];return af(e,function(e){var a=o?t:i&&null!=e?e[t]:te;u[++r]=a?c(a,e,n):Xn(e,t,n)}),u}),Nf=Xr(function(e,t,n){e[n]=t}),Uf=Xr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Wf=Cu(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Do(e,t[0],t[1])?t=[]:n>2&&Do(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&Zf(t[0])?t[0]:Pn(t,1,Bo),fr(e,t,[])}),zf=os.now,Yf=Cu(function(e,t,n){var r=ce;if(n.length){var o=$(n,Ao(Yf));r|=he}return vo(e,r,t,n,o)}),Hf=Cu(function(e,t,n){var r=ce|ae;if(n.length){var o=$(n,Ao(Hf));r|=he}return vo(t,r,e,n,o)}),Gf=Cu(function(e,t){return _n(e,1,t)}),Jf=Cu(function(e,t,n){return _n(e,Oc(t)||0,n)});Iu.Cache=Yt;var Vf=Cu(function(e,t){t=1==t.length&&Zf(t[0])?v(t[0],j(qo())):v(Pn(t,1,Bo),j(qo()));var n=t.length;return Cu(function(r){for(var o=-1,i=Ds(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return c(e,this,r)})}),$f=Cu(function(e,t){var n=$(t,Ao($f));return vo(e,he,te,t,n)}),Kf=Cu(function(e,t){var n=$(t,Ao(Kf));return vo(e,le,te,t,n)}),Xf=Cu(function(e,t){return vo(e,de,te,te,te,Pn(t,1))}),Zf=Array.isArray,Qf=ms?function(e){return e instanceof ms}:Ma(!1),ep=Zr(function(e,t){if(Xs||Wo(t)||Gu(t))return void $r(t,Gc(t),e);for(var n in t)ls.call(t,n)&&ln(e,n,t[n])}),tp=Zr(function(e,t){if(Xs||Wo(t)||Gu(t))return void $r(t,Jc(t),e);for(var n in t)ln(e,n,t[n])}),np=Zr(function(e,t,n,r){$r(t,Jc(t),e,r)}),rp=Zr(function(e,t,n,r){$r(t,Gc(t),e,r)}),op=Cu(function(e,t){return vn(e,Pn(t,1))}),ip=Cu(function(e){return e.push(te,pn),c(np,te,e)}),up=Cu(function(e){return e.push(te,Go),c(pp,te,e)}),cp=ao(function(e,t,n){e[t]=n},Ma(Ba)),ap=ao(function(e,t,n){ls.call(e,t)?e[t].push(n):e[t]=[n]},qo),sp=Cu(Xn),fp=Zr(function(e,t,n){cr(e,t,n)}),pp=Zr(function(e,t,n,r){cr(e,t,n,r)}),hp=Cu(function(e,t){return null==e?{}:(t=v(Pn(t,1),$o),pr(e,kn(_o(e),t)))}),lp=Cu(function(e,t){return null==e?{}:pr(e,Pn(t,1))}),yp=ro(function(e,t,n){return t=t.toLowerCase(),e+(n?ha(t):t)}),dp=ro(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),vp=ro(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),gp=no("toLowerCase"),Sp=ro(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),mp=ro(function(e,t,n){return e+(n?" ":"")+_p(t)}),wp=ro(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),_p=no("toUpperCase"),bp=Cu(function(e,t){try{return c(e,te,t)}catch(n){return ec(n)?n:new is(n)}}),qp=Cu(function(e,t){return f(Pn(t,1),function(t){e[t]=Yf(e[t],e)}),e}),kp=uo(),xp=uo(!0),Ap=Cu(function(e,t){return function(n){return Xn(n,e,t)}}),Ep=Cu(function(e,t){return function(n){return Xn(e,n,t)}}),Ip=so(v),Lp=so(h),Op=so(w),Cp=ho(),jp=ho(!0),Rp=N(function(e,t){return e+t}),Tp=yo("ceil"),Pp=N(function(e,t){return e/t}),Mp=yo("floor"),Bp=N(function(e,t){return e*t}),Dp=yo("round"),Fp=N(function(e,t){return e-t});return t.after=_u,t.ary=bu,t.assign=ep,t.assignIn=tp,t.assignInWith=np,t.assignWith=rp,t.at=op,t.before=qu,t.bind=Yf,t.bindAll=qp,t.bindKey=Hf,t.castArray=Mu,t.chain=Hi,t.chunk=Zo,t.compact=Qo,t.concat=ei,t.cond=Ta,t.conforms=Pa,t.constant=Ma,t.countBy=Bf,t.create=Tc,t.curry=ku,t.curryRight=xu,t.debounce=Au,t.defaults=ip,t.defaultsDeep=up,t.defer=Gf,t.delay=Jf,t.difference=mf,t.differenceBy=wf,t.differenceWith=_f,t.drop=ti,t.dropRight=ni,t.dropRightWhile=ri,t.dropWhile=oi,t.fill=ii,t.filter=nu,t.flatMap=iu,t.flatMapDeep=uu,t.flatMapDepth=cu,t.flatten=ai,t.flattenDeep=si,t.flattenDepth=fi,t.flip=Eu,t.flow=kp,t.flowRight=xp,t.fromPairs=pi,t.functions=Uc,t.functionsIn=Wc,t.groupBy=Df,t.initial=yi,t.intersection=bf,t.intersectionBy=qf,t.intersectionWith=kf,t.invert=cp,t.invertBy=ap,t.invokeMap=Ff,t.iteratee=Da,t.keyBy=Nf,t.keys=Gc,t.keysIn=Jc,t.map=pu,t.mapKeys=Vc,t.mapValues=$c,t.matches=Fa,t.matchesProperty=Na,t.memoize=Iu,t.merge=fp,t.mergeWith=pp,t.method=Ap,t.methodOf=Ep,t.mixin=Ua,t.negate=Lu,t.nthArg=Ya,t.omit=hp,t.omitBy=Kc,t.once=Ou,t.orderBy=hu,t.over=Ip,t.overArgs=Vf,t.overEvery=Lp,t.overSome=Op,t.partial=$f,t.partialRight=Kf,t.partition=Uf,t.pick=lp,t.pickBy=Xc,t.property=Ha,t.propertyOf=Ga,t.pull=xf,t.pullAll=mi,t.pullAllBy=wi,t.pullAllWith=_i,t.pullAt=Af,t.range=Cp,t.rangeRight=jp,t.rearg=Xf,t.reject=du,t.remove=bi,t.rest=Cu,t.reverse=qi,t.sampleSize=gu,t.set=Qc,t.setWith=ea,t.shuffle=Su,t.slice=ki,t.sortBy=Wf,t.sortedUniq=Ci,t.sortedUniqBy=ji,t.split=qa,t.spread=ju,t.tail=Ri,t.take=Ti,t.takeRight=Pi,t.takeRightWhile=Mi,t.takeWhile=Bi,t.tap=Gi,t.throttle=Ru,t.thru=Ji,t.toArray=Ec,t.toPairs=ta,t.toPairsIn=na,t.toPath=Va,t.toPlainObject=Cc,t.transform=ra,t.unary=Tu,t.union=Ef,t.unionBy=If,t.unionWith=Lf,t.uniq=Di,t.uniqBy=Fi,t.uniqWith=Ni,t.unset=oa,t.unzip=Ui,t.unzipWith=Wi,t.update=ia,t.updateWith=ua,t.values=ca,t.valuesIn=aa,t.without=Of,t.words=Ra,t.wrap=Pu,t.xor=Cf,t.xorBy=jf,t.xorWith=Rf,t.zip=Tf,t.zipObject=zi,t.zipObjectDeep=Yi,t.zipWith=Pf,t.entries=ta,t.entriesIn=na,t.extend=tp,t.extendWith=np,Ua(t,t),t.add=Rp,t.attempt=bp,t.camelCase=yp,t.capitalize=ha,t.ceil=Tp,t.clamp=sa,t.clone=Bu,t.cloneDeep=Fu,t.cloneDeepWith=Nu,t.cloneWith=Du,t.deburr=la,t.divide=Pp,t.endsWith=ya,t.eq=Uu,t.escape=da,t.escapeRegExp=va,t.every=tu,t.find=ru,t.findIndex=ui,t.findKey=Pc,t.findLast=ou,t.findLastIndex=ci,t.findLastKey=Mc,t.floor=Mp,t.forEach=au,t.forEachRight=su,t.forIn=Bc,t.forInRight=Dc,t.forOwn=Fc,t.forOwnRight=Nc,t.get=zc,t.gt=Wu,t.gte=zu,t.has=Yc,t.hasIn=Hc,t.head=hi,t.identity=Ba,t.includes=fu,t.indexOf=li,t.inRange=fa,t.invoke=sp,t.isArguments=Yu,t.isArray=Zf,t.isArrayBuffer=Hu,t.isArrayLike=Gu,t.isArrayLikeObject=Ju,t.isBoolean=Vu,t.isBuffer=Qf,t.isDate=$u,t.isElement=Ku,t.isEmpty=Xu,t.isEqual=Zu,t.isEqualWith=Qu,t.isError=ec,t.isFinite=tc,t.isFunction=nc,t.isInteger=rc,t.isLength=oc,t.isMap=cc,t.isMatch=ac,t.isMatchWith=sc,t.isNaN=fc,t.isNative=pc,t.isNil=lc,t.isNull=hc,t.isNumber=yc,t.isObject=ic,t.isObjectLike=uc,t.isPlainObject=dc,t.isRegExp=vc,t.isSafeInteger=gc,t.isSet=Sc,t.isString=mc,t.isSymbol=wc,t.isTypedArray=_c,t.isUndefined=bc,t.isWeakMap=qc,t.isWeakSet=kc,t.join=di,t.kebabCase=dp,t.last=vi,t.lastIndexOf=gi,t.lowerCase=vp,t.lowerFirst=gp,t.lt=xc,t.lte=Ac,t.max=Ka,t.maxBy=Xa,t.mean=Za,t.meanBy=Qa,t.min=es,t.minBy=ts,t.multiply=Bp,t.nth=Si,t.noConflict=Wa,t.noop=za,t.now=zf,t.pad=ga,t.padEnd=Sa,t.padStart=ma,t.parseInt=wa,t.random=pa,t.reduce=lu,t.reduceRight=yu,t.repeat=_a,t.replace=ba,t.result=Zc,t.round=Dp,t.runInContext=ee,t.sample=vu,t.size=mu,t.snakeCase=Sp,t.some=wu,t.sortedIndex=xi,t.sortedIndexBy=Ai,t.sortedIndexOf=Ei,t.sortedLastIndex=Ii,t.sortedLastIndexBy=Li,t.sortedLastIndexOf=Oi,t.startCase=mp,t.startsWith=ka,t.subtract=Fp,t.sum=ns,t.sumBy=rs,t.template=xa,t.times=Ja,t.toInteger=Ic,t.toLength=Lc,t.toLower=Aa,t.toNumber=Oc,t.toSafeInteger=jc,t.toString=Rc,t.toUpper=Ea,t.trim=Ia,t.trimEnd=La,t.trimStart=Oa,t.truncate=Ca,t.unescape=ja,t.uniqueId=$a,t.upperCase=wp,t.upperFirst=_p,t.each=au,t.eachRight=su,t.first=hi,Ua(t,function(){var e={};return Mn(t,function(n,r){ls.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ne,f(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),f(["drop","take"],function(e,t){o.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new o(this);n=n===te?1:Bs(Ic(n),0);var i=this.clone();return r?i.__takeCount__=Ds(n,i.__takeCount__):i.__views__.push({size:Ds(n,Oe),type:e+(i.__dir__<0?"Right":"")}),i},o.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),f(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==qe||n==xe;o.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:qo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),f(["head","last"],function(e,t){var n="take"+(t?"Right":"");o.prototype[e]=function(){return this[n](1).value()[0]}}),f(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");o.prototype[e]=function(){return this.__filtered__?new o(this):this[n](1)}}),o.prototype.compact=function(){return this.filter(Ba)},o.prototype.find=function(e){return this.filter(e).head()},o.prototype.findLast=function(e){return this.reverse().find(e)},o.prototype.invokeMap=Cu(function(e,t){return"function"==typeof e?new o(this):this.map(function(n){return Xn(n,e,t)})}),o.prototype.reject=function(e){return e=qo(e,3),this.filter(function(t){return!e(t)})},o.prototype.slice=function(e,t){e=Ic(e);var n=this;return n.__filtered__&&(e>0||0>t)?new o(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==te&&(t=Ic(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},o.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},o.prototype.toArray=function(){return this.take(Oe)},Mn(o.prototype,function(e,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),u=/^(?:head|last)$/.test(n),c=t[u?"take"+("last"==n?"Right":""):n],a=u||/^find/.test(n);c&&(t.prototype[n]=function(){var n=this.__wrapped__,s=u?[1]:arguments,f=n instanceof o,p=s[0],h=f||Zf(n),l=function(e){var n=c.apply(t,g([e],s));return u&&y?n[0]:n};h&&i&&"function"==typeof p&&1!=p.length&&(f=h=!1);var y=this.__chain__,d=!!this.__actions__.length,v=a&&!y,S=f&&!d;if(!a&&h){n=S?n:new o(this);var m=e.apply(n,s);return m.__actions__.push({func:Ji,args:[l],thisArg:te}),new r(m,y)}return v&&S?e.apply(this,s):(m=this.thru(l),v?u?m.value()[0]:m.value():m)})}),f(["pop","push","shift","sort","splice","unshift"],function(e){var n=ss[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var t=this.value();return n.apply(Zf(t)?t:[],e)}return this[r](function(t){return n.apply(Zf(t)?t:[],e)})}}),Mn(o.prototype,function(e,n){var r=t[n];if(r){var o=r.name+"",i=Zs[o]||(Zs[o]=[]);i.push({name:n,func:r})}}),Zs[co(te,ae).name]=[{name:"wrapper",func:te}],o.prototype.clone=M,o.prototype.reverse=Tt,o.prototype.value=Dt,t.prototype.at=Mf,t.prototype.chain=Vi,t.prototype.commit=$i,t.prototype.next=Ki,t.prototype.plant=Zi,t.prototype.reverse=Qi,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=eu,As&&(t.prototype[As]=Xi),t}var te,ne="4.11.1",re=200,oe="Expected a function",ie="__lodash_hash_undefined__",ue="__lodash_placeholder__",ce=1,ae=2,se=4,fe=8,pe=16,he=32,le=64,ye=128,de=256,ve=512,ge=1,Se=2,me=30,we="...",_e=150,be=16,qe=1,ke=2,xe=3,Ae=1/0,Ee=9007199254740991,Ie=1.7976931348623157e308,Le=NaN,Oe=4294967295,Ce=Oe-1,je=Oe>>>1,Re="[object Arguments]",Te="[object Array]",Pe="[object Boolean]",Me="[object Date]",Be="[object Error]",De="[object Function]",Fe="[object GeneratorFunction]",Ne="[object Map]",Ue="[object Number]",We="[object Object]",ze="[object Promise]",Ye="[object RegExp]",He="[object Set]",Ge="[object String]",Je="[object Symbol]",Ve="[object WeakMap]",$e="[object WeakSet]",Ke="[object ArrayBuffer]",Xe="[object DataView]",Ze="[object Float32Array]",Qe="[object Float64Array]",et="[object Int8Array]",tt="[object Int16Array]",nt="[object Int32Array]",rt="[object Uint8Array]",ot="[object Uint8ClampedArray]",it="[object Uint16Array]",ut="[object Uint32Array]",ct=/\b__p \+= '';/g,at=/\b(__p \+=) '' \+/g,st=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ft=/&(?:amp|lt|gt|quot|#39|#96);/g,pt=/[&<>"'`]/g,ht=RegExp(ft.source),lt=RegExp(pt.source),yt=/<%-([\s\S]+?)%>/g,dt=/<%([\s\S]+?)%>/g,vt=/<%=([\s\S]+?)%>/g,gt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St=/^\w*$/,mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,wt=/[\\^$.*+?()[\]{}|]/g,_t=RegExp(wt.source),bt=/^\s+|\s+$/g,qt=/^\s+/,kt=/\s+$/,xt=/[a-zA-Z0-9]+/g,At=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,It=/\w*$/,Lt=/^0x/i,Ot=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,jt=/^\[object .+?Constructor\]$/,Rt=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,Pt=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Mt=/($^)/,Bt=/['\n\r\u2028\u2029\\]/g,Dt="\\ud800-\\udfff",Ft="\\u0300-\\u036f\\ufe20-\\ufe23",Nt="\\u20d0-\\u20f0",Ut="\\u2700-\\u27bf",Wt="a-z\\xdf-\\xf6\\xf8-\\xff",zt="\\xac\\xb1\\xd7\\xf7",Yt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ht="\\u2018\\u2019\\u201c\\u201d",Gt=" \\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",Jt="A-Z\\xc0-\\xd6\\xd8-\\xde",Vt="\\ufe0e\\ufe0f",$t=zt+Yt+Ht+Gt,Kt="['’]",Xt="["+Dt+"]",Zt="["+$t+"]",Qt="["+Ft+Nt+"]",en="\\d+",tn="["+Ut+"]",nn="["+Wt+"]",rn="[^"+Dt+$t+en+Ut+Wt+Jt+"]",on="\\ud83c[\\udffb-\\udfff]",un="(?:"+Qt+"|"+on+")",cn="[^"+Dt+"]",an="(?:\\ud83c[\\udde6-\\uddff]){2}",sn="[\\ud800-\\udbff][\\udc00-\\udfff]",fn="["+Jt+"]",pn="\\u200d",hn="(?:"+nn+"|"+rn+")",ln="(?:"+fn+"|"+rn+")",yn="(?:"+Kt+"(?:d|ll|m|re|s|t|ve))?",dn="(?:"+Kt+"(?:D|LL|M|RE|S|T|VE))?",vn=un+"?",gn="["+Vt+"]?",Sn="(?:"+pn+"(?:"+[cn,an,sn].join("|")+")"+gn+vn+")*",mn=gn+vn+Sn,wn="(?:"+[tn,an,sn].join("|")+")"+mn,_n="(?:"+[cn+Qt+"?",Qt,an,sn,Xt].join("|")+")",bn=RegExp(Kt,"g"),qn=RegExp(Qt,"g"),kn=RegExp(on+"(?="+on+")|"+_n+mn,"g"),xn=RegExp([fn+"?"+nn+"+"+yn+"(?="+[Zt,fn,"$"].join("|")+")",ln+"+"+dn+"(?="+[Zt,fn+hn,"$"].join("|")+")",fn+"?"+hn+"+"+yn,fn+"+"+dn,en,wn].join("|"),"g"),An=RegExp("["+pn+Dt+Ft+Nt+Vt+"]"),En=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,In=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","Reflect","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ln=-1,On={};
+On[Ze]=On[Qe]=On[et]=On[tt]=On[nt]=On[rt]=On[ot]=On[it]=On[ut]=!0,On[Re]=On[Te]=On[Ke]=On[Pe]=On[Xe]=On[Me]=On[Be]=On[De]=On[Ne]=On[Ue]=On[We]=On[Ye]=On[He]=On[Ge]=On[Ve]=!1;var Cn={};Cn[Re]=Cn[Te]=Cn[Ke]=Cn[Xe]=Cn[Pe]=Cn[Me]=Cn[Ze]=Cn[Qe]=Cn[et]=Cn[tt]=Cn[nt]=Cn[Ne]=Cn[Ue]=Cn[We]=Cn[Ye]=Cn[He]=Cn[Ge]=Cn[Je]=Cn[rt]=Cn[ot]=Cn[it]=Cn[ut]=!0,Cn[Be]=Cn[De]=Cn[Ve]=!1;var jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Rn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Tn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Pn={"function":!0,object:!0},Mn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Bn=parseFloat,Dn=parseInt,Fn=Pn[typeof t]&&t&&!t.nodeType?t:te,Nn=Pn[typeof e]&&e&&!e.nodeType?e:te,Un=Nn&&Nn.exports===Fn?Fn:te,Wn=M(Fn&&Nn&&"object"==typeof o&&o),zn=M(Pn[typeof self]&&self),Yn=M(Pn[typeof window]&&window),Hn=M(Pn[typeof this]&&this),Gn=Wn||Yn!==(Hn&&Hn.window)&&Yn||zn||Hn||Function("return this")(),Jn=ee();(Yn||zn||{})._=Jn,r=function(){return Jn}.call(t,n,t,e),!(r!==te&&(e.exports=r))}).call(this)}).call(t,n(105)(e),function(){return this}())},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(setImmediate,clearImmediate){!function(e,t){__WEBPACK_AMD_DEFINE_FACTORY__=t,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(this,function(context){function Lazy(e){if(e instanceof Array)return new ArrayWrapper(e);if("string"==typeof e)return new StringWrapper(e);if(e instanceof Sequence)return e;if(Lazy.extensions){for(var t,n=Lazy.extensions,r=n.length;!t&&r--;)t=n[r](e);if(t)return t}return new ObjectWrapper(e)}function Sequence(){}function Iterator(e){this.sequence=e,this.index=-1}function MemoizedSequence(e){this.parent=e}function MappedSequence(e,t){this.parent=e,this.mapFn=t}function MappingIterator(e,t){this.iterator=e.getIterator(),this.mapFn=t,this.index=-1}function FilteredSequence(e,t){this.parent=e,this.filterFn=t}function FilteringIterator(e,t){this.iterator=e.getIterator(),this.filterFn=t,this.index=0}function ReversedSequence(e){this.parent=e}function ReversedIterator(e){this.sequence=e}function ConcatenatedSequence(e,t){this.parent=e,this.arrays=t}function TakeSequence(e,t){this.parent=e,this.count=t}function TakeIterator(e,t){this.iterator=e.getIterator(),this.count=t}function TakeWhileSequence(e,t){this.parent=e,this.predicate=t}function InitialSequence(e,t){this.parent=e,this.count="number"==typeof t?t:1}function DropSequence(e,t){this.parent=e,this.count="number"==typeof t?t:1}function DropWhileSequence(e,t){this.parent=e,this.predicate=t}function SortedSequence(e,t){this.parent=e,this.sortFn=t}function GroupedSequence(e,t,n){this.parent=e,this.keyFn=t,this.valFn=n}function IndexedSequence(e,t,n){this.parent=e,this.keyFn=t,this.valFn=n}function CountedSequence(e,t){this.parent=e,this.keyFn=t}function UniqueSequence(e,t){this.parent=e,this.keyFn=t}function ZippedSequence(e,t){this.parent=e,this.arrays=t}function ShuffledSequence(e){this.parent=e}function FlattenedSequence(e){this.parent=e}function WithoutSequence(e,t){this.parent=e,this.values=t}function IntersectionSequence(e,t){this.parent=e,this.arrays=t}function UniqueMemoizer(e){this.iterator=e,this.set=new Set,this.memo=[],this.currentValue=void 0}function ChunkedSequence(e,t){this.parent=e,this.chunkSize=t}function ChunkedIterator(e,t){this.iterator=e.getIterator(),this.size=t}function TappedSequence(e,t){this.parent=e,this.callback=t}function SimpleIntersectionSequence(e,t){this.parent=e,this.array=t,this.each=getEachForIntersection(t)}function getEachForIntersection(e){return e.length<40?SimpleIntersectionSequence.prototype.eachArrayCache:SimpleIntersectionSequence.prototype.eachMemoizerCache}function SimpleZippedSequence(e,t){this.parent=e,this.array=t}function ArrayLikeSequence(){}function IndexedIterator(e){this.sequence=e,this.index=-1}function IndexedMappedSequence(e,t){this.parent=e,this.mapFn=t}function IndexedFilteredSequence(e,t){this.parent=e,this.filterFn=t}function IndexedReversedSequence(e){this.parent=e}function IndexedTakeSequence(e,t){this.parent=e,this.count=t}function IndexedDropSequence(e,t){this.parent=e,this.count="number"==typeof t?t:1}function IndexedConcatenatedSequence(e,t){this.parent=e,this.other=t}function IndexedUniqueSequence(e,t){this.parent=e,this.each=getEachForParent(e),this.keyFn=t}function getEachForParent(e){return e.length()<100?IndexedUniqueSequence.prototype.eachArrayCache:UniqueSequence.prototype.each}function ArrayWrapper(e){this.source=e}function MappedArrayWrapper(e,t){this.parent=e,this.mapFn=t}function FilteredArrayWrapper(e,t){this.parent=e,this.filterFn=t}function UniqueArrayWrapper(e,t){this.parent=e,this.each=getEachForSource(e.source),this.keyFn=t}function getEachForSource(e){return e.length<40?UniqueArrayWrapper.prototype.eachNoCache:e.length<100?UniqueArrayWrapper.prototype.eachArrayCache:UniqueArrayWrapper.prototype.eachSetCache}function ConcatArrayWrapper(e,t){this.parent=e,this.other=t}function ObjectLikeSequence(){}function FilteredObjectLikeSequence(e,t){this.parent=e,this.filterFn=t}function AssignSequence(e,t){this.parent=e,this.other=t}function DefaultsSequence(e,t){this.parent=e,this.defaults=t}function InvertedSequence(e){this.parent=e}function MergedSequence(e,t,n){this.parent=e,this.others=t,this.mergeFn=n}function mergeObjects(e,t){var n,r;if("undefined"==typeof t)return e;if(isVanillaObject(e)&&isVanillaObject(t))n={};else{if(!(e instanceof Array&&t instanceof Array))return t;n=[]}for(r in e)n[r]=mergeObjects(e[r],t[r]);for(r in t)n[r]||(n[r]=t[r]);return n}function isVanillaObject(e){return e&&e.constructor===Object}function PickSequence(e,t){this.parent=e,this.properties=t}function OmitSequence(e,t){this.parent=e,this.properties=t}function ObjectWrapper(e){this.source=e}function StringLikeSequence(){}function CharIterator(e){this.source=Lazy(e),this.index=-1}function StringSegment(e,t,n){this.parent=e,this.start=Math.max(0,t),this.stop=n}function MappedStringLikeSequence(e,t){this.parent=e,this.mapFn=t}function ReversedStringLikeSequence(e){this.parent=e}function StringMatchSequence(e,t){this.parent=e,this.pattern=t}function StringMatchIterator(e,t){this.source=e,this.pattern=cloneRegex(t)}function SplitStringSequence(e,t){this.parent=e,this.pattern=t}function SplitWithRegExpIterator(e,t){this.source=e,this.pattern=cloneRegex(t)}function SplitWithStringIterator(e,t){this.source=e,this.delimiter=t}function StringWrapper(e){this.source=e}function GeneratedSequence(e,t){this.get=e,this.fixedLength=t}function GeneratedIterator(e){this.sequence=e,this.index=0,this.currentValue=null}function AsyncSequence(e,t){if(e instanceof AsyncSequence)throw new Error("Sequence is already asynchronous!");this.parent=e,this.interval=t,this.onNextCallback=getOnNextCallback(t),this.cancelCallback=getCancelCallback(t)}function AsyncHandle(e){this.resolveListeners=[],this.rejectListeners=[],this.state=PENDING,this.cancelFn=e}function resolve(e,t){if(e===t)return void e._reject(new TypeError("Cannot resolve a promise to itself"));if(t instanceof AsyncHandle)return void t.then(function(t){resolve(e,t)},function(t){e._reject(t)});var n;try{n=/function|object/.test(typeof t)&&null!=t&&t.then}catch(r){return void e._reject(r)}var o=PENDING;if("function"!=typeof n)e._resolve(t);else try{n.call(t,function(t){o===PENDING&&(o=RESOLVED,resolve(e,t))},function(t){o===PENDING&&(o=REJECTED,e._reject(t))})}catch(r){if(o!==PENDING)return;e._reject(r)}}function consumeListeners(e,t,n){n||(n=getOnNextCallback()),n(function(){e.length>0&&(e.shift()(t),consumeListeners(e,t,n))})}function getOnNextCallback(e){return"undefined"==typeof e&&"function"==typeof setImmediate?setImmediate:(e=e||0,function(t){return setTimeout(t,e)})}function getCancelCallback(e){return"undefined"==typeof e&&"function"==typeof clearImmediate?clearImmediate:clearTimeout}function transform(e,t){return t instanceof AsyncHandle?t.then(function(){e(t)}):e(t)}function WatchedPropertySequence(e,t){this.listeners=[],t?t instanceof Array||(t=[t]):t=Lazy(e).keys().toArray();var n=this.listeners,r=0;Lazy(t).each(function(t){var o=e[t];Object.defineProperty(e,t,{get:function(){return o},set:function(e){for(var i=n.length-1;i>=0;--i)n[i]({property:t,value:e},r)===!1&&n.splice(i,1);o=e,++r}})})}function StreamLikeSequence(){}function SplitStreamSequence(e,t){this.parent=e,this.delimiter=t,this.each=this.getEachForDelimiter(t)}function MatchedStreamSequence(e,t){this.parent=e,this.pattern=cloneRegex(t)}function createCallback(e,t){switch(typeof e){case"function":return e;case"string":return function(t){return t[e]};case"object":return function(t){return Lazy(e).all(function(e,n){return t[n]===e})};case"undefined":return t?function(){return t}:Lazy.identity;default:throw new Error("Don't know how to make a callback from a "+typeof e+"!")}}function createComparator(e,t){return e?(e=createCallback(e),function(t,n){return compare(e(t),e(n))}):compare}function reverseArguments(e){return function(t,n){return e(n,t)}}function createSet(e){var t=new Set;return Lazy(e||[]).flatten().each(function(e){t.add(e)}),t}function compare(e,t){return e===t?0:e>t?1:-1}function forEach(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n)===!1)return!1;return!0}function getFirst(e){var t;return e.each(function(e){return t=e,!1}),t}function arrayContains(e,t){var n=-1,r=e.length;if(t!==t){for(;++n<r;)if(e[n]!==e[n])return!0;return!1}for(;++n<r;)if(e[n]===t)return!0;return!1}function arrayContainsBefore(e,t,n,r){var o=-1;if(r){for(r=createCallback(r);++o<n;)if(r(e[o])===r(t))return!0}else for(;++o<n;)if(e[o]===t)return!0;return!1}function swap(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function cloneRegex(pattern){return eval(""+pattern+(pattern.global?"":"g"))}function Set(){this.table={},this.objects=[]}function Queue(e){this.contents=new Array(e),this.start=0,this.count=0}function defineSequenceType(e,t,n){var r=function(){};r.prototype=new e;for(var o in n)r.prototype[o]=n[o];for(var i=function(){var e=new r;return e.parent=this,e.init&&e.init.apply(e,arguments),e},u="string"==typeof t?[t]:t,c=0;c<u.length;++c)e.prototype[u[c]]=i;return r}Lazy.VERSION="0.4.2",Lazy.noop=function(){},Lazy.identity=function(e){return e},Lazy.strict=function(){function e(e){if(null==e)throw new Error("You cannot wrap null or undefined using Lazy.");if("number"==typeof e||"boolean"==typeof e)throw new Error("You cannot wrap primitive values using Lazy.");return Lazy(e)}return Lazy(Lazy).each(function(t,n){e[n]=t}),e},Sequence.define=function(e,t){if(!t||!t.getIterator&&!t.each)throw new Error("A custom sequence must implement *at least* getIterator or each!");return defineSequenceType(Sequence,e,t)},Sequence.prototype.size=function(){return this.getIndex().length()},Sequence.prototype.getIterator=function(){return new Iterator(this)},Sequence.prototype.root=function(){return this.parent.root()},Sequence.prototype.isAsync=function(){return this.parent?this.parent.isAsync():!1},Sequence.prototype.value=function(){return this.toArray()},Sequence.prototype.apply=function(e){var t,n=this.root(),r=n.source;try{n.source=e,t=this.value()}finally{n.source=r}return t},Iterator.prototype.current=function(){return this.cachedIndex&&this.cachedIndex.get(this.index)},Iterator.prototype.moveNext=function(){var e=this.cachedIndex;return e||(e=this.cachedIndex=this.sequence.getIndex()),this.index>=e.length()-1?!1:(++this.index,!0)},Sequence.prototype.toArray=function(){return this.reduce(function(e,t){return e.push(t),e},[])},Sequence.prototype.getIndex=function(){return new ArrayWrapper(this.toArray())},Sequence.prototype.get=function(e){var t;return this.each(function(n,r){return r===e?(t=n,!1):void 0}),t},Sequence.prototype.memoize=function(){return new MemoizedSequence(this)},Sequence.prototype.toObject=function(){return this.reduce(function(e,t){return e[t[0]]=t[1],e},{})},Sequence.prototype.each=function(e){for(var t=this.getIterator(),n=-1;t.moveNext();)if(e(t.current(),++n)===!1)return!1;return!0},Sequence.prototype.forEach=function(e){return this.each(e)},Sequence.prototype.map=function(e){return new MappedSequence(this,createCallback(e))},Sequence.prototype.collect=function(e){return this.map(e)},MappedSequence.prototype=new Sequence,MappedSequence.prototype.getIterator=function(){return new MappingIterator(this.parent,this.mapFn)},MappedSequence.prototype.each=function(e){var t=this.mapFn;return this.parent.each(function(n,r){return e(t(n,r),r)})},MappingIterator.prototype.current=function(){return this.mapFn(this.iterator.current(),this.index)},MappingIterator.prototype.moveNext=function(){return this.iterator.moveNext()?(++this.index,!0):!1},Sequence.prototype.pluck=function(e){return this.map(e)},Sequence.prototype.invoke=function(e){return this.map(function(t){return t[e]()})},Sequence.prototype.filter=function(e){return new FilteredSequence(this,createCallback(e))},Sequence.prototype.select=function(e){return this.filter(e)},FilteredSequence.prototype=new Sequence,FilteredSequence.prototype.getIterator=function(){return new FilteringIterator(this.parent,this.filterFn)},FilteredSequence.prototype.each=function(e){var t=this.filterFn,n=0;return this.parent.each(function(r,o){return t(r,o)?e(r,n++):void 0})},FilteredSequence.prototype.reverse=function(){return this.parent.reverse().filter(this.filterFn)},FilteringIterator.prototype.current=function(){return this.value},FilteringIterator.prototype.moveNext=function(){for(var e,t=this.iterator,n=this.filterFn;t.moveNext();)if(e=t.current(),n(e,this.index++))return this.value=e,!0;return this.value=void 0,!1},Sequence.prototype.reject=function(e){return e=createCallback(e),this.filter(function(t){return!e(t)})},Sequence.prototype.ofType=function(e){return this.filter(function(t){return typeof t===e})},Sequence.prototype.where=function(e){return this.filter(e)},Sequence.prototype.reverse=function(){return new ReversedSequence(this)},ReversedSequence.prototype=new Sequence,ReversedSequence.prototype.getIterator=function(){return new ReversedIterator(this.parent)},ReversedIterator.prototype.current=function(){return this.getIndex().get(this.index)},ReversedIterator.prototype.moveNext=function(){var e=this.getIndex(),t=e.length();return"undefined"==typeof this.index&&(this.index=t),--this.index>=0},ReversedIterator.prototype.getIndex=function(){return this.cachedIndex||(this.cachedIndex=this.sequence.getIndex()),this.cachedIndex},Sequence.prototype.concat=function(e){return new ConcatenatedSequence(this,arraySlice.call(arguments,0))},ConcatenatedSequence.prototype=new Sequence,ConcatenatedSequence.prototype.each=function(e){var t=!1,n=0;this.parent.each(function(r){return e(r,n++)===!1?(t=!0,!1):void 0}),t||Lazy(this.arrays).flatten().each(function(t){return e(t,n++)===!1?!1:void 0})},Sequence.prototype.first=function(e){return"undefined"==typeof e?getFirst(this):new TakeSequence(this,e)},Sequence.prototype.head=Sequence.prototype.take=function(e){return this.first(e)},TakeSequence.prototype=new Sequence,TakeSequence.prototype.getIterator=function(){return new TakeIterator(this.parent,this.count)},TakeSequence.prototype.each=function(e){var t,n=this.count,r=0,o=this.parent.each(function(o){return n>r&&(t=e(o,r++)),r>=n?!1:t});return o instanceof AsyncHandle?o:r===n&&t!==!1},TakeIterator.prototype.current=function(){return this.iterator.current()},TakeIterator.prototype.moveNext=function(){return--this.count>=0&&this.iterator.moveNext()},Sequence.prototype.takeWhile=function(e){return new TakeWhileSequence(this,e)},TakeWhileSequence.prototype=new Sequence,TakeWhileSequence.prototype.each=function(e){var t=this.predicate,n=!1,r=0,o=this.parent.each(function(o,i){return t(o,i)?e(o,r++):(n=!0,!1)});return o instanceof AsyncHandle?o:n},Sequence.prototype.initial=function(e){return new InitialSequence(this,e)},InitialSequence.prototype=new Sequence,InitialSequence.prototype.each=function(e){var t=this.parent.getIndex();return t.take(t.length()-this.count).each(e)},Sequence.prototype.last=function(e){return"undefined"==typeof e?this.reverse().first():this.reverse().take(e).reverse()},Sequence.prototype.findWhere=function(e){return this.where(e).first()},Sequence.prototype.rest=function(e){return new DropSequence(this,e)},Sequence.prototype.skip=Sequence.prototype.tail=Sequence.prototype.drop=function(e){return this.rest(e)},DropSequence.prototype=new Sequence,DropSequence.prototype.each=function(e){var t=this.count,n=0,r=0;return this.parent.each(function(o){return n++<t?void 0:e(o,r++)})},Sequence.prototype.dropWhile=function(e){return new DropWhileSequence(this,e)},Sequence.prototype.skipWhile=function(e){return this.dropWhile(e)},DropWhileSequence.prototype=new Sequence,DropWhileSequence.prototype.each=function(e){var t=this.predicate,n=!1;return this.parent.each(function(r){if(!n){if(t(r))return;n=!0}return e(r)})},Sequence.prototype.sort=function(e,t){return e||(e=compare),t&&(e=reverseArguments(e)),new SortedSequence(this,e)},Sequence.prototype.sortBy=function(e,t){return e=createComparator(e),t&&(e=reverseArguments(e)),new SortedSequence(this,e)},SortedSequence.prototype=new Sequence,SortedSequence.prototype.each=function(e){var t=this.sortFn,n=this.parent.toArray();return n.sort(t),forEach(n,e)},SortedSequence.prototype.reverse=function(){return new SortedSequence(this.parent,reverseArguments(this.sortFn))},Sequence.prototype.groupBy=function(e,t){return new GroupedSequence(this,e,t)},Sequence.prototype.indexBy=function(e,t){return new IndexedSequence(this,e,t)},Sequence.prototype.countBy=function(e){return new CountedSequence(this,e)},Sequence.prototype.uniq=function(e){return new UniqueSequence(this,e)},Sequence.prototype.unique=function(e){return this.uniq(e)},UniqueSequence.prototype=new Sequence,UniqueSequence.prototype.each=function(e){var t=new Set,n=this.keyFn,r=0;return n?(n=createCallback(n),this.parent.each(function(o){return t.add(n(o))?e(o,r++):void 0})):this.parent.each(function(n){return t.add(n)?e(n,r++):void 0})},Sequence.prototype.zip=function(e){return 1===arguments.length?new SimpleZippedSequence(this,e):new ZippedSequence(this,arraySlice.call(arguments,0))},ZippedSequence.prototype=new Sequence,ZippedSequence.prototype.each=function(e){var t=this.arrays,n=0;this.parent.each(function(r){for(var o=[r],i=0;i<t.length;++i)t[i].length>n&&o.push(t[i][n]);return e(o,n++)})},Sequence.prototype.shuffle=function(){return new ShuffledSequence(this)},ShuffledSequence.prototype=new Sequence,ShuffledSequence.prototype.each=function(e){for(var t=this.parent.toArray(),n=Math.floor,r=Math.random,o=0,i=t.length-1;i>0;--i)if(swap(t,i,n(r()*(i+1))),e(t[i],o++)===!1)return;e(t[0],o)},Sequence.prototype.flatten=function(){return new FlattenedSequence(this)},FlattenedSequence.prototype=new Sequence,FlattenedSequence.prototype.each=function(e){var t=0;return this.parent.each(function n(r){return r instanceof Array?forEach(r,n):r instanceof Sequence?r.each(n):e(r,t++)})},Sequence.prototype.compact=function(){return this.filter(function(e){return!!e})},Sequence.prototype.without=function(e){return new WithoutSequence(this,arraySlice.call(arguments,0))},Sequence.prototype.difference=function(e){return this.without.apply(this,arguments)},WithoutSequence.prototype=new Sequence,WithoutSequence.prototype.each=function(e){var t=createSet(this.values),n=0;return this.parent.each(function(r){return t.contains(r)?void 0:e(r,n++)})},Sequence.prototype.union=function(e){return this.concat(e).uniq()},Sequence.prototype.intersection=function(e){return 1===arguments.length&&arguments[0]instanceof Array?new SimpleIntersectionSequence(this,e):new IntersectionSequence(this,arraySlice.call(arguments,0))},IntersectionSequence.prototype=new Sequence,IntersectionSequence.prototype.each=function(e){var t=Lazy(this.arrays).map(function(e){return new UniqueMemoizer(Lazy(e).getIterator())}),n=new UniqueMemoizer(t.getIterator()),r=0;return this.parent.each(function(t){var o=!0;return n.each(function(e){return e.contains(t)?void 0:(o=!1,!1)}),o?e(t,r++):void 0})},UniqueMemoizer.prototype.current=function(){return this.currentValue},UniqueMemoizer.prototype.moveNext=function(){for(var e,t=this.iterator,n=this.set,r=this.memo;t.moveNext();)if(e=t.current(),n.add(e))return r.push(e),this.currentValue=e,!0;return!1},UniqueMemoizer.prototype.each=function(e){for(var t=this.memo,n=t.length,r=-1;++r<n;)if(e(t[r],r)===!1)return!1;for(;this.moveNext()&&e(this.currentValue,r++)!==!1;);},UniqueMemoizer.prototype.contains=function(e){if(this.set.contains(e))return!0;for(;this.moveNext();)if(this.currentValue===e)return!0;return!1},Sequence.prototype.every=function(e){return e=createCallback(e),this.each(function(t,n){return!!e(t,n)})},Sequence.prototype.all=function(e){return this.every(e)},Sequence.prototype.some=function(e){e=createCallback(e,!0);var t=!1;return this.each(function(n){return e(n)?(t=!0,!1):void 0}),t},Sequence.prototype.any=function(e){return this.some(e)},Sequence.prototype.none=function(e){return!this.any(e)},Sequence.prototype.isEmpty=function(){return!this.any()},Sequence.prototype.indexOf=function(e){var t=-1;return this.each(function(n,r){return n===e?(t=r,!1):void 0}),t},Sequence.prototype.lastIndexOf=function(e){var t=this.getIndex().reverse(),n=t.indexOf(e);return-1!==n&&(n=t.length()-n-1),n},Sequence.prototype.sortedIndex=function(e){for(var t,n=this.getIndex(),r=0,o=n.length();o>r;)t=r+o>>>1,-1===compare(n.get(t),e)?r=t+1:o=t;return r},Sequence.prototype.contains=function(e){return-1!==this.indexOf(e)},Sequence.prototype.reduce=function(e,t){if(arguments.length<2)return this.tail().reduce(e,this.head());var n=this.each(function(n,r){t=e(t,n,r)});return n instanceof AsyncHandle?n.then(function(){return t}):t},Sequence.prototype.inject=Sequence.prototype.foldl=function(e,t){return this.reduce(e,t)},Sequence.prototype.reduceRight=function(e,t){if(arguments.length<2)return this.initial(1).reduceRight(e,this.last());var n=this.getIndex(),r=n.length()-1;return n.reverse().reduce(function(t,n){return e(t,n,r--)},t)},Sequence.prototype.foldr=function(e,t){return this.reduceRight(e,t)},Sequence.prototype.consecutive=function(e){var t=new Queue(e),n=this.map(function(n){return t.add(n).count===e?t.toArray():void 0});return n.compact()},Sequence.prototype.chunk=function(e){if(1>e)throw new Error("You must specify a positive chunk size.");return new ChunkedSequence(this,e)},ChunkedSequence.prototype=new Sequence,ChunkedSequence.prototype.getIterator=function(){return new ChunkedIterator(this.parent,this.chunkSize)},ChunkedIterator.prototype.current=function(){return this.currentChunk},ChunkedIterator.prototype.moveNext=function(){for(var e=this.iterator,t=this.size,n=[];n.length<t&&e.moveNext();)n.push(e.current());return 0===n.length?!1:(this.currentChunk=n,!0)},Sequence.prototype.tap=function(e){return new TappedSequence(this,e)},TappedSequence.prototype=new Sequence,TappedSequence.prototype.each=function(e){var t=this.callback;return this.parent.each(function(n,r){return t(n,r),e(n,r)})},Sequence.prototype.find=function(e){return this.filter(e).first()},Sequence.prototype.detect=function(e){return this.find(e)},Sequence.prototype.min=function(e){return"undefined"!=typeof e?this.minBy(e):this.reduce(function(e,t){return e>t?t:e},1/0)},Sequence.prototype.minBy=function(e){return e=createCallback(e),this.reduce(function(t,n){return e(n)<e(t)?n:t})},Sequence.prototype.max=function(e){return"undefined"!=typeof e?this.maxBy(e):this.reduce(function(e,t){return t>e?t:e},-(1/0))},Sequence.prototype.maxBy=function(e){return e=createCallback(e),this.reduce(function(t,n){return e(n)>e(t)?n:t})},Sequence.prototype.sum=function(e){return"undefined"!=typeof e?this.sumBy(e):this.reduce(function(e,t){return e+t},0)},Sequence.prototype.sumBy=function(e){return e=createCallback(e),this.reduce(function(t,n){return t+e(n)},0)},Sequence.prototype.join=function(e){return e="string"==typeof e?e:",",this.reduce(function(t,n,r){return r>0&&(t+=e),t+n},"")},Sequence.prototype.toString=function(e){return this.join(e)},Sequence.prototype.async=function(e){return new AsyncSequence(this,e)},SimpleIntersectionSequence.prototype=new Sequence,SimpleIntersectionSequence.prototype.eachMemoizerCache=function(e){var t=new UniqueMemoizer(Lazy(this.array).getIterator()),n=0;return this.parent.each(function(r){return t.contains(r)?e(r,n++):void 0})},SimpleIntersectionSequence.prototype.eachArrayCache=function(e){var t=this.array,n=arrayContains,r=0;return this.parent.each(function(o){return n(t,o)?e(o,r++):void 0})},SimpleZippedSequence.prototype=new Sequence,SimpleZippedSequence.prototype.each=function(e){var t=this.array;return this.parent.each(function(n,r){return e([n,t[r]],r)})},ArrayLikeSequence.prototype=new Sequence,ArrayLikeSequence.define=function(e,t){if(!t||"function"!=typeof t.get)throw new Error("A custom array-like sequence must implement *at least* get!");return defineSequenceType(ArrayLikeSequence,e,t)},ArrayLikeSequence.prototype.get=function(e){return this.parent.get(e)},ArrayLikeSequence.prototype.length=function(){return this.parent.length()},ArrayLikeSequence.prototype.getIndex=function(){return this},ArrayLikeSequence.prototype.getIterator=function(){return new IndexedIterator(this)},IndexedIterator.prototype.current=function(){return this.sequence.get(this.index)},IndexedIterator.prototype.moveNext=function(){return this.index>=this.sequence.length()-1?!1:(++this.index,!0)},ArrayLikeSequence.prototype.each=function(e){for(var t=this.length(),n=-1;++n<t;)if(e(this.get(n),n)===!1)return!1;return!0},ArrayLikeSequence.prototype.pop=function(){return this.initial()},ArrayLikeSequence.prototype.shift=function(){return this.drop()},ArrayLikeSequence.prototype.slice=function(e,t){var n=this.length();0>e&&(e=n+e);var r=this.drop(e);return"number"==typeof t&&(0>t&&(t=n+t),r=r.take(t-e)),r},ArrayLikeSequence.prototype.map=function(e){return new IndexedMappedSequence(this,createCallback(e))},IndexedMappedSequence.prototype=new ArrayLikeSequence,IndexedMappedSequence.prototype.get=function(e){return 0>e||e>=this.parent.length()?void 0:this.mapFn(this.parent.get(e),e)},ArrayLikeSequence.prototype.filter=function(e){return new IndexedFilteredSequence(this,createCallback(e))},IndexedFilteredSequence.prototype=new FilteredSequence,IndexedFilteredSequence.prototype.each=function(e){for(var t,n=this.parent,r=this.filterFn,o=this.parent.length(),i=-1,u=0;++i<o;)if(t=n.get(i),r(t,i)&&e(t,u++)===!1)return!1;return!0},ArrayLikeSequence.prototype.reverse=function(){return new IndexedReversedSequence(this)},IndexedReversedSequence.prototype=new ArrayLikeSequence,IndexedReversedSequence.prototype.get=function(e){return this.parent.get(this.length()-e-1)},ArrayLikeSequence.prototype.first=function(e){return"undefined"==typeof e?this.get(0):new IndexedTakeSequence(this,e)},IndexedTakeSequence.prototype=new ArrayLikeSequence,IndexedTakeSequence.prototype.length=function(){var e=this.parent.length();return this.count<=e?this.count:e},ArrayLikeSequence.prototype.rest=function(e){return new IndexedDropSequence(this,e)},IndexedDropSequence.prototype=new ArrayLikeSequence,IndexedDropSequence.prototype.get=function(e){return this.parent.get(this.count+e)},IndexedDropSequence.prototype.length=function(){var e=this.parent.length();return this.count<=e?e-this.count:0},ArrayLikeSequence.prototype.concat=function(e){return 1===arguments.length&&arguments[0]instanceof Array?new IndexedConcatenatedSequence(this,e):Sequence.prototype.concat.apply(this,arguments)},IndexedConcatenatedSequence.prototype=new ArrayLikeSequence,IndexedConcatenatedSequence.prototype.get=function(e){var t=this.parent.length();return t>e?this.parent.get(e):this.other[e-t]},IndexedConcatenatedSequence.prototype.length=function(){return this.parent.length()+this.other.length},ArrayLikeSequence.prototype.uniq=function(e){return new IndexedUniqueSequence(this,createCallback(e))},IndexedUniqueSequence.prototype=new Sequence,IndexedUniqueSequence.prototype.eachArrayCache=function(e){for(var t,n,r=this.parent,o=this.keyFn,i=r.length(),u=[],c=arrayContains,a=-1,s=0;++a<i;)if(n=r.get(a),t=o(n),!c(u,t)&&(u.push(t),e(n,s++)===!1))return!1},IndexedUniqueSequence.prototype.eachSetCache=UniqueSequence.prototype.each,MemoizedSequence.prototype=new ArrayLikeSequence,MemoizedSequence.prototype.cache=function(){return this.cachedResult||(this.cachedResult=this.parent.toArray())},MemoizedSequence.prototype.get=function(e){return this.cache()[e]},MemoizedSequence.prototype.length=function(){return this.cache().length},MemoizedSequence.prototype.slice=function(e,t){return this.cache().slice(e,t)},MemoizedSequence.prototype.toArray=function(){return this.cache().slice(0)},ArrayWrapper.prototype=new ArrayLikeSequence,ArrayWrapper.prototype.root=function(){return this},ArrayWrapper.prototype.isAsync=function(){return!1},ArrayWrapper.prototype.get=function(e){return this.source[e]},ArrayWrapper.prototype.length=function(){return this.source.length},ArrayWrapper.prototype.each=function(e){return forEach(this.source,e)},ArrayWrapper.prototype.map=function(e){return new MappedArrayWrapper(this,createCallback(e))},ArrayWrapper.prototype.filter=function(e){return new FilteredArrayWrapper(this,createCallback(e))},ArrayWrapper.prototype.uniq=function(e){return new UniqueArrayWrapper(this,e)},ArrayWrapper.prototype.concat=function(e){return 1===arguments.length&&arguments[0]instanceof Array?new ConcatArrayWrapper(this,e):ArrayLikeSequence.prototype.concat.apply(this,arguments)},ArrayWrapper.prototype.toArray=function(){return this.source.slice(0)},MappedArrayWrapper.prototype=new ArrayLikeSequence,MappedArrayWrapper.prototype.get=function(e){var t=this.parent.source;if(!(0>e||e>=t.length))return this.mapFn(t[e])},MappedArrayWrapper.prototype.length=function(){return this.parent.source.length},MappedArrayWrapper.prototype.each=function(e){for(var t=this.parent.source,n=t.length,r=this.mapFn,o=-1;++o<n;)if(e(r(t[o],o),o)===!1)return!1;return!0},FilteredArrayWrapper.prototype=new FilteredSequence,FilteredArrayWrapper.prototype.each=function(e){for(var t,n=this.parent.source,r=this.filterFn,o=n.length,i=-1,u=0;++i<o;)if(t=n[i],r(t,i)&&e(t,u++)===!1)return!1;return!0},UniqueArrayWrapper.prototype=new Sequence,UniqueArrayWrapper.prototype.eachNoCache=function(e){for(var t,n=this.parent.source,r=this.keyFn,o=n.length,i=arrayContainsBefore,u=-1,c=0;++u<o;)if(t=n[u],!i(n,t,u,r)&&e(t,c++)===!1)return!1;return!0},UniqueArrayWrapper.prototype.eachArrayCache=function(e){var t,n,r=this.parent.source,o=this.keyFn,i=r.length,u=[],c=arrayContains,a=-1,s=0;if(o){for(o=createCallback(o);++a<i;)if(n=r[a],t=o(n),!c(u,t)&&(u.push(t),e(n,s++)===!1))return!1}else for(;++a<i;)if(n=r[a],!c(u,n)&&(u.push(n),e(n,s++)===!1))return!1;return!0},UniqueArrayWrapper.prototype.eachSetCache=UniqueSequence.prototype.each,ConcatArrayWrapper.prototype=new ArrayLikeSequence,ConcatArrayWrapper.prototype.get=function(e){var t=this.parent.source,n=t.length;return n>e?t[e]:this.other[e-n]},ConcatArrayWrapper.prototype.length=function(){return this.parent.source.length+this.other.length},ConcatArrayWrapper.prototype.each=function(e){for(var t=this.parent.source,n=t.length,r=this.other,o=r.length,i=0,u=-1;++u<n;)if(e(t[u],i++)===!1)return!1;
+for(u=-1;++u<o;)if(e(r[u],i++)===!1)return!1;return!0},ObjectLikeSequence.prototype=new Sequence,ObjectLikeSequence.define=function(e,t){if(!t||"function"!=typeof t.each)throw new Error("A custom object-like sequence must implement *at least* each!");return defineSequenceType(ObjectLikeSequence,e,t)},ObjectLikeSequence.prototype.value=function(){return this.toObject()},ObjectLikeSequence.prototype.get=function(e){var t=this.pairs().find(function(t){return t[0]===e});return t?t[1]:void 0},ObjectLikeSequence.prototype.keys=function(){return this.map(function(e,t){return t})},ObjectLikeSequence.prototype.values=function(){return this.map(function(e,t){return e})},ObjectLikeSequence.prototype.async=function(){throw new Error("An ObjectLikeSequence does not support asynchronous iteration.")},ObjectLikeSequence.prototype.filter=function(e){return new FilteredObjectLikeSequence(this,createCallback(e))},FilteredObjectLikeSequence.prototype=new ObjectLikeSequence,FilteredObjectLikeSequence.prototype.each=function(e){var t=this.filterFn;return this.parent.each(function(n,r){return t(n,r)?e(n,r):void 0})},ObjectLikeSequence.prototype.reverse=function(){return this},ObjectLikeSequence.prototype.assign=function(e){return new AssignSequence(this,e)},ObjectLikeSequence.prototype.extend=function(e){return this.assign(e)},AssignSequence.prototype=new ObjectLikeSequence,AssignSequence.prototype.get=function(e){return this.other[e]||this.parent.get(e)},AssignSequence.prototype.each=function(e){var t=new Set,n=!1;return Lazy(this.other).each(function(r,o){return e(r,o)===!1?(n=!0,!1):void t.add(o)}),n?void 0:this.parent.each(function(n,r){return t.contains(r)||e(n,r)!==!1?void 0:!1})},ObjectLikeSequence.prototype.defaults=function e(e){return new DefaultsSequence(this,e)},DefaultsSequence.prototype=new ObjectLikeSequence,DefaultsSequence.prototype.get=function(e){return this.parent.get(e)||this.defaults[e]},DefaultsSequence.prototype.each=function(e){var t=new Set,n=!1;this.parent.each(function(r,o){return e(r,o)===!1?(n=!0,!1):void("undefined"!=typeof r&&t.add(o))}),n||Lazy(this.defaults).each(function(n,r){return t.contains(r)||e(n,r)!==!1?void 0:!1})},ObjectLikeSequence.prototype.invert=function(){return new InvertedSequence(this)},InvertedSequence.prototype=new ObjectLikeSequence,InvertedSequence.prototype.each=function(e){this.parent.each(function(t,n){return e(n,t)})},ObjectLikeSequence.prototype.merge=function(e){var t=arguments.length>1&&"function"==typeof arguments[arguments.length-1]?arrayPop.call(arguments):null;return new MergedSequence(this,arraySlice.call(arguments,0),t)},MergedSequence.prototype=new ObjectLikeSequence,MergedSequence.prototype.each=function(e){var t=this.others,n=this.mergeFn||mergeObjects,r={},o=this.parent.each(function(o,i){var u=o;return forEach(t,function(e){i in e&&(u=n(u,e[i]))}),r[i]=!0,e(u,i)});if(o===!1)return!1;var i={};return forEach(t,function(e){for(var t in e)r[t]||(i[t]=n(i[t],e[t]))}),Lazy(i).each(e)},ObjectLikeSequence.prototype.functions=function(){return this.filter(function(e,t){return"function"==typeof e}).map(function(e,t){return t})},ObjectLikeSequence.prototype.methods=function(){return this.functions()},ObjectLikeSequence.prototype.pick=function(e){return new PickSequence(this,e)},PickSequence.prototype=new ObjectLikeSequence,PickSequence.prototype.get=function(e){return arrayContains(this.properties,e)?this.parent.get(e):void 0},PickSequence.prototype.each=function(e){var t=arrayContains,n=this.properties;return this.parent.each(function(r,o){return t(n,o)?e(r,o):void 0})},ObjectLikeSequence.prototype.omit=function(e){return new OmitSequence(this,e)},OmitSequence.prototype=new ObjectLikeSequence,OmitSequence.prototype.get=function(e){return arrayContains(this.properties,e)?void 0:this.parent.get(e)},OmitSequence.prototype.each=function(e){var t=arrayContains,n=this.properties;return this.parent.each(function(r,o){return t(n,o)?void 0:e(r,o)})},ObjectLikeSequence.prototype.pairs=function(){return this.map(function(e,t){return[t,e]})},ObjectLikeSequence.prototype.toArray=function(){return this.pairs().toArray()},ObjectLikeSequence.prototype.toObject=function(){return this.reduce(function(e,t,n){return e[n]=t,e},{})},GroupedSequence.prototype=new ObjectLikeSequence,GroupedSequence.prototype.each=function(e){var t,n=createCallback(this.keyFn),r=createCallback(this.valFn);return t=this.parent.reduce(function(e,t){var o=n(t),i=r(t);return e[o]instanceof Array?e[o].push(i):e[o]=[i],e},{}),transform(function(t){for(var n in t)if(e(t[n],n)===!1)return!1},t)},IndexedSequence.prototype=new ObjectLikeSequence,IndexedSequence.prototype.each=function(e){var t=createCallback(this.keyFn),n=createCallback(this.valFn),r={};return this.parent.each(function(o){var i=t(o),u=n(o);return r[i]?void 0:(r[i]=u,e(u,i))})},CountedSequence.prototype=new ObjectLikeSequence,CountedSequence.prototype.each=function(e){var t=createCallback(this.keyFn),n={};this.parent.each(function(e){var r=t(e);n[r]?n[r]+=1:n[r]=1});for(var r in n)if(e(n[r],r)===!1)return!1;return!0},ObjectLikeSequence.prototype.watch=function(e){throw new Error("You can only call #watch on a directly wrapped object.")},ObjectWrapper.prototype=new ObjectLikeSequence,ObjectWrapper.prototype.root=function(){return this},ObjectWrapper.prototype.isAsync=function(){return!1},ObjectWrapper.prototype.get=function(e){return this.source[e]},ObjectWrapper.prototype.each=function(e){var t,n=this.source;for(t in n)if(e(n[t],t)===!1)return!1;return!0},StringLikeSequence.prototype=new ArrayLikeSequence,StringLikeSequence.define=function(e,t){if(!t||"function"!=typeof t.get)throw new Error("A custom string-like sequence must implement *at least* get!");return defineSequenceType(StringLikeSequence,e,t)},StringLikeSequence.prototype.value=function(){return this.toString()},StringLikeSequence.prototype.getIterator=function(){return new CharIterator(this)},CharIterator.prototype.current=function(){return this.source.charAt(this.index)},CharIterator.prototype.moveNext=function(){return++this.index<this.source.length()},StringLikeSequence.prototype.charAt=function(e){return this.get(e)},StringLikeSequence.prototype.charCodeAt=function(e){var t=this.charAt(e);return t?t.charCodeAt(0):NaN},StringLikeSequence.prototype.substring=function(e,t){return new StringSegment(this,e,t)},StringSegment.prototype=new StringLikeSequence,StringSegment.prototype.get=function(e){return this.parent.get(e+this.start)},StringSegment.prototype.length=function(){return("number"==typeof this.stop?this.stop:this.parent.length())-this.start},StringLikeSequence.prototype.first=function(e){return"undefined"==typeof e?this.charAt(0):this.substring(0,e)},StringLikeSequence.prototype.last=function(e){return"undefined"==typeof e?this.charAt(this.length()-1):this.substring(this.length()-e)},StringLikeSequence.prototype.drop=function(e){return this.substring(e)},StringLikeSequence.prototype.indexOf=function(e,t){return this.toString().indexOf(e,t)},StringLikeSequence.prototype.lastIndexOf=function(e,t){return this.toString().lastIndexOf(e,t)},StringLikeSequence.prototype.contains=function(e){return-1!==this.indexOf(e)},StringLikeSequence.prototype.endsWith=function(e){return this.substring(this.length()-e.length).toString()===e},StringLikeSequence.prototype.startsWith=function(e){return this.substring(0,e.length).toString()===e},StringLikeSequence.prototype.toUpperCase=function(){return this.mapString(function(e){return e.toUpperCase()})},StringLikeSequence.prototype.toLowerCase=function(){return this.mapString(function(e){return e.toLowerCase()})},StringLikeSequence.prototype.mapString=function(e){return new MappedStringLikeSequence(this,e)},MappedStringLikeSequence.prototype=new StringLikeSequence,MappedStringLikeSequence.prototype.get=IndexedMappedSequence.prototype.get,MappedStringLikeSequence.prototype.length=IndexedMappedSequence.prototype.length,StringLikeSequence.prototype.reverse=function(){return new ReversedStringLikeSequence(this)},ReversedStringLikeSequence.prototype=new StringLikeSequence,ReversedStringLikeSequence.prototype.get=IndexedReversedSequence.prototype.get,ReversedStringLikeSequence.prototype.length=IndexedReversedSequence.prototype.length,StringLikeSequence.prototype.toString=function(){return this.join("")},StringLikeSequence.prototype.match=function(e){return new StringMatchSequence(this,e)},StringMatchSequence.prototype=new Sequence,StringMatchSequence.prototype.getIterator=function(){return new StringMatchIterator(this.parent.toString(),this.pattern)},StringMatchIterator.prototype.current=function(){return this.match[0]},StringMatchIterator.prototype.moveNext=function(){return!!(this.match=this.pattern.exec(this.source))},StringLikeSequence.prototype.split=function(e){return new SplitStringSequence(this,e)},SplitStringSequence.prototype=new Sequence,SplitStringSequence.prototype.getIterator=function(){var e=this.parent.toString();return this.pattern instanceof RegExp?""===this.pattern.source||"(?:)"===this.pattern.source?new CharIterator(e):new SplitWithRegExpIterator(e,this.pattern):""===this.pattern?new CharIterator(e):new SplitWithStringIterator(e,this.pattern)},SplitWithRegExpIterator.prototype.current=function(){return this.source.substring(this.start,this.end)},SplitWithRegExpIterator.prototype.moveNext=function(){if(!this.pattern)return!1;var e=this.pattern.exec(this.source);return e?(this.start=this.nextStart?this.nextStart:0,this.end=e.index,this.nextStart=e.index+e[0].length,!0):this.pattern?(this.start=this.nextStart,this.end=void 0,this.nextStart=void 0,this.pattern=void 0,!0):!1},SplitWithStringIterator.prototype.current=function(){return this.source.substring(this.leftIndex,this.rightIndex)},SplitWithStringIterator.prototype.moveNext=function(){return this.finished||(this.leftIndex="undefined"!=typeof this.leftIndex?this.rightIndex+this.delimiter.length:0,this.rightIndex=this.source.indexOf(this.delimiter,this.leftIndex)),-1===this.rightIndex?(this.finished=!0,this.rightIndex=void 0,!0):!this.finished},StringWrapper.prototype=new StringLikeSequence,StringWrapper.prototype.root=function(){return this},StringWrapper.prototype.isAsync=function(){return!1},StringWrapper.prototype.get=function(e){return this.source.charAt(e)},StringWrapper.prototype.length=function(){return this.source.length},StringWrapper.prototype.toString=function(){return this.source},GeneratedSequence.prototype=new Sequence,GeneratedSequence.prototype.isAsync=function(){return!1},GeneratedSequence.prototype.length=function(){return this.fixedLength},GeneratedSequence.prototype.each=function(e){for(var t=this.get,n=this.fixedLength,r=0;"undefined"==typeof n||n>r;)if(e(t(r),r++)===!1)return!1;return!0},GeneratedSequence.prototype.getIterator=function(){return new GeneratedIterator(this)},GeneratedIterator.prototype.current=function(){return this.currentValue},GeneratedIterator.prototype.moveNext=function(){var e=this.sequence;return"number"==typeof e.fixedLength&&this.index>=e.fixedLength?!1:(this.currentValue=e.get(this.index++),!0)},AsyncSequence.prototype=new Sequence,AsyncSequence.prototype.isAsync=function(){return!0},AsyncSequence.prototype.getIterator=function(){throw new Error("An AsyncSequence does not support synchronous iteration.")},AsyncSequence.prototype.each=function(e){var t=this.parent.getIterator(),n=this.onNextCallback,r=this.cancelCallback,o=0,i=new AsyncHandle(function(){u&&r(u)}),u=n(function c(){u=null;try{t.moveNext()&&e(t.current(),o++)!==!1?u=n(c):i._resolve()}catch(r){i._reject(r)}});return i};var PENDING=1,RESOLVED=2,REJECTED=3;AsyncHandle.prototype.then=function(e,t){var n=new AsyncHandle(this.cancelFn);return this.resolveListeners.push(function(t){try{if("function"!=typeof e)return void resolve(n,t);resolve(n,e(t))}catch(r){n._reject(r)}}),this.rejectListeners.push(function(e){try{if("function"!=typeof t)return void n._reject(e);resolve(n,t(e))}catch(r){n._reject(r)}}),this.state===RESOLVED&&this._resolve(this.value),this.state===REJECTED&&this._reject(this.reason),n},AsyncHandle.prototype._resolve=function(e){this.state!==REJECTED&&(this.state===PENDING&&(this.state=RESOLVED,this.value=e),consumeListeners(this.resolveListeners,this.value))},AsyncHandle.prototype._reject=function(e){this.state!==RESOLVED&&(this.state===PENDING&&(this.state=REJECTED,this.reason=e),consumeListeners(this.rejectListeners,this.reason))},AsyncHandle.prototype.cancel=function(){this.cancelFn&&(this.cancelFn(),this.cancelFn=null,this._resolve(!1))},AsyncHandle.prototype.onComplete=function(e){return this.resolveListeners.push(e),this},AsyncHandle.prototype.onError=function(e){return this.rejectListeners.push(e),this},AsyncSequence.prototype.reverse=function(){return this.parent.reverse().async()},AsyncSequence.prototype.find=function(e){var t,n=this.each(function(n,r){return e(n,r)?(t=n,!1):void 0});return n.then(function(){return t})},AsyncSequence.prototype.indexOf=function(e){var t=-1,n=this.each(function(n,r){return n===e?(t=r,!1):void 0});return n.then(function(){return t})},AsyncSequence.prototype.contains=function(e){var t=!1,n=this.each(function(n){return n===e?(t=!0,!1):void 0});return n.then(function(){return t})},AsyncSequence.prototype.async=function(){return this},ObjectWrapper.prototype.watch=function(e){return new WatchedPropertySequence(this.source,e)},WatchedPropertySequence.prototype=new AsyncSequence,WatchedPropertySequence.prototype.each=function(e){this.listeners.push(e)},StreamLikeSequence.prototype=new AsyncSequence,StreamLikeSequence.prototype.isAsync=function(){return!0},StreamLikeSequence.prototype.split=function(e){return new SplitStreamSequence(this,e)},SplitStreamSequence.prototype=new Sequence,SplitStreamSequence.prototype.getEachForDelimiter=function(e){return e instanceof RegExp?this.regexEach:this.stringEach},SplitStreamSequence.prototype.regexEach=function(e){var t,n=cloneRegex(this.delimiter),r="",o=0,i=0,u=this.parent.each(function(u){r+=u;for(var c;c=n.exec(r);){if(t=c.index,e(r.substring(o,t),i++)===!1)return!1;o=t+c[0].length}r=r.substring(o),o=0});return u.onComplete(function(){r.length>0&&e(r,i++)}),u},SplitStreamSequence.prototype.stringEach=function(e){var t=this.delimiter,n=0,r="",o=this.parent.each(function(o){r+=o;for(var i;(i=r.indexOf(t))>=0;){var u=r.substr(0,i);if(r=r.substr(i+t.length),e(u,n++)===!1)return!1}return!0});return o.onComplete(function(){e(r,n++)}),o},StreamLikeSequence.prototype.lines=function(){return this.split("\n")},StreamLikeSequence.prototype.match=function(e){return new MatchedStreamSequence(this,e)},MatchedStreamSequence.prototype=new AsyncSequence,MatchedStreamSequence.prototype.each=function(e){var t=this.pattern,n=!1,r=0;return this.parent.each(function(o){return Lazy(o).match(t).each(function(t){return e(t,r++)===!1?(n=!0,!1):void 0}),!n})},Lazy.createWrapper=function(e){var t=function(){this.listeners=[]};return t.prototype=new StreamLikeSequence,t.prototype.each=function(e){this.listeners.push(e)},t.prototype.emit=function(e){for(var t=this.listeners,n=t.length,r=n-1;r>=0;--r)t[r](e)===!1&&t.splice(r,1)},function(){var n=new t;return e.apply(n,arguments),n}},Lazy.generate=function(e,t){return new GeneratedSequence(e,t)},Lazy.range=function(){var e=arguments.length>1?arguments[0]:0,t=arguments.length>1?arguments[1]:arguments[0],n=arguments.length>2&&arguments[2];return n===!1&&(n=t>e?1:-1),0===n?Lazy([]):Lazy.generate(function(t){return e+n*t}).take(Math.ceil((t-e)/n))},Lazy.repeat=function(e,t){return Lazy.generate(function(){return e},t)},Lazy.Sequence=Sequence,Lazy.ArrayLikeSequence=ArrayLikeSequence,Lazy.ObjectLikeSequence=ObjectLikeSequence,Lazy.StringLikeSequence=StringLikeSequence,Lazy.StreamLikeSequence=StreamLikeSequence,Lazy.GeneratedSequence=GeneratedSequence,Lazy.AsyncSequence=AsyncSequence,Lazy.AsyncHandle=AsyncHandle,Lazy.clone=function(e){return Lazy(e).value()},Lazy.deprecate=function(e,t){return function(){return console.warn(e),t.apply(this,arguments)}};var arrayPop=Array.prototype.pop,arraySlice=Array.prototype.slice;return Set.prototype.add=function(e){var t,n=this.table,r=typeof e;switch(r){case"number":case"boolean":case"undefined":return n[e]?!1:(n[e]=!0,!0);case"string":switch(e.charAt(0)){case"_":case"f":case"t":case"c":case"u":case"@":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"N":e="@"+e}return n[e]?!1:(n[e]=!0,!0);default:return t=this.objects,arrayContains(t,e)?!1:(t.push(e),!0)}},Set.prototype.contains=function(e){var t=typeof e;switch(t){case"number":case"boolean":case"undefined":return!!this.table[e];case"string":switch(e.charAt(0)){case"_":case"f":case"t":case"c":case"u":case"@":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"N":e="@"+e}return!!this.table[e];default:return arrayContains(this.objects,e)}},Queue.prototype.add=function(e){var t=this.contents,n=t.length,r=this.start;return this.count===n?(t[r]=e,this.start=(r+1)%n):t[this.count++]=e,this},Queue.prototype.toArray=function(){var e=this.contents,t=this.start,n=this.count,r=e.slice(t,t+n);return r.length<n&&(r=r.concat(e.slice(0,n-r.length))),r},Lazy})}).call(exports,__webpack_require__(157).setImmediate,__webpack_require__(157).clearImmediate)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(164),i=r(o),u=n(167),c=r(u),a=n(228),s=r(a),f=n(221),p=r(f),h=n(222),l=r(h),y=n(160).Buffer,d=function(){function e(t,n){(0,p["default"])(this,e),this.payload=t||null,this.hash=null,this.next=n?n instanceof Array?n:[n]:[],this.next=this.next.map(function(t){return t instanceof e?t.hash:t})}return(0,l["default"])(e,[{key:"hasChild",value:function(e){for(var t=0;t<this.next.length;t++)if(this.next[t]===e.hash)return!0;return!1}},{key:"asJson",get:function(){var t={payload:this.payload},n=this.next.map(function(t){return t instanceof e?t.hash:t});return(0,s["default"])(t,{next:n}),t}}],[{key:"create",value:function(t,n,r){if(!t)throw new Error("Node requires ipfs instance");return new c["default"](function(o,i){var u=new e(n,r);e.getIpfsHash(t,u).then(function(e){u.hash=e,o(u)})["catch"](i)})}},{key:"fromIpfsHash",value:function(t,n){if(!t)throw new Error("Node requires ipfs instance");if(!n)throw new Error("Invalid hash: "+n);return new c["default"](function(r,o){t.object.get(n).then(function(n){var i=JSON.parse(n.Data);e.create(t,i.payload,i.next).then(r)["catch"](o)})["catch"](o)})}},{key:"getIpfsHash",value:function(e,t){if(!e)throw new Error("Node requires ipfs instance");return new c["default"](function(n,r){e.object.put(new y((0,i["default"])({Data:(0,i["default"])(t.asJson)}))).then(function(e){return n(e.Hash)})["catch"](r)})}},{key:"equals",value:function(e,t){return e.hash===t.hash}}]),e}();e.exports=d},function(e,t,n){e.exports={"default":n(229),__esModule:!0}},function(e,t,n){n(230),e.exports=n(166).Object.assign},function(e,t,n){var r=n(176);r(r.S+r.F,"Object",{assign:n(231)})},function(e,t,n){var r=n(182),o=n(232),i=n(198);e.exports=n(185)(function(){var e=Object.assign,t={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=o})?function(e,t){for(var n=o(e),u=arguments,c=u.length,a=1,s=r.getKeys,f=r.getSymbols,p=r.isEnum;c>a;)for(var h,l=i(u[a++]),y=f?s(l).concat(f(l)):s(l),d=y.length,v=0;d>v;)p.call(l,h=y[v++])&&(n[h]=l[h]);return n}:Object.assign},function(e,t,n){var r=n(173);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(37),i=r(o),u=n(61),c=r(u),a=n(62),s=r(a),f=n(234),p=(n(235),n(256)),h=function(){function e(){(0,c["default"])(this,e)}return(0,s["default"])(e,null,[{key:"create",value:function(t,n,r,o,u,c,a){return new i["default"](function(i,a){var s=void 0;e._createOperation(t,r,o,u,c).then(function(e){return s=e.Post,n.add(e.Hash)}).then(function(e){return i({node:e,op:s})})["catch"](a)})}},{key:"_createOperation",value:function(e,t,n,r,o){return new i["default"](function(t,i){var u={operation:n,key:r,value:o};p.create(e,p.Types.OrbitDBItem,u).then(t)["catch"](i)})}},{key:"Types",get:function(){return f}}]),e}();e.exports=h},function(e,t){"use strict";var n={Add:"ADD",Put:"PUT",Delete:"DELETE",isInsert:function(e){return"ADD"===e||"PUT"===e},isDelete:function(e){return"DELETE"===e}};e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(236),i=r(o),u=n(61),c=r(u),a=n(240),s=r(a),f=n(249),p=r(f),h=n(255),l=function(e){function t(e,n,r){(0,c["default"])(this,t);var o=(0,s["default"])(this,(0,i["default"])(t).call(this,"orbit-db-op"));return o.op=e,o.key=n,o.value=r,o}return(0,p["default"])(t,e),t}(h);e.exports=l},function(e,t,n){e.exports={"default":n(237),__esModule:!0}},function(e,t,n){n(238),e.exports=n(15).Object.getPrototypeOf},function(e,t,n){var r=n(155);n(239)("getPrototypeOf",function(e){return function(t){return e(r(t))}})},function(e,t,n){var r=n(13),o=n(15),i=n(22);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],u={};u[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(241),i=r(o);t["default"]=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i["default"])(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";var r=n(242)["default"];t["default"]=function(e){return e&&e.constructor===r?"symbol":typeof e},t.__esModule=!0},function(e,t,n){e.exports={"default":n(243),__esModule:!0}},function(e,t,n){n(244),n(39),e.exports=n(15).Symbol},function(e,t,n){"use strict";var r=n(4),o=n(14),i=n(23),u=n(21),c=n(13),a=n(18),s=n(22),f=n(28),p=n(26),h=n(29),l=n(27),y=n(245),d=n(246),v=n(247),g=n(248),S=n(43),m=n(34),w=n(20),_=r.getDesc,b=r.setDesc,q=r.create,k=d.get,x=o.Symbol,A=o.JSON,E=A&&A.stringify,I=!1,L=l("_hidden"),O=r.isEnum,C=f("symbol-registry"),j=f("symbols"),R="function"==typeof x,T=Object.prototype,P=u&&s(function(){return 7!=q(b({},"a",{get:function(){return b(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=_(T,t);r&&delete T[t],b(e,t,n),r&&e!==T&&b(T,t,r)}:b,M=function(e){var t=j[e]=q(x.prototype);return t._k=e,u&&I&&P(T,e,{configurable:!0,set:function(t){i(this,L)&&i(this[L],e)&&(this[L][e]=!1),P(this,e,w(1,t))}}),t},B=function(e){return"symbol"==typeof e},D=function(e,t,n){return n&&i(j,t)?(n.enumerable?(i(e,L)&&e[L][t]&&(e[L][t]=!1),n=q(n,{enumerable:w(0,!1)})):(i(e,L)||b(e,L,w(1,{})),e[L][t]=!0),P(e,t,n)):b(e,t,n)},F=function(e,t){S(e);for(var n,r=v(t=m(t)),o=0,i=r.length;i>o;)D(e,n=r[o++],t[n]);return e},N=function(e,t){return void 0===t?q(e):F(q(e),t)},U=function(e){var t=O.call(this,e);return t||!i(this,e)||!i(j,e)||i(this,L)&&this[L][e]?t:!0},W=function(e,t){var n=_(e=m(e),t);return!n||!i(j,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n},z=function(e){for(var t,n=k(m(e)),r=[],o=0;n.length>o;)i(j,t=n[o++])||t==L||r.push(t);return r},Y=function(e){for(var t,n=k(m(e)),r=[],o=0;n.length>o;)i(j,t=n[o++])&&r.push(j[t]);return r},H=function(e){if(void 0!==e&&!B(e)){for(var t,n,r=[e],o=1,i=arguments;i.length>o;)r.push(i[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&g(t)||(t=function(e,t){return n&&(t=n.call(this,e,t)),B(t)?void 0:t}),r[1]=t,E.apply(A,r)}},G=s(function(){var e=x();return"[null]"!=E([e])||"{}"!=E({a:e})||"{}"!=E(Object(e))});R||(x=function(){if(B(this))throw TypeError("Symbol is not a constructor");return M(h(arguments.length>0?arguments[0]:void 0))},a(x.prototype,"toString",function(){return this._k}),B=function(e){return e instanceof x},r.create=N,r.isEnum=U,r.getDesc=W,r.setDesc=D,r.setDescs=F,r.getNames=d.get=z,r.getSymbols=Y,u&&!n(12)&&a(T,"propertyIsEnumerable",U,!0));var J={"for":function(e){return i(C,e+="")?C[e]:C[e]=x(e)},keyFor:function(e){return y(C,e)},useSetter:function(){I=!0},useSimple:function(){I=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(e){var t=l(e);J[e]=R?t:M(t)}),I=!0,c(c.G+c.W,{Symbol:x}),c(c.S,"Symbol",J),c(c.S+c.F*!R,"Object",{create:N,defineProperty:D,defineProperties:F,getOwnPropertyDescriptor:W,getOwnPropertyNames:z,getOwnPropertySymbols:Y}),A&&c(c.S+c.F*(!R||G),"JSON",{stringify:H}),p(x,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},function(e,t,n){var r=n(4),o=n(34);e.exports=function(e,t){for(var n,i=o(e),u=r.getKeys(i),c=u.length,a=0;c>a;)if(i[n=u[a++]]===t)return n}},function(e,t,n){var r=n(34),o=n(4).getNames,i={}.toString,u="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return u.slice()}};e.exports.get=function(e){return u&&"[object Window]"==i.call(e)?c(e):o(r(e))}},function(e,t,n){var r=n(4);e.exports=function(e){var t=r.getKeys(e),n=r.getSymbols;if(n)for(var o,i=n(e),u=r.isEnum,c=0;i.length>c;)u.call(e,o=i[c++])&&t.push(o);return t}},function(e,t,n){var r=n(36);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(250)["default"],o=n(252)["default"];t["default"]=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=r(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o?o(e,t):e.__proto__=t)},t.__esModule=!0},function(e,t,n){e.exports={"default":n(251),__esModule:!0}},function(e,t,n){var r=n(4);e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={"default":n(253),__esModule:!0}},function(e,t,n){n(254),e.exports=n(15).Object.setPrototypeOf},function(e,t,n){var r=n(13);r(r.S,"Object",{setPrototypeOf:n(50).set})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(61),i=r(o),u=function c(e){(0,i["default"])(this,c),this.type=e};e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(92),i=r(o),u=n(37),c=r(u),a=n(61),s=r(a),f=n(62),p=r(f),h=n(257).Buffer,l=(n(255),n(261)),y=n(262),d=n(263),v=n(235),g=n(264),S=n(265),m={Message:l,Snippet:"snippet",File:y,Directory:d,Link:"link",OrbitDBItem:v,Poll:S},w=function(){function e(){(0,s["default"])(this,e)}return(0,p["default"])(e,null,[{key:"create",value:function(e,t,n){return new c["default"](function(r,o){var u=void 0;t===m.Message?u=new m.Message(n.content):t===m.File?u=new m.File(n.name,n.hash,n.size):t==m.Directory?u=new m.Directory(n.name,n.hash,n.size):t==m.OrbitDBItem?u=new m.OrbitDBItem(n.operation,n.key,n.value):t==m.Poll&&(u=new m.Poll(n.question,n.options));var c=n.size?n.size:h.byteLength(n,"utf8");u.meta=new g(u.type,c,(new Date).getTime(),n.from),u.type&&delete u.type,e.object.put(new h((0,i["default"])({Data:(0,i["default"])(u)})),"json").then(function(e){return r({Post:u,Hash:e.Hash})})["catch"](o)})}},{key:"Types",get:function(){return m}}]),e}();e.exports=w},function(e,t,n){(function(e,r){/*!
+	 * The buffer module from node.js, for the browser.
+	 *
+	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
+	 * @license  MIT
+	 */
+"use strict";function o(){try{var e=new Uint8Array(1);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function i(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(t){return this instanceof e?(e.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?u(this,t):"string"==typeof t?c(this,t,arguments.length>1?arguments[1]:"utf8"):a(this,t)):arguments.length>1?new e(t,arguments[1]):new e(t)}function u(t,n){if(t=d(t,0>n?0:0|v(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;n>r;r++)t[r]=0;return t}function c(e,t,n){"string"==typeof n&&""!==n||(n="utf8");var r=0|S(t,n);return e=d(e,r),e.write(t,n),e}function a(t,n){if(e.isBuffer(n))return s(t,n);if(K(n))return f(t,n);if(null==n)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(n.buffer instanceof ArrayBuffer)return p(t,n);if(n instanceof ArrayBuffer)return h(t,n)}return n.length?l(t,n):y(t,n)}function s(e,t){var n=0|v(t.length);return e=d(e,n),t.copy(e,0,0,n),e}function f(e,t){var n=0|v(t.length);e=d(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function p(e,t){var n=0|v(t.length);e=d(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function h(t,n){return n.byteLength,e.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(n),t.__proto__=e.prototype):t=p(t,new Uint8Array(n)),t}function l(e,t){var n=0|v(t.length);e=d(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function y(e,t){var n,r=0;"Buffer"===t.type&&K(t.data)&&(n=t.data,r=0|v(n.length)),e=d(e,r);for(var o=0;r>o;o+=1)e[o]=255&n[o];return e}function d(t,n){e.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(n),t.__proto__=e.prototype):t.length=n;var r=0!==n&&n<=e.poolSize>>>1;return r&&(t.parent=X),t}function v(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function g(t,n){if(!(this instanceof g))return new g(t,n);var r=new e(t,n);return delete r.parent,r}function S(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return L(this,t,n);case"binary":return O(this,t,n);case"base64":return A(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var i=t.length;if(i%2!==0)throw new Error("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;r>u;u++){var c=parseInt(t.substr(2*u,2),16);if(isNaN(c))throw new Error("Invalid hex string");e[n+u]=c}return u}function _(e,t,n,r){return J(z(t,e.length-n),e,n,r)}function b(e,t,n,r){return J(Y(t),e,n,r)}function q(e,t,n,r){return b(e,t,n,r)}function k(e,t,n,r){return J(G(t),e,n,r)}function x(e,t,n,r){return J(H(t,e.length-n),e,n,r)}function A(e,t,n){return 0===t&&n===e.length?V.fromByteArray(e):V.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;n>o;){var i=e[o],u=null,c=i>239?4:i>223?3:i>191?2:1;if(n>=o+c){var a,s,f,p;switch(c){case 1:128>i&&(u=i);break;case 2:a=e[o+1],128===(192&a)&&(p=(31&i)<<6|63&a,p>127&&(u=p));break;case 3:a=e[o+1],s=e[o+2],128===(192&a)&&128===(192&s)&&(p=(15&i)<<12|(63&a)<<6|63&s,p>2047&&(55296>p||p>57343)&&(u=p));break;case 4:a=e[o+1],s=e[o+2],f=e[o+3],128===(192&a)&&128===(192&s)&&128===(192&f)&&(p=(15&i)<<18|(63&a)<<12|(63&s)<<6|63&f,p>65535&&1114112>p&&(u=p))}}null===u?(u=65533,c=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=c}return I(r)}function I(e){var t=e.length;if(Z>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Z));return n}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function C(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=t;n>i;i++)o+=W(e[i]);return o}function j(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function T(t,n,r,o,i,u){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>i||u>n)throw new RangeError("value is out of bounds");if(r+o>t.length)throw new RangeError("index out of range")}function P(e,t,n,r){0>t&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);i>o;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function M(e,t,n,r){0>t&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);i>o;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function B(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function D(e,t,n,r,o){return o||B(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,t,n,r,23,4),n+4}function F(e,t,n,r,o){return o||B(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,t,n,r,52,8),n+8}function N(e){if(e=U(e).replace(Q,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return 16>e?"0"+e.toString(16):e.toString(16)}function z(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],u=0;r>u;u++){if(n=e.charCodeAt(u),n>55295&&57344>n){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(56320>n){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,128>n){if((t-=1)<0)break;i.push(n)}else if(2048>n){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Y(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function H(e,t){for(var n,r,o,i=[],u=0;u<e.length&&!((t-=2)<0);u++)n=e.charCodeAt(u),r=n>>8,o=n%256,i.push(o),i.push(r);return i}function G(e){return V.toByteArray(N(e))}function J(e,t,n,r){for(var o=0;r>o&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}var V=n(258),$=n(259),K=n(260);t.Buffer=e,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var X={};e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:o(),e._augment=function(t){return t.__proto__=e.prototype,t},e.TYPED_ARRAY_SUPPORT?(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&e[Symbol.species]===e&&Object.defineProperty(e,Symbol.species,{value:null,configurable:!0})):(e.prototype.length=void 0,e.prototype.parent=void 0),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,o=n.length,i=0,u=Math.min(r,o);u>i;++i)if(t[i]!==n[i]){r=t[i],o=n[i];break}return o>r?-1:r>o?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!K(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new e(0);var r;if(void 0===n)for(n=0,r=0;r<t.length;r++)n+=t[r].length;var o=new e(n),i=0;for(r=0;r<t.length;r++){var u=t[r];u.copy(o,i),i+=u.length}return o},e.byteLength=S,e.prototype._isBuffer=!0,e.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):m.apply(this,arguments)},e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===e.compare(this,t)},e.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return e.compare(this,t)},e.prototype.indexOf=function(t,n){function r(e,t,n){for(var r=-1,o=0;n+o<e.length;o++)if(e[n+o]===t[-1===r?0:o-r]){if(-1===r&&(r=o),o-r+1===t.length)return n+r}else r=-1;return-1}if(n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(0>n&&(n=Math.max(this.length+n,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,n);if(e.isBuffer(t))return r(this,t,n);if("number"==typeof t)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,n):r(this,[t],n);throw new TypeError("val must be string, number or Buffer")},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var o=r;r=t,t=0|n,n=o}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var u=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return b(this,e,t,n);case"binary":return q(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(u)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),u=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>n?(n+=r,0>n&&(n=0)):n>r&&(n=r),t>n&&(n=t);var o;if(e.TYPED_ARRAY_SUPPORT)o=this.subarray(t,n),o.__proto__=e.prototype;else{var i=n-t;o=new e(i,void 0);for(var u=0;i>u;u++)o[u]=this[u+t]}return o.length&&(o.parent=this.parent||this),o},e.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},e.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},e.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},e.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),$.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),$.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),$.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),$.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||T(this,e,t,n,Math.pow(2,8*n),0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUIntBE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||T(this,e,t,n,Math.pow(2,8*n),0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):P(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):P(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):M(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):M(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var i=0,u=1,c=0>e?1:0;for(this[t]=255&e;++i<n&&(u*=256);)this[t+i]=(e/u>>0)-c&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var o=Math.pow(2,8*n-1);T(this,e,t,n,o-1,-o)}var i=n-1,u=1,c=0>e?1:0;for(this[t+i]=255&e;--i>=0&&(u*=256);)this[t+i]=(e/u>>0)-c&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):P(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):P(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):M(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n=0|n,r||T(this,t,n,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):M(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return F(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return F(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,o){if(r||(r=0),o||0===o||(o=this.length),n>=t.length&&(n=t.length),n||(n=0),o>0&&r>o&&(o=r),o===r)return 0;if(0===t.length||0===this.length)return 0;if(0>n)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>o)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-n<o-r&&(o=t.length-n+r);var i,u=o-r;if(this===t&&n>r&&o>n)for(i=u-1;i>=0;i--)t[i+n]=this[i+r];else if(1e3>u||!e.TYPED_ARRAY_SUPPORT)for(i=0;u>i;i++)t[i+n]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+u),n);return u},e.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var o=z(e.toString()),i=o.length;for(r=t;n>r;r++)this[r]=o[r%i]}return this}};var Q=/[^+\/0-9A-Za-z-_]/g}).call(t,n(257).Buffer,function(){return this}())},function(e,t){"use strict";function n(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;n>t;++t)c[t]=e[t],a[e.charCodeAt(t)]=t;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}function r(e){var t,n,r,o,i,u,c=e.length;if(c%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[c-2]?2:"="===e[c-1]?1:0,u=new s(3*c/4-i),r=i>0?c-4:c;var f=0;for(t=0,n=0;r>t;t+=4,n+=3)o=a[e.charCodeAt(t)]<<18|a[e.charCodeAt(t+1)]<<12|a[e.charCodeAt(t+2)]<<6|a[e.charCodeAt(t+3)],u[f++]=o>>16&255,u[f++]=o>>8&255,u[f++]=255&o;return 2===i?(o=a[e.charCodeAt(t)]<<2|a[e.charCodeAt(t+1)]>>4,u[f++]=255&o):1===i&&(o=a[e.charCodeAt(t)]<<10|a[e.charCodeAt(t+1)]<<4|a[e.charCodeAt(t+2)]>>2,u[f++]=o>>8&255,u[f++]=255&o),u}function o(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function i(e,t,n){for(var r,i=[],u=t;n>u;u+=3)r=(e[u]<<16)+(e[u+1]<<8)+e[u+2],i.push(o(r));return i.join("")}function u(e){for(var t,n=e.length,r=n%3,o="",u=[],a=16383,s=0,f=n-r;f>s;s+=a)u.push(i(e,s,s+a>f?f:s+a));return 1===r?(t=e[n-1],o+=c[t>>2],o+=c[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=c[t>>10],o+=c[t>>4&63],o+=c[t<<2&63],o+="="),u.push(o),u.join("")}t.toByteArray=r,t.fromByteArray=u;var c=[],a=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array;n()},function(e,t){t.read=function(e,t,n,r,o){var i,u,c=8*o-r-1,a=(1<<c)-1,s=a>>1,f=-7,p=n?o-1:0,h=n?-1:1,l=e[t+p];for(p+=h,i=l&(1<<-f)-1,l>>=-f,f+=c;f>0;i=256*i+e[t+p],p+=h,f-=8);for(u=i&(1<<-f)-1,i>>=-f,f+=r;f>0;u=256*u+e[t+p],p+=h,f-=8);if(0===i)i=1-s;else{if(i===a)return u?NaN:(l?-1:1)*(1/0);u+=Math.pow(2,r),i-=s}return(l?-1:1)*u*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var u,c,a,s=8*i-o-1,f=(1<<s)-1,p=f>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,l=r?0:i-1,y=r?1:-1,d=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,u=f):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),t+=u+p>=1?h/a:h*Math.pow(2,1-p),t*a>=2&&(u++,a/=2),u+p>=f?(c=0,u=f):u+p>=1?(c=(t*a-1)*Math.pow(2,o),u+=p):(c=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+l]=255&c,l+=y,c/=256,o-=8);for(u=u<<o|c,s+=o;s>0;e[n+l]=255&u,l+=y,u/=256,s-=8);e[n+l-y]|=128*d}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(236),i=r(o),u=n(61),c=r(u),a=n(240),s=r(a),f=n(249),p=r(f),h=n(255),l=function(e){function t(e){(0,c["default"])(this,t);var n=(0,s["default"])(this,(0,i["default"])(t).call(this,"text"));return n.content=e,n}return(0,p["default"])(t,e),t}(h);e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(236),i=r(o),u=n(61),c=r(u),a=n(240),s=r(a),f=n(249),p=r(f),h=n(255),l=function(e){function t(e,n,r){(0,c["default"])(this,t);var o=(0,s["default"])(this,(0,i["default"])(t).call(this,"file"));return o.name=e,o.hash=n,o.size=r,o}return(0,p["default"])(t,e),t}(h);e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(236),i=r(o),u=n(61),c=r(u),a=n(240),s=r(a),f=n(249),p=r(f),h=n(255),l=function(e){function t(e,n,r){(0,c["default"])(this,t);var o=(0,s["default"])(this,(0,i["default"])(t).call(this,"directory"));return o.name=e,o.hash=n,o.size=r,o}return(0,p["default"])(t,e),t}(h);e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(61),i=r(o),u=function c(e,t,n,r){(0,i["default"])(this,c),this.type=e,this.size=t,this.ts=n,this.from=r||""};e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(236),i=r(o),u=n(61),c=r(u),a=n(240),s=r(a),f=n(249),p=r(f),h=n(255),l=function(e){function t(e,n){(0,c["default"])(this,t);var r=(0,s["default"])(this,(0,i["default"])(t).call(this,"poll"));return r.question=e,r.options=n,r}return(0,p["default"])(t,e),t}(h);e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(92),i=r(o),u=n(61),c=r(u),a=n(62),s=r(a),f=n(267),p=n(66),h=n(64).create("orbit-db.Cache"),l=p.resolve("./orbit-db-cache.json"),y=l,d={},v=function(){function e(){(0,c["default"])(this,e)}return(0,s["default"])(e,null,[{key:"set",value:function(e,t){d[e]=t,f.writeFileSync(y,(0,i["default"])(d,null,2)+"\n")}},{key:"get",value:function(e){return d[e]}},{key:"loadCache",value:function(e){y=e?e:l,f.existsSync(y)&&(h.debug("Load cache from",y),d=JSON.parse(f.readFileSync(y)))}}]),e}();e.exports=v},function(e,t){"use strict";e.exports={createWriteStream:function(e,t){},writeFileSync:function(){}}}]);
\ No newline at end of file
diff --git a/examples/browser.html b/examples/browser.html
new file mode 100644
index 0000000..081af6d
--- /dev/null
+++ b/examples/browser.html
@@ -0,0 +1,48 @@
+<html>
+  <head>
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <script type="text/javascript" src="../dist/orbitdb.min.js" charset="utf-8"></script>
+    <script type="text/javascript" src="../node_modules/logplease/dist/logplease.min.js" charset="utf-8"></script>
+    <script type="text/javascript" src="../node_modules/ipfs-api/dist/ipfsapi.min.js" charset="utf-8"></script>
+    <script type="text/javascript">
+      const logger   = Logger.create("orbit-db example", { color: Logger.Colors.Green, showTimestamp: false, showLevel: false });
+      const host     = '178.62.241.75'
+      const port     = 3333;
+      const username = 'user1';
+      const password = '';
+      const channel  = 'testing123';
+      const key      = 'greeting';
+      const value    = 'Hello world';
+
+      try {
+        const ipfs = ipfsAPI();
+        OrbitDB.connect(host, port, username, password, ipfs).then((orbit) => {
+          orbit.channel(channel).then((db) => {
+            let count = 1;
+            const query = () => {
+              const startTime = new Date().getTime();
+              db.put(key, value + " " + count).then((res) => {
+                const endTime = new Date().getTime();
+                logger.debug(`db.put (#${count}) took ${(endTime - startTime)} ms\n`);
+                count ++;
+
+                const result = db.get(key);
+                logger.debug("---------------------------------------------------")
+                logger.debug("Key | Value")
+                logger.debug("---------------------------------------------------")
+                logger.debug(`${key} | ${result}`);
+                logger.debug("---------------------------------------------------")
+                console.log('\n');
+              }).catch((e) => logger.error(e));
+            };
+            setInterval(query, 1000);
+          });
+        });
+      } catch(e) {
+        logger.error(e.stack);
+      }
+    </script>
+  </body>
+</html>
diff --git a/examples/browser.js b/examples/browser.js
new file mode 100644
index 0000000..2e23c85
--- /dev/null
+++ b/examples/browser.js
@@ -0,0 +1,42 @@
+'use strict';
+
+const ipfsAPI = require('ipfs-api');
+const Logger  = require('logplease');
+const logger  = Logger.create("orbit-db example", { color: Logger.Colors.Green, showTimestamp: false, showLevel: false });
+const OrbitDB = require('../src/Client');
+
+const host     = '178.62.241.75'
+const port     = 3333;
+const username = 'user1';
+const password = '';
+const channel  = 'testing123';
+const key      = 'greeting';
+const value    = 'Hello world';
+
+try {
+  const ipfs = ipfsAPI();
+  OrbitDB.connect(host, port, username, password, ipfs).then((orbit) => {
+    orbit.channel(channel).then((db) => {
+      let count = 1;
+      const query = () => {
+        const startTime = new Date().getTime();
+        db.put(key, value + " " + count).then((res) => {
+          const endTime = new Date().getTime();
+          logger.debug(`db.put (#${count}) took ${(endTime - startTime)} ms\n`);
+          count ++;
+
+          const result = db.get(key);
+          logger.debug("---------------------------------------------------")
+          logger.debug("Key | Value")
+          logger.debug("---------------------------------------------------")
+          logger.debug(`${key} | ${result}`);
+          logger.debug("---------------------------------------------------")
+          console.log('\n');
+        }).catch((e) => logger.error(e));
+      };
+      setInterval(query, 1000);
+    });
+  });
+} catch(e) {
+  logger.error(e.stack);
+}
diff --git a/examples/bundle.js b/examples/bundle.js
new file mode 100644
index 0000000..05ee847
--- /dev/null
+++ b/examples/bundle.js
@@ -0,0 +1,69416 @@
+/******/ (function(modules) { // webpackBootstrap
+/******/ 	// The module cache
+/******/ 	var installedModules = {};
+
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+
+/******/ 		// Check if module is in cache
+/******/ 		if(installedModules[moduleId])
+/******/ 			return installedModules[moduleId].exports;
+
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = installedModules[moduleId] = {
+/******/ 			exports: {},
+/******/ 			id: moduleId,
+/******/ 			loaded: false
+/******/ 		};
+
+/******/ 		// Execute the module function
+/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+
+/******/ 		// Flag the module as loaded
+/******/ 		module.loaded = true;
+
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+
+
+/******/ 	// expose the modules object (__webpack_modules__)
+/******/ 	__webpack_require__.m = modules;
+
+/******/ 	// expose the module cache
+/******/ 	__webpack_require__.c = installedModules;
+
+/******/ 	// __webpack_public_path__
+/******/ 	__webpack_require__.p = "";
+
+/******/ 	// Load entry module and return exports
+/******/ 	return __webpack_require__(0);
+/******/ })
+/************************************************************************/
+/******/ ([
+/* 0 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var ipfsAPI = __webpack_require__(1);
+	var Logger = __webpack_require__(199);
+	var logger = Logger.create("orbit-db example", { color: Logger.Colors.Green, showTimestamp: false, showLevel: false });
+	var OrbitDB = __webpack_require__(224);
+
+	var host = '178.62.241.75';
+	var port = 3333;
+	var username = 'user1';
+	var password = '';
+	var channel = 'testing123';
+	var key = 'greeting';
+	var value = 'Hello world';
+
+	try {
+	  var ipfs = ipfsAPI();
+	  OrbitDB.connect(host, port, username, password, ipfs).then(function (orbit) {
+	    orbit.channel(channel).then(function (db) {
+	      var count = 1;
+	      var query = function query() {
+	        var startTime = new Date().getTime();
+	        db.put(key, value + " " + count).then(function (res) {
+	          var endTime = new Date().getTime();
+	          logger.debug('db.put (#' + count + ') took ' + (endTime - startTime) + ' ms\n');
+	          count++;
+
+	          var result = db.get(key);
+	          logger.debug("---------------------------------------------------");
+	          logger.debug("Key | Value");
+	          logger.debug("---------------------------------------------------");
+	          logger.debug(key + ' | ' + result);
+	          logger.debug("---------------------------------------------------");
+	          console.log('\n');
+	        }).catch(function (e) {
+	          return logger.error(e);
+	        });
+	      };
+	      setInterval(query, 1000);
+	    });
+	  });
+	} catch (e) {
+	  logger.error(e.stack);
+	}
+
+/***/ },
+/* 1 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {'use strict'
+
+	const multiaddr = __webpack_require__(6)
+
+	const loadCommands = __webpack_require__(24)
+	const getConfig = __webpack_require__(173)
+	const getRequestAPI = __webpack_require__(175)
+
+	exports = module.exports = IpfsAPI
+
+	function IpfsAPI (host_or_multiaddr, port, opts) {
+	  const config = getConfig()
+
+	  try {
+	    const maddr = multiaddr(host_or_multiaddr).nodeAddress()
+	    config.host = maddr.address
+	    config.port = maddr.port
+	  } catch (e) {
+	    if (typeof host_or_multiaddr === 'string') {
+	      config.host = host_or_multiaddr
+	      config.port = port && typeof port !== 'object' ? port : config.port
+	    }
+	  }
+
+	  let lastIndex = arguments.length
+	  while (!opts && lastIndex-- > 0) {
+	    opts = arguments[lastIndex]
+	    if (opts) break
+	  }
+
+	  Object.assign(config, opts)
+
+	  // autoconfigure in browser
+	  if (!config.host &&
+	    typeof window !== 'undefined') {
+	    const split = window.location.host.split(':')
+	    config.host = split[0]
+	    config.port = split[1]
+	  }
+
+	  const requestAPI = getRequestAPI(config)
+	  const cmds = loadCommands(requestAPI)
+	  cmds.send = requestAPI
+	  cmds.Buffer = Buffer
+
+	  return cmds
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 2 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer, global) {/*!
+	 * The buffer module from node.js, for the browser.
+	 *
+	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
+	 * @license  MIT
+	 */
+	/* eslint-disable no-proto */
+
+	'use strict'
+
+	var base64 = __webpack_require__(3)
+	var ieee754 = __webpack_require__(4)
+	var isArray = __webpack_require__(5)
+
+	exports.Buffer = Buffer
+	exports.SlowBuffer = SlowBuffer
+	exports.INSPECT_MAX_BYTES = 50
+	Buffer.poolSize = 8192 // not used by this implementation
+
+	var rootParent = {}
+
+	/**
+	 * If `Buffer.TYPED_ARRAY_SUPPORT`:
+	 *   === true    Use Uint8Array implementation (fastest)
+	 *   === false   Use Object implementation (most compatible, even IE6)
+	 *
+	 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
+	 * Opera 11.6+, iOS 4.2+.
+	 *
+	 * Due to various browser bugs, sometimes the Object implementation will be used even
+	 * when the browser supports typed arrays.
+	 *
+	 * Note:
+	 *
+	 *   - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
+	 *     See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
+	 *
+	 *   - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
+	 *
+	 *   - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
+	 *     incorrect length in some situations.
+
+	 * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
+	 * get the Object implementation, which is slower but behaves correctly.
+	 */
+	Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
+	  ? global.TYPED_ARRAY_SUPPORT
+	  : typedArraySupport()
+
+	function typedArraySupport () {
+	  try {
+	    var arr = new Uint8Array(1)
+	    arr.foo = function () { return 42 }
+	    return arr.foo() === 42 && // typed array instances can be augmented
+	        typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
+	        arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
+	  } catch (e) {
+	    return false
+	  }
+	}
+
+	function kMaxLength () {
+	  return Buffer.TYPED_ARRAY_SUPPORT
+	    ? 0x7fffffff
+	    : 0x3fffffff
+	}
+
+	/**
+	 * The Buffer constructor returns instances of `Uint8Array` that have their
+	 * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
+	 * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
+	 * and the `Uint8Array` methods. Square bracket notation works as expected -- it
+	 * returns a single octet.
+	 *
+	 * The `Uint8Array` prototype remains unmodified.
+	 */
+	function Buffer (arg) {
+	  if (!(this instanceof Buffer)) {
+	    // Avoid going through an ArgumentsAdaptorTrampoline in the common case.
+	    if (arguments.length > 1) return new Buffer(arg, arguments[1])
+	    return new Buffer(arg)
+	  }
+
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) {
+	    this.length = 0
+	    this.parent = undefined
+	  }
+
+	  // Common case.
+	  if (typeof arg === 'number') {
+	    return fromNumber(this, arg)
+	  }
+
+	  // Slightly less common case.
+	  if (typeof arg === 'string') {
+	    return fromString(this, arg, arguments.length > 1 ? arguments[1] : 'utf8')
+	  }
+
+	  // Unusual.
+	  return fromObject(this, arg)
+	}
+
+	// TODO: Legacy, not needed anymore. Remove in next major version.
+	Buffer._augment = function (arr) {
+	  arr.__proto__ = Buffer.prototype
+	  return arr
+	}
+
+	function fromNumber (that, length) {
+	  that = allocate(that, length < 0 ? 0 : checked(length) | 0)
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) {
+	    for (var i = 0; i < length; i++) {
+	      that[i] = 0
+	    }
+	  }
+	  return that
+	}
+
+	function fromString (that, string, encoding) {
+	  if (typeof encoding !== 'string' || encoding === '') encoding = 'utf8'
+
+	  // Assumption: byteLength() return value is always < kMaxLength.
+	  var length = byteLength(string, encoding) | 0
+	  that = allocate(that, length)
+
+	  that.write(string, encoding)
+	  return that
+	}
+
+	function fromObject (that, object) {
+	  if (Buffer.isBuffer(object)) return fromBuffer(that, object)
+
+	  if (isArray(object)) return fromArray(that, object)
+
+	  if (object == null) {
+	    throw new TypeError('must start with number, buffer, array or string')
+	  }
+
+	  if (typeof ArrayBuffer !== 'undefined') {
+	    if (object.buffer instanceof ArrayBuffer) {
+	      return fromTypedArray(that, object)
+	    }
+	    if (object instanceof ArrayBuffer) {
+	      return fromArrayBuffer(that, object)
+	    }
+	  }
+
+	  if (object.length) return fromArrayLike(that, object)
+
+	  return fromJsonObject(that, object)
+	}
+
+	function fromBuffer (that, buffer) {
+	  var length = checked(buffer.length) | 0
+	  that = allocate(that, length)
+	  buffer.copy(that, 0, 0, length)
+	  return that
+	}
+
+	function fromArray (that, array) {
+	  var length = checked(array.length) | 0
+	  that = allocate(that, length)
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	// Duplicate of fromArray() to keep fromArray() monomorphic.
+	function fromTypedArray (that, array) {
+	  var length = checked(array.length) | 0
+	  that = allocate(that, length)
+	  // Truncating the elements is probably not what people expect from typed
+	  // arrays with BYTES_PER_ELEMENT > 1 but it's compatible with the behavior
+	  // of the old Buffer constructor.
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	function fromArrayBuffer (that, array) {
+	  array.byteLength // this throws if `array` is not a valid ArrayBuffer
+
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    // Return an augmented `Uint8Array` instance, for best performance
+	    that = new Uint8Array(array)
+	    that.__proto__ = Buffer.prototype
+	  } else {
+	    // Fallback: Return an object instance of the Buffer class
+	    that = fromTypedArray(that, new Uint8Array(array))
+	  }
+	  return that
+	}
+
+	function fromArrayLike (that, array) {
+	  var length = checked(array.length) | 0
+	  that = allocate(that, length)
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	// Deserialize { type: 'Buffer', data: [1,2,3,...] } into a Buffer object.
+	// Returns a zero-length buffer for inputs that don't conform to the spec.
+	function fromJsonObject (that, object) {
+	  var array
+	  var length = 0
+
+	  if (object.type === 'Buffer' && isArray(object.data)) {
+	    array = object.data
+	    length = checked(array.length) | 0
+	  }
+	  that = allocate(that, length)
+
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	if (Buffer.TYPED_ARRAY_SUPPORT) {
+	  Buffer.prototype.__proto__ = Uint8Array.prototype
+	  Buffer.__proto__ = Uint8Array
+	  if (typeof Symbol !== 'undefined' && Symbol.species &&
+	      Buffer[Symbol.species] === Buffer) {
+	    // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
+	    Object.defineProperty(Buffer, Symbol.species, {
+	      value: null,
+	      configurable: true
+	    })
+	  }
+	} else {
+	  // pre-set for values that may exist in the future
+	  Buffer.prototype.length = undefined
+	  Buffer.prototype.parent = undefined
+	}
+
+	function allocate (that, length) {
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    // Return an augmented `Uint8Array` instance, for best performance
+	    that = new Uint8Array(length)
+	    that.__proto__ = Buffer.prototype
+	  } else {
+	    // Fallback: Return an object instance of the Buffer class
+	    that.length = length
+	  }
+
+	  var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1
+	  if (fromPool) that.parent = rootParent
+
+	  return that
+	}
+
+	function checked (length) {
+	  // Note: cannot use `length < kMaxLength` here because that fails when
+	  // length is NaN (which is otherwise coerced to zero.)
+	  if (length >= kMaxLength()) {
+	    throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
+	                         'size: 0x' + kMaxLength().toString(16) + ' bytes')
+	  }
+	  return length | 0
+	}
+
+	function SlowBuffer (subject, encoding) {
+	  if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)
+
+	  var buf = new Buffer(subject, encoding)
+	  delete buf.parent
+	  return buf
+	}
+
+	Buffer.isBuffer = function isBuffer (b) {
+	  return !!(b != null && b._isBuffer)
+	}
+
+	Buffer.compare = function compare (a, b) {
+	  if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
+	    throw new TypeError('Arguments must be Buffers')
+	  }
+
+	  if (a === b) return 0
+
+	  var x = a.length
+	  var y = b.length
+
+	  for (var i = 0, len = Math.min(x, y); i < len; ++i) {
+	    if (a[i] !== b[i]) {
+	      x = a[i]
+	      y = b[i]
+	      break
+	    }
+	  }
+
+	  if (x < y) return -1
+	  if (y < x) return 1
+	  return 0
+	}
+
+	Buffer.isEncoding = function isEncoding (encoding) {
+	  switch (String(encoding).toLowerCase()) {
+	    case 'hex':
+	    case 'utf8':
+	    case 'utf-8':
+	    case 'ascii':
+	    case 'binary':
+	    case 'base64':
+	    case 'raw':
+	    case 'ucs2':
+	    case 'ucs-2':
+	    case 'utf16le':
+	    case 'utf-16le':
+	      return true
+	    default:
+	      return false
+	  }
+	}
+
+	Buffer.concat = function concat (list, length) {
+	  if (!isArray(list)) throw new TypeError('list argument must be an Array of Buffers.')
+
+	  if (list.length === 0) {
+	    return new Buffer(0)
+	  }
+
+	  var i
+	  if (length === undefined) {
+	    length = 0
+	    for (i = 0; i < list.length; i++) {
+	      length += list[i].length
+	    }
+	  }
+
+	  var buf = new Buffer(length)
+	  var pos = 0
+	  for (i = 0; i < list.length; i++) {
+	    var item = list[i]
+	    item.copy(buf, pos)
+	    pos += item.length
+	  }
+	  return buf
+	}
+
+	function byteLength (string, encoding) {
+	  if (typeof string !== 'string') string = '' + string
+
+	  var len = string.length
+	  if (len === 0) return 0
+
+	  // Use a for loop to avoid recursion
+	  var loweredCase = false
+	  for (;;) {
+	    switch (encoding) {
+	      case 'ascii':
+	      case 'binary':
+	      // Deprecated
+	      case 'raw':
+	      case 'raws':
+	        return len
+	      case 'utf8':
+	      case 'utf-8':
+	        return utf8ToBytes(string).length
+	      case 'ucs2':
+	      case 'ucs-2':
+	      case 'utf16le':
+	      case 'utf-16le':
+	        return len * 2
+	      case 'hex':
+	        return len >>> 1
+	      case 'base64':
+	        return base64ToBytes(string).length
+	      default:
+	        if (loweredCase) return utf8ToBytes(string).length // assume utf8
+	        encoding = ('' + encoding).toLowerCase()
+	        loweredCase = true
+	    }
+	  }
+	}
+	Buffer.byteLength = byteLength
+
+	function slowToString (encoding, start, end) {
+	  var loweredCase = false
+
+	  start = start | 0
+	  end = end === undefined || end === Infinity ? this.length : end | 0
+
+	  if (!encoding) encoding = 'utf8'
+	  if (start < 0) start = 0
+	  if (end > this.length) end = this.length
+	  if (end <= start) return ''
+
+	  while (true) {
+	    switch (encoding) {
+	      case 'hex':
+	        return hexSlice(this, start, end)
+
+	      case 'utf8':
+	      case 'utf-8':
+	        return utf8Slice(this, start, end)
+
+	      case 'ascii':
+	        return asciiSlice(this, start, end)
+
+	      case 'binary':
+	        return binarySlice(this, start, end)
+
+	      case 'base64':
+	        return base64Slice(this, start, end)
+
+	      case 'ucs2':
+	      case 'ucs-2':
+	      case 'utf16le':
+	      case 'utf-16le':
+	        return utf16leSlice(this, start, end)
+
+	      default:
+	        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
+	        encoding = (encoding + '').toLowerCase()
+	        loweredCase = true
+	    }
+	  }
+	}
+
+	// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
+	// Buffer instances.
+	Buffer.prototype._isBuffer = true
+
+	Buffer.prototype.toString = function toString () {
+	  var length = this.length | 0
+	  if (length === 0) return ''
+	  if (arguments.length === 0) return utf8Slice(this, 0, length)
+	  return slowToString.apply(this, arguments)
+	}
+
+	Buffer.prototype.equals = function equals (b) {
+	  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
+	  if (this === b) return true
+	  return Buffer.compare(this, b) === 0
+	}
+
+	Buffer.prototype.inspect = function inspect () {
+	  var str = ''
+	  var max = exports.INSPECT_MAX_BYTES
+	  if (this.length > 0) {
+	    str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
+	    if (this.length > max) str += ' ... '
+	  }
+	  return '<Buffer ' + str + '>'
+	}
+
+	Buffer.prototype.compare = function compare (b) {
+	  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
+	  return Buffer.compare(this, b)
+	}
+
+	Buffer.prototype.indexOf = function indexOf (val, byteOffset) {
+	  if (byteOffset > 0x7fffffff) byteOffset = 0x7fffffff
+	  else if (byteOffset < -0x80000000) byteOffset = -0x80000000
+	  byteOffset >>= 0
+
+	  if (this.length === 0) return -1
+	  if (byteOffset >= this.length) return -1
+
+	  // Negative offsets start from the end of the buffer
+	  if (byteOffset < 0) byteOffset = Math.max(this.length + byteOffset, 0)
+
+	  if (typeof val === 'string') {
+	    if (val.length === 0) return -1 // special case: looking for empty string always fails
+	    return String.prototype.indexOf.call(this, val, byteOffset)
+	  }
+	  if (Buffer.isBuffer(val)) {
+	    return arrayIndexOf(this, val, byteOffset)
+	  }
+	  if (typeof val === 'number') {
+	    if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {
+	      return Uint8Array.prototype.indexOf.call(this, val, byteOffset)
+	    }
+	    return arrayIndexOf(this, [ val ], byteOffset)
+	  }
+
+	  function arrayIndexOf (arr, val, byteOffset) {
+	    var foundIndex = -1
+	    for (var i = 0; byteOffset + i < arr.length; i++) {
+	      if (arr[byteOffset + i] === val[foundIndex === -1 ? 0 : i - foundIndex]) {
+	        if (foundIndex === -1) foundIndex = i
+	        if (i - foundIndex + 1 === val.length) return byteOffset + foundIndex
+	      } else {
+	        foundIndex = -1
+	      }
+	    }
+	    return -1
+	  }
+
+	  throw new TypeError('val must be string, number or Buffer')
+	}
+
+	function hexWrite (buf, string, offset, length) {
+	  offset = Number(offset) || 0
+	  var remaining = buf.length - offset
+	  if (!length) {
+	    length = remaining
+	  } else {
+	    length = Number(length)
+	    if (length > remaining) {
+	      length = remaining
+	    }
+	  }
+
+	  // must be an even number of digits
+	  var strLen = string.length
+	  if (strLen % 2 !== 0) throw new Error('Invalid hex string')
+
+	  if (length > strLen / 2) {
+	    length = strLen / 2
+	  }
+	  for (var i = 0; i < length; i++) {
+	    var parsed = parseInt(string.substr(i * 2, 2), 16)
+	    if (isNaN(parsed)) throw new Error('Invalid hex string')
+	    buf[offset + i] = parsed
+	  }
+	  return i
+	}
+
+	function utf8Write (buf, string, offset, length) {
+	  return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
+	}
+
+	function asciiWrite (buf, string, offset, length) {
+	  return blitBuffer(asciiToBytes(string), buf, offset, length)
+	}
+
+	function binaryWrite (buf, string, offset, length) {
+	  return asciiWrite(buf, string, offset, length)
+	}
+
+	function base64Write (buf, string, offset, length) {
+	  return blitBuffer(base64ToBytes(string), buf, offset, length)
+	}
+
+	function ucs2Write (buf, string, offset, length) {
+	  return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
+	}
+
+	Buffer.prototype.write = function write (string, offset, length, encoding) {
+	  // Buffer#write(string)
+	  if (offset === undefined) {
+	    encoding = 'utf8'
+	    length = this.length
+	    offset = 0
+	  // Buffer#write(string, encoding)
+	  } else if (length === undefined && typeof offset === 'string') {
+	    encoding = offset
+	    length = this.length
+	    offset = 0
+	  // Buffer#write(string, offset[, length][, encoding])
+	  } else if (isFinite(offset)) {
+	    offset = offset | 0
+	    if (isFinite(length)) {
+	      length = length | 0
+	      if (encoding === undefined) encoding = 'utf8'
+	    } else {
+	      encoding = length
+	      length = undefined
+	    }
+	  // legacy write(string, encoding, offset, length) - remove in v0.13
+	  } else {
+	    var swap = encoding
+	    encoding = offset
+	    offset = length | 0
+	    length = swap
+	  }
+
+	  var remaining = this.length - offset
+	  if (length === undefined || length > remaining) length = remaining
+
+	  if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
+	    throw new RangeError('attempt to write outside buffer bounds')
+	  }
+
+	  if (!encoding) encoding = 'utf8'
+
+	  var loweredCase = false
+	  for (;;) {
+	    switch (encoding) {
+	      case 'hex':
+	        return hexWrite(this, string, offset, length)
+
+	      case 'utf8':
+	      case 'utf-8':
+	        return utf8Write(this, string, offset, length)
+
+	      case 'ascii':
+	        return asciiWrite(this, string, offset, length)
+
+	      case 'binary':
+	        return binaryWrite(this, string, offset, length)
+
+	      case 'base64':
+	        // Warning: maxLength not taken into account in base64Write
+	        return base64Write(this, string, offset, length)
+
+	      case 'ucs2':
+	      case 'ucs-2':
+	      case 'utf16le':
+	      case 'utf-16le':
+	        return ucs2Write(this, string, offset, length)
+
+	      default:
+	        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
+	        encoding = ('' + encoding).toLowerCase()
+	        loweredCase = true
+	    }
+	  }
+	}
+
+	Buffer.prototype.toJSON = function toJSON () {
+	  return {
+	    type: 'Buffer',
+	    data: Array.prototype.slice.call(this._arr || this, 0)
+	  }
+	}
+
+	function base64Slice (buf, start, end) {
+	  if (start === 0 && end === buf.length) {
+	    return base64.fromByteArray(buf)
+	  } else {
+	    return base64.fromByteArray(buf.slice(start, end))
+	  }
+	}
+
+	function utf8Slice (buf, start, end) {
+	  end = Math.min(buf.length, end)
+	  var res = []
+
+	  var i = start
+	  while (i < end) {
+	    var firstByte = buf[i]
+	    var codePoint = null
+	    var bytesPerSequence = (firstByte > 0xEF) ? 4
+	      : (firstByte > 0xDF) ? 3
+	      : (firstByte > 0xBF) ? 2
+	      : 1
+
+	    if (i + bytesPerSequence <= end) {
+	      var secondByte, thirdByte, fourthByte, tempCodePoint
+
+	      switch (bytesPerSequence) {
+	        case 1:
+	          if (firstByte < 0x80) {
+	            codePoint = firstByte
+	          }
+	          break
+	        case 2:
+	          secondByte = buf[i + 1]
+	          if ((secondByte & 0xC0) === 0x80) {
+	            tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
+	            if (tempCodePoint > 0x7F) {
+	              codePoint = tempCodePoint
+	            }
+	          }
+	          break
+	        case 3:
+	          secondByte = buf[i + 1]
+	          thirdByte = buf[i + 2]
+	          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
+	            tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
+	            if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
+	              codePoint = tempCodePoint
+	            }
+	          }
+	          break
+	        case 4:
+	          secondByte = buf[i + 1]
+	          thirdByte = buf[i + 2]
+	          fourthByte = buf[i + 3]
+	          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
+	            tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
+	            if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
+	              codePoint = tempCodePoint
+	            }
+	          }
+	      }
+	    }
+
+	    if (codePoint === null) {
+	      // we did not generate a valid codePoint so insert a
+	      // replacement char (U+FFFD) and advance only 1 byte
+	      codePoint = 0xFFFD
+	      bytesPerSequence = 1
+	    } else if (codePoint > 0xFFFF) {
+	      // encode to utf16 (surrogate pair dance)
+	      codePoint -= 0x10000
+	      res.push(codePoint >>> 10 & 0x3FF | 0xD800)
+	      codePoint = 0xDC00 | codePoint & 0x3FF
+	    }
+
+	    res.push(codePoint)
+	    i += bytesPerSequence
+	  }
+
+	  return decodeCodePointsArray(res)
+	}
+
+	// Based on http://stackoverflow.com/a/22747272/680742, the browser with
+	// the lowest limit is Chrome, with 0x10000 args.
+	// We go 1 magnitude less, for safety
+	var MAX_ARGUMENTS_LENGTH = 0x1000
+
+	function decodeCodePointsArray (codePoints) {
+	  var len = codePoints.length
+	  if (len <= MAX_ARGUMENTS_LENGTH) {
+	    return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
+	  }
+
+	  // Decode in chunks to avoid "call stack size exceeded".
+	  var res = ''
+	  var i = 0
+	  while (i < len) {
+	    res += String.fromCharCode.apply(
+	      String,
+	      codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
+	    )
+	  }
+	  return res
+	}
+
+	function asciiSlice (buf, start, end) {
+	  var ret = ''
+	  end = Math.min(buf.length, end)
+
+	  for (var i = start; i < end; i++) {
+	    ret += String.fromCharCode(buf[i] & 0x7F)
+	  }
+	  return ret
+	}
+
+	function binarySlice (buf, start, end) {
+	  var ret = ''
+	  end = Math.min(buf.length, end)
+
+	  for (var i = start; i < end; i++) {
+	    ret += String.fromCharCode(buf[i])
+	  }
+	  return ret
+	}
+
+	function hexSlice (buf, start, end) {
+	  var len = buf.length
+
+	  if (!start || start < 0) start = 0
+	  if (!end || end < 0 || end > len) end = len
+
+	  var out = ''
+	  for (var i = start; i < end; i++) {
+	    out += toHex(buf[i])
+	  }
+	  return out
+	}
+
+	function utf16leSlice (buf, start, end) {
+	  var bytes = buf.slice(start, end)
+	  var res = ''
+	  for (var i = 0; i < bytes.length; i += 2) {
+	    res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
+	  }
+	  return res
+	}
+
+	Buffer.prototype.slice = function slice (start, end) {
+	  var len = this.length
+	  start = ~~start
+	  end = end === undefined ? len : ~~end
+
+	  if (start < 0) {
+	    start += len
+	    if (start < 0) start = 0
+	  } else if (start > len) {
+	    start = len
+	  }
+
+	  if (end < 0) {
+	    end += len
+	    if (end < 0) end = 0
+	  } else if (end > len) {
+	    end = len
+	  }
+
+	  if (end < start) end = start
+
+	  var newBuf
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    newBuf = this.subarray(start, end)
+	    newBuf.__proto__ = Buffer.prototype
+	  } else {
+	    var sliceLen = end - start
+	    newBuf = new Buffer(sliceLen, undefined)
+	    for (var i = 0; i < sliceLen; i++) {
+	      newBuf[i] = this[i + start]
+	    }
+	  }
+
+	  if (newBuf.length) newBuf.parent = this.parent || this
+
+	  return newBuf
+	}
+
+	/*
+	 * Need to make sure that buffer isn't trying to write out of bounds.
+	 */
+	function checkOffset (offset, ext, length) {
+	  if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
+	  if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
+	}
+
+	Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkOffset(offset, byteLength, this.length)
+
+	  var val = this[offset]
+	  var mul = 1
+	  var i = 0
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    val += this[offset + i] * mul
+	  }
+
+	  return val
+	}
+
+	Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) {
+	    checkOffset(offset, byteLength, this.length)
+	  }
+
+	  var val = this[offset + --byteLength]
+	  var mul = 1
+	  while (byteLength > 0 && (mul *= 0x100)) {
+	    val += this[offset + --byteLength] * mul
+	  }
+
+	  return val
+	}
+
+	Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 1, this.length)
+	  return this[offset]
+	}
+
+	Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  return this[offset] | (this[offset + 1] << 8)
+	}
+
+	Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  return (this[offset] << 8) | this[offset + 1]
+	}
+
+	Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return ((this[offset]) |
+	      (this[offset + 1] << 8) |
+	      (this[offset + 2] << 16)) +
+	      (this[offset + 3] * 0x1000000)
+	}
+
+	Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return (this[offset] * 0x1000000) +
+	    ((this[offset + 1] << 16) |
+	    (this[offset + 2] << 8) |
+	    this[offset + 3])
+	}
+
+	Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkOffset(offset, byteLength, this.length)
+
+	  var val = this[offset]
+	  var mul = 1
+	  var i = 0
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    val += this[offset + i] * mul
+	  }
+	  mul *= 0x80
+
+	  if (val >= mul) val -= Math.pow(2, 8 * byteLength)
+
+	  return val
+	}
+
+	Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkOffset(offset, byteLength, this.length)
+
+	  var i = byteLength
+	  var mul = 1
+	  var val = this[offset + --i]
+	  while (i > 0 && (mul *= 0x100)) {
+	    val += this[offset + --i] * mul
+	  }
+	  mul *= 0x80
+
+	  if (val >= mul) val -= Math.pow(2, 8 * byteLength)
+
+	  return val
+	}
+
+	Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 1, this.length)
+	  if (!(this[offset] & 0x80)) return (this[offset])
+	  return ((0xff - this[offset] + 1) * -1)
+	}
+
+	Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  var val = this[offset] | (this[offset + 1] << 8)
+	  return (val & 0x8000) ? val | 0xFFFF0000 : val
+	}
+
+	Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  var val = this[offset + 1] | (this[offset] << 8)
+	  return (val & 0x8000) ? val | 0xFFFF0000 : val
+	}
+
+	Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return (this[offset]) |
+	    (this[offset + 1] << 8) |
+	    (this[offset + 2] << 16) |
+	    (this[offset + 3] << 24)
+	}
+
+	Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return (this[offset] << 24) |
+	    (this[offset + 1] << 16) |
+	    (this[offset + 2] << 8) |
+	    (this[offset + 3])
+	}
+
+	Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+	  return ieee754.read(this, offset, true, 23, 4)
+	}
+
+	Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+	  return ieee754.read(this, offset, false, 23, 4)
+	}
+
+	Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 8, this.length)
+	  return ieee754.read(this, offset, true, 52, 8)
+	}
+
+	Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 8, this.length)
+	  return ieee754.read(this, offset, false, 52, 8)
+	}
+
+	function checkInt (buf, value, offset, ext, max, min) {
+	  if (!Buffer.isBuffer(buf)) throw new TypeError('buffer must be a Buffer instance')
+	  if (value > max || value < min) throw new RangeError('value is out of bounds')
+	  if (offset + ext > buf.length) throw new RangeError('index out of range')
+	}
+
+	Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)
+
+	  var mul = 1
+	  var i = 0
+	  this[offset] = value & 0xFF
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    this[offset + i] = (value / mul) & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)
+
+	  var i = byteLength - 1
+	  var mul = 1
+	  this[offset + i] = value & 0xFF
+	  while (--i >= 0 && (mul *= 0x100)) {
+	    this[offset + i] = (value / mul) & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
+	  this[offset] = (value & 0xff)
+	  return offset + 1
+	}
+
+	function objectWriteUInt16 (buf, value, offset, littleEndian) {
+	  if (value < 0) value = 0xffff + value + 1
+	  for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; i++) {
+	    buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
+	      (littleEndian ? i : 1 - i) * 8
+	  }
+	}
+
+	Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value & 0xff)
+	    this[offset + 1] = (value >>> 8)
+	  } else {
+	    objectWriteUInt16(this, value, offset, true)
+	  }
+	  return offset + 2
+	}
+
+	Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 8)
+	    this[offset + 1] = (value & 0xff)
+	  } else {
+	    objectWriteUInt16(this, value, offset, false)
+	  }
+	  return offset + 2
+	}
+
+	function objectWriteUInt32 (buf, value, offset, littleEndian) {
+	  if (value < 0) value = 0xffffffff + value + 1
+	  for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; i++) {
+	    buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
+	  }
+	}
+
+	Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset + 3] = (value >>> 24)
+	    this[offset + 2] = (value >>> 16)
+	    this[offset + 1] = (value >>> 8)
+	    this[offset] = (value & 0xff)
+	  } else {
+	    objectWriteUInt32(this, value, offset, true)
+	  }
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 24)
+	    this[offset + 1] = (value >>> 16)
+	    this[offset + 2] = (value >>> 8)
+	    this[offset + 3] = (value & 0xff)
+	  } else {
+	    objectWriteUInt32(this, value, offset, false)
+	  }
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) {
+	    var limit = Math.pow(2, 8 * byteLength - 1)
+
+	    checkInt(this, value, offset, byteLength, limit - 1, -limit)
+	  }
+
+	  var i = 0
+	  var mul = 1
+	  var sub = value < 0 ? 1 : 0
+	  this[offset] = value & 0xFF
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) {
+	    var limit = Math.pow(2, 8 * byteLength - 1)
+
+	    checkInt(this, value, offset, byteLength, limit - 1, -limit)
+	  }
+
+	  var i = byteLength - 1
+	  var mul = 1
+	  var sub = value < 0 ? 1 : 0
+	  this[offset + i] = value & 0xFF
+	  while (--i >= 0 && (mul *= 0x100)) {
+	    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
+	  if (value < 0) value = 0xff + value + 1
+	  this[offset] = (value & 0xff)
+	  return offset + 1
+	}
+
+	Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value & 0xff)
+	    this[offset + 1] = (value >>> 8)
+	  } else {
+	    objectWriteUInt16(this, value, offset, true)
+	  }
+	  return offset + 2
+	}
+
+	Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 8)
+	    this[offset + 1] = (value & 0xff)
+	  } else {
+	    objectWriteUInt16(this, value, offset, false)
+	  }
+	  return offset + 2
+	}
+
+	Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value & 0xff)
+	    this[offset + 1] = (value >>> 8)
+	    this[offset + 2] = (value >>> 16)
+	    this[offset + 3] = (value >>> 24)
+	  } else {
+	    objectWriteUInt32(this, value, offset, true)
+	  }
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
+	  if (value < 0) value = 0xffffffff + value + 1
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 24)
+	    this[offset + 1] = (value >>> 16)
+	    this[offset + 2] = (value >>> 8)
+	    this[offset + 3] = (value & 0xff)
+	  } else {
+	    objectWriteUInt32(this, value, offset, false)
+	  }
+	  return offset + 4
+	}
+
+	function checkIEEE754 (buf, value, offset, ext, max, min) {
+	  if (offset + ext > buf.length) throw new RangeError('index out of range')
+	  if (offset < 0) throw new RangeError('index out of range')
+	}
+
+	function writeFloat (buf, value, offset, littleEndian, noAssert) {
+	  if (!noAssert) {
+	    checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
+	  }
+	  ieee754.write(buf, value, offset, littleEndian, 23, 4)
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
+	  return writeFloat(this, value, offset, true, noAssert)
+	}
+
+	Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
+	  return writeFloat(this, value, offset, false, noAssert)
+	}
+
+	function writeDouble (buf, value, offset, littleEndian, noAssert) {
+	  if (!noAssert) {
+	    checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
+	  }
+	  ieee754.write(buf, value, offset, littleEndian, 52, 8)
+	  return offset + 8
+	}
+
+	Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
+	  return writeDouble(this, value, offset, true, noAssert)
+	}
+
+	Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
+	  return writeDouble(this, value, offset, false, noAssert)
+	}
+
+	// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
+	Buffer.prototype.copy = function copy (target, targetStart, start, end) {
+	  if (!start) start = 0
+	  if (!end && end !== 0) end = this.length
+	  if (targetStart >= target.length) targetStart = target.length
+	  if (!targetStart) targetStart = 0
+	  if (end > 0 && end < start) end = start
+
+	  // Copy 0 bytes; we're done
+	  if (end === start) return 0
+	  if (target.length === 0 || this.length === 0) return 0
+
+	  // Fatal error conditions
+	  if (targetStart < 0) {
+	    throw new RangeError('targetStart out of bounds')
+	  }
+	  if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
+	  if (end < 0) throw new RangeError('sourceEnd out of bounds')
+
+	  // Are we oob?
+	  if (end > this.length) end = this.length
+	  if (target.length - targetStart < end - start) {
+	    end = target.length - targetStart + start
+	  }
+
+	  var len = end - start
+	  var i
+
+	  if (this === target && start < targetStart && targetStart < end) {
+	    // descending copy from end
+	    for (i = len - 1; i >= 0; i--) {
+	      target[i + targetStart] = this[i + start]
+	    }
+	  } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
+	    // ascending copy from start
+	    for (i = 0; i < len; i++) {
+	      target[i + targetStart] = this[i + start]
+	    }
+	  } else {
+	    Uint8Array.prototype.set.call(
+	      target,
+	      this.subarray(start, start + len),
+	      targetStart
+	    )
+	  }
+
+	  return len
+	}
+
+	// fill(value, start=0, end=buffer.length)
+	Buffer.prototype.fill = function fill (value, start, end) {
+	  if (!value) value = 0
+	  if (!start) start = 0
+	  if (!end) end = this.length
+
+	  if (end < start) throw new RangeError('end < start')
+
+	  // Fill 0 bytes; we're done
+	  if (end === start) return
+	  if (this.length === 0) return
+
+	  if (start < 0 || start >= this.length) throw new RangeError('start out of bounds')
+	  if (end < 0 || end > this.length) throw new RangeError('end out of bounds')
+
+	  var i
+	  if (typeof value === 'number') {
+	    for (i = start; i < end; i++) {
+	      this[i] = value
+	    }
+	  } else {
+	    var bytes = utf8ToBytes(value.toString())
+	    var len = bytes.length
+	    for (i = start; i < end; i++) {
+	      this[i] = bytes[i % len]
+	    }
+	  }
+
+	  return this
+	}
+
+	// HELPER FUNCTIONS
+	// ================
+
+	var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
+
+	function base64clean (str) {
+	  // Node strips out invalid characters like \n and \t from the string, base64-js does not
+	  str = stringtrim(str).replace(INVALID_BASE64_RE, '')
+	  // Node converts strings with length < 2 to ''
+	  if (str.length < 2) return ''
+	  // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
+	  while (str.length % 4 !== 0) {
+	    str = str + '='
+	  }
+	  return str
+	}
+
+	function stringtrim (str) {
+	  if (str.trim) return str.trim()
+	  return str.replace(/^\s+|\s+$/g, '')
+	}
+
+	function toHex (n) {
+	  if (n < 16) return '0' + n.toString(16)
+	  return n.toString(16)
+	}
+
+	function utf8ToBytes (string, units) {
+	  units = units || Infinity
+	  var codePoint
+	  var length = string.length
+	  var leadSurrogate = null
+	  var bytes = []
+
+	  for (var i = 0; i < length; i++) {
+	    codePoint = string.charCodeAt(i)
+
+	    // is surrogate component
+	    if (codePoint > 0xD7FF && codePoint < 0xE000) {
+	      // last char was a lead
+	      if (!leadSurrogate) {
+	        // no lead yet
+	        if (codePoint > 0xDBFF) {
+	          // unexpected trail
+	          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	          continue
+	        } else if (i + 1 === length) {
+	          // unpaired lead
+	          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	          continue
+	        }
+
+	        // valid lead
+	        leadSurrogate = codePoint
+
+	        continue
+	      }
+
+	      // 2 leads in a row
+	      if (codePoint < 0xDC00) {
+	        if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	        leadSurrogate = codePoint
+	        continue
+	      }
+
+	      // valid surrogate pair
+	      codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
+	    } else if (leadSurrogate) {
+	      // valid bmp char, but last char was a lead
+	      if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	    }
+
+	    leadSurrogate = null
+
+	    // encode utf8
+	    if (codePoint < 0x80) {
+	      if ((units -= 1) < 0) break
+	      bytes.push(codePoint)
+	    } else if (codePoint < 0x800) {
+	      if ((units -= 2) < 0) break
+	      bytes.push(
+	        codePoint >> 0x6 | 0xC0,
+	        codePoint & 0x3F | 0x80
+	      )
+	    } else if (codePoint < 0x10000) {
+	      if ((units -= 3) < 0) break
+	      bytes.push(
+	        codePoint >> 0xC | 0xE0,
+	        codePoint >> 0x6 & 0x3F | 0x80,
+	        codePoint & 0x3F | 0x80
+	      )
+	    } else if (codePoint < 0x110000) {
+	      if ((units -= 4) < 0) break
+	      bytes.push(
+	        codePoint >> 0x12 | 0xF0,
+	        codePoint >> 0xC & 0x3F | 0x80,
+	        codePoint >> 0x6 & 0x3F | 0x80,
+	        codePoint & 0x3F | 0x80
+	      )
+	    } else {
+	      throw new Error('Invalid code point')
+	    }
+	  }
+
+	  return bytes
+	}
+
+	function asciiToBytes (str) {
+	  var byteArray = []
+	  for (var i = 0; i < str.length; i++) {
+	    // Node's code seems to be doing this and not & 0x7F..
+	    byteArray.push(str.charCodeAt(i) & 0xFF)
+	  }
+	  return byteArray
+	}
+
+	function utf16leToBytes (str, units) {
+	  var c, hi, lo
+	  var byteArray = []
+	  for (var i = 0; i < str.length; i++) {
+	    if ((units -= 2) < 0) break
+
+	    c = str.charCodeAt(i)
+	    hi = c >> 8
+	    lo = c % 256
+	    byteArray.push(lo)
+	    byteArray.push(hi)
+	  }
+
+	  return byteArray
+	}
+
+	function base64ToBytes (str) {
+	  return base64.toByteArray(base64clean(str))
+	}
+
+	function blitBuffer (src, dst, offset, length) {
+	  for (var i = 0; i < length; i++) {
+	    if ((i + offset >= dst.length) || (i >= src.length)) break
+	    dst[i + offset] = src[i]
+	  }
+	  return i
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, (function() { return this; }())))
+
+/***/ },
+/* 3 */
+/***/ function(module, exports) {
+
+	'use strict'
+
+	exports.toByteArray = toByteArray
+	exports.fromByteArray = fromByteArray
+
+	var lookup = []
+	var revLookup = []
+	var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
+
+	function init () {
+	  var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
+	  for (var i = 0, len = code.length; i < len; ++i) {
+	    lookup[i] = code[i]
+	    revLookup[code.charCodeAt(i)] = i
+	  }
+
+	  revLookup['-'.charCodeAt(0)] = 62
+	  revLookup['_'.charCodeAt(0)] = 63
+	}
+
+	init()
+
+	function toByteArray (b64) {
+	  var i, j, l, tmp, placeHolders, arr
+	  var len = b64.length
+
+	  if (len % 4 > 0) {
+	    throw new Error('Invalid string. Length must be a multiple of 4')
+	  }
+
+	  // the number of equal signs (place holders)
+	  // if there are two placeholders, than the two characters before it
+	  // represent one byte
+	  // if there is only one, then the three characters before it represent 2 bytes
+	  // this is just a cheap hack to not do indexOf twice
+	  placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0
+
+	  // base64 is 4/3 + up to two characters of the original data
+	  arr = new Arr(len * 3 / 4 - placeHolders)
+
+	  // if there are placeholders, only get up to the last complete 4 chars
+	  l = placeHolders > 0 ? len - 4 : len
+
+	  var L = 0
+
+	  for (i = 0, j = 0; i < l; i += 4, j += 3) {
+	    tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)]
+	    arr[L++] = (tmp >> 16) & 0xFF
+	    arr[L++] = (tmp >> 8) & 0xFF
+	    arr[L++] = tmp & 0xFF
+	  }
+
+	  if (placeHolders === 2) {
+	    tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4)
+	    arr[L++] = tmp & 0xFF
+	  } else if (placeHolders === 1) {
+	    tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2)
+	    arr[L++] = (tmp >> 8) & 0xFF
+	    arr[L++] = tmp & 0xFF
+	  }
+
+	  return arr
+	}
+
+	function tripletToBase64 (num) {
+	  return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]
+	}
+
+	function encodeChunk (uint8, start, end) {
+	  var tmp
+	  var output = []
+	  for (var i = start; i < end; i += 3) {
+	    tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])
+	    output.push(tripletToBase64(tmp))
+	  }
+	  return output.join('')
+	}
+
+	function fromByteArray (uint8) {
+	  var tmp
+	  var len = uint8.length
+	  var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
+	  var output = ''
+	  var parts = []
+	  var maxChunkLength = 16383 // must be multiple of 3
+
+	  // go through the array every three bytes, we'll deal with trailing stuff later
+	  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
+	    parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
+	  }
+
+	  // pad the end with zeros, but make sure to not forget the extra bytes
+	  if (extraBytes === 1) {
+	    tmp = uint8[len - 1]
+	    output += lookup[tmp >> 2]
+	    output += lookup[(tmp << 4) & 0x3F]
+	    output += '=='
+	  } else if (extraBytes === 2) {
+	    tmp = (uint8[len - 2] << 8) + (uint8[len - 1])
+	    output += lookup[tmp >> 10]
+	    output += lookup[(tmp >> 4) & 0x3F]
+	    output += lookup[(tmp << 2) & 0x3F]
+	    output += '='
+	  }
+
+	  parts.push(output)
+
+	  return parts.join('')
+	}
+
+
+/***/ },
+/* 4 */
+/***/ function(module, exports) {
+
+	exports.read = function (buffer, offset, isLE, mLen, nBytes) {
+	  var e, m
+	  var eLen = nBytes * 8 - mLen - 1
+	  var eMax = (1 << eLen) - 1
+	  var eBias = eMax >> 1
+	  var nBits = -7
+	  var i = isLE ? (nBytes - 1) : 0
+	  var d = isLE ? -1 : 1
+	  var s = buffer[offset + i]
+
+	  i += d
+
+	  e = s & ((1 << (-nBits)) - 1)
+	  s >>= (-nBits)
+	  nBits += eLen
+	  for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}
+
+	  m = e & ((1 << (-nBits)) - 1)
+	  e >>= (-nBits)
+	  nBits += mLen
+	  for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}
+
+	  if (e === 0) {
+	    e = 1 - eBias
+	  } else if (e === eMax) {
+	    return m ? NaN : ((s ? -1 : 1) * Infinity)
+	  } else {
+	    m = m + Math.pow(2, mLen)
+	    e = e - eBias
+	  }
+	  return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
+	}
+
+	exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
+	  var e, m, c
+	  var eLen = nBytes * 8 - mLen - 1
+	  var eMax = (1 << eLen) - 1
+	  var eBias = eMax >> 1
+	  var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
+	  var i = isLE ? 0 : (nBytes - 1)
+	  var d = isLE ? 1 : -1
+	  var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
+
+	  value = Math.abs(value)
+
+	  if (isNaN(value) || value === Infinity) {
+	    m = isNaN(value) ? 1 : 0
+	    e = eMax
+	  } else {
+	    e = Math.floor(Math.log(value) / Math.LN2)
+	    if (value * (c = Math.pow(2, -e)) < 1) {
+	      e--
+	      c *= 2
+	    }
+	    if (e + eBias >= 1) {
+	      value += rt / c
+	    } else {
+	      value += rt * Math.pow(2, 1 - eBias)
+	    }
+	    if (value * c >= 2) {
+	      e++
+	      c /= 2
+	    }
+
+	    if (e + eBias >= eMax) {
+	      m = 0
+	      e = eMax
+	    } else if (e + eBias >= 1) {
+	      m = (value * c - 1) * Math.pow(2, mLen)
+	      e = e + eBias
+	    } else {
+	      m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
+	      e = 0
+	    }
+	  }
+
+	  for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
+
+	  e = (e << mLen) | m
+	  eLen += mLen
+	  for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
+
+	  buffer[offset + i - d] |= s * 128
+	}
+
+
+/***/ },
+/* 5 */
+/***/ function(module, exports) {
+
+	var toString = {}.toString;
+
+	module.exports = Array.isArray || function (arr) {
+	  return toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 6 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var map = __webpack_require__(7)
+	var extend = __webpack_require__(12)
+	var codec = __webpack_require__(13)
+	var protocols = __webpack_require__(19)
+	var NotImplemented = new Error('Sorry, Not Implemented Yet.')
+	var varint = __webpack_require__(20)
+
+	exports = module.exports = Multiaddr
+
+	function Multiaddr (addr) {
+	  if (!(this instanceof Multiaddr)) {
+	    return new Multiaddr(addr)
+	  }
+
+	  // defaults
+	  if (!addr) {
+	    addr = ''
+	  }
+
+	  if (addr instanceof Buffer) {
+	    this.buffer = codec.fromBuffer(addr)
+	  } else if (typeof (addr) === 'string' || addr instanceof String) {
+	    this.buffer = codec.fromString(addr)
+	  } else if (addr.buffer && addr.protos && addr.protoCodes) { // Multiaddr
+	    this.buffer = codec.fromBuffer(addr.buffer) // validate + copy buffer
+	  } else {
+	    throw new Error('addr must be a string, Buffer, or another Multiaddr')
+	  }
+	}
+
+	// get the multiaddr protocols
+	Multiaddr.prototype.toString = function toString () {
+	  return codec.bufferToString(this.buffer)
+	}
+
+	// get the multiaddr as a convinent options object to be dropped in net.createConnection
+	Multiaddr.prototype.toOptions = function toOptions () {
+	  var opts = {}
+	  var parsed = this.toString().split('/')
+	  opts.family = parsed[1] === 'ip4' ? 'ipv4' : 'ipv6'
+	  opts.host = parsed[2]
+	  opts.port = parsed[4]
+	  return opts
+	}
+
+	// get the multiaddr protocols
+	Multiaddr.prototype.inspect = function inspect () {
+	  return '<Multiaddr ' +
+	  this.buffer.toString('hex') + ' - ' +
+	  codec.bufferToString(this.buffer) + '>'
+	}
+
+	// get the multiaddr protocols
+	Multiaddr.prototype.protos = function protos () {
+	  return map(this.protoCodes(), function (code) {
+	    console.log('->', code)
+	    return extend(protocols(code))
+	  // copy to prevent users from modifying the internal objs.
+	  })
+	}
+
+	// get the multiaddr protocols
+	Multiaddr.prototype.protos = function protos () {
+	  return map(this.protoCodes(), function (code) {
+	    return extend(protocols(code))
+	    // copy to prevent users from modifying the internal objs.
+	  })
+	}
+
+	// get the multiaddr protocol codes
+	Multiaddr.prototype.protoCodes = function protoCodes () {
+	  var codes = []
+	  for (var i = 0; i < this.buffer.length; i++) {
+	    var code = varint.decode(this.buffer, i)
+	    var size = protocols(code).size / 8
+	    i = i + varint.decode.bytes - 1
+	    i += size // skip over proto data
+	    codes.push(code)
+	  }
+	  return codes
+	}
+
+	// get the multiaddr protocol string names
+	Multiaddr.prototype.protoNames = function protoNames () {
+	  return map(this.protos(), function (proto) {
+	    return proto.name
+	  })
+	}
+
+	// Returns a tuple of parts:
+	Multiaddr.prototype.tuples = function tuples () {
+	  return codec.bufferToTuples(this.buffer)
+	}
+
+	// Returns a tuple of string parts:
+	Multiaddr.prototype.stringTuples = function stringTuples () {
+	  var t = codec.bufferToTuples(this.buffer)
+	  return codec.tuplesToStringTuples(t)
+	}
+
+	Multiaddr.prototype.encapsulate = function encapsulate (addr) {
+	  addr = Multiaddr(addr)
+	  return Multiaddr(this.toString() + addr.toString())
+	}
+
+	Multiaddr.prototype.decapsulate = function decapsulate (addr) {
+	  addr = addr.toString()
+	  var s = this.toString()
+	  var i = s.lastIndexOf(addr)
+	  if (i < 0) {
+	    throw new Error('Address ' + this + ' does not contain subaddress: ' + addr)
+	  }
+	  return Multiaddr(s.slice(0, i))
+	}
+
+	Multiaddr.prototype.equals = function equals (addr) {
+	  return this.buffer.equals(addr.buffer)
+	}
+
+	// get a node friendly address object
+	Multiaddr.prototype.nodeAddress = function nodeAddress () {
+	  if (!this.isThinWaistAddress()) {
+	    throw new Error('Multiaddr must be "thin waist" address for nodeAddress.')
+	  }
+
+	  var codes = this.protoCodes()
+	  var parts = this.toString().split('/').slice(1)
+	  return {
+	    family: (codes[0] === 41) ? 'IPv6' : 'IPv4',
+	    address: parts[1], // ip addr
+	    port: parts[3] // tcp or udp port
+	  }
+	}
+
+	// from a node friendly address object
+	Multiaddr.fromNodeAddress = function fromNodeAddress (addr, transport) {
+	  if (!addr) throw new Error('requires node address object')
+	  if (!transport) throw new Error('requires transport protocol')
+	  var ip = (addr.family === 'IPv6') ? 'ip6' : 'ip4'
+	  return Multiaddr('/' + [ip, addr.address, transport, addr.port].join('/'))
+	}
+
+	// returns whether this address is a standard combination:
+	// /{IPv4, IPv6}/{TCP, UDP}
+	Multiaddr.prototype.isThinWaistAddress = function isThinWaistAddress (addr) {
+	  var protos = (addr || this).protos()
+	  if (protos.length !== 2) {
+	    return false
+	  }
+	  if (protos[0].code !== 4 && protos[0].code !== 41) {
+	    return false
+	  }
+	  if (protos[1].code !== 6 && protos[1].code !== 17) {
+	    return false
+	  }
+	  return true
+	}
+
+	// parses the "stupid string" format:
+	// <proto><IPv>://<IP Addr>[:<proto port>]
+	// udp4://1.2.3.4:5678
+	Multiaddr.prototype.fromStupidString = function fromStupidString (str) {
+	  throw NotImplemented
+	}
+
+	// patch this in
+	Multiaddr.protocols = protocols
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 7 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/**
+	 * lodash 4.3.0 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash modularize exports="npm" -o ./`
+	 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
+	 * Released under MIT license <https://lodash.com/license>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 */
+	var baseEach = __webpack_require__(8),
+	    baseIteratee = __webpack_require__(9);
+
+	/** Used as references for various `Number` constants. */
+	var MAX_SAFE_INTEGER = 9007199254740991;
+
+	/** `Object#toString` result references. */
+	var funcTag = '[object Function]',
+	    genTag = '[object GeneratorFunction]';
+
+	/**
+	 * A specialized version of `_.map` for arrays without support for iteratee
+	 * shorthands.
+	 *
+	 * @private
+	 * @param {Array} array The array to iterate over.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Array} Returns the new mapped array.
+	 */
+	function arrayMap(array, iteratee) {
+	  var index = -1,
+	      length = array.length,
+	      result = Array(length);
+
+	  while (++index < length) {
+	    result[index] = iteratee(array[index], index, array);
+	  }
+	  return result;
+	}
+
+	/** Used for built-in method references. */
+	var objectProto = Object.prototype;
+
+	/**
+	 * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+	 * of values.
+	 */
+	var objectToString = objectProto.toString;
+
+	/**
+	 * The base implementation of `_.map` without support for iteratee shorthands.
+	 *
+	 * @private
+	 * @param {Array|Object} collection The collection to iterate over.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Array} Returns the new mapped array.
+	 */
+	function baseMap(collection, iteratee) {
+	  var index = -1,
+	      result = isArrayLike(collection) ? Array(collection.length) : [];
+
+	  baseEach(collection, function(value, key, collection) {
+	    result[++index] = iteratee(value, key, collection);
+	  });
+	  return result;
+	}
+
+	/**
+	 * The base implementation of `_.property` without support for deep paths.
+	 *
+	 * @private
+	 * @param {string} key The key of the property to get.
+	 * @returns {Function} Returns the new function.
+	 */
+	function baseProperty(key) {
+	  return function(object) {
+	    return object == null ? undefined : object[key];
+	  };
+	}
+
+	/**
+	 * Gets the "length" property value of `object`.
+	 *
+	 * **Note:** This function is used to avoid a
+	 * [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects
+	 * Safari on at least iOS 8.1-8.3 ARM64.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {*} Returns the "length" value.
+	 */
+	var getLength = baseProperty('length');
+
+	/**
+	 * Creates an array of values by running each element in `collection` through
+	 * `iteratee`. The iteratee is invoked with three arguments:
+	 * (value, index|key, collection).
+	 *
+	 * Many lodash methods are guarded to work as iteratees for methods like
+	 * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
+	 *
+	 * The guarded methods are:
+	 * `ary`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, `fill`,
+	 * `invert`, `parseInt`, `random`, `range`, `rangeRight`, `slice`, `some`,
+	 * `sortBy`, `take`, `takeRight`, `template`, `trim`, `trimEnd`, `trimStart`,
+	 * and `words`
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Collection
+	 * @param {Array|Object} collection The collection to iterate over.
+	 * @param {Array|Function|Object|string} [iteratee=_.identity]
+	 *  The function invoked per iteration.
+	 * @returns {Array} Returns the new mapped array.
+	 * @example
+	 *
+	 * function square(n) {
+	 *   return n * n;
+	 * }
+	 *
+	 * _.map([4, 8], square);
+	 * // => [16, 64]
+	 *
+	 * _.map({ 'a': 4, 'b': 8 }, square);
+	 * // => [16, 64] (iteration order is not guaranteed)
+	 *
+	 * var users = [
+	 *   { 'user': 'barney' },
+	 *   { 'user': 'fred' }
+	 * ];
+	 *
+	 * // The `_.property` iteratee shorthand.
+	 * _.map(users, 'user');
+	 * // => ['barney', 'fred']
+	 */
+	function map(collection, iteratee) {
+	  var func = isArray(collection) ? arrayMap : baseMap;
+	  return func(collection, baseIteratee(iteratee, 3));
+	}
+
+	/**
+	 * Checks if `value` is classified as an `Array` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @type {Function}
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArray([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArray(document.body.children);
+	 * // => false
+	 *
+	 * _.isArray('abc');
+	 * // => false
+	 *
+	 * _.isArray(_.noop);
+	 * // => false
+	 */
+	var isArray = Array.isArray;
+
+	/**
+	 * Checks if `value` is array-like. A value is considered array-like if it's
+	 * not a function and has a `value.length` that's an integer greater than or
+	 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
+	 * @example
+	 *
+	 * _.isArrayLike([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArrayLike(document.body.children);
+	 * // => true
+	 *
+	 * _.isArrayLike('abc');
+	 * // => true
+	 *
+	 * _.isArrayLike(_.noop);
+	 * // => false
+	 */
+	function isArrayLike(value) {
+	  return value != null && isLength(getLength(value)) && !isFunction(value);
+	}
+
+	/**
+	 * Checks if `value` is classified as a `Function` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isFunction(_);
+	 * // => true
+	 *
+	 * _.isFunction(/abc/);
+	 * // => false
+	 */
+	function isFunction(value) {
+	  // The use of `Object#toString` avoids issues with the `typeof` operator
+	  // in Safari 8 which returns 'object' for typed array and weak map constructors,
+	  // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+	  var tag = isObject(value) ? objectToString.call(value) : '';
+	  return tag == funcTag || tag == genTag;
+	}
+
+	/**
+	 * Checks if `value` is a valid array-like length.
+	 *
+	 * **Note:** This function is loosely based on
+	 * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a valid length,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isLength(3);
+	 * // => true
+	 *
+	 * _.isLength(Number.MIN_VALUE);
+	 * // => false
+	 *
+	 * _.isLength(Infinity);
+	 * // => false
+	 *
+	 * _.isLength('3');
+	 * // => false
+	 */
+	function isLength(value) {
+	  return typeof value == 'number' &&
+	    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
+	}
+
+	/**
+	 * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
+	 * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+	 * @example
+	 *
+	 * _.isObject({});
+	 * // => true
+	 *
+	 * _.isObject([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObject(_.noop);
+	 * // => true
+	 *
+	 * _.isObject(null);
+	 * // => false
+	 */
+	function isObject(value) {
+	  var type = typeof value;
+	  return !!value && (type == 'object' || type == 'function');
+	}
+
+	module.exports = map;
+
+
+/***/ },
+/* 8 */
+/***/ function(module, exports) {
+
+	/**
+	 * lodash 4.1.2 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash modularize exports="npm" -o ./`
+	 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
+	 * Released under MIT license <https://lodash.com/license>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 */
+
+	/** Used as references for various `Number` constants. */
+	var MAX_SAFE_INTEGER = 9007199254740991;
+
+	/** `Object#toString` result references. */
+	var argsTag = '[object Arguments]',
+	    funcTag = '[object Function]',
+	    genTag = '[object GeneratorFunction]',
+	    stringTag = '[object String]';
+
+	/** Used to detect unsigned integer values. */
+	var reIsUint = /^(?:0|[1-9]\d*)$/;
+
+	/**
+	 * The base implementation of `_.times` without support for iteratee shorthands
+	 * or max array length checks.
+	 *
+	 * @private
+	 * @param {number} n The number of times to invoke `iteratee`.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Array} Returns the array of results.
+	 */
+	function baseTimes(n, iteratee) {
+	  var index = -1,
+	      result = Array(n);
+
+	  while (++index < n) {
+	    result[index] = iteratee(index);
+	  }
+	  return result;
+	}
+
+	/**
+	 * Checks if `value` is a valid array-like index.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
+	 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
+	 */
+	function isIndex(value, length) {
+	  value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;
+	  length = length == null ? MAX_SAFE_INTEGER : length;
+	  return value > -1 && value % 1 == 0 && value < length;
+	}
+
+	/** Used for built-in method references. */
+	var objectProto = Object.prototype;
+
+	/** Used to check objects for own properties. */
+	var hasOwnProperty = objectProto.hasOwnProperty;
+
+	/**
+	 * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+	 * of values.
+	 */
+	var objectToString = objectProto.toString;
+
+	/** Built-in value references. */
+	var propertyIsEnumerable = objectProto.propertyIsEnumerable;
+
+	/* Built-in method references for those with the same name as other `lodash` methods. */
+	var nativeGetPrototype = Object.getPrototypeOf,
+	    nativeKeys = Object.keys;
+
+	/**
+	 * The base implementation of `_.forEach` without support for iteratee shorthands.
+	 *
+	 * @private
+	 * @param {Array|Object} collection The collection to iterate over.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Array|Object} Returns `collection`.
+	 */
+	var baseEach = createBaseEach(baseForOwn);
+
+	/**
+	 * The base implementation of `baseForOwn` which iterates over `object`
+	 * properties returned by `keysFunc` invoking `iteratee` for each property.
+	 * Iteratee functions may exit iteration early by explicitly returning `false`.
+	 *
+	 * @private
+	 * @param {Object} object The object to iterate over.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @param {Function} keysFunc The function to get the keys of `object`.
+	 * @returns {Object} Returns `object`.
+	 */
+	var baseFor = createBaseFor();
+
+	/**
+	 * The base implementation of `_.forOwn` without support for iteratee shorthands.
+	 *
+	 * @private
+	 * @param {Object} object The object to iterate over.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Object} Returns `object`.
+	 */
+	function baseForOwn(object, iteratee) {
+	  return object && baseFor(object, iteratee, keys);
+	}
+
+	/**
+	 * The base implementation of `_.has` without support for deep paths.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} key The key to check.
+	 * @returns {boolean} Returns `true` if `key` exists, else `false`.
+	 */
+	function baseHas(object, key) {
+	  // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,
+	  // that are composed entirely of index properties, return `false` for
+	  // `hasOwnProperty` checks of them.
+	  return hasOwnProperty.call(object, key) ||
+	    (typeof object == 'object' && key in object && getPrototype(object) === null);
+	}
+
+	/**
+	 * The base implementation of `_.keys` which doesn't skip the constructor
+	 * property of prototypes or treat sparse arrays as dense.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {Array} Returns the array of property names.
+	 */
+	function baseKeys(object) {
+	  return nativeKeys(Object(object));
+	}
+
+	/**
+	 * The base implementation of `_.property` without support for deep paths.
+	 *
+	 * @private
+	 * @param {string} key The key of the property to get.
+	 * @returns {Function} Returns the new function.
+	 */
+	function baseProperty(key) {
+	  return function(object) {
+	    return object == null ? undefined : object[key];
+	  };
+	}
+
+	/**
+	 * Creates a `baseEach` or `baseEachRight` function.
+	 *
+	 * @private
+	 * @param {Function} eachFunc The function to iterate over a collection.
+	 * @param {boolean} [fromRight] Specify iterating from right to left.
+	 * @returns {Function} Returns the new base function.
+	 */
+	function createBaseEach(eachFunc, fromRight) {
+	  return function(collection, iteratee) {
+	    if (collection == null) {
+	      return collection;
+	    }
+	    if (!isArrayLike(collection)) {
+	      return eachFunc(collection, iteratee);
+	    }
+	    var length = collection.length,
+	        index = fromRight ? length : -1,
+	        iterable = Object(collection);
+
+	    while ((fromRight ? index-- : ++index < length)) {
+	      if (iteratee(iterable[index], index, iterable) === false) {
+	        break;
+	      }
+	    }
+	    return collection;
+	  };
+	}
+
+	/**
+	 * Creates a base function for methods like `_.forIn` and `_.forOwn`.
+	 *
+	 * @private
+	 * @param {boolean} [fromRight] Specify iterating from right to left.
+	 * @returns {Function} Returns the new base function.
+	 */
+	function createBaseFor(fromRight) {
+	  return function(object, iteratee, keysFunc) {
+	    var index = -1,
+	        iterable = Object(object),
+	        props = keysFunc(object),
+	        length = props.length;
+
+	    while (length--) {
+	      var key = props[fromRight ? length : ++index];
+	      if (iteratee(iterable[key], key, iterable) === false) {
+	        break;
+	      }
+	    }
+	    return object;
+	  };
+	}
+
+	/**
+	 * Gets the "length" property value of `object`.
+	 *
+	 * **Note:** This function is used to avoid a
+	 * [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects
+	 * Safari on at least iOS 8.1-8.3 ARM64.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {*} Returns the "length" value.
+	 */
+	var getLength = baseProperty('length');
+
+	/**
+	 * Gets the `[[Prototype]]` of `value`.
+	 *
+	 * @private
+	 * @param {*} value The value to query.
+	 * @returns {null|Object} Returns the `[[Prototype]]`.
+	 */
+	function getPrototype(value) {
+	  return nativeGetPrototype(Object(value));
+	}
+
+	/**
+	 * Creates an array of index keys for `object` values of arrays,
+	 * `arguments` objects, and strings, otherwise `null` is returned.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {Array|null} Returns index keys, else `null`.
+	 */
+	function indexKeys(object) {
+	  var length = object ? object.length : undefined;
+	  if (isLength(length) &&
+	      (isArray(object) || isString(object) || isArguments(object))) {
+	    return baseTimes(length, String);
+	  }
+	  return null;
+	}
+
+	/**
+	 * Checks if `value` is likely a prototype object.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
+	 */
+	function isPrototype(value) {
+	  var Ctor = value && value.constructor,
+	      proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
+
+	  return value === proto;
+	}
+
+	/**
+	 * Checks if `value` is likely an `arguments` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArguments(function() { return arguments; }());
+	 * // => true
+	 *
+	 * _.isArguments([1, 2, 3]);
+	 * // => false
+	 */
+	function isArguments(value) {
+	  // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.
+	  return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
+	    (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
+	}
+
+	/**
+	 * Checks if `value` is classified as an `Array` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @type {Function}
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArray([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArray(document.body.children);
+	 * // => false
+	 *
+	 * _.isArray('abc');
+	 * // => false
+	 *
+	 * _.isArray(_.noop);
+	 * // => false
+	 */
+	var isArray = Array.isArray;
+
+	/**
+	 * Checks if `value` is array-like. A value is considered array-like if it's
+	 * not a function and has a `value.length` that's an integer greater than or
+	 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
+	 * @example
+	 *
+	 * _.isArrayLike([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArrayLike(document.body.children);
+	 * // => true
+	 *
+	 * _.isArrayLike('abc');
+	 * // => true
+	 *
+	 * _.isArrayLike(_.noop);
+	 * // => false
+	 */
+	function isArrayLike(value) {
+	  return value != null && isLength(getLength(value)) && !isFunction(value);
+	}
+
+	/**
+	 * This method is like `_.isArrayLike` except that it also checks if `value`
+	 * is an object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is an array-like object,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArrayLikeObject([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArrayLikeObject(document.body.children);
+	 * // => true
+	 *
+	 * _.isArrayLikeObject('abc');
+	 * // => false
+	 *
+	 * _.isArrayLikeObject(_.noop);
+	 * // => false
+	 */
+	function isArrayLikeObject(value) {
+	  return isObjectLike(value) && isArrayLike(value);
+	}
+
+	/**
+	 * Checks if `value` is classified as a `Function` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isFunction(_);
+	 * // => true
+	 *
+	 * _.isFunction(/abc/);
+	 * // => false
+	 */
+	function isFunction(value) {
+	  // The use of `Object#toString` avoids issues with the `typeof` operator
+	  // in Safari 8 which returns 'object' for typed array and weak map constructors,
+	  // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+	  var tag = isObject(value) ? objectToString.call(value) : '';
+	  return tag == funcTag || tag == genTag;
+	}
+
+	/**
+	 * Checks if `value` is a valid array-like length.
+	 *
+	 * **Note:** This function is loosely based on
+	 * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a valid length,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isLength(3);
+	 * // => true
+	 *
+	 * _.isLength(Number.MIN_VALUE);
+	 * // => false
+	 *
+	 * _.isLength(Infinity);
+	 * // => false
+	 *
+	 * _.isLength('3');
+	 * // => false
+	 */
+	function isLength(value) {
+	  return typeof value == 'number' &&
+	    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
+	}
+
+	/**
+	 * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
+	 * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+	 * @example
+	 *
+	 * _.isObject({});
+	 * // => true
+	 *
+	 * _.isObject([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObject(_.noop);
+	 * // => true
+	 *
+	 * _.isObject(null);
+	 * // => false
+	 */
+	function isObject(value) {
+	  var type = typeof value;
+	  return !!value && (type == 'object' || type == 'function');
+	}
+
+	/**
+	 * Checks if `value` is object-like. A value is object-like if it's not `null`
+	 * and has a `typeof` result of "object".
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+	 * @example
+	 *
+	 * _.isObjectLike({});
+	 * // => true
+	 *
+	 * _.isObjectLike([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObjectLike(_.noop);
+	 * // => false
+	 *
+	 * _.isObjectLike(null);
+	 * // => false
+	 */
+	function isObjectLike(value) {
+	  return !!value && typeof value == 'object';
+	}
+
+	/**
+	 * Checks if `value` is classified as a `String` primitive or object.
+	 *
+	 * @static
+	 * @since 0.1.0
+	 * @memberOf _
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isString('abc');
+	 * // => true
+	 *
+	 * _.isString(1);
+	 * // => false
+	 */
+	function isString(value) {
+	  return typeof value == 'string' ||
+	    (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
+	}
+
+	/**
+	 * Creates an array of the own enumerable property names of `object`.
+	 *
+	 * **Note:** Non-object values are coerced to objects. See the
+	 * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)
+	 * for more details.
+	 *
+	 * @static
+	 * @since 0.1.0
+	 * @memberOf _
+	 * @category Object
+	 * @param {Object} object The object to query.
+	 * @returns {Array} Returns the array of property names.
+	 * @example
+	 *
+	 * function Foo() {
+	 *   this.a = 1;
+	 *   this.b = 2;
+	 * }
+	 *
+	 * Foo.prototype.c = 3;
+	 *
+	 * _.keys(new Foo);
+	 * // => ['a', 'b'] (iteration order is not guaranteed)
+	 *
+	 * _.keys('hi');
+	 * // => ['0', '1']
+	 */
+	function keys(object) {
+	  var isProto = isPrototype(object);
+	  if (!(isProto || isArrayLike(object))) {
+	    return baseKeys(object);
+	  }
+	  var indexes = indexKeys(object),
+	      skipIndexes = !!indexes,
+	      result = indexes || [],
+	      length = result.length;
+
+	  for (var key in object) {
+	    if (baseHas(object, key) &&
+	        !(skipIndexes && (key == 'length' || isIndex(key, length))) &&
+	        !(isProto && key == 'constructor')) {
+	      result.push(key);
+	    }
+	  }
+	  return result;
+	}
+
+	module.exports = baseEach;
+
+
+/***/ },
+/* 9 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(module, global) {/**
+	 * lodash 4.6.1 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash modularize exports="npm" -o ./`
+	 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
+	 * Released under MIT license <https://lodash.com/license>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 */
+	var stringToPath = __webpack_require__(11);
+
+	/** Used as the size to enable large array optimizations. */
+	var LARGE_ARRAY_SIZE = 200;
+
+	/** Used to stand-in for `undefined` hash values. */
+	var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+	/** Used to compose bitmasks for comparison styles. */
+	var UNORDERED_COMPARE_FLAG = 1,
+	    PARTIAL_COMPARE_FLAG = 2;
+
+	/** Used as references for various `Number` constants. */
+	var MAX_SAFE_INTEGER = 9007199254740991;
+
+	/** `Object#toString` result references. */
+	var argsTag = '[object Arguments]',
+	    arrayTag = '[object Array]',
+	    boolTag = '[object Boolean]',
+	    dateTag = '[object Date]',
+	    errorTag = '[object Error]',
+	    funcTag = '[object Function]',
+	    genTag = '[object GeneratorFunction]',
+	    mapTag = '[object Map]',
+	    numberTag = '[object Number]',
+	    objectTag = '[object Object]',
+	    promiseTag = '[object Promise]',
+	    regexpTag = '[object RegExp]',
+	    setTag = '[object Set]',
+	    stringTag = '[object String]',
+	    symbolTag = '[object Symbol]',
+	    weakMapTag = '[object WeakMap]';
+
+	var arrayBufferTag = '[object ArrayBuffer]',
+	    dataViewTag = '[object DataView]',
+	    float32Tag = '[object Float32Array]',
+	    float64Tag = '[object Float64Array]',
+	    int8Tag = '[object Int8Array]',
+	    int16Tag = '[object Int16Array]',
+	    int32Tag = '[object Int32Array]',
+	    uint8Tag = '[object Uint8Array]',
+	    uint8ClampedTag = '[object Uint8ClampedArray]',
+	    uint16Tag = '[object Uint16Array]',
+	    uint32Tag = '[object Uint32Array]';
+
+	/** Used to match property names within property paths. */
+	var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
+	    reIsPlainProp = /^\w*$/;
+
+	/**
+	 * Used to match `RegExp`
+	 * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).
+	 */
+	var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
+
+	/** Used to detect host constructors (Safari). */
+	var reIsHostCtor = /^\[object .+?Constructor\]$/;
+
+	/** Used to detect unsigned integer values. */
+	var reIsUint = /^(?:0|[1-9]\d*)$/;
+
+	/** Used to identify `toStringTag` values of typed arrays. */
+	var typedArrayTags = {};
+	typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
+	typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
+	typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
+	typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
+	typedArrayTags[uint32Tag] = true;
+	typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
+	typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
+	typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
+	typedArrayTags[errorTag] = typedArrayTags[funcTag] =
+	typedArrayTags[mapTag] = typedArrayTags[numberTag] =
+	typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
+	typedArrayTags[setTag] = typedArrayTags[stringTag] =
+	typedArrayTags[weakMapTag] = false;
+
+	/** Used to determine if values are of the language type `Object`. */
+	var objectTypes = {
+	  'function': true,
+	  'object': true
+	};
+
+	/** Detect free variable `exports`. */
+	var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
+	  ? exports
+	  : undefined;
+
+	/** Detect free variable `module`. */
+	var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
+	  ? module
+	  : undefined;
+
+	/** Detect free variable `global` from Node.js. */
+	var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);
+
+	/** Detect free variable `self`. */
+	var freeSelf = checkGlobal(objectTypes[typeof self] && self);
+
+	/** Detect free variable `window`. */
+	var freeWindow = checkGlobal(objectTypes[typeof window] && window);
+
+	/** Detect `this` as the global object. */
+	var thisGlobal = checkGlobal(objectTypes[typeof this] && this);
+
+	/**
+	 * Used as a reference to the global object.
+	 *
+	 * The `this` value is used if it's the global object to avoid Greasemonkey's
+	 * restricted `window` object, otherwise the `window` object is used.
+	 */
+	var root = freeGlobal ||
+	  ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||
+	    freeSelf || thisGlobal || Function('return this')();
+
+	/**
+	 * A specialized version of `_.map` for arrays without support for iteratee
+	 * shorthands.
+	 *
+	 * @private
+	 * @param {Array} array The array to iterate over.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Array} Returns the new mapped array.
+	 */
+	function arrayMap(array, iteratee) {
+	  var index = -1,
+	      length = array.length,
+	      result = Array(length);
+
+	  while (++index < length) {
+	    result[index] = iteratee(array[index], index, array);
+	  }
+	  return result;
+	}
+
+	/**
+	 * A specialized version of `_.some` for arrays without support for iteratee
+	 * shorthands.
+	 *
+	 * @private
+	 * @param {Array} array The array to iterate over.
+	 * @param {Function} predicate The function invoked per iteration.
+	 * @returns {boolean} Returns `true` if any element passes the predicate check,
+	 *  else `false`.
+	 */
+	function arraySome(array, predicate) {
+	  var index = -1,
+	      length = array.length;
+
+	  while (++index < length) {
+	    if (predicate(array[index], index, array)) {
+	      return true;
+	    }
+	  }
+	  return false;
+	}
+
+	/**
+	 * The base implementation of `_.times` without support for iteratee shorthands
+	 * or max array length checks.
+	 *
+	 * @private
+	 * @param {number} n The number of times to invoke `iteratee`.
+	 * @param {Function} iteratee The function invoked per iteration.
+	 * @returns {Array} Returns the array of results.
+	 */
+	function baseTimes(n, iteratee) {
+	  var index = -1,
+	      result = Array(n);
+
+	  while (++index < n) {
+	    result[index] = iteratee(index);
+	  }
+	  return result;
+	}
+
+	/**
+	 * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
+	 * of key-value pairs for `object` corresponding to the property names of `props`.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {Array} props The property names to get values for.
+	 * @returns {Object} Returns the new array of key-value pairs.
+	 */
+	function baseToPairs(object, props) {
+	  return arrayMap(props, function(key) {
+	    return [key, object[key]];
+	  });
+	}
+
+	/**
+	 * Checks if `value` is a global object.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {null|Object} Returns `value` if it's a global object, else `null`.
+	 */
+	function checkGlobal(value) {
+	  return (value && value.Object === Object) ? value : null;
+	}
+
+	/**
+	 * Checks if `value` is a host object in IE < 9.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+	 */
+	function isHostObject(value) {
+	  // Many host objects are `Object` objects that can coerce to strings
+	  // despite having improperly defined `toString` methods.
+	  var result = false;
+	  if (value != null && typeof value.toString != 'function') {
+	    try {
+	      result = !!(value + '');
+	    } catch (e) {}
+	  }
+	  return result;
+	}
+
+	/**
+	 * Checks if `value` is a valid array-like index.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
+	 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
+	 */
+	function isIndex(value, length) {
+	  value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;
+	  length = length == null ? MAX_SAFE_INTEGER : length;
+	  return value > -1 && value % 1 == 0 && value < length;
+	}
+
+	/**
+	 * Converts `map` to an array.
+	 *
+	 * @private
+	 * @param {Object} map The map to convert.
+	 * @returns {Array} Returns the converted array.
+	 */
+	function mapToArray(map) {
+	  var index = -1,
+	      result = Array(map.size);
+
+	  map.forEach(function(value, key) {
+	    result[++index] = [key, value];
+	  });
+	  return result;
+	}
+
+	/**
+	 * Converts `set` to an array.
+	 *
+	 * @private
+	 * @param {Object} set The set to convert.
+	 * @returns {Array} Returns the converted array.
+	 */
+	function setToArray(set) {
+	  var index = -1,
+	      result = Array(set.size);
+
+	  set.forEach(function(value) {
+	    result[++index] = value;
+	  });
+	  return result;
+	}
+
+	/** Used for built-in method references. */
+	var arrayProto = Array.prototype,
+	    objectProto = Object.prototype;
+
+	/** Used to resolve the decompiled source of functions. */
+	var funcToString = Function.prototype.toString;
+
+	/** Used to check objects for own properties. */
+	var hasOwnProperty = objectProto.hasOwnProperty;
+
+	/**
+	 * Used to resolve the
+	 * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+	 * of values.
+	 */
+	var objectToString = objectProto.toString;
+
+	/** Used to detect if a method is native. */
+	var reIsNative = RegExp('^' +
+	  funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+	  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+	);
+
+	/** Built-in value references. */
+	var Symbol = root.Symbol,
+	    Uint8Array = root.Uint8Array,
+	    propertyIsEnumerable = objectProto.propertyIsEnumerable,
+	    splice = arrayProto.splice;
+
+	/* Built-in method references for those with the same name as other `lodash` methods. */
+	var nativeGetPrototype = Object.getPrototypeOf,
+	    nativeKeys = Object.keys;
+
+	/* Built-in method references that are verified to be native. */
+	var DataView = getNative(root, 'DataView'),
+	    Map = getNative(root, 'Map'),
+	    Promise = getNative(root, 'Promise'),
+	    Set = getNative(root, 'Set'),
+	    WeakMap = getNative(root, 'WeakMap'),
+	    nativeCreate = getNative(Object, 'create');
+
+	/** Used to detect maps, sets, and weakmaps. */
+	var dataViewCtorString = toSource(DataView),
+	    mapCtorString = toSource(Map),
+	    promiseCtorString = toSource(Promise),
+	    setCtorString = toSource(Set),
+	    weakMapCtorString = toSource(WeakMap);
+
+	/** Used to convert symbols to primitives and strings. */
+	var symbolProto = Symbol ? Symbol.prototype : undefined,
+	    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
+
+	/**
+	 * Creates a hash object.
+	 *
+	 * @private
+	 * @constructor
+	 * @returns {Object} Returns the new hash object.
+	 */
+	function Hash() {}
+
+	/**
+	 * Removes `key` and its value from the hash.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to modify.
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function hashDelete(hash, key) {
+	  return hashHas(hash, key) && delete hash[key];
+	}
+
+	/**
+	 * Gets the hash value for `key`.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to query.
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function hashGet(hash, key) {
+	  if (nativeCreate) {
+	    var result = hash[key];
+	    return result === HASH_UNDEFINED ? undefined : result;
+	  }
+	  return hasOwnProperty.call(hash, key) ? hash[key] : undefined;
+	}
+
+	/**
+	 * Checks if a hash value for `key` exists.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to query.
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function hashHas(hash, key) {
+	  return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);
+	}
+
+	/**
+	 * Sets the hash `key` to `value`.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to modify.
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 */
+	function hashSet(hash, key, value) {
+	  hash[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+	}
+
+	// Avoid inheriting from `Object.prototype` when possible.
+	Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;
+
+	/**
+	 * Creates a map cache object to store key-value pairs.
+	 *
+	 * @private
+	 * @constructor
+	 * @param {Array} [values] The values to cache.
+	 */
+	function MapCache(values) {
+	  var index = -1,
+	      length = values ? values.length : 0;
+
+	  this.clear();
+	  while (++index < length) {
+	    var entry = values[index];
+	    this.set(entry[0], entry[1]);
+	  }
+	}
+
+	/**
+	 * Removes all key-value entries from the map.
+	 *
+	 * @private
+	 * @name clear
+	 * @memberOf MapCache
+	 */
+	function mapClear() {
+	  this.__data__ = {
+	    'hash': new Hash,
+	    'map': Map ? new Map : [],
+	    'string': new Hash
+	  };
+	}
+
+	/**
+	 * Removes `key` and its value from the map.
+	 *
+	 * @private
+	 * @name delete
+	 * @memberOf MapCache
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function mapDelete(key) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    return hashDelete(typeof key == 'string' ? data.string : data.hash, key);
+	  }
+	  return Map ? data.map['delete'](key) : assocDelete(data.map, key);
+	}
+
+	/**
+	 * Gets the map value for `key`.
+	 *
+	 * @private
+	 * @name get
+	 * @memberOf MapCache
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function mapGet(key) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    return hashGet(typeof key == 'string' ? data.string : data.hash, key);
+	  }
+	  return Map ? data.map.get(key) : assocGet(data.map, key);
+	}
+
+	/**
+	 * Checks if a map value for `key` exists.
+	 *
+	 * @private
+	 * @name has
+	 * @memberOf MapCache
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function mapHas(key) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    return hashHas(typeof key == 'string' ? data.string : data.hash, key);
+	  }
+	  return Map ? data.map.has(key) : assocHas(data.map, key);
+	}
+
+	/**
+	 * Sets the map `key` to `value`.
+	 *
+	 * @private
+	 * @name set
+	 * @memberOf MapCache
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 * @returns {Object} Returns the map cache instance.
+	 */
+	function mapSet(key, value) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    hashSet(typeof key == 'string' ? data.string : data.hash, key, value);
+	  } else if (Map) {
+	    data.map.set(key, value);
+	  } else {
+	    assocSet(data.map, key, value);
+	  }
+	  return this;
+	}
+
+	// Add methods to `MapCache`.
+	MapCache.prototype.clear = mapClear;
+	MapCache.prototype['delete'] = mapDelete;
+	MapCache.prototype.get = mapGet;
+	MapCache.prototype.has = mapHas;
+	MapCache.prototype.set = mapSet;
+
+	/**
+	 * Creates a stack cache object to store key-value pairs.
+	 *
+	 * @private
+	 * @constructor
+	 * @param {Array} [values] The values to cache.
+	 */
+	function Stack(values) {
+	  var index = -1,
+	      length = values ? values.length : 0;
+
+	  this.clear();
+	  while (++index < length) {
+	    var entry = values[index];
+	    this.set(entry[0], entry[1]);
+	  }
+	}
+
+	/**
+	 * Removes all key-value entries from the stack.
+	 *
+	 * @private
+	 * @name clear
+	 * @memberOf Stack
+	 */
+	function stackClear() {
+	  this.__data__ = { 'array': [], 'map': null };
+	}
+
+	/**
+	 * Removes `key` and its value from the stack.
+	 *
+	 * @private
+	 * @name delete
+	 * @memberOf Stack
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function stackDelete(key) {
+	  var data = this.__data__,
+	      array = data.array;
+
+	  return array ? assocDelete(array, key) : data.map['delete'](key);
+	}
+
+	/**
+	 * Gets the stack value for `key`.
+	 *
+	 * @private
+	 * @name get
+	 * @memberOf Stack
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function stackGet(key) {
+	  var data = this.__data__,
+	      array = data.array;
+
+	  return array ? assocGet(array, key) : data.map.get(key);
+	}
+
+	/**
+	 * Checks if a stack value for `key` exists.
+	 *
+	 * @private
+	 * @name has
+	 * @memberOf Stack
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function stackHas(key) {
+	  var data = this.__data__,
+	      array = data.array;
+
+	  return array ? assocHas(array, key) : data.map.has(key);
+	}
+
+	/**
+	 * Sets the stack `key` to `value`.
+	 *
+	 * @private
+	 * @name set
+	 * @memberOf Stack
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 * @returns {Object} Returns the stack cache instance.
+	 */
+	function stackSet(key, value) {
+	  var data = this.__data__,
+	      array = data.array;
+
+	  if (array) {
+	    if (array.length < (LARGE_ARRAY_SIZE - 1)) {
+	      assocSet(array, key, value);
+	    } else {
+	      data.array = null;
+	      data.map = new MapCache(array);
+	    }
+	  }
+	  var map = data.map;
+	  if (map) {
+	    map.set(key, value);
+	  }
+	  return this;
+	}
+
+	// Add methods to `Stack`.
+	Stack.prototype.clear = stackClear;
+	Stack.prototype['delete'] = stackDelete;
+	Stack.prototype.get = stackGet;
+	Stack.prototype.has = stackHas;
+	Stack.prototype.set = stackSet;
+
+	/**
+	 * Removes `key` and its value from the associative array.
+	 *
+	 * @private
+	 * @param {Array} array The array to modify.
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function assocDelete(array, key) {
+	  var index = assocIndexOf(array, key);
+	  if (index < 0) {
+	    return false;
+	  }
+	  var lastIndex = array.length - 1;
+	  if (index == lastIndex) {
+	    array.pop();
+	  } else {
+	    splice.call(array, index, 1);
+	  }
+	  return true;
+	}
+
+	/**
+	 * Gets the associative array value for `key`.
+	 *
+	 * @private
+	 * @param {Array} array The array to query.
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function assocGet(array, key) {
+	  var index = assocIndexOf(array, key);
+	  return index < 0 ? undefined : array[index][1];
+	}
+
+	/**
+	 * Checks if an associative array value for `key` exists.
+	 *
+	 * @private
+	 * @param {Array} array The array to query.
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function assocHas(array, key) {
+	  return assocIndexOf(array, key) > -1;
+	}
+
+	/**
+	 * Gets the index at which the `key` is found in `array` of key-value pairs.
+	 *
+	 * @private
+	 * @param {Array} array The array to search.
+	 * @param {*} key The key to search for.
+	 * @returns {number} Returns the index of the matched value, else `-1`.
+	 */
+	function assocIndexOf(array, key) {
+	  var length = array.length;
+	  while (length--) {
+	    if (eq(array[length][0], key)) {
+	      return length;
+	    }
+	  }
+	  return -1;
+	}
+
+	/**
+	 * Sets the associative array `key` to `value`.
+	 *
+	 * @private
+	 * @param {Array} array The array to modify.
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 */
+	function assocSet(array, key, value) {
+	  var index = assocIndexOf(array, key);
+	  if (index < 0) {
+	    array.push([key, value]);
+	  } else {
+	    array[index][1] = value;
+	  }
+	}
+
+	/**
+	 * Casts `value` to a path array if it's not one.
+	 *
+	 * @private
+	 * @param {*} value The value to inspect.
+	 * @returns {Array} Returns the cast property path array.
+	 */
+	function baseCastPath(value) {
+	  return isArray(value) ? value : stringToPath(value);
+	}
+
+	/**
+	 * The base implementation of `_.get` without support for default values.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} path The path of the property to get.
+	 * @returns {*} Returns the resolved value.
+	 */
+	function baseGet(object, path) {
+	  path = isKey(path, object) ? [path] : baseCastPath(path);
+
+	  var index = 0,
+	      length = path.length;
+
+	  while (object != null && index < length) {
+	    object = object[path[index++]];
+	  }
+	  return (index && index == length) ? object : undefined;
+	}
+
+	/**
+	 * The base implementation of `_.has` without support for deep paths.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} key The key to check.
+	 * @returns {boolean} Returns `true` if `key` exists, else `false`.
+	 */
+	function baseHas(object, key) {
+	  // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,
+	  // that are composed entirely of index properties, return `false` for
+	  // `hasOwnProperty` checks of them.
+	  return hasOwnProperty.call(object, key) ||
+	    (typeof object == 'object' && key in object && getPrototype(object) === null);
+	}
+
+	/**
+	 * The base implementation of `_.hasIn` without support for deep paths.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} key The key to check.
+	 * @returns {boolean} Returns `true` if `key` exists, else `false`.
+	 */
+	function baseHasIn(object, key) {
+	  return key in Object(object);
+	}
+
+	/**
+	 * The base implementation of `_.isEqual` which supports partial comparisons
+	 * and tracks traversed objects.
+	 *
+	 * @private
+	 * @param {*} value The value to compare.
+	 * @param {*} other The other value to compare.
+	 * @param {Function} [customizer] The function to customize comparisons.
+	 * @param {boolean} [bitmask] The bitmask of comparison flags.
+	 *  The bitmask may be composed of the following flags:
+	 *     1 - Unordered comparison
+	 *     2 - Partial comparison
+	 * @param {Object} [stack] Tracks traversed `value` and `other` objects.
+	 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+	 */
+	function baseIsEqual(value, other, customizer, bitmask, stack) {
+	  if (value === other) {
+	    return true;
+	  }
+	  if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {
+	    return value !== value && other !== other;
+	  }
+	  return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);
+	}
+
+	/**
+	 * A specialized version of `baseIsEqual` for arrays and objects which performs
+	 * deep comparisons and tracks traversed objects enabling objects with circular
+	 * references to be compared.
+	 *
+	 * @private
+	 * @param {Object} object The object to compare.
+	 * @param {Object} other The other object to compare.
+	 * @param {Function} equalFunc The function to determine equivalents of values.
+	 * @param {Function} [customizer] The function to customize comparisons.
+	 * @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`
+	 *  for more details.
+	 * @param {Object} [stack] Tracks traversed `object` and `other` objects.
+	 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+	 */
+	function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {
+	  var objIsArr = isArray(object),
+	      othIsArr = isArray(other),
+	      objTag = arrayTag,
+	      othTag = arrayTag;
+
+	  if (!objIsArr) {
+	    objTag = getTag(object);
+	    objTag = objTag == argsTag ? objectTag : objTag;
+	  }
+	  if (!othIsArr) {
+	    othTag = getTag(other);
+	    othTag = othTag == argsTag ? objectTag : othTag;
+	  }
+	  var objIsObj = objTag == objectTag && !isHostObject(object),
+	      othIsObj = othTag == objectTag && !isHostObject(other),
+	      isSameTag = objTag == othTag;
+
+	  if (isSameTag && !objIsObj) {
+	    stack || (stack = new Stack);
+	    return (objIsArr || isTypedArray(object))
+	      ? equalArrays(object, other, equalFunc, customizer, bitmask, stack)
+	      : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
+	  }
+	  if (!(bitmask & PARTIAL_COMPARE_FLAG)) {
+	    var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
+	        othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
+
+	    if (objIsWrapped || othIsWrapped) {
+	      var objUnwrapped = objIsWrapped ? object.value() : object,
+	          othUnwrapped = othIsWrapped ? other.value() : other;
+
+	      stack || (stack = new Stack);
+	      return equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);
+	    }
+	  }
+	  if (!isSameTag) {
+	    return false;
+	  }
+	  stack || (stack = new Stack);
+	  return equalObjects(object, other, equalFunc, customizer, bitmask, stack);
+	}
+
+	/**
+	 * The base implementation of `_.isMatch` without support for iteratee shorthands.
+	 *
+	 * @private
+	 * @param {Object} object The object to inspect.
+	 * @param {Object} source The object of property values to match.
+	 * @param {Array} matchData The property names, values, and compare flags to match.
+	 * @param {Function} [customizer] The function to customize comparisons.
+	 * @returns {boolean} Returns `true` if `object` is a match, else `false`.
+	 */
+	function baseIsMatch(object, source, matchData, customizer) {
+	  var index = matchData.length,
+	      length = index,
+	      noCustomizer = !customizer;
+
+	  if (object == null) {
+	    return !length;
+	  }
+	  object = Object(object);
+	  while (index--) {
+	    var data = matchData[index];
+	    if ((noCustomizer && data[2])
+	          ? data[1] !== object[data[0]]
+	          : !(data[0] in object)
+	        ) {
+	      return false;
+	    }
+	  }
+	  while (++index < length) {
+	    data = matchData[index];
+	    var key = data[0],
+	        objValue = object[key],
+	        srcValue = data[1];
+
+	    if (noCustomizer && data[2]) {
+	      if (objValue === undefined && !(key in object)) {
+	        return false;
+	      }
+	    } else {
+	      var stack = new Stack;
+	      if (customizer) {
+	        var result = customizer(objValue, srcValue, key, object, source, stack);
+	      }
+	      if (!(result === undefined
+	            ? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack)
+	            : result
+	          )) {
+	        return false;
+	      }
+	    }
+	  }
+	  return true;
+	}
+
+	/**
+	 * The base implementation of `_.iteratee`.
+	 *
+	 * @private
+	 * @param {*} [value=_.identity] The value to convert to an iteratee.
+	 * @returns {Function} Returns the iteratee.
+	 */
+	function baseIteratee(value) {
+	  // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
+	  // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
+	  if (typeof value == 'function') {
+	    return value;
+	  }
+	  if (value == null) {
+	    return identity;
+	  }
+	  if (typeof value == 'object') {
+	    return isArray(value)
+	      ? baseMatchesProperty(value[0], value[1])
+	      : baseMatches(value);
+	  }
+	  return property(value);
+	}
+
+	/**
+	 * The base implementation of `_.keys` which doesn't skip the constructor
+	 * property of prototypes or treat sparse arrays as dense.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {Array} Returns the array of property names.
+	 */
+	function baseKeys(object) {
+	  return nativeKeys(Object(object));
+	}
+
+	/**
+	 * The base implementation of `_.matches` which doesn't clone `source`.
+	 *
+	 * @private
+	 * @param {Object} source The object of property values to match.
+	 * @returns {Function} Returns the new function.
+	 */
+	function baseMatches(source) {
+	  var matchData = getMatchData(source);
+	  if (matchData.length == 1 && matchData[0][2]) {
+	    return matchesStrictComparable(matchData[0][0], matchData[0][1]);
+	  }
+	  return function(object) {
+	    return object === source || baseIsMatch(object, source, matchData);
+	  };
+	}
+
+	/**
+	 * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
+	 *
+	 * @private
+	 * @param {string} path The path of the property to get.
+	 * @param {*} srcValue The value to match.
+	 * @returns {Function} Returns the new function.
+	 */
+	function baseMatchesProperty(path, srcValue) {
+	  if (isKey(path) && isStrictComparable(srcValue)) {
+	    return matchesStrictComparable(path, srcValue);
+	  }
+	  return function(object) {
+	    var objValue = get(object, path);
+	    return (objValue === undefined && objValue === srcValue)
+	      ? hasIn(object, path)
+	      : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);
+	  };
+	}
+
+	/**
+	 * The base implementation of `_.property` without support for deep paths.
+	 *
+	 * @private
+	 * @param {string} key The key of the property to get.
+	 * @returns {Function} Returns the new function.
+	 */
+	function baseProperty(key) {
+	  return function(object) {
+	    return object == null ? undefined : object[key];
+	  };
+	}
+
+	/**
+	 * A specialized version of `baseProperty` which supports deep paths.
+	 *
+	 * @private
+	 * @param {Array|string} path The path of the property to get.
+	 * @returns {Function} Returns the new function.
+	 */
+	function basePropertyDeep(path) {
+	  return function(object) {
+	    return baseGet(object, path);
+	  };
+	}
+
+	/**
+	 * A specialized version of `baseIsEqualDeep` for arrays with support for
+	 * partial deep comparisons.
+	 *
+	 * @private
+	 * @param {Array} array The array to compare.
+	 * @param {Array} other The other array to compare.
+	 * @param {Function} equalFunc The function to determine equivalents of values.
+	 * @param {Function} customizer The function to customize comparisons.
+	 * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
+	 *  for more details.
+	 * @param {Object} stack Tracks traversed `array` and `other` objects.
+	 * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
+	 */
+	function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
+	  var index = -1,
+	      isPartial = bitmask & PARTIAL_COMPARE_FLAG,
+	      isUnordered = bitmask & UNORDERED_COMPARE_FLAG,
+	      arrLength = array.length,
+	      othLength = other.length;
+
+	  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
+	    return false;
+	  }
+	  // Assume cyclic values are equal.
+	  var stacked = stack.get(array);
+	  if (stacked) {
+	    return stacked == other;
+	  }
+	  var result = true;
+	  stack.set(array, other);
+
+	  // Ignore non-index properties.
+	  while (++index < arrLength) {
+	    var arrValue = array[index],
+	        othValue = other[index];
+
+	    if (customizer) {
+	      var compared = isPartial
+	        ? customizer(othValue, arrValue, index, other, array, stack)
+	        : customizer(arrValue, othValue, index, array, other, stack);
+	    }
+	    if (compared !== undefined) {
+	      if (compared) {
+	        continue;
+	      }
+	      result = false;
+	      break;
+	    }
+	    // Recursively compare arrays (susceptible to call stack limits).
+	    if (isUnordered) {
+	      if (!arraySome(other, function(othValue) {
+	            return arrValue === othValue ||
+	              equalFunc(arrValue, othValue, customizer, bitmask, stack);
+	          })) {
+	        result = false;
+	        break;
+	      }
+	    } else if (!(
+	          arrValue === othValue ||
+	            equalFunc(arrValue, othValue, customizer, bitmask, stack)
+	        )) {
+	      result = false;
+	      break;
+	    }
+	  }
+	  stack['delete'](array);
+	  return result;
+	}
+
+	/**
+	 * A specialized version of `baseIsEqualDeep` for comparing objects of
+	 * the same `toStringTag`.
+	 *
+	 * **Note:** This function only supports comparing values with tags of
+	 * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
+	 *
+	 * @private
+	 * @param {Object} object The object to compare.
+	 * @param {Object} other The other object to compare.
+	 * @param {string} tag The `toStringTag` of the objects to compare.
+	 * @param {Function} equalFunc The function to determine equivalents of values.
+	 * @param {Function} customizer The function to customize comparisons.
+	 * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
+	 *  for more details.
+	 * @param {Object} stack Tracks traversed `object` and `other` objects.
+	 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+	 */
+	function equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {
+	  switch (tag) {
+	    case dataViewTag:
+	      if ((object.byteLength != other.byteLength) ||
+	          (object.byteOffset != other.byteOffset)) {
+	        return false;
+	      }
+	      object = object.buffer;
+	      other = other.buffer;
+
+	    case arrayBufferTag:
+	      if ((object.byteLength != other.byteLength) ||
+	          !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
+	        return false;
+	      }
+	      return true;
+
+	    case boolTag:
+	    case dateTag:
+	      // Coerce dates and booleans to numbers, dates to milliseconds and
+	      // booleans to `1` or `0` treating invalid dates coerced to `NaN` as
+	      // not equal.
+	      return +object == +other;
+
+	    case errorTag:
+	      return object.name == other.name && object.message == other.message;
+
+	    case numberTag:
+	      // Treat `NaN` vs. `NaN` as equal.
+	      return (object != +object) ? other != +other : object == +other;
+
+	    case regexpTag:
+	    case stringTag:
+	      // Coerce regexes to strings and treat strings, primitives and objects,
+	      // as equal. See http://www.ecma-international.org/ecma-262/6.0/#sec-regexp.prototype.tostring
+	      // for more details.
+	      return object == (other + '');
+
+	    case mapTag:
+	      var convert = mapToArray;
+
+	    case setTag:
+	      var isPartial = bitmask & PARTIAL_COMPARE_FLAG;
+	      convert || (convert = setToArray);
+
+	      if (object.size != other.size && !isPartial) {
+	        return false;
+	      }
+	      // Assume cyclic values are equal.
+	      var stacked = stack.get(object);
+	      if (stacked) {
+	        return stacked == other;
+	      }
+	      bitmask |= UNORDERED_COMPARE_FLAG;
+	      stack.set(object, other);
+
+	      // Recursively compare objects (susceptible to call stack limits).
+	      return equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask, stack);
+
+	    case symbolTag:
+	      if (symbolValueOf) {
+	        return symbolValueOf.call(object) == symbolValueOf.call(other);
+	      }
+	  }
+	  return false;
+	}
+
+	/**
+	 * A specialized version of `baseIsEqualDeep` for objects with support for
+	 * partial deep comparisons.
+	 *
+	 * @private
+	 * @param {Object} object The object to compare.
+	 * @param {Object} other The other object to compare.
+	 * @param {Function} equalFunc The function to determine equivalents of values.
+	 * @param {Function} customizer The function to customize comparisons.
+	 * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
+	 *  for more details.
+	 * @param {Object} stack Tracks traversed `object` and `other` objects.
+	 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+	 */
+	function equalObjects(object, other, equalFunc, customizer, bitmask, stack) {
+	  var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
+	      objProps = keys(object),
+	      objLength = objProps.length,
+	      othProps = keys(other),
+	      othLength = othProps.length;
+
+	  if (objLength != othLength && !isPartial) {
+	    return false;
+	  }
+	  var index = objLength;
+	  while (index--) {
+	    var key = objProps[index];
+	    if (!(isPartial ? key in other : baseHas(other, key))) {
+	      return false;
+	    }
+	  }
+	  // Assume cyclic values are equal.
+	  var stacked = stack.get(object);
+	  if (stacked) {
+	    return stacked == other;
+	  }
+	  var result = true;
+	  stack.set(object, other);
+
+	  var skipCtor = isPartial;
+	  while (++index < objLength) {
+	    key = objProps[index];
+	    var objValue = object[key],
+	        othValue = other[key];
+
+	    if (customizer) {
+	      var compared = isPartial
+	        ? customizer(othValue, objValue, key, other, object, stack)
+	        : customizer(objValue, othValue, key, object, other, stack);
+	    }
+	    // Recursively compare objects (susceptible to call stack limits).
+	    if (!(compared === undefined
+	          ? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))
+	          : compared
+	        )) {
+	      result = false;
+	      break;
+	    }
+	    skipCtor || (skipCtor = key == 'constructor');
+	  }
+	  if (result && !skipCtor) {
+	    var objCtor = object.constructor,
+	        othCtor = other.constructor;
+
+	    // Non `Object` object instances with different constructors are not equal.
+	    if (objCtor != othCtor &&
+	        ('constructor' in object && 'constructor' in other) &&
+	        !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
+	          typeof othCtor == 'function' && othCtor instanceof othCtor)) {
+	      result = false;
+	    }
+	  }
+	  stack['delete'](object);
+	  return result;
+	}
+
+	/**
+	 * Gets the "length" property value of `object`.
+	 *
+	 * **Note:** This function is used to avoid a
+	 * [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects
+	 * Safari on at least iOS 8.1-8.3 ARM64.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {*} Returns the "length" value.
+	 */
+	var getLength = baseProperty('length');
+
+	/**
+	 * Gets the property names, values, and compare flags of `object`.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {Array} Returns the match data of `object`.
+	 */
+	function getMatchData(object) {
+	  var result = toPairs(object),
+	      length = result.length;
+
+	  while (length--) {
+	    result[length][2] = isStrictComparable(result[length][1]);
+	  }
+	  return result;
+	}
+
+	/**
+	 * Gets the native function at `key` of `object`.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {string} key The key of the method to get.
+	 * @returns {*} Returns the function if it's native, else `undefined`.
+	 */
+	function getNative(object, key) {
+	  var value = object[key];
+	  return isNative(value) ? value : undefined;
+	}
+
+	/**
+	 * Gets the `[[Prototype]]` of `value`.
+	 *
+	 * @private
+	 * @param {*} value The value to query.
+	 * @returns {null|Object} Returns the `[[Prototype]]`.
+	 */
+	function getPrototype(value) {
+	  return nativeGetPrototype(Object(value));
+	}
+
+	/**
+	 * Gets the `toStringTag` of `value`.
+	 *
+	 * @private
+	 * @param {*} value The value to query.
+	 * @returns {string} Returns the `toStringTag`.
+	 */
+	function getTag(value) {
+	  return objectToString.call(value);
+	}
+
+	// Fallback for data views, maps, sets, and weak maps in IE 11,
+	// for data views in Edge, and promises in Node.js.
+	if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
+	    (Map && getTag(new Map) != mapTag) ||
+	    (Promise && getTag(Promise.resolve()) != promiseTag) ||
+	    (Set && getTag(new Set) != setTag) ||
+	    (WeakMap && getTag(new WeakMap) != weakMapTag)) {
+	  getTag = function(value) {
+	    var result = objectToString.call(value),
+	        Ctor = result == objectTag ? value.constructor : undefined,
+	        ctorString = Ctor ? toSource(Ctor) : undefined;
+
+	    if (ctorString) {
+	      switch (ctorString) {
+	        case dataViewCtorString: return dataViewTag;
+	        case mapCtorString: return mapTag;
+	        case promiseCtorString: return promiseTag;
+	        case setCtorString: return setTag;
+	        case weakMapCtorString: return weakMapTag;
+	      }
+	    }
+	    return result;
+	  };
+	}
+
+	/**
+	 * Checks if `path` exists on `object`.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} path The path to check.
+	 * @param {Function} hasFunc The function to check properties.
+	 * @returns {boolean} Returns `true` if `path` exists, else `false`.
+	 */
+	function hasPath(object, path, hasFunc) {
+	  path = isKey(path, object) ? [path] : baseCastPath(path);
+
+	  var result,
+	      index = -1,
+	      length = path.length;
+
+	  while (++index < length) {
+	    var key = path[index];
+	    if (!(result = object != null && hasFunc(object, key))) {
+	      break;
+	    }
+	    object = object[key];
+	  }
+	  if (result) {
+	    return result;
+	  }
+	  var length = object ? object.length : 0;
+	  return !!length && isLength(length) && isIndex(key, length) &&
+	    (isArray(object) || isString(object) || isArguments(object));
+	}
+
+	/**
+	 * Creates an array of index keys for `object` values of arrays,
+	 * `arguments` objects, and strings, otherwise `null` is returned.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @returns {Array|null} Returns index keys, else `null`.
+	 */
+	function indexKeys(object) {
+	  var length = object ? object.length : undefined;
+	  if (isLength(length) &&
+	      (isArray(object) || isString(object) || isArguments(object))) {
+	    return baseTimes(length, String);
+	  }
+	  return null;
+	}
+
+	/**
+	 * Checks if `value` is a property name and not a property path.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @param {Object} [object] The object to query keys on.
+	 * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
+	 */
+	function isKey(value, object) {
+	  var type = typeof value;
+	  if (type == 'number' || type == 'symbol') {
+	    return true;
+	  }
+	  return !isArray(value) &&
+	    (isSymbol(value) || reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
+	      (object != null && value in Object(object)));
+	}
+
+	/**
+	 * Checks if `value` is suitable for use as unique object key.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
+	 */
+	function isKeyable(value) {
+	  var type = typeof value;
+	  return type == 'number' || type == 'boolean' ||
+	    (type == 'string' && value != '__proto__') || value == null;
+	}
+
+	/**
+	 * Checks if `value` is likely a prototype object.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
+	 */
+	function isPrototype(value) {
+	  var Ctor = value && value.constructor,
+	      proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
+
+	  return value === proto;
+	}
+
+	/**
+	 * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` if suitable for strict
+	 *  equality comparisons, else `false`.
+	 */
+	function isStrictComparable(value) {
+	  return value === value && !isObject(value);
+	}
+
+	/**
+	 * A specialized version of `matchesProperty` for source values suitable
+	 * for strict equality comparisons, i.e. `===`.
+	 *
+	 * @private
+	 * @param {string} key The key of the property to get.
+	 * @param {*} srcValue The value to match.
+	 * @returns {Function} Returns the new function.
+	 */
+	function matchesStrictComparable(key, srcValue) {
+	  return function(object) {
+	    if (object == null) {
+	      return false;
+	    }
+	    return object[key] === srcValue &&
+	      (srcValue !== undefined || (key in Object(object)));
+	  };
+	}
+
+	/**
+	 * Converts `func` to its source code.
+	 *
+	 * @private
+	 * @param {Function} func The function to process.
+	 * @returns {string} Returns the source code.
+	 */
+	function toSource(func) {
+	  if (func != null) {
+	    try {
+	      return funcToString.call(func);
+	    } catch (e) {}
+	    try {
+	      return (func + '');
+	    } catch (e) {}
+	  }
+	  return '';
+	}
+
+	/**
+	 * Performs a
+	 * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	 * comparison between two values to determine if they are equivalent.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to compare.
+	 * @param {*} other The other value to compare.
+	 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+	 * @example
+	 *
+	 * var object = { 'user': 'fred' };
+	 * var other = { 'user': 'fred' };
+	 *
+	 * _.eq(object, object);
+	 * // => true
+	 *
+	 * _.eq(object, other);
+	 * // => false
+	 *
+	 * _.eq('a', 'a');
+	 * // => true
+	 *
+	 * _.eq('a', Object('a'));
+	 * // => false
+	 *
+	 * _.eq(NaN, NaN);
+	 * // => true
+	 */
+	function eq(value, other) {
+	  return value === other || (value !== value && other !== other);
+	}
+
+	/**
+	 * Checks if `value` is likely an `arguments` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArguments(function() { return arguments; }());
+	 * // => true
+	 *
+	 * _.isArguments([1, 2, 3]);
+	 * // => false
+	 */
+	function isArguments(value) {
+	  // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.
+	  return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
+	    (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
+	}
+
+	/**
+	 * Checks if `value` is classified as an `Array` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @type {Function}
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArray([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArray(document.body.children);
+	 * // => false
+	 *
+	 * _.isArray('abc');
+	 * // => false
+	 *
+	 * _.isArray(_.noop);
+	 * // => false
+	 */
+	var isArray = Array.isArray;
+
+	/**
+	 * Checks if `value` is array-like. A value is considered array-like if it's
+	 * not a function and has a `value.length` that's an integer greater than or
+	 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
+	 * @example
+	 *
+	 * _.isArrayLike([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArrayLike(document.body.children);
+	 * // => true
+	 *
+	 * _.isArrayLike('abc');
+	 * // => true
+	 *
+	 * _.isArrayLike(_.noop);
+	 * // => false
+	 */
+	function isArrayLike(value) {
+	  return value != null && isLength(getLength(value)) && !isFunction(value);
+	}
+
+	/**
+	 * This method is like `_.isArrayLike` except that it also checks if `value`
+	 * is an object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is an array-like object,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArrayLikeObject([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArrayLikeObject(document.body.children);
+	 * // => true
+	 *
+	 * _.isArrayLikeObject('abc');
+	 * // => false
+	 *
+	 * _.isArrayLikeObject(_.noop);
+	 * // => false
+	 */
+	function isArrayLikeObject(value) {
+	  return isObjectLike(value) && isArrayLike(value);
+	}
+
+	/**
+	 * Checks if `value` is classified as a `Function` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isFunction(_);
+	 * // => true
+	 *
+	 * _.isFunction(/abc/);
+	 * // => false
+	 */
+	function isFunction(value) {
+	  // The use of `Object#toString` avoids issues with the `typeof` operator
+	  // in Safari 8 which returns 'object' for typed array and weak map constructors,
+	  // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+	  var tag = isObject(value) ? objectToString.call(value) : '';
+	  return tag == funcTag || tag == genTag;
+	}
+
+	/**
+	 * Checks if `value` is a valid array-like length.
+	 *
+	 * **Note:** This function is loosely based on
+	 * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a valid length,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isLength(3);
+	 * // => true
+	 *
+	 * _.isLength(Number.MIN_VALUE);
+	 * // => false
+	 *
+	 * _.isLength(Infinity);
+	 * // => false
+	 *
+	 * _.isLength('3');
+	 * // => false
+	 */
+	function isLength(value) {
+	  return typeof value == 'number' &&
+	    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
+	}
+
+	/**
+	 * Checks if `value` is the
+	 * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)
+	 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+	 * @example
+	 *
+	 * _.isObject({});
+	 * // => true
+	 *
+	 * _.isObject([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObject(_.noop);
+	 * // => true
+	 *
+	 * _.isObject(null);
+	 * // => false
+	 */
+	function isObject(value) {
+	  var type = typeof value;
+	  return !!value && (type == 'object' || type == 'function');
+	}
+
+	/**
+	 * Checks if `value` is object-like. A value is object-like if it's not `null`
+	 * and has a `typeof` result of "object".
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+	 * @example
+	 *
+	 * _.isObjectLike({});
+	 * // => true
+	 *
+	 * _.isObjectLike([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObjectLike(_.noop);
+	 * // => false
+	 *
+	 * _.isObjectLike(null);
+	 * // => false
+	 */
+	function isObjectLike(value) {
+	  return !!value && typeof value == 'object';
+	}
+
+	/**
+	 * Checks if `value` is a native function.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 3.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a native function,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isNative(Array.prototype.push);
+	 * // => true
+	 *
+	 * _.isNative(_);
+	 * // => false
+	 */
+	function isNative(value) {
+	  if (!isObject(value)) {
+	    return false;
+	  }
+	  var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
+	  return pattern.test(toSource(value));
+	}
+
+	/**
+	 * Checks if `value` is classified as a `String` primitive or object.
+	 *
+	 * @static
+	 * @since 0.1.0
+	 * @memberOf _
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isString('abc');
+	 * // => true
+	 *
+	 * _.isString(1);
+	 * // => false
+	 */
+	function isString(value) {
+	  return typeof value == 'string' ||
+	    (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
+	}
+
+	/**
+	 * Checks if `value` is classified as a `Symbol` primitive or object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isSymbol(Symbol.iterator);
+	 * // => true
+	 *
+	 * _.isSymbol('abc');
+	 * // => false
+	 */
+	function isSymbol(value) {
+	  return typeof value == 'symbol' ||
+	    (isObjectLike(value) && objectToString.call(value) == symbolTag);
+	}
+
+	/**
+	 * Checks if `value` is classified as a typed array.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 3.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isTypedArray(new Uint8Array);
+	 * // => true
+	 *
+	 * _.isTypedArray([]);
+	 * // => false
+	 */
+	function isTypedArray(value) {
+	  return isObjectLike(value) &&
+	    isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
+	}
+
+	/**
+	 * Gets the value at `path` of `object`. If the resolved value is
+	 * `undefined`, the `defaultValue` is used in its place.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 3.7.0
+	 * @category Object
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} path The path of the property to get.
+	 * @param {*} [defaultValue] The value returned for `undefined` resolved values.
+	 * @returns {*} Returns the resolved value.
+	 * @example
+	 *
+	 * var object = { 'a': [{ 'b': { 'c': 3 } }] };
+	 *
+	 * _.get(object, 'a[0].b.c');
+	 * // => 3
+	 *
+	 * _.get(object, ['a', '0', 'b', 'c']);
+	 * // => 3
+	 *
+	 * _.get(object, 'a.b.c', 'default');
+	 * // => 'default'
+	 */
+	function get(object, path, defaultValue) {
+	  var result = object == null ? undefined : baseGet(object, path);
+	  return result === undefined ? defaultValue : result;
+	}
+
+	/**
+	 * Checks if `path` is a direct or inherited property of `object`.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Object
+	 * @param {Object} object The object to query.
+	 * @param {Array|string} path The path to check.
+	 * @returns {boolean} Returns `true` if `path` exists, else `false`.
+	 * @example
+	 *
+	 * var object = _.create({ 'a': _.create({ 'b': 2 }) });
+	 *
+	 * _.hasIn(object, 'a');
+	 * // => true
+	 *
+	 * _.hasIn(object, 'a.b');
+	 * // => true
+	 *
+	 * _.hasIn(object, ['a', 'b']);
+	 * // => true
+	 *
+	 * _.hasIn(object, 'b');
+	 * // => false
+	 */
+	function hasIn(object, path) {
+	  return object != null && hasPath(object, path, baseHasIn);
+	}
+
+	/**
+	 * Creates an array of the own enumerable property names of `object`.
+	 *
+	 * **Note:** Non-object values are coerced to objects. See the
+	 * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)
+	 * for more details.
+	 *
+	 * @static
+	 * @since 0.1.0
+	 * @memberOf _
+	 * @category Object
+	 * @param {Object} object The object to query.
+	 * @returns {Array} Returns the array of property names.
+	 * @example
+	 *
+	 * function Foo() {
+	 *   this.a = 1;
+	 *   this.b = 2;
+	 * }
+	 *
+	 * Foo.prototype.c = 3;
+	 *
+	 * _.keys(new Foo);
+	 * // => ['a', 'b'] (iteration order is not guaranteed)
+	 *
+	 * _.keys('hi');
+	 * // => ['0', '1']
+	 */
+	function keys(object) {
+	  var isProto = isPrototype(object);
+	  if (!(isProto || isArrayLike(object))) {
+	    return baseKeys(object);
+	  }
+	  var indexes = indexKeys(object),
+	      skipIndexes = !!indexes,
+	      result = indexes || [],
+	      length = result.length;
+
+	  for (var key in object) {
+	    if (baseHas(object, key) &&
+	        !(skipIndexes && (key == 'length' || isIndex(key, length))) &&
+	        !(isProto && key == 'constructor')) {
+	      result.push(key);
+	    }
+	  }
+	  return result;
+	}
+
+	/**
+	 * Creates an array of own enumerable string keyed-value pairs for `object`
+	 * which can be consumed by `_.fromPairs`.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @alias entries
+	 * @category Object
+	 * @param {Object} object The object to query.
+	 * @returns {Array} Returns the new array of key-value pairs.
+	 * @example
+	 *
+	 * function Foo() {
+	 *   this.a = 1;
+	 *   this.b = 2;
+	 * }
+	 *
+	 * Foo.prototype.c = 3;
+	 *
+	 * _.toPairs(new Foo);
+	 * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
+	 */
+	function toPairs(object) {
+	  return baseToPairs(object, keys(object));
+	}
+
+	/**
+	 * This method returns the first argument given to it.
+	 *
+	 * @static
+	 * @since 0.1.0
+	 * @memberOf _
+	 * @category Util
+	 * @param {*} value Any value.
+	 * @returns {*} Returns `value`.
+	 * @example
+	 *
+	 * var object = { 'user': 'fred' };
+	 *
+	 * _.identity(object) === object;
+	 * // => true
+	 */
+	function identity(value) {
+	  return value;
+	}
+
+	/**
+	 * Creates a function that returns the value at `path` of a given object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 2.4.0
+	 * @category Util
+	 * @param {Array|string} path The path of the property to get.
+	 * @returns {Function} Returns the new function.
+	 * @example
+	 *
+	 * var objects = [
+	 *   { 'a': { 'b': 2 } },
+	 *   { 'a': { 'b': 1 } }
+	 * ];
+	 *
+	 * _.map(objects, _.property('a.b'));
+	 * // => [2, 1]
+	 *
+	 * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
+	 * // => [1, 2]
+	 */
+	function property(path) {
+	  return isKey(path) ? baseProperty(path) : basePropertyDeep(path);
+	}
+
+	module.exports = baseIteratee;
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)(module), (function() { return this; }())))
+
+/***/ },
+/* 10 */
+/***/ function(module, exports) {
+
+	module.exports = function(module) {
+		if(!module.webpackPolyfill) {
+			module.deprecate = function() {};
+			module.paths = [];
+			// module.parent = undefined by default
+			module.children = [];
+			module.webpackPolyfill = 1;
+		}
+		return module;
+	}
+
+
+/***/ },
+/* 11 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(module, global) {/**
+	 * lodash 4.7.1 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash modularize exports="npm" -o ./`
+	 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
+	 * Released under MIT license <https://lodash.com/license>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 */
+
+	/** Used as the `TypeError` message for "Functions" methods. */
+	var FUNC_ERROR_TEXT = 'Expected a function';
+
+	/** Used to stand-in for `undefined` hash values. */
+	var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+	/** Used as references for various `Number` constants. */
+	var INFINITY = 1 / 0;
+
+	/** `Object#toString` result references. */
+	var funcTag = '[object Function]',
+	    genTag = '[object GeneratorFunction]',
+	    symbolTag = '[object Symbol]';
+
+	/** Used to match property names within property paths. */
+	var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g;
+
+	/**
+	 * Used to match `RegExp`
+	 * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).
+	 */
+	var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
+
+	/** Used to match backslashes in property paths. */
+	var reEscapeChar = /\\(\\)?/g;
+
+	/** Used to detect host constructors (Safari). */
+	var reIsHostCtor = /^\[object .+?Constructor\]$/;
+
+	/** Used to determine if values are of the language type `Object`. */
+	var objectTypes = {
+	  'function': true,
+	  'object': true
+	};
+
+	/** Detect free variable `exports`. */
+	var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
+	  ? exports
+	  : undefined;
+
+	/** Detect free variable `module`. */
+	var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
+	  ? module
+	  : undefined;
+
+	/** Detect free variable `global` from Node.js. */
+	var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);
+
+	/** Detect free variable `self`. */
+	var freeSelf = checkGlobal(objectTypes[typeof self] && self);
+
+	/** Detect free variable `window`. */
+	var freeWindow = checkGlobal(objectTypes[typeof window] && window);
+
+	/** Detect `this` as the global object. */
+	var thisGlobal = checkGlobal(objectTypes[typeof this] && this);
+
+	/**
+	 * Used as a reference to the global object.
+	 *
+	 * The `this` value is used if it's the global object to avoid Greasemonkey's
+	 * restricted `window` object, otherwise the `window` object is used.
+	 */
+	var root = freeGlobal ||
+	  ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||
+	    freeSelf || thisGlobal || Function('return this')();
+
+	/**
+	 * Checks if `value` is a global object.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {null|Object} Returns `value` if it's a global object, else `null`.
+	 */
+	function checkGlobal(value) {
+	  return (value && value.Object === Object) ? value : null;
+	}
+
+	/**
+	 * Checks if `value` is a host object in IE < 9.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+	 */
+	function isHostObject(value) {
+	  // Many host objects are `Object` objects that can coerce to strings
+	  // despite having improperly defined `toString` methods.
+	  var result = false;
+	  if (value != null && typeof value.toString != 'function') {
+	    try {
+	      result = !!(value + '');
+	    } catch (e) {}
+	  }
+	  return result;
+	}
+
+	/** Used for built-in method references. */
+	var arrayProto = Array.prototype,
+	    objectProto = Object.prototype;
+
+	/** Used to resolve the decompiled source of functions. */
+	var funcToString = Function.prototype.toString;
+
+	/** Used to check objects for own properties. */
+	var hasOwnProperty = objectProto.hasOwnProperty;
+
+	/**
+	 * Used to resolve the
+	 * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+	 * of values.
+	 */
+	var objectToString = objectProto.toString;
+
+	/** Used to detect if a method is native. */
+	var reIsNative = RegExp('^' +
+	  funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+	  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+	);
+
+	/** Built-in value references. */
+	var Symbol = root.Symbol,
+	    splice = arrayProto.splice;
+
+	/* Built-in method references that are verified to be native. */
+	var Map = getNative(root, 'Map'),
+	    nativeCreate = getNative(Object, 'create');
+
+	/** Used to convert symbols to primitives and strings. */
+	var symbolProto = Symbol ? Symbol.prototype : undefined,
+	    symbolToString = symbolProto ? symbolProto.toString : undefined;
+
+	/**
+	 * Creates a hash object.
+	 *
+	 * @private
+	 * @constructor
+	 * @returns {Object} Returns the new hash object.
+	 */
+	function Hash() {}
+
+	/**
+	 * Removes `key` and its value from the hash.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to modify.
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function hashDelete(hash, key) {
+	  return hashHas(hash, key) && delete hash[key];
+	}
+
+	/**
+	 * Gets the hash value for `key`.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to query.
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function hashGet(hash, key) {
+	  if (nativeCreate) {
+	    var result = hash[key];
+	    return result === HASH_UNDEFINED ? undefined : result;
+	  }
+	  return hasOwnProperty.call(hash, key) ? hash[key] : undefined;
+	}
+
+	/**
+	 * Checks if a hash value for `key` exists.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to query.
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function hashHas(hash, key) {
+	  return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);
+	}
+
+	/**
+	 * Sets the hash `key` to `value`.
+	 *
+	 * @private
+	 * @param {Object} hash The hash to modify.
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 */
+	function hashSet(hash, key, value) {
+	  hash[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+	}
+
+	// Avoid inheriting from `Object.prototype` when possible.
+	Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;
+
+	/**
+	 * Creates a map cache object to store key-value pairs.
+	 *
+	 * @private
+	 * @constructor
+	 * @param {Array} [values] The values to cache.
+	 */
+	function MapCache(values) {
+	  var index = -1,
+	      length = values ? values.length : 0;
+
+	  this.clear();
+	  while (++index < length) {
+	    var entry = values[index];
+	    this.set(entry[0], entry[1]);
+	  }
+	}
+
+	/**
+	 * Removes all key-value entries from the map.
+	 *
+	 * @private
+	 * @name clear
+	 * @memberOf MapCache
+	 */
+	function mapClear() {
+	  this.__data__ = {
+	    'hash': new Hash,
+	    'map': Map ? new Map : [],
+	    'string': new Hash
+	  };
+	}
+
+	/**
+	 * Removes `key` and its value from the map.
+	 *
+	 * @private
+	 * @name delete
+	 * @memberOf MapCache
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function mapDelete(key) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    return hashDelete(typeof key == 'string' ? data.string : data.hash, key);
+	  }
+	  return Map ? data.map['delete'](key) : assocDelete(data.map, key);
+	}
+
+	/**
+	 * Gets the map value for `key`.
+	 *
+	 * @private
+	 * @name get
+	 * @memberOf MapCache
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function mapGet(key) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    return hashGet(typeof key == 'string' ? data.string : data.hash, key);
+	  }
+	  return Map ? data.map.get(key) : assocGet(data.map, key);
+	}
+
+	/**
+	 * Checks if a map value for `key` exists.
+	 *
+	 * @private
+	 * @name has
+	 * @memberOf MapCache
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function mapHas(key) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    return hashHas(typeof key == 'string' ? data.string : data.hash, key);
+	  }
+	  return Map ? data.map.has(key) : assocHas(data.map, key);
+	}
+
+	/**
+	 * Sets the map `key` to `value`.
+	 *
+	 * @private
+	 * @name set
+	 * @memberOf MapCache
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 * @returns {Object} Returns the map cache instance.
+	 */
+	function mapSet(key, value) {
+	  var data = this.__data__;
+	  if (isKeyable(key)) {
+	    hashSet(typeof key == 'string' ? data.string : data.hash, key, value);
+	  } else if (Map) {
+	    data.map.set(key, value);
+	  } else {
+	    assocSet(data.map, key, value);
+	  }
+	  return this;
+	}
+
+	// Add methods to `MapCache`.
+	MapCache.prototype.clear = mapClear;
+	MapCache.prototype['delete'] = mapDelete;
+	MapCache.prototype.get = mapGet;
+	MapCache.prototype.has = mapHas;
+	MapCache.prototype.set = mapSet;
+
+	/**
+	 * Removes `key` and its value from the associative array.
+	 *
+	 * @private
+	 * @param {Array} array The array to modify.
+	 * @param {string} key The key of the value to remove.
+	 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	 */
+	function assocDelete(array, key) {
+	  var index = assocIndexOf(array, key);
+	  if (index < 0) {
+	    return false;
+	  }
+	  var lastIndex = array.length - 1;
+	  if (index == lastIndex) {
+	    array.pop();
+	  } else {
+	    splice.call(array, index, 1);
+	  }
+	  return true;
+	}
+
+	/**
+	 * Gets the associative array value for `key`.
+	 *
+	 * @private
+	 * @param {Array} array The array to query.
+	 * @param {string} key The key of the value to get.
+	 * @returns {*} Returns the entry value.
+	 */
+	function assocGet(array, key) {
+	  var index = assocIndexOf(array, key);
+	  return index < 0 ? undefined : array[index][1];
+	}
+
+	/**
+	 * Checks if an associative array value for `key` exists.
+	 *
+	 * @private
+	 * @param {Array} array The array to query.
+	 * @param {string} key The key of the entry to check.
+	 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	 */
+	function assocHas(array, key) {
+	  return assocIndexOf(array, key) > -1;
+	}
+
+	/**
+	 * Gets the index at which the `key` is found in `array` of key-value pairs.
+	 *
+	 * @private
+	 * @param {Array} array The array to search.
+	 * @param {*} key The key to search for.
+	 * @returns {number} Returns the index of the matched value, else `-1`.
+	 */
+	function assocIndexOf(array, key) {
+	  var length = array.length;
+	  while (length--) {
+	    if (eq(array[length][0], key)) {
+	      return length;
+	    }
+	  }
+	  return -1;
+	}
+
+	/**
+	 * Sets the associative array `key` to `value`.
+	 *
+	 * @private
+	 * @param {Array} array The array to modify.
+	 * @param {string} key The key of the value to set.
+	 * @param {*} value The value to set.
+	 */
+	function assocSet(array, key, value) {
+	  var index = assocIndexOf(array, key);
+	  if (index < 0) {
+	    array.push([key, value]);
+	  } else {
+	    array[index][1] = value;
+	  }
+	}
+
+	/**
+	 * Gets the native function at `key` of `object`.
+	 *
+	 * @private
+	 * @param {Object} object The object to query.
+	 * @param {string} key The key of the method to get.
+	 * @returns {*} Returns the function if it's native, else `undefined`.
+	 */
+	function getNative(object, key) {
+	  var value = object[key];
+	  return isNative(value) ? value : undefined;
+	}
+
+	/**
+	 * Checks if `value` is suitable for use as unique object key.
+	 *
+	 * @private
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
+	 */
+	function isKeyable(value) {
+	  var type = typeof value;
+	  return type == 'number' || type == 'boolean' ||
+	    (type == 'string' && value != '__proto__') || value == null;
+	}
+
+	/**
+	 * Converts `string` to a property path array.
+	 *
+	 * @private
+	 * @param {string} string The string to convert.
+	 * @returns {Array} Returns the property path array.
+	 */
+	var stringToPath = memoize(function(string) {
+	  var result = [];
+	  toString(string).replace(rePropName, function(match, number, quote, string) {
+	    result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
+	  });
+	  return result;
+	});
+
+	/**
+	 * Converts `func` to its source code.
+	 *
+	 * @private
+	 * @param {Function} func The function to process.
+	 * @returns {string} Returns the source code.
+	 */
+	function toSource(func) {
+	  if (func != null) {
+	    try {
+	      return funcToString.call(func);
+	    } catch (e) {}
+	    try {
+	      return (func + '');
+	    } catch (e) {}
+	  }
+	  return '';
+	}
+
+	/**
+	 * Creates a function that memoizes the result of `func`. If `resolver` is
+	 * provided, it determines the cache key for storing the result based on the
+	 * arguments provided to the memoized function. By default, the first argument
+	 * provided to the memoized function is used as the map cache key. The `func`
+	 * is invoked with the `this` binding of the memoized function.
+	 *
+	 * **Note:** The cache is exposed as the `cache` property on the memoized
+	 * function. Its creation may be customized by replacing the `_.memoize.Cache`
+	 * constructor with one whose instances implement the
+	 * [`Map`](http://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-map-prototype-object)
+	 * method interface of `delete`, `get`, `has`, and `set`.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Function
+	 * @param {Function} func The function to have its output memoized.
+	 * @param {Function} [resolver] The function to resolve the cache key.
+	 * @returns {Function} Returns the new memoizing function.
+	 * @example
+	 *
+	 * var object = { 'a': 1, 'b': 2 };
+	 * var other = { 'c': 3, 'd': 4 };
+	 *
+	 * var values = _.memoize(_.values);
+	 * values(object);
+	 * // => [1, 2]
+	 *
+	 * values(other);
+	 * // => [3, 4]
+	 *
+	 * object.a = 2;
+	 * values(object);
+	 * // => [1, 2]
+	 *
+	 * // Modify the result cache.
+	 * values.cache.set(object, ['a', 'b']);
+	 * values(object);
+	 * // => ['a', 'b']
+	 *
+	 * // Replace `_.memoize.Cache`.
+	 * _.memoize.Cache = WeakMap;
+	 */
+	function memoize(func, resolver) {
+	  if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
+	    throw new TypeError(FUNC_ERROR_TEXT);
+	  }
+	  var memoized = function() {
+	    var args = arguments,
+	        key = resolver ? resolver.apply(this, args) : args[0],
+	        cache = memoized.cache;
+
+	    if (cache.has(key)) {
+	      return cache.get(key);
+	    }
+	    var result = func.apply(this, args);
+	    memoized.cache = cache.set(key, result);
+	    return result;
+	  };
+	  memoized.cache = new (memoize.Cache || MapCache);
+	  return memoized;
+	}
+
+	// Assign cache to `_.memoize`.
+	memoize.Cache = MapCache;
+
+	/**
+	 * Performs a
+	 * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	 * comparison between two values to determine if they are equivalent.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to compare.
+	 * @param {*} other The other value to compare.
+	 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+	 * @example
+	 *
+	 * var object = { 'user': 'fred' };
+	 * var other = { 'user': 'fred' };
+	 *
+	 * _.eq(object, object);
+	 * // => true
+	 *
+	 * _.eq(object, other);
+	 * // => false
+	 *
+	 * _.eq('a', 'a');
+	 * // => true
+	 *
+	 * _.eq('a', Object('a'));
+	 * // => false
+	 *
+	 * _.eq(NaN, NaN);
+	 * // => true
+	 */
+	function eq(value, other) {
+	  return value === other || (value !== value && other !== other);
+	}
+
+	/**
+	 * Checks if `value` is classified as a `Function` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isFunction(_);
+	 * // => true
+	 *
+	 * _.isFunction(/abc/);
+	 * // => false
+	 */
+	function isFunction(value) {
+	  // The use of `Object#toString` avoids issues with the `typeof` operator
+	  // in Safari 8 which returns 'object' for typed array and weak map constructors,
+	  // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+	  var tag = isObject(value) ? objectToString.call(value) : '';
+	  return tag == funcTag || tag == genTag;
+	}
+
+	/**
+	 * Checks if `value` is the
+	 * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)
+	 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+	 * @example
+	 *
+	 * _.isObject({});
+	 * // => true
+	 *
+	 * _.isObject([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObject(_.noop);
+	 * // => true
+	 *
+	 * _.isObject(null);
+	 * // => false
+	 */
+	function isObject(value) {
+	  var type = typeof value;
+	  return !!value && (type == 'object' || type == 'function');
+	}
+
+	/**
+	 * Checks if `value` is object-like. A value is object-like if it's not `null`
+	 * and has a `typeof` result of "object".
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+	 * @example
+	 *
+	 * _.isObjectLike({});
+	 * // => true
+	 *
+	 * _.isObjectLike([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isObjectLike(_.noop);
+	 * // => false
+	 *
+	 * _.isObjectLike(null);
+	 * // => false
+	 */
+	function isObjectLike(value) {
+	  return !!value && typeof value == 'object';
+	}
+
+	/**
+	 * Checks if `value` is a native function.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 3.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is a native function,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isNative(Array.prototype.push);
+	 * // => true
+	 *
+	 * _.isNative(_);
+	 * // => false
+	 */
+	function isNative(value) {
+	  if (!isObject(value)) {
+	    return false;
+	  }
+	  var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
+	  return pattern.test(toSource(value));
+	}
+
+	/**
+	 * Checks if `value` is classified as a `Symbol` primitive or object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isSymbol(Symbol.iterator);
+	 * // => true
+	 *
+	 * _.isSymbol('abc');
+	 * // => false
+	 */
+	function isSymbol(value) {
+	  return typeof value == 'symbol' ||
+	    (isObjectLike(value) && objectToString.call(value) == symbolTag);
+	}
+
+	/**
+	 * Converts `value` to a string if it's not one. An empty string is returned
+	 * for `null` and `undefined` values. The sign of `-0` is preserved.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 4.0.0
+	 * @category Lang
+	 * @param {*} value The value to process.
+	 * @returns {string} Returns the string.
+	 * @example
+	 *
+	 * _.toString(null);
+	 * // => ''
+	 *
+	 * _.toString(-0);
+	 * // => '-0'
+	 *
+	 * _.toString([1, 2, 3]);
+	 * // => '1,2,3'
+	 */
+	function toString(value) {
+	  // Exit early for strings to avoid a performance hit in some environments.
+	  if (typeof value == 'string') {
+	    return value;
+	  }
+	  if (value == null) {
+	    return '';
+	  }
+	  if (isSymbol(value)) {
+	    return symbolToString ? symbolToString.call(value) : '';
+	  }
+	  var result = (value + '');
+	  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+	}
+
+	module.exports = stringToPath;
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)(module), (function() { return this; }())))
+
+/***/ },
+/* 12 */
+/***/ function(module, exports) {
+
+	module.exports = extend
+
+	var hasOwnProperty = Object.prototype.hasOwnProperty;
+
+	function extend() {
+	    var target = {}
+
+	    for (var i = 0; i < arguments.length; i++) {
+	        var source = arguments[i]
+
+	        for (var key in source) {
+	            if (hasOwnProperty.call(source, key)) {
+	                target[key] = source[key]
+	            }
+	        }
+	    }
+
+	    return target
+	}
+
+
+/***/ },
+/* 13 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var map = __webpack_require__(7)
+	var filter = __webpack_require__(14)
+	var convert = __webpack_require__(16)
+	var protocols = __webpack_require__(19)
+	var varint = __webpack_require__(20)
+
+	// export codec
+	module.exports = {
+	  stringToStringTuples: stringToStringTuples,
+	  stringTuplesToString: stringTuplesToString,
+
+	  tuplesToStringTuples: tuplesToStringTuples,
+	  stringTuplesToTuples: stringTuplesToTuples,
+
+	  bufferToTuples: bufferToTuples,
+	  tuplesToBuffer: tuplesToBuffer,
+
+	  bufferToString: bufferToString,
+	  stringToBuffer: stringToBuffer,
+
+	  fromString: fromString,
+	  fromBuffer: fromBuffer,
+	  validateBuffer: validateBuffer,
+	  isValidBuffer: isValidBuffer,
+	  cleanPath: cleanPath,
+
+	  ParseError: ParseError,
+	  protoFromTuple: protoFromTuple
+	}
+
+	// string -> [[str name, str addr]... ]
+	function stringToStringTuples (str) {
+	  var tuples = []
+	  var parts = str.split('/').slice(1) // skip first empty elem
+	  if (parts.length === 1 && parts[0] === '') {
+	    return []
+	  }
+
+	  for (var p = 0; p < parts.length; p++) {
+	    var part = parts[p]
+	    var proto = protocols(part)
+	    if (proto.size === 0) {
+	      tuples.push([part])
+	      return tuples
+	    }
+
+	    p++ // advance addr part
+	    if (p >= parts.length) {
+	      throw ParseError('invalid address: ' + str)
+	    }
+
+	    tuples.push([part, parts[p]])
+	  }
+	  return tuples
+	}
+
+	// [[str name, str addr]... ] -> string
+	function stringTuplesToString (tuples) {
+	  var parts = []
+	  map(tuples, function (tup) {
+	    var proto = protoFromTuple(tup)
+	    parts.push(proto.name)
+	    if (tup.length > 1) {
+	      parts.push(tup[1])
+	    }
+	  })
+	  if (parts[parts.length - 1] === '') {
+	    parts.pop()
+	  }
+
+	  return '/' + parts.join('/')
+	}
+
+	// [[str name, str addr]... ] -> [[int code, Buffer]... ]
+	function stringTuplesToTuples (tuples) {
+	  return map(tuples, function (tup) {
+	    if (!Array.isArray(tup)) {
+	      tup = [tup]
+	    }
+	    var proto = protoFromTuple(tup)
+	    if (tup.length > 1) {
+	      return [proto.code, convert.toBuffer(proto.code, tup[1])]
+	    }
+	    return [proto.code]
+	  })
+	}
+
+	// [[int code, Buffer]... ] -> [[str name, str addr]... ]
+	function tuplesToStringTuples (tuples) {
+	  return map(tuples, function (tup) {
+	    var proto = protoFromTuple(tup)
+	    if (tup.length > 1) {
+	      return [proto.code, convert.toString(proto.code, tup[1])]
+	    }
+	    return [proto.code]
+	  })
+	}
+
+	// [[int code, Buffer ]... ] -> Buffer
+	function tuplesToBuffer (tuples) {
+	  return fromBuffer(Buffer.concat(map(tuples, function (tup) {
+	    var proto = protoFromTuple(tup)
+	    var buf = new Buffer(varint.encode(proto.code))
+	    if (tup.length > 1) {
+	      buf = Buffer.concat([buf, tup[1]]) // add address buffer
+	    }
+	    return buf
+	  })))
+	}
+
+	// Buffer -> [[int code, Buffer ]... ]
+	function bufferToTuples (buf) {
+	  var tuples = []
+	  for (var i = 0; i < buf.length;) {
+	    var code = varint.decode(buf, i)
+
+	    var proto = protocols(code)
+	    if (!proto) {
+	      throw ParseError('Invalid protocol code: ' + code)
+	    }
+
+	    var size = (proto.size / 8)
+	    code = Number(code)
+	    var addr = buf.slice(i + 1, i + 1 + size)
+	    i += 1 + size
+	    if (i > buf.length) { // did not end _exactly_ at buffer.length
+	      throw ParseError('Invalid address buffer: ' + buf.toString('hex'))
+	    }
+
+	    // ok, tuple seems good.
+	    tuples.push([code, addr])
+	    i = i + varint.decode.bytes - 1
+	  }
+	  return tuples
+	}
+
+	// Buffer -> String
+	function bufferToString (buf) {
+	  var a = bufferToTuples(buf)
+	  var b = tuplesToStringTuples(a)
+	  return stringTuplesToString(b)
+	}
+
+	// String -> Buffer
+	function stringToBuffer (str) {
+	  str = cleanPath(str)
+	  var a = stringToStringTuples(str)
+	  var b = stringTuplesToTuples(a)
+	  return tuplesToBuffer(b)
+	}
+
+	// String -> Buffer
+	function fromString (str) {
+	  return stringToBuffer(str)
+	}
+
+	// Buffer -> Buffer
+	function fromBuffer (buf) {
+	  var err = validateBuffer(buf)
+	  if (err) throw err
+	  return new Buffer(buf) // copy
+	}
+
+	function validateBuffer (buf) {
+	  bufferToTuples(buf) // try to parse. will throw if breaks
+	}
+
+	function isValidBuffer (buf) {
+	  try {
+	    validateBuffer(buf) // try to parse. will throw if breaks
+	    return true
+	  } catch (e) {
+	    return false
+	  }
+	}
+
+	function cleanPath (str) {
+	  return '/' + filter(str.trim().split('/')).join('/')
+	}
+
+	function ParseError (str) {
+	  return new Error('Error parsing address: ' + str)
+	}
+
+	function protoFromTuple (tup) {
+	  var proto = protocols(tup[0])
+	  return proto
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 14 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/**
+	 * lodash 4.3.0 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash modularize exports="npm" -o ./`
+	 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
+	 * Released under MIT license <https://lodash.com/license>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 */
+	var baseFilter = __webpack_require__(15),
+	    baseIteratee = __webpack_require__(9);
+
+	/**
+	 * A specialized version of `_.filter` for arrays without support for
+	 * iteratee shorthands.
+	 *
+	 * @private
+	 * @param {Array} array The array to iterate over.
+	 * @param {Function} predicate The function invoked per iteration.
+	 * @returns {Array} Returns the new filtered array.
+	 */
+	function arrayFilter(array, predicate) {
+	  var index = -1,
+	      length = array.length,
+	      resIndex = 0,
+	      result = [];
+
+	  while (++index < length) {
+	    var value = array[index];
+	    if (predicate(value, index, array)) {
+	      result[resIndex++] = value;
+	    }
+	  }
+	  return result;
+	}
+
+	/**
+	 * Iterates over elements of `collection`, returning an array of all elements
+	 * `predicate` returns truthy for. The predicate is invoked with three
+	 * arguments: (value, index|key, collection).
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @category Collection
+	 * @param {Array|Object} collection The collection to iterate over.
+	 * @param {Array|Function|Object|string} [predicate=_.identity]
+	 *  The function invoked per iteration.
+	 * @returns {Array} Returns the new filtered array.
+	 * @example
+	 *
+	 * var users = [
+	 *   { 'user': 'barney', 'age': 36, 'active': true },
+	 *   { 'user': 'fred',   'age': 40, 'active': false }
+	 * ];
+	 *
+	 * _.filter(users, function(o) { return !o.active; });
+	 * // => objects for ['fred']
+	 *
+	 * // The `_.matches` iteratee shorthand.
+	 * _.filter(users, { 'age': 36, 'active': true });
+	 * // => objects for ['barney']
+	 *
+	 * // The `_.matchesProperty` iteratee shorthand.
+	 * _.filter(users, ['active', false]);
+	 * // => objects for ['fred']
+	 *
+	 * // The `_.property` iteratee shorthand.
+	 * _.filter(users, 'active');
+	 * // => objects for ['barney']
+	 */
+	function filter(collection, predicate) {
+	  var func = isArray(collection) ? arrayFilter : baseFilter;
+	  return func(collection, baseIteratee(predicate, 3));
+	}
+
+	/**
+	 * Checks if `value` is classified as an `Array` object.
+	 *
+	 * @static
+	 * @memberOf _
+	 * @since 0.1.0
+	 * @type {Function}
+	 * @category Lang
+	 * @param {*} value The value to check.
+	 * @returns {boolean} Returns `true` if `value` is correctly classified,
+	 *  else `false`.
+	 * @example
+	 *
+	 * _.isArray([1, 2, 3]);
+	 * // => true
+	 *
+	 * _.isArray(document.body.children);
+	 * // => false
+	 *
+	 * _.isArray('abc');
+	 * // => false
+	 *
+	 * _.isArray(_.noop);
+	 * // => false
+	 */
+	var isArray = Array.isArray;
+
+	module.exports = filter;
+
+
+/***/ },
+/* 15 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/**
+	 * lodash 4.0.1 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash modularize exports="npm" -o ./`
+	 * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 * Available under MIT license <https://lodash.com/license>
+	 */
+	var baseEach = __webpack_require__(8);
+
+	/**
+	 * The base implementation of `_.filter` without support for iteratee shorthands.
+	 *
+	 * @private
+	 * @param {Array|Object} collection The collection to iterate over.
+	 * @param {Function} predicate The function invoked per iteration.
+	 * @returns {Array} Returns the new filtered array.
+	 */
+	function baseFilter(collection, predicate) {
+	  var result = [];
+	  baseEach(collection, function(value, index, collection) {
+	    if (predicate(value, index, collection)) {
+	      result.push(value);
+	    }
+	  });
+	  return result;
+	}
+
+	module.exports = baseFilter;
+
+
+/***/ },
+/* 16 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var ip = __webpack_require__(17)
+	var protocols = __webpack_require__(19)
+
+	module.exports = Convert
+
+	// converts (serializes) addresses
+	function Convert (proto, a) {
+	  if (a instanceof Buffer) {
+	    return Convert.toString(proto, a)
+	  } else {
+	    return Convert.toBuffer(proto, a)
+	  }
+	}
+
+	Convert.toString = function convertToString (proto, buf) {
+	  proto = protocols(proto)
+	  switch (proto.code) {
+	    case 4: // ipv4
+	    case 41: // ipv6
+	      return ip.toString(buf)
+
+	    case 6: // tcp
+	    case 17: // udp
+	    case 33: // dccp
+	    case 132: // sctp
+	      return buf2port(buf)
+	  }
+	  return buf.toString('hex') // no clue. convert to hex
+	}
+
+	Convert.toBuffer = function convertToBuffer (proto, str) {
+	  proto = protocols(proto)
+	  switch (proto.code) {
+	    case 4: // ipv4
+	    case 41: // ipv6
+	      return ip.toBuffer(str)
+
+	    case 6: // tcp
+	    case 17: // udp
+	    case 33: // dccp
+	    case 132: // sctp
+	      return port2buf(parseInt(str, 10))
+	  }
+	  return new Buffer(str, 'hex') // no clue. convert from hex
+	}
+
+	function port2buf (port) {
+	  var buf = new Buffer(2)
+	  buf.writeUInt16BE(port, 0)
+	  return buf
+	}
+
+	function buf2port (buf) {
+	  return buf.readUInt16BE(0)
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 17 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var ip = exports;
+	var Buffer = __webpack_require__(2).Buffer;
+	var os = __webpack_require__(18);
+
+	ip.toBuffer = function(ip, buff, offset) {
+	  offset = ~~offset;
+
+	  var result;
+
+	  if (this.isV4Format(ip)) {
+	    result = buff || new Buffer(offset + 4);
+	    ip.split(/\./g).map(function(byte) {
+	      result[offset++] = parseInt(byte, 10) & 0xff;
+	    });
+	  } else if (this.isV6Format(ip)) {
+	    var sections = ip.split(':', 8);
+
+	    var i;
+	    for (i = 0; i < sections.length; i++) {
+	      var isv4 = this.isV4Format(sections[i]);
+	      var v4Buffer;
+
+	      if (isv4) {
+	        v4Buffer = this.toBuffer(sections[i]);
+	        sections[i] = v4Buffer.slice(0, 2).toString('hex');
+	      }
+
+	      if (v4Buffer && ++i < 8) {
+	        sections.splice(i, 0, v4Buffer.slice(2, 4).toString('hex'));
+	      }
+	    }
+
+	    if (sections[0] === '') {
+	      while (sections.length < 8) sections.unshift('0');
+	    } else if (sections[sections.length - 1] === '') {
+	      while (sections.length < 8) sections.push('0');
+	    } else if (sections.length < 8) {
+	      for (i = 0; i < sections.length && sections[i] !== ''; i++);
+	      var argv = [ i, 1 ];
+	      for (i = 9 - sections.length; i > 0; i--) {
+	        argv.push('0');
+	      }
+	      sections.splice.apply(sections, argv);
+	    }
+
+	    result = buff || new Buffer(offset + 16);
+	    for (i = 0; i < sections.length; i++) {
+	      var word = parseInt(sections[i], 16);
+	      result[offset++] = (word >> 8) & 0xff;
+	      result[offset++] = word & 0xff;
+	    }
+	  }
+
+	  if (!result) {
+	    throw Error('Invalid ip address: ' + ip);
+	  }
+
+	  return result;
+	};
+
+	ip.toString = function(buff, offset, length) {
+	  offset = ~~offset;
+	  length = length || (buff.length - offset);
+
+	  var result = [];
+	  if (length === 4) {
+	    // IPv4
+	    for (var i = 0; i < length; i++) {
+	      result.push(buff[offset + i]);
+	    }
+	    result = result.join('.');
+	  } else if (length === 16) {
+	    // IPv6
+	    for (var i = 0; i < length; i += 2) {
+	      result.push(buff.readUInt16BE(offset + i).toString(16));
+	    }
+	    result = result.join(':');
+	    result = result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3');
+	    result = result.replace(/:{3,4}/, '::');
+	  }
+
+	  return result;
+	};
+
+	var ipv4Regex = /^(\d{1,3}\.){3,3}\d{1,3}$/;
+	var ipv6Regex =
+	    /^(::)?(((\d{1,3}\.){3}(\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;
+
+	ip.isV4Format = function(ip) {
+	  return ipv4Regex.test(ip);
+	};
+
+	ip.isV6Format = function(ip) {
+	  return ipv6Regex.test(ip);
+	};
+	function _normalizeFamily(family) {
+	  return family ? family.toLowerCase() : 'ipv4';
+	}
+
+	ip.fromPrefixLen = function(prefixlen, family) {
+	  if (prefixlen > 32) {
+	    family = 'ipv6';
+	  } else {
+	    family = _normalizeFamily(family);
+	  }
+
+	  var len = 4;
+	  if (family === 'ipv6') {
+	    len = 16;
+	  }
+	  var buff = new Buffer(len);
+
+	  for (var i = 0, n = buff.length; i < n; ++i) {
+	    var bits = 8;
+	    if (prefixlen < 8) {
+	      bits = prefixlen;
+	    }
+	    prefixlen -= bits;
+
+	    buff[i] = ~(0xff >> bits);
+	  }
+
+	  return ip.toString(buff);
+	};
+
+	ip.mask = function(addr, mask) {
+	  addr = ip.toBuffer(addr);
+	  mask = ip.toBuffer(mask);
+
+	  var result = new Buffer(Math.max(addr.length, mask.length));
+
+	  // Same protocol - do bitwise and
+	  if (addr.length === mask.length) {
+	    for (var i = 0; i < addr.length; i++) {
+	      result[i] = addr[i] & mask[i];
+	    }
+	  } else if (mask.length === 4) {
+	    // IPv6 address and IPv4 mask
+	    // (Mask low bits)
+	    for (var i = 0; i < mask.length; i++) {
+	      result[i] = addr[addr.length - 4  + i] & mask[i];
+	    }
+	  } else {
+	    // IPv6 mask and IPv4 addr
+	    for (var i = 0; i < result.length - 6; i++) {
+	      result[i] = 0;
+	    }
+
+	    // ::ffff:ipv4
+	    result[10] = 0xff;
+	    result[11] = 0xff;
+	    for (var i = 0; i < addr.length; i++) {
+	      result[i + 12] = addr[i] & mask[i + 12];
+	    }
+	  }
+
+	  return ip.toString(result);
+	};
+
+	ip.cidr = function(cidrString) {
+	  var cidrParts = cidrString.split('/');
+
+	  var addr = cidrParts[0];
+	  if (cidrParts.length !== 2)
+	    throw new Error('invalid CIDR subnet: ' + addr);
+
+	  var mask = ip.fromPrefixLen(parseInt(cidrParts[1], 10));
+
+	  return ip.mask(addr, mask);
+	};
+
+	ip.subnet = function(addr, mask) {
+	  var networkAddress = ip.toLong(ip.mask(addr, mask));
+
+	  // Calculate the mask's length.
+	  var maskBuffer = ip.toBuffer(mask);
+	  var maskLength = 0;
+
+	  for (var i = 0; i < maskBuffer.length; i++) {
+	    if (maskBuffer[i] === 0xff) {
+	      maskLength += 8;
+	    } else {
+	      var octet = maskBuffer[i] & 0xff;
+	      while (octet) {
+	        octet = (octet << 1) & 0xff;
+	        maskLength++;
+	      }
+	    }
+	  }
+
+	  var numberOfAddresses = Math.pow(2, 32 - maskLength);
+
+	  return {
+	    networkAddress: ip.fromLong(networkAddress),
+	    firstAddress: numberOfAddresses <= 2 ?
+	                    ip.fromLong(networkAddress) :
+	                    ip.fromLong(networkAddress + 1),
+	    lastAddress: numberOfAddresses <= 2 ?
+	                    ip.fromLong(networkAddress + numberOfAddresses - 1) :
+	                    ip.fromLong(networkAddress + numberOfAddresses - 2),
+	    broadcastAddress: ip.fromLong(networkAddress + numberOfAddresses - 1),
+	    subnetMask: mask,
+	    subnetMaskLength: maskLength,
+	    numHosts: numberOfAddresses <= 2 ?
+	                numberOfAddresses : numberOfAddresses - 2,
+	    length: numberOfAddresses,
+	    contains: function(other) {
+	      return networkAddress === ip.toLong(ip.mask(other, mask));
+	    }
+	  };
+	};
+
+	ip.cidrSubnet = function(cidrString) {
+	  var cidrParts = cidrString.split('/');
+
+	  var addr = cidrParts[0];
+	  if (cidrParts.length !== 2)
+	    throw new Error('invalid CIDR subnet: ' + addr);
+
+	  var mask = ip.fromPrefixLen(parseInt(cidrParts[1], 10));
+
+	  return ip.subnet(addr, mask);
+	};
+
+	ip.not = function(addr) {
+	  var buff = ip.toBuffer(addr);
+	  for (var i = 0; i < buff.length; i++) {
+	    buff[i] = 0xff ^ buff[i];
+	  }
+	  return ip.toString(buff);
+	};
+
+	ip.or = function(a, b) {
+	  a = ip.toBuffer(a);
+	  b = ip.toBuffer(b);
+
+	  // same protocol
+	  if (a.length === b.length) {
+	    for (var i = 0; i < a.length; ++i) {
+	      a[i] |= b[i];
+	    }
+	    return ip.toString(a);
+
+	  // mixed protocols
+	  } else {
+	    var buff = a;
+	    var other = b;
+	    if (b.length > a.length) {
+	      buff = b;
+	      other = a;
+	    }
+
+	    var offset = buff.length - other.length;
+	    for (var i = offset; i < buff.length; ++i) {
+	      buff[i] |= other[i - offset];
+	    }
+
+	    return ip.toString(buff);
+	  }
+	};
+
+	ip.isEqual = function(a, b) {
+	  a = ip.toBuffer(a);
+	  b = ip.toBuffer(b);
+
+	  // Same protocol
+	  if (a.length === b.length) {
+	    for (var i = 0; i < a.length; i++) {
+	      if (a[i] !== b[i]) return false;
+	    }
+	    return true;
+	  }
+
+	  // Swap
+	  if (b.length === 4) {
+	    var t = b;
+	    b = a;
+	    a = t;
+	  }
+
+	  // a - IPv4, b - IPv6
+	  for (var i = 0; i < 10; i++) {
+	    if (b[i] !== 0) return false;
+	  }
+
+	  var word = b.readUInt16BE(10);
+	  if (word !== 0 && word !== 0xffff) return false;
+
+	  for (var i = 0; i < 4; i++) {
+	    if (a[i] !== b[i + 12]) return false;
+	  }
+
+	  return true;
+	};
+
+	ip.isPrivate = function(addr) {
+	  return /^(::f{4}:)?10\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i
+	      .test(addr) ||
+	    /^(::f{4}:)?192\.168\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(addr) ||
+	    /^(::f{4}:)?172\.(1[6-9]|2\d|30|31)\.([0-9]{1,3})\.([0-9]{1,3})$/i
+	      .test(addr) ||
+	    /^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(addr) ||
+	    /^(::f{4}:)?169\.254\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(addr) ||
+	    /^f[cd][0-9a-f]{2}:/i.test(addr) ||
+	    /^fe80:/i.test(addr) ||
+	    /^::1$/.test(addr) ||
+	    /^::$/.test(addr);
+	};
+
+	ip.isPublic = function(addr) {
+	  return !ip.isPrivate(addr);
+	};
+
+	ip.isLoopback = function(addr) {
+	  return /^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/
+	      .test(addr) ||
+	    /^fe80::1$/.test(addr) ||
+	    /^::1$/.test(addr) ||
+	    /^::$/.test(addr);
+	};
+
+	ip.loopback = function(family) {
+	  //
+	  // Default to `ipv4`
+	  //
+	  family = _normalizeFamily(family);
+
+	  if (family !== 'ipv4' && family !== 'ipv6') {
+	    throw new Error('family must be ipv4 or ipv6');
+	  }
+
+	  return family === 'ipv4' ? '127.0.0.1' : 'fe80::1';
+	};
+
+	//
+	// ### function address (name, family)
+	// #### @name {string|'public'|'private'} **Optional** Name or security
+	//      of the network interface.
+	// #### @family {ipv4|ipv6} **Optional** IP family of the address (defaults
+	//      to ipv4).
+	//
+	// Returns the address for the network interface on the current system with
+	// the specified `name`:
+	//   * String: First `family` address of the interface.
+	//             If not found see `undefined`.
+	//   * 'public': the first public ip address of family.
+	//   * 'private': the first private ip address of family.
+	//   * undefined: First address with `ipv4` or loopback address `127.0.0.1`.
+	//
+	ip.address = function(name, family) {
+	  var interfaces = os.networkInterfaces();
+	  var all;
+
+	  //
+	  // Default to `ipv4`
+	  //
+	  family = _normalizeFamily(family);
+
+	  //
+	  // If a specific network interface has been named,
+	  // return the address.
+	  //
+	  if (name && name !== 'private' && name !== 'public') {
+	    var res = interfaces[name].filter(function(details) {
+	      var itemFamily = details.family.toLowerCase();
+	      return itemFamily === family;
+	    });
+	    if (res.length === 0)
+	      return undefined;
+	    return res[0].address;
+	  }
+
+	  var all = Object.keys(interfaces).map(function (nic) {
+	    //
+	    // Note: name will only be `public` or `private`
+	    // when this is called.
+	    //
+	    var addresses = interfaces[nic].filter(function (details) {
+	      details.family = details.family.toLowerCase();
+	      if (details.family !== family || ip.isLoopback(details.address)) {
+	        return false;
+	      } else if (!name) {
+	        return true;
+	      }
+
+	      return name === 'public' ? !ip.isPrivate(details.address) :
+	          ip.isPrivate(details.address);
+	    });
+
+	    return addresses.length ? addresses[0].address : undefined;
+	  }).filter(Boolean);
+
+	  return !all.length ? ip.loopback(family) : all[0];
+	};
+
+	ip.toLong = function(ip) {
+	  var ipl = 0;
+	  ip.split('.').forEach(function(octet) {
+	    ipl <<= 8;
+	    ipl += parseInt(octet);
+	  });
+	  return(ipl >>> 0);
+	};
+
+	ip.fromLong = function(ipl) {
+	  return ((ipl >>> 24) + '.' +
+	      (ipl >> 16 & 255) + '.' +
+	      (ipl >> 8 & 255) + '.' +
+	      (ipl & 255) );
+	};
+
+
+/***/ },
+/* 18 */
+/***/ function(module, exports) {
+
+	exports.endianness = function () { return 'LE' };
+
+	exports.hostname = function () {
+	    if (typeof location !== 'undefined') {
+	        return location.hostname
+	    }
+	    else return '';
+	};
+
+	exports.loadavg = function () { return [] };
+
+	exports.uptime = function () { return 0 };
+
+	exports.freemem = function () {
+	    return Number.MAX_VALUE;
+	};
+
+	exports.totalmem = function () {
+	    return Number.MAX_VALUE;
+	};
+
+	exports.cpus = function () { return [] };
+
+	exports.type = function () { return 'Browser' };
+
+	exports.release = function () {
+	    if (typeof navigator !== 'undefined') {
+	        return navigator.appVersion;
+	    }
+	    return '';
+	};
+
+	exports.networkInterfaces
+	= exports.getNetworkInterfaces
+	= function () { return {} };
+
+	exports.arch = function () { return 'javascript' };
+
+	exports.platform = function () { return 'browser' };
+
+	exports.tmpdir = exports.tmpDir = function () {
+	    return '/tmp';
+	};
+
+	exports.EOL = '\n';
+
+
+/***/ },
+/* 19 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var map = __webpack_require__(7)
+
+	module.exports = Protocols
+
+	function Protocols (proto) {
+	  if (typeof (proto) === 'number') {
+	    if (Protocols.codes[proto]) {
+	      return Protocols.codes[proto]
+	    }
+
+	    throw new Error('no protocol with code: ' + proto)
+	  } else if (typeof (proto) === 'string' || proto instanceof String) {
+	    if (Protocols.names[proto]) {
+	      return Protocols.names[proto]
+	    }
+
+	    throw new Error('no protocol with name: ' + proto)
+	  }
+
+	  throw new Error('invalid protocol id type: ' + proto)
+	}
+
+	// replicating table here to:
+	// 1. avoid parsing the csv
+	// 2. ensuring errors in the csv don't screw up code.
+	// 3. changing a number has to happen in two places.
+
+	Protocols.table = [
+	  [4, 32, 'ip4'],
+	  [6, 16, 'tcp'],
+	  [17, 16, 'udp'],
+	  [33, 16, 'dccp'],
+	  [41, 128, 'ip6'],
+	  [132, 16, 'sctp'],
+	  // these require varint for the protocol code
+	  [302, 0, 'utp'],
+	  [480, 0, 'http'],
+	  [443, 0, 'https'],
+	  [477, 0, 'websockets']
+	]
+
+	Protocols.names = {}
+	Protocols.codes = {}
+
+	// populate tables
+	map(Protocols.table, function (e) {
+	  var proto = p.apply(this, e)
+	  Protocols.codes[proto.code] = proto
+	  Protocols.names[proto.name] = proto
+	})
+
+	Protocols.object = p
+
+	function p (code, size, name) {
+	  return {code: code, size: size, name: name}
+	}
+
+
+/***/ },
+/* 20 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = {
+	    encode: __webpack_require__(21)
+	  , decode: __webpack_require__(22)
+	  , encodingLength: __webpack_require__(23)
+	}
+
+
+/***/ },
+/* 21 */
+/***/ function(module, exports) {
+
+	module.exports = encode
+
+	var MSB = 0x80
+	  , REST = 0x7F
+	  , MSBALL = ~REST
+	  , INT = Math.pow(2, 31)
+
+	function encode(num, out, offset) {
+	  out = out || []
+	  offset = offset || 0
+	  var oldOffset = offset
+
+	  while(num >= INT) {
+	    out[offset++] = (num & 0xFF) | MSB
+	    num /= 128
+	  }
+	  while(num & MSBALL) {
+	    out[offset++] = (num & 0xFF) | MSB
+	    num >>>= 7
+	  }
+	  out[offset] = num | 0
+	  
+	  encode.bytes = offset - oldOffset + 1
+	  
+	  return out
+	}
+
+
+/***/ },
+/* 22 */
+/***/ function(module, exports) {
+
+	module.exports = read
+
+	var MSB = 0x80
+	  , REST = 0x7F
+
+	function read(buf, offset) {
+	  var res    = 0
+	    , offset = offset || 0
+	    , shift  = 0
+	    , counter = offset
+	    , b
+	    , l = buf.length
+	  
+	  do {
+	    if(counter >= l) {
+	      read.bytesRead = 0
+	      return undefined
+	    }
+	    b = buf[counter++]
+	    res += shift < 28
+	      ? (b & REST) << shift
+	      : (b & REST) * Math.pow(2, shift)
+	    shift += 7
+	  } while (b >= MSB)
+	  
+	  read.bytes = counter - offset
+	  
+	  return res
+	}
+
+
+/***/ },
+/* 23 */
+/***/ function(module, exports) {
+
+	
+	var N1 = Math.pow(2,  7)
+	var N2 = Math.pow(2, 14)
+	var N3 = Math.pow(2, 21)
+	var N4 = Math.pow(2, 28)
+	var N5 = Math.pow(2, 35)
+	var N6 = Math.pow(2, 42)
+	var N7 = Math.pow(2, 49)
+	var N8 = Math.pow(2, 56)
+	var N9 = Math.pow(2, 63)
+
+	module.exports = function (value) {
+	  return (
+	    value < N1 ? 1
+	  : value < N2 ? 2
+	  : value < N3 ? 3
+	  : value < N4 ? 4
+	  : value < N5 ? 5
+	  : value < N6 ? 6
+	  : value < N7 ? 7
+	  : value < N8 ? 8
+	  : value < N9 ? 9
+	  :              10
+	  )
+	}
+
+
+/***/ },
+/* 24 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	function requireCommands () {
+	  return {
+	    add: __webpack_require__(25),
+	    block: __webpack_require__(137),
+	    cat: __webpack_require__(139),
+	    commands: __webpack_require__(140),
+	    config: __webpack_require__(141),
+	    dht: __webpack_require__(142),
+	    diag: __webpack_require__(143),
+	    id: __webpack_require__(144),
+	    files: __webpack_require__(145),
+	    log: __webpack_require__(146),
+	    ls: __webpack_require__(163),
+	    mount: __webpack_require__(164),
+	    name: __webpack_require__(165),
+	    object: __webpack_require__(166),
+	    pin: __webpack_require__(167),
+	    ping: __webpack_require__(168),
+	    refs: __webpack_require__(169),
+	    swarm: __webpack_require__(170),
+	    update: __webpack_require__(171),
+	    version: __webpack_require__(172)
+	  }
+	}
+
+	function loadCommands (send) {
+	  const files = requireCommands()
+	  const cmds = {}
+
+	  Object.keys(files).forEach((file) => {
+	    cmds[file] = files[file](send)
+	  })
+
+	  return cmds
+	}
+
+	module.exports = loadCommands
+
+
+/***/ },
+/* 25 */
+/***/ function(module, exports, __webpack_require__) {
+
+	const Wreck = __webpack_require__(26)
+
+	module.exports = (send) => {
+	  return function add (files, opts, cb) {
+	    if (typeof (opts) === 'function' && cb === undefined) {
+	      cb = opts
+	      opts = {}
+	    }
+
+	    if (typeof files === 'string' && files.startsWith('http')) {
+	      return Wreck.request('GET', files, null, (err, res) => {
+	        if (err) return cb(err)
+
+	        send('add', null, opts, res, cb)
+	      })
+	    }
+
+	    return send('add', null, opts, files, cb)
+	  }
+	}
+
+
+/***/ },
+/* 26 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer, process) {'use strict';
+
+	// Load modules
+
+	var _keys = __webpack_require__(29);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Events = __webpack_require__(41);
+	var Url = __webpack_require__(42);
+	var Http = __webpack_require__(47);
+	var Https = __webpack_require__(69);
+	var Stream = __webpack_require__(52);
+	var Hoek = __webpack_require__(70);
+	var Boom = __webpack_require__(129);
+	var Payload = __webpack_require__(134);
+	var Recorder = __webpack_require__(135);
+	var Tap = __webpack_require__(136);
+
+	// Declare internals
+
+	var internals = {
+	    jsonRegex: /^application\/[a-z.+-]*json$/,
+	    shallowOptions: ['agent', 'payload', 'downstreamRes', 'beforeRedirect', 'redirected']
+	};
+
+	// new instance is exported as module.exports
+
+	internals.Client = function (defaults) {
+
+	    Events.EventEmitter.call(this);
+
+	    this.agents = {
+	        https: new Https.Agent({ maxSockets: Infinity }),
+	        http: new Http.Agent({ maxSockets: Infinity }),
+	        httpsAllowUnauthorized: new Https.Agent({ maxSockets: Infinity, rejectUnauthorized: false })
+	    };
+
+	    this._defaults = defaults || {};
+	};
+
+	Hoek.inherits(internals.Client, Events.EventEmitter);
+
+	internals.Client.prototype.defaults = function (options) {
+
+	    options = Hoek.applyToDefaultsWithShallow(options, this._defaults, internals.shallowOptions);
+	    return new internals.Client(options);
+	};
+
+	internals.resolveUrl = function (baseUrl, path) {
+
+	    if (!path) {
+	        return baseUrl;
+	    }
+
+	    var parsedBase = Url.parse(baseUrl);
+	    var parsedPath = Url.parse(path);
+
+	    parsedBase.pathname = parsedBase.pathname + parsedPath.pathname;
+	    parsedBase.pathname = parsedBase.pathname.replace(/[/]{2,}/g, '/');
+	    parsedBase.search = parsedPath.search; // Always use the querystring from the path argument
+
+	    return Url.format(parsedBase);
+	};
+
+	internals.Client.prototype.request = function (method, url, options, callback, _trace) {
+	    var _this = this;
+
+	    options = Hoek.applyToDefaultsWithShallow(this._defaults, options || {}, internals.shallowOptions);
+
+	    Hoek.assert(options.payload === null || options.payload === undefined || typeof options.payload === 'string' || options.payload instanceof Stream || Buffer.isBuffer(options.payload), 'options.payload must be a string, a Buffer, or a Stream');
+
+	    Hoek.assert(options.agent === undefined || options.agent === null || typeof options.rejectUnauthorized !== 'boolean', 'options.agent cannot be set to an Agent at the same time as options.rejectUnauthorized is set');
+
+	    Hoek.assert(options.beforeRedirect === undefined || options.beforeRedirect === null || typeof options.beforeRedirect === 'function', 'options.beforeRedirect must be a function');
+
+	    Hoek.assert(options.redirected === undefined || options.redirected === null || typeof options.redirected === 'function', 'options.redirected must be a function');
+
+	    if (options.baseUrl) {
+	        url = internals.resolveUrl(options.baseUrl, url);
+	        delete options.baseUrl;
+	    }
+
+	    var uri = Url.parse(url);
+
+	    if (options.socketPath) {
+	        uri.socketPath = options.socketPath;
+	        delete options.socketPath;
+	    }
+
+	    uri.method = method.toUpperCase();
+	    uri.headers = options.headers || {};
+	    var hasContentLength = (0, _keys2.default)(uri.headers).some(function (key) {
+
+	        return key.toLowerCase() === 'content-length';
+	    });
+
+	    var payloadSupported = uri.method !== 'GET' && uri.method !== 'HEAD' && options.payload !== null && options.payload !== undefined;
+	    if (payloadSupported && (typeof options.payload === 'string' || Buffer.isBuffer(options.payload)) && !hasContentLength) {
+
+	        uri.headers = Hoek.clone(uri.headers);
+	        uri.headers['content-length'] = Buffer.isBuffer(options.payload) ? options.payload.length : Buffer.byteLength(options.payload);
+	    }
+
+	    var redirects = options.hasOwnProperty('redirects') ? options.redirects : false; // Needed to allow 0 as valid value when passed recursively
+
+	    _trace = _trace || [];
+	    _trace.push({ method: uri.method, url: url });
+
+	    var client = uri.protocol === 'https:' ? Https : Http;
+
+	    if (options.rejectUnauthorized !== undefined && uri.protocol === 'https:') {
+	        uri.agent = options.rejectUnauthorized ? this.agents.https : this.agents.httpsAllowUnauthorized;
+	    } else if (options.agent || options.agent === false) {
+	        uri.agent = options.agent;
+	    } else {
+	        uri.agent = uri.protocol === 'https:' ? this.agents.https : this.agents.http;
+	    }
+
+	    if (options.secureProtocol !== undefined) {
+	        uri.secureProtocol = options.secureProtocol;
+	    }
+
+	    var start = Date.now();
+	    var req = client.request(uri);
+
+	    var shadow = null; // A copy of the streamed request payload when redirects are enabled
+
+	    var onResponse = void 0;
+	    var onError = void 0;
+	    var timeoutId = void 0;
+
+	    // Register handlers
+
+	    var finish = function finish(err, res) {
+
+	        if (!callback || err) {
+	            req.abort();
+	        }
+
+	        req.removeListener('response', onResponse);
+	        req.removeListener('error', onError);
+	        req.on('error', Hoek.ignore);
+	        clearTimeout(timeoutId);
+	        _this.emit('response', err, req, res, start, uri);
+
+	        if (callback) {
+	            return callback(err, res);
+	        }
+	    };
+
+	    var finishOnce = Hoek.once(finish);
+
+	    onError = function onError(err) {
+
+	        err.trace = _trace;
+	        return finishOnce(Boom.badGateway('Client request error', err));
+	    };
+
+	    req.once('error', onError);
+
+	    onResponse = function onResponse(res) {
+
+	        // Pass-through response
+
+	        var statusCode = res.statusCode;
+
+	        if (redirects === false || [301, 302, 307, 308].indexOf(statusCode) === -1) {
+
+	            return finishOnce(null, res);
+	        }
+
+	        // Redirection
+
+	        var redirectMethod = statusCode === 301 || statusCode === 302 ? 'GET' : uri.method;
+	        var location = res.headers.location;
+
+	        res.destroy();
+
+	        if (redirects === 0) {
+	            return finishOnce(Boom.badGateway('Maximum redirections reached', _trace));
+	        }
+
+	        if (!location) {
+	            return finishOnce(Boom.badGateway('Received redirection without location', _trace));
+	        }
+
+	        if (!/^https?:/i.test(location)) {
+	            location = Url.resolve(uri.href, location);
+	        }
+
+	        var redirectOptions = Hoek.cloneWithShallow(options, internals.shallowOptions);
+
+	        redirectOptions.payload = shadow || options.payload; // shadow must be ready at this point if set
+	        redirectOptions.redirects = --redirects;
+
+	        if (options.beforeRedirect) {
+	            options.beforeRedirect(redirectMethod, statusCode, location, redirectOptions);
+	        }
+
+	        var redirectReq = _this.request(redirectMethod, location, redirectOptions, finishOnce, _trace);
+
+	        if (options.redirected) {
+	            options.redirected(statusCode, location, redirectReq);
+	        }
+	    };
+
+	    req.once('response', onResponse);
+
+	    if (options.timeout) {
+	        timeoutId = setTimeout(function () {
+
+	            return finishOnce(Boom.gatewayTimeout('Client request timeout'));
+	        }, options.timeout);
+	        delete options.timeout;
+	    }
+
+	    // Write payload
+
+	    if (payloadSupported) {
+	        if (options.payload instanceof Stream) {
+	            var stream = options.payload;
+
+	            if (redirects) {
+	                (function () {
+	                    var collector = new Tap();
+	                    collector.once('finish', function () {
+
+	                        shadow = collector.collect();
+	                    });
+
+	                    stream = options.payload.pipe(collector);
+	                })();
+	            }
+
+	            stream.pipe(req);
+	            return;
+	        }
+
+	        req.write(options.payload);
+	    }
+
+	    // Custom abort method to detect early aborts
+
+	    var _abort = req.abort;
+	    var aborted = false;
+	    req.abort = function () {
+
+	        if (!aborted && !req.res && !req.socket) {
+	            process.nextTick(function () {
+
+	                // Fake an ECONNRESET error
+
+	                var error = new Error('socket hang up');
+	                error.code = 'ECONNRESET';
+	                finishOnce(error);
+	            });
+	        }
+
+	        aborted = true;
+	        return _abort.call(req);
+	    };
+
+	    // Finalize request
+
+	    req.end();
+
+	    return req;
+	};
+
+	// read()
+
+	internals.Client.prototype.read = function (res, options, callback) {
+
+	    options = Hoek.applyToDefaultsWithShallow(options || {}, this._defaults, internals.shallowOptions);
+
+	    // Set stream timeout
+
+	    var clientTimeout = options.timeout;
+	    var clientTimeoutId = null;
+
+	    // Finish once
+
+	    var finish = function finish(err, buffer) {
+
+	        clearTimeout(clientTimeoutId);
+	        reader.removeListener('error', onReaderError);
+	        reader.removeListener('finish', onReaderFinish);
+	        res.removeListener('error', onResError);
+	        res.removeListener('close', onResClose);
+	        res.on('error', Hoek.ignore);
+
+	        if (err || !options.json) {
+
+	            return callback(err, buffer);
+	        }
+
+	        // Parse JSON
+
+	        var result = void 0;
+	        if (buffer.length === 0) {
+	            return callback(null, null);
+	        }
+
+	        if (options.json === 'force') {
+	            result = internals.tryParseBuffer(buffer);
+	            return callback(result.err, result.json);
+	        }
+
+	        // mode is "smart" or true
+
+	        var contentType = res.headers && res.headers['content-type'] || '';
+	        var mime = contentType.split(';')[0].trim().toLowerCase();
+
+	        if (!internals.jsonRegex.test(mime)) {
+	            return callback(null, buffer);
+	        }
+
+	        result = internals.tryParseBuffer(buffer);
+	        return callback(result.err, result.json);
+	    };
+
+	    var finishOnce = Hoek.once(finish);
+
+	    if (clientTimeout && clientTimeout > 0) {
+
+	        clientTimeoutId = setTimeout(function () {
+
+	            finishOnce(Boom.clientTimeout());
+	        }, clientTimeout);
+	    }
+
+	    // Hander errors
+
+	    var onResError = function onResError(err) {
+
+	        return finishOnce(Boom.internal('Payload stream error', err));
+	    };
+
+	    var onResClose = function onResClose() {
+
+	        return finishOnce(Boom.internal('Payload stream closed prematurely'));
+	    };
+
+	    res.once('error', onResError);
+	    res.once('close', onResClose);
+
+	    // Read payload
+
+	    var reader = new Recorder({ maxBytes: options.maxBytes });
+
+	    var onReaderError = function onReaderError(err) {
+
+	        if (res.destroy) {
+	            // GZip stream has no destroy() method
+	            res.destroy();
+	        }
+
+	        return finishOnce(err);
+	    };
+
+	    reader.once('error', onReaderError);
+
+	    var onReaderFinish = function onReaderFinish() {
+
+	        return finishOnce(null, reader.collect());
+	    };
+
+	    reader.once('finish', onReaderFinish);
+
+	    res.pipe(reader);
+	};
+
+	// toReadableStream()
+
+	internals.Client.prototype.toReadableStream = function (payload, encoding) {
+
+	    return new Payload(payload, encoding);
+	};
+
+	// parseCacheControl()
+
+	internals.Client.prototype.parseCacheControl = function (field) {
+
+	    /*
+	        Cache-Control   = 1#cache-directive
+	        cache-directive = token [ "=" ( token / quoted-string ) ]
+	        token           = [^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+
+	        quoted-string   = "(?:[^"\\]|\\.)*"
+	    */
+
+	    //                             1: directive                                        =   2: token                                              3: quoted-string
+	    var regex = /(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g;
+
+	    var header = {};
+	    var error = field.replace(regex, function ($0, $1, $2, $3) {
+
+	        var value = $2 || $3;
+	        header[$1] = value ? value.toLowerCase() : true;
+	        return '';
+	    });
+
+	    if (header['max-age']) {
+	        try {
+	            var maxAge = parseInt(header['max-age'], 10);
+	            if (isNaN(maxAge)) {
+	                return null;
+	            }
+
+	            header['max-age'] = maxAge;
+	        } catch (err) {}
+	    }
+
+	    return error ? null : header;
+	};
+
+	// Shortcuts
+
+	internals.Client.prototype.get = function (uri, options, callback) {
+
+	    return this._shortcutWrap('GET', uri, options, callback);
+	};
+
+	internals.Client.prototype.post = function (uri, options, callback) {
+
+	    return this._shortcutWrap('POST', uri, options, callback);
+	};
+
+	internals.Client.prototype.patch = function (uri, options, callback) {
+
+	    return this._shortcutWrap('PATCH', uri, options, callback);
+	};
+
+	internals.Client.prototype.put = function (uri, options, callback) {
+
+	    return this._shortcutWrap('PUT', uri, options, callback);
+	};
+
+	internals.Client.prototype.delete = function (uri, options, callback) {
+
+	    return this._shortcutWrap('DELETE', uri, options, callback);
+	};
+
+	// Wrapper so that shortcut can be optimized with required params
+
+	internals.Client.prototype._shortcutWrap = function (method, uri /* [options], callback */) {
+
+	    var options = typeof arguments[2] === 'function' ? {} : arguments[2];
+	    var callback = typeof arguments[2] === 'function' ? arguments[2] : arguments[3];
+
+	    return this._shortcut(method, uri, options, callback);
+	};
+
+	internals.Client.prototype._shortcut = function (method, uri, options, callback) {
+	    var _this2 = this;
+
+	    return this.request(method, uri, options, function (err, res) {
+
+	        if (err) {
+	            return callback(err);
+	        }
+
+	        _this2.read(res, options, function (err, payload) {
+
+	            return callback(err, res, payload);
+	        });
+	    });
+	};
+
+	internals.tryParseBuffer = function (buffer) {
+
+	    var result = {
+	        json: null,
+	        err: null
+	    };
+	    try {
+	        var json = JSON.parse(buffer.toString());
+	        result.json = json;
+	    } catch (err) {
+	        result.err = err;
+	    }
+	    return result;
+	};
+
+	module.exports = new internals.Client();
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, __webpack_require__(27)))
+
+/***/ },
+/* 27 */
+/***/ function(module, exports, __webpack_require__) {
+
+	exports.nextTick = function nextTick(fn) {
+		setTimeout(fn, 0);
+	};
+
+	exports.platform = exports.arch = 
+	exports.execPath = exports.title = 'browser';
+	exports.pid = 1;
+	exports.browser = true;
+	exports.env = {};
+	exports.argv = [];
+
+	exports.binding = function (name) {
+		throw new Error('No such module. (Possibly not yet loaded)')
+	};
+
+	(function () {
+	    var cwd = '/';
+	    var path;
+	    exports.cwd = function () { return cwd };
+	    exports.chdir = function (dir) {
+	        if (!path) path = __webpack_require__(28);
+	        cwd = path.resolve(dir, cwd);
+	    };
+	})();
+
+	exports.exit = exports.kill = 
+	exports.umask = exports.dlopen = 
+	exports.uptime = exports.memoryUsage = 
+	exports.uvCounters = function() {};
+	exports.features = {};
+
+
+/***/ },
+/* 28 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// resolves . and .. elements in a path array with directory names there
+	// must be no slashes, empty elements, or device names (c:\) in the array
+	// (so also no leading and trailing slashes - it does not distinguish
+	// relative and absolute paths)
+	function normalizeArray(parts, allowAboveRoot) {
+	  // if the path tries to go above the root, `up` ends up > 0
+	  var up = 0;
+	  for (var i = parts.length - 1; i >= 0; i--) {
+	    var last = parts[i];
+	    if (last === '.') {
+	      parts.splice(i, 1);
+	    } else if (last === '..') {
+	      parts.splice(i, 1);
+	      up++;
+	    } else if (up) {
+	      parts.splice(i, 1);
+	      up--;
+	    }
+	  }
+
+	  // if the path is allowed to go above the root, restore leading ..s
+	  if (allowAboveRoot) {
+	    for (; up--; up) {
+	      parts.unshift('..');
+	    }
+	  }
+
+	  return parts;
+	}
+
+	// Split a filename into [root, dir, basename, ext], unix version
+	// 'root' is just a slash, or nothing.
+	var splitPathRe =
+	    /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
+	var splitPath = function(filename) {
+	  return splitPathRe.exec(filename).slice(1);
+	};
+
+	// path.resolve([from ...], to)
+	// posix version
+	exports.resolve = function() {
+	  var resolvedPath = '',
+	      resolvedAbsolute = false;
+
+	  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
+	    var path = (i >= 0) ? arguments[i] : process.cwd();
+
+	    // Skip empty and invalid entries
+	    if (typeof path !== 'string') {
+	      throw new TypeError('Arguments to path.resolve must be strings');
+	    } else if (!path) {
+	      continue;
+	    }
+
+	    resolvedPath = path + '/' + resolvedPath;
+	    resolvedAbsolute = path.charAt(0) === '/';
+	  }
+
+	  // At this point the path should be resolved to a full absolute path, but
+	  // handle relative paths to be safe (might happen when process.cwd() fails)
+
+	  // Normalize the path
+	  resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
+	    return !!p;
+	  }), !resolvedAbsolute).join('/');
+
+	  return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
+	};
+
+	// path.normalize(path)
+	// posix version
+	exports.normalize = function(path) {
+	  var isAbsolute = exports.isAbsolute(path),
+	      trailingSlash = substr(path, -1) === '/';
+
+	  // Normalize the path
+	  path = normalizeArray(filter(path.split('/'), function(p) {
+	    return !!p;
+	  }), !isAbsolute).join('/');
+
+	  if (!path && !isAbsolute) {
+	    path = '.';
+	  }
+	  if (path && trailingSlash) {
+	    path += '/';
+	  }
+
+	  return (isAbsolute ? '/' : '') + path;
+	};
+
+	// posix version
+	exports.isAbsolute = function(path) {
+	  return path.charAt(0) === '/';
+	};
+
+	// posix version
+	exports.join = function() {
+	  var paths = Array.prototype.slice.call(arguments, 0);
+	  return exports.normalize(filter(paths, function(p, index) {
+	    if (typeof p !== 'string') {
+	      throw new TypeError('Arguments to path.join must be strings');
+	    }
+	    return p;
+	  }).join('/'));
+	};
+
+
+	// path.relative(from, to)
+	// posix version
+	exports.relative = function(from, to) {
+	  from = exports.resolve(from).substr(1);
+	  to = exports.resolve(to).substr(1);
+
+	  function trim(arr) {
+	    var start = 0;
+	    for (; start < arr.length; start++) {
+	      if (arr[start] !== '') break;
+	    }
+
+	    var end = arr.length - 1;
+	    for (; end >= 0; end--) {
+	      if (arr[end] !== '') break;
+	    }
+
+	    if (start > end) return [];
+	    return arr.slice(start, end - start + 1);
+	  }
+
+	  var fromParts = trim(from.split('/'));
+	  var toParts = trim(to.split('/'));
+
+	  var length = Math.min(fromParts.length, toParts.length);
+	  var samePartsLength = length;
+	  for (var i = 0; i < length; i++) {
+	    if (fromParts[i] !== toParts[i]) {
+	      samePartsLength = i;
+	      break;
+	    }
+	  }
+
+	  var outputParts = [];
+	  for (var i = samePartsLength; i < fromParts.length; i++) {
+	    outputParts.push('..');
+	  }
+
+	  outputParts = outputParts.concat(toParts.slice(samePartsLength));
+
+	  return outputParts.join('/');
+	};
+
+	exports.sep = '/';
+	exports.delimiter = ':';
+
+	exports.dirname = function(path) {
+	  var result = splitPath(path),
+	      root = result[0],
+	      dir = result[1];
+
+	  if (!root && !dir) {
+	    // No dirname whatsoever
+	    return '.';
+	  }
+
+	  if (dir) {
+	    // It has a dirname, strip trailing slash
+	    dir = dir.substr(0, dir.length - 1);
+	  }
+
+	  return root + dir;
+	};
+
+
+	exports.basename = function(path, ext) {
+	  var f = splitPath(path)[2];
+	  // TODO: make this comparison case-insensitive on windows?
+	  if (ext && f.substr(-1 * ext.length) === ext) {
+	    f = f.substr(0, f.length - ext.length);
+	  }
+	  return f;
+	};
+
+
+	exports.extname = function(path) {
+	  return splitPath(path)[3];
+	};
+
+	function filter (xs, f) {
+	    if (xs.filter) return xs.filter(f);
+	    var res = [];
+	    for (var i = 0; i < xs.length; i++) {
+	        if (f(xs[i], i, xs)) res.push(xs[i]);
+	    }
+	    return res;
+	}
+
+	// String.prototype.substr - negative index don't work in IE8
+	var substr = 'ab'.substr(-1) === 'b'
+	    ? function (str, start, len) { return str.substr(start, len) }
+	    : function (str, start, len) {
+	        if (start < 0) start = str.length + start;
+	        return str.substr(start, len);
+	    }
+	;
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 29 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(30), __esModule: true };
+
+/***/ },
+/* 30 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(31);
+	module.exports = __webpack_require__(37).Object.keys;
+
+/***/ },
+/* 31 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.14 Object.keys(O)
+	var toObject = __webpack_require__(32);
+
+	__webpack_require__(34)('keys', function($keys){
+	  return function keys(it){
+	    return $keys(toObject(it));
+	  };
+	});
+
+/***/ },
+/* 32 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.1.13 ToObject(argument)
+	var defined = __webpack_require__(33);
+	module.exports = function(it){
+	  return Object(defined(it));
+	};
+
+/***/ },
+/* 33 */
+/***/ function(module, exports) {
+
+	// 7.2.1 RequireObjectCoercible(argument)
+	module.exports = function(it){
+	  if(it == undefined)throw TypeError("Can't call method on  " + it);
+	  return it;
+	};
+
+/***/ },
+/* 34 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// most Object methods by ES6 should accept primitives
+	var $export = __webpack_require__(35)
+	  , core    = __webpack_require__(37)
+	  , fails   = __webpack_require__(40);
+	module.exports = function(KEY, exec){
+	  var fn  = (core.Object || {})[KEY] || Object[KEY]
+	    , exp = {};
+	  exp[KEY] = exec(fn);
+	  $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
+	};
+
+/***/ },
+/* 35 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global    = __webpack_require__(36)
+	  , core      = __webpack_require__(37)
+	  , ctx       = __webpack_require__(38)
+	  , PROTOTYPE = 'prototype';
+
+	var $export = function(type, name, source){
+	  var IS_FORCED = type & $export.F
+	    , IS_GLOBAL = type & $export.G
+	    , IS_STATIC = type & $export.S
+	    , IS_PROTO  = type & $export.P
+	    , IS_BIND   = type & $export.B
+	    , IS_WRAP   = type & $export.W
+	    , exports   = IS_GLOBAL ? core : core[name] || (core[name] = {})
+	    , target    = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
+	    , key, own, out;
+	  if(IS_GLOBAL)source = name;
+	  for(key in source){
+	    // contains in native
+	    own = !IS_FORCED && target && key in target;
+	    if(own && key in exports)continue;
+	    // export native or passed
+	    out = own ? target[key] : source[key];
+	    // prevent global pollution for namespaces
+	    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
+	    // bind timers to global for call from export context
+	    : IS_BIND && own ? ctx(out, global)
+	    // wrap global constructors for prevent change them in library
+	    : IS_WRAP && target[key] == out ? (function(C){
+	      var F = function(param){
+	        return this instanceof C ? new C(param) : C(param);
+	      };
+	      F[PROTOTYPE] = C[PROTOTYPE];
+	      return F;
+	    // make static versions for prototype methods
+	    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
+	    if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
+	  }
+	};
+	// type bitmap
+	$export.F = 1;  // forced
+	$export.G = 2;  // global
+	$export.S = 4;  // static
+	$export.P = 8;  // proto
+	$export.B = 16; // bind
+	$export.W = 32; // wrap
+	module.exports = $export;
+
+/***/ },
+/* 36 */
+/***/ function(module, exports) {
+
+	// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+	var global = module.exports = typeof window != 'undefined' && window.Math == Math
+	  ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
+	if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
+
+/***/ },
+/* 37 */
+/***/ function(module, exports) {
+
+	var core = module.exports = {version: '1.2.6'};
+	if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
+
+/***/ },
+/* 38 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// optional / simple context binding
+	var aFunction = __webpack_require__(39);
+	module.exports = function(fn, that, length){
+	  aFunction(fn);
+	  if(that === undefined)return fn;
+	  switch(length){
+	    case 1: return function(a){
+	      return fn.call(that, a);
+	    };
+	    case 2: return function(a, b){
+	      return fn.call(that, a, b);
+	    };
+	    case 3: return function(a, b, c){
+	      return fn.call(that, a, b, c);
+	    };
+	  }
+	  return function(/* ...args */){
+	    return fn.apply(that, arguments);
+	  };
+	};
+
+/***/ },
+/* 39 */
+/***/ function(module, exports) {
+
+	module.exports = function(it){
+	  if(typeof it != 'function')throw TypeError(it + ' is not a function!');
+	  return it;
+	};
+
+/***/ },
+/* 40 */
+/***/ function(module, exports) {
+
+	module.exports = function(exec){
+	  try {
+	    return !!exec();
+	  } catch(e){
+	    return true;
+	  }
+	};
+
+/***/ },
+/* 41 */
+/***/ function(module, exports) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	function EventEmitter() {
+	  this._events = this._events || {};
+	  this._maxListeners = this._maxListeners || undefined;
+	}
+	module.exports = EventEmitter;
+
+	// Backwards-compat with node 0.10.x
+	EventEmitter.EventEmitter = EventEmitter;
+
+	EventEmitter.prototype._events = undefined;
+	EventEmitter.prototype._maxListeners = undefined;
+
+	// By default EventEmitters will print a warning if more than 10 listeners are
+	// added to it. This is a useful default which helps finding memory leaks.
+	EventEmitter.defaultMaxListeners = 10;
+
+	// Obviously not all Emitters should be limited to 10. This function allows
+	// that to be increased. Set to zero for unlimited.
+	EventEmitter.prototype.setMaxListeners = function(n) {
+	  if (!isNumber(n) || n < 0 || isNaN(n))
+	    throw TypeError('n must be a positive number');
+	  this._maxListeners = n;
+	  return this;
+	};
+
+	EventEmitter.prototype.emit = function(type) {
+	  var er, handler, len, args, i, listeners;
+
+	  if (!this._events)
+	    this._events = {};
+
+	  // If there is no 'error' event listener then throw.
+	  if (type === 'error') {
+	    if (!this._events.error ||
+	        (isObject(this._events.error) && !this._events.error.length)) {
+	      er = arguments[1];
+	      if (er instanceof Error) {
+	        throw er; // Unhandled 'error' event
+	      }
+	      throw TypeError('Uncaught, unspecified "error" event.');
+	    }
+	  }
+
+	  handler = this._events[type];
+
+	  if (isUndefined(handler))
+	    return false;
+
+	  if (isFunction(handler)) {
+	    switch (arguments.length) {
+	      // fast cases
+	      case 1:
+	        handler.call(this);
+	        break;
+	      case 2:
+	        handler.call(this, arguments[1]);
+	        break;
+	      case 3:
+	        handler.call(this, arguments[1], arguments[2]);
+	        break;
+	      // slower
+	      default:
+	        args = Array.prototype.slice.call(arguments, 1);
+	        handler.apply(this, args);
+	    }
+	  } else if (isObject(handler)) {
+	    args = Array.prototype.slice.call(arguments, 1);
+	    listeners = handler.slice();
+	    len = listeners.length;
+	    for (i = 0; i < len; i++)
+	      listeners[i].apply(this, args);
+	  }
+
+	  return true;
+	};
+
+	EventEmitter.prototype.addListener = function(type, listener) {
+	  var m;
+
+	  if (!isFunction(listener))
+	    throw TypeError('listener must be a function');
+
+	  if (!this._events)
+	    this._events = {};
+
+	  // To avoid recursion in the case that type === "newListener"! Before
+	  // adding it to the listeners, first emit "newListener".
+	  if (this._events.newListener)
+	    this.emit('newListener', type,
+	              isFunction(listener.listener) ?
+	              listener.listener : listener);
+
+	  if (!this._events[type])
+	    // Optimize the case of one listener. Don't need the extra array object.
+	    this._events[type] = listener;
+	  else if (isObject(this._events[type]))
+	    // If we've already got an array, just append.
+	    this._events[type].push(listener);
+	  else
+	    // Adding the second element, need to change to array.
+	    this._events[type] = [this._events[type], listener];
+
+	  // Check for listener leak
+	  if (isObject(this._events[type]) && !this._events[type].warned) {
+	    if (!isUndefined(this._maxListeners)) {
+	      m = this._maxListeners;
+	    } else {
+	      m = EventEmitter.defaultMaxListeners;
+	    }
+
+	    if (m && m > 0 && this._events[type].length > m) {
+	      this._events[type].warned = true;
+	      console.error('(node) warning: possible EventEmitter memory ' +
+	                    'leak detected. %d listeners added. ' +
+	                    'Use emitter.setMaxListeners() to increase limit.',
+	                    this._events[type].length);
+	      if (typeof console.trace === 'function') {
+	        // not supported in IE 10
+	        console.trace();
+	      }
+	    }
+	  }
+
+	  return this;
+	};
+
+	EventEmitter.prototype.on = EventEmitter.prototype.addListener;
+
+	EventEmitter.prototype.once = function(type, listener) {
+	  if (!isFunction(listener))
+	    throw TypeError('listener must be a function');
+
+	  var fired = false;
+
+	  function g() {
+	    this.removeListener(type, g);
+
+	    if (!fired) {
+	      fired = true;
+	      listener.apply(this, arguments);
+	    }
+	  }
+
+	  g.listener = listener;
+	  this.on(type, g);
+
+	  return this;
+	};
+
+	// emits a 'removeListener' event iff the listener was removed
+	EventEmitter.prototype.removeListener = function(type, listener) {
+	  var list, position, length, i;
+
+	  if (!isFunction(listener))
+	    throw TypeError('listener must be a function');
+
+	  if (!this._events || !this._events[type])
+	    return this;
+
+	  list = this._events[type];
+	  length = list.length;
+	  position = -1;
+
+	  if (list === listener ||
+	      (isFunction(list.listener) && list.listener === listener)) {
+	    delete this._events[type];
+	    if (this._events.removeListener)
+	      this.emit('removeListener', type, listener);
+
+	  } else if (isObject(list)) {
+	    for (i = length; i-- > 0;) {
+	      if (list[i] === listener ||
+	          (list[i].listener && list[i].listener === listener)) {
+	        position = i;
+	        break;
+	      }
+	    }
+
+	    if (position < 0)
+	      return this;
+
+	    if (list.length === 1) {
+	      list.length = 0;
+	      delete this._events[type];
+	    } else {
+	      list.splice(position, 1);
+	    }
+
+	    if (this._events.removeListener)
+	      this.emit('removeListener', type, listener);
+	  }
+
+	  return this;
+	};
+
+	EventEmitter.prototype.removeAllListeners = function(type) {
+	  var key, listeners;
+
+	  if (!this._events)
+	    return this;
+
+	  // not listening for removeListener, no need to emit
+	  if (!this._events.removeListener) {
+	    if (arguments.length === 0)
+	      this._events = {};
+	    else if (this._events[type])
+	      delete this._events[type];
+	    return this;
+	  }
+
+	  // emit removeListener for all listeners on all events
+	  if (arguments.length === 0) {
+	    for (key in this._events) {
+	      if (key === 'removeListener') continue;
+	      this.removeAllListeners(key);
+	    }
+	    this.removeAllListeners('removeListener');
+	    this._events = {};
+	    return this;
+	  }
+
+	  listeners = this._events[type];
+
+	  if (isFunction(listeners)) {
+	    this.removeListener(type, listeners);
+	  } else if (listeners) {
+	    // LIFO order
+	    while (listeners.length)
+	      this.removeListener(type, listeners[listeners.length - 1]);
+	  }
+	  delete this._events[type];
+
+	  return this;
+	};
+
+	EventEmitter.prototype.listeners = function(type) {
+	  var ret;
+	  if (!this._events || !this._events[type])
+	    ret = [];
+	  else if (isFunction(this._events[type]))
+	    ret = [this._events[type]];
+	  else
+	    ret = this._events[type].slice();
+	  return ret;
+	};
+
+	EventEmitter.prototype.listenerCount = function(type) {
+	  if (this._events) {
+	    var evlistener = this._events[type];
+
+	    if (isFunction(evlistener))
+	      return 1;
+	    else if (evlistener)
+	      return evlistener.length;
+	  }
+	  return 0;
+	};
+
+	EventEmitter.listenerCount = function(emitter, type) {
+	  return emitter.listenerCount(type);
+	};
+
+	function isFunction(arg) {
+	  return typeof arg === 'function';
+	}
+
+	function isNumber(arg) {
+	  return typeof arg === 'number';
+	}
+
+	function isObject(arg) {
+	  return typeof arg === 'object' && arg !== null;
+	}
+
+	function isUndefined(arg) {
+	  return arg === void 0;
+	}
+
+
+/***/ },
+/* 42 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	var punycode = __webpack_require__(43);
+
+	exports.parse = urlParse;
+	exports.resolve = urlResolve;
+	exports.resolveObject = urlResolveObject;
+	exports.format = urlFormat;
+
+	exports.Url = Url;
+
+	function Url() {
+	  this.protocol = null;
+	  this.slashes = null;
+	  this.auth = null;
+	  this.host = null;
+	  this.port = null;
+	  this.hostname = null;
+	  this.hash = null;
+	  this.search = null;
+	  this.query = null;
+	  this.pathname = null;
+	  this.path = null;
+	  this.href = null;
+	}
+
+	// Reference: RFC 3986, RFC 1808, RFC 2396
+
+	// define these here so at least they only have to be
+	// compiled once on the first module load.
+	var protocolPattern = /^([a-z0-9.+-]+:)/i,
+	    portPattern = /:[0-9]*$/,
+
+	    // RFC 2396: characters reserved for delimiting URLs.
+	    // We actually just auto-escape these.
+	    delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'],
+
+	    // RFC 2396: characters not allowed for various reasons.
+	    unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims),
+
+	    // Allowed by RFCs, but cause of XSS attacks.  Always escape these.
+	    autoEscape = ['\''].concat(unwise),
+	    // Characters that are never ever allowed in a hostname.
+	    // Note that any invalid chars are also handled, but these
+	    // are the ones that are *expected* to be seen, so we fast-path
+	    // them.
+	    nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),
+	    hostEndingChars = ['/', '?', '#'],
+	    hostnameMaxLen = 255,
+	    hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,
+	    hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,
+	    // protocols that can allow "unsafe" and "unwise" chars.
+	    unsafeProtocol = {
+	      'javascript': true,
+	      'javascript:': true
+	    },
+	    // protocols that never have a hostname.
+	    hostlessProtocol = {
+	      'javascript': true,
+	      'javascript:': true
+	    },
+	    // protocols that always contain a // bit.
+	    slashedProtocol = {
+	      'http': true,
+	      'https': true,
+	      'ftp': true,
+	      'gopher': true,
+	      'file': true,
+	      'http:': true,
+	      'https:': true,
+	      'ftp:': true,
+	      'gopher:': true,
+	      'file:': true
+	    },
+	    querystring = __webpack_require__(44);
+
+	function urlParse(url, parseQueryString, slashesDenoteHost) {
+	  if (url && isObject(url) && url instanceof Url) return url;
+
+	  var u = new Url;
+	  u.parse(url, parseQueryString, slashesDenoteHost);
+	  return u;
+	}
+
+	Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
+	  if (!isString(url)) {
+	    throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
+	  }
+
+	  var rest = url;
+
+	  // trim before proceeding.
+	  // This is to support parse stuff like "  http://foo.com  \n"
+	  rest = rest.trim();
+
+	  var proto = protocolPattern.exec(rest);
+	  if (proto) {
+	    proto = proto[0];
+	    var lowerProto = proto.toLowerCase();
+	    this.protocol = lowerProto;
+	    rest = rest.substr(proto.length);
+	  }
+
+	  // figure out if it's got a host
+	  // user@server is *always* interpreted as a hostname, and url
+	  // resolution will treat //foo/bar as host=foo,path=bar because that's
+	  // how the browser resolves relative URLs.
+	  if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
+	    var slashes = rest.substr(0, 2) === '//';
+	    if (slashes && !(proto && hostlessProtocol[proto])) {
+	      rest = rest.substr(2);
+	      this.slashes = true;
+	    }
+	  }
+
+	  if (!hostlessProtocol[proto] &&
+	      (slashes || (proto && !slashedProtocol[proto]))) {
+
+	    // there's a hostname.
+	    // the first instance of /, ?, ;, or # ends the host.
+	    //
+	    // If there is an @ in the hostname, then non-host chars *are* allowed
+	    // to the left of the last @ sign, unless some host-ending character
+	    // comes *before* the @-sign.
+	    // URLs are obnoxious.
+	    //
+	    // ex:
+	    // http://a@b@c/ => user:a@b host:c
+	    // http://a@b?@c => user:a host:c path:/?@c
+
+	    // v0.12 TODO(isaacs): This is not quite how Chrome does things.
+	    // Review our test case against browsers more comprehensively.
+
+	    // find the first instance of any hostEndingChars
+	    var hostEnd = -1;
+	    for (var i = 0; i < hostEndingChars.length; i++) {
+	      var hec = rest.indexOf(hostEndingChars[i]);
+	      if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
+	        hostEnd = hec;
+	    }
+
+	    // at this point, either we have an explicit point where the
+	    // auth portion cannot go past, or the last @ char is the decider.
+	    var auth, atSign;
+	    if (hostEnd === -1) {
+	      // atSign can be anywhere.
+	      atSign = rest.lastIndexOf('@');
+	    } else {
+	      // atSign must be in auth portion.
+	      // http://a@b/c@d => host:b auth:a path:/c@d
+	      atSign = rest.lastIndexOf('@', hostEnd);
+	    }
+
+	    // Now we have a portion which is definitely the auth.
+	    // Pull that off.
+	    if (atSign !== -1) {
+	      auth = rest.slice(0, atSign);
+	      rest = rest.slice(atSign + 1);
+	      this.auth = decodeURIComponent(auth);
+	    }
+
+	    // the host is the remaining to the left of the first non-host char
+	    hostEnd = -1;
+	    for (var i = 0; i < nonHostChars.length; i++) {
+	      var hec = rest.indexOf(nonHostChars[i]);
+	      if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
+	        hostEnd = hec;
+	    }
+	    // if we still have not hit it, then the entire thing is a host.
+	    if (hostEnd === -1)
+	      hostEnd = rest.length;
+
+	    this.host = rest.slice(0, hostEnd);
+	    rest = rest.slice(hostEnd);
+
+	    // pull out port.
+	    this.parseHost();
+
+	    // we've indicated that there is a hostname,
+	    // so even if it's empty, it has to be present.
+	    this.hostname = this.hostname || '';
+
+	    // if hostname begins with [ and ends with ]
+	    // assume that it's an IPv6 address.
+	    var ipv6Hostname = this.hostname[0] === '[' &&
+	        this.hostname[this.hostname.length - 1] === ']';
+
+	    // validate a little.
+	    if (!ipv6Hostname) {
+	      var hostparts = this.hostname.split(/\./);
+	      for (var i = 0, l = hostparts.length; i < l; i++) {
+	        var part = hostparts[i];
+	        if (!part) continue;
+	        if (!part.match(hostnamePartPattern)) {
+	          var newpart = '';
+	          for (var j = 0, k = part.length; j < k; j++) {
+	            if (part.charCodeAt(j) > 127) {
+	              // we replace non-ASCII char with a temporary placeholder
+	              // we need this to make sure size of hostname is not
+	              // broken by replacing non-ASCII by nothing
+	              newpart += 'x';
+	            } else {
+	              newpart += part[j];
+	            }
+	          }
+	          // we test again with ASCII char only
+	          if (!newpart.match(hostnamePartPattern)) {
+	            var validParts = hostparts.slice(0, i);
+	            var notHost = hostparts.slice(i + 1);
+	            var bit = part.match(hostnamePartStart);
+	            if (bit) {
+	              validParts.push(bit[1]);
+	              notHost.unshift(bit[2]);
+	            }
+	            if (notHost.length) {
+	              rest = '/' + notHost.join('.') + rest;
+	            }
+	            this.hostname = validParts.join('.');
+	            break;
+	          }
+	        }
+	      }
+	    }
+
+	    if (this.hostname.length > hostnameMaxLen) {
+	      this.hostname = '';
+	    } else {
+	      // hostnames are always lower case.
+	      this.hostname = this.hostname.toLowerCase();
+	    }
+
+	    if (!ipv6Hostname) {
+	      // IDNA Support: Returns a puny coded representation of "domain".
+	      // It only converts the part of the domain name that
+	      // has non ASCII characters. I.e. it dosent matter if
+	      // you call it with a domain that already is in ASCII.
+	      var domainArray = this.hostname.split('.');
+	      var newOut = [];
+	      for (var i = 0; i < domainArray.length; ++i) {
+	        var s = domainArray[i];
+	        newOut.push(s.match(/[^A-Za-z0-9_-]/) ?
+	            'xn--' + punycode.encode(s) : s);
+	      }
+	      this.hostname = newOut.join('.');
+	    }
+
+	    var p = this.port ? ':' + this.port : '';
+	    var h = this.hostname || '';
+	    this.host = h + p;
+	    this.href += this.host;
+
+	    // strip [ and ] from the hostname
+	    // the host field still retains them, though
+	    if (ipv6Hostname) {
+	      this.hostname = this.hostname.substr(1, this.hostname.length - 2);
+	      if (rest[0] !== '/') {
+	        rest = '/' + rest;
+	      }
+	    }
+	  }
+
+	  // now rest is set to the post-host stuff.
+	  // chop off any delim chars.
+	  if (!unsafeProtocol[lowerProto]) {
+
+	    // First, make 100% sure that any "autoEscape" chars get
+	    // escaped, even if encodeURIComponent doesn't think they
+	    // need to be.
+	    for (var i = 0, l = autoEscape.length; i < l; i++) {
+	      var ae = autoEscape[i];
+	      var esc = encodeURIComponent(ae);
+	      if (esc === ae) {
+	        esc = escape(ae);
+	      }
+	      rest = rest.split(ae).join(esc);
+	    }
+	  }
+
+
+	  // chop off from the tail first.
+	  var hash = rest.indexOf('#');
+	  if (hash !== -1) {
+	    // got a fragment string.
+	    this.hash = rest.substr(hash);
+	    rest = rest.slice(0, hash);
+	  }
+	  var qm = rest.indexOf('?');
+	  if (qm !== -1) {
+	    this.search = rest.substr(qm);
+	    this.query = rest.substr(qm + 1);
+	    if (parseQueryString) {
+	      this.query = querystring.parse(this.query);
+	    }
+	    rest = rest.slice(0, qm);
+	  } else if (parseQueryString) {
+	    // no query string, but parseQueryString still requested
+	    this.search = '';
+	    this.query = {};
+	  }
+	  if (rest) this.pathname = rest;
+	  if (slashedProtocol[lowerProto] &&
+	      this.hostname && !this.pathname) {
+	    this.pathname = '/';
+	  }
+
+	  //to support http.request
+	  if (this.pathname || this.search) {
+	    var p = this.pathname || '';
+	    var s = this.search || '';
+	    this.path = p + s;
+	  }
+
+	  // finally, reconstruct the href based on what has been validated.
+	  this.href = this.format();
+	  return this;
+	};
+
+	// format a parsed object into a url string
+	function urlFormat(obj) {
+	  // ensure it's an object, and not a string url.
+	  // If it's an obj, this is a no-op.
+	  // this way, you can call url_format() on strings
+	  // to clean up potentially wonky urls.
+	  if (isString(obj)) obj = urlParse(obj);
+	  if (!(obj instanceof Url)) return Url.prototype.format.call(obj);
+	  return obj.format();
+	}
+
+	Url.prototype.format = function() {
+	  var auth = this.auth || '';
+	  if (auth) {
+	    auth = encodeURIComponent(auth);
+	    auth = auth.replace(/%3A/i, ':');
+	    auth += '@';
+	  }
+
+	  var protocol = this.protocol || '',
+	      pathname = this.pathname || '',
+	      hash = this.hash || '',
+	      host = false,
+	      query = '';
+
+	  if (this.host) {
+	    host = auth + this.host;
+	  } else if (this.hostname) {
+	    host = auth + (this.hostname.indexOf(':') === -1 ?
+	        this.hostname :
+	        '[' + this.hostname + ']');
+	    if (this.port) {
+	      host += ':' + this.port;
+	    }
+	  }
+
+	  if (this.query &&
+	      isObject(this.query) &&
+	      Object.keys(this.query).length) {
+	    query = querystring.stringify(this.query);
+	  }
+
+	  var search = this.search || (query && ('?' + query)) || '';
+
+	  if (protocol && protocol.substr(-1) !== ':') protocol += ':';
+
+	  // only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.
+	  // unless they had them to begin with.
+	  if (this.slashes ||
+	      (!protocol || slashedProtocol[protocol]) && host !== false) {
+	    host = '//' + (host || '');
+	    if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
+	  } else if (!host) {
+	    host = '';
+	  }
+
+	  if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
+	  if (search && search.charAt(0) !== '?') search = '?' + search;
+
+	  pathname = pathname.replace(/[?#]/g, function(match) {
+	    return encodeURIComponent(match);
+	  });
+	  search = search.replace('#', '%23');
+
+	  return protocol + host + pathname + search + hash;
+	};
+
+	function urlResolve(source, relative) {
+	  return urlParse(source, false, true).resolve(relative);
+	}
+
+	Url.prototype.resolve = function(relative) {
+	  return this.resolveObject(urlParse(relative, false, true)).format();
+	};
+
+	function urlResolveObject(source, relative) {
+	  if (!source) return relative;
+	  return urlParse(source, false, true).resolveObject(relative);
+	}
+
+	Url.prototype.resolveObject = function(relative) {
+	  if (isString(relative)) {
+	    var rel = new Url();
+	    rel.parse(relative, false, true);
+	    relative = rel;
+	  }
+
+	  var result = new Url();
+	  Object.keys(this).forEach(function(k) {
+	    result[k] = this[k];
+	  }, this);
+
+	  // hash is always overridden, no matter what.
+	  // even href="" will remove it.
+	  result.hash = relative.hash;
+
+	  // if the relative url is empty, then there's nothing left to do here.
+	  if (relative.href === '') {
+	    result.href = result.format();
+	    return result;
+	  }
+
+	  // hrefs like //foo/bar always cut to the protocol.
+	  if (relative.slashes && !relative.protocol) {
+	    // take everything except the protocol from relative
+	    Object.keys(relative).forEach(function(k) {
+	      if (k !== 'protocol')
+	        result[k] = relative[k];
+	    });
+
+	    //urlParse appends trailing / to urls like http://www.example.com
+	    if (slashedProtocol[result.protocol] &&
+	        result.hostname && !result.pathname) {
+	      result.path = result.pathname = '/';
+	    }
+
+	    result.href = result.format();
+	    return result;
+	  }
+
+	  if (relative.protocol && relative.protocol !== result.protocol) {
+	    // if it's a known url protocol, then changing
+	    // the protocol does weird things
+	    // first, if it's not file:, then we MUST have a host,
+	    // and if there was a path
+	    // to begin with, then we MUST have a path.
+	    // if it is file:, then the host is dropped,
+	    // because that's known to be hostless.
+	    // anything else is assumed to be absolute.
+	    if (!slashedProtocol[relative.protocol]) {
+	      Object.keys(relative).forEach(function(k) {
+	        result[k] = relative[k];
+	      });
+	      result.href = result.format();
+	      return result;
+	    }
+
+	    result.protocol = relative.protocol;
+	    if (!relative.host && !hostlessProtocol[relative.protocol]) {
+	      var relPath = (relative.pathname || '').split('/');
+	      while (relPath.length && !(relative.host = relPath.shift()));
+	      if (!relative.host) relative.host = '';
+	      if (!relative.hostname) relative.hostname = '';
+	      if (relPath[0] !== '') relPath.unshift('');
+	      if (relPath.length < 2) relPath.unshift('');
+	      result.pathname = relPath.join('/');
+	    } else {
+	      result.pathname = relative.pathname;
+	    }
+	    result.search = relative.search;
+	    result.query = relative.query;
+	    result.host = relative.host || '';
+	    result.auth = relative.auth;
+	    result.hostname = relative.hostname || relative.host;
+	    result.port = relative.port;
+	    // to support http.request
+	    if (result.pathname || result.search) {
+	      var p = result.pathname || '';
+	      var s = result.search || '';
+	      result.path = p + s;
+	    }
+	    result.slashes = result.slashes || relative.slashes;
+	    result.href = result.format();
+	    return result;
+	  }
+
+	  var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),
+	      isRelAbs = (
+	          relative.host ||
+	          relative.pathname && relative.pathname.charAt(0) === '/'
+	      ),
+	      mustEndAbs = (isRelAbs || isSourceAbs ||
+	                    (result.host && relative.pathname)),
+	      removeAllDots = mustEndAbs,
+	      srcPath = result.pathname && result.pathname.split('/') || [],
+	      relPath = relative.pathname && relative.pathname.split('/') || [],
+	      psychotic = result.protocol && !slashedProtocol[result.protocol];
+
+	  // if the url is a non-slashed url, then relative
+	  // links like ../.. should be able
+	  // to crawl up to the hostname, as well.  This is strange.
+	  // result.protocol has already been set by now.
+	  // Later on, put the first path part into the host field.
+	  if (psychotic) {
+	    result.hostname = '';
+	    result.port = null;
+	    if (result.host) {
+	      if (srcPath[0] === '') srcPath[0] = result.host;
+	      else srcPath.unshift(result.host);
+	    }
+	    result.host = '';
+	    if (relative.protocol) {
+	      relative.hostname = null;
+	      relative.port = null;
+	      if (relative.host) {
+	        if (relPath[0] === '') relPath[0] = relative.host;
+	        else relPath.unshift(relative.host);
+	      }
+	      relative.host = null;
+	    }
+	    mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');
+	  }
+
+	  if (isRelAbs) {
+	    // it's absolute.
+	    result.host = (relative.host || relative.host === '') ?
+	                  relative.host : result.host;
+	    result.hostname = (relative.hostname || relative.hostname === '') ?
+	                      relative.hostname : result.hostname;
+	    result.search = relative.search;
+	    result.query = relative.query;
+	    srcPath = relPath;
+	    // fall through to the dot-handling below.
+	  } else if (relPath.length) {
+	    // it's relative
+	    // throw away the existing file, and take the new path instead.
+	    if (!srcPath) srcPath = [];
+	    srcPath.pop();
+	    srcPath = srcPath.concat(relPath);
+	    result.search = relative.search;
+	    result.query = relative.query;
+	  } else if (!isNullOrUndefined(relative.search)) {
+	    // just pull out the search.
+	    // like href='?foo'.
+	    // Put this after the other two cases because it simplifies the booleans
+	    if (psychotic) {
+	      result.hostname = result.host = srcPath.shift();
+	      //occationaly the auth can get stuck only in host
+	      //this especialy happens in cases like
+	      //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
+	      var authInHost = result.host && result.host.indexOf('@') > 0 ?
+	                       result.host.split('@') : false;
+	      if (authInHost) {
+	        result.auth = authInHost.shift();
+	        result.host = result.hostname = authInHost.shift();
+	      }
+	    }
+	    result.search = relative.search;
+	    result.query = relative.query;
+	    //to support http.request
+	    if (!isNull(result.pathname) || !isNull(result.search)) {
+	      result.path = (result.pathname ? result.pathname : '') +
+	                    (result.search ? result.search : '');
+	    }
+	    result.href = result.format();
+	    return result;
+	  }
+
+	  if (!srcPath.length) {
+	    // no path at all.  easy.
+	    // we've already handled the other stuff above.
+	    result.pathname = null;
+	    //to support http.request
+	    if (result.search) {
+	      result.path = '/' + result.search;
+	    } else {
+	      result.path = null;
+	    }
+	    result.href = result.format();
+	    return result;
+	  }
+
+	  // if a url ENDs in . or .., then it must get a trailing slash.
+	  // however, if it ends in anything else non-slashy,
+	  // then it must NOT get a trailing slash.
+	  var last = srcPath.slice(-1)[0];
+	  var hasTrailingSlash = (
+	      (result.host || relative.host) && (last === '.' || last === '..') ||
+	      last === '');
+
+	  // strip single dots, resolve double dots to parent dir
+	  // if the path tries to go above the root, `up` ends up > 0
+	  var up = 0;
+	  for (var i = srcPath.length; i >= 0; i--) {
+	    last = srcPath[i];
+	    if (last == '.') {
+	      srcPath.splice(i, 1);
+	    } else if (last === '..') {
+	      srcPath.splice(i, 1);
+	      up++;
+	    } else if (up) {
+	      srcPath.splice(i, 1);
+	      up--;
+	    }
+	  }
+
+	  // if the path is allowed to go above the root, restore leading ..s
+	  if (!mustEndAbs && !removeAllDots) {
+	    for (; up--; up) {
+	      srcPath.unshift('..');
+	    }
+	  }
+
+	  if (mustEndAbs && srcPath[0] !== '' &&
+	      (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
+	    srcPath.unshift('');
+	  }
+
+	  if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {
+	    srcPath.push('');
+	  }
+
+	  var isAbsolute = srcPath[0] === '' ||
+	      (srcPath[0] && srcPath[0].charAt(0) === '/');
+
+	  // put the host back
+	  if (psychotic) {
+	    result.hostname = result.host = isAbsolute ? '' :
+	                                    srcPath.length ? srcPath.shift() : '';
+	    //occationaly the auth can get stuck only in host
+	    //this especialy happens in cases like
+	    //url.resolveObject('mailto:local1@domain1', 'local2@domain2')
+	    var authInHost = result.host && result.host.indexOf('@') > 0 ?
+	                     result.host.split('@') : false;
+	    if (authInHost) {
+	      result.auth = authInHost.shift();
+	      result.host = result.hostname = authInHost.shift();
+	    }
+	  }
+
+	  mustEndAbs = mustEndAbs || (result.host && srcPath.length);
+
+	  if (mustEndAbs && !isAbsolute) {
+	    srcPath.unshift('');
+	  }
+
+	  if (!srcPath.length) {
+	    result.pathname = null;
+	    result.path = null;
+	  } else {
+	    result.pathname = srcPath.join('/');
+	  }
+
+	  //to support request.http
+	  if (!isNull(result.pathname) || !isNull(result.search)) {
+	    result.path = (result.pathname ? result.pathname : '') +
+	                  (result.search ? result.search : '');
+	  }
+	  result.auth = relative.auth || result.auth;
+	  result.slashes = result.slashes || relative.slashes;
+	  result.href = result.format();
+	  return result;
+	};
+
+	Url.prototype.parseHost = function() {
+	  var host = this.host;
+	  var port = portPattern.exec(host);
+	  if (port) {
+	    port = port[0];
+	    if (port !== ':') {
+	      this.port = port.substr(1);
+	    }
+	    host = host.substr(0, host.length - port.length);
+	  }
+	  if (host) this.hostname = host;
+	};
+
+	function isString(arg) {
+	  return typeof arg === "string";
+	}
+
+	function isObject(arg) {
+	  return typeof arg === 'object' && arg !== null;
+	}
+
+	function isNull(arg) {
+	  return arg === null;
+	}
+	function isNullOrUndefined(arg) {
+	  return  arg == null;
+	}
+
+
+/***/ },
+/* 43 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/*! https://mths.be/punycode v1.3.2 by @mathias */
+	;(function(root) {
+
+		/** Detect free variables */
+		var freeExports = typeof exports == 'object' && exports &&
+			!exports.nodeType && exports;
+		var freeModule = typeof module == 'object' && module &&
+			!module.nodeType && module;
+		var freeGlobal = typeof global == 'object' && global;
+		if (
+			freeGlobal.global === freeGlobal ||
+			freeGlobal.window === freeGlobal ||
+			freeGlobal.self === freeGlobal
+		) {
+			root = freeGlobal;
+		}
+
+		/**
+		 * The `punycode` object.
+		 * @name punycode
+		 * @type Object
+		 */
+		var punycode,
+
+		/** Highest positive signed 32-bit float value */
+		maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1
+
+		/** Bootstring parameters */
+		base = 36,
+		tMin = 1,
+		tMax = 26,
+		skew = 38,
+		damp = 700,
+		initialBias = 72,
+		initialN = 128, // 0x80
+		delimiter = '-', // '\x2D'
+
+		/** Regular expressions */
+		regexPunycode = /^xn--/,
+		regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars
+		regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators
+
+		/** Error messages */
+		errors = {
+			'overflow': 'Overflow: input needs wider integers to process',
+			'not-basic': 'Illegal input >= 0x80 (not a basic code point)',
+			'invalid-input': 'Invalid input'
+		},
+
+		/** Convenience shortcuts */
+		baseMinusTMin = base - tMin,
+		floor = Math.floor,
+		stringFromCharCode = String.fromCharCode,
+
+		/** Temporary variable */
+		key;
+
+		/*--------------------------------------------------------------------------*/
+
+		/**
+		 * A generic error utility function.
+		 * @private
+		 * @param {String} type The error type.
+		 * @returns {Error} Throws a `RangeError` with the applicable error message.
+		 */
+		function error(type) {
+			throw RangeError(errors[type]);
+		}
+
+		/**
+		 * A generic `Array#map` utility function.
+		 * @private
+		 * @param {Array} array The array to iterate over.
+		 * @param {Function} callback The function that gets called for every array
+		 * item.
+		 * @returns {Array} A new array of values returned by the callback function.
+		 */
+		function map(array, fn) {
+			var length = array.length;
+			var result = [];
+			while (length--) {
+				result[length] = fn(array[length]);
+			}
+			return result;
+		}
+
+		/**
+		 * A simple `Array#map`-like wrapper to work with domain name strings or email
+		 * addresses.
+		 * @private
+		 * @param {String} domain The domain name or email address.
+		 * @param {Function} callback The function that gets called for every
+		 * character.
+		 * @returns {Array} A new string of characters returned by the callback
+		 * function.
+		 */
+		function mapDomain(string, fn) {
+			var parts = string.split('@');
+			var result = '';
+			if (parts.length > 1) {
+				// In email addresses, only the domain name should be punycoded. Leave
+				// the local part (i.e. everything up to `@`) intact.
+				result = parts[0] + '@';
+				string = parts[1];
+			}
+			// Avoid `split(regex)` for IE8 compatibility. See #17.
+			string = string.replace(regexSeparators, '\x2E');
+			var labels = string.split('.');
+			var encoded = map(labels, fn).join('.');
+			return result + encoded;
+		}
+
+		/**
+		 * Creates an array containing the numeric code points of each Unicode
+		 * character in the string. While JavaScript uses UCS-2 internally,
+		 * this function will convert a pair of surrogate halves (each of which
+		 * UCS-2 exposes as separate characters) into a single code point,
+		 * matching UTF-16.
+		 * @see `punycode.ucs2.encode`
+		 * @see <https://mathiasbynens.be/notes/javascript-encoding>
+		 * @memberOf punycode.ucs2
+		 * @name decode
+		 * @param {String} string The Unicode input string (UCS-2).
+		 * @returns {Array} The new array of code points.
+		 */
+		function ucs2decode(string) {
+			var output = [],
+			    counter = 0,
+			    length = string.length,
+			    value,
+			    extra;
+			while (counter < length) {
+				value = string.charCodeAt(counter++);
+				if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
+					// high surrogate, and there is a next character
+					extra = string.charCodeAt(counter++);
+					if ((extra & 0xFC00) == 0xDC00) { // low surrogate
+						output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
+					} else {
+						// unmatched surrogate; only append this code unit, in case the next
+						// code unit is the high surrogate of a surrogate pair
+						output.push(value);
+						counter--;
+					}
+				} else {
+					output.push(value);
+				}
+			}
+			return output;
+		}
+
+		/**
+		 * Creates a string based on an array of numeric code points.
+		 * @see `punycode.ucs2.decode`
+		 * @memberOf punycode.ucs2
+		 * @name encode
+		 * @param {Array} codePoints The array of numeric code points.
+		 * @returns {String} The new Unicode string (UCS-2).
+		 */
+		function ucs2encode(array) {
+			return map(array, function(value) {
+				var output = '';
+				if (value > 0xFFFF) {
+					value -= 0x10000;
+					output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);
+					value = 0xDC00 | value & 0x3FF;
+				}
+				output += stringFromCharCode(value);
+				return output;
+			}).join('');
+		}
+
+		/**
+		 * Converts a basic code point into a digit/integer.
+		 * @see `digitToBasic()`
+		 * @private
+		 * @param {Number} codePoint The basic numeric code point value.
+		 * @returns {Number} The numeric value of a basic code point (for use in
+		 * representing integers) in the range `0` to `base - 1`, or `base` if
+		 * the code point does not represent a value.
+		 */
+		function basicToDigit(codePoint) {
+			if (codePoint - 48 < 10) {
+				return codePoint - 22;
+			}
+			if (codePoint - 65 < 26) {
+				return codePoint - 65;
+			}
+			if (codePoint - 97 < 26) {
+				return codePoint - 97;
+			}
+			return base;
+		}
+
+		/**
+		 * Converts a digit/integer into a basic code point.
+		 * @see `basicToDigit()`
+		 * @private
+		 * @param {Number} digit The numeric value of a basic code point.
+		 * @returns {Number} The basic code point whose value (when used for
+		 * representing integers) is `digit`, which needs to be in the range
+		 * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
+		 * used; else, the lowercase form is used. The behavior is undefined
+		 * if `flag` is non-zero and `digit` has no uppercase form.
+		 */
+		function digitToBasic(digit, flag) {
+			//  0..25 map to ASCII a..z or A..Z
+			// 26..35 map to ASCII 0..9
+			return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
+		}
+
+		/**
+		 * Bias adaptation function as per section 3.4 of RFC 3492.
+		 * http://tools.ietf.org/html/rfc3492#section-3.4
+		 * @private
+		 */
+		function adapt(delta, numPoints, firstTime) {
+			var k = 0;
+			delta = firstTime ? floor(delta / damp) : delta >> 1;
+			delta += floor(delta / numPoints);
+			for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {
+				delta = floor(delta / baseMinusTMin);
+			}
+			return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
+		}
+
+		/**
+		 * Converts a Punycode string of ASCII-only symbols to a string of Unicode
+		 * symbols.
+		 * @memberOf punycode
+		 * @param {String} input The Punycode string of ASCII-only symbols.
+		 * @returns {String} The resulting string of Unicode symbols.
+		 */
+		function decode(input) {
+			// Don't use UCS-2
+			var output = [],
+			    inputLength = input.length,
+			    out,
+			    i = 0,
+			    n = initialN,
+			    bias = initialBias,
+			    basic,
+			    j,
+			    index,
+			    oldi,
+			    w,
+			    k,
+			    digit,
+			    t,
+			    /** Cached calculation results */
+			    baseMinusT;
+
+			// Handle the basic code points: let `basic` be the number of input code
+			// points before the last delimiter, or `0` if there is none, then copy
+			// the first basic code points to the output.
+
+			basic = input.lastIndexOf(delimiter);
+			if (basic < 0) {
+				basic = 0;
+			}
+
+			for (j = 0; j < basic; ++j) {
+				// if it's not a basic code point
+				if (input.charCodeAt(j) >= 0x80) {
+					error('not-basic');
+				}
+				output.push(input.charCodeAt(j));
+			}
+
+			// Main decoding loop: start just after the last delimiter if any basic code
+			// points were copied; start at the beginning otherwise.
+
+			for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {
+
+				// `index` is the index of the next character to be consumed.
+				// Decode a generalized variable-length integer into `delta`,
+				// which gets added to `i`. The overflow checking is easier
+				// if we increase `i` as we go, then subtract off its starting
+				// value at the end to obtain `delta`.
+				for (oldi = i, w = 1, k = base; /* no condition */; k += base) {
+
+					if (index >= inputLength) {
+						error('invalid-input');
+					}
+
+					digit = basicToDigit(input.charCodeAt(index++));
+
+					if (digit >= base || digit > floor((maxInt - i) / w)) {
+						error('overflow');
+					}
+
+					i += digit * w;
+					t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
+
+					if (digit < t) {
+						break;
+					}
+
+					baseMinusT = base - t;
+					if (w > floor(maxInt / baseMinusT)) {
+						error('overflow');
+					}
+
+					w *= baseMinusT;
+
+				}
+
+				out = output.length + 1;
+				bias = adapt(i - oldi, out, oldi == 0);
+
+				// `i` was supposed to wrap around from `out` to `0`,
+				// incrementing `n` each time, so we'll fix that now:
+				if (floor(i / out) > maxInt - n) {
+					error('overflow');
+				}
+
+				n += floor(i / out);
+				i %= out;
+
+				// Insert `n` at position `i` of the output
+				output.splice(i++, 0, n);
+
+			}
+
+			return ucs2encode(output);
+		}
+
+		/**
+		 * Converts a string of Unicode symbols (e.g. a domain name label) to a
+		 * Punycode string of ASCII-only symbols.
+		 * @memberOf punycode
+		 * @param {String} input The string of Unicode symbols.
+		 * @returns {String} The resulting Punycode string of ASCII-only symbols.
+		 */
+		function encode(input) {
+			var n,
+			    delta,
+			    handledCPCount,
+			    basicLength,
+			    bias,
+			    j,
+			    m,
+			    q,
+			    k,
+			    t,
+			    currentValue,
+			    output = [],
+			    /** `inputLength` will hold the number of code points in `input`. */
+			    inputLength,
+			    /** Cached calculation results */
+			    handledCPCountPlusOne,
+			    baseMinusT,
+			    qMinusT;
+
+			// Convert the input in UCS-2 to Unicode
+			input = ucs2decode(input);
+
+			// Cache the length
+			inputLength = input.length;
+
+			// Initialize the state
+			n = initialN;
+			delta = 0;
+			bias = initialBias;
+
+			// Handle the basic code points
+			for (j = 0; j < inputLength; ++j) {
+				currentValue = input[j];
+				if (currentValue < 0x80) {
+					output.push(stringFromCharCode(currentValue));
+				}
+			}
+
+			handledCPCount = basicLength = output.length;
+
+			// `handledCPCount` is the number of code points that have been handled;
+			// `basicLength` is the number of basic code points.
+
+			// Finish the basic string - if it is not empty - with a delimiter
+			if (basicLength) {
+				output.push(delimiter);
+			}
+
+			// Main encoding loop:
+			while (handledCPCount < inputLength) {
+
+				// All non-basic code points < n have been handled already. Find the next
+				// larger one:
+				for (m = maxInt, j = 0; j < inputLength; ++j) {
+					currentValue = input[j];
+					if (currentValue >= n && currentValue < m) {
+						m = currentValue;
+					}
+				}
+
+				// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,
+				// but guard against overflow
+				handledCPCountPlusOne = handledCPCount + 1;
+				if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
+					error('overflow');
+				}
+
+				delta += (m - n) * handledCPCountPlusOne;
+				n = m;
+
+				for (j = 0; j < inputLength; ++j) {
+					currentValue = input[j];
+
+					if (currentValue < n && ++delta > maxInt) {
+						error('overflow');
+					}
+
+					if (currentValue == n) {
+						// Represent delta as a generalized variable-length integer
+						for (q = delta, k = base; /* no condition */; k += base) {
+							t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
+							if (q < t) {
+								break;
+							}
+							qMinusT = q - t;
+							baseMinusT = base - t;
+							output.push(
+								stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))
+							);
+							q = floor(qMinusT / baseMinusT);
+						}
+
+						output.push(stringFromCharCode(digitToBasic(q, 0)));
+						bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
+						delta = 0;
+						++handledCPCount;
+					}
+				}
+
+				++delta;
+				++n;
+
+			}
+			return output.join('');
+		}
+
+		/**
+		 * Converts a Punycode string representing a domain name or an email address
+		 * to Unicode. Only the Punycoded parts of the input will be converted, i.e.
+		 * it doesn't matter if you call it on a string that has already been
+		 * converted to Unicode.
+		 * @memberOf punycode
+		 * @param {String} input The Punycoded domain name or email address to
+		 * convert to Unicode.
+		 * @returns {String} The Unicode representation of the given Punycode
+		 * string.
+		 */
+		function toUnicode(input) {
+			return mapDomain(input, function(string) {
+				return regexPunycode.test(string)
+					? decode(string.slice(4).toLowerCase())
+					: string;
+			});
+		}
+
+		/**
+		 * Converts a Unicode string representing a domain name or an email address to
+		 * Punycode. Only the non-ASCII parts of the domain name will be converted,
+		 * i.e. it doesn't matter if you call it with a domain that's already in
+		 * ASCII.
+		 * @memberOf punycode
+		 * @param {String} input The domain name or email address to convert, as a
+		 * Unicode string.
+		 * @returns {String} The Punycode representation of the given domain name or
+		 * email address.
+		 */
+		function toASCII(input) {
+			return mapDomain(input, function(string) {
+				return regexNonASCII.test(string)
+					? 'xn--' + encode(string)
+					: string;
+			});
+		}
+
+		/*--------------------------------------------------------------------------*/
+
+		/** Define the public API */
+		punycode = {
+			/**
+			 * A string representing the current Punycode.js version number.
+			 * @memberOf punycode
+			 * @type String
+			 */
+			'version': '1.3.2',
+			/**
+			 * An object of methods to convert from JavaScript's internal character
+			 * representation (UCS-2) to Unicode code points, and back.
+			 * @see <https://mathiasbynens.be/notes/javascript-encoding>
+			 * @memberOf punycode
+			 * @type Object
+			 */
+			'ucs2': {
+				'decode': ucs2decode,
+				'encode': ucs2encode
+			},
+			'decode': decode,
+			'encode': encode,
+			'toASCII': toASCII,
+			'toUnicode': toUnicode
+		};
+
+		/** Expose `punycode` */
+		// Some AMD build optimizers, like r.js, check for specific condition patterns
+		// like the following:
+		if (
+			true
+		) {
+			!(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
+				return punycode;
+			}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+		} else if (freeExports && freeModule) {
+			if (module.exports == freeExports) { // in Node.js or RingoJS v0.8.0+
+				freeModule.exports = punycode;
+			} else { // in Narwhal or RingoJS v0.7.0-
+				for (key in punycode) {
+					punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);
+				}
+			}
+		} else { // in Rhino or a web browser
+			root.punycode = punycode;
+		}
+
+	}(this));
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)(module), (function() { return this; }())))
+
+/***/ },
+/* 44 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	exports.decode = exports.parse = __webpack_require__(45);
+	exports.encode = exports.stringify = __webpack_require__(46);
+
+
+/***/ },
+/* 45 */
+/***/ function(module, exports) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	'use strict';
+
+	// If obj.hasOwnProperty has been overridden, then calling
+	// obj.hasOwnProperty(prop) will break.
+	// See: https://github.com/joyent/node/issues/1707
+	function hasOwnProperty(obj, prop) {
+	  return Object.prototype.hasOwnProperty.call(obj, prop);
+	}
+
+	module.exports = function(qs, sep, eq, options) {
+	  sep = sep || '&';
+	  eq = eq || '=';
+	  var obj = {};
+
+	  if (typeof qs !== 'string' || qs.length === 0) {
+	    return obj;
+	  }
+
+	  var regexp = /\+/g;
+	  qs = qs.split(sep);
+
+	  var maxKeys = 1000;
+	  if (options && typeof options.maxKeys === 'number') {
+	    maxKeys = options.maxKeys;
+	  }
+
+	  var len = qs.length;
+	  // maxKeys <= 0 means that we should not limit keys count
+	  if (maxKeys > 0 && len > maxKeys) {
+	    len = maxKeys;
+	  }
+
+	  for (var i = 0; i < len; ++i) {
+	    var x = qs[i].replace(regexp, '%20'),
+	        idx = x.indexOf(eq),
+	        kstr, vstr, k, v;
+
+	    if (idx >= 0) {
+	      kstr = x.substr(0, idx);
+	      vstr = x.substr(idx + 1);
+	    } else {
+	      kstr = x;
+	      vstr = '';
+	    }
+
+	    k = decodeURIComponent(kstr);
+	    v = decodeURIComponent(vstr);
+
+	    if (!hasOwnProperty(obj, k)) {
+	      obj[k] = v;
+	    } else if (Array.isArray(obj[k])) {
+	      obj[k].push(v);
+	    } else {
+	      obj[k] = [obj[k], v];
+	    }
+	  }
+
+	  return obj;
+	};
+
+
+/***/ },
+/* 46 */
+/***/ function(module, exports) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	'use strict';
+
+	var stringifyPrimitive = function(v) {
+	  switch (typeof v) {
+	    case 'string':
+	      return v;
+
+	    case 'boolean':
+	      return v ? 'true' : 'false';
+
+	    case 'number':
+	      return isFinite(v) ? v : '';
+
+	    default:
+	      return '';
+	  }
+	};
+
+	module.exports = function(obj, sep, eq, name) {
+	  sep = sep || '&';
+	  eq = eq || '=';
+	  if (obj === null) {
+	    obj = undefined;
+	  }
+
+	  if (typeof obj === 'object') {
+	    return Object.keys(obj).map(function(k) {
+	      var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
+	      if (Array.isArray(obj[k])) {
+	        return obj[k].map(function(v) {
+	          return ks + encodeURIComponent(stringifyPrimitive(v));
+	        }).join(sep);
+	      } else {
+	        return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
+	      }
+	    }).join(sep);
+
+	  }
+
+	  if (!name) return '';
+	  return encodeURIComponent(stringifyPrimitive(name)) + eq +
+	         encodeURIComponent(stringifyPrimitive(obj));
+	};
+
+
+/***/ },
+/* 47 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {var ClientRequest = __webpack_require__(48)
+	var extend = __webpack_require__(12)
+	var statusCodes = __webpack_require__(68)
+	var url = __webpack_require__(42)
+
+	var http = exports
+
+	http.request = function (opts, cb) {
+		if (typeof opts === 'string')
+			opts = url.parse(opts)
+		else
+			opts = extend(opts)
+
+		// Normally, the page is loaded from http or https, so not specifying a protocol
+		// will result in a (valid) protocol-relative url. However, this won't work if
+		// the protocol is something else, like 'file:'
+		var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : ''
+
+		var protocol = opts.protocol || defaultProtocol
+		var host = opts.hostname || opts.host
+		var port = opts.port
+		var path = opts.path || '/'
+
+		// Necessary for IPv6 addresses
+		if (host && host.indexOf(':') !== -1)
+			host = '[' + host + ']'
+
+		// This may be a relative url. The browser should always be able to interpret it correctly.
+		opts.url = (host ? (protocol + '//' + host) : '') + (port ? ':' + port : '') + path
+		opts.method = (opts.method || 'GET').toUpperCase()
+		opts.headers = opts.headers || {}
+
+		// Also valid opts.auth, opts.mode
+
+		var req = new ClientRequest(opts)
+		if (cb)
+			req.on('response', cb)
+		return req
+	}
+
+	http.get = function get (opts, cb) {
+		var req = http.request(opts, cb)
+		req.end()
+		return req
+	}
+
+	http.Agent = function () {}
+	http.Agent.defaultMaxSockets = 4
+
+	http.STATUS_CODES = statusCodes
+
+	http.METHODS = [
+		'CHECKOUT',
+		'CONNECT',
+		'COPY',
+		'DELETE',
+		'GET',
+		'HEAD',
+		'LOCK',
+		'M-SEARCH',
+		'MERGE',
+		'MKACTIVITY',
+		'MKCOL',
+		'MOVE',
+		'NOTIFY',
+		'OPTIONS',
+		'PATCH',
+		'POST',
+		'PROPFIND',
+		'PROPPATCH',
+		'PURGE',
+		'PUT',
+		'REPORT',
+		'SEARCH',
+		'SUBSCRIBE',
+		'TRACE',
+		'UNLOCK',
+		'UNSUBSCRIBE'
+	]
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 48 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer, global, process) {// var Base64 = require('Base64')
+	var capability = __webpack_require__(49)
+	var inherits = __webpack_require__(50)
+	var response = __webpack_require__(51)
+	var stream = __webpack_require__(52)
+	var toArrayBuffer = __webpack_require__(67)
+
+	var IncomingMessage = response.IncomingMessage
+	var rStates = response.readyStates
+
+	function decideMode (preferBinary) {
+		if (capability.fetch) {
+			return 'fetch'
+		} else if (capability.mozchunkedarraybuffer) {
+			return 'moz-chunked-arraybuffer'
+		} else if (capability.msstream) {
+			return 'ms-stream'
+		} else if (capability.arraybuffer && preferBinary) {
+			return 'arraybuffer'
+		} else if (capability.vbArray && preferBinary) {
+			return 'text:vbarray'
+		} else {
+			return 'text'
+		}
+	}
+
+	var ClientRequest = module.exports = function (opts) {
+		var self = this
+		stream.Writable.call(self)
+
+		self._opts = opts
+		self._body = []
+		self._headers = {}
+		if (opts.auth)
+			self.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64'))
+		Object.keys(opts.headers).forEach(function (name) {
+			self.setHeader(name, opts.headers[name])
+		})
+
+		var preferBinary
+		if (opts.mode === 'prefer-streaming') {
+			// If streaming is a high priority but binary compatibility and
+			// the accuracy of the 'content-type' header aren't
+			preferBinary = false
+		} else if (opts.mode === 'allow-wrong-content-type') {
+			// If streaming is more important than preserving the 'content-type' header
+			preferBinary = !capability.overrideMimeType
+		} else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {
+			// Use binary if text streaming may corrupt data or the content-type header, or for speed
+			preferBinary = true
+		} else {
+			throw new Error('Invalid value for opts.mode')
+		}
+		self._mode = decideMode(preferBinary)
+
+		self.on('finish', function () {
+			self._onFinish()
+		})
+	}
+
+	inherits(ClientRequest, stream.Writable)
+
+	ClientRequest.prototype.setHeader = function (name, value) {
+		var self = this
+		var lowerName = name.toLowerCase()
+		// This check is not necessary, but it prevents warnings from browsers about setting unsafe
+		// headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but
+		// http-browserify did it, so I will too.
+		if (unsafeHeaders.indexOf(lowerName) !== -1)
+			return
+
+		self._headers[lowerName] = {
+			name: name,
+			value: value
+		}
+	}
+
+	ClientRequest.prototype.getHeader = function (name) {
+		var self = this
+		return self._headers[name.toLowerCase()].value
+	}
+
+	ClientRequest.prototype.removeHeader = function (name) {
+		var self = this
+		delete self._headers[name.toLowerCase()]
+	}
+
+	ClientRequest.prototype._onFinish = function () {
+		var self = this
+
+		if (self._destroyed)
+			return
+		var opts = self._opts
+
+		var headersObj = self._headers
+		var body
+		if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {
+			if (capability.blobConstructor) {
+				body = new global.Blob(self._body.map(function (buffer) {
+					return toArrayBuffer(buffer)
+				}), {
+					type: (headersObj['content-type'] || {}).value || ''
+				})
+			} else {
+				// get utf8 string
+				body = Buffer.concat(self._body).toString()
+			}
+		}
+
+		if (self._mode === 'fetch') {
+			var headers = Object.keys(headersObj).map(function (name) {
+				return [headersObj[name].name, headersObj[name].value]
+			})
+
+			global.fetch(self._opts.url, {
+				method: self._opts.method,
+				headers: headers,
+				body: body,
+				mode: 'cors',
+				credentials: opts.withCredentials ? 'include' : 'same-origin'
+			}).then(function (response) {
+				self._fetchResponse = response
+				self._connect()
+			}, function (reason) {
+				self.emit('error', reason)
+			})
+		} else {
+			var xhr = self._xhr = new global.XMLHttpRequest()
+			try {
+				xhr.open(self._opts.method, self._opts.url, true)
+			} catch (err) {
+				process.nextTick(function () {
+					self.emit('error', err)
+				})
+				return
+			}
+
+			// Can't set responseType on really old browsers
+			if ('responseType' in xhr)
+				xhr.responseType = self._mode.split(':')[0]
+
+			if ('withCredentials' in xhr)
+				xhr.withCredentials = !!opts.withCredentials
+
+			if (self._mode === 'text' && 'overrideMimeType' in xhr)
+				xhr.overrideMimeType('text/plain; charset=x-user-defined')
+
+			Object.keys(headersObj).forEach(function (name) {
+				xhr.setRequestHeader(headersObj[name].name, headersObj[name].value)
+			})
+
+			self._response = null
+			xhr.onreadystatechange = function () {
+				switch (xhr.readyState) {
+					case rStates.LOADING:
+					case rStates.DONE:
+						self._onXHRProgress()
+						break
+				}
+			}
+			// Necessary for streaming in Firefox, since xhr.response is ONLY defined
+			// in onprogress, not in onreadystatechange with xhr.readyState = 3
+			if (self._mode === 'moz-chunked-arraybuffer') {
+				xhr.onprogress = function () {
+					self._onXHRProgress()
+				}
+			}
+
+			xhr.onerror = function () {
+				if (self._destroyed)
+					return
+				self.emit('error', new Error('XHR error'))
+			}
+
+			try {
+				xhr.send(body)
+			} catch (err) {
+				process.nextTick(function () {
+					self.emit('error', err)
+				})
+				return
+			}
+		}
+	}
+
+	/**
+	 * Checks if xhr.status is readable and non-zero, indicating no error.
+	 * Even though the spec says it should be available in readyState 3,
+	 * accessing it throws an exception in IE8
+	 */
+	function statusValid (xhr) {
+		try {
+			var status = xhr.status
+			return (status !== null && status !== 0)
+		} catch (e) {
+			return false
+		}
+	}
+
+	ClientRequest.prototype._onXHRProgress = function () {
+		var self = this
+
+		if (!statusValid(self._xhr) || self._destroyed)
+			return
+
+		if (!self._response)
+			self._connect()
+
+		self._response._onXHRProgress()
+	}
+
+	ClientRequest.prototype._connect = function () {
+		var self = this
+
+		if (self._destroyed)
+			return
+
+		self._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode)
+		self.emit('response', self._response)
+	}
+
+	ClientRequest.prototype._write = function (chunk, encoding, cb) {
+		var self = this
+
+		self._body.push(chunk)
+		cb()
+	}
+
+	ClientRequest.prototype.abort = ClientRequest.prototype.destroy = function () {
+		var self = this
+		self._destroyed = true
+		if (self._response)
+			self._response._destroyed = true
+		if (self._xhr)
+			self._xhr.abort()
+		// Currently, there isn't a way to truly abort a fetch.
+		// If you like bikeshedding, see https://github.com/whatwg/fetch/issues/27
+	}
+
+	ClientRequest.prototype.end = function (data, encoding, cb) {
+		var self = this
+		if (typeof data === 'function') {
+			cb = data
+			data = undefined
+		}
+
+		stream.Writable.prototype.end.call(self, data, encoding, cb)
+	}
+
+	ClientRequest.prototype.flushHeaders = function () {}
+	ClientRequest.prototype.setTimeout = function () {}
+	ClientRequest.prototype.setNoDelay = function () {}
+	ClientRequest.prototype.setSocketKeepAlive = function () {}
+
+	// Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method
+	var unsafeHeaders = [
+		'accept-charset',
+		'accept-encoding',
+		'access-control-request-headers',
+		'access-control-request-method',
+		'connection',
+		'content-length',
+		'cookie',
+		'cookie2',
+		'date',
+		'dnt',
+		'expect',
+		'host',
+		'keep-alive',
+		'origin',
+		'referer',
+		'te',
+		'trailer',
+		'transfer-encoding',
+		'upgrade',
+		'user-agent',
+		'via'
+	]
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, (function() { return this; }()), __webpack_require__(27)))
+
+/***/ },
+/* 49 */
+/***/ function(module, exports) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableByteStream)
+
+	exports.blobConstructor = false
+	try {
+		new Blob([new ArrayBuffer(1)])
+		exports.blobConstructor = true
+	} catch (e) {}
+
+	var xhr = new global.XMLHttpRequest()
+	// If location.host is empty, e.g. if this page/worker was loaded
+	// from a Blob, then use example.com to avoid an error
+	xhr.open('GET', global.location.host ? '/' : 'https://example.com')
+
+	function checkTypeSupport (type) {
+		try {
+			xhr.responseType = type
+			return xhr.responseType === type
+		} catch (e) {}
+		return false
+	}
+
+	// For some strange reason, Safari 7.0 reports typeof global.ArrayBuffer === 'object'.
+	// Safari 7.1 appears to have fixed this bug.
+	var haveArrayBuffer = typeof global.ArrayBuffer !== 'undefined'
+	var haveSlice = haveArrayBuffer && isFunction(global.ArrayBuffer.prototype.slice)
+
+	exports.arraybuffer = haveArrayBuffer && checkTypeSupport('arraybuffer')
+	// These next two tests unavoidably show warnings in Chrome. Since fetch will always
+	// be used if it's available, just return false for these to avoid the warnings.
+	exports.msstream = !exports.fetch && haveSlice && checkTypeSupport('ms-stream')
+	exports.mozchunkedarraybuffer = !exports.fetch && haveArrayBuffer &&
+		checkTypeSupport('moz-chunked-arraybuffer')
+	exports.overrideMimeType = isFunction(xhr.overrideMimeType)
+	exports.vbArray = isFunction(global.VBArray)
+
+	function isFunction (value) {
+	  return typeof value === 'function'
+	}
+
+	xhr = null // Help gc
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 50 */
+/***/ function(module, exports) {
+
+	if (typeof Object.create === 'function') {
+	  // implementation from standard node.js 'util' module
+	  module.exports = function inherits(ctor, superCtor) {
+	    ctor.super_ = superCtor
+	    ctor.prototype = Object.create(superCtor.prototype, {
+	      constructor: {
+	        value: ctor,
+	        enumerable: false,
+	        writable: true,
+	        configurable: true
+	      }
+	    });
+	  };
+	} else {
+	  // old school shim for old browsers
+	  module.exports = function inherits(ctor, superCtor) {
+	    ctor.super_ = superCtor
+	    var TempCtor = function () {}
+	    TempCtor.prototype = superCtor.prototype
+	    ctor.prototype = new TempCtor()
+	    ctor.prototype.constructor = ctor
+	  }
+	}
+
+
+/***/ },
+/* 51 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process, Buffer, global) {var capability = __webpack_require__(49)
+	var inherits = __webpack_require__(50)
+	var stream = __webpack_require__(52)
+
+	var rStates = exports.readyStates = {
+		UNSENT: 0,
+		OPENED: 1,
+		HEADERS_RECEIVED: 2,
+		LOADING: 3,
+		DONE: 4
+	}
+
+	var IncomingMessage = exports.IncomingMessage = function (xhr, response, mode) {
+		var self = this
+		stream.Readable.call(self)
+
+		self._mode = mode
+		self.headers = {}
+		self.rawHeaders = []
+		self.trailers = {}
+		self.rawTrailers = []
+
+		// Fake the 'close' event, but only once 'end' fires
+		self.on('end', function () {
+			// The nextTick is necessary to prevent the 'request' module from causing an infinite loop
+			process.nextTick(function () {
+				self.emit('close')
+			})
+		})
+
+		if (mode === 'fetch') {
+			self._fetchResponse = response
+
+			self.statusCode = response.status
+			self.statusMessage = response.statusText
+			// backwards compatible version of for (<item> of <iterable>):
+			// for (var <item>,_i,_it = <iterable>[Symbol.iterator](); <item> = (_i = _it.next()).value,!_i.done;)
+			for (var header, _i, _it = response.headers[Symbol.iterator](); header = (_i = _it.next()).value, !_i.done;) {
+				self.headers[header[0].toLowerCase()] = header[1]
+				self.rawHeaders.push(header[0], header[1])
+			}
+
+			// TODO: this doesn't respect backpressure. Once WritableStream is available, this can be fixed
+			var reader = response.body.getReader()
+			function read () {
+				reader.read().then(function (result) {
+					if (self._destroyed)
+						return
+					if (result.done) {
+						self.push(null)
+						return
+					}
+					self.push(new Buffer(result.value))
+					read()
+				})
+			}
+			read()
+
+		} else {
+			self._xhr = xhr
+			self._pos = 0
+
+			self.statusCode = xhr.status
+			self.statusMessage = xhr.statusText
+			var headers = xhr.getAllResponseHeaders().split(/\r?\n/)
+			headers.forEach(function (header) {
+				var matches = header.match(/^([^:]+):\s*(.*)/)
+				if (matches) {
+					var key = matches[1].toLowerCase()
+					if (key === 'set-cookie') {
+						if (self.headers[key] === undefined) {
+							self.headers[key] = []
+						}
+						self.headers[key].push(matches[2])
+					} else if (self.headers[key] !== undefined) {
+						self.headers[key] += ', ' + matches[2]
+					} else {
+						self.headers[key] = matches[2]
+					}
+					self.rawHeaders.push(matches[1], matches[2])
+				}
+			})
+
+			self._charset = 'x-user-defined'
+			if (!capability.overrideMimeType) {
+				var mimeType = self.rawHeaders['mime-type']
+				if (mimeType) {
+					var charsetMatch = mimeType.match(/;\s*charset=([^;])(;|$)/)
+					if (charsetMatch) {
+						self._charset = charsetMatch[1].toLowerCase()
+					}
+				}
+				if (!self._charset)
+					self._charset = 'utf-8' // best guess
+			}
+		}
+	}
+
+	inherits(IncomingMessage, stream.Readable)
+
+	IncomingMessage.prototype._read = function () {}
+
+	IncomingMessage.prototype._onXHRProgress = function () {
+		var self = this
+
+		var xhr = self._xhr
+
+		var response = null
+		switch (self._mode) {
+			case 'text:vbarray': // For IE9
+				if (xhr.readyState !== rStates.DONE)
+					break
+				try {
+					// This fails in IE8
+					response = new global.VBArray(xhr.responseBody).toArray()
+				} catch (e) {}
+				if (response !== null) {
+					self.push(new Buffer(response))
+					break
+				}
+				// Falls through in IE8	
+			case 'text':
+				try { // This will fail when readyState = 3 in IE9. Switch mode and wait for readyState = 4
+					response = xhr.responseText
+				} catch (e) {
+					self._mode = 'text:vbarray'
+					break
+				}
+				if (response.length > self._pos) {
+					var newData = response.substr(self._pos)
+					if (self._charset === 'x-user-defined') {
+						var buffer = new Buffer(newData.length)
+						for (var i = 0; i < newData.length; i++)
+							buffer[i] = newData.charCodeAt(i) & 0xff
+
+						self.push(buffer)
+					} else {
+						self.push(newData, self._charset)
+					}
+					self._pos = response.length
+				}
+				break
+			case 'arraybuffer':
+				if (xhr.readyState !== rStates.DONE)
+					break
+				response = xhr.response
+				self.push(new Buffer(new Uint8Array(response)))
+				break
+			case 'moz-chunked-arraybuffer': // take whole
+				response = xhr.response
+				if (xhr.readyState !== rStates.LOADING || !response)
+					break
+				self.push(new Buffer(new Uint8Array(response)))
+				break
+			case 'ms-stream':
+				response = xhr.response
+				if (xhr.readyState !== rStates.LOADING)
+					break
+				var reader = new global.MSStreamReader()
+				reader.onprogress = function () {
+					if (reader.result.byteLength > self._pos) {
+						self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))))
+						self._pos = reader.result.byteLength
+					}
+				}
+				reader.onload = function () {
+					self.push(null)
+				}
+				// reader.onerror = ??? // TODO: this
+				reader.readAsArrayBuffer(response)
+				break
+		}
+
+		// The ms-stream case handles end separately in reader.onload()
+		if (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {
+			self.push(null)
+		}
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27), __webpack_require__(2).Buffer, (function() { return this; }())))
+
+/***/ },
+/* 52 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	module.exports = Stream;
+
+	var EE = __webpack_require__(41).EventEmitter;
+	var inherits = __webpack_require__(50);
+
+	inherits(Stream, EE);
+	Stream.Readable = __webpack_require__(53);
+	Stream.Writable = __webpack_require__(63);
+	Stream.Duplex = __webpack_require__(64);
+	Stream.Transform = __webpack_require__(65);
+	Stream.PassThrough = __webpack_require__(66);
+
+	// Backwards-compat with node 0.4.x
+	Stream.Stream = Stream;
+
+
+
+	// old-style streams.  Note that the pipe method (the only relevant
+	// part of this class) is overridden in the Readable class.
+
+	function Stream() {
+	  EE.call(this);
+	}
+
+	Stream.prototype.pipe = function(dest, options) {
+	  var source = this;
+
+	  function ondata(chunk) {
+	    if (dest.writable) {
+	      if (false === dest.write(chunk) && source.pause) {
+	        source.pause();
+	      }
+	    }
+	  }
+
+	  source.on('data', ondata);
+
+	  function ondrain() {
+	    if (source.readable && source.resume) {
+	      source.resume();
+	    }
+	  }
+
+	  dest.on('drain', ondrain);
+
+	  // If the 'end' option is not supplied, dest.end() will be called when
+	  // source gets the 'end' or 'close' events.  Only dest.end() once.
+	  if (!dest._isStdio && (!options || options.end !== false)) {
+	    source.on('end', onend);
+	    source.on('close', onclose);
+	  }
+
+	  var didOnEnd = false;
+	  function onend() {
+	    if (didOnEnd) return;
+	    didOnEnd = true;
+
+	    dest.end();
+	  }
+
+
+	  function onclose() {
+	    if (didOnEnd) return;
+	    didOnEnd = true;
+
+	    if (typeof dest.destroy === 'function') dest.destroy();
+	  }
+
+	  // don't leave dangling pipes when there are errors.
+	  function onerror(er) {
+	    cleanup();
+	    if (EE.listenerCount(this, 'error') === 0) {
+	      throw er; // Unhandled stream error in pipe.
+	    }
+	  }
+
+	  source.on('error', onerror);
+	  dest.on('error', onerror);
+
+	  // remove all the event listeners that were added.
+	  function cleanup() {
+	    source.removeListener('data', ondata);
+	    dest.removeListener('drain', ondrain);
+
+	    source.removeListener('end', onend);
+	    source.removeListener('close', onclose);
+
+	    source.removeListener('error', onerror);
+	    dest.removeListener('error', onerror);
+
+	    source.removeListener('end', cleanup);
+	    source.removeListener('close', cleanup);
+
+	    dest.removeListener('close', cleanup);
+	  }
+
+	  source.on('end', cleanup);
+	  source.on('close', cleanup);
+
+	  dest.on('close', cleanup);
+
+	  dest.emit('pipe', source);
+
+	  // Allow for unix-like usage: A.pipe(B).pipe(C)
+	  return dest;
+	};
+
+
+/***/ },
+/* 53 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {exports = module.exports = __webpack_require__(54);
+	exports.Stream = __webpack_require__(52);
+	exports.Readable = exports;
+	exports.Writable = __webpack_require__(59);
+	exports.Duplex = __webpack_require__(58);
+	exports.Transform = __webpack_require__(61);
+	exports.PassThrough = __webpack_require__(62);
+	if (!process.browser && process.env.READABLE_STREAM === 'disable') {
+	  module.exports = __webpack_require__(52);
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 54 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	module.exports = Readable;
+
+	/*<replacement>*/
+	var isArray = __webpack_require__(55);
+	/*</replacement>*/
+
+
+	/*<replacement>*/
+	var Buffer = __webpack_require__(2).Buffer;
+	/*</replacement>*/
+
+	Readable.ReadableState = ReadableState;
+
+	var EE = __webpack_require__(41).EventEmitter;
+
+	/*<replacement>*/
+	if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
+	  return emitter.listeners(type).length;
+	};
+	/*</replacement>*/
+
+	var Stream = __webpack_require__(52);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var StringDecoder;
+
+
+	/*<replacement>*/
+	var debug = __webpack_require__(57);
+	if (debug && debug.debuglog) {
+	  debug = debug.debuglog('stream');
+	} else {
+	  debug = function () {};
+	}
+	/*</replacement>*/
+
+
+	util.inherits(Readable, Stream);
+
+	function ReadableState(options, stream) {
+	  var Duplex = __webpack_require__(58);
+
+	  options = options || {};
+
+	  // the point at which it stops calling _read() to fill the buffer
+	  // Note: 0 is a valid value, means "don't call _read preemptively ever"
+	  var hwm = options.highWaterMark;
+	  var defaultHwm = options.objectMode ? 16 : 16 * 1024;
+	  this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;
+
+	  // cast to ints.
+	  this.highWaterMark = ~~this.highWaterMark;
+
+	  this.buffer = [];
+	  this.length = 0;
+	  this.pipes = null;
+	  this.pipesCount = 0;
+	  this.flowing = null;
+	  this.ended = false;
+	  this.endEmitted = false;
+	  this.reading = false;
+
+	  // a flag to be able to tell if the onwrite cb is called immediately,
+	  // or on a later tick.  We set this to true at first, because any
+	  // actions that shouldn't happen until "later" should generally also
+	  // not happen before the first write call.
+	  this.sync = true;
+
+	  // whenever we return null, then we set a flag to say
+	  // that we're awaiting a 'readable' event emission.
+	  this.needReadable = false;
+	  this.emittedReadable = false;
+	  this.readableListening = false;
+
+
+	  // object stream flag. Used to make read(n) ignore n and to
+	  // make all the buffer merging and length checks go away
+	  this.objectMode = !!options.objectMode;
+
+	  if (stream instanceof Duplex)
+	    this.objectMode = this.objectMode || !!options.readableObjectMode;
+
+	  // Crypto is kind of old and crusty.  Historically, its default string
+	  // encoding is 'binary' so we have to make this configurable.
+	  // Everything else in the universe uses 'utf8', though.
+	  this.defaultEncoding = options.defaultEncoding || 'utf8';
+
+	  // when piping, we only care about 'readable' events that happen
+	  // after read()ing all the bytes and not getting any pushback.
+	  this.ranOut = false;
+
+	  // the number of writers that are awaiting a drain event in .pipe()s
+	  this.awaitDrain = 0;
+
+	  // if true, a maybeReadMore has been scheduled
+	  this.readingMore = false;
+
+	  this.decoder = null;
+	  this.encoding = null;
+	  if (options.encoding) {
+	    if (!StringDecoder)
+	      StringDecoder = __webpack_require__(60).StringDecoder;
+	    this.decoder = new StringDecoder(options.encoding);
+	    this.encoding = options.encoding;
+	  }
+	}
+
+	function Readable(options) {
+	  var Duplex = __webpack_require__(58);
+
+	  if (!(this instanceof Readable))
+	    return new Readable(options);
+
+	  this._readableState = new ReadableState(options, this);
+
+	  // legacy
+	  this.readable = true;
+
+	  Stream.call(this);
+	}
+
+	// Manually shove something into the read() buffer.
+	// This returns true if the highWaterMark has not been hit yet,
+	// similar to how Writable.write() returns true if you should
+	// write() some more.
+	Readable.prototype.push = function(chunk, encoding) {
+	  var state = this._readableState;
+
+	  if (util.isString(chunk) && !state.objectMode) {
+	    encoding = encoding || state.defaultEncoding;
+	    if (encoding !== state.encoding) {
+	      chunk = new Buffer(chunk, encoding);
+	      encoding = '';
+	    }
+	  }
+
+	  return readableAddChunk(this, state, chunk, encoding, false);
+	};
+
+	// Unshift should *always* be something directly out of read()
+	Readable.prototype.unshift = function(chunk) {
+	  var state = this._readableState;
+	  return readableAddChunk(this, state, chunk, '', true);
+	};
+
+	function readableAddChunk(stream, state, chunk, encoding, addToFront) {
+	  var er = chunkInvalid(state, chunk);
+	  if (er) {
+	    stream.emit('error', er);
+	  } else if (util.isNullOrUndefined(chunk)) {
+	    state.reading = false;
+	    if (!state.ended)
+	      onEofChunk(stream, state);
+	  } else if (state.objectMode || chunk && chunk.length > 0) {
+	    if (state.ended && !addToFront) {
+	      var e = new Error('stream.push() after EOF');
+	      stream.emit('error', e);
+	    } else if (state.endEmitted && addToFront) {
+	      var e = new Error('stream.unshift() after end event');
+	      stream.emit('error', e);
+	    } else {
+	      if (state.decoder && !addToFront && !encoding)
+	        chunk = state.decoder.write(chunk);
+
+	      if (!addToFront)
+	        state.reading = false;
+
+	      // if we want the data now, just emit it.
+	      if (state.flowing && state.length === 0 && !state.sync) {
+	        stream.emit('data', chunk);
+	        stream.read(0);
+	      } else {
+	        // update the buffer info.
+	        state.length += state.objectMode ? 1 : chunk.length;
+	        if (addToFront)
+	          state.buffer.unshift(chunk);
+	        else
+	          state.buffer.push(chunk);
+
+	        if (state.needReadable)
+	          emitReadable(stream);
+	      }
+
+	      maybeReadMore(stream, state);
+	    }
+	  } else if (!addToFront) {
+	    state.reading = false;
+	  }
+
+	  return needMoreData(state);
+	}
+
+
+
+	// if it's past the high water mark, we can push in some more.
+	// Also, if we have no data yet, we can stand some
+	// more bytes.  This is to work around cases where hwm=0,
+	// such as the repl.  Also, if the push() triggered a
+	// readable event, and the user called read(largeNumber) such that
+	// needReadable was set, then we ought to push more, so that another
+	// 'readable' event will be triggered.
+	function needMoreData(state) {
+	  return !state.ended &&
+	         (state.needReadable ||
+	          state.length < state.highWaterMark ||
+	          state.length === 0);
+	}
+
+	// backwards compatibility.
+	Readable.prototype.setEncoding = function(enc) {
+	  if (!StringDecoder)
+	    StringDecoder = __webpack_require__(60).StringDecoder;
+	  this._readableState.decoder = new StringDecoder(enc);
+	  this._readableState.encoding = enc;
+	  return this;
+	};
+
+	// Don't raise the hwm > 128MB
+	var MAX_HWM = 0x800000;
+	function roundUpToNextPowerOf2(n) {
+	  if (n >= MAX_HWM) {
+	    n = MAX_HWM;
+	  } else {
+	    // Get the next highest power of 2
+	    n--;
+	    for (var p = 1; p < 32; p <<= 1) n |= n >> p;
+	    n++;
+	  }
+	  return n;
+	}
+
+	function howMuchToRead(n, state) {
+	  if (state.length === 0 && state.ended)
+	    return 0;
+
+	  if (state.objectMode)
+	    return n === 0 ? 0 : 1;
+
+	  if (isNaN(n) || util.isNull(n)) {
+	    // only flow one buffer at a time
+	    if (state.flowing && state.buffer.length)
+	      return state.buffer[0].length;
+	    else
+	      return state.length;
+	  }
+
+	  if (n <= 0)
+	    return 0;
+
+	  // If we're asking for more than the target buffer level,
+	  // then raise the water mark.  Bump up to the next highest
+	  // power of 2, to prevent increasing it excessively in tiny
+	  // amounts.
+	  if (n > state.highWaterMark)
+	    state.highWaterMark = roundUpToNextPowerOf2(n);
+
+	  // don't have that much.  return null, unless we've ended.
+	  if (n > state.length) {
+	    if (!state.ended) {
+	      state.needReadable = true;
+	      return 0;
+	    } else
+	      return state.length;
+	  }
+
+	  return n;
+	}
+
+	// you can override either this method, or the async _read(n) below.
+	Readable.prototype.read = function(n) {
+	  debug('read', n);
+	  var state = this._readableState;
+	  var nOrig = n;
+
+	  if (!util.isNumber(n) || n > 0)
+	    state.emittedReadable = false;
+
+	  // if we're doing read(0) to trigger a readable event, but we
+	  // already have a bunch of data in the buffer, then just trigger
+	  // the 'readable' event and move on.
+	  if (n === 0 &&
+	      state.needReadable &&
+	      (state.length >= state.highWaterMark || state.ended)) {
+	    debug('read: emitReadable', state.length, state.ended);
+	    if (state.length === 0 && state.ended)
+	      endReadable(this);
+	    else
+	      emitReadable(this);
+	    return null;
+	  }
+
+	  n = howMuchToRead(n, state);
+
+	  // if we've ended, and we're now clear, then finish it up.
+	  if (n === 0 && state.ended) {
+	    if (state.length === 0)
+	      endReadable(this);
+	    return null;
+	  }
+
+	  // All the actual chunk generation logic needs to be
+	  // *below* the call to _read.  The reason is that in certain
+	  // synthetic stream cases, such as passthrough streams, _read
+	  // may be a completely synchronous operation which may change
+	  // the state of the read buffer, providing enough data when
+	  // before there was *not* enough.
+	  //
+	  // So, the steps are:
+	  // 1. Figure out what the state of things will be after we do
+	  // a read from the buffer.
+	  //
+	  // 2. If that resulting state will trigger a _read, then call _read.
+	  // Note that this may be asynchronous, or synchronous.  Yes, it is
+	  // deeply ugly to write APIs this way, but that still doesn't mean
+	  // that the Readable class should behave improperly, as streams are
+	  // designed to be sync/async agnostic.
+	  // Take note if the _read call is sync or async (ie, if the read call
+	  // has returned yet), so that we know whether or not it's safe to emit
+	  // 'readable' etc.
+	  //
+	  // 3. Actually pull the requested chunks out of the buffer and return.
+
+	  // if we need a readable event, then we need to do some reading.
+	  var doRead = state.needReadable;
+	  debug('need readable', doRead);
+
+	  // if we currently have less than the highWaterMark, then also read some
+	  if (state.length === 0 || state.length - n < state.highWaterMark) {
+	    doRead = true;
+	    debug('length less than watermark', doRead);
+	  }
+
+	  // however, if we've ended, then there's no point, and if we're already
+	  // reading, then it's unnecessary.
+	  if (state.ended || state.reading) {
+	    doRead = false;
+	    debug('reading or ended', doRead);
+	  }
+
+	  if (doRead) {
+	    debug('do read');
+	    state.reading = true;
+	    state.sync = true;
+	    // if the length is currently zero, then we *need* a readable event.
+	    if (state.length === 0)
+	      state.needReadable = true;
+	    // call internal read method
+	    this._read(state.highWaterMark);
+	    state.sync = false;
+	  }
+
+	  // If _read pushed data synchronously, then `reading` will be false,
+	  // and we need to re-evaluate how much data we can return to the user.
+	  if (doRead && !state.reading)
+	    n = howMuchToRead(nOrig, state);
+
+	  var ret;
+	  if (n > 0)
+	    ret = fromList(n, state);
+	  else
+	    ret = null;
+
+	  if (util.isNull(ret)) {
+	    state.needReadable = true;
+	    n = 0;
+	  }
+
+	  state.length -= n;
+
+	  // If we have nothing in the buffer, then we want to know
+	  // as soon as we *do* get something into the buffer.
+	  if (state.length === 0 && !state.ended)
+	    state.needReadable = true;
+
+	  // If we tried to read() past the EOF, then emit end on the next tick.
+	  if (nOrig !== n && state.ended && state.length === 0)
+	    endReadable(this);
+
+	  if (!util.isNull(ret))
+	    this.emit('data', ret);
+
+	  return ret;
+	};
+
+	function chunkInvalid(state, chunk) {
+	  var er = null;
+	  if (!util.isBuffer(chunk) &&
+	      !util.isString(chunk) &&
+	      !util.isNullOrUndefined(chunk) &&
+	      !state.objectMode) {
+	    er = new TypeError('Invalid non-string/buffer chunk');
+	  }
+	  return er;
+	}
+
+
+	function onEofChunk(stream, state) {
+	  if (state.decoder && !state.ended) {
+	    var chunk = state.decoder.end();
+	    if (chunk && chunk.length) {
+	      state.buffer.push(chunk);
+	      state.length += state.objectMode ? 1 : chunk.length;
+	    }
+	  }
+	  state.ended = true;
+
+	  // emit 'readable' now to make sure it gets picked up.
+	  emitReadable(stream);
+	}
+
+	// Don't emit readable right away in sync mode, because this can trigger
+	// another read() call => stack overflow.  This way, it might trigger
+	// a nextTick recursion warning, but that's not so bad.
+	function emitReadable(stream) {
+	  var state = stream._readableState;
+	  state.needReadable = false;
+	  if (!state.emittedReadable) {
+	    debug('emitReadable', state.flowing);
+	    state.emittedReadable = true;
+	    if (state.sync)
+	      process.nextTick(function() {
+	        emitReadable_(stream);
+	      });
+	    else
+	      emitReadable_(stream);
+	  }
+	}
+
+	function emitReadable_(stream) {
+	  debug('emit readable');
+	  stream.emit('readable');
+	  flow(stream);
+	}
+
+
+	// at this point, the user has presumably seen the 'readable' event,
+	// and called read() to consume some data.  that may have triggered
+	// in turn another _read(n) call, in which case reading = true if
+	// it's in progress.
+	// However, if we're not ended, or reading, and the length < hwm,
+	// then go ahead and try to read some more preemptively.
+	function maybeReadMore(stream, state) {
+	  if (!state.readingMore) {
+	    state.readingMore = true;
+	    process.nextTick(function() {
+	      maybeReadMore_(stream, state);
+	    });
+	  }
+	}
+
+	function maybeReadMore_(stream, state) {
+	  var len = state.length;
+	  while (!state.reading && !state.flowing && !state.ended &&
+	         state.length < state.highWaterMark) {
+	    debug('maybeReadMore read 0');
+	    stream.read(0);
+	    if (len === state.length)
+	      // didn't get any data, stop spinning.
+	      break;
+	    else
+	      len = state.length;
+	  }
+	  state.readingMore = false;
+	}
+
+	// abstract method.  to be overridden in specific implementation classes.
+	// call cb(er, data) where data is <= n in length.
+	// for virtual (non-string, non-buffer) streams, "length" is somewhat
+	// arbitrary, and perhaps not very meaningful.
+	Readable.prototype._read = function(n) {
+	  this.emit('error', new Error('not implemented'));
+	};
+
+	Readable.prototype.pipe = function(dest, pipeOpts) {
+	  var src = this;
+	  var state = this._readableState;
+
+	  switch (state.pipesCount) {
+	    case 0:
+	      state.pipes = dest;
+	      break;
+	    case 1:
+	      state.pipes = [state.pipes, dest];
+	      break;
+	    default:
+	      state.pipes.push(dest);
+	      break;
+	  }
+	  state.pipesCount += 1;
+	  debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);
+
+	  var doEnd = (!pipeOpts || pipeOpts.end !== false) &&
+	              dest !== process.stdout &&
+	              dest !== process.stderr;
+
+	  var endFn = doEnd ? onend : cleanup;
+	  if (state.endEmitted)
+	    process.nextTick(endFn);
+	  else
+	    src.once('end', endFn);
+
+	  dest.on('unpipe', onunpipe);
+	  function onunpipe(readable) {
+	    debug('onunpipe');
+	    if (readable === src) {
+	      cleanup();
+	    }
+	  }
+
+	  function onend() {
+	    debug('onend');
+	    dest.end();
+	  }
+
+	  // when the dest drains, it reduces the awaitDrain counter
+	  // on the source.  This would be more elegant with a .once()
+	  // handler in flow(), but adding and removing repeatedly is
+	  // too slow.
+	  var ondrain = pipeOnDrain(src);
+	  dest.on('drain', ondrain);
+
+	  function cleanup() {
+	    debug('cleanup');
+	    // cleanup event handlers once the pipe is broken
+	    dest.removeListener('close', onclose);
+	    dest.removeListener('finish', onfinish);
+	    dest.removeListener('drain', ondrain);
+	    dest.removeListener('error', onerror);
+	    dest.removeListener('unpipe', onunpipe);
+	    src.removeListener('end', onend);
+	    src.removeListener('end', cleanup);
+	    src.removeListener('data', ondata);
+
+	    // if the reader is waiting for a drain event from this
+	    // specific writer, then it would cause it to never start
+	    // flowing again.
+	    // So, if this is awaiting a drain, then we just call it now.
+	    // If we don't know, then assume that we are waiting for one.
+	    if (state.awaitDrain &&
+	        (!dest._writableState || dest._writableState.needDrain))
+	      ondrain();
+	  }
+
+	  src.on('data', ondata);
+	  function ondata(chunk) {
+	    debug('ondata');
+	    var ret = dest.write(chunk);
+	    if (false === ret) {
+	      debug('false write response, pause',
+	            src._readableState.awaitDrain);
+	      src._readableState.awaitDrain++;
+	      src.pause();
+	    }
+	  }
+
+	  // if the dest has an error, then stop piping into it.
+	  // however, don't suppress the throwing behavior for this.
+	  function onerror(er) {
+	    debug('onerror', er);
+	    unpipe();
+	    dest.removeListener('error', onerror);
+	    if (EE.listenerCount(dest, 'error') === 0)
+	      dest.emit('error', er);
+	  }
+	  // This is a brutally ugly hack to make sure that our error handler
+	  // is attached before any userland ones.  NEVER DO THIS.
+	  if (!dest._events || !dest._events.error)
+	    dest.on('error', onerror);
+	  else if (isArray(dest._events.error))
+	    dest._events.error.unshift(onerror);
+	  else
+	    dest._events.error = [onerror, dest._events.error];
+
+
+
+	  // Both close and finish should trigger unpipe, but only once.
+	  function onclose() {
+	    dest.removeListener('finish', onfinish);
+	    unpipe();
+	  }
+	  dest.once('close', onclose);
+	  function onfinish() {
+	    debug('onfinish');
+	    dest.removeListener('close', onclose);
+	    unpipe();
+	  }
+	  dest.once('finish', onfinish);
+
+	  function unpipe() {
+	    debug('unpipe');
+	    src.unpipe(dest);
+	  }
+
+	  // tell the dest that it's being piped to
+	  dest.emit('pipe', src);
+
+	  // start the flow if it hasn't been started already.
+	  if (!state.flowing) {
+	    debug('pipe resume');
+	    src.resume();
+	  }
+
+	  return dest;
+	};
+
+	function pipeOnDrain(src) {
+	  return function() {
+	    var state = src._readableState;
+	    debug('pipeOnDrain', state.awaitDrain);
+	    if (state.awaitDrain)
+	      state.awaitDrain--;
+	    if (state.awaitDrain === 0 && EE.listenerCount(src, 'data')) {
+	      state.flowing = true;
+	      flow(src);
+	    }
+	  };
+	}
+
+
+	Readable.prototype.unpipe = function(dest) {
+	  var state = this._readableState;
+
+	  // if we're not piping anywhere, then do nothing.
+	  if (state.pipesCount === 0)
+	    return this;
+
+	  // just one destination.  most common case.
+	  if (state.pipesCount === 1) {
+	    // passed in one, but it's not the right one.
+	    if (dest && dest !== state.pipes)
+	      return this;
+
+	    if (!dest)
+	      dest = state.pipes;
+
+	    // got a match.
+	    state.pipes = null;
+	    state.pipesCount = 0;
+	    state.flowing = false;
+	    if (dest)
+	      dest.emit('unpipe', this);
+	    return this;
+	  }
+
+	  // slow case. multiple pipe destinations.
+
+	  if (!dest) {
+	    // remove all.
+	    var dests = state.pipes;
+	    var len = state.pipesCount;
+	    state.pipes = null;
+	    state.pipesCount = 0;
+	    state.flowing = false;
+
+	    for (var i = 0; i < len; i++)
+	      dests[i].emit('unpipe', this);
+	    return this;
+	  }
+
+	  // try to find the right one.
+	  var i = indexOf(state.pipes, dest);
+	  if (i === -1)
+	    return this;
+
+	  state.pipes.splice(i, 1);
+	  state.pipesCount -= 1;
+	  if (state.pipesCount === 1)
+	    state.pipes = state.pipes[0];
+
+	  dest.emit('unpipe', this);
+
+	  return this;
+	};
+
+	// set up data events if they are asked for
+	// Ensure readable listeners eventually get something
+	Readable.prototype.on = function(ev, fn) {
+	  var res = Stream.prototype.on.call(this, ev, fn);
+
+	  // If listening to data, and it has not explicitly been paused,
+	  // then call resume to start the flow of data on the next tick.
+	  if (ev === 'data' && false !== this._readableState.flowing) {
+	    this.resume();
+	  }
+
+	  if (ev === 'readable' && this.readable) {
+	    var state = this._readableState;
+	    if (!state.readableListening) {
+	      state.readableListening = true;
+	      state.emittedReadable = false;
+	      state.needReadable = true;
+	      if (!state.reading) {
+	        var self = this;
+	        process.nextTick(function() {
+	          debug('readable nexttick read 0');
+	          self.read(0);
+	        });
+	      } else if (state.length) {
+	        emitReadable(this, state);
+	      }
+	    }
+	  }
+
+	  return res;
+	};
+	Readable.prototype.addListener = Readable.prototype.on;
+
+	// pause() and resume() are remnants of the legacy readable stream API
+	// If the user uses them, then switch into old mode.
+	Readable.prototype.resume = function() {
+	  var state = this._readableState;
+	  if (!state.flowing) {
+	    debug('resume');
+	    state.flowing = true;
+	    if (!state.reading) {
+	      debug('resume read 0');
+	      this.read(0);
+	    }
+	    resume(this, state);
+	  }
+	  return this;
+	};
+
+	function resume(stream, state) {
+	  if (!state.resumeScheduled) {
+	    state.resumeScheduled = true;
+	    process.nextTick(function() {
+	      resume_(stream, state);
+	    });
+	  }
+	}
+
+	function resume_(stream, state) {
+	  state.resumeScheduled = false;
+	  stream.emit('resume');
+	  flow(stream);
+	  if (state.flowing && !state.reading)
+	    stream.read(0);
+	}
+
+	Readable.prototype.pause = function() {
+	  debug('call pause flowing=%j', this._readableState.flowing);
+	  if (false !== this._readableState.flowing) {
+	    debug('pause');
+	    this._readableState.flowing = false;
+	    this.emit('pause');
+	  }
+	  return this;
+	};
+
+	function flow(stream) {
+	  var state = stream._readableState;
+	  debug('flow', state.flowing);
+	  if (state.flowing) {
+	    do {
+	      var chunk = stream.read();
+	    } while (null !== chunk && state.flowing);
+	  }
+	}
+
+	// wrap an old-style stream as the async data source.
+	// This is *not* part of the readable stream interface.
+	// It is an ugly unfortunate mess of history.
+	Readable.prototype.wrap = function(stream) {
+	  var state = this._readableState;
+	  var paused = false;
+
+	  var self = this;
+	  stream.on('end', function() {
+	    debug('wrapped end');
+	    if (state.decoder && !state.ended) {
+	      var chunk = state.decoder.end();
+	      if (chunk && chunk.length)
+	        self.push(chunk);
+	    }
+
+	    self.push(null);
+	  });
+
+	  stream.on('data', function(chunk) {
+	    debug('wrapped data');
+	    if (state.decoder)
+	      chunk = state.decoder.write(chunk);
+	    if (!chunk || !state.objectMode && !chunk.length)
+	      return;
+
+	    var ret = self.push(chunk);
+	    if (!ret) {
+	      paused = true;
+	      stream.pause();
+	    }
+	  });
+
+	  // proxy all the other methods.
+	  // important when wrapping filters and duplexes.
+	  for (var i in stream) {
+	    if (util.isFunction(stream[i]) && util.isUndefined(this[i])) {
+	      this[i] = function(method) { return function() {
+	        return stream[method].apply(stream, arguments);
+	      }}(i);
+	    }
+	  }
+
+	  // proxy certain important events.
+	  var events = ['error', 'close', 'destroy', 'pause', 'resume'];
+	  forEach(events, function(ev) {
+	    stream.on(ev, self.emit.bind(self, ev));
+	  });
+
+	  // when we try to consume some more bytes, simply unpause the
+	  // underlying stream.
+	  self._read = function(n) {
+	    debug('wrapped _read', n);
+	    if (paused) {
+	      paused = false;
+	      stream.resume();
+	    }
+	  };
+
+	  return self;
+	};
+
+
+
+	// exposed for testing purposes only.
+	Readable._fromList = fromList;
+
+	// Pluck off n bytes from an array of buffers.
+	// Length is the combined lengths of all the buffers in the list.
+	function fromList(n, state) {
+	  var list = state.buffer;
+	  var length = state.length;
+	  var stringMode = !!state.decoder;
+	  var objectMode = !!state.objectMode;
+	  var ret;
+
+	  // nothing in the list, definitely empty.
+	  if (list.length === 0)
+	    return null;
+
+	  if (length === 0)
+	    ret = null;
+	  else if (objectMode)
+	    ret = list.shift();
+	  else if (!n || n >= length) {
+	    // read it all, truncate the array.
+	    if (stringMode)
+	      ret = list.join('');
+	    else
+	      ret = Buffer.concat(list, length);
+	    list.length = 0;
+	  } else {
+	    // read just some of it.
+	    if (n < list[0].length) {
+	      // just take a part of the first list item.
+	      // slice is the same for buffers and strings.
+	      var buf = list[0];
+	      ret = buf.slice(0, n);
+	      list[0] = buf.slice(n);
+	    } else if (n === list[0].length) {
+	      // first list is a perfect match
+	      ret = list.shift();
+	    } else {
+	      // complex case.
+	      // we have enough to cover it, but it spans past the first buffer.
+	      if (stringMode)
+	        ret = '';
+	      else
+	        ret = new Buffer(n);
+
+	      var c = 0;
+	      for (var i = 0, l = list.length; i < l && c < n; i++) {
+	        var buf = list[0];
+	        var cpy = Math.min(n - c, buf.length);
+
+	        if (stringMode)
+	          ret += buf.slice(0, cpy);
+	        else
+	          buf.copy(ret, c, 0, cpy);
+
+	        if (cpy < buf.length)
+	          list[0] = buf.slice(cpy);
+	        else
+	          list.shift();
+
+	        c += cpy;
+	      }
+	    }
+	  }
+
+	  return ret;
+	}
+
+	function endReadable(stream) {
+	  var state = stream._readableState;
+
+	  // If we get here before consuming all the bytes, then that is a
+	  // bug in node.  Should never happen.
+	  if (state.length > 0)
+	    throw new Error('endReadable called on non-empty stream');
+
+	  if (!state.endEmitted) {
+	    state.ended = true;
+	    process.nextTick(function() {
+	      // Check that we didn't get one last unshift.
+	      if (!state.endEmitted && state.length === 0) {
+	        state.endEmitted = true;
+	        stream.readable = false;
+	        stream.emit('end');
+	      }
+	    });
+	  }
+	}
+
+	function forEach (xs, f) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    f(xs[i], i);
+	  }
+	}
+
+	function indexOf (xs, x) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    if (xs[i] === x) return i;
+	  }
+	  return -1;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 55 */
+/***/ function(module, exports) {
+
+	module.exports = Array.isArray || function (arr) {
+	  return Object.prototype.toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 56 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// NOTE: These type checking functions intentionally don't use `instanceof`
+	// because it is fragile and can be easily faked with `Object.create()`.
+
+	function isArray(arg) {
+	  if (Array.isArray) {
+	    return Array.isArray(arg);
+	  }
+	  return objectToString(arg) === '[object Array]';
+	}
+	exports.isArray = isArray;
+
+	function isBoolean(arg) {
+	  return typeof arg === 'boolean';
+	}
+	exports.isBoolean = isBoolean;
+
+	function isNull(arg) {
+	  return arg === null;
+	}
+	exports.isNull = isNull;
+
+	function isNullOrUndefined(arg) {
+	  return arg == null;
+	}
+	exports.isNullOrUndefined = isNullOrUndefined;
+
+	function isNumber(arg) {
+	  return typeof arg === 'number';
+	}
+	exports.isNumber = isNumber;
+
+	function isString(arg) {
+	  return typeof arg === 'string';
+	}
+	exports.isString = isString;
+
+	function isSymbol(arg) {
+	  return typeof arg === 'symbol';
+	}
+	exports.isSymbol = isSymbol;
+
+	function isUndefined(arg) {
+	  return arg === void 0;
+	}
+	exports.isUndefined = isUndefined;
+
+	function isRegExp(re) {
+	  return objectToString(re) === '[object RegExp]';
+	}
+	exports.isRegExp = isRegExp;
+
+	function isObject(arg) {
+	  return typeof arg === 'object' && arg !== null;
+	}
+	exports.isObject = isObject;
+
+	function isDate(d) {
+	  return objectToString(d) === '[object Date]';
+	}
+	exports.isDate = isDate;
+
+	function isError(e) {
+	  return (objectToString(e) === '[object Error]' || e instanceof Error);
+	}
+	exports.isError = isError;
+
+	function isFunction(arg) {
+	  return typeof arg === 'function';
+	}
+	exports.isFunction = isFunction;
+
+	function isPrimitive(arg) {
+	  return arg === null ||
+	         typeof arg === 'boolean' ||
+	         typeof arg === 'number' ||
+	         typeof arg === 'string' ||
+	         typeof arg === 'symbol' ||  // ES6 symbol
+	         typeof arg === 'undefined';
+	}
+	exports.isPrimitive = isPrimitive;
+
+	exports.isBuffer = Buffer.isBuffer;
+
+	function objectToString(o) {
+	  return Object.prototype.toString.call(o);
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 57 */
+/***/ function(module, exports) {
+
+	/* (ignored) */
+
+/***/ },
+/* 58 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// a duplex stream is just a stream that is both readable and writable.
+	// Since JS doesn't have multiple prototypal inheritance, this class
+	// prototypally inherits from Readable, and then parasitically from
+	// Writable.
+
+	module.exports = Duplex;
+
+	/*<replacement>*/
+	var objectKeys = Object.keys || function (obj) {
+	  var keys = [];
+	  for (var key in obj) keys.push(key);
+	  return keys;
+	}
+	/*</replacement>*/
+
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var Readable = __webpack_require__(54);
+	var Writable = __webpack_require__(59);
+
+	util.inherits(Duplex, Readable);
+
+	forEach(objectKeys(Writable.prototype), function(method) {
+	  if (!Duplex.prototype[method])
+	    Duplex.prototype[method] = Writable.prototype[method];
+	});
+
+	function Duplex(options) {
+	  if (!(this instanceof Duplex))
+	    return new Duplex(options);
+
+	  Readable.call(this, options);
+	  Writable.call(this, options);
+
+	  if (options && options.readable === false)
+	    this.readable = false;
+
+	  if (options && options.writable === false)
+	    this.writable = false;
+
+	  this.allowHalfOpen = true;
+	  if (options && options.allowHalfOpen === false)
+	    this.allowHalfOpen = false;
+
+	  this.once('end', onend);
+	}
+
+	// the no-half-open enforcer
+	function onend() {
+	  // if we allow half-open state, or if the writable side ended,
+	  // then we're ok.
+	  if (this.allowHalfOpen || this._writableState.ended)
+	    return;
+
+	  // no more data can be written.
+	  // But allow more writes to happen in this tick.
+	  process.nextTick(this.end.bind(this));
+	}
+
+	function forEach (xs, f) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    f(xs[i], i);
+	  }
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 59 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// A bit simpler than readable streams.
+	// Implement an async ._write(chunk, cb), and it'll handle all
+	// the drain event emission and buffering.
+
+	module.exports = Writable;
+
+	/*<replacement>*/
+	var Buffer = __webpack_require__(2).Buffer;
+	/*</replacement>*/
+
+	Writable.WritableState = WritableState;
+
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var Stream = __webpack_require__(52);
+
+	util.inherits(Writable, Stream);
+
+	function WriteReq(chunk, encoding, cb) {
+	  this.chunk = chunk;
+	  this.encoding = encoding;
+	  this.callback = cb;
+	}
+
+	function WritableState(options, stream) {
+	  var Duplex = __webpack_require__(58);
+
+	  options = options || {};
+
+	  // the point at which write() starts returning false
+	  // Note: 0 is a valid value, means that we always return false if
+	  // the entire buffer is not flushed immediately on write()
+	  var hwm = options.highWaterMark;
+	  var defaultHwm = options.objectMode ? 16 : 16 * 1024;
+	  this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;
+
+	  // object stream flag to indicate whether or not this stream
+	  // contains buffers or objects.
+	  this.objectMode = !!options.objectMode;
+
+	  if (stream instanceof Duplex)
+	    this.objectMode = this.objectMode || !!options.writableObjectMode;
+
+	  // cast to ints.
+	  this.highWaterMark = ~~this.highWaterMark;
+
+	  this.needDrain = false;
+	  // at the start of calling end()
+	  this.ending = false;
+	  // when end() has been called, and returned
+	  this.ended = false;
+	  // when 'finish' is emitted
+	  this.finished = false;
+
+	  // should we decode strings into buffers before passing to _write?
+	  // this is here so that some node-core streams can optimize string
+	  // handling at a lower level.
+	  var noDecode = options.decodeStrings === false;
+	  this.decodeStrings = !noDecode;
+
+	  // Crypto is kind of old and crusty.  Historically, its default string
+	  // encoding is 'binary' so we have to make this configurable.
+	  // Everything else in the universe uses 'utf8', though.
+	  this.defaultEncoding = options.defaultEncoding || 'utf8';
+
+	  // not an actual buffer we keep track of, but a measurement
+	  // of how much we're waiting to get pushed to some underlying
+	  // socket or file.
+	  this.length = 0;
+
+	  // a flag to see when we're in the middle of a write.
+	  this.writing = false;
+
+	  // when true all writes will be buffered until .uncork() call
+	  this.corked = 0;
+
+	  // a flag to be able to tell if the onwrite cb is called immediately,
+	  // or on a later tick.  We set this to true at first, because any
+	  // actions that shouldn't happen until "later" should generally also
+	  // not happen before the first write call.
+	  this.sync = true;
+
+	  // a flag to know if we're processing previously buffered items, which
+	  // may call the _write() callback in the same tick, so that we don't
+	  // end up in an overlapped onwrite situation.
+	  this.bufferProcessing = false;
+
+	  // the callback that's passed to _write(chunk,cb)
+	  this.onwrite = function(er) {
+	    onwrite(stream, er);
+	  };
+
+	  // the callback that the user supplies to write(chunk,encoding,cb)
+	  this.writecb = null;
+
+	  // the amount that is being written when _write is called.
+	  this.writelen = 0;
+
+	  this.buffer = [];
+
+	  // number of pending user-supplied write callbacks
+	  // this must be 0 before 'finish' can be emitted
+	  this.pendingcb = 0;
+
+	  // emit prefinish if the only thing we're waiting for is _write cbs
+	  // This is relevant for synchronous Transform streams
+	  this.prefinished = false;
+
+	  // True if the error was already emitted and should not be thrown again
+	  this.errorEmitted = false;
+	}
+
+	function Writable(options) {
+	  var Duplex = __webpack_require__(58);
+
+	  // Writable ctor is applied to Duplexes, though they're not
+	  // instanceof Writable, they're instanceof Readable.
+	  if (!(this instanceof Writable) && !(this instanceof Duplex))
+	    return new Writable(options);
+
+	  this._writableState = new WritableState(options, this);
+
+	  // legacy.
+	  this.writable = true;
+
+	  Stream.call(this);
+	}
+
+	// Otherwise people can pipe Writable streams, which is just wrong.
+	Writable.prototype.pipe = function() {
+	  this.emit('error', new Error('Cannot pipe. Not readable.'));
+	};
+
+
+	function writeAfterEnd(stream, state, cb) {
+	  var er = new Error('write after end');
+	  // TODO: defer error events consistently everywhere, not just the cb
+	  stream.emit('error', er);
+	  process.nextTick(function() {
+	    cb(er);
+	  });
+	}
+
+	// If we get something that is not a buffer, string, null, or undefined,
+	// and we're not in objectMode, then that's an error.
+	// Otherwise stream chunks are all considered to be of length=1, and the
+	// watermarks determine how many objects to keep in the buffer, rather than
+	// how many bytes or characters.
+	function validChunk(stream, state, chunk, cb) {
+	  var valid = true;
+	  if (!util.isBuffer(chunk) &&
+	      !util.isString(chunk) &&
+	      !util.isNullOrUndefined(chunk) &&
+	      !state.objectMode) {
+	    var er = new TypeError('Invalid non-string/buffer chunk');
+	    stream.emit('error', er);
+	    process.nextTick(function() {
+	      cb(er);
+	    });
+	    valid = false;
+	  }
+	  return valid;
+	}
+
+	Writable.prototype.write = function(chunk, encoding, cb) {
+	  var state = this._writableState;
+	  var ret = false;
+
+	  if (util.isFunction(encoding)) {
+	    cb = encoding;
+	    encoding = null;
+	  }
+
+	  if (util.isBuffer(chunk))
+	    encoding = 'buffer';
+	  else if (!encoding)
+	    encoding = state.defaultEncoding;
+
+	  if (!util.isFunction(cb))
+	    cb = function() {};
+
+	  if (state.ended)
+	    writeAfterEnd(this, state, cb);
+	  else if (validChunk(this, state, chunk, cb)) {
+	    state.pendingcb++;
+	    ret = writeOrBuffer(this, state, chunk, encoding, cb);
+	  }
+
+	  return ret;
+	};
+
+	Writable.prototype.cork = function() {
+	  var state = this._writableState;
+
+	  state.corked++;
+	};
+
+	Writable.prototype.uncork = function() {
+	  var state = this._writableState;
+
+	  if (state.corked) {
+	    state.corked--;
+
+	    if (!state.writing &&
+	        !state.corked &&
+	        !state.finished &&
+	        !state.bufferProcessing &&
+	        state.buffer.length)
+	      clearBuffer(this, state);
+	  }
+	};
+
+	function decodeChunk(state, chunk, encoding) {
+	  if (!state.objectMode &&
+	      state.decodeStrings !== false &&
+	      util.isString(chunk)) {
+	    chunk = new Buffer(chunk, encoding);
+	  }
+	  return chunk;
+	}
+
+	// if we're already writing something, then just put this
+	// in the queue, and wait our turn.  Otherwise, call _write
+	// If we return false, then we need a drain event, so set that flag.
+	function writeOrBuffer(stream, state, chunk, encoding, cb) {
+	  chunk = decodeChunk(state, chunk, encoding);
+	  if (util.isBuffer(chunk))
+	    encoding = 'buffer';
+	  var len = state.objectMode ? 1 : chunk.length;
+
+	  state.length += len;
+
+	  var ret = state.length < state.highWaterMark;
+	  // we must ensure that previous needDrain will not be reset to false.
+	  if (!ret)
+	    state.needDrain = true;
+
+	  if (state.writing || state.corked)
+	    state.buffer.push(new WriteReq(chunk, encoding, cb));
+	  else
+	    doWrite(stream, state, false, len, chunk, encoding, cb);
+
+	  return ret;
+	}
+
+	function doWrite(stream, state, writev, len, chunk, encoding, cb) {
+	  state.writelen = len;
+	  state.writecb = cb;
+	  state.writing = true;
+	  state.sync = true;
+	  if (writev)
+	    stream._writev(chunk, state.onwrite);
+	  else
+	    stream._write(chunk, encoding, state.onwrite);
+	  state.sync = false;
+	}
+
+	function onwriteError(stream, state, sync, er, cb) {
+	  if (sync)
+	    process.nextTick(function() {
+	      state.pendingcb--;
+	      cb(er);
+	    });
+	  else {
+	    state.pendingcb--;
+	    cb(er);
+	  }
+
+	  stream._writableState.errorEmitted = true;
+	  stream.emit('error', er);
+	}
+
+	function onwriteStateUpdate(state) {
+	  state.writing = false;
+	  state.writecb = null;
+	  state.length -= state.writelen;
+	  state.writelen = 0;
+	}
+
+	function onwrite(stream, er) {
+	  var state = stream._writableState;
+	  var sync = state.sync;
+	  var cb = state.writecb;
+
+	  onwriteStateUpdate(state);
+
+	  if (er)
+	    onwriteError(stream, state, sync, er, cb);
+	  else {
+	    // Check if we're actually ready to finish, but don't emit yet
+	    var finished = needFinish(stream, state);
+
+	    if (!finished &&
+	        !state.corked &&
+	        !state.bufferProcessing &&
+	        state.buffer.length) {
+	      clearBuffer(stream, state);
+	    }
+
+	    if (sync) {
+	      process.nextTick(function() {
+	        afterWrite(stream, state, finished, cb);
+	      });
+	    } else {
+	      afterWrite(stream, state, finished, cb);
+	    }
+	  }
+	}
+
+	function afterWrite(stream, state, finished, cb) {
+	  if (!finished)
+	    onwriteDrain(stream, state);
+	  state.pendingcb--;
+	  cb();
+	  finishMaybe(stream, state);
+	}
+
+	// Must force callback to be called on nextTick, so that we don't
+	// emit 'drain' before the write() consumer gets the 'false' return
+	// value, and has a chance to attach a 'drain' listener.
+	function onwriteDrain(stream, state) {
+	  if (state.length === 0 && state.needDrain) {
+	    state.needDrain = false;
+	    stream.emit('drain');
+	  }
+	}
+
+
+	// if there's something in the buffer waiting, then process it
+	function clearBuffer(stream, state) {
+	  state.bufferProcessing = true;
+
+	  if (stream._writev && state.buffer.length > 1) {
+	    // Fast case, write everything using _writev()
+	    var cbs = [];
+	    for (var c = 0; c < state.buffer.length; c++)
+	      cbs.push(state.buffer[c].callback);
+
+	    // count the one we are adding, as well.
+	    // TODO(isaacs) clean this up
+	    state.pendingcb++;
+	    doWrite(stream, state, true, state.length, state.buffer, '', function(err) {
+	      for (var i = 0; i < cbs.length; i++) {
+	        state.pendingcb--;
+	        cbs[i](err);
+	      }
+	    });
+
+	    // Clear buffer
+	    state.buffer = [];
+	  } else {
+	    // Slow case, write chunks one-by-one
+	    for (var c = 0; c < state.buffer.length; c++) {
+	      var entry = state.buffer[c];
+	      var chunk = entry.chunk;
+	      var encoding = entry.encoding;
+	      var cb = entry.callback;
+	      var len = state.objectMode ? 1 : chunk.length;
+
+	      doWrite(stream, state, false, len, chunk, encoding, cb);
+
+	      // if we didn't call the onwrite immediately, then
+	      // it means that we need to wait until it does.
+	      // also, that means that the chunk and cb are currently
+	      // being processed, so move the buffer counter past them.
+	      if (state.writing) {
+	        c++;
+	        break;
+	      }
+	    }
+
+	    if (c < state.buffer.length)
+	      state.buffer = state.buffer.slice(c);
+	    else
+	      state.buffer.length = 0;
+	  }
+
+	  state.bufferProcessing = false;
+	}
+
+	Writable.prototype._write = function(chunk, encoding, cb) {
+	  cb(new Error('not implemented'));
+
+	};
+
+	Writable.prototype._writev = null;
+
+	Writable.prototype.end = function(chunk, encoding, cb) {
+	  var state = this._writableState;
+
+	  if (util.isFunction(chunk)) {
+	    cb = chunk;
+	    chunk = null;
+	    encoding = null;
+	  } else if (util.isFunction(encoding)) {
+	    cb = encoding;
+	    encoding = null;
+	  }
+
+	  if (!util.isNullOrUndefined(chunk))
+	    this.write(chunk, encoding);
+
+	  // .end() fully uncorks
+	  if (state.corked) {
+	    state.corked = 1;
+	    this.uncork();
+	  }
+
+	  // ignore unnecessary end() calls.
+	  if (!state.ending && !state.finished)
+	    endWritable(this, state, cb);
+	};
+
+
+	function needFinish(stream, state) {
+	  return (state.ending &&
+	          state.length === 0 &&
+	          !state.finished &&
+	          !state.writing);
+	}
+
+	function prefinish(stream, state) {
+	  if (!state.prefinished) {
+	    state.prefinished = true;
+	    stream.emit('prefinish');
+	  }
+	}
+
+	function finishMaybe(stream, state) {
+	  var need = needFinish(stream, state);
+	  if (need) {
+	    if (state.pendingcb === 0) {
+	      prefinish(stream, state);
+	      state.finished = true;
+	      stream.emit('finish');
+	    } else
+	      prefinish(stream, state);
+	  }
+	  return need;
+	}
+
+	function endWritable(stream, state, cb) {
+	  state.ending = true;
+	  finishMaybe(stream, state);
+	  if (cb) {
+	    if (state.finished)
+	      process.nextTick(cb);
+	    else
+	      stream.once('finish', cb);
+	  }
+	  state.ended = true;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 60 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	var Buffer = __webpack_require__(2).Buffer;
+
+	var isBufferEncoding = Buffer.isEncoding
+	  || function(encoding) {
+	       switch (encoding && encoding.toLowerCase()) {
+	         case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': case 'raw': return true;
+	         default: return false;
+	       }
+	     }
+
+
+	function assertEncoding(encoding) {
+	  if (encoding && !isBufferEncoding(encoding)) {
+	    throw new Error('Unknown encoding: ' + encoding);
+	  }
+	}
+
+	// StringDecoder provides an interface for efficiently splitting a series of
+	// buffers into a series of JS strings without breaking apart multi-byte
+	// characters. CESU-8 is handled as part of the UTF-8 encoding.
+	//
+	// @TODO Handling all encodings inside a single object makes it very difficult
+	// to reason about this code, so it should be split up in the future.
+	// @TODO There should be a utf8-strict encoding that rejects invalid UTF-8 code
+	// points as used by CESU-8.
+	var StringDecoder = exports.StringDecoder = function(encoding) {
+	  this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, '');
+	  assertEncoding(encoding);
+	  switch (this.encoding) {
+	    case 'utf8':
+	      // CESU-8 represents each of Surrogate Pair by 3-bytes
+	      this.surrogateSize = 3;
+	      break;
+	    case 'ucs2':
+	    case 'utf16le':
+	      // UTF-16 represents each of Surrogate Pair by 2-bytes
+	      this.surrogateSize = 2;
+	      this.detectIncompleteChar = utf16DetectIncompleteChar;
+	      break;
+	    case 'base64':
+	      // Base-64 stores 3 bytes in 4 chars, and pads the remainder.
+	      this.surrogateSize = 3;
+	      this.detectIncompleteChar = base64DetectIncompleteChar;
+	      break;
+	    default:
+	      this.write = passThroughWrite;
+	      return;
+	  }
+
+	  // Enough space to store all bytes of a single character. UTF-8 needs 4
+	  // bytes, but CESU-8 may require up to 6 (3 bytes per surrogate).
+	  this.charBuffer = new Buffer(6);
+	  // Number of bytes received for the current incomplete multi-byte character.
+	  this.charReceived = 0;
+	  // Number of bytes expected for the current incomplete multi-byte character.
+	  this.charLength = 0;
+	};
+
+
+	// write decodes the given buffer and returns it as JS string that is
+	// guaranteed to not contain any partial multi-byte characters. Any partial
+	// character found at the end of the buffer is buffered up, and will be
+	// returned when calling write again with the remaining bytes.
+	//
+	// Note: Converting a Buffer containing an orphan surrogate to a String
+	// currently works, but converting a String to a Buffer (via `new Buffer`, or
+	// Buffer#write) will replace incomplete surrogates with the unicode
+	// replacement character. See https://codereview.chromium.org/121173009/ .
+	StringDecoder.prototype.write = function(buffer) {
+	  var charStr = '';
+	  // if our last write ended with an incomplete multibyte character
+	  while (this.charLength) {
+	    // determine how many remaining bytes this buffer has to offer for this char
+	    var available = (buffer.length >= this.charLength - this.charReceived) ?
+	        this.charLength - this.charReceived :
+	        buffer.length;
+
+	    // add the new bytes to the char buffer
+	    buffer.copy(this.charBuffer, this.charReceived, 0, available);
+	    this.charReceived += available;
+
+	    if (this.charReceived < this.charLength) {
+	      // still not enough chars in this buffer? wait for more ...
+	      return '';
+	    }
+
+	    // remove bytes belonging to the current character from the buffer
+	    buffer = buffer.slice(available, buffer.length);
+
+	    // get the character that was split
+	    charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding);
+
+	    // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character
+	    var charCode = charStr.charCodeAt(charStr.length - 1);
+	    if (charCode >= 0xD800 && charCode <= 0xDBFF) {
+	      this.charLength += this.surrogateSize;
+	      charStr = '';
+	      continue;
+	    }
+	    this.charReceived = this.charLength = 0;
+
+	    // if there are no more bytes in this buffer, just emit our char
+	    if (buffer.length === 0) {
+	      return charStr;
+	    }
+	    break;
+	  }
+
+	  // determine and set charLength / charReceived
+	  this.detectIncompleteChar(buffer);
+
+	  var end = buffer.length;
+	  if (this.charLength) {
+	    // buffer the incomplete character bytes we got
+	    buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);
+	    end -= this.charReceived;
+	  }
+
+	  charStr += buffer.toString(this.encoding, 0, end);
+
+	  var end = charStr.length - 1;
+	  var charCode = charStr.charCodeAt(end);
+	  // CESU-8: lead surrogate (D800-DBFF) is also the incomplete character
+	  if (charCode >= 0xD800 && charCode <= 0xDBFF) {
+	    var size = this.surrogateSize;
+	    this.charLength += size;
+	    this.charReceived += size;
+	    this.charBuffer.copy(this.charBuffer, size, 0, size);
+	    buffer.copy(this.charBuffer, 0, 0, size);
+	    return charStr.substring(0, end);
+	  }
+
+	  // or just emit the charStr
+	  return charStr;
+	};
+
+	// detectIncompleteChar determines if there is an incomplete UTF-8 character at
+	// the end of the given buffer. If so, it sets this.charLength to the byte
+	// length that character, and sets this.charReceived to the number of bytes
+	// that are available for this character.
+	StringDecoder.prototype.detectIncompleteChar = function(buffer) {
+	  // determine how many bytes we have to check at the end of this buffer
+	  var i = (buffer.length >= 3) ? 3 : buffer.length;
+
+	  // Figure out if one of the last i bytes of our buffer announces an
+	  // incomplete char.
+	  for (; i > 0; i--) {
+	    var c = buffer[buffer.length - i];
+
+	    // See http://en.wikipedia.org/wiki/UTF-8#Description
+
+	    // 110XXXXX
+	    if (i == 1 && c >> 5 == 0x06) {
+	      this.charLength = 2;
+	      break;
+	    }
+
+	    // 1110XXXX
+	    if (i <= 2 && c >> 4 == 0x0E) {
+	      this.charLength = 3;
+	      break;
+	    }
+
+	    // 11110XXX
+	    if (i <= 3 && c >> 3 == 0x1E) {
+	      this.charLength = 4;
+	      break;
+	    }
+	  }
+	  this.charReceived = i;
+	};
+
+	StringDecoder.prototype.end = function(buffer) {
+	  var res = '';
+	  if (buffer && buffer.length)
+	    res = this.write(buffer);
+
+	  if (this.charReceived) {
+	    var cr = this.charReceived;
+	    var buf = this.charBuffer;
+	    var enc = this.encoding;
+	    res += buf.slice(0, cr).toString(enc);
+	  }
+
+	  return res;
+	};
+
+	function passThroughWrite(buffer) {
+	  return buffer.toString(this.encoding);
+	}
+
+	function utf16DetectIncompleteChar(buffer) {
+	  this.charReceived = buffer.length % 2;
+	  this.charLength = this.charReceived ? 2 : 0;
+	}
+
+	function base64DetectIncompleteChar(buffer) {
+	  this.charReceived = buffer.length % 3;
+	  this.charLength = this.charReceived ? 3 : 0;
+	}
+
+
+/***/ },
+/* 61 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+	// a transform stream is a readable/writable stream where you do
+	// something with the data.  Sometimes it's called a "filter",
+	// but that's not a great name for it, since that implies a thing where
+	// some bits pass through, and others are simply ignored.  (That would
+	// be a valid example of a transform, of course.)
+	//
+	// While the output is causally related to the input, it's not a
+	// necessarily symmetric or synchronous transformation.  For example,
+	// a zlib stream might take multiple plain-text writes(), and then
+	// emit a single compressed chunk some time in the future.
+	//
+	// Here's how this works:
+	//
+	// The Transform stream has all the aspects of the readable and writable
+	// stream classes.  When you write(chunk), that calls _write(chunk,cb)
+	// internally, and returns false if there's a lot of pending writes
+	// buffered up.  When you call read(), that calls _read(n) until
+	// there's enough pending readable data buffered up.
+	//
+	// In a transform stream, the written data is placed in a buffer.  When
+	// _read(n) is called, it transforms the queued up data, calling the
+	// buffered _write cb's as it consumes chunks.  If consuming a single
+	// written chunk would result in multiple output chunks, then the first
+	// outputted bit calls the readcb, and subsequent chunks just go into
+	// the read buffer, and will cause it to emit 'readable' if necessary.
+	//
+	// This way, back-pressure is actually determined by the reading side,
+	// since _read has to be called to start processing a new chunk.  However,
+	// a pathological inflate type of transform can cause excessive buffering
+	// here.  For example, imagine a stream where every byte of input is
+	// interpreted as an integer from 0-255, and then results in that many
+	// bytes of output.  Writing the 4 bytes {ff,ff,ff,ff} would result in
+	// 1kb of data being output.  In this case, you could write a very small
+	// amount of input, and end up with a very large amount of output.  In
+	// such a pathological inflating mechanism, there'd be no way to tell
+	// the system to stop doing the transform.  A single 4MB write could
+	// cause the system to run out of memory.
+	//
+	// However, even in such a pathological case, only a single written chunk
+	// would be consumed, and then the rest would wait (un-transformed) until
+	// the results of the previous transformed chunk were consumed.
+
+	module.exports = Transform;
+
+	var Duplex = __webpack_require__(58);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	util.inherits(Transform, Duplex);
+
+
+	function TransformState(options, stream) {
+	  this.afterTransform = function(er, data) {
+	    return afterTransform(stream, er, data);
+	  };
+
+	  this.needTransform = false;
+	  this.transforming = false;
+	  this.writecb = null;
+	  this.writechunk = null;
+	}
+
+	function afterTransform(stream, er, data) {
+	  var ts = stream._transformState;
+	  ts.transforming = false;
+
+	  var cb = ts.writecb;
+
+	  if (!cb)
+	    return stream.emit('error', new Error('no writecb in Transform class'));
+
+	  ts.writechunk = null;
+	  ts.writecb = null;
+
+	  if (!util.isNullOrUndefined(data))
+	    stream.push(data);
+
+	  if (cb)
+	    cb(er);
+
+	  var rs = stream._readableState;
+	  rs.reading = false;
+	  if (rs.needReadable || rs.length < rs.highWaterMark) {
+	    stream._read(rs.highWaterMark);
+	  }
+	}
+
+
+	function Transform(options) {
+	  if (!(this instanceof Transform))
+	    return new Transform(options);
+
+	  Duplex.call(this, options);
+
+	  this._transformState = new TransformState(options, this);
+
+	  // when the writable side finishes, then flush out anything remaining.
+	  var stream = this;
+
+	  // start out asking for a readable event once data is transformed.
+	  this._readableState.needReadable = true;
+
+	  // we have implemented the _read method, and done the other things
+	  // that Readable wants before the first _read call, so unset the
+	  // sync guard flag.
+	  this._readableState.sync = false;
+
+	  this.once('prefinish', function() {
+	    if (util.isFunction(this._flush))
+	      this._flush(function(er) {
+	        done(stream, er);
+	      });
+	    else
+	      done(stream);
+	  });
+	}
+
+	Transform.prototype.push = function(chunk, encoding) {
+	  this._transformState.needTransform = false;
+	  return Duplex.prototype.push.call(this, chunk, encoding);
+	};
+
+	// This is the part where you do stuff!
+	// override this function in implementation classes.
+	// 'chunk' is an input chunk.
+	//
+	// Call `push(newChunk)` to pass along transformed output
+	// to the readable side.  You may call 'push' zero or more times.
+	//
+	// Call `cb(err)` when you are done with this chunk.  If you pass
+	// an error, then that'll put the hurt on the whole operation.  If you
+	// never call cb(), then you'll never get another chunk.
+	Transform.prototype._transform = function(chunk, encoding, cb) {
+	  throw new Error('not implemented');
+	};
+
+	Transform.prototype._write = function(chunk, encoding, cb) {
+	  var ts = this._transformState;
+	  ts.writecb = cb;
+	  ts.writechunk = chunk;
+	  ts.writeencoding = encoding;
+	  if (!ts.transforming) {
+	    var rs = this._readableState;
+	    if (ts.needTransform ||
+	        rs.needReadable ||
+	        rs.length < rs.highWaterMark)
+	      this._read(rs.highWaterMark);
+	  }
+	};
+
+	// Doesn't matter what the args are here.
+	// _transform does all the work.
+	// That we got here means that the readable side wants more data.
+	Transform.prototype._read = function(n) {
+	  var ts = this._transformState;
+
+	  if (!util.isNull(ts.writechunk) && ts.writecb && !ts.transforming) {
+	    ts.transforming = true;
+	    this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);
+	  } else {
+	    // mark that we need a transform, so that any data that comes in
+	    // will get processed, now that we've asked for it.
+	    ts.needTransform = true;
+	  }
+	};
+
+
+	function done(stream, er) {
+	  if (er)
+	    return stream.emit('error', er);
+
+	  // if there's nothing in the write buffer, then that means
+	  // that nothing more will ever be provided
+	  var ws = stream._writableState;
+	  var ts = stream._transformState;
+
+	  if (ws.length)
+	    throw new Error('calling transform done when ws.length != 0');
+
+	  if (ts.transforming)
+	    throw new Error('calling transform done when still transforming');
+
+	  return stream.push(null);
+	}
+
+
+/***/ },
+/* 62 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// a passthrough stream.
+	// basically just the most minimal sort of Transform stream.
+	// Every written chunk gets output as-is.
+
+	module.exports = PassThrough;
+
+	var Transform = __webpack_require__(61);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	util.inherits(PassThrough, Transform);
+
+	function PassThrough(options) {
+	  if (!(this instanceof PassThrough))
+	    return new PassThrough(options);
+
+	  Transform.call(this, options);
+	}
+
+	PassThrough.prototype._transform = function(chunk, encoding, cb) {
+	  cb(null, chunk);
+	};
+
+
+/***/ },
+/* 63 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(59)
+
+
+/***/ },
+/* 64 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(58)
+
+
+/***/ },
+/* 65 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(61)
+
+
+/***/ },
+/* 66 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(62)
+
+
+/***/ },
+/* 67 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var Buffer = __webpack_require__(2).Buffer
+
+	module.exports = function (buf) {
+		// If the buffer is backed by a Uint8Array, a faster version will work
+		if (buf instanceof Uint8Array) {
+			// If the buffer isn't a subarray, return the underlying ArrayBuffer
+			if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
+				return buf.buffer
+			} else if (typeof buf.buffer.slice === 'function') {
+				// Otherwise we need to get a proper copy
+				return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength)
+			}
+		}
+
+		if (Buffer.isBuffer(buf)) {
+			// This is the slow version that will work with any Buffer
+			// implementation (even in old browsers)
+			var arrayCopy = new Uint8Array(buf.length)
+			var len = buf.length
+			for (var i = 0; i < len; i++) {
+				arrayCopy[i] = buf[i]
+			}
+			return arrayCopy.buffer
+		} else {
+			throw new Error('Argument must be a Buffer')
+		}
+	}
+
+
+/***/ },
+/* 68 */
+/***/ function(module, exports) {
+
+	module.exports = {
+	  "100": "Continue",
+	  "101": "Switching Protocols",
+	  "102": "Processing",
+	  "200": "OK",
+	  "201": "Created",
+	  "202": "Accepted",
+	  "203": "Non-Authoritative Information",
+	  "204": "No Content",
+	  "205": "Reset Content",
+	  "206": "Partial Content",
+	  "207": "Multi-Status",
+	  "208": "Already Reported",
+	  "226": "IM Used",
+	  "300": "Multiple Choices",
+	  "301": "Moved Permanently",
+	  "302": "Found",
+	  "303": "See Other",
+	  "304": "Not Modified",
+	  "305": "Use Proxy",
+	  "307": "Temporary Redirect",
+	  "308": "Permanent Redirect",
+	  "400": "Bad Request",
+	  "401": "Unauthorized",
+	  "402": "Payment Required",
+	  "403": "Forbidden",
+	  "404": "Not Found",
+	  "405": "Method Not Allowed",
+	  "406": "Not Acceptable",
+	  "407": "Proxy Authentication Required",
+	  "408": "Request Timeout",
+	  "409": "Conflict",
+	  "410": "Gone",
+	  "411": "Length Required",
+	  "412": "Precondition Failed",
+	  "413": "Payload Too Large",
+	  "414": "URI Too Long",
+	  "415": "Unsupported Media Type",
+	  "416": "Range Not Satisfiable",
+	  "417": "Expectation Failed",
+	  "418": "I'm a teapot",
+	  "421": "Misdirected Request",
+	  "422": "Unprocessable Entity",
+	  "423": "Locked",
+	  "424": "Failed Dependency",
+	  "425": "Unordered Collection",
+	  "426": "Upgrade Required",
+	  "428": "Precondition Required",
+	  "429": "Too Many Requests",
+	  "431": "Request Header Fields Too Large",
+	  "500": "Internal Server Error",
+	  "501": "Not Implemented",
+	  "502": "Bad Gateway",
+	  "503": "Service Unavailable",
+	  "504": "Gateway Timeout",
+	  "505": "HTTP Version Not Supported",
+	  "506": "Variant Also Negotiates",
+	  "507": "Insufficient Storage",
+	  "508": "Loop Detected",
+	  "509": "Bandwidth Limit Exceeded",
+	  "510": "Not Extended",
+	  "511": "Network Authentication Required"
+	}
+
+
+/***/ },
+/* 69 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var http = __webpack_require__(47);
+
+	var https = module.exports;
+
+	for (var key in http) {
+	    if (http.hasOwnProperty(key)) https[key] = http[key];
+	};
+
+	https.request = function (params, cb) {
+	    if (!params) params = {};
+	    params.scheme = 'https';
+	    return http.request.call(this, params, cb);
+	}
+
+
+/***/ },
+/* 70 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer, process) {'use strict';
+
+	// Load modules
+
+	var _stringify = __webpack_require__(71);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _keys = __webpack_require__(29);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	var _defineProperty = __webpack_require__(73);
+
+	var _defineProperty2 = _interopRequireDefault(_defineProperty);
+
+	var _getOwnPropertyDescriptor = __webpack_require__(76);
+
+	var _getOwnPropertyDescriptor2 = _interopRequireDefault(_getOwnPropertyDescriptor);
+
+	var _getOwnPropertyNames = __webpack_require__(82);
+
+	var _getOwnPropertyNames2 = _interopRequireDefault(_getOwnPropertyNames);
+
+	var _create = __webpack_require__(86);
+
+	var _create2 = _interopRequireDefault(_create);
+
+	var _getPrototypeOf = __webpack_require__(88);
+
+	var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
+
+	var _typeof2 = __webpack_require__(91);
+
+	var _typeof3 = _interopRequireDefault(_typeof2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Crypto = __webpack_require__(111);
+	var Path = __webpack_require__(28);
+	var Util = __webpack_require__(118);
+	var Escape = __webpack_require__(128);
+
+	// Declare internals
+
+	var internals = {};
+
+	// Clone object or array
+
+	exports.clone = function (obj, seen) {
+
+	    if ((typeof obj === 'undefined' ? 'undefined' : (0, _typeof3.default)(obj)) !== 'object' || obj === null) {
+
+	        return obj;
+	    }
+
+	    seen = seen || { orig: [], copy: [] };
+
+	    var lookup = seen.orig.indexOf(obj);
+	    if (lookup !== -1) {
+	        return seen.copy[lookup];
+	    }
+
+	    var newObj = void 0;
+	    var cloneDeep = false;
+
+	    if (!Array.isArray(obj)) {
+	        if (Buffer.isBuffer(obj)) {
+	            newObj = new Buffer(obj);
+	        } else if (obj instanceof Date) {
+	            newObj = new Date(obj.getTime());
+	        } else if (obj instanceof RegExp) {
+	            newObj = new RegExp(obj);
+	        } else {
+	            var proto = (0, _getPrototypeOf2.default)(obj);
+	            if (proto && proto.isImmutable) {
+
+	                newObj = obj;
+	            } else {
+	                newObj = (0, _create2.default)(proto);
+	                cloneDeep = true;
+	            }
+	        }
+	    } else {
+	        newObj = [];
+	        cloneDeep = true;
+	    }
+
+	    seen.orig.push(obj);
+	    seen.copy.push(newObj);
+
+	    if (cloneDeep) {
+	        var keys = (0, _getOwnPropertyNames2.default)(obj);
+	        for (var i = 0; i < keys.length; ++i) {
+	            var key = keys[i];
+	            var descriptor = (0, _getOwnPropertyDescriptor2.default)(obj, key);
+	            if (descriptor && (descriptor.get || descriptor.set)) {
+
+	                (0, _defineProperty2.default)(newObj, key, descriptor);
+	            } else {
+	                newObj[key] = exports.clone(obj[key], seen);
+	            }
+	        }
+	    }
+
+	    return newObj;
+	};
+
+	// Merge all the properties of source into target, source wins in conflict, and by default null and undefined from source are applied
+
+	/*eslint-disable */
+	exports.merge = function (target, source, isNullOverride /* = true */, isMergeArrays /* = true */) {
+	    /*eslint-enable */
+
+	    exports.assert(target && (typeof target === 'undefined' ? 'undefined' : (0, _typeof3.default)(target)) === 'object', 'Invalid target value: must be an object');
+	    exports.assert(source === null || source === undefined || (typeof source === 'undefined' ? 'undefined' : (0, _typeof3.default)(source)) === 'object', 'Invalid source value: must be null, undefined, or an object');
+
+	    if (!source) {
+	        return target;
+	    }
+
+	    if (Array.isArray(source)) {
+	        exports.assert(Array.isArray(target), 'Cannot merge array onto an object');
+	        if (isMergeArrays === false) {
+	            // isMergeArrays defaults to true
+	            target.length = 0; // Must not change target assignment
+	        }
+
+	        for (var i = 0; i < source.length; ++i) {
+	            target.push(exports.clone(source[i]));
+	        }
+
+	        return target;
+	    }
+
+	    var keys = (0, _keys2.default)(source);
+	    for (var _i = 0; _i < keys.length; ++_i) {
+	        var key = keys[_i];
+	        var value = source[key];
+	        if (value && (typeof value === 'undefined' ? 'undefined' : (0, _typeof3.default)(value)) === 'object') {
+
+	            if (!target[key] || (0, _typeof3.default)(target[key]) !== 'object' || Array.isArray(target[key]) ^ Array.isArray(value) || value instanceof Date || Buffer.isBuffer(value) || value instanceof RegExp) {
+
+	                target[key] = exports.clone(value);
+	            } else {
+	                exports.merge(target[key], value, isNullOverride, isMergeArrays);
+	            }
+	        } else {
+	            if (value !== null && value !== undefined) {
+	                // Explicit to preserve empty strings
+
+	                target[key] = value;
+	            } else if (isNullOverride !== false) {
+	                // Defaults to true
+	                target[key] = value;
+	            }
+	        }
+	    }
+
+	    return target;
+	};
+
+	// Apply options to a copy of the defaults
+
+	exports.applyToDefaults = function (defaults, options, isNullOverride) {
+
+	    exports.assert(defaults && (typeof defaults === 'undefined' ? 'undefined' : (0, _typeof3.default)(defaults)) === 'object', 'Invalid defaults value: must be an object');
+	    exports.assert(!options || options === true || (typeof options === 'undefined' ? 'undefined' : (0, _typeof3.default)(options)) === 'object', 'Invalid options value: must be true, falsy or an object');
+
+	    if (!options) {
+	        // If no options, return null
+	        return null;
+	    }
+
+	    var copy = exports.clone(defaults);
+
+	    if (options === true) {
+	        // If options is set to true, use defaults
+	        return copy;
+	    }
+
+	    return exports.merge(copy, options, isNullOverride === true, false);
+	};
+
+	// Clone an object except for the listed keys which are shallow copied
+
+	exports.cloneWithShallow = function (source, keys) {
+
+	    if (!source || (typeof source === 'undefined' ? 'undefined' : (0, _typeof3.default)(source)) !== 'object') {
+
+	        return source;
+	    }
+
+	    var storage = internals.store(source, keys); // Move shallow copy items to storage
+	    var copy = exports.clone(source); // Deep copy the rest
+	    internals.restore(copy, source, storage); // Shallow copy the stored items and restore
+	    return copy;
+	};
+
+	internals.store = function (source, keys) {
+
+	    var storage = {};
+	    for (var i = 0; i < keys.length; ++i) {
+	        var key = keys[i];
+	        var value = exports.reach(source, key);
+	        if (value !== undefined) {
+	            storage[key] = value;
+	            internals.reachSet(source, key, undefined);
+	        }
+	    }
+
+	    return storage;
+	};
+
+	internals.restore = function (copy, source, storage) {
+
+	    var keys = (0, _keys2.default)(storage);
+	    for (var i = 0; i < keys.length; ++i) {
+	        var key = keys[i];
+	        internals.reachSet(copy, key, storage[key]);
+	        internals.reachSet(source, key, storage[key]);
+	    }
+	};
+
+	internals.reachSet = function (obj, key, value) {
+
+	    var path = key.split('.');
+	    var ref = obj;
+	    for (var i = 0; i < path.length; ++i) {
+	        var segment = path[i];
+	        if (i + 1 === path.length) {
+	            ref[segment] = value;
+	        }
+
+	        ref = ref[segment];
+	    }
+	};
+
+	// Apply options to defaults except for the listed keys which are shallow copied from option without merging
+
+	exports.applyToDefaultsWithShallow = function (defaults, options, keys) {
+
+	    exports.assert(defaults && (typeof defaults === 'undefined' ? 'undefined' : (0, _typeof3.default)(defaults)) === 'object', 'Invalid defaults value: must be an object');
+	    exports.assert(!options || options === true || (typeof options === 'undefined' ? 'undefined' : (0, _typeof3.default)(options)) === 'object', 'Invalid options value: must be true, falsy or an object');
+	    exports.assert(keys && Array.isArray(keys), 'Invalid keys');
+
+	    if (!options) {
+	        // If no options, return null
+	        return null;
+	    }
+
+	    var copy = exports.cloneWithShallow(defaults, keys);
+
+	    if (options === true) {
+	        // If options is set to true, use defaults
+	        return copy;
+	    }
+
+	    var storage = internals.store(options, keys); // Move shallow copy items to storage
+	    exports.merge(copy, options, false, false); // Deep copy the rest
+	    internals.restore(copy, options, storage); // Shallow copy the stored items and restore
+	    return copy;
+	};
+
+	// Deep object or array comparison
+
+	exports.deepEqual = function (obj, ref, options, seen) {
+
+	    options = options || { prototype: true };
+
+	    var type = typeof obj === 'undefined' ? 'undefined' : (0, _typeof3.default)(obj);
+
+	    if (type !== (typeof ref === 'undefined' ? 'undefined' : (0, _typeof3.default)(ref))) {
+	        return false;
+	    }
+
+	    if (type !== 'object' || obj === null || ref === null) {
+
+	        if (obj === ref) {
+	            // Copied from Deep-eql, copyright(c) 2013 Jake Luer, jake@alogicalparadox.com, MIT Licensed, https://github.com/chaijs/deep-eql
+	            return obj !== 0 || 1 / obj === 1 / ref; // -0 / +0
+	        }
+
+	        return obj !== obj && ref !== ref; // NaN
+	    }
+
+	    seen = seen || [];
+	    if (seen.indexOf(obj) !== -1) {
+	        return true; // If previous comparison failed, it would have stopped execution
+	    }
+
+	    seen.push(obj);
+
+	    if (Array.isArray(obj)) {
+	        if (!Array.isArray(ref)) {
+	            return false;
+	        }
+
+	        if (!options.part && obj.length !== ref.length) {
+	            return false;
+	        }
+
+	        for (var i = 0; i < obj.length; ++i) {
+	            if (options.part) {
+	                var found = false;
+	                for (var j = 0; j < ref.length; ++j) {
+	                    if (exports.deepEqual(obj[i], ref[j], options)) {
+	                        found = true;
+	                        break;
+	                    }
+	                }
+
+	                return found;
+	            }
+
+	            if (!exports.deepEqual(obj[i], ref[i], options)) {
+	                return false;
+	            }
+	        }
+
+	        return true;
+	    }
+
+	    if (Buffer.isBuffer(obj)) {
+	        if (!Buffer.isBuffer(ref)) {
+	            return false;
+	        }
+
+	        if (obj.length !== ref.length) {
+	            return false;
+	        }
+
+	        for (var _i2 = 0; _i2 < obj.length; ++_i2) {
+	            if (obj[_i2] !== ref[_i2]) {
+	                return false;
+	            }
+	        }
+
+	        return true;
+	    }
+
+	    if (obj instanceof Date) {
+	        return ref instanceof Date && obj.getTime() === ref.getTime();
+	    }
+
+	    if (obj instanceof RegExp) {
+	        return ref instanceof RegExp && obj.toString() === ref.toString();
+	    }
+
+	    if (options.prototype) {
+	        if ((0, _getPrototypeOf2.default)(obj) !== (0, _getPrototypeOf2.default)(ref)) {
+	            return false;
+	        }
+	    }
+
+	    var keys = (0, _getOwnPropertyNames2.default)(obj);
+
+	    if (!options.part && keys.length !== (0, _getOwnPropertyNames2.default)(ref).length) {
+	        return false;
+	    }
+
+	    for (var _i3 = 0; _i3 < keys.length; ++_i3) {
+	        var key = keys[_i3];
+	        var descriptor = (0, _getOwnPropertyDescriptor2.default)(obj, key);
+	        if (descriptor.get) {
+	            if (!exports.deepEqual(descriptor, (0, _getOwnPropertyDescriptor2.default)(ref, key), options, seen)) {
+	                return false;
+	            }
+	        } else if (!exports.deepEqual(obj[key], ref[key], options, seen)) {
+	            return false;
+	        }
+	    }
+
+	    return true;
+	};
+
+	// Remove duplicate items from array
+
+	exports.unique = function (array, key) {
+
+	    var index = {};
+	    var result = [];
+
+	    for (var i = 0; i < array.length; ++i) {
+	        var id = key ? array[i][key] : array[i];
+	        if (index[id] !== true) {
+
+	            result.push(array[i]);
+	            index[id] = true;
+	        }
+	    }
+
+	    return result;
+	};
+
+	// Convert array into object
+
+	exports.mapToObject = function (array, key) {
+
+	    if (!array) {
+	        return null;
+	    }
+
+	    var obj = {};
+	    for (var i = 0; i < array.length; ++i) {
+	        if (key) {
+	            if (array[i][key]) {
+	                obj[array[i][key]] = true;
+	            }
+	        } else {
+	            obj[array[i]] = true;
+	        }
+	    }
+
+	    return obj;
+	};
+
+	// Find the common unique items in two arrays
+
+	exports.intersect = function (array1, array2, justFirst) {
+
+	    if (!array1 || !array2) {
+	        return [];
+	    }
+
+	    var common = [];
+	    var hash = Array.isArray(array1) ? exports.mapToObject(array1) : array1;
+	    var found = {};
+	    for (var i = 0; i < array2.length; ++i) {
+	        if (hash[array2[i]] && !found[array2[i]]) {
+	            if (justFirst) {
+	                return array2[i];
+	            }
+
+	            common.push(array2[i]);
+	            found[array2[i]] = true;
+	        }
+	    }
+
+	    return justFirst ? null : common;
+	};
+
+	// Test if the reference contains the values
+
+	exports.contain = function (ref, values, options) {
+
+	    /*
+	        string -> string(s)
+	        array -> item(s)
+	        object -> key(s)
+	        object -> object (key:value)
+	    */
+
+	    var valuePairs = null;
+	    if ((typeof ref === 'undefined' ? 'undefined' : (0, _typeof3.default)(ref)) === 'object' && (typeof values === 'undefined' ? 'undefined' : (0, _typeof3.default)(values)) === 'object' && !Array.isArray(ref) && !Array.isArray(values)) {
+
+	        valuePairs = values;
+	        values = (0, _keys2.default)(values);
+	    } else {
+	        values = [].concat(values);
+	    }
+
+	    options = options || {}; // deep, once, only, part
+
+	    exports.assert(arguments.length >= 2, 'Insufficient arguments');
+	    exports.assert(typeof ref === 'string' || (typeof ref === 'undefined' ? 'undefined' : (0, _typeof3.default)(ref)) === 'object', 'Reference must be string or an object');
+	    exports.assert(values.length, 'Values array cannot be empty');
+
+	    var compare = void 0;
+	    var compareFlags = void 0;
+	    if (options.deep) {
+	        compare = exports.deepEqual;
+
+	        var hasOnly = options.hasOwnProperty('only');
+	        var hasPart = options.hasOwnProperty('part');
+
+	        compareFlags = {
+	            prototype: hasOnly ? options.only : hasPart ? !options.part : false,
+	            part: hasOnly ? !options.only : hasPart ? options.part : true
+	        };
+	    } else {
+	        compare = function compare(a, b) {
+	            return a === b;
+	        };
+	    }
+
+	    var misses = false;
+	    var matches = new Array(values.length);
+	    for (var i = 0; i < matches.length; ++i) {
+	        matches[i] = 0;
+	    }
+
+	    if (typeof ref === 'string') {
+	        var pattern = '(';
+	        for (var _i4 = 0; _i4 < values.length; ++_i4) {
+	            var value = values[_i4];
+	            exports.assert(typeof value === 'string', 'Cannot compare string reference to non-string value');
+	            pattern += (_i4 ? '|' : '') + exports.escapeRegex(value);
+	        }
+
+	        var regex = new RegExp(pattern + ')', 'g');
+	        var leftovers = ref.replace(regex, function ($0, $1) {
+
+	            var index = values.indexOf($1);
+	            ++matches[index];
+	            return ''; // Remove from string
+	        });
+
+	        misses = !!leftovers;
+	    } else if (Array.isArray(ref)) {
+	        for (var _i5 = 0; _i5 < ref.length; ++_i5) {
+	            var matched = false;
+	            for (var j = 0; j < values.length && matched === false; ++j) {
+	                matched = compare(values[j], ref[_i5], compareFlags) && j;
+	            }
+
+	            if (matched !== false) {
+	                ++matches[matched];
+	            } else {
+	                misses = true;
+	            }
+	        }
+	    } else {
+	        var keys = (0, _keys2.default)(ref);
+	        for (var _i6 = 0; _i6 < keys.length; ++_i6) {
+	            var key = keys[_i6];
+	            var pos = values.indexOf(key);
+	            if (pos !== -1) {
+	                if (valuePairs && !compare(valuePairs[key], ref[key], compareFlags)) {
+
+	                    return false;
+	                }
+
+	                ++matches[pos];
+	            } else {
+	                misses = true;
+	            }
+	        }
+	    }
+
+	    var result = false;
+	    for (var _i7 = 0; _i7 < matches.length; ++_i7) {
+	        result = result || !!matches[_i7];
+	        if (options.once && matches[_i7] > 1 || !options.part && !matches[_i7]) {
+
+	            return false;
+	        }
+	    }
+
+	    if (options.only && misses) {
+
+	        return false;
+	    }
+
+	    return result;
+	};
+
+	// Flatten array
+
+	exports.flatten = function (array, target) {
+
+	    var result = target || [];
+
+	    for (var i = 0; i < array.length; ++i) {
+	        if (Array.isArray(array[i])) {
+	            exports.flatten(array[i], result);
+	        } else {
+	            result.push(array[i]);
+	        }
+	    }
+
+	    return result;
+	};
+
+	// Convert an object key chain string ('a.b.c') to reference (object[a][b][c])
+
+	exports.reach = function (obj, chain, options) {
+
+	    if (chain === false || chain === null || typeof chain === 'undefined') {
+
+	        return obj;
+	    }
+
+	    options = options || {};
+	    if (typeof options === 'string') {
+	        options = { separator: options };
+	    }
+
+	    var path = chain.split(options.separator || '.');
+	    var ref = obj;
+	    for (var i = 0; i < path.length; ++i) {
+	        var key = path[i];
+	        if (key[0] === '-' && Array.isArray(ref)) {
+	            key = key.slice(1, key.length);
+	            key = ref.length - key;
+	        }
+
+	        if (!ref || !(((typeof ref === 'undefined' ? 'undefined' : (0, _typeof3.default)(ref)) === 'object' || typeof ref === 'function') && key in ref) || (typeof ref === 'undefined' ? 'undefined' : (0, _typeof3.default)(ref)) !== 'object' && options.functions === false) {
+	            // Only object and function can have properties
+
+	            exports.assert(!options.strict || i + 1 === path.length, 'Missing segment', key, 'in reach path ', chain);
+	            exports.assert((typeof ref === 'undefined' ? 'undefined' : (0, _typeof3.default)(ref)) === 'object' || options.functions === true || typeof ref !== 'function', 'Invalid segment', key, 'in reach path ', chain);
+	            ref = options.default;
+	            break;
+	        }
+
+	        ref = ref[key];
+	    }
+
+	    return ref;
+	};
+
+	exports.reachTemplate = function (obj, template, options) {
+
+	    return template.replace(/{([^}]+)}/g, function ($0, chain) {
+
+	        var value = exports.reach(obj, chain, options);
+	        return value === undefined || value === null ? '' : value;
+	    });
+	};
+
+	exports.formatStack = function (stack) {
+
+	    var trace = [];
+	    for (var i = 0; i < stack.length; ++i) {
+	        var item = stack[i];
+	        trace.push([item.getFileName(), item.getLineNumber(), item.getColumnNumber(), item.getFunctionName(), item.isConstructor()]);
+	    }
+
+	    return trace;
+	};
+
+	exports.formatTrace = function (trace) {
+
+	    var display = [];
+
+	    for (var i = 0; i < trace.length; ++i) {
+	        var row = trace[i];
+	        display.push((row[4] ? 'new ' : '') + row[3] + ' (' + row[0] + ':' + row[1] + ':' + row[2] + ')');
+	    }
+
+	    return display;
+	};
+
+	exports.callStack = function (slice) {
+
+	    // http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
+
+	    var v8 = Error.prepareStackTrace;
+	    Error.prepareStackTrace = function (err, stack) {
+
+	        return stack;
+	    };
+
+	    var capture = {};
+	    Error.captureStackTrace(capture, this); // arguments.callee is not supported in strict mode so we use this and slice the trace of this off the result
+	    var stack = capture.stack;
+
+	    Error.prepareStackTrace = v8;
+
+	    var trace = exports.formatStack(stack);
+
+	    return trace.slice(1 + slice);
+	};
+
+	exports.displayStack = function (slice) {
+
+	    var trace = exports.callStack(slice === undefined ? 1 : slice + 1);
+
+	    return exports.formatTrace(trace);
+	};
+
+	exports.abortThrow = false;
+
+	exports.abort = function (message, hideStack) {
+
+	    if (process.env.NODE_ENV === 'test' || exports.abortThrow === true) {
+	        throw new Error(message || 'Unknown error');
+	    }
+
+	    var stack = '';
+	    if (!hideStack) {
+	        stack = exports.displayStack(1).join('\n\t');
+	    }
+	    console.log('ABORT: ' + message + '\n\t' + stack);
+	    process.exit(1);
+	};
+
+	exports.assert = function (condition /*, msg1, msg2, msg3 */) {
+
+	    if (condition) {
+	        return;
+	    }
+
+	    if (arguments.length === 2 && arguments[1] instanceof Error) {
+	        throw arguments[1];
+	    }
+
+	    var msgs = [];
+	    for (var i = 1; i < arguments.length; ++i) {
+	        if (arguments[i] !== '') {
+	            msgs.push(arguments[i]); // Avoids Array.slice arguments leak, allowing for V8 optimizations
+	        }
+	    }
+
+	    msgs = msgs.map(function (msg) {
+
+	        return typeof msg === 'string' ? msg : msg instanceof Error ? msg.message : exports.stringify(msg);
+	    });
+
+	    throw new Error(msgs.join(' ') || 'Unknown error');
+	};
+
+	exports.Timer = function () {
+
+	    this.ts = 0;
+	    this.reset();
+	};
+
+	exports.Timer.prototype.reset = function () {
+
+	    this.ts = Date.now();
+	};
+
+	exports.Timer.prototype.elapsed = function () {
+
+	    return Date.now() - this.ts;
+	};
+
+	exports.Bench = function () {
+
+	    this.ts = 0;
+	    this.reset();
+	};
+
+	exports.Bench.prototype.reset = function () {
+
+	    this.ts = exports.Bench.now();
+	};
+
+	exports.Bench.prototype.elapsed = function () {
+
+	    return exports.Bench.now() - this.ts;
+	};
+
+	exports.Bench.now = function () {
+
+	    var ts = process.hrtime();
+	    return ts[0] * 1e3 + ts[1] / 1e6;
+	};
+
+	// Escape string for Regex construction
+
+	exports.escapeRegex = function (string) {
+
+	    // Escape ^$.*+-?=!:|\/()[]{},
+	    return string.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g, '\\$&');
+	};
+
+	// Base64url (RFC 4648) encode
+
+	exports.base64urlEncode = function (value, encoding) {
+
+	    var buf = Buffer.isBuffer(value) ? value : new Buffer(value, encoding || 'binary');
+	    return buf.toString('base64').replace(/\+/g, '-').replace(/\//g, '_').replace(/\=/g, '');
+	};
+
+	// Base64url (RFC 4648) decode
+
+	exports.base64urlDecode = function (value, encoding) {
+
+	    if (value && !/^[\w\-]*$/.test(value)) {
+
+	        return new Error('Invalid character');
+	    }
+
+	    try {
+	        var buf = new Buffer(value, 'base64');
+	        return encoding === 'buffer' ? buf : buf.toString(encoding || 'binary');
+	    } catch (err) {
+	        return err;
+	    }
+	};
+
+	// Escape attribute value for use in HTTP header
+
+	exports.escapeHeaderAttribute = function (attribute) {
+
+	    // Allowed value characters: !#$%&'()*+,-./:;<=>?@[]^_`{|}~ and space, a-z, A-Z, 0-9, \, "
+
+	    exports.assert(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(attribute), 'Bad attribute value (' + attribute + ')');
+
+	    return attribute.replace(/\\/g, '\\\\').replace(/\"/g, '\\"'); // Escape quotes and slash
+	};
+
+	exports.escapeHtml = function (string) {
+
+	    return Escape.escapeHtml(string);
+	};
+
+	exports.escapeJavaScript = function (string) {
+
+	    return Escape.escapeJavaScript(string);
+	};
+
+	exports.nextTick = function (callback) {
+
+	    return function () {
+
+	        var args = arguments;
+	        process.nextTick(function () {
+
+	            callback.apply(null, args);
+	        });
+	    };
+	};
+
+	exports.once = function (method) {
+
+	    if (method._hoekOnce) {
+	        return method;
+	    }
+
+	    var once = false;
+	    var wrapped = function wrapped() {
+
+	        if (!once) {
+	            once = true;
+	            method.apply(null, arguments);
+	        }
+	    };
+
+	    wrapped._hoekOnce = true;
+
+	    return wrapped;
+	};
+
+	exports.isAbsolutePath = function (path, platform) {
+
+	    if (!path) {
+	        return false;
+	    }
+
+	    if (Path.isAbsolute) {
+	        // node >= 0.11
+	        return Path.isAbsolute(path);
+	    }
+
+	    platform = platform || process.platform;
+
+	    // Unix
+
+	    if (platform !== 'win32') {
+	        return path[0] === '/';
+	    }
+
+	    // Windows
+
+	    return !!/^(?:[a-zA-Z]:[\\\/])|(?:[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/])/.test(path); // C:\ or \\something\something
+	};
+
+	exports.isInteger = function (value) {
+
+	    return typeof value === 'number' && parseFloat(value) === parseInt(value, 10) && !isNaN(value);
+	};
+
+	exports.ignore = function () {};
+
+	exports.inherits = Util.inherits;
+
+	exports.format = Util.format;
+
+	exports.transform = function (source, transform, options) {
+
+	    exports.assert(source === null || source === undefined || (typeof source === 'undefined' ? 'undefined' : (0, _typeof3.default)(source)) === 'object' || Array.isArray(source), 'Invalid source object: must be null, undefined, an object, or an array');
+
+	    if (Array.isArray(source)) {
+	        var results = [];
+	        for (var i = 0; i < source.length; ++i) {
+	            results.push(exports.transform(source[i], transform, options));
+	        }
+	        return results;
+	    }
+
+	    var result = {};
+	    var keys = (0, _keys2.default)(transform);
+
+	    for (var _i8 = 0; _i8 < keys.length; ++_i8) {
+	        var key = keys[_i8];
+	        var path = key.split('.');
+	        var sourcePath = transform[key];
+
+	        exports.assert(typeof sourcePath === 'string', 'All mappings must be "." delineated strings');
+
+	        var segment = void 0;
+	        var res = result;
+
+	        while (path.length > 1) {
+	            segment = path.shift();
+	            if (!res[segment]) {
+	                res[segment] = {};
+	            }
+	            res = res[segment];
+	        }
+	        segment = path.shift();
+	        res[segment] = exports.reach(source, sourcePath, options);
+	    }
+
+	    return result;
+	};
+
+	exports.uniqueFilename = function (path, extension) {
+
+	    if (extension) {
+	        extension = extension[0] !== '.' ? '.' + extension : extension;
+	    } else {
+	        extension = '';
+	    }
+
+	    path = Path.resolve(path);
+	    var name = [Date.now(), process.pid, Crypto.randomBytes(8).toString('hex')].join('-') + extension;
+	    return Path.join(path, name);
+	};
+
+	exports.stringify = function () {
+
+	    try {
+	        return _stringify2.default.apply(null, arguments);
+	    } catch (err) {
+	        return '[Cannot display object: ' + err.message + ']';
+	    }
+	};
+
+	exports.shallow = function (source) {
+
+	    var target = {};
+	    var keys = (0, _keys2.default)(source);
+	    for (var i = 0; i < keys.length; ++i) {
+	        var key = keys[i];
+	        target[key] = source[key];
+	    }
+
+	    return target;
+	};
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer, __webpack_require__(27)))
+
+/***/ },
+/* 71 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(72), __esModule: true };
+
+/***/ },
+/* 72 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var core = __webpack_require__(37);
+	module.exports = function stringify(it){ // eslint-disable-line no-unused-vars
+	  return (core.JSON && core.JSON.stringify || JSON.stringify).apply(JSON, arguments);
+	};
+
+/***/ },
+/* 73 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(74), __esModule: true };
+
+/***/ },
+/* 74 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $ = __webpack_require__(75);
+	module.exports = function defineProperty(it, key, desc){
+	  return $.setDesc(it, key, desc);
+	};
+
+/***/ },
+/* 75 */
+/***/ function(module, exports) {
+
+	var $Object = Object;
+	module.exports = {
+	  create:     $Object.create,
+	  getProto:   $Object.getPrototypeOf,
+	  isEnum:     {}.propertyIsEnumerable,
+	  getDesc:    $Object.getOwnPropertyDescriptor,
+	  setDesc:    $Object.defineProperty,
+	  setDescs:   $Object.defineProperties,
+	  getKeys:    $Object.keys,
+	  getNames:   $Object.getOwnPropertyNames,
+	  getSymbols: $Object.getOwnPropertySymbols,
+	  each:       [].forEach
+	};
+
+/***/ },
+/* 76 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(77), __esModule: true };
+
+/***/ },
+/* 77 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $ = __webpack_require__(75);
+	__webpack_require__(78);
+	module.exports = function getOwnPropertyDescriptor(it, key){
+	  return $.getDesc(it, key);
+	};
+
+/***/ },
+/* 78 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
+	var toIObject = __webpack_require__(79);
+
+	__webpack_require__(34)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
+	  return function getOwnPropertyDescriptor(it, key){
+	    return $getOwnPropertyDescriptor(toIObject(it), key);
+	  };
+	});
+
+/***/ },
+/* 79 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// to indexed object, toObject with fallback for non-array-like ES3 strings
+	var IObject = __webpack_require__(80)
+	  , defined = __webpack_require__(33);
+	module.exports = function(it){
+	  return IObject(defined(it));
+	};
+
+/***/ },
+/* 80 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// fallback for non-array-like ES3 and non-enumerable old V8 strings
+	var cof = __webpack_require__(81);
+	module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
+	  return cof(it) == 'String' ? it.split('') : Object(it);
+	};
+
+/***/ },
+/* 81 */
+/***/ function(module, exports) {
+
+	var toString = {}.toString;
+
+	module.exports = function(it){
+	  return toString.call(it).slice(8, -1);
+	};
+
+/***/ },
+/* 82 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(83), __esModule: true };
+
+/***/ },
+/* 83 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $ = __webpack_require__(75);
+	__webpack_require__(84);
+	module.exports = function getOwnPropertyNames(it){
+	  return $.getNames(it);
+	};
+
+/***/ },
+/* 84 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.7 Object.getOwnPropertyNames(O)
+	__webpack_require__(34)('getOwnPropertyNames', function(){
+	  return __webpack_require__(85).get;
+	});
+
+/***/ },
+/* 85 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
+	var toIObject = __webpack_require__(79)
+	  , getNames  = __webpack_require__(75).getNames
+	  , toString  = {}.toString;
+
+	var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
+	  ? Object.getOwnPropertyNames(window) : [];
+
+	var getWindowNames = function(it){
+	  try {
+	    return getNames(it);
+	  } catch(e){
+	    return windowNames.slice();
+	  }
+	};
+
+	module.exports.get = function getOwnPropertyNames(it){
+	  if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);
+	  return getNames(toIObject(it));
+	};
+
+/***/ },
+/* 86 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(87), __esModule: true };
+
+/***/ },
+/* 87 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $ = __webpack_require__(75);
+	module.exports = function create(P, D){
+	  return $.create(P, D);
+	};
+
+/***/ },
+/* 88 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(89), __esModule: true };
+
+/***/ },
+/* 89 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(90);
+	module.exports = __webpack_require__(37).Object.getPrototypeOf;
+
+/***/ },
+/* 90 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.9 Object.getPrototypeOf(O)
+	var toObject = __webpack_require__(32);
+
+	__webpack_require__(34)('getPrototypeOf', function($getPrototypeOf){
+	  return function getPrototypeOf(it){
+	    return $getPrototypeOf(toObject(it));
+	  };
+	});
+
+/***/ },
+/* 91 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	var _Symbol = __webpack_require__(92)["default"];
+
+	exports["default"] = function (obj) {
+	  return obj && obj.constructor === _Symbol ? "symbol" : typeof obj;
+	};
+
+	exports.__esModule = true;
+
+/***/ },
+/* 92 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(93), __esModule: true };
+
+/***/ },
+/* 93 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(94);
+	__webpack_require__(110);
+	module.exports = __webpack_require__(37).Symbol;
+
+/***/ },
+/* 94 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	// ECMAScript 6 symbols shim
+	var $              = __webpack_require__(75)
+	  , global         = __webpack_require__(36)
+	  , has            = __webpack_require__(95)
+	  , DESCRIPTORS    = __webpack_require__(96)
+	  , $export        = __webpack_require__(35)
+	  , redefine       = __webpack_require__(97)
+	  , $fails         = __webpack_require__(40)
+	  , shared         = __webpack_require__(100)
+	  , setToStringTag = __webpack_require__(101)
+	  , uid            = __webpack_require__(103)
+	  , wks            = __webpack_require__(102)
+	  , keyOf          = __webpack_require__(104)
+	  , $names         = __webpack_require__(85)
+	  , enumKeys       = __webpack_require__(105)
+	  , isArray        = __webpack_require__(106)
+	  , anObject       = __webpack_require__(107)
+	  , toIObject      = __webpack_require__(79)
+	  , createDesc     = __webpack_require__(99)
+	  , getDesc        = $.getDesc
+	  , setDesc        = $.setDesc
+	  , _create        = $.create
+	  , getNames       = $names.get
+	  , $Symbol        = global.Symbol
+	  , $JSON          = global.JSON
+	  , _stringify     = $JSON && $JSON.stringify
+	  , setter         = false
+	  , HIDDEN         = wks('_hidden')
+	  , isEnum         = $.isEnum
+	  , SymbolRegistry = shared('symbol-registry')
+	  , AllSymbols     = shared('symbols')
+	  , useNative      = typeof $Symbol == 'function'
+	  , ObjectProto    = Object.prototype;
+
+	// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
+	var setSymbolDesc = DESCRIPTORS && $fails(function(){
+	  return _create(setDesc({}, 'a', {
+	    get: function(){ return setDesc(this, 'a', {value: 7}).a; }
+	  })).a != 7;
+	}) ? function(it, key, D){
+	  var protoDesc = getDesc(ObjectProto, key);
+	  if(protoDesc)delete ObjectProto[key];
+	  setDesc(it, key, D);
+	  if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);
+	} : setDesc;
+
+	var wrap = function(tag){
+	  var sym = AllSymbols[tag] = _create($Symbol.prototype);
+	  sym._k = tag;
+	  DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {
+	    configurable: true,
+	    set: function(value){
+	      if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
+	      setSymbolDesc(this, tag, createDesc(1, value));
+	    }
+	  });
+	  return sym;
+	};
+
+	var isSymbol = function(it){
+	  return typeof it == 'symbol';
+	};
+
+	var $defineProperty = function defineProperty(it, key, D){
+	  if(D && has(AllSymbols, key)){
+	    if(!D.enumerable){
+	      if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {}));
+	      it[HIDDEN][key] = true;
+	    } else {
+	      if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
+	      D = _create(D, {enumerable: createDesc(0, false)});
+	    } return setSymbolDesc(it, key, D);
+	  } return setDesc(it, key, D);
+	};
+	var $defineProperties = function defineProperties(it, P){
+	  anObject(it);
+	  var keys = enumKeys(P = toIObject(P))
+	    , i    = 0
+	    , l = keys.length
+	    , key;
+	  while(l > i)$defineProperty(it, key = keys[i++], P[key]);
+	  return it;
+	};
+	var $create = function create(it, P){
+	  return P === undefined ? _create(it) : $defineProperties(_create(it), P);
+	};
+	var $propertyIsEnumerable = function propertyIsEnumerable(key){
+	  var E = isEnum.call(this, key);
+	  return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]
+	    ? E : true;
+	};
+	var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
+	  var D = getDesc(it = toIObject(it), key);
+	  if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
+	  return D;
+	};
+	var $getOwnPropertyNames = function getOwnPropertyNames(it){
+	  var names  = getNames(toIObject(it))
+	    , result = []
+	    , i      = 0
+	    , key;
+	  while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key);
+	  return result;
+	};
+	var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
+	  var names  = getNames(toIObject(it))
+	    , result = []
+	    , i      = 0
+	    , key;
+	  while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);
+	  return result;
+	};
+	var $stringify = function stringify(it){
+	  if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
+	  var args = [it]
+	    , i    = 1
+	    , $$   = arguments
+	    , replacer, $replacer;
+	  while($$.length > i)args.push($$[i++]);
+	  replacer = args[1];
+	  if(typeof replacer == 'function')$replacer = replacer;
+	  if($replacer || !isArray(replacer))replacer = function(key, value){
+	    if($replacer)value = $replacer.call(this, key, value);
+	    if(!isSymbol(value))return value;
+	  };
+	  args[1] = replacer;
+	  return _stringify.apply($JSON, args);
+	};
+	var buggyJSON = $fails(function(){
+	  var S = $Symbol();
+	  // MS Edge converts symbol values to JSON as {}
+	  // WebKit converts symbol values to JSON as null
+	  // V8 throws on boxed symbols
+	  return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
+	});
+
+	// 19.4.1.1 Symbol([description])
+	if(!useNative){
+	  $Symbol = function Symbol(){
+	    if(isSymbol(this))throw TypeError('Symbol is not a constructor');
+	    return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));
+	  };
+	  redefine($Symbol.prototype, 'toString', function toString(){
+	    return this._k;
+	  });
+
+	  isSymbol = function(it){
+	    return it instanceof $Symbol;
+	  };
+
+	  $.create     = $create;
+	  $.isEnum     = $propertyIsEnumerable;
+	  $.getDesc    = $getOwnPropertyDescriptor;
+	  $.setDesc    = $defineProperty;
+	  $.setDescs   = $defineProperties;
+	  $.getNames   = $names.get = $getOwnPropertyNames;
+	  $.getSymbols = $getOwnPropertySymbols;
+
+	  if(DESCRIPTORS && !__webpack_require__(109)){
+	    redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
+	  }
+	}
+
+	var symbolStatics = {
+	  // 19.4.2.1 Symbol.for(key)
+	  'for': function(key){
+	    return has(SymbolRegistry, key += '')
+	      ? SymbolRegistry[key]
+	      : SymbolRegistry[key] = $Symbol(key);
+	  },
+	  // 19.4.2.5 Symbol.keyFor(sym)
+	  keyFor: function keyFor(key){
+	    return keyOf(SymbolRegistry, key);
+	  },
+	  useSetter: function(){ setter = true; },
+	  useSimple: function(){ setter = false; }
+	};
+	// 19.4.2.2 Symbol.hasInstance
+	// 19.4.2.3 Symbol.isConcatSpreadable
+	// 19.4.2.4 Symbol.iterator
+	// 19.4.2.6 Symbol.match
+	// 19.4.2.8 Symbol.replace
+	// 19.4.2.9 Symbol.search
+	// 19.4.2.10 Symbol.species
+	// 19.4.2.11 Symbol.split
+	// 19.4.2.12 Symbol.toPrimitive
+	// 19.4.2.13 Symbol.toStringTag
+	// 19.4.2.14 Symbol.unscopables
+	$.each.call((
+	  'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +
+	  'species,split,toPrimitive,toStringTag,unscopables'
+	).split(','), function(it){
+	  var sym = wks(it);
+	  symbolStatics[it] = useNative ? sym : wrap(sym);
+	});
+
+	setter = true;
+
+	$export($export.G + $export.W, {Symbol: $Symbol});
+
+	$export($export.S, 'Symbol', symbolStatics);
+
+	$export($export.S + $export.F * !useNative, 'Object', {
+	  // 19.1.2.2 Object.create(O [, Properties])
+	  create: $create,
+	  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
+	  defineProperty: $defineProperty,
+	  // 19.1.2.3 Object.defineProperties(O, Properties)
+	  defineProperties: $defineProperties,
+	  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
+	  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
+	  // 19.1.2.7 Object.getOwnPropertyNames(O)
+	  getOwnPropertyNames: $getOwnPropertyNames,
+	  // 19.1.2.8 Object.getOwnPropertySymbols(O)
+	  getOwnPropertySymbols: $getOwnPropertySymbols
+	});
+
+	// 24.3.2 JSON.stringify(value [, replacer [, space]])
+	$JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
+
+	// 19.4.3.5 Symbol.prototype[@@toStringTag]
+	setToStringTag($Symbol, 'Symbol');
+	// 20.2.1.9 Math[@@toStringTag]
+	setToStringTag(Math, 'Math', true);
+	// 24.3.3 JSON[@@toStringTag]
+	setToStringTag(global.JSON, 'JSON', true);
+
+/***/ },
+/* 95 */
+/***/ function(module, exports) {
+
+	var hasOwnProperty = {}.hasOwnProperty;
+	module.exports = function(it, key){
+	  return hasOwnProperty.call(it, key);
+	};
+
+/***/ },
+/* 96 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Thank's IE8 for his funny defineProperty
+	module.exports = !__webpack_require__(40)(function(){
+	  return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
+	});
+
+/***/ },
+/* 97 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(98);
+
+/***/ },
+/* 98 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $          = __webpack_require__(75)
+	  , createDesc = __webpack_require__(99);
+	module.exports = __webpack_require__(96) ? function(object, key, value){
+	  return $.setDesc(object, key, createDesc(1, value));
+	} : function(object, key, value){
+	  object[key] = value;
+	  return object;
+	};
+
+/***/ },
+/* 99 */
+/***/ function(module, exports) {
+
+	module.exports = function(bitmap, value){
+	  return {
+	    enumerable  : !(bitmap & 1),
+	    configurable: !(bitmap & 2),
+	    writable    : !(bitmap & 4),
+	    value       : value
+	  };
+	};
+
+/***/ },
+/* 100 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global = __webpack_require__(36)
+	  , SHARED = '__core-js_shared__'
+	  , store  = global[SHARED] || (global[SHARED] = {});
+	module.exports = function(key){
+	  return store[key] || (store[key] = {});
+	};
+
+/***/ },
+/* 101 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var def = __webpack_require__(75).setDesc
+	  , has = __webpack_require__(95)
+	  , TAG = __webpack_require__(102)('toStringTag');
+
+	module.exports = function(it, tag, stat){
+	  if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
+	};
+
+/***/ },
+/* 102 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var store  = __webpack_require__(100)('wks')
+	  , uid    = __webpack_require__(103)
+	  , Symbol = __webpack_require__(36).Symbol;
+	module.exports = function(name){
+	  return store[name] || (store[name] =
+	    Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
+	};
+
+/***/ },
+/* 103 */
+/***/ function(module, exports) {
+
+	var id = 0
+	  , px = Math.random();
+	module.exports = function(key){
+	  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
+	};
+
+/***/ },
+/* 104 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $         = __webpack_require__(75)
+	  , toIObject = __webpack_require__(79);
+	module.exports = function(object, el){
+	  var O      = toIObject(object)
+	    , keys   = $.getKeys(O)
+	    , length = keys.length
+	    , index  = 0
+	    , key;
+	  while(length > index)if(O[key = keys[index++]] === el)return key;
+	};
+
+/***/ },
+/* 105 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// all enumerable object keys, includes symbols
+	var $ = __webpack_require__(75);
+	module.exports = function(it){
+	  var keys       = $.getKeys(it)
+	    , getSymbols = $.getSymbols;
+	  if(getSymbols){
+	    var symbols = getSymbols(it)
+	      , isEnum  = $.isEnum
+	      , i       = 0
+	      , key;
+	    while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);
+	  }
+	  return keys;
+	};
+
+/***/ },
+/* 106 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.2.2 IsArray(argument)
+	var cof = __webpack_require__(81);
+	module.exports = Array.isArray || function(arg){
+	  return cof(arg) == 'Array';
+	};
+
+/***/ },
+/* 107 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var isObject = __webpack_require__(108);
+	module.exports = function(it){
+	  if(!isObject(it))throw TypeError(it + ' is not an object!');
+	  return it;
+	};
+
+/***/ },
+/* 108 */
+/***/ function(module, exports) {
+
+	module.exports = function(it){
+	  return typeof it === 'object' ? it !== null : typeof it === 'function';
+	};
+
+/***/ },
+/* 109 */
+/***/ function(module, exports) {
+
+	module.exports = true;
+
+/***/ },
+/* 110 */
+/***/ function(module, exports) {
+
+	
+
+/***/ },
+/* 111 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var rng = __webpack_require__(112)
+
+	function error () {
+	  var m = [].slice.call(arguments).join(' ')
+	  throw new Error([
+	    m,
+	    'we accept pull requests',
+	    'http://github.com/dominictarr/crypto-browserify'
+	    ].join('\n'))
+	}
+
+	exports.createHash = __webpack_require__(114)
+
+	exports.createHmac = __webpack_require__(125)
+
+	exports.randomBytes = function(size, callback) {
+	  if (callback && callback.call) {
+	    try {
+	      callback.call(this, undefined, new Buffer(rng(size)))
+	    } catch (err) { callback(err) }
+	  } else {
+	    return new Buffer(rng(size))
+	  }
+	}
+
+	function each(a, f) {
+	  for(var i in a)
+	    f(a[i], i)
+	}
+
+	exports.getHashes = function () {
+	  return ['sha1', 'sha256', 'sha512', 'md5', 'rmd160']
+	}
+
+	var p = __webpack_require__(126)(exports)
+	exports.pbkdf2 = p.pbkdf2
+	exports.pbkdf2Sync = p.pbkdf2Sync
+
+
+	// the least I can do is make error messages for the rest of the node.js/crypto api.
+	each(['createCredentials'
+	, 'createCipher'
+	, 'createCipheriv'
+	, 'createDecipher'
+	, 'createDecipheriv'
+	, 'createSign'
+	, 'createVerify'
+	, 'createDiffieHellman'
+	], function (name) {
+	  exports[name] = function () {
+	    error('sorry,', name, 'is not implemented yet')
+	  }
+	})
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 112 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global, Buffer) {(function() {
+	  var g = ('undefined' === typeof window ? global : window) || {}
+	  _crypto = (
+	    g.crypto || g.msCrypto || __webpack_require__(113)
+	  )
+	  module.exports = function(size) {
+	    // Modern Browsers
+	    if(_crypto.getRandomValues) {
+	      var bytes = new Buffer(size); //in browserify, this is an extended Uint8Array
+	      /* This will not work in older browsers.
+	       * See https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues
+	       */
+	    
+	      _crypto.getRandomValues(bytes);
+	      return bytes;
+	    }
+	    else if (_crypto.randomBytes) {
+	      return _crypto.randomBytes(size)
+	    }
+	    else
+	      throw new Error(
+	        'secure random number generation not supported by this browser\n'+
+	        'use chrome, FireFox or Internet Explorer 11'
+	      )
+	  }
+	}())
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(2).Buffer))
+
+/***/ },
+/* 113 */
+/***/ function(module, exports) {
+
+	/* (ignored) */
+
+/***/ },
+/* 114 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var createHash = __webpack_require__(115)
+
+	var md5 = toConstructor(__webpack_require__(122))
+	var rmd160 = toConstructor(__webpack_require__(124))
+
+	function toConstructor (fn) {
+	  return function () {
+	    var buffers = []
+	    var m= {
+	      update: function (data, enc) {
+	        if(!Buffer.isBuffer(data)) data = new Buffer(data, enc)
+	        buffers.push(data)
+	        return this
+	      },
+	      digest: function (enc) {
+	        var buf = Buffer.concat(buffers)
+	        var r = fn(buf)
+	        buffers = null
+	        return enc ? r.toString(enc) : r
+	      }
+	    }
+	    return m
+	  }
+	}
+
+	module.exports = function (alg) {
+	  if('md5' === alg) return new md5()
+	  if('rmd160' === alg) return new rmd160()
+	  return createHash(alg)
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 115 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var exports = module.exports = function (alg) {
+	  var Alg = exports[alg]
+	  if(!Alg) throw new Error(alg + ' is not supported (we accept pull requests)')
+	  return new Alg()
+	}
+
+	var Buffer = __webpack_require__(2).Buffer
+	var Hash   = __webpack_require__(116)(Buffer)
+
+	exports.sha1 = __webpack_require__(117)(Buffer, Hash)
+	exports.sha256 = __webpack_require__(120)(Buffer, Hash)
+	exports.sha512 = __webpack_require__(121)(Buffer, Hash)
+
+
+/***/ },
+/* 116 */
+/***/ function(module, exports) {
+
+	module.exports = function (Buffer) {
+
+	  //prototype class for hash functions
+	  function Hash (blockSize, finalSize) {
+	    this._block = new Buffer(blockSize) //new Uint32Array(blockSize/4)
+	    this._finalSize = finalSize
+	    this._blockSize = blockSize
+	    this._len = 0
+	    this._s = 0
+	  }
+
+	  Hash.prototype.init = function () {
+	    this._s = 0
+	    this._len = 0
+	  }
+
+	  Hash.prototype.update = function (data, enc) {
+	    if ("string" === typeof data) {
+	      enc = enc || "utf8"
+	      data = new Buffer(data, enc)
+	    }
+
+	    var l = this._len += data.length
+	    var s = this._s = (this._s || 0)
+	    var f = 0
+	    var buffer = this._block
+
+	    while (s < l) {
+	      var t = Math.min(data.length, f + this._blockSize - (s % this._blockSize))
+	      var ch = (t - f)
+
+	      for (var i = 0; i < ch; i++) {
+	        buffer[(s % this._blockSize) + i] = data[i + f]
+	      }
+
+	      s += ch
+	      f += ch
+
+	      if ((s % this._blockSize) === 0) {
+	        this._update(buffer)
+	      }
+	    }
+	    this._s = s
+
+	    return this
+	  }
+
+	  Hash.prototype.digest = function (enc) {
+	    // Suppose the length of the message M, in bits, is l
+	    var l = this._len * 8
+
+	    // Append the bit 1 to the end of the message
+	    this._block[this._len % this._blockSize] = 0x80
+
+	    // and then k zero bits, where k is the smallest non-negative solution to the equation (l + 1 + k) === finalSize mod blockSize
+	    this._block.fill(0, this._len % this._blockSize + 1)
+
+	    if (l % (this._blockSize * 8) >= this._finalSize * 8) {
+	      this._update(this._block)
+	      this._block.fill(0)
+	    }
+
+	    // to this append the block which is equal to the number l written in binary
+	    // TODO: handle case where l is > Math.pow(2, 29)
+	    this._block.writeInt32BE(l, this._blockSize - 4)
+
+	    var hash = this._update(this._block) || this._hash()
+
+	    return enc ? hash.toString(enc) : hash
+	  }
+
+	  Hash.prototype._update = function () {
+	    throw new Error('_update must be implemented by subclass')
+	  }
+
+	  return Hash
+	}
+
+
+/***/ },
+/* 117 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/*
+	 * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
+	 * in FIPS PUB 180-1
+	 * Version 2.1a Copyright Paul Johnston 2000 - 2002.
+	 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+	 * Distributed under the BSD License
+	 * See http://pajhome.org.uk/crypt/md5 for details.
+	 */
+
+	var inherits = __webpack_require__(118).inherits
+
+	module.exports = function (Buffer, Hash) {
+
+	  var A = 0|0
+	  var B = 4|0
+	  var C = 8|0
+	  var D = 12|0
+	  var E = 16|0
+
+	  var W = new (typeof Int32Array === 'undefined' ? Array : Int32Array)(80)
+
+	  var POOL = []
+
+	  function Sha1 () {
+	    if(POOL.length)
+	      return POOL.pop().init()
+
+	    if(!(this instanceof Sha1)) return new Sha1()
+	    this._w = W
+	    Hash.call(this, 16*4, 14*4)
+
+	    this._h = null
+	    this.init()
+	  }
+
+	  inherits(Sha1, Hash)
+
+	  Sha1.prototype.init = function () {
+	    this._a = 0x67452301
+	    this._b = 0xefcdab89
+	    this._c = 0x98badcfe
+	    this._d = 0x10325476
+	    this._e = 0xc3d2e1f0
+
+	    Hash.prototype.init.call(this)
+	    return this
+	  }
+
+	  Sha1.prototype._POOL = POOL
+	  Sha1.prototype._update = function (X) {
+
+	    var a, b, c, d, e, _a, _b, _c, _d, _e
+
+	    a = _a = this._a
+	    b = _b = this._b
+	    c = _c = this._c
+	    d = _d = this._d
+	    e = _e = this._e
+
+	    var w = this._w
+
+	    for(var j = 0; j < 80; j++) {
+	      var W = w[j] = j < 16 ? X.readInt32BE(j*4)
+	        : rol(w[j - 3] ^ w[j -  8] ^ w[j - 14] ^ w[j - 16], 1)
+
+	      var t = add(
+	        add(rol(a, 5), sha1_ft(j, b, c, d)),
+	        add(add(e, W), sha1_kt(j))
+	      )
+
+	      e = d
+	      d = c
+	      c = rol(b, 30)
+	      b = a
+	      a = t
+	    }
+
+	    this._a = add(a, _a)
+	    this._b = add(b, _b)
+	    this._c = add(c, _c)
+	    this._d = add(d, _d)
+	    this._e = add(e, _e)
+	  }
+
+	  Sha1.prototype._hash = function () {
+	    if(POOL.length < 100) POOL.push(this)
+	    var H = new Buffer(20)
+	    //console.log(this._a|0, this._b|0, this._c|0, this._d|0, this._e|0)
+	    H.writeInt32BE(this._a|0, A)
+	    H.writeInt32BE(this._b|0, B)
+	    H.writeInt32BE(this._c|0, C)
+	    H.writeInt32BE(this._d|0, D)
+	    H.writeInt32BE(this._e|0, E)
+	    return H
+	  }
+
+	  /*
+	   * Perform the appropriate triplet combination function for the current
+	   * iteration
+	   */
+	  function sha1_ft(t, b, c, d) {
+	    if(t < 20) return (b & c) | ((~b) & d);
+	    if(t < 40) return b ^ c ^ d;
+	    if(t < 60) return (b & c) | (b & d) | (c & d);
+	    return b ^ c ^ d;
+	  }
+
+	  /*
+	   * Determine the appropriate additive constant for the current iteration
+	   */
+	  function sha1_kt(t) {
+	    return (t < 20) ?  1518500249 : (t < 40) ?  1859775393 :
+	           (t < 60) ? -1894007588 : -899497514;
+	  }
+
+	  /*
+	   * Add integers, wrapping at 2^32. This uses 16-bit operations internally
+	   * to work around bugs in some JS interpreters.
+	   * //dominictarr: this is 10 years old, so maybe this can be dropped?)
+	   *
+	   */
+	  function add(x, y) {
+	    return (x + y ) | 0
+	  //lets see how this goes on testling.
+	  //  var lsw = (x & 0xFFFF) + (y & 0xFFFF);
+	  //  var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+	  //  return (msw << 16) | (lsw & 0xFFFF);
+	  }
+
+	  /*
+	   * Bitwise rotate a 32-bit number to the left.
+	   */
+	  function rol(num, cnt) {
+	    return (num << cnt) | (num >>> (32 - cnt));
+	  }
+
+	  return Sha1
+	}
+
+
+/***/ },
+/* 118 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	var formatRegExp = /%[sdj%]/g;
+	exports.format = function(f) {
+	  if (!isString(f)) {
+	    var objects = [];
+	    for (var i = 0; i < arguments.length; i++) {
+	      objects.push(inspect(arguments[i]));
+	    }
+	    return objects.join(' ');
+	  }
+
+	  var i = 1;
+	  var args = arguments;
+	  var len = args.length;
+	  var str = String(f).replace(formatRegExp, function(x) {
+	    if (x === '%%') return '%';
+	    if (i >= len) return x;
+	    switch (x) {
+	      case '%s': return String(args[i++]);
+	      case '%d': return Number(args[i++]);
+	      case '%j':
+	        try {
+	          return JSON.stringify(args[i++]);
+	        } catch (_) {
+	          return '[Circular]';
+	        }
+	      default:
+	        return x;
+	    }
+	  });
+	  for (var x = args[i]; i < len; x = args[++i]) {
+	    if (isNull(x) || !isObject(x)) {
+	      str += ' ' + x;
+	    } else {
+	      str += ' ' + inspect(x);
+	    }
+	  }
+	  return str;
+	};
+
+
+	// Mark that a method should not be used.
+	// Returns a modified function which warns once by default.
+	// If --no-deprecation is set, then it is a no-op.
+	exports.deprecate = function(fn, msg) {
+	  // Allow for deprecating things in the process of starting up.
+	  if (isUndefined(global.process)) {
+	    return function() {
+	      return exports.deprecate(fn, msg).apply(this, arguments);
+	    };
+	  }
+
+	  if (process.noDeprecation === true) {
+	    return fn;
+	  }
+
+	  var warned = false;
+	  function deprecated() {
+	    if (!warned) {
+	      if (process.throwDeprecation) {
+	        throw new Error(msg);
+	      } else if (process.traceDeprecation) {
+	        console.trace(msg);
+	      } else {
+	        console.error(msg);
+	      }
+	      warned = true;
+	    }
+	    return fn.apply(this, arguments);
+	  }
+
+	  return deprecated;
+	};
+
+
+	var debugs = {};
+	var debugEnviron;
+	exports.debuglog = function(set) {
+	  if (isUndefined(debugEnviron))
+	    debugEnviron = process.env.NODE_DEBUG || '';
+	  set = set.toUpperCase();
+	  if (!debugs[set]) {
+	    if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
+	      var pid = process.pid;
+	      debugs[set] = function() {
+	        var msg = exports.format.apply(exports, arguments);
+	        console.error('%s %d: %s', set, pid, msg);
+	      };
+	    } else {
+	      debugs[set] = function() {};
+	    }
+	  }
+	  return debugs[set];
+	};
+
+
+	/**
+	 * Echos the value of a value. Trys to print the value out
+	 * in the best way possible given the different types.
+	 *
+	 * @param {Object} obj The object to print out.
+	 * @param {Object} opts Optional options object that alters the output.
+	 */
+	/* legacy: obj, showHidden, depth, colors*/
+	function inspect(obj, opts) {
+	  // default options
+	  var ctx = {
+	    seen: [],
+	    stylize: stylizeNoColor
+	  };
+	  // legacy...
+	  if (arguments.length >= 3) ctx.depth = arguments[2];
+	  if (arguments.length >= 4) ctx.colors = arguments[3];
+	  if (isBoolean(opts)) {
+	    // legacy...
+	    ctx.showHidden = opts;
+	  } else if (opts) {
+	    // got an "options" object
+	    exports._extend(ctx, opts);
+	  }
+	  // set default options
+	  if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
+	  if (isUndefined(ctx.depth)) ctx.depth = 2;
+	  if (isUndefined(ctx.colors)) ctx.colors = false;
+	  if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
+	  if (ctx.colors) ctx.stylize = stylizeWithColor;
+	  return formatValue(ctx, obj, ctx.depth);
+	}
+	exports.inspect = inspect;
+
+
+	// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
+	inspect.colors = {
+	  'bold' : [1, 22],
+	  'italic' : [3, 23],
+	  'underline' : [4, 24],
+	  'inverse' : [7, 27],
+	  'white' : [37, 39],
+	  'grey' : [90, 39],
+	  'black' : [30, 39],
+	  'blue' : [34, 39],
+	  'cyan' : [36, 39],
+	  'green' : [32, 39],
+	  'magenta' : [35, 39],
+	  'red' : [31, 39],
+	  'yellow' : [33, 39]
+	};
+
+	// Don't use 'blue' not visible on cmd.exe
+	inspect.styles = {
+	  'special': 'cyan',
+	  'number': 'yellow',
+	  'boolean': 'yellow',
+	  'undefined': 'grey',
+	  'null': 'bold',
+	  'string': 'green',
+	  'date': 'magenta',
+	  // "name": intentionally not styling
+	  'regexp': 'red'
+	};
+
+
+	function stylizeWithColor(str, styleType) {
+	  var style = inspect.styles[styleType];
+
+	  if (style) {
+	    return '\u001b[' + inspect.colors[style][0] + 'm' + str +
+	           '\u001b[' + inspect.colors[style][1] + 'm';
+	  } else {
+	    return str;
+	  }
+	}
+
+
+	function stylizeNoColor(str, styleType) {
+	  return str;
+	}
+
+
+	function arrayToHash(array) {
+	  var hash = {};
+
+	  array.forEach(function(val, idx) {
+	    hash[val] = true;
+	  });
+
+	  return hash;
+	}
+
+
+	function formatValue(ctx, value, recurseTimes) {
+	  // Provide a hook for user-specified inspect functions.
+	  // Check that value is an object with an inspect function on it
+	  if (ctx.customInspect &&
+	      value &&
+	      isFunction(value.inspect) &&
+	      // Filter out the util module, it's inspect function is special
+	      value.inspect !== exports.inspect &&
+	      // Also filter out any prototype objects using the circular check.
+	      !(value.constructor && value.constructor.prototype === value)) {
+	    var ret = value.inspect(recurseTimes, ctx);
+	    if (!isString(ret)) {
+	      ret = formatValue(ctx, ret, recurseTimes);
+	    }
+	    return ret;
+	  }
+
+	  // Primitive types cannot have properties
+	  var primitive = formatPrimitive(ctx, value);
+	  if (primitive) {
+	    return primitive;
+	  }
+
+	  // Look up the keys of the object.
+	  var keys = Object.keys(value);
+	  var visibleKeys = arrayToHash(keys);
+
+	  if (ctx.showHidden) {
+	    keys = Object.getOwnPropertyNames(value);
+	  }
+
+	  // IE doesn't make error fields non-enumerable
+	  // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
+	  if (isError(value)
+	      && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
+	    return formatError(value);
+	  }
+
+	  // Some type of object without properties can be shortcutted.
+	  if (keys.length === 0) {
+	    if (isFunction(value)) {
+	      var name = value.name ? ': ' + value.name : '';
+	      return ctx.stylize('[Function' + name + ']', 'special');
+	    }
+	    if (isRegExp(value)) {
+	      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
+	    }
+	    if (isDate(value)) {
+	      return ctx.stylize(Date.prototype.toString.call(value), 'date');
+	    }
+	    if (isError(value)) {
+	      return formatError(value);
+	    }
+	  }
+
+	  var base = '', array = false, braces = ['{', '}'];
+
+	  // Make Array say that they are Array
+	  if (isArray(value)) {
+	    array = true;
+	    braces = ['[', ']'];
+	  }
+
+	  // Make functions say that they are functions
+	  if (isFunction(value)) {
+	    var n = value.name ? ': ' + value.name : '';
+	    base = ' [Function' + n + ']';
+	  }
+
+	  // Make RegExps say that they are RegExps
+	  if (isRegExp(value)) {
+	    base = ' ' + RegExp.prototype.toString.call(value);
+	  }
+
+	  // Make dates with properties first say the date
+	  if (isDate(value)) {
+	    base = ' ' + Date.prototype.toUTCString.call(value);
+	  }
+
+	  // Make error with message first say the error
+	  if (isError(value)) {
+	    base = ' ' + formatError(value);
+	  }
+
+	  if (keys.length === 0 && (!array || value.length == 0)) {
+	    return braces[0] + base + braces[1];
+	  }
+
+	  if (recurseTimes < 0) {
+	    if (isRegExp(value)) {
+	      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
+	    } else {
+	      return ctx.stylize('[Object]', 'special');
+	    }
+	  }
+
+	  ctx.seen.push(value);
+
+	  var output;
+	  if (array) {
+	    output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
+	  } else {
+	    output = keys.map(function(key) {
+	      return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
+	    });
+	  }
+
+	  ctx.seen.pop();
+
+	  return reduceToSingleString(output, base, braces);
+	}
+
+
+	function formatPrimitive(ctx, value) {
+	  if (isUndefined(value))
+	    return ctx.stylize('undefined', 'undefined');
+	  if (isString(value)) {
+	    var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
+	                                             .replace(/'/g, "\\'")
+	                                             .replace(/\\"/g, '"') + '\'';
+	    return ctx.stylize(simple, 'string');
+	  }
+	  if (isNumber(value))
+	    return ctx.stylize('' + value, 'number');
+	  if (isBoolean(value))
+	    return ctx.stylize('' + value, 'boolean');
+	  // For some reason typeof null is "object", so special case here.
+	  if (isNull(value))
+	    return ctx.stylize('null', 'null');
+	}
+
+
+	function formatError(value) {
+	  return '[' + Error.prototype.toString.call(value) + ']';
+	}
+
+
+	function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
+	  var output = [];
+	  for (var i = 0, l = value.length; i < l; ++i) {
+	    if (hasOwnProperty(value, String(i))) {
+	      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
+	          String(i), true));
+	    } else {
+	      output.push('');
+	    }
+	  }
+	  keys.forEach(function(key) {
+	    if (!key.match(/^\d+$/)) {
+	      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
+	          key, true));
+	    }
+	  });
+	  return output;
+	}
+
+
+	function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
+	  var name, str, desc;
+	  desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
+	  if (desc.get) {
+	    if (desc.set) {
+	      str = ctx.stylize('[Getter/Setter]', 'special');
+	    } else {
+	      str = ctx.stylize('[Getter]', 'special');
+	    }
+	  } else {
+	    if (desc.set) {
+	      str = ctx.stylize('[Setter]', 'special');
+	    }
+	  }
+	  if (!hasOwnProperty(visibleKeys, key)) {
+	    name = '[' + key + ']';
+	  }
+	  if (!str) {
+	    if (ctx.seen.indexOf(desc.value) < 0) {
+	      if (isNull(recurseTimes)) {
+	        str = formatValue(ctx, desc.value, null);
+	      } else {
+	        str = formatValue(ctx, desc.value, recurseTimes - 1);
+	      }
+	      if (str.indexOf('\n') > -1) {
+	        if (array) {
+	          str = str.split('\n').map(function(line) {
+	            return '  ' + line;
+	          }).join('\n').substr(2);
+	        } else {
+	          str = '\n' + str.split('\n').map(function(line) {
+	            return '   ' + line;
+	          }).join('\n');
+	        }
+	      }
+	    } else {
+	      str = ctx.stylize('[Circular]', 'special');
+	    }
+	  }
+	  if (isUndefined(name)) {
+	    if (array && key.match(/^\d+$/)) {
+	      return str;
+	    }
+	    name = JSON.stringify('' + key);
+	    if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
+	      name = name.substr(1, name.length - 2);
+	      name = ctx.stylize(name, 'name');
+	    } else {
+	      name = name.replace(/'/g, "\\'")
+	                 .replace(/\\"/g, '"')
+	                 .replace(/(^"|"$)/g, "'");
+	      name = ctx.stylize(name, 'string');
+	    }
+	  }
+
+	  return name + ': ' + str;
+	}
+
+
+	function reduceToSingleString(output, base, braces) {
+	  var numLinesEst = 0;
+	  var length = output.reduce(function(prev, cur) {
+	    numLinesEst++;
+	    if (cur.indexOf('\n') >= 0) numLinesEst++;
+	    return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
+	  }, 0);
+
+	  if (length > 60) {
+	    return braces[0] +
+	           (base === '' ? '' : base + '\n ') +
+	           ' ' +
+	           output.join(',\n  ') +
+	           ' ' +
+	           braces[1];
+	  }
+
+	  return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
+	}
+
+
+	// NOTE: These type checking functions intentionally don't use `instanceof`
+	// because it is fragile and can be easily faked with `Object.create()`.
+	function isArray(ar) {
+	  return Array.isArray(ar);
+	}
+	exports.isArray = isArray;
+
+	function isBoolean(arg) {
+	  return typeof arg === 'boolean';
+	}
+	exports.isBoolean = isBoolean;
+
+	function isNull(arg) {
+	  return arg === null;
+	}
+	exports.isNull = isNull;
+
+	function isNullOrUndefined(arg) {
+	  return arg == null;
+	}
+	exports.isNullOrUndefined = isNullOrUndefined;
+
+	function isNumber(arg) {
+	  return typeof arg === 'number';
+	}
+	exports.isNumber = isNumber;
+
+	function isString(arg) {
+	  return typeof arg === 'string';
+	}
+	exports.isString = isString;
+
+	function isSymbol(arg) {
+	  return typeof arg === 'symbol';
+	}
+	exports.isSymbol = isSymbol;
+
+	function isUndefined(arg) {
+	  return arg === void 0;
+	}
+	exports.isUndefined = isUndefined;
+
+	function isRegExp(re) {
+	  return isObject(re) && objectToString(re) === '[object RegExp]';
+	}
+	exports.isRegExp = isRegExp;
+
+	function isObject(arg) {
+	  return typeof arg === 'object' && arg !== null;
+	}
+	exports.isObject = isObject;
+
+	function isDate(d) {
+	  return isObject(d) && objectToString(d) === '[object Date]';
+	}
+	exports.isDate = isDate;
+
+	function isError(e) {
+	  return isObject(e) &&
+	      (objectToString(e) === '[object Error]' || e instanceof Error);
+	}
+	exports.isError = isError;
+
+	function isFunction(arg) {
+	  return typeof arg === 'function';
+	}
+	exports.isFunction = isFunction;
+
+	function isPrimitive(arg) {
+	  return arg === null ||
+	         typeof arg === 'boolean' ||
+	         typeof arg === 'number' ||
+	         typeof arg === 'string' ||
+	         typeof arg === 'symbol' ||  // ES6 symbol
+	         typeof arg === 'undefined';
+	}
+	exports.isPrimitive = isPrimitive;
+
+	exports.isBuffer = __webpack_require__(119);
+
+	function objectToString(o) {
+	  return Object.prototype.toString.call(o);
+	}
+
+
+	function pad(n) {
+	  return n < 10 ? '0' + n.toString(10) : n.toString(10);
+	}
+
+
+	var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
+	              'Oct', 'Nov', 'Dec'];
+
+	// 26 Feb 16:19:34
+	function timestamp() {
+	  var d = new Date();
+	  var time = [pad(d.getHours()),
+	              pad(d.getMinutes()),
+	              pad(d.getSeconds())].join(':');
+	  return [d.getDate(), months[d.getMonth()], time].join(' ');
+	}
+
+
+	// log is just a thin wrapper to console.log that prepends a timestamp
+	exports.log = function() {
+	  console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));
+	};
+
+
+	/**
+	 * Inherit the prototype methods from one constructor into another.
+	 *
+	 * The Function.prototype.inherits from lang.js rewritten as a standalone
+	 * function (not on Function.prototype). NOTE: If this file is to be loaded
+	 * during bootstrapping this function needs to be rewritten using some native
+	 * functions as prototype setup using normal JavaScript does not work as
+	 * expected during bootstrapping (see mirror.js in r114903).
+	 *
+	 * @param {function} ctor Constructor function which needs to inherit the
+	 *     prototype.
+	 * @param {function} superCtor Constructor function to inherit prototype from.
+	 */
+	exports.inherits = __webpack_require__(50);
+
+	exports._extend = function(origin, add) {
+	  // Don't do anything if add isn't an object
+	  if (!add || !isObject(add)) return origin;
+
+	  var keys = Object.keys(add);
+	  var i = keys.length;
+	  while (i--) {
+	    origin[keys[i]] = add[keys[i]];
+	  }
+	  return origin;
+	};
+
+	function hasOwnProperty(obj, prop) {
+	  return Object.prototype.hasOwnProperty.call(obj, prop);
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(27)))
+
+/***/ },
+/* 119 */
+/***/ function(module, exports) {
+
+	module.exports = function isBuffer(arg) {
+	  return arg && typeof arg === 'object'
+	    && typeof arg.copy === 'function'
+	    && typeof arg.fill === 'function'
+	    && typeof arg.readUInt8 === 'function';
+	}
+
+/***/ },
+/* 120 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
+	 * in FIPS 180-2
+	 * Version 2.2-beta Copyright Angel Marin, Paul Johnston 2000 - 2009.
+	 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+	 *
+	 */
+
+	var inherits = __webpack_require__(118).inherits
+
+	module.exports = function (Buffer, Hash) {
+
+	  var K = [
+	      0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
+	      0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5,
+	      0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3,
+	      0x72BE5D74, 0x80DEB1FE, 0x9BDC06A7, 0xC19BF174,
+	      0xE49B69C1, 0xEFBE4786, 0x0FC19DC6, 0x240CA1CC,
+	      0x2DE92C6F, 0x4A7484AA, 0x5CB0A9DC, 0x76F988DA,
+	      0x983E5152, 0xA831C66D, 0xB00327C8, 0xBF597FC7,
+	      0xC6E00BF3, 0xD5A79147, 0x06CA6351, 0x14292967,
+	      0x27B70A85, 0x2E1B2138, 0x4D2C6DFC, 0x53380D13,
+	      0x650A7354, 0x766A0ABB, 0x81C2C92E, 0x92722C85,
+	      0xA2BFE8A1, 0xA81A664B, 0xC24B8B70, 0xC76C51A3,
+	      0xD192E819, 0xD6990624, 0xF40E3585, 0x106AA070,
+	      0x19A4C116, 0x1E376C08, 0x2748774C, 0x34B0BCB5,
+	      0x391C0CB3, 0x4ED8AA4A, 0x5B9CCA4F, 0x682E6FF3,
+	      0x748F82EE, 0x78A5636F, 0x84C87814, 0x8CC70208,
+	      0x90BEFFFA, 0xA4506CEB, 0xBEF9A3F7, 0xC67178F2
+	    ]
+
+	  var W = new Array(64)
+
+	  function Sha256() {
+	    this.init()
+
+	    this._w = W //new Array(64)
+
+	    Hash.call(this, 16*4, 14*4)
+	  }
+
+	  inherits(Sha256, Hash)
+
+	  Sha256.prototype.init = function () {
+
+	    this._a = 0x6a09e667|0
+	    this._b = 0xbb67ae85|0
+	    this._c = 0x3c6ef372|0
+	    this._d = 0xa54ff53a|0
+	    this._e = 0x510e527f|0
+	    this._f = 0x9b05688c|0
+	    this._g = 0x1f83d9ab|0
+	    this._h = 0x5be0cd19|0
+
+	    this._len = this._s = 0
+
+	    return this
+	  }
+
+	  function S (X, n) {
+	    return (X >>> n) | (X << (32 - n));
+	  }
+
+	  function R (X, n) {
+	    return (X >>> n);
+	  }
+
+	  function Ch (x, y, z) {
+	    return ((x & y) ^ ((~x) & z));
+	  }
+
+	  function Maj (x, y, z) {
+	    return ((x & y) ^ (x & z) ^ (y & z));
+	  }
+
+	  function Sigma0256 (x) {
+	    return (S(x, 2) ^ S(x, 13) ^ S(x, 22));
+	  }
+
+	  function Sigma1256 (x) {
+	    return (S(x, 6) ^ S(x, 11) ^ S(x, 25));
+	  }
+
+	  function Gamma0256 (x) {
+	    return (S(x, 7) ^ S(x, 18) ^ R(x, 3));
+	  }
+
+	  function Gamma1256 (x) {
+	    return (S(x, 17) ^ S(x, 19) ^ R(x, 10));
+	  }
+
+	  Sha256.prototype._update = function(M) {
+
+	    var W = this._w
+	    var a, b, c, d, e, f, g, h
+	    var T1, T2
+
+	    a = this._a | 0
+	    b = this._b | 0
+	    c = this._c | 0
+	    d = this._d | 0
+	    e = this._e | 0
+	    f = this._f | 0
+	    g = this._g | 0
+	    h = this._h | 0
+
+	    for (var j = 0; j < 64; j++) {
+	      var w = W[j] = j < 16
+	        ? M.readInt32BE(j * 4)
+	        : Gamma1256(W[j - 2]) + W[j - 7] + Gamma0256(W[j - 15]) + W[j - 16]
+
+	      T1 = h + Sigma1256(e) + Ch(e, f, g) + K[j] + w
+
+	      T2 = Sigma0256(a) + Maj(a, b, c);
+	      h = g; g = f; f = e; e = d + T1; d = c; c = b; b = a; a = T1 + T2;
+	    }
+
+	    this._a = (a + this._a) | 0
+	    this._b = (b + this._b) | 0
+	    this._c = (c + this._c) | 0
+	    this._d = (d + this._d) | 0
+	    this._e = (e + this._e) | 0
+	    this._f = (f + this._f) | 0
+	    this._g = (g + this._g) | 0
+	    this._h = (h + this._h) | 0
+
+	  };
+
+	  Sha256.prototype._hash = function () {
+	    var H = new Buffer(32)
+
+	    H.writeInt32BE(this._a,  0)
+	    H.writeInt32BE(this._b,  4)
+	    H.writeInt32BE(this._c,  8)
+	    H.writeInt32BE(this._d, 12)
+	    H.writeInt32BE(this._e, 16)
+	    H.writeInt32BE(this._f, 20)
+	    H.writeInt32BE(this._g, 24)
+	    H.writeInt32BE(this._h, 28)
+
+	    return H
+	  }
+
+	  return Sha256
+
+	}
+
+
+/***/ },
+/* 121 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var inherits = __webpack_require__(118).inherits
+
+	module.exports = function (Buffer, Hash) {
+	  var K = [
+	    0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,
+	    0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc,
+	    0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019,
+	    0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118,
+	    0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe,
+	    0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2,
+	    0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1,
+	    0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694,
+	    0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3,
+	    0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65,
+	    0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483,
+	    0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5,
+	    0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210,
+	    0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4,
+	    0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725,
+	    0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70,
+	    0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926,
+	    0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df,
+	    0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8,
+	    0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b,
+	    0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001,
+	    0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30,
+	    0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910,
+	    0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8,
+	    0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53,
+	    0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8,
+	    0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb,
+	    0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3,
+	    0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60,
+	    0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec,
+	    0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9,
+	    0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b,
+	    0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207,
+	    0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178,
+	    0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6,
+	    0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b,
+	    0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493,
+	    0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c,
+	    0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a,
+	    0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817
+	  ]
+
+	  var W = new Array(160)
+
+	  function Sha512() {
+	    this.init()
+	    this._w = W
+
+	    Hash.call(this, 128, 112)
+	  }
+
+	  inherits(Sha512, Hash)
+
+	  Sha512.prototype.init = function () {
+
+	    this._a = 0x6a09e667|0
+	    this._b = 0xbb67ae85|0
+	    this._c = 0x3c6ef372|0
+	    this._d = 0xa54ff53a|0
+	    this._e = 0x510e527f|0
+	    this._f = 0x9b05688c|0
+	    this._g = 0x1f83d9ab|0
+	    this._h = 0x5be0cd19|0
+
+	    this._al = 0xf3bcc908|0
+	    this._bl = 0x84caa73b|0
+	    this._cl = 0xfe94f82b|0
+	    this._dl = 0x5f1d36f1|0
+	    this._el = 0xade682d1|0
+	    this._fl = 0x2b3e6c1f|0
+	    this._gl = 0xfb41bd6b|0
+	    this._hl = 0x137e2179|0
+
+	    this._len = this._s = 0
+
+	    return this
+	  }
+
+	  function S (X, Xl, n) {
+	    return (X >>> n) | (Xl << (32 - n))
+	  }
+
+	  function Ch (x, y, z) {
+	    return ((x & y) ^ ((~x) & z));
+	  }
+
+	  function Maj (x, y, z) {
+	    return ((x & y) ^ (x & z) ^ (y & z));
+	  }
+
+	  Sha512.prototype._update = function(M) {
+
+	    var W = this._w
+	    var a, b, c, d, e, f, g, h
+	    var al, bl, cl, dl, el, fl, gl, hl
+
+	    a = this._a | 0
+	    b = this._b | 0
+	    c = this._c | 0
+	    d = this._d | 0
+	    e = this._e | 0
+	    f = this._f | 0
+	    g = this._g | 0
+	    h = this._h | 0
+
+	    al = this._al | 0
+	    bl = this._bl | 0
+	    cl = this._cl | 0
+	    dl = this._dl | 0
+	    el = this._el | 0
+	    fl = this._fl | 0
+	    gl = this._gl | 0
+	    hl = this._hl | 0
+
+	    for (var i = 0; i < 80; i++) {
+	      var j = i * 2
+
+	      var Wi, Wil
+
+	      if (i < 16) {
+	        Wi = W[j] = M.readInt32BE(j * 4)
+	        Wil = W[j + 1] = M.readInt32BE(j * 4 + 4)
+
+	      } else {
+	        var x  = W[j - 15*2]
+	        var xl = W[j - 15*2 + 1]
+	        var gamma0  = S(x, xl, 1) ^ S(x, xl, 8) ^ (x >>> 7)
+	        var gamma0l = S(xl, x, 1) ^ S(xl, x, 8) ^ S(xl, x, 7)
+
+	        x  = W[j - 2*2]
+	        xl = W[j - 2*2 + 1]
+	        var gamma1  = S(x, xl, 19) ^ S(xl, x, 29) ^ (x >>> 6)
+	        var gamma1l = S(xl, x, 19) ^ S(x, xl, 29) ^ S(xl, x, 6)
+
+	        // W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16]
+	        var Wi7  = W[j - 7*2]
+	        var Wi7l = W[j - 7*2 + 1]
+
+	        var Wi16  = W[j - 16*2]
+	        var Wi16l = W[j - 16*2 + 1]
+
+	        Wil = gamma0l + Wi7l
+	        Wi  = gamma0  + Wi7 + ((Wil >>> 0) < (gamma0l >>> 0) ? 1 : 0)
+	        Wil = Wil + gamma1l
+	        Wi  = Wi  + gamma1  + ((Wil >>> 0) < (gamma1l >>> 0) ? 1 : 0)
+	        Wil = Wil + Wi16l
+	        Wi  = Wi  + Wi16 + ((Wil >>> 0) < (Wi16l >>> 0) ? 1 : 0)
+
+	        W[j] = Wi
+	        W[j + 1] = Wil
+	      }
+
+	      var maj = Maj(a, b, c)
+	      var majl = Maj(al, bl, cl)
+
+	      var sigma0h = S(a, al, 28) ^ S(al, a, 2) ^ S(al, a, 7)
+	      var sigma0l = S(al, a, 28) ^ S(a, al, 2) ^ S(a, al, 7)
+	      var sigma1h = S(e, el, 14) ^ S(e, el, 18) ^ S(el, e, 9)
+	      var sigma1l = S(el, e, 14) ^ S(el, e, 18) ^ S(e, el, 9)
+
+	      // t1 = h + sigma1 + ch + K[i] + W[i]
+	      var Ki = K[j]
+	      var Kil = K[j + 1]
+
+	      var ch = Ch(e, f, g)
+	      var chl = Ch(el, fl, gl)
+
+	      var t1l = hl + sigma1l
+	      var t1 = h + sigma1h + ((t1l >>> 0) < (hl >>> 0) ? 1 : 0)
+	      t1l = t1l + chl
+	      t1 = t1 + ch + ((t1l >>> 0) < (chl >>> 0) ? 1 : 0)
+	      t1l = t1l + Kil
+	      t1 = t1 + Ki + ((t1l >>> 0) < (Kil >>> 0) ? 1 : 0)
+	      t1l = t1l + Wil
+	      t1 = t1 + Wi + ((t1l >>> 0) < (Wil >>> 0) ? 1 : 0)
+
+	      // t2 = sigma0 + maj
+	      var t2l = sigma0l + majl
+	      var t2 = sigma0h + maj + ((t2l >>> 0) < (sigma0l >>> 0) ? 1 : 0)
+
+	      h  = g
+	      hl = gl
+	      g  = f
+	      gl = fl
+	      f  = e
+	      fl = el
+	      el = (dl + t1l) | 0
+	      e  = (d + t1 + ((el >>> 0) < (dl >>> 0) ? 1 : 0)) | 0
+	      d  = c
+	      dl = cl
+	      c  = b
+	      cl = bl
+	      b  = a
+	      bl = al
+	      al = (t1l + t2l) | 0
+	      a  = (t1 + t2 + ((al >>> 0) < (t1l >>> 0) ? 1 : 0)) | 0
+	    }
+
+	    this._al = (this._al + al) | 0
+	    this._bl = (this._bl + bl) | 0
+	    this._cl = (this._cl + cl) | 0
+	    this._dl = (this._dl + dl) | 0
+	    this._el = (this._el + el) | 0
+	    this._fl = (this._fl + fl) | 0
+	    this._gl = (this._gl + gl) | 0
+	    this._hl = (this._hl + hl) | 0
+
+	    this._a = (this._a + a + ((this._al >>> 0) < (al >>> 0) ? 1 : 0)) | 0
+	    this._b = (this._b + b + ((this._bl >>> 0) < (bl >>> 0) ? 1 : 0)) | 0
+	    this._c = (this._c + c + ((this._cl >>> 0) < (cl >>> 0) ? 1 : 0)) | 0
+	    this._d = (this._d + d + ((this._dl >>> 0) < (dl >>> 0) ? 1 : 0)) | 0
+	    this._e = (this._e + e + ((this._el >>> 0) < (el >>> 0) ? 1 : 0)) | 0
+	    this._f = (this._f + f + ((this._fl >>> 0) < (fl >>> 0) ? 1 : 0)) | 0
+	    this._g = (this._g + g + ((this._gl >>> 0) < (gl >>> 0) ? 1 : 0)) | 0
+	    this._h = (this._h + h + ((this._hl >>> 0) < (hl >>> 0) ? 1 : 0)) | 0
+	  }
+
+	  Sha512.prototype._hash = function () {
+	    var H = new Buffer(64)
+
+	    function writeInt64BE(h, l, offset) {
+	      H.writeInt32BE(h, offset)
+	      H.writeInt32BE(l, offset + 4)
+	    }
+
+	    writeInt64BE(this._a, this._al, 0)
+	    writeInt64BE(this._b, this._bl, 8)
+	    writeInt64BE(this._c, this._cl, 16)
+	    writeInt64BE(this._d, this._dl, 24)
+	    writeInt64BE(this._e, this._el, 32)
+	    writeInt64BE(this._f, this._fl, 40)
+	    writeInt64BE(this._g, this._gl, 48)
+	    writeInt64BE(this._h, this._hl, 56)
+
+	    return H
+	  }
+
+	  return Sha512
+
+	}
+
+
+/***/ },
+/* 122 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/*
+	 * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
+	 * Digest Algorithm, as defined in RFC 1321.
+	 * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
+	 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
+	 * Distributed under the BSD License
+	 * See http://pajhome.org.uk/crypt/md5 for more info.
+	 */
+
+	var helpers = __webpack_require__(123);
+
+	/*
+	 * Calculate the MD5 of an array of little-endian words, and a bit length
+	 */
+	function core_md5(x, len)
+	{
+	  /* append padding */
+	  x[len >> 5] |= 0x80 << ((len) % 32);
+	  x[(((len + 64) >>> 9) << 4) + 14] = len;
+
+	  var a =  1732584193;
+	  var b = -271733879;
+	  var c = -1732584194;
+	  var d =  271733878;
+
+	  for(var i = 0; i < x.length; i += 16)
+	  {
+	    var olda = a;
+	    var oldb = b;
+	    var oldc = c;
+	    var oldd = d;
+
+	    a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
+	    d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
+	    c = md5_ff(c, d, a, b, x[i+ 2], 17,  606105819);
+	    b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
+	    a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
+	    d = md5_ff(d, a, b, c, x[i+ 5], 12,  1200080426);
+	    c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
+	    b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
+	    a = md5_ff(a, b, c, d, x[i+ 8], 7 ,  1770035416);
+	    d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
+	    c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
+	    b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
+	    a = md5_ff(a, b, c, d, x[i+12], 7 ,  1804603682);
+	    d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
+	    c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
+	    b = md5_ff(b, c, d, a, x[i+15], 22,  1236535329);
+
+	    a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
+	    d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
+	    c = md5_gg(c, d, a, b, x[i+11], 14,  643717713);
+	    b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
+	    a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
+	    d = md5_gg(d, a, b, c, x[i+10], 9 ,  38016083);
+	    c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
+	    b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
+	    a = md5_gg(a, b, c, d, x[i+ 9], 5 ,  568446438);
+	    d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
+	    c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
+	    b = md5_gg(b, c, d, a, x[i+ 8], 20,  1163531501);
+	    a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
+	    d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
+	    c = md5_gg(c, d, a, b, x[i+ 7], 14,  1735328473);
+	    b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
+
+	    a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
+	    d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
+	    c = md5_hh(c, d, a, b, x[i+11], 16,  1839030562);
+	    b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
+	    a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
+	    d = md5_hh(d, a, b, c, x[i+ 4], 11,  1272893353);
+	    c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
+	    b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
+	    a = md5_hh(a, b, c, d, x[i+13], 4 ,  681279174);
+	    d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
+	    c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
+	    b = md5_hh(b, c, d, a, x[i+ 6], 23,  76029189);
+	    a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
+	    d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
+	    c = md5_hh(c, d, a, b, x[i+15], 16,  530742520);
+	    b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
+
+	    a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
+	    d = md5_ii(d, a, b, c, x[i+ 7], 10,  1126891415);
+	    c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
+	    b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
+	    a = md5_ii(a, b, c, d, x[i+12], 6 ,  1700485571);
+	    d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
+	    c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
+	    b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
+	    a = md5_ii(a, b, c, d, x[i+ 8], 6 ,  1873313359);
+	    d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
+	    c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
+	    b = md5_ii(b, c, d, a, x[i+13], 21,  1309151649);
+	    a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
+	    d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
+	    c = md5_ii(c, d, a, b, x[i+ 2], 15,  718787259);
+	    b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
+
+	    a = safe_add(a, olda);
+	    b = safe_add(b, oldb);
+	    c = safe_add(c, oldc);
+	    d = safe_add(d, oldd);
+	  }
+	  return Array(a, b, c, d);
+
+	}
+
+	/*
+	 * These functions implement the four basic operations the algorithm uses.
+	 */
+	function md5_cmn(q, a, b, x, s, t)
+	{
+	  return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
+	}
+	function md5_ff(a, b, c, d, x, s, t)
+	{
+	  return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
+	}
+	function md5_gg(a, b, c, d, x, s, t)
+	{
+	  return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
+	}
+	function md5_hh(a, b, c, d, x, s, t)
+	{
+	  return md5_cmn(b ^ c ^ d, a, b, x, s, t);
+	}
+	function md5_ii(a, b, c, d, x, s, t)
+	{
+	  return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
+	}
+
+	/*
+	 * Add integers, wrapping at 2^32. This uses 16-bit operations internally
+	 * to work around bugs in some JS interpreters.
+	 */
+	function safe_add(x, y)
+	{
+	  var lsw = (x & 0xFFFF) + (y & 0xFFFF);
+	  var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+	  return (msw << 16) | (lsw & 0xFFFF);
+	}
+
+	/*
+	 * Bitwise rotate a 32-bit number to the left.
+	 */
+	function bit_rol(num, cnt)
+	{
+	  return (num << cnt) | (num >>> (32 - cnt));
+	}
+
+	module.exports = function md5(buf) {
+	  return helpers.hash(buf, core_md5, 16);
+	};
+
+
+/***/ },
+/* 123 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var intSize = 4;
+	var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0);
+	var chrsz = 8;
+
+	function toArray(buf, bigEndian) {
+	  if ((buf.length % intSize) !== 0) {
+	    var len = buf.length + (intSize - (buf.length % intSize));
+	    buf = Buffer.concat([buf, zeroBuffer], len);
+	  }
+
+	  var arr = [];
+	  var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE;
+	  for (var i = 0; i < buf.length; i += intSize) {
+	    arr.push(fn.call(buf, i));
+	  }
+	  return arr;
+	}
+
+	function toBuffer(arr, size, bigEndian) {
+	  var buf = new Buffer(size);
+	  var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE;
+	  for (var i = 0; i < arr.length; i++) {
+	    fn.call(buf, arr[i], i * 4, true);
+	  }
+	  return buf;
+	}
+
+	function hash(buf, fn, hashSize, bigEndian) {
+	  if (!Buffer.isBuffer(buf)) buf = new Buffer(buf);
+	  var arr = fn(toArray(buf, bigEndian), buf.length * chrsz);
+	  return toBuffer(arr, hashSize, bigEndian);
+	}
+
+	module.exports = { hash: hash };
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 124 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {
+	module.exports = ripemd160
+
+
+
+	/*
+	CryptoJS v3.1.2
+	code.google.com/p/crypto-js
+	(c) 2009-2013 by Jeff Mott. All rights reserved.
+	code.google.com/p/crypto-js/wiki/License
+	*/
+	/** @preserve
+	(c) 2012 by Cédric Mesnil. All rights reserved.
+
+	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+	*/
+
+	// Constants table
+	var zl = [
+	    0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15,
+	    7,  4, 13,  1, 10,  6, 15,  3, 12,  0,  9,  5,  2, 14, 11,  8,
+	    3, 10, 14,  4,  9, 15,  8,  1,  2,  7,  0,  6, 13, 11,  5, 12,
+	    1,  9, 11, 10,  0,  8, 12,  4, 13,  3,  7, 15, 14,  5,  6,  2,
+	    4,  0,  5,  9,  7, 12,  2, 10, 14,  1,  3,  8, 11,  6, 15, 13];
+	var zr = [
+	    5, 14,  7,  0,  9,  2, 11,  4, 13,  6, 15,  8,  1, 10,  3, 12,
+	    6, 11,  3,  7,  0, 13,  5, 10, 14, 15,  8, 12,  4,  9,  1,  2,
+	    15,  5,  1,  3,  7, 14,  6,  9, 11,  8, 12,  2, 10,  0,  4, 13,
+	    8,  6,  4,  1,  3, 11, 15,  0,  5, 12,  2, 13,  9,  7, 10, 14,
+	    12, 15, 10,  4,  1,  5,  8,  7,  6,  2, 13, 14,  0,  3,  9, 11];
+	var sl = [
+	     11, 14, 15, 12,  5,  8,  7,  9, 11, 13, 14, 15,  6,  7,  9,  8,
+	    7, 6,   8, 13, 11,  9,  7, 15,  7, 12, 15,  9, 11,  7, 13, 12,
+	    11, 13,  6,  7, 14,  9, 13, 15, 14,  8, 13,  6,  5, 12,  7,  5,
+	      11, 12, 14, 15, 14, 15,  9,  8,  9, 14,  5,  6,  8,  6,  5, 12,
+	    9, 15,  5, 11,  6,  8, 13, 12,  5, 12, 13, 14, 11,  8,  5,  6 ];
+	var sr = [
+	    8,  9,  9, 11, 13, 15, 15,  5,  7,  7,  8, 11, 14, 14, 12,  6,
+	    9, 13, 15,  7, 12,  8,  9, 11,  7,  7, 12,  7,  6, 15, 13, 11,
+	    9,  7, 15, 11,  8,  6,  6, 14, 12, 13,  5, 14, 13, 13,  7,  5,
+	    15,  5,  8, 11, 14, 14,  6, 14,  6,  9, 12,  9, 12,  5, 15,  8,
+	    8,  5, 12,  9, 12,  5, 14,  6,  8, 13,  6,  5, 15, 13, 11, 11 ];
+
+	var hl =  [ 0x00000000, 0x5A827999, 0x6ED9EBA1, 0x8F1BBCDC, 0xA953FD4E];
+	var hr =  [ 0x50A28BE6, 0x5C4DD124, 0x6D703EF3, 0x7A6D76E9, 0x00000000];
+
+	var bytesToWords = function (bytes) {
+	  var words = [];
+	  for (var i = 0, b = 0; i < bytes.length; i++, b += 8) {
+	    words[b >>> 5] |= bytes[i] << (24 - b % 32);
+	  }
+	  return words;
+	};
+
+	var wordsToBytes = function (words) {
+	  var bytes = [];
+	  for (var b = 0; b < words.length * 32; b += 8) {
+	    bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
+	  }
+	  return bytes;
+	};
+
+	var processBlock = function (H, M, offset) {
+
+	  // Swap endian
+	  for (var i = 0; i < 16; i++) {
+	    var offset_i = offset + i;
+	    var M_offset_i = M[offset_i];
+
+	    // Swap
+	    M[offset_i] = (
+	        (((M_offset_i << 8)  | (M_offset_i >>> 24)) & 0x00ff00ff) |
+	        (((M_offset_i << 24) | (M_offset_i >>> 8))  & 0xff00ff00)
+	    );
+	  }
+
+	  // Working variables
+	  var al, bl, cl, dl, el;
+	  var ar, br, cr, dr, er;
+
+	  ar = al = H[0];
+	  br = bl = H[1];
+	  cr = cl = H[2];
+	  dr = dl = H[3];
+	  er = el = H[4];
+	  // Computation
+	  var t;
+	  for (var i = 0; i < 80; i += 1) {
+	    t = (al +  M[offset+zl[i]])|0;
+	    if (i<16){
+	        t +=  f1(bl,cl,dl) + hl[0];
+	    } else if (i<32) {
+	        t +=  f2(bl,cl,dl) + hl[1];
+	    } else if (i<48) {
+	        t +=  f3(bl,cl,dl) + hl[2];
+	    } else if (i<64) {
+	        t +=  f4(bl,cl,dl) + hl[3];
+	    } else {// if (i<80) {
+	        t +=  f5(bl,cl,dl) + hl[4];
+	    }
+	    t = t|0;
+	    t =  rotl(t,sl[i]);
+	    t = (t+el)|0;
+	    al = el;
+	    el = dl;
+	    dl = rotl(cl, 10);
+	    cl = bl;
+	    bl = t;
+
+	    t = (ar + M[offset+zr[i]])|0;
+	    if (i<16){
+	        t +=  f5(br,cr,dr) + hr[0];
+	    } else if (i<32) {
+	        t +=  f4(br,cr,dr) + hr[1];
+	    } else if (i<48) {
+	        t +=  f3(br,cr,dr) + hr[2];
+	    } else if (i<64) {
+	        t +=  f2(br,cr,dr) + hr[3];
+	    } else {// if (i<80) {
+	        t +=  f1(br,cr,dr) + hr[4];
+	    }
+	    t = t|0;
+	    t =  rotl(t,sr[i]) ;
+	    t = (t+er)|0;
+	    ar = er;
+	    er = dr;
+	    dr = rotl(cr, 10);
+	    cr = br;
+	    br = t;
+	  }
+	  // Intermediate hash value
+	  t    = (H[1] + cl + dr)|0;
+	  H[1] = (H[2] + dl + er)|0;
+	  H[2] = (H[3] + el + ar)|0;
+	  H[3] = (H[4] + al + br)|0;
+	  H[4] = (H[0] + bl + cr)|0;
+	  H[0] =  t;
+	};
+
+	function f1(x, y, z) {
+	  return ((x) ^ (y) ^ (z));
+	}
+
+	function f2(x, y, z) {
+	  return (((x)&(y)) | ((~x)&(z)));
+	}
+
+	function f3(x, y, z) {
+	  return (((x) | (~(y))) ^ (z));
+	}
+
+	function f4(x, y, z) {
+	  return (((x) & (z)) | ((y)&(~(z))));
+	}
+
+	function f5(x, y, z) {
+	  return ((x) ^ ((y) |(~(z))));
+	}
+
+	function rotl(x,n) {
+	  return (x<<n) | (x>>>(32-n));
+	}
+
+	function ripemd160(message) {
+	  var H = [0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0];
+
+	  if (typeof message == 'string')
+	    message = new Buffer(message, 'utf8');
+
+	  var m = bytesToWords(message);
+
+	  var nBitsLeft = message.length * 8;
+	  var nBitsTotal = message.length * 8;
+
+	  // Add padding
+	  m[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);
+	  m[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (
+	      (((nBitsTotal << 8)  | (nBitsTotal >>> 24)) & 0x00ff00ff) |
+	      (((nBitsTotal << 24) | (nBitsTotal >>> 8))  & 0xff00ff00)
+	  );
+
+	  for (var i=0 ; i<m.length; i += 16) {
+	    processBlock(H, m, i);
+	  }
+
+	  // Swap endian
+	  for (var i = 0; i < 5; i++) {
+	      // Shortcut
+	    var H_i = H[i];
+
+	    // Swap
+	    H[i] = (((H_i << 8)  | (H_i >>> 24)) & 0x00ff00ff) |
+	          (((H_i << 24) | (H_i >>> 8))  & 0xff00ff00);
+	  }
+
+	  var digestbytes = wordsToBytes(H);
+	  return new Buffer(digestbytes);
+	}
+
+
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 125 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {var createHash = __webpack_require__(114)
+
+	var zeroBuffer = new Buffer(128)
+	zeroBuffer.fill(0)
+
+	module.exports = Hmac
+
+	function Hmac (alg, key) {
+	  if(!(this instanceof Hmac)) return new Hmac(alg, key)
+	  this._opad = opad
+	  this._alg = alg
+
+	  var blocksize = (alg === 'sha512') ? 128 : 64
+
+	  key = this._key = !Buffer.isBuffer(key) ? new Buffer(key) : key
+
+	  if(key.length > blocksize) {
+	    key = createHash(alg).update(key).digest()
+	  } else if(key.length < blocksize) {
+	    key = Buffer.concat([key, zeroBuffer], blocksize)
+	  }
+
+	  var ipad = this._ipad = new Buffer(blocksize)
+	  var opad = this._opad = new Buffer(blocksize)
+
+	  for(var i = 0; i < blocksize; i++) {
+	    ipad[i] = key[i] ^ 0x36
+	    opad[i] = key[i] ^ 0x5C
+	  }
+
+	  this._hash = createHash(alg).update(ipad)
+	}
+
+	Hmac.prototype.update = function (data, enc) {
+	  this._hash.update(data, enc)
+	  return this
+	}
+
+	Hmac.prototype.digest = function (enc) {
+	  var h = this._hash.digest()
+	  return createHash(this._alg).update(this._opad).update(h).digest(enc)
+	}
+
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 126 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var pbkdf2Export = __webpack_require__(127)
+
+	module.exports = function (crypto, exports) {
+	  exports = exports || {}
+
+	  var exported = pbkdf2Export(crypto)
+
+	  exports.pbkdf2 = exported.pbkdf2
+	  exports.pbkdf2Sync = exported.pbkdf2Sync
+
+	  return exports
+	}
+
+
+/***/ },
+/* 127 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {module.exports = function(crypto) {
+	  function pbkdf2(password, salt, iterations, keylen, digest, callback) {
+	    if ('function' === typeof digest) {
+	      callback = digest
+	      digest = undefined
+	    }
+
+	    if ('function' !== typeof callback)
+	      throw new Error('No callback provided to pbkdf2')
+
+	    setTimeout(function() {
+	      var result
+
+	      try {
+	        result = pbkdf2Sync(password, salt, iterations, keylen, digest)
+	      } catch (e) {
+	        return callback(e)
+	      }
+
+	      callback(undefined, result)
+	    })
+	  }
+
+	  function pbkdf2Sync(password, salt, iterations, keylen, digest) {
+	    if ('number' !== typeof iterations)
+	      throw new TypeError('Iterations not a number')
+
+	    if (iterations < 0)
+	      throw new TypeError('Bad iterations')
+
+	    if ('number' !== typeof keylen)
+	      throw new TypeError('Key length not a number')
+
+	    if (keylen < 0)
+	      throw new TypeError('Bad key length')
+
+	    digest = digest || 'sha1'
+
+	    if (!Buffer.isBuffer(password)) password = new Buffer(password)
+	    if (!Buffer.isBuffer(salt)) salt = new Buffer(salt)
+
+	    var hLen, l = 1, r, T
+	    var DK = new Buffer(keylen)
+	    var block1 = new Buffer(salt.length + 4)
+	    salt.copy(block1, 0, 0, salt.length)
+
+	    for (var i = 1; i <= l; i++) {
+	      block1.writeUInt32BE(i, salt.length)
+
+	      var U = crypto.createHmac(digest, password).update(block1).digest()
+
+	      if (!hLen) {
+	        hLen = U.length
+	        T = new Buffer(hLen)
+	        l = Math.ceil(keylen / hLen)
+	        r = keylen - (l - 1) * hLen
+
+	        if (keylen > (Math.pow(2, 32) - 1) * hLen)
+	          throw new TypeError('keylen exceeds maximum length')
+	      }
+
+	      U.copy(T, 0, 0, hLen)
+
+	      for (var j = 1; j < iterations; j++) {
+	        U = crypto.createHmac(digest, password).update(U).digest()
+
+	        for (var k = 0; k < hLen; k++) {
+	          T[k] ^= U[k]
+	        }
+	      }
+
+	      var destPos = (i - 1) * hLen
+	      var len = (i == l ? r : hLen)
+	      T.copy(DK, destPos, 0, len)
+	    }
+
+	    return DK
+	  }
+
+	  return {
+	    pbkdf2: pbkdf2,
+	    pbkdf2Sync: pbkdf2Sync
+	  }
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 128 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {'use strict';
+
+	// Declare internals
+
+	var internals = {};
+
+	exports.escapeJavaScript = function (input) {
+
+	    if (!input) {
+	        return '';
+	    }
+
+	    var escaped = '';
+
+	    for (var i = 0; i < input.length; ++i) {
+
+	        var charCode = input.charCodeAt(i);
+
+	        if (internals.isSafe(charCode)) {
+	            escaped += input[i];
+	        } else {
+	            escaped += internals.escapeJavaScriptChar(charCode);
+	        }
+	    }
+
+	    return escaped;
+	};
+
+	exports.escapeHtml = function (input) {
+
+	    if (!input) {
+	        return '';
+	    }
+
+	    var escaped = '';
+
+	    for (var i = 0; i < input.length; ++i) {
+
+	        var charCode = input.charCodeAt(i);
+
+	        if (internals.isSafe(charCode)) {
+	            escaped += input[i];
+	        } else {
+	            escaped += internals.escapeHtmlChar(charCode);
+	        }
+	    }
+
+	    return escaped;
+	};
+
+	internals.escapeJavaScriptChar = function (charCode) {
+
+	    if (charCode >= 256) {
+	        return '\\u' + internals.padLeft('' + charCode, 4);
+	    }
+
+	    var hexValue = new Buffer(String.fromCharCode(charCode), 'ascii').toString('hex');
+	    return '\\x' + internals.padLeft(hexValue, 2);
+	};
+
+	internals.escapeHtmlChar = function (charCode) {
+
+	    var namedEscape = internals.namedHtml[charCode];
+	    if (typeof namedEscape !== 'undefined') {
+	        return namedEscape;
+	    }
+
+	    if (charCode >= 256) {
+	        return '&#' + charCode + ';';
+	    }
+
+	    var hexValue = new Buffer(String.fromCharCode(charCode), 'ascii').toString('hex');
+	    return '&#x' + internals.padLeft(hexValue, 2) + ';';
+	};
+
+	internals.padLeft = function (str, len) {
+
+	    while (str.length < len) {
+	        str = '0' + str;
+	    }
+
+	    return str;
+	};
+
+	internals.isSafe = function (charCode) {
+
+	    return typeof internals.safeCharCodes[charCode] !== 'undefined';
+	};
+
+	internals.namedHtml = {
+	    '38': '&amp;',
+	    '60': '&lt;',
+	    '62': '&gt;',
+	    '34': '&quot;',
+	    '160': '&nbsp;',
+	    '162': '&cent;',
+	    '163': '&pound;',
+	    '164': '&curren;',
+	    '169': '&copy;',
+	    '174': '&reg;'
+	};
+
+	internals.safeCharCodes = function () {
+
+	    var safe = {};
+
+	    for (var i = 32; i < 123; ++i) {
+
+	        if (i >= 97 || // a-z
+	        i >= 65 && i <= 90 || // A-Z
+	        i >= 48 && i <= 57 || // 0-9
+	        i === 32 || // space
+	        i === 46 || // .
+	        i === 44 || // ,
+	        i === 45 || // -
+	        i === 58 || // :
+	        i === 95) {
+	            // _
+
+	            safe[i] = null;
+	        }
+	    }
+
+	    return safe;
+	}();
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 129 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	// Load modules
+
+	var _keys = __webpack_require__(29);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	var _setPrototypeOf = __webpack_require__(130);
+
+	var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Hoek = __webpack_require__(70);
+
+	// Declare internals
+
+	var internals = {
+	    STATUS_CODES: (0, _setPrototypeOf2.default)({
+	        '100': 'Continue',
+	        '101': 'Switching Protocols',
+	        '102': 'Processing',
+	        '200': 'OK',
+	        '201': 'Created',
+	        '202': 'Accepted',
+	        '203': 'Non-Authoritative Information',
+	        '204': 'No Content',
+	        '205': 'Reset Content',
+	        '206': 'Partial Content',
+	        '207': 'Multi-Status',
+	        '300': 'Multiple Choices',
+	        '301': 'Moved Permanently',
+	        '302': 'Moved Temporarily',
+	        '303': 'See Other',
+	        '304': 'Not Modified',
+	        '305': 'Use Proxy',
+	        '307': 'Temporary Redirect',
+	        '400': 'Bad Request',
+	        '401': 'Unauthorized',
+	        '402': 'Payment Required',
+	        '403': 'Forbidden',
+	        '404': 'Not Found',
+	        '405': 'Method Not Allowed',
+	        '406': 'Not Acceptable',
+	        '407': 'Proxy Authentication Required',
+	        '408': 'Request Time-out',
+	        '409': 'Conflict',
+	        '410': 'Gone',
+	        '411': 'Length Required',
+	        '412': 'Precondition Failed',
+	        '413': 'Request Entity Too Large',
+	        '414': 'Request-URI Too Large',
+	        '415': 'Unsupported Media Type',
+	        '416': 'Requested Range Not Satisfiable',
+	        '417': 'Expectation Failed',
+	        '418': 'I\'m a teapot',
+	        '422': 'Unprocessable Entity',
+	        '423': 'Locked',
+	        '424': 'Failed Dependency',
+	        '425': 'Unordered Collection',
+	        '426': 'Upgrade Required',
+	        '428': 'Precondition Required',
+	        '429': 'Too Many Requests',
+	        '431': 'Request Header Fields Too Large',
+	        '451': 'Unavailable For Legal Reasons',
+	        '500': 'Internal Server Error',
+	        '501': 'Not Implemented',
+	        '502': 'Bad Gateway',
+	        '503': 'Service Unavailable',
+	        '504': 'Gateway Time-out',
+	        '505': 'HTTP Version Not Supported',
+	        '506': 'Variant Also Negotiates',
+	        '507': 'Insufficient Storage',
+	        '509': 'Bandwidth Limit Exceeded',
+	        '510': 'Not Extended',
+	        '511': 'Network Authentication Required'
+	    }, null)
+	};
+
+	exports.wrap = function (error, statusCode, message) {
+
+	    Hoek.assert(error instanceof Error, 'Cannot wrap non-Error object');
+	    return error.isBoom ? error : internals.initialize(error, statusCode || 500, message);
+	};
+
+	exports.create = function (statusCode, message, data) {
+
+	    return internals.create(statusCode, message, data, exports.create);
+	};
+
+	internals.create = function (statusCode, message, data, ctor) {
+
+	    var error = new Error(message ? message : undefined); // Avoids settings null message
+	    Error.captureStackTrace(error, ctor); // Filter the stack to our external API
+	    error.data = data || null;
+	    internals.initialize(error, statusCode);
+	    return error;
+	};
+
+	internals.initialize = function (error, statusCode, message) {
+
+	    var numberCode = parseInt(statusCode, 10);
+	    Hoek.assert(!isNaN(numberCode) && numberCode >= 400, 'First argument must be a number (400+):', statusCode);
+
+	    error.isBoom = true;
+	    error.isServer = numberCode >= 500;
+
+	    if (!error.hasOwnProperty('data')) {
+	        error.data = null;
+	    }
+
+	    error.output = {
+	        statusCode: numberCode,
+	        payload: {},
+	        headers: {}
+	    };
+
+	    error.reformat = internals.reformat;
+	    error.reformat();
+
+	    if (!message && !error.message) {
+
+	        message = error.output.payload.error;
+	    }
+
+	    if (message) {
+	        error.message = message + (error.message ? ': ' + error.message : '');
+	    }
+
+	    return error;
+	};
+
+	internals.reformat = function () {
+
+	    this.output.payload.statusCode = this.output.statusCode;
+	    this.output.payload.error = internals.STATUS_CODES[this.output.statusCode] || 'Unknown';
+
+	    if (this.output.statusCode === 500) {
+	        this.output.payload.message = 'An internal server error occurred'; // Hide actual error from user
+	    } else if (this.message) {
+	            this.output.payload.message = this.message;
+	        }
+	};
+
+	// 4xx Client Errors
+
+	exports.badRequest = function (message, data) {
+
+	    return internals.create(400, message, data, exports.badRequest);
+	};
+
+	exports.unauthorized = function (message, scheme, attributes) {
+	    // Or function (message, wwwAuthenticate[])
+
+	    var err = internals.create(401, message, undefined, exports.unauthorized);
+
+	    if (!scheme) {
+	        return err;
+	    }
+
+	    var wwwAuthenticate = '';
+
+	    if (typeof scheme === 'string') {
+
+	        // function (message, scheme, attributes)
+
+	        wwwAuthenticate = scheme;
+
+	        if (attributes || message) {
+	            err.output.payload.attributes = {};
+	        }
+
+	        if (attributes) {
+	            var names = (0, _keys2.default)(attributes);
+	            for (var i = 0; i < names.length; ++i) {
+	                var name = names[i];
+	                if (i) {
+	                    wwwAuthenticate = wwwAuthenticate + ',';
+	                }
+
+	                var value = attributes[name];
+	                if (value === null || value === undefined) {
+	                    // Value can be zero
+
+	                    value = '';
+	                }
+	                wwwAuthenticate = wwwAuthenticate + ' ' + name + '="' + Hoek.escapeHeaderAttribute(value.toString()) + '"';
+	                err.output.payload.attributes[name] = value;
+	            }
+	        }
+
+	        if (message) {
+	            if (attributes) {
+	                wwwAuthenticate = wwwAuthenticate + ',';
+	            }
+	            wwwAuthenticate = wwwAuthenticate + ' error="' + Hoek.escapeHeaderAttribute(message) + '"';
+	            err.output.payload.attributes.error = message;
+	        } else {
+	            err.isMissing = true;
+	        }
+	    } else {
+
+	        // function (message, wwwAuthenticate[])
+
+	        var wwwArray = scheme;
+	        for (var _i = 0; _i < wwwArray.length; ++_i) {
+	            if (_i) {
+	                wwwAuthenticate = wwwAuthenticate + ', ';
+	            }
+
+	            wwwAuthenticate = wwwAuthenticate + wwwArray[_i];
+	        }
+	    }
+
+	    err.output.headers['WWW-Authenticate'] = wwwAuthenticate;
+
+	    return err;
+	};
+
+	exports.forbidden = function (message, data) {
+
+	    return internals.create(403, message, data, exports.forbidden);
+	};
+
+	exports.notFound = function (message, data) {
+
+	    return internals.create(404, message, data, exports.notFound);
+	};
+
+	exports.methodNotAllowed = function (message, data) {
+
+	    return internals.create(405, message, data, exports.methodNotAllowed);
+	};
+
+	exports.notAcceptable = function (message, data) {
+
+	    return internals.create(406, message, data, exports.notAcceptable);
+	};
+
+	exports.proxyAuthRequired = function (message, data) {
+
+	    return internals.create(407, message, data, exports.proxyAuthRequired);
+	};
+
+	exports.clientTimeout = function (message, data) {
+
+	    return internals.create(408, message, data, exports.clientTimeout);
+	};
+
+	exports.conflict = function (message, data) {
+
+	    return internals.create(409, message, data, exports.conflict);
+	};
+
+	exports.resourceGone = function (message, data) {
+
+	    return internals.create(410, message, data, exports.resourceGone);
+	};
+
+	exports.lengthRequired = function (message, data) {
+
+	    return internals.create(411, message, data, exports.lengthRequired);
+	};
+
+	exports.preconditionFailed = function (message, data) {
+
+	    return internals.create(412, message, data, exports.preconditionFailed);
+	};
+
+	exports.entityTooLarge = function (message, data) {
+
+	    return internals.create(413, message, data, exports.entityTooLarge);
+	};
+
+	exports.uriTooLong = function (message, data) {
+
+	    return internals.create(414, message, data, exports.uriTooLong);
+	};
+
+	exports.unsupportedMediaType = function (message, data) {
+
+	    return internals.create(415, message, data, exports.unsupportedMediaType);
+	};
+
+	exports.rangeNotSatisfiable = function (message, data) {
+
+	    return internals.create(416, message, data, exports.rangeNotSatisfiable);
+	};
+
+	exports.expectationFailed = function (message, data) {
+
+	    return internals.create(417, message, data, exports.expectationFailed);
+	};
+
+	exports.badData = function (message, data) {
+
+	    return internals.create(422, message, data, exports.badData);
+	};
+
+	exports.preconditionRequired = function (message, data) {
+
+	    return internals.create(428, message, data, exports.preconditionRequired);
+	};
+
+	exports.tooManyRequests = function (message, data) {
+
+	    return internals.create(429, message, data, exports.tooManyRequests);
+	};
+
+	exports.illegal = function (message, data) {
+
+	    return internals.create(451, message, data, exports.illegal);
+	};
+
+	// 5xx Server Errors
+
+	exports.internal = function (message, data, statusCode) {
+
+	    return internals.serverError(message, data, statusCode, exports.internal);
+	};
+
+	internals.serverError = function (message, data, statusCode, ctor) {
+
+	    var error = void 0;
+	    if (data instanceof Error) {
+	        error = exports.wrap(data, statusCode, message);
+	    } else {
+	        error = internals.create(statusCode || 500, message, undefined, ctor);
+	        error.data = data;
+	    }
+
+	    return error;
+	};
+
+	exports.notImplemented = function (message, data) {
+
+	    return internals.serverError(message, data, 501, exports.notImplemented);
+	};
+
+	exports.badGateway = function (message, data) {
+
+	    return internals.serverError(message, data, 502, exports.badGateway);
+	};
+
+	exports.serverTimeout = function (message, data) {
+
+	    return internals.serverError(message, data, 503, exports.serverTimeout);
+	};
+
+	exports.gatewayTimeout = function (message, data) {
+
+	    return internals.serverError(message, data, 504, exports.gatewayTimeout);
+	};
+
+	exports.badImplementation = function (message, data) {
+
+	    var err = internals.serverError(message, data, 500, exports.badImplementation);
+	    err.isDeveloperError = true;
+	    return err;
+	};
+
+/***/ },
+/* 130 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(131), __esModule: true };
+
+/***/ },
+/* 131 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(132);
+	module.exports = __webpack_require__(37).Object.setPrototypeOf;
+
+/***/ },
+/* 132 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.3.19 Object.setPrototypeOf(O, proto)
+	var $export = __webpack_require__(35);
+	$export($export.S, 'Object', {setPrototypeOf: __webpack_require__(133).set});
+
+/***/ },
+/* 133 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Works with __proto__ only. Old v8 can't work with null proto objects.
+	/* eslint-disable no-proto */
+	var getDesc  = __webpack_require__(75).getDesc
+	  , isObject = __webpack_require__(108)
+	  , anObject = __webpack_require__(107);
+	var check = function(O, proto){
+	  anObject(O);
+	  if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
+	};
+	module.exports = {
+	  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
+	    function(test, buggy, set){
+	      try {
+	        set = __webpack_require__(38)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
+	        set(test, []);
+	        buggy = !(test instanceof Array);
+	      } catch(e){ buggy = true; }
+	      return function setPrototypeOf(O, proto){
+	        check(O, proto);
+	        if(buggy)O.__proto__ = proto;
+	        else set(O, proto);
+	        return O;
+	      };
+	    }({}, false) : undefined),
+	  check: check
+	};
+
+/***/ },
+/* 134 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {'use strict';
+
+	// Load modules
+
+	var Hoek = __webpack_require__(70);
+	var Stream = __webpack_require__(52);
+
+	// Declare internals
+
+	var internals = {};
+
+	module.exports = internals.Payload = function (payload, encoding) {
+
+	    Stream.Readable.call(this);
+
+	    var data = [].concat(payload || '');
+	    var size = 0;
+	    for (var i = 0; i < data.length; ++i) {
+	        var chunk = data[i];
+	        size = size + chunk.length;
+	        data[i] = Buffer.isBuffer(chunk) ? chunk : new Buffer(chunk);
+	    }
+
+	    this._data = Buffer.concat(data, size);
+	    this._position = 0;
+	    this._encoding = encoding || 'utf8';
+	};
+
+	Hoek.inherits(internals.Payload, Stream.Readable);
+
+	internals.Payload.prototype._read = function (size) {
+
+	    var chunk = this._data.slice(this._position, this._position + size);
+	    this.push(chunk, this._encoding);
+	    this._position = this._position + chunk.length;
+
+	    if (this._position >= this._data.length) {
+	        this.push(null);
+	    }
+	};
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 135 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {'use strict';
+
+	// Load modules
+
+	var Boom = __webpack_require__(129);
+	var Hoek = __webpack_require__(70);
+	var Stream = __webpack_require__(52);
+
+	// Declare internals
+
+	var internals = {};
+
+	module.exports = internals.Recorder = function (options) {
+
+	    Stream.Writable.call(this);
+
+	    this.settings = options; // No need to clone since called internally with new object
+	    this.buffers = [];
+	    this.length = 0;
+	};
+
+	Hoek.inherits(internals.Recorder, Stream.Writable);
+
+	internals.Recorder.prototype._write = function (chunk, encoding, next) {
+
+	    if (this.settings.maxBytes && this.length + chunk.length > this.settings.maxBytes) {
+
+	        return this.emit('error', Boom.badRequest('Payload content length greater than maximum allowed: ' + this.settings.maxBytes));
+	    }
+
+	    this.length = this.length + chunk.length;
+	    this.buffers.push(chunk);
+	    next();
+	};
+
+	internals.Recorder.prototype.collect = function () {
+
+	    var buffer = this.buffers.length === 0 ? new Buffer(0) : this.buffers.length === 1 ? this.buffers[0] : Buffer.concat(this.buffers, this.length);
+	    return buffer;
+	};
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).Buffer))
+
+/***/ },
+/* 136 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	// Load modules
+
+	var Hoek = __webpack_require__(70);
+	var Stream = __webpack_require__(52);
+	var Payload = __webpack_require__(134);
+
+	// Declare internals
+
+	var internals = {};
+
+	module.exports = internals.Tap = function () {
+
+	    Stream.Transform.call(this);
+	    this.buffers = [];
+	};
+
+	Hoek.inherits(internals.Tap, Stream.Transform);
+
+	internals.Tap.prototype._transform = function (chunk, encoding, next) {
+
+	    this.buffers.push(chunk);
+	    next(null, chunk);
+	};
+
+	internals.Tap.prototype.collect = function () {
+
+	    return new Payload(this.buffers);
+	};
+
+/***/ },
+/* 137 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return {
+	    get: argCommand(send, 'block/get'),
+	    stat: argCommand(send, 'block/stat'),
+	    put (file, cb) {
+	      if (Array.isArray(file)) {
+	        return cb(null, new Error('block.put() only accepts 1 file'))
+	      }
+	      return send('block/put', null, null, file, cb)
+	    }
+	  }
+	}
+
+
+/***/ },
+/* 138 */
+/***/ function(module, exports) {
+
+	'use strict'
+
+	exports.command = function command (send, name) {
+	  return (opts, cb) => {
+	    if (typeof (opts) === 'function') {
+	      cb = opts
+	      opts = {}
+	    }
+	    return send(name, null, opts, null, cb)
+	  }
+	}
+
+	exports.argCommand = function argCommand (send, name) {
+	  return (arg, opts, cb) => {
+	    if (typeof (opts) === 'function') {
+	      cb = opts
+	      opts = {}
+	    }
+	    return send(name, arg, opts, null, cb)
+	  }
+	}
+
+
+/***/ },
+/* 139 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return argCommand(send, 'cat')
+	}
+
+
+/***/ },
+/* 140 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const command = __webpack_require__(138).command
+
+	module.exports = (send) => {
+	  return command(send, 'commands')
+	}
+
+
+/***/ },
+/* 141 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return {
+	    get: argCommand(send, 'config'),
+	    set (key, value, opts, cb) {
+	      if (typeof (opts) === 'function') {
+	        cb = opts
+	        opts = {}
+	      }
+
+	      if (typeof (value) === 'object') {
+	        value = JSON.stringify(value)
+	        opts = { json: true }
+	      } else if (typeof (value) === 'boolean') {
+	        value = value.toString()
+	        opts = { bool: true }
+	      }
+
+	      return send('config', [key, value], opts, null, cb)
+	    },
+	    show (cb) {
+	      return send('config/show', null, null, null, true, cb)
+	    },
+	    replace (file, cb) {
+	      return send('config/replace', null, null, file, cb)
+	    }
+	  }
+	}
+
+
+/***/ },
+/* 142 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return {
+	    findprovs: argCommand(send, 'dht/findprovs'),
+	    get (key, opts, cb) {
+	      if (typeof (opts) === 'function' && !cb) {
+	        cb = opts
+	        opts = null
+	      }
+
+	      const handleResult = (done, err, res) => {
+	        if (err) return done(err)
+	        if (!res) return done(new Error('empty response'))
+	        if (res.length === 0) return done(new Error('no value returned for key'))
+
+	        // Inconsistent return values in the browser vs node
+	        if (Array.isArray(res)) {
+	          res = res[0]
+	        }
+
+	        if (res.Type === 5) {
+	          done(null, res.Extra)
+	        } else {
+	          let error = new Error('key was not found (type 6)')
+	          done(error)
+	        }
+	      }
+
+	      if (typeof cb !== 'function' && typeof Promise !== 'undefined') {
+	        const done = (err, res) => {
+	          if (err) throw err
+	          return res
+	        }
+
+	        return send('dht/get', key, opts)
+	          .then(
+	            (res) => handleResult(done, null, res),
+	            (err) => handleResult(done, err)
+	          )
+	      }
+
+	      return send('dht/get', key, opts, null, handleResult.bind(null, cb))
+	    },
+	    put (key, value, opts, cb) {
+	      if (typeof (opts) === 'function' && !cb) {
+	        cb = opts
+	        opts = null
+	      }
+
+	      return send('dht/put', [key, value], opts, null, cb)
+	    }
+	  }
+	}
+
+
+/***/ },
+/* 143 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const command = __webpack_require__(138).command
+
+	module.exports = (send) => {
+	  return {
+	    net: command(send, 'diag/net'),
+	    sys: command(send, 'diag/sys'),
+	    cmds: command(send, 'diag/sys')
+	  }
+	}
+
+
+/***/ },
+/* 144 */
+/***/ function(module, exports) {
+
+	'use strict'
+
+	module.exports = (send) => {
+	  return function id (idParam, cb) {
+	    if (typeof idParam === 'function') {
+	      cb = idParam
+	      idParam = null
+	    }
+	    return send('id', idParam, null, null, cb)
+	  }
+	}
+
+
+/***/ },
+/* 145 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return {
+	    cp: argCommand(send, 'files/cp'),
+	    ls: argCommand(send, 'files/ls'),
+	    mkdir: argCommand(send, 'files/mkdir'),
+	    stat: argCommand(send, 'files/stat'),
+	    rm: function (path, opts, cb) {
+	      if (typeof opts === 'function' && !cb) {
+	        cb = opts
+	        opts = {}
+	      }
+	      return send('files/rm', path, opts, null, cb)
+	    },
+	    read: argCommand(send, 'files/read'),
+	    write: function (pathDst, files, opts, cb) {
+	      if (typeof (opts) === 'function' && cb === undefined) {
+	        cb = opts
+	        opts = {}
+	      }
+
+	      return send('files/write', pathDst, opts, files, cb)
+	    },
+	    mv: argCommand(send, 'files/mv')
+	  }
+	}
+
+
+/***/ },
+/* 146 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const ndjson = __webpack_require__(147)
+
+	module.exports = (send) => {
+	  return {
+	    tail (cb) {
+	      if (typeof cb !== 'function' && typeof Promise !== 'undefined') {
+	        return send('log/tail', null, {}, null, false)
+	          .then((res) => res.pipe(ndjson.parse()))
+	      }
+
+	      return send('log/tail', null, {}, null, false, (err, res) => {
+	        if (err) return cb(err)
+	        cb(null, res.pipe(ndjson.parse()))
+	      })
+	    }
+	  }
+	}
+
+
+/***/ },
+/* 147 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var through = __webpack_require__(148)
+	var split = __webpack_require__(155)
+	var EOL = __webpack_require__(18).EOL
+
+	module.exports = parse
+	module.exports.serialize = module.exports.stringify = serialize
+	module.exports.parse = parse
+
+	function parse (opts) {
+	  opts = opts || {}
+	  opts.strict = opts.strict !== false
+
+	  function parseRow (row) {
+	    try {
+	      if (row) return JSON.parse(row)
+	    } catch (e) {
+	      if (opts.strict) {
+	        this.emit('error', new Error('Could not parse row ' + row.slice(0, 50) + '...'))
+	      }
+	    }
+	  }
+
+	  return split(parseRow)
+	}
+
+	function serialize (opts) {
+	  return through.obj(opts, function(obj, enc, cb) {
+	    cb(null, JSON.stringify(obj) + EOL)
+	  })
+	}
+
+
+/***/ },
+/* 148 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {var Transform = __webpack_require__(149)
+	  , inherits  = __webpack_require__(118).inherits
+	  , xtend     = __webpack_require__(12)
+
+	function DestroyableTransform(opts) {
+	  Transform.call(this, opts)
+	  this._destroyed = false
+	}
+
+	inherits(DestroyableTransform, Transform)
+
+	DestroyableTransform.prototype.destroy = function(err) {
+	  if (this._destroyed) return
+	  this._destroyed = true
+	  
+	  var self = this
+	  process.nextTick(function() {
+	    if (err)
+	      self.emit('error', err)
+	    self.emit('close')
+	  })
+	}
+
+	// a noop _transform function
+	function noop (chunk, enc, callback) {
+	  callback(null, chunk)
+	}
+
+
+	// create a new export function, used by both the main export and
+	// the .ctor export, contains common logic for dealing with arguments
+	function through2 (construct) {
+	  return function (options, transform, flush) {
+	    if (typeof options == 'function') {
+	      flush     = transform
+	      transform = options
+	      options   = {}
+	    }
+
+	    if (typeof transform != 'function')
+	      transform = noop
+
+	    if (typeof flush != 'function')
+	      flush = null
+
+	    return construct(options, transform, flush)
+	  }
+	}
+
+
+	// main export, just make me a transform stream!
+	module.exports = through2(function (options, transform, flush) {
+	  var t2 = new DestroyableTransform(options)
+
+	  t2._transform = transform
+
+	  if (flush)
+	    t2._flush = flush
+
+	  return t2
+	})
+
+
+	// make me a reusable prototype that I can `new`, or implicitly `new`
+	// with a constructor call
+	module.exports.ctor = through2(function (options, transform, flush) {
+	  function Through2 (override) {
+	    if (!(this instanceof Through2))
+	      return new Through2(override)
+
+	    this.options = xtend(options, override)
+
+	    DestroyableTransform.call(this, this.options)
+	  }
+
+	  inherits(Through2, DestroyableTransform)
+
+	  Through2.prototype._transform = transform
+
+	  if (flush)
+	    Through2.prototype._flush = flush
+
+	  return Through2
+	})
+
+
+	module.exports.obj = through2(function (options, transform, flush) {
+	  var t2 = new DestroyableTransform(xtend({ objectMode: true, highWaterMark: 16 }, options))
+
+	  t2._transform = transform
+
+	  if (flush)
+	    t2._flush = flush
+
+	  return t2
+	})
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 149 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(150)
+
+
+/***/ },
+/* 150 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+	// a transform stream is a readable/writable stream where you do
+	// something with the data.  Sometimes it's called a "filter",
+	// but that's not a great name for it, since that implies a thing where
+	// some bits pass through, and others are simply ignored.  (That would
+	// be a valid example of a transform, of course.)
+	//
+	// While the output is causally related to the input, it's not a
+	// necessarily symmetric or synchronous transformation.  For example,
+	// a zlib stream might take multiple plain-text writes(), and then
+	// emit a single compressed chunk some time in the future.
+	//
+	// Here's how this works:
+	//
+	// The Transform stream has all the aspects of the readable and writable
+	// stream classes.  When you write(chunk), that calls _write(chunk,cb)
+	// internally, and returns false if there's a lot of pending writes
+	// buffered up.  When you call read(), that calls _read(n) until
+	// there's enough pending readable data buffered up.
+	//
+	// In a transform stream, the written data is placed in a buffer.  When
+	// _read(n) is called, it transforms the queued up data, calling the
+	// buffered _write cb's as it consumes chunks.  If consuming a single
+	// written chunk would result in multiple output chunks, then the first
+	// outputted bit calls the readcb, and subsequent chunks just go into
+	// the read buffer, and will cause it to emit 'readable' if necessary.
+	//
+	// This way, back-pressure is actually determined by the reading side,
+	// since _read has to be called to start processing a new chunk.  However,
+	// a pathological inflate type of transform can cause excessive buffering
+	// here.  For example, imagine a stream where every byte of input is
+	// interpreted as an integer from 0-255, and then results in that many
+	// bytes of output.  Writing the 4 bytes {ff,ff,ff,ff} would result in
+	// 1kb of data being output.  In this case, you could write a very small
+	// amount of input, and end up with a very large amount of output.  In
+	// such a pathological inflating mechanism, there'd be no way to tell
+	// the system to stop doing the transform.  A single 4MB write could
+	// cause the system to run out of memory.
+	//
+	// However, even in such a pathological case, only a single written chunk
+	// would be consumed, and then the rest would wait (un-transformed) until
+	// the results of the previous transformed chunk were consumed.
+
+	module.exports = Transform;
+
+	var Duplex = __webpack_require__(151);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	util.inherits(Transform, Duplex);
+
+
+	function TransformState(options, stream) {
+	  this.afterTransform = function(er, data) {
+	    return afterTransform(stream, er, data);
+	  };
+
+	  this.needTransform = false;
+	  this.transforming = false;
+	  this.writecb = null;
+	  this.writechunk = null;
+	}
+
+	function afterTransform(stream, er, data) {
+	  var ts = stream._transformState;
+	  ts.transforming = false;
+
+	  var cb = ts.writecb;
+
+	  if (!cb)
+	    return stream.emit('error', new Error('no writecb in Transform class'));
+
+	  ts.writechunk = null;
+	  ts.writecb = null;
+
+	  if (data !== null && data !== undefined)
+	    stream.push(data);
+
+	  if (cb)
+	    cb(er);
+
+	  var rs = stream._readableState;
+	  rs.reading = false;
+	  if (rs.needReadable || rs.length < rs.highWaterMark) {
+	    stream._read(rs.highWaterMark);
+	  }
+	}
+
+
+	function Transform(options) {
+	  if (!(this instanceof Transform))
+	    return new Transform(options);
+
+	  Duplex.call(this, options);
+
+	  var ts = this._transformState = new TransformState(options, this);
+
+	  // when the writable side finishes, then flush out anything remaining.
+	  var stream = this;
+
+	  // start out asking for a readable event once data is transformed.
+	  this._readableState.needReadable = true;
+
+	  // we have implemented the _read method, and done the other things
+	  // that Readable wants before the first _read call, so unset the
+	  // sync guard flag.
+	  this._readableState.sync = false;
+
+	  this.once('finish', function() {
+	    if ('function' === typeof this._flush)
+	      this._flush(function(er) {
+	        done(stream, er);
+	      });
+	    else
+	      done(stream);
+	  });
+	}
+
+	Transform.prototype.push = function(chunk, encoding) {
+	  this._transformState.needTransform = false;
+	  return Duplex.prototype.push.call(this, chunk, encoding);
+	};
+
+	// This is the part where you do stuff!
+	// override this function in implementation classes.
+	// 'chunk' is an input chunk.
+	//
+	// Call `push(newChunk)` to pass along transformed output
+	// to the readable side.  You may call 'push' zero or more times.
+	//
+	// Call `cb(err)` when you are done with this chunk.  If you pass
+	// an error, then that'll put the hurt on the whole operation.  If you
+	// never call cb(), then you'll never get another chunk.
+	Transform.prototype._transform = function(chunk, encoding, cb) {
+	  throw new Error('not implemented');
+	};
+
+	Transform.prototype._write = function(chunk, encoding, cb) {
+	  var ts = this._transformState;
+	  ts.writecb = cb;
+	  ts.writechunk = chunk;
+	  ts.writeencoding = encoding;
+	  if (!ts.transforming) {
+	    var rs = this._readableState;
+	    if (ts.needTransform ||
+	        rs.needReadable ||
+	        rs.length < rs.highWaterMark)
+	      this._read(rs.highWaterMark);
+	  }
+	};
+
+	// Doesn't matter what the args are here.
+	// _transform does all the work.
+	// That we got here means that the readable side wants more data.
+	Transform.prototype._read = function(n) {
+	  var ts = this._transformState;
+
+	  if (ts.writechunk !== null && ts.writecb && !ts.transforming) {
+	    ts.transforming = true;
+	    this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);
+	  } else {
+	    // mark that we need a transform, so that any data that comes in
+	    // will get processed, now that we've asked for it.
+	    ts.needTransform = true;
+	  }
+	};
+
+
+	function done(stream, er) {
+	  if (er)
+	    return stream.emit('error', er);
+
+	  // if there's nothing in the write buffer, then that means
+	  // that nothing more will ever be provided
+	  var ws = stream._writableState;
+	  var rs = stream._readableState;
+	  var ts = stream._transformState;
+
+	  if (ws.length)
+	    throw new Error('calling transform done when ws.length != 0');
+
+	  if (ts.transforming)
+	    throw new Error('calling transform done when still transforming');
+
+	  return stream.push(null);
+	}
+
+
+/***/ },
+/* 151 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// a duplex stream is just a stream that is both readable and writable.
+	// Since JS doesn't have multiple prototypal inheritance, this class
+	// prototypally inherits from Readable, and then parasitically from
+	// Writable.
+
+	module.exports = Duplex;
+
+	/*<replacement>*/
+	var objectKeys = Object.keys || function (obj) {
+	  var keys = [];
+	  for (var key in obj) keys.push(key);
+	  return keys;
+	}
+	/*</replacement>*/
+
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var Readable = __webpack_require__(152);
+	var Writable = __webpack_require__(154);
+
+	util.inherits(Duplex, Readable);
+
+	forEach(objectKeys(Writable.prototype), function(method) {
+	  if (!Duplex.prototype[method])
+	    Duplex.prototype[method] = Writable.prototype[method];
+	});
+
+	function Duplex(options) {
+	  if (!(this instanceof Duplex))
+	    return new Duplex(options);
+
+	  Readable.call(this, options);
+	  Writable.call(this, options);
+
+	  if (options && options.readable === false)
+	    this.readable = false;
+
+	  if (options && options.writable === false)
+	    this.writable = false;
+
+	  this.allowHalfOpen = true;
+	  if (options && options.allowHalfOpen === false)
+	    this.allowHalfOpen = false;
+
+	  this.once('end', onend);
+	}
+
+	// the no-half-open enforcer
+	function onend() {
+	  // if we allow half-open state, or if the writable side ended,
+	  // then we're ok.
+	  if (this.allowHalfOpen || this._writableState.ended)
+	    return;
+
+	  // no more data can be written.
+	  // But allow more writes to happen in this tick.
+	  process.nextTick(this.end.bind(this));
+	}
+
+	function forEach (xs, f) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    f(xs[i], i);
+	  }
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 152 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	module.exports = Readable;
+
+	/*<replacement>*/
+	var isArray = __webpack_require__(153);
+	/*</replacement>*/
+
+
+	/*<replacement>*/
+	var Buffer = __webpack_require__(2).Buffer;
+	/*</replacement>*/
+
+	Readable.ReadableState = ReadableState;
+
+	var EE = __webpack_require__(41).EventEmitter;
+
+	/*<replacement>*/
+	if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
+	  return emitter.listeners(type).length;
+	};
+	/*</replacement>*/
+
+	var Stream = __webpack_require__(52);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var StringDecoder;
+
+	util.inherits(Readable, Stream);
+
+	function ReadableState(options, stream) {
+	  options = options || {};
+
+	  // the point at which it stops calling _read() to fill the buffer
+	  // Note: 0 is a valid value, means "don't call _read preemptively ever"
+	  var hwm = options.highWaterMark;
+	  this.highWaterMark = (hwm || hwm === 0) ? hwm : 16 * 1024;
+
+	  // cast to ints.
+	  this.highWaterMark = ~~this.highWaterMark;
+
+	  this.buffer = [];
+	  this.length = 0;
+	  this.pipes = null;
+	  this.pipesCount = 0;
+	  this.flowing = false;
+	  this.ended = false;
+	  this.endEmitted = false;
+	  this.reading = false;
+
+	  // In streams that never have any data, and do push(null) right away,
+	  // the consumer can miss the 'end' event if they do some I/O before
+	  // consuming the stream.  So, we don't emit('end') until some reading
+	  // happens.
+	  this.calledRead = false;
+
+	  // a flag to be able to tell if the onwrite cb is called immediately,
+	  // or on a later tick.  We set this to true at first, becuase any
+	  // actions that shouldn't happen until "later" should generally also
+	  // not happen before the first write call.
+	  this.sync = true;
+
+	  // whenever we return null, then we set a flag to say
+	  // that we're awaiting a 'readable' event emission.
+	  this.needReadable = false;
+	  this.emittedReadable = false;
+	  this.readableListening = false;
+
+
+	  // object stream flag. Used to make read(n) ignore n and to
+	  // make all the buffer merging and length checks go away
+	  this.objectMode = !!options.objectMode;
+
+	  // Crypto is kind of old and crusty.  Historically, its default string
+	  // encoding is 'binary' so we have to make this configurable.
+	  // Everything else in the universe uses 'utf8', though.
+	  this.defaultEncoding = options.defaultEncoding || 'utf8';
+
+	  // when piping, we only care about 'readable' events that happen
+	  // after read()ing all the bytes and not getting any pushback.
+	  this.ranOut = false;
+
+	  // the number of writers that are awaiting a drain event in .pipe()s
+	  this.awaitDrain = 0;
+
+	  // if true, a maybeReadMore has been scheduled
+	  this.readingMore = false;
+
+	  this.decoder = null;
+	  this.encoding = null;
+	  if (options.encoding) {
+	    if (!StringDecoder)
+	      StringDecoder = __webpack_require__(60).StringDecoder;
+	    this.decoder = new StringDecoder(options.encoding);
+	    this.encoding = options.encoding;
+	  }
+	}
+
+	function Readable(options) {
+	  if (!(this instanceof Readable))
+	    return new Readable(options);
+
+	  this._readableState = new ReadableState(options, this);
+
+	  // legacy
+	  this.readable = true;
+
+	  Stream.call(this);
+	}
+
+	// Manually shove something into the read() buffer.
+	// This returns true if the highWaterMark has not been hit yet,
+	// similar to how Writable.write() returns true if you should
+	// write() some more.
+	Readable.prototype.push = function(chunk, encoding) {
+	  var state = this._readableState;
+
+	  if (typeof chunk === 'string' && !state.objectMode) {
+	    encoding = encoding || state.defaultEncoding;
+	    if (encoding !== state.encoding) {
+	      chunk = new Buffer(chunk, encoding);
+	      encoding = '';
+	    }
+	  }
+
+	  return readableAddChunk(this, state, chunk, encoding, false);
+	};
+
+	// Unshift should *always* be something directly out of read()
+	Readable.prototype.unshift = function(chunk) {
+	  var state = this._readableState;
+	  return readableAddChunk(this, state, chunk, '', true);
+	};
+
+	function readableAddChunk(stream, state, chunk, encoding, addToFront) {
+	  var er = chunkInvalid(state, chunk);
+	  if (er) {
+	    stream.emit('error', er);
+	  } else if (chunk === null || chunk === undefined) {
+	    state.reading = false;
+	    if (!state.ended)
+	      onEofChunk(stream, state);
+	  } else if (state.objectMode || chunk && chunk.length > 0) {
+	    if (state.ended && !addToFront) {
+	      var e = new Error('stream.push() after EOF');
+	      stream.emit('error', e);
+	    } else if (state.endEmitted && addToFront) {
+	      var e = new Error('stream.unshift() after end event');
+	      stream.emit('error', e);
+	    } else {
+	      if (state.decoder && !addToFront && !encoding)
+	        chunk = state.decoder.write(chunk);
+
+	      // update the buffer info.
+	      state.length += state.objectMode ? 1 : chunk.length;
+	      if (addToFront) {
+	        state.buffer.unshift(chunk);
+	      } else {
+	        state.reading = false;
+	        state.buffer.push(chunk);
+	      }
+
+	      if (state.needReadable)
+	        emitReadable(stream);
+
+	      maybeReadMore(stream, state);
+	    }
+	  } else if (!addToFront) {
+	    state.reading = false;
+	  }
+
+	  return needMoreData(state);
+	}
+
+
+
+	// if it's past the high water mark, we can push in some more.
+	// Also, if we have no data yet, we can stand some
+	// more bytes.  This is to work around cases where hwm=0,
+	// such as the repl.  Also, if the push() triggered a
+	// readable event, and the user called read(largeNumber) such that
+	// needReadable was set, then we ought to push more, so that another
+	// 'readable' event will be triggered.
+	function needMoreData(state) {
+	  return !state.ended &&
+	         (state.needReadable ||
+	          state.length < state.highWaterMark ||
+	          state.length === 0);
+	}
+
+	// backwards compatibility.
+	Readable.prototype.setEncoding = function(enc) {
+	  if (!StringDecoder)
+	    StringDecoder = __webpack_require__(60).StringDecoder;
+	  this._readableState.decoder = new StringDecoder(enc);
+	  this._readableState.encoding = enc;
+	};
+
+	// Don't raise the hwm > 128MB
+	var MAX_HWM = 0x800000;
+	function roundUpToNextPowerOf2(n) {
+	  if (n >= MAX_HWM) {
+	    n = MAX_HWM;
+	  } else {
+	    // Get the next highest power of 2
+	    n--;
+	    for (var p = 1; p < 32; p <<= 1) n |= n >> p;
+	    n++;
+	  }
+	  return n;
+	}
+
+	function howMuchToRead(n, state) {
+	  if (state.length === 0 && state.ended)
+	    return 0;
+
+	  if (state.objectMode)
+	    return n === 0 ? 0 : 1;
+
+	  if (n === null || isNaN(n)) {
+	    // only flow one buffer at a time
+	    if (state.flowing && state.buffer.length)
+	      return state.buffer[0].length;
+	    else
+	      return state.length;
+	  }
+
+	  if (n <= 0)
+	    return 0;
+
+	  // If we're asking for more than the target buffer level,
+	  // then raise the water mark.  Bump up to the next highest
+	  // power of 2, to prevent increasing it excessively in tiny
+	  // amounts.
+	  if (n > state.highWaterMark)
+	    state.highWaterMark = roundUpToNextPowerOf2(n);
+
+	  // don't have that much.  return null, unless we've ended.
+	  if (n > state.length) {
+	    if (!state.ended) {
+	      state.needReadable = true;
+	      return 0;
+	    } else
+	      return state.length;
+	  }
+
+	  return n;
+	}
+
+	// you can override either this method, or the async _read(n) below.
+	Readable.prototype.read = function(n) {
+	  var state = this._readableState;
+	  state.calledRead = true;
+	  var nOrig = n;
+	  var ret;
+
+	  if (typeof n !== 'number' || n > 0)
+	    state.emittedReadable = false;
+
+	  // if we're doing read(0) to trigger a readable event, but we
+	  // already have a bunch of data in the buffer, then just trigger
+	  // the 'readable' event and move on.
+	  if (n === 0 &&
+	      state.needReadable &&
+	      (state.length >= state.highWaterMark || state.ended)) {
+	    emitReadable(this);
+	    return null;
+	  }
+
+	  n = howMuchToRead(n, state);
+
+	  // if we've ended, and we're now clear, then finish it up.
+	  if (n === 0 && state.ended) {
+	    ret = null;
+
+	    // In cases where the decoder did not receive enough data
+	    // to produce a full chunk, then immediately received an
+	    // EOF, state.buffer will contain [<Buffer >, <Buffer 00 ...>].
+	    // howMuchToRead will see this and coerce the amount to
+	    // read to zero (because it's looking at the length of the
+	    // first <Buffer > in state.buffer), and we'll end up here.
+	    //
+	    // This can only happen via state.decoder -- no other venue
+	    // exists for pushing a zero-length chunk into state.buffer
+	    // and triggering this behavior. In this case, we return our
+	    // remaining data and end the stream, if appropriate.
+	    if (state.length > 0 && state.decoder) {
+	      ret = fromList(n, state);
+	      state.length -= ret.length;
+	    }
+
+	    if (state.length === 0)
+	      endReadable(this);
+
+	    return ret;
+	  }
+
+	  // All the actual chunk generation logic needs to be
+	  // *below* the call to _read.  The reason is that in certain
+	  // synthetic stream cases, such as passthrough streams, _read
+	  // may be a completely synchronous operation which may change
+	  // the state of the read buffer, providing enough data when
+	  // before there was *not* enough.
+	  //
+	  // So, the steps are:
+	  // 1. Figure out what the state of things will be after we do
+	  // a read from the buffer.
+	  //
+	  // 2. If that resulting state will trigger a _read, then call _read.
+	  // Note that this may be asynchronous, or synchronous.  Yes, it is
+	  // deeply ugly to write APIs this way, but that still doesn't mean
+	  // that the Readable class should behave improperly, as streams are
+	  // designed to be sync/async agnostic.
+	  // Take note if the _read call is sync or async (ie, if the read call
+	  // has returned yet), so that we know whether or not it's safe to emit
+	  // 'readable' etc.
+	  //
+	  // 3. Actually pull the requested chunks out of the buffer and return.
+
+	  // if we need a readable event, then we need to do some reading.
+	  var doRead = state.needReadable;
+
+	  // if we currently have less than the highWaterMark, then also read some
+	  if (state.length - n <= state.highWaterMark)
+	    doRead = true;
+
+	  // however, if we've ended, then there's no point, and if we're already
+	  // reading, then it's unnecessary.
+	  if (state.ended || state.reading)
+	    doRead = false;
+
+	  if (doRead) {
+	    state.reading = true;
+	    state.sync = true;
+	    // if the length is currently zero, then we *need* a readable event.
+	    if (state.length === 0)
+	      state.needReadable = true;
+	    // call internal read method
+	    this._read(state.highWaterMark);
+	    state.sync = false;
+	  }
+
+	  // If _read called its callback synchronously, then `reading`
+	  // will be false, and we need to re-evaluate how much data we
+	  // can return to the user.
+	  if (doRead && !state.reading)
+	    n = howMuchToRead(nOrig, state);
+
+	  if (n > 0)
+	    ret = fromList(n, state);
+	  else
+	    ret = null;
+
+	  if (ret === null) {
+	    state.needReadable = true;
+	    n = 0;
+	  }
+
+	  state.length -= n;
+
+	  // If we have nothing in the buffer, then we want to know
+	  // as soon as we *do* get something into the buffer.
+	  if (state.length === 0 && !state.ended)
+	    state.needReadable = true;
+
+	  // If we happened to read() exactly the remaining amount in the
+	  // buffer, and the EOF has been seen at this point, then make sure
+	  // that we emit 'end' on the very next tick.
+	  if (state.ended && !state.endEmitted && state.length === 0)
+	    endReadable(this);
+
+	  return ret;
+	};
+
+	function chunkInvalid(state, chunk) {
+	  var er = null;
+	  if (!Buffer.isBuffer(chunk) &&
+	      'string' !== typeof chunk &&
+	      chunk !== null &&
+	      chunk !== undefined &&
+	      !state.objectMode) {
+	    er = new TypeError('Invalid non-string/buffer chunk');
+	  }
+	  return er;
+	}
+
+
+	function onEofChunk(stream, state) {
+	  if (state.decoder && !state.ended) {
+	    var chunk = state.decoder.end();
+	    if (chunk && chunk.length) {
+	      state.buffer.push(chunk);
+	      state.length += state.objectMode ? 1 : chunk.length;
+	    }
+	  }
+	  state.ended = true;
+
+	  // if we've ended and we have some data left, then emit
+	  // 'readable' now to make sure it gets picked up.
+	  if (state.length > 0)
+	    emitReadable(stream);
+	  else
+	    endReadable(stream);
+	}
+
+	// Don't emit readable right away in sync mode, because this can trigger
+	// another read() call => stack overflow.  This way, it might trigger
+	// a nextTick recursion warning, but that's not so bad.
+	function emitReadable(stream) {
+	  var state = stream._readableState;
+	  state.needReadable = false;
+	  if (state.emittedReadable)
+	    return;
+
+	  state.emittedReadable = true;
+	  if (state.sync)
+	    process.nextTick(function() {
+	      emitReadable_(stream);
+	    });
+	  else
+	    emitReadable_(stream);
+	}
+
+	function emitReadable_(stream) {
+	  stream.emit('readable');
+	}
+
+
+	// at this point, the user has presumably seen the 'readable' event,
+	// and called read() to consume some data.  that may have triggered
+	// in turn another _read(n) call, in which case reading = true if
+	// it's in progress.
+	// However, if we're not ended, or reading, and the length < hwm,
+	// then go ahead and try to read some more preemptively.
+	function maybeReadMore(stream, state) {
+	  if (!state.readingMore) {
+	    state.readingMore = true;
+	    process.nextTick(function() {
+	      maybeReadMore_(stream, state);
+	    });
+	  }
+	}
+
+	function maybeReadMore_(stream, state) {
+	  var len = state.length;
+	  while (!state.reading && !state.flowing && !state.ended &&
+	         state.length < state.highWaterMark) {
+	    stream.read(0);
+	    if (len === state.length)
+	      // didn't get any data, stop spinning.
+	      break;
+	    else
+	      len = state.length;
+	  }
+	  state.readingMore = false;
+	}
+
+	// abstract method.  to be overridden in specific implementation classes.
+	// call cb(er, data) where data is <= n in length.
+	// for virtual (non-string, non-buffer) streams, "length" is somewhat
+	// arbitrary, and perhaps not very meaningful.
+	Readable.prototype._read = function(n) {
+	  this.emit('error', new Error('not implemented'));
+	};
+
+	Readable.prototype.pipe = function(dest, pipeOpts) {
+	  var src = this;
+	  var state = this._readableState;
+
+	  switch (state.pipesCount) {
+	    case 0:
+	      state.pipes = dest;
+	      break;
+	    case 1:
+	      state.pipes = [state.pipes, dest];
+	      break;
+	    default:
+	      state.pipes.push(dest);
+	      break;
+	  }
+	  state.pipesCount += 1;
+
+	  var doEnd = (!pipeOpts || pipeOpts.end !== false) &&
+	              dest !== process.stdout &&
+	              dest !== process.stderr;
+
+	  var endFn = doEnd ? onend : cleanup;
+	  if (state.endEmitted)
+	    process.nextTick(endFn);
+	  else
+	    src.once('end', endFn);
+
+	  dest.on('unpipe', onunpipe);
+	  function onunpipe(readable) {
+	    if (readable !== src) return;
+	    cleanup();
+	  }
+
+	  function onend() {
+	    dest.end();
+	  }
+
+	  // when the dest drains, it reduces the awaitDrain counter
+	  // on the source.  This would be more elegant with a .once()
+	  // handler in flow(), but adding and removing repeatedly is
+	  // too slow.
+	  var ondrain = pipeOnDrain(src);
+	  dest.on('drain', ondrain);
+
+	  function cleanup() {
+	    // cleanup event handlers once the pipe is broken
+	    dest.removeListener('close', onclose);
+	    dest.removeListener('finish', onfinish);
+	    dest.removeListener('drain', ondrain);
+	    dest.removeListener('error', onerror);
+	    dest.removeListener('unpipe', onunpipe);
+	    src.removeListener('end', onend);
+	    src.removeListener('end', cleanup);
+
+	    // if the reader is waiting for a drain event from this
+	    // specific writer, then it would cause it to never start
+	    // flowing again.
+	    // So, if this is awaiting a drain, then we just call it now.
+	    // If we don't know, then assume that we are waiting for one.
+	    if (!dest._writableState || dest._writableState.needDrain)
+	      ondrain();
+	  }
+
+	  // if the dest has an error, then stop piping into it.
+	  // however, don't suppress the throwing behavior for this.
+	  function onerror(er) {
+	    unpipe();
+	    dest.removeListener('error', onerror);
+	    if (EE.listenerCount(dest, 'error') === 0)
+	      dest.emit('error', er);
+	  }
+	  // This is a brutally ugly hack to make sure that our error handler
+	  // is attached before any userland ones.  NEVER DO THIS.
+	  if (!dest._events || !dest._events.error)
+	    dest.on('error', onerror);
+	  else if (isArray(dest._events.error))
+	    dest._events.error.unshift(onerror);
+	  else
+	    dest._events.error = [onerror, dest._events.error];
+
+
+
+	  // Both close and finish should trigger unpipe, but only once.
+	  function onclose() {
+	    dest.removeListener('finish', onfinish);
+	    unpipe();
+	  }
+	  dest.once('close', onclose);
+	  function onfinish() {
+	    dest.removeListener('close', onclose);
+	    unpipe();
+	  }
+	  dest.once('finish', onfinish);
+
+	  function unpipe() {
+	    src.unpipe(dest);
+	  }
+
+	  // tell the dest that it's being piped to
+	  dest.emit('pipe', src);
+
+	  // start the flow if it hasn't been started already.
+	  if (!state.flowing) {
+	    // the handler that waits for readable events after all
+	    // the data gets sucked out in flow.
+	    // This would be easier to follow with a .once() handler
+	    // in flow(), but that is too slow.
+	    this.on('readable', pipeOnReadable);
+
+	    state.flowing = true;
+	    process.nextTick(function() {
+	      flow(src);
+	    });
+	  }
+
+	  return dest;
+	};
+
+	function pipeOnDrain(src) {
+	  return function() {
+	    var dest = this;
+	    var state = src._readableState;
+	    state.awaitDrain--;
+	    if (state.awaitDrain === 0)
+	      flow(src);
+	  };
+	}
+
+	function flow(src) {
+	  var state = src._readableState;
+	  var chunk;
+	  state.awaitDrain = 0;
+
+	  function write(dest, i, list) {
+	    var written = dest.write(chunk);
+	    if (false === written) {
+	      state.awaitDrain++;
+	    }
+	  }
+
+	  while (state.pipesCount && null !== (chunk = src.read())) {
+
+	    if (state.pipesCount === 1)
+	      write(state.pipes, 0, null);
+	    else
+	      forEach(state.pipes, write);
+
+	    src.emit('data', chunk);
+
+	    // if anyone needs a drain, then we have to wait for that.
+	    if (state.awaitDrain > 0)
+	      return;
+	  }
+
+	  // if every destination was unpiped, either before entering this
+	  // function, or in the while loop, then stop flowing.
+	  //
+	  // NB: This is a pretty rare edge case.
+	  if (state.pipesCount === 0) {
+	    state.flowing = false;
+
+	    // if there were data event listeners added, then switch to old mode.
+	    if (EE.listenerCount(src, 'data') > 0)
+	      emitDataEvents(src);
+	    return;
+	  }
+
+	  // at this point, no one needed a drain, so we just ran out of data
+	  // on the next readable event, start it over again.
+	  state.ranOut = true;
+	}
+
+	function pipeOnReadable() {
+	  if (this._readableState.ranOut) {
+	    this._readableState.ranOut = false;
+	    flow(this);
+	  }
+	}
+
+
+	Readable.prototype.unpipe = function(dest) {
+	  var state = this._readableState;
+
+	  // if we're not piping anywhere, then do nothing.
+	  if (state.pipesCount === 0)
+	    return this;
+
+	  // just one destination.  most common case.
+	  if (state.pipesCount === 1) {
+	    // passed in one, but it's not the right one.
+	    if (dest && dest !== state.pipes)
+	      return this;
+
+	    if (!dest)
+	      dest = state.pipes;
+
+	    // got a match.
+	    state.pipes = null;
+	    state.pipesCount = 0;
+	    this.removeListener('readable', pipeOnReadable);
+	    state.flowing = false;
+	    if (dest)
+	      dest.emit('unpipe', this);
+	    return this;
+	  }
+
+	  // slow case. multiple pipe destinations.
+
+	  if (!dest) {
+	    // remove all.
+	    var dests = state.pipes;
+	    var len = state.pipesCount;
+	    state.pipes = null;
+	    state.pipesCount = 0;
+	    this.removeListener('readable', pipeOnReadable);
+	    state.flowing = false;
+
+	    for (var i = 0; i < len; i++)
+	      dests[i].emit('unpipe', this);
+	    return this;
+	  }
+
+	  // try to find the right one.
+	  var i = indexOf(state.pipes, dest);
+	  if (i === -1)
+	    return this;
+
+	  state.pipes.splice(i, 1);
+	  state.pipesCount -= 1;
+	  if (state.pipesCount === 1)
+	    state.pipes = state.pipes[0];
+
+	  dest.emit('unpipe', this);
+
+	  return this;
+	};
+
+	// set up data events if they are asked for
+	// Ensure readable listeners eventually get something
+	Readable.prototype.on = function(ev, fn) {
+	  var res = Stream.prototype.on.call(this, ev, fn);
+
+	  if (ev === 'data' && !this._readableState.flowing)
+	    emitDataEvents(this);
+
+	  if (ev === 'readable' && this.readable) {
+	    var state = this._readableState;
+	    if (!state.readableListening) {
+	      state.readableListening = true;
+	      state.emittedReadable = false;
+	      state.needReadable = true;
+	      if (!state.reading) {
+	        this.read(0);
+	      } else if (state.length) {
+	        emitReadable(this, state);
+	      }
+	    }
+	  }
+
+	  return res;
+	};
+	Readable.prototype.addListener = Readable.prototype.on;
+
+	// pause() and resume() are remnants of the legacy readable stream API
+	// If the user uses them, then switch into old mode.
+	Readable.prototype.resume = function() {
+	  emitDataEvents(this);
+	  this.read(0);
+	  this.emit('resume');
+	};
+
+	Readable.prototype.pause = function() {
+	  emitDataEvents(this, true);
+	  this.emit('pause');
+	};
+
+	function emitDataEvents(stream, startPaused) {
+	  var state = stream._readableState;
+
+	  if (state.flowing) {
+	    // https://github.com/isaacs/readable-stream/issues/16
+	    throw new Error('Cannot switch to old mode now.');
+	  }
+
+	  var paused = startPaused || false;
+	  var readable = false;
+
+	  // convert to an old-style stream.
+	  stream.readable = true;
+	  stream.pipe = Stream.prototype.pipe;
+	  stream.on = stream.addListener = Stream.prototype.on;
+
+	  stream.on('readable', function() {
+	    readable = true;
+
+	    var c;
+	    while (!paused && (null !== (c = stream.read())))
+	      stream.emit('data', c);
+
+	    if (c === null) {
+	      readable = false;
+	      stream._readableState.needReadable = true;
+	    }
+	  });
+
+	  stream.pause = function() {
+	    paused = true;
+	    this.emit('pause');
+	  };
+
+	  stream.resume = function() {
+	    paused = false;
+	    if (readable)
+	      process.nextTick(function() {
+	        stream.emit('readable');
+	      });
+	    else
+	      this.read(0);
+	    this.emit('resume');
+	  };
+
+	  // now make it start, just in case it hadn't already.
+	  stream.emit('readable');
+	}
+
+	// wrap an old-style stream as the async data source.
+	// This is *not* part of the readable stream interface.
+	// It is an ugly unfortunate mess of history.
+	Readable.prototype.wrap = function(stream) {
+	  var state = this._readableState;
+	  var paused = false;
+
+	  var self = this;
+	  stream.on('end', function() {
+	    if (state.decoder && !state.ended) {
+	      var chunk = state.decoder.end();
+	      if (chunk && chunk.length)
+	        self.push(chunk);
+	    }
+
+	    self.push(null);
+	  });
+
+	  stream.on('data', function(chunk) {
+	    if (state.decoder)
+	      chunk = state.decoder.write(chunk);
+
+	    // don't skip over falsy values in objectMode
+	    //if (state.objectMode && util.isNullOrUndefined(chunk))
+	    if (state.objectMode && (chunk === null || chunk === undefined))
+	      return;
+	    else if (!state.objectMode && (!chunk || !chunk.length))
+	      return;
+
+	    var ret = self.push(chunk);
+	    if (!ret) {
+	      paused = true;
+	      stream.pause();
+	    }
+	  });
+
+	  // proxy all the other methods.
+	  // important when wrapping filters and duplexes.
+	  for (var i in stream) {
+	    if (typeof stream[i] === 'function' &&
+	        typeof this[i] === 'undefined') {
+	      this[i] = function(method) { return function() {
+	        return stream[method].apply(stream, arguments);
+	      }}(i);
+	    }
+	  }
+
+	  // proxy certain important events.
+	  var events = ['error', 'close', 'destroy', 'pause', 'resume'];
+	  forEach(events, function(ev) {
+	    stream.on(ev, self.emit.bind(self, ev));
+	  });
+
+	  // when we try to consume some more bytes, simply unpause the
+	  // underlying stream.
+	  self._read = function(n) {
+	    if (paused) {
+	      paused = false;
+	      stream.resume();
+	    }
+	  };
+
+	  return self;
+	};
+
+
+
+	// exposed for testing purposes only.
+	Readable._fromList = fromList;
+
+	// Pluck off n bytes from an array of buffers.
+	// Length is the combined lengths of all the buffers in the list.
+	function fromList(n, state) {
+	  var list = state.buffer;
+	  var length = state.length;
+	  var stringMode = !!state.decoder;
+	  var objectMode = !!state.objectMode;
+	  var ret;
+
+	  // nothing in the list, definitely empty.
+	  if (list.length === 0)
+	    return null;
+
+	  if (length === 0)
+	    ret = null;
+	  else if (objectMode)
+	    ret = list.shift();
+	  else if (!n || n >= length) {
+	    // read it all, truncate the array.
+	    if (stringMode)
+	      ret = list.join('');
+	    else
+	      ret = Buffer.concat(list, length);
+	    list.length = 0;
+	  } else {
+	    // read just some of it.
+	    if (n < list[0].length) {
+	      // just take a part of the first list item.
+	      // slice is the same for buffers and strings.
+	      var buf = list[0];
+	      ret = buf.slice(0, n);
+	      list[0] = buf.slice(n);
+	    } else if (n === list[0].length) {
+	      // first list is a perfect match
+	      ret = list.shift();
+	    } else {
+	      // complex case.
+	      // we have enough to cover it, but it spans past the first buffer.
+	      if (stringMode)
+	        ret = '';
+	      else
+	        ret = new Buffer(n);
+
+	      var c = 0;
+	      for (var i = 0, l = list.length; i < l && c < n; i++) {
+	        var buf = list[0];
+	        var cpy = Math.min(n - c, buf.length);
+
+	        if (stringMode)
+	          ret += buf.slice(0, cpy);
+	        else
+	          buf.copy(ret, c, 0, cpy);
+
+	        if (cpy < buf.length)
+	          list[0] = buf.slice(cpy);
+	        else
+	          list.shift();
+
+	        c += cpy;
+	      }
+	    }
+	  }
+
+	  return ret;
+	}
+
+	function endReadable(stream) {
+	  var state = stream._readableState;
+
+	  // If we get here before consuming all the bytes, then that is a
+	  // bug in node.  Should never happen.
+	  if (state.length > 0)
+	    throw new Error('endReadable called on non-empty stream');
+
+	  if (!state.endEmitted && state.calledRead) {
+	    state.ended = true;
+	    process.nextTick(function() {
+	      // Check that we didn't get one last unshift.
+	      if (!state.endEmitted && state.length === 0) {
+	        state.endEmitted = true;
+	        stream.readable = false;
+	        stream.emit('end');
+	      }
+	    });
+	  }
+	}
+
+	function forEach (xs, f) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    f(xs[i], i);
+	  }
+	}
+
+	function indexOf (xs, x) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    if (xs[i] === x) return i;
+	  }
+	  return -1;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 153 */
+/***/ function(module, exports) {
+
+	module.exports = Array.isArray || function (arr) {
+	  return Object.prototype.toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 154 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// A bit simpler than readable streams.
+	// Implement an async ._write(chunk, cb), and it'll handle all
+	// the drain event emission and buffering.
+
+	module.exports = Writable;
+
+	/*<replacement>*/
+	var Buffer = __webpack_require__(2).Buffer;
+	/*</replacement>*/
+
+	Writable.WritableState = WritableState;
+
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var Stream = __webpack_require__(52);
+
+	util.inherits(Writable, Stream);
+
+	function WriteReq(chunk, encoding, cb) {
+	  this.chunk = chunk;
+	  this.encoding = encoding;
+	  this.callback = cb;
+	}
+
+	function WritableState(options, stream) {
+	  options = options || {};
+
+	  // the point at which write() starts returning false
+	  // Note: 0 is a valid value, means that we always return false if
+	  // the entire buffer is not flushed immediately on write()
+	  var hwm = options.highWaterMark;
+	  this.highWaterMark = (hwm || hwm === 0) ? hwm : 16 * 1024;
+
+	  // object stream flag to indicate whether or not this stream
+	  // contains buffers or objects.
+	  this.objectMode = !!options.objectMode;
+
+	  // cast to ints.
+	  this.highWaterMark = ~~this.highWaterMark;
+
+	  this.needDrain = false;
+	  // at the start of calling end()
+	  this.ending = false;
+	  // when end() has been called, and returned
+	  this.ended = false;
+	  // when 'finish' is emitted
+	  this.finished = false;
+
+	  // should we decode strings into buffers before passing to _write?
+	  // this is here so that some node-core streams can optimize string
+	  // handling at a lower level.
+	  var noDecode = options.decodeStrings === false;
+	  this.decodeStrings = !noDecode;
+
+	  // Crypto is kind of old and crusty.  Historically, its default string
+	  // encoding is 'binary' so we have to make this configurable.
+	  // Everything else in the universe uses 'utf8', though.
+	  this.defaultEncoding = options.defaultEncoding || 'utf8';
+
+	  // not an actual buffer we keep track of, but a measurement
+	  // of how much we're waiting to get pushed to some underlying
+	  // socket or file.
+	  this.length = 0;
+
+	  // a flag to see when we're in the middle of a write.
+	  this.writing = false;
+
+	  // a flag to be able to tell if the onwrite cb is called immediately,
+	  // or on a later tick.  We set this to true at first, becuase any
+	  // actions that shouldn't happen until "later" should generally also
+	  // not happen before the first write call.
+	  this.sync = true;
+
+	  // a flag to know if we're processing previously buffered items, which
+	  // may call the _write() callback in the same tick, so that we don't
+	  // end up in an overlapped onwrite situation.
+	  this.bufferProcessing = false;
+
+	  // the callback that's passed to _write(chunk,cb)
+	  this.onwrite = function(er) {
+	    onwrite(stream, er);
+	  };
+
+	  // the callback that the user supplies to write(chunk,encoding,cb)
+	  this.writecb = null;
+
+	  // the amount that is being written when _write is called.
+	  this.writelen = 0;
+
+	  this.buffer = [];
+
+	  // True if the error was already emitted and should not be thrown again
+	  this.errorEmitted = false;
+	}
+
+	function Writable(options) {
+	  var Duplex = __webpack_require__(151);
+
+	  // Writable ctor is applied to Duplexes, though they're not
+	  // instanceof Writable, they're instanceof Readable.
+	  if (!(this instanceof Writable) && !(this instanceof Duplex))
+	    return new Writable(options);
+
+	  this._writableState = new WritableState(options, this);
+
+	  // legacy.
+	  this.writable = true;
+
+	  Stream.call(this);
+	}
+
+	// Otherwise people can pipe Writable streams, which is just wrong.
+	Writable.prototype.pipe = function() {
+	  this.emit('error', new Error('Cannot pipe. Not readable.'));
+	};
+
+
+	function writeAfterEnd(stream, state, cb) {
+	  var er = new Error('write after end');
+	  // TODO: defer error events consistently everywhere, not just the cb
+	  stream.emit('error', er);
+	  process.nextTick(function() {
+	    cb(er);
+	  });
+	}
+
+	// If we get something that is not a buffer, string, null, or undefined,
+	// and we're not in objectMode, then that's an error.
+	// Otherwise stream chunks are all considered to be of length=1, and the
+	// watermarks determine how many objects to keep in the buffer, rather than
+	// how many bytes or characters.
+	function validChunk(stream, state, chunk, cb) {
+	  var valid = true;
+	  if (!Buffer.isBuffer(chunk) &&
+	      'string' !== typeof chunk &&
+	      chunk !== null &&
+	      chunk !== undefined &&
+	      !state.objectMode) {
+	    var er = new TypeError('Invalid non-string/buffer chunk');
+	    stream.emit('error', er);
+	    process.nextTick(function() {
+	      cb(er);
+	    });
+	    valid = false;
+	  }
+	  return valid;
+	}
+
+	Writable.prototype.write = function(chunk, encoding, cb) {
+	  var state = this._writableState;
+	  var ret = false;
+
+	  if (typeof encoding === 'function') {
+	    cb = encoding;
+	    encoding = null;
+	  }
+
+	  if (Buffer.isBuffer(chunk))
+	    encoding = 'buffer';
+	  else if (!encoding)
+	    encoding = state.defaultEncoding;
+
+	  if (typeof cb !== 'function')
+	    cb = function() {};
+
+	  if (state.ended)
+	    writeAfterEnd(this, state, cb);
+	  else if (validChunk(this, state, chunk, cb))
+	    ret = writeOrBuffer(this, state, chunk, encoding, cb);
+
+	  return ret;
+	};
+
+	function decodeChunk(state, chunk, encoding) {
+	  if (!state.objectMode &&
+	      state.decodeStrings !== false &&
+	      typeof chunk === 'string') {
+	    chunk = new Buffer(chunk, encoding);
+	  }
+	  return chunk;
+	}
+
+	// if we're already writing something, then just put this
+	// in the queue, and wait our turn.  Otherwise, call _write
+	// If we return false, then we need a drain event, so set that flag.
+	function writeOrBuffer(stream, state, chunk, encoding, cb) {
+	  chunk = decodeChunk(state, chunk, encoding);
+	  if (Buffer.isBuffer(chunk))
+	    encoding = 'buffer';
+	  var len = state.objectMode ? 1 : chunk.length;
+
+	  state.length += len;
+
+	  var ret = state.length < state.highWaterMark;
+	  // we must ensure that previous needDrain will not be reset to false.
+	  if (!ret)
+	    state.needDrain = true;
+
+	  if (state.writing)
+	    state.buffer.push(new WriteReq(chunk, encoding, cb));
+	  else
+	    doWrite(stream, state, len, chunk, encoding, cb);
+
+	  return ret;
+	}
+
+	function doWrite(stream, state, len, chunk, encoding, cb) {
+	  state.writelen = len;
+	  state.writecb = cb;
+	  state.writing = true;
+	  state.sync = true;
+	  stream._write(chunk, encoding, state.onwrite);
+	  state.sync = false;
+	}
+
+	function onwriteError(stream, state, sync, er, cb) {
+	  if (sync)
+	    process.nextTick(function() {
+	      cb(er);
+	    });
+	  else
+	    cb(er);
+
+	  stream._writableState.errorEmitted = true;
+	  stream.emit('error', er);
+	}
+
+	function onwriteStateUpdate(state) {
+	  state.writing = false;
+	  state.writecb = null;
+	  state.length -= state.writelen;
+	  state.writelen = 0;
+	}
+
+	function onwrite(stream, er) {
+	  var state = stream._writableState;
+	  var sync = state.sync;
+	  var cb = state.writecb;
+
+	  onwriteStateUpdate(state);
+
+	  if (er)
+	    onwriteError(stream, state, sync, er, cb);
+	  else {
+	    // Check if we're actually ready to finish, but don't emit yet
+	    var finished = needFinish(stream, state);
+
+	    if (!finished && !state.bufferProcessing && state.buffer.length)
+	      clearBuffer(stream, state);
+
+	    if (sync) {
+	      process.nextTick(function() {
+	        afterWrite(stream, state, finished, cb);
+	      });
+	    } else {
+	      afterWrite(stream, state, finished, cb);
+	    }
+	  }
+	}
+
+	function afterWrite(stream, state, finished, cb) {
+	  if (!finished)
+	    onwriteDrain(stream, state);
+	  cb();
+	  if (finished)
+	    finishMaybe(stream, state);
+	}
+
+	// Must force callback to be called on nextTick, so that we don't
+	// emit 'drain' before the write() consumer gets the 'false' return
+	// value, and has a chance to attach a 'drain' listener.
+	function onwriteDrain(stream, state) {
+	  if (state.length === 0 && state.needDrain) {
+	    state.needDrain = false;
+	    stream.emit('drain');
+	  }
+	}
+
+
+	// if there's something in the buffer waiting, then process it
+	function clearBuffer(stream, state) {
+	  state.bufferProcessing = true;
+
+	  for (var c = 0; c < state.buffer.length; c++) {
+	    var entry = state.buffer[c];
+	    var chunk = entry.chunk;
+	    var encoding = entry.encoding;
+	    var cb = entry.callback;
+	    var len = state.objectMode ? 1 : chunk.length;
+
+	    doWrite(stream, state, len, chunk, encoding, cb);
+
+	    // if we didn't call the onwrite immediately, then
+	    // it means that we need to wait until it does.
+	    // also, that means that the chunk and cb are currently
+	    // being processed, so move the buffer counter past them.
+	    if (state.writing) {
+	      c++;
+	      break;
+	    }
+	  }
+
+	  state.bufferProcessing = false;
+	  if (c < state.buffer.length)
+	    state.buffer = state.buffer.slice(c);
+	  else
+	    state.buffer.length = 0;
+	}
+
+	Writable.prototype._write = function(chunk, encoding, cb) {
+	  cb(new Error('not implemented'));
+	};
+
+	Writable.prototype.end = function(chunk, encoding, cb) {
+	  var state = this._writableState;
+
+	  if (typeof chunk === 'function') {
+	    cb = chunk;
+	    chunk = null;
+	    encoding = null;
+	  } else if (typeof encoding === 'function') {
+	    cb = encoding;
+	    encoding = null;
+	  }
+
+	  if (typeof chunk !== 'undefined' && chunk !== null)
+	    this.write(chunk, encoding);
+
+	  // ignore unnecessary end() calls.
+	  if (!state.ending && !state.finished)
+	    endWritable(this, state, cb);
+	};
+
+
+	function needFinish(stream, state) {
+	  return (state.ending &&
+	          state.length === 0 &&
+	          !state.finished &&
+	          !state.writing);
+	}
+
+	function finishMaybe(stream, state) {
+	  var need = needFinish(stream, state);
+	  if (need) {
+	    state.finished = true;
+	    stream.emit('finish');
+	  }
+	  return need;
+	}
+
+	function endWritable(stream, state, cb) {
+	  state.ending = true;
+	  finishMaybe(stream, state);
+	  if (cb) {
+	    if (state.finished)
+	      process.nextTick(cb);
+	    else
+	      stream.once('finish', cb);
+	  }
+	  state.ended = true;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 155 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/*
+	Copyright (c) 2014, Matteo Collina <hello@matteocollina.com>
+
+	Permission to use, copy, modify, and/or distribute this software for any
+	purpose with or without fee is hereby granted, provided that the above
+	copyright notice and this permission notice appear in all copies.
+
+	THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+	WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+	MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+	ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+	WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+	ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+	IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+	*/
+
+	'use strict';
+
+	var through = __webpack_require__(156)
+
+	function transform(chunk, enc, cb) {
+	  var list = chunk.toString('utf8').split(this.matcher)
+	    , remaining = list.pop()
+	    , i
+
+	  if (list.length >= 1) {
+	    push(this, this.mapper((this._last + list.shift())))
+	  } else {
+	    remaining = this._last + remaining
+	  }
+
+	  for (i = 0; i < list.length; i++) {
+	    push(this, this.mapper(list[i]))
+	  }
+
+	  this._last = remaining
+
+	  cb()
+	}
+
+	function flush(cb) {
+	  if (this._last)
+	    push(this, this.mapper(this._last))
+
+	  cb()
+	}
+
+	function push(self, val) {
+	  if (val !== undefined)
+	    self.push(val)
+	}
+
+	function noop(incoming) {
+	  return incoming
+	}
+
+	function split(matcher, mapper, options) {
+
+	  if (typeof matcher === 'object' && !(matcher instanceof RegExp)) {
+	    options = matcher
+	    matcher = null
+	  }
+
+	  if (typeof matcher === 'function') {
+	    mapper = matcher
+	    matcher = null
+	  }
+
+	  options = options || {}
+
+	  var stream = through(options, transform, flush)
+
+	  // this stream is in objectMode only in the readable part
+	  stream._readableState.objectMode = true;
+
+	  stream._last = ''
+	  stream.matcher = matcher || /\r?\n/
+	  stream.mapper = mapper || noop
+
+	  return stream
+	}
+
+	module.exports = split
+
+
+/***/ },
+/* 156 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {var Transform = __webpack_require__(157)
+	  , inherits  = __webpack_require__(118).inherits
+	  , xtend     = __webpack_require__(12)
+
+	function DestroyableTransform(opts) {
+	  Transform.call(this, opts)
+	  this._destroyed = false
+	}
+
+	inherits(DestroyableTransform, Transform)
+
+	DestroyableTransform.prototype.destroy = function(err) {
+	  if (this._destroyed) return
+	  this._destroyed = true
+	  
+	  var self = this
+	  process.nextTick(function() {
+	    if (err)
+	      self.emit('error', err)
+	    self.emit('close')
+	  })
+	}
+
+	// a noop _transform function
+	function noop (chunk, enc, callback) {
+	  callback(null, chunk)
+	}
+
+
+	// create a new export function, used by both the main export and
+	// the .ctor export, contains common logic for dealing with arguments
+	function through2 (construct) {
+	  return function (options, transform, flush) {
+	    if (typeof options == 'function') {
+	      flush     = transform
+	      transform = options
+	      options   = {}
+	    }
+
+	    if (typeof transform != 'function')
+	      transform = noop
+
+	    if (typeof flush != 'function')
+	      flush = null
+
+	    return construct(options, transform, flush)
+	  }
+	}
+
+
+	// main export, just make me a transform stream!
+	module.exports = through2(function (options, transform, flush) {
+	  var t2 = new DestroyableTransform(options)
+
+	  t2._transform = transform
+
+	  if (flush)
+	    t2._flush = flush
+
+	  return t2
+	})
+
+
+	// make me a reusable prototype that I can `new`, or implicitly `new`
+	// with a constructor call
+	module.exports.ctor = through2(function (options, transform, flush) {
+	  function Through2 (override) {
+	    if (!(this instanceof Through2))
+	      return new Through2(override)
+
+	    this.options = xtend(options, override)
+
+	    DestroyableTransform.call(this, this.options)
+	  }
+
+	  inherits(Through2, DestroyableTransform)
+
+	  Through2.prototype._transform = transform
+
+	  if (flush)
+	    Through2.prototype._flush = flush
+
+	  return Through2
+	})
+
+
+	module.exports.obj = through2(function (options, transform, flush) {
+	  var t2 = new DestroyableTransform(xtend({ objectMode: true, highWaterMark: 16 }, options))
+
+	  t2._transform = transform
+
+	  if (flush)
+	    t2._flush = flush
+
+	  return t2
+	})
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 157 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(158)
+
+
+/***/ },
+/* 158 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+	// a transform stream is a readable/writable stream where you do
+	// something with the data.  Sometimes it's called a "filter",
+	// but that's not a great name for it, since that implies a thing where
+	// some bits pass through, and others are simply ignored.  (That would
+	// be a valid example of a transform, of course.)
+	//
+	// While the output is causally related to the input, it's not a
+	// necessarily symmetric or synchronous transformation.  For example,
+	// a zlib stream might take multiple plain-text writes(), and then
+	// emit a single compressed chunk some time in the future.
+	//
+	// Here's how this works:
+	//
+	// The Transform stream has all the aspects of the readable and writable
+	// stream classes.  When you write(chunk), that calls _write(chunk,cb)
+	// internally, and returns false if there's a lot of pending writes
+	// buffered up.  When you call read(), that calls _read(n) until
+	// there's enough pending readable data buffered up.
+	//
+	// In a transform stream, the written data is placed in a buffer.  When
+	// _read(n) is called, it transforms the queued up data, calling the
+	// buffered _write cb's as it consumes chunks.  If consuming a single
+	// written chunk would result in multiple output chunks, then the first
+	// outputted bit calls the readcb, and subsequent chunks just go into
+	// the read buffer, and will cause it to emit 'readable' if necessary.
+	//
+	// This way, back-pressure is actually determined by the reading side,
+	// since _read has to be called to start processing a new chunk.  However,
+	// a pathological inflate type of transform can cause excessive buffering
+	// here.  For example, imagine a stream where every byte of input is
+	// interpreted as an integer from 0-255, and then results in that many
+	// bytes of output.  Writing the 4 bytes {ff,ff,ff,ff} would result in
+	// 1kb of data being output.  In this case, you could write a very small
+	// amount of input, and end up with a very large amount of output.  In
+	// such a pathological inflating mechanism, there'd be no way to tell
+	// the system to stop doing the transform.  A single 4MB write could
+	// cause the system to run out of memory.
+	//
+	// However, even in such a pathological case, only a single written chunk
+	// would be consumed, and then the rest would wait (un-transformed) until
+	// the results of the previous transformed chunk were consumed.
+
+	module.exports = Transform;
+
+	var Duplex = __webpack_require__(159);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	util.inherits(Transform, Duplex);
+
+
+	function TransformState(options, stream) {
+	  this.afterTransform = function(er, data) {
+	    return afterTransform(stream, er, data);
+	  };
+
+	  this.needTransform = false;
+	  this.transforming = false;
+	  this.writecb = null;
+	  this.writechunk = null;
+	}
+
+	function afterTransform(stream, er, data) {
+	  var ts = stream._transformState;
+	  ts.transforming = false;
+
+	  var cb = ts.writecb;
+
+	  if (!cb)
+	    return stream.emit('error', new Error('no writecb in Transform class'));
+
+	  ts.writechunk = null;
+	  ts.writecb = null;
+
+	  if (data !== null && data !== undefined)
+	    stream.push(data);
+
+	  if (cb)
+	    cb(er);
+
+	  var rs = stream._readableState;
+	  rs.reading = false;
+	  if (rs.needReadable || rs.length < rs.highWaterMark) {
+	    stream._read(rs.highWaterMark);
+	  }
+	}
+
+
+	function Transform(options) {
+	  if (!(this instanceof Transform))
+	    return new Transform(options);
+
+	  Duplex.call(this, options);
+
+	  var ts = this._transformState = new TransformState(options, this);
+
+	  // when the writable side finishes, then flush out anything remaining.
+	  var stream = this;
+
+	  // start out asking for a readable event once data is transformed.
+	  this._readableState.needReadable = true;
+
+	  // we have implemented the _read method, and done the other things
+	  // that Readable wants before the first _read call, so unset the
+	  // sync guard flag.
+	  this._readableState.sync = false;
+
+	  this.once('finish', function() {
+	    if ('function' === typeof this._flush)
+	      this._flush(function(er) {
+	        done(stream, er);
+	      });
+	    else
+	      done(stream);
+	  });
+	}
+
+	Transform.prototype.push = function(chunk, encoding) {
+	  this._transformState.needTransform = false;
+	  return Duplex.prototype.push.call(this, chunk, encoding);
+	};
+
+	// This is the part where you do stuff!
+	// override this function in implementation classes.
+	// 'chunk' is an input chunk.
+	//
+	// Call `push(newChunk)` to pass along transformed output
+	// to the readable side.  You may call 'push' zero or more times.
+	//
+	// Call `cb(err)` when you are done with this chunk.  If you pass
+	// an error, then that'll put the hurt on the whole operation.  If you
+	// never call cb(), then you'll never get another chunk.
+	Transform.prototype._transform = function(chunk, encoding, cb) {
+	  throw new Error('not implemented');
+	};
+
+	Transform.prototype._write = function(chunk, encoding, cb) {
+	  var ts = this._transformState;
+	  ts.writecb = cb;
+	  ts.writechunk = chunk;
+	  ts.writeencoding = encoding;
+	  if (!ts.transforming) {
+	    var rs = this._readableState;
+	    if (ts.needTransform ||
+	        rs.needReadable ||
+	        rs.length < rs.highWaterMark)
+	      this._read(rs.highWaterMark);
+	  }
+	};
+
+	// Doesn't matter what the args are here.
+	// _transform does all the work.
+	// That we got here means that the readable side wants more data.
+	Transform.prototype._read = function(n) {
+	  var ts = this._transformState;
+
+	  if (ts.writechunk !== null && ts.writecb && !ts.transforming) {
+	    ts.transforming = true;
+	    this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);
+	  } else {
+	    // mark that we need a transform, so that any data that comes in
+	    // will get processed, now that we've asked for it.
+	    ts.needTransform = true;
+	  }
+	};
+
+
+	function done(stream, er) {
+	  if (er)
+	    return stream.emit('error', er);
+
+	  // if there's nothing in the write buffer, then that means
+	  // that nothing more will ever be provided
+	  var ws = stream._writableState;
+	  var rs = stream._readableState;
+	  var ts = stream._transformState;
+
+	  if (ws.length)
+	    throw new Error('calling transform done when ws.length != 0');
+
+	  if (ts.transforming)
+	    throw new Error('calling transform done when still transforming');
+
+	  return stream.push(null);
+	}
+
+
+/***/ },
+/* 159 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// a duplex stream is just a stream that is both readable and writable.
+	// Since JS doesn't have multiple prototypal inheritance, this class
+	// prototypally inherits from Readable, and then parasitically from
+	// Writable.
+
+	module.exports = Duplex;
+
+	/*<replacement>*/
+	var objectKeys = Object.keys || function (obj) {
+	  var keys = [];
+	  for (var key in obj) keys.push(key);
+	  return keys;
+	}
+	/*</replacement>*/
+
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var Readable = __webpack_require__(160);
+	var Writable = __webpack_require__(162);
+
+	util.inherits(Duplex, Readable);
+
+	forEach(objectKeys(Writable.prototype), function(method) {
+	  if (!Duplex.prototype[method])
+	    Duplex.prototype[method] = Writable.prototype[method];
+	});
+
+	function Duplex(options) {
+	  if (!(this instanceof Duplex))
+	    return new Duplex(options);
+
+	  Readable.call(this, options);
+	  Writable.call(this, options);
+
+	  if (options && options.readable === false)
+	    this.readable = false;
+
+	  if (options && options.writable === false)
+	    this.writable = false;
+
+	  this.allowHalfOpen = true;
+	  if (options && options.allowHalfOpen === false)
+	    this.allowHalfOpen = false;
+
+	  this.once('end', onend);
+	}
+
+	// the no-half-open enforcer
+	function onend() {
+	  // if we allow half-open state, or if the writable side ended,
+	  // then we're ok.
+	  if (this.allowHalfOpen || this._writableState.ended)
+	    return;
+
+	  // no more data can be written.
+	  // But allow more writes to happen in this tick.
+	  process.nextTick(this.end.bind(this));
+	}
+
+	function forEach (xs, f) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    f(xs[i], i);
+	  }
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 160 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	module.exports = Readable;
+
+	/*<replacement>*/
+	var isArray = __webpack_require__(161);
+	/*</replacement>*/
+
+
+	/*<replacement>*/
+	var Buffer = __webpack_require__(2).Buffer;
+	/*</replacement>*/
+
+	Readable.ReadableState = ReadableState;
+
+	var EE = __webpack_require__(41).EventEmitter;
+
+	/*<replacement>*/
+	if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
+	  return emitter.listeners(type).length;
+	};
+	/*</replacement>*/
+
+	var Stream = __webpack_require__(52);
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var StringDecoder;
+
+	util.inherits(Readable, Stream);
+
+	function ReadableState(options, stream) {
+	  options = options || {};
+
+	  // the point at which it stops calling _read() to fill the buffer
+	  // Note: 0 is a valid value, means "don't call _read preemptively ever"
+	  var hwm = options.highWaterMark;
+	  this.highWaterMark = (hwm || hwm === 0) ? hwm : 16 * 1024;
+
+	  // cast to ints.
+	  this.highWaterMark = ~~this.highWaterMark;
+
+	  this.buffer = [];
+	  this.length = 0;
+	  this.pipes = null;
+	  this.pipesCount = 0;
+	  this.flowing = false;
+	  this.ended = false;
+	  this.endEmitted = false;
+	  this.reading = false;
+
+	  // In streams that never have any data, and do push(null) right away,
+	  // the consumer can miss the 'end' event if they do some I/O before
+	  // consuming the stream.  So, we don't emit('end') until some reading
+	  // happens.
+	  this.calledRead = false;
+
+	  // a flag to be able to tell if the onwrite cb is called immediately,
+	  // or on a later tick.  We set this to true at first, becuase any
+	  // actions that shouldn't happen until "later" should generally also
+	  // not happen before the first write call.
+	  this.sync = true;
+
+	  // whenever we return null, then we set a flag to say
+	  // that we're awaiting a 'readable' event emission.
+	  this.needReadable = false;
+	  this.emittedReadable = false;
+	  this.readableListening = false;
+
+
+	  // object stream flag. Used to make read(n) ignore n and to
+	  // make all the buffer merging and length checks go away
+	  this.objectMode = !!options.objectMode;
+
+	  // Crypto is kind of old and crusty.  Historically, its default string
+	  // encoding is 'binary' so we have to make this configurable.
+	  // Everything else in the universe uses 'utf8', though.
+	  this.defaultEncoding = options.defaultEncoding || 'utf8';
+
+	  // when piping, we only care about 'readable' events that happen
+	  // after read()ing all the bytes and not getting any pushback.
+	  this.ranOut = false;
+
+	  // the number of writers that are awaiting a drain event in .pipe()s
+	  this.awaitDrain = 0;
+
+	  // if true, a maybeReadMore has been scheduled
+	  this.readingMore = false;
+
+	  this.decoder = null;
+	  this.encoding = null;
+	  if (options.encoding) {
+	    if (!StringDecoder)
+	      StringDecoder = __webpack_require__(60).StringDecoder;
+	    this.decoder = new StringDecoder(options.encoding);
+	    this.encoding = options.encoding;
+	  }
+	}
+
+	function Readable(options) {
+	  if (!(this instanceof Readable))
+	    return new Readable(options);
+
+	  this._readableState = new ReadableState(options, this);
+
+	  // legacy
+	  this.readable = true;
+
+	  Stream.call(this);
+	}
+
+	// Manually shove something into the read() buffer.
+	// This returns true if the highWaterMark has not been hit yet,
+	// similar to how Writable.write() returns true if you should
+	// write() some more.
+	Readable.prototype.push = function(chunk, encoding) {
+	  var state = this._readableState;
+
+	  if (typeof chunk === 'string' && !state.objectMode) {
+	    encoding = encoding || state.defaultEncoding;
+	    if (encoding !== state.encoding) {
+	      chunk = new Buffer(chunk, encoding);
+	      encoding = '';
+	    }
+	  }
+
+	  return readableAddChunk(this, state, chunk, encoding, false);
+	};
+
+	// Unshift should *always* be something directly out of read()
+	Readable.prototype.unshift = function(chunk) {
+	  var state = this._readableState;
+	  return readableAddChunk(this, state, chunk, '', true);
+	};
+
+	function readableAddChunk(stream, state, chunk, encoding, addToFront) {
+	  var er = chunkInvalid(state, chunk);
+	  if (er) {
+	    stream.emit('error', er);
+	  } else if (chunk === null || chunk === undefined) {
+	    state.reading = false;
+	    if (!state.ended)
+	      onEofChunk(stream, state);
+	  } else if (state.objectMode || chunk && chunk.length > 0) {
+	    if (state.ended && !addToFront) {
+	      var e = new Error('stream.push() after EOF');
+	      stream.emit('error', e);
+	    } else if (state.endEmitted && addToFront) {
+	      var e = new Error('stream.unshift() after end event');
+	      stream.emit('error', e);
+	    } else {
+	      if (state.decoder && !addToFront && !encoding)
+	        chunk = state.decoder.write(chunk);
+
+	      // update the buffer info.
+	      state.length += state.objectMode ? 1 : chunk.length;
+	      if (addToFront) {
+	        state.buffer.unshift(chunk);
+	      } else {
+	        state.reading = false;
+	        state.buffer.push(chunk);
+	      }
+
+	      if (state.needReadable)
+	        emitReadable(stream);
+
+	      maybeReadMore(stream, state);
+	    }
+	  } else if (!addToFront) {
+	    state.reading = false;
+	  }
+
+	  return needMoreData(state);
+	}
+
+
+
+	// if it's past the high water mark, we can push in some more.
+	// Also, if we have no data yet, we can stand some
+	// more bytes.  This is to work around cases where hwm=0,
+	// such as the repl.  Also, if the push() triggered a
+	// readable event, and the user called read(largeNumber) such that
+	// needReadable was set, then we ought to push more, so that another
+	// 'readable' event will be triggered.
+	function needMoreData(state) {
+	  return !state.ended &&
+	         (state.needReadable ||
+	          state.length < state.highWaterMark ||
+	          state.length === 0);
+	}
+
+	// backwards compatibility.
+	Readable.prototype.setEncoding = function(enc) {
+	  if (!StringDecoder)
+	    StringDecoder = __webpack_require__(60).StringDecoder;
+	  this._readableState.decoder = new StringDecoder(enc);
+	  this._readableState.encoding = enc;
+	};
+
+	// Don't raise the hwm > 128MB
+	var MAX_HWM = 0x800000;
+	function roundUpToNextPowerOf2(n) {
+	  if (n >= MAX_HWM) {
+	    n = MAX_HWM;
+	  } else {
+	    // Get the next highest power of 2
+	    n--;
+	    for (var p = 1; p < 32; p <<= 1) n |= n >> p;
+	    n++;
+	  }
+	  return n;
+	}
+
+	function howMuchToRead(n, state) {
+	  if (state.length === 0 && state.ended)
+	    return 0;
+
+	  if (state.objectMode)
+	    return n === 0 ? 0 : 1;
+
+	  if (n === null || isNaN(n)) {
+	    // only flow one buffer at a time
+	    if (state.flowing && state.buffer.length)
+	      return state.buffer[0].length;
+	    else
+	      return state.length;
+	  }
+
+	  if (n <= 0)
+	    return 0;
+
+	  // If we're asking for more than the target buffer level,
+	  // then raise the water mark.  Bump up to the next highest
+	  // power of 2, to prevent increasing it excessively in tiny
+	  // amounts.
+	  if (n > state.highWaterMark)
+	    state.highWaterMark = roundUpToNextPowerOf2(n);
+
+	  // don't have that much.  return null, unless we've ended.
+	  if (n > state.length) {
+	    if (!state.ended) {
+	      state.needReadable = true;
+	      return 0;
+	    } else
+	      return state.length;
+	  }
+
+	  return n;
+	}
+
+	// you can override either this method, or the async _read(n) below.
+	Readable.prototype.read = function(n) {
+	  var state = this._readableState;
+	  state.calledRead = true;
+	  var nOrig = n;
+	  var ret;
+
+	  if (typeof n !== 'number' || n > 0)
+	    state.emittedReadable = false;
+
+	  // if we're doing read(0) to trigger a readable event, but we
+	  // already have a bunch of data in the buffer, then just trigger
+	  // the 'readable' event and move on.
+	  if (n === 0 &&
+	      state.needReadable &&
+	      (state.length >= state.highWaterMark || state.ended)) {
+	    emitReadable(this);
+	    return null;
+	  }
+
+	  n = howMuchToRead(n, state);
+
+	  // if we've ended, and we're now clear, then finish it up.
+	  if (n === 0 && state.ended) {
+	    ret = null;
+
+	    // In cases where the decoder did not receive enough data
+	    // to produce a full chunk, then immediately received an
+	    // EOF, state.buffer will contain [<Buffer >, <Buffer 00 ...>].
+	    // howMuchToRead will see this and coerce the amount to
+	    // read to zero (because it's looking at the length of the
+	    // first <Buffer > in state.buffer), and we'll end up here.
+	    //
+	    // This can only happen via state.decoder -- no other venue
+	    // exists for pushing a zero-length chunk into state.buffer
+	    // and triggering this behavior. In this case, we return our
+	    // remaining data and end the stream, if appropriate.
+	    if (state.length > 0 && state.decoder) {
+	      ret = fromList(n, state);
+	      state.length -= ret.length;
+	    }
+
+	    if (state.length === 0)
+	      endReadable(this);
+
+	    return ret;
+	  }
+
+	  // All the actual chunk generation logic needs to be
+	  // *below* the call to _read.  The reason is that in certain
+	  // synthetic stream cases, such as passthrough streams, _read
+	  // may be a completely synchronous operation which may change
+	  // the state of the read buffer, providing enough data when
+	  // before there was *not* enough.
+	  //
+	  // So, the steps are:
+	  // 1. Figure out what the state of things will be after we do
+	  // a read from the buffer.
+	  //
+	  // 2. If that resulting state will trigger a _read, then call _read.
+	  // Note that this may be asynchronous, or synchronous.  Yes, it is
+	  // deeply ugly to write APIs this way, but that still doesn't mean
+	  // that the Readable class should behave improperly, as streams are
+	  // designed to be sync/async agnostic.
+	  // Take note if the _read call is sync or async (ie, if the read call
+	  // has returned yet), so that we know whether or not it's safe to emit
+	  // 'readable' etc.
+	  //
+	  // 3. Actually pull the requested chunks out of the buffer and return.
+
+	  // if we need a readable event, then we need to do some reading.
+	  var doRead = state.needReadable;
+
+	  // if we currently have less than the highWaterMark, then also read some
+	  if (state.length - n <= state.highWaterMark)
+	    doRead = true;
+
+	  // however, if we've ended, then there's no point, and if we're already
+	  // reading, then it's unnecessary.
+	  if (state.ended || state.reading)
+	    doRead = false;
+
+	  if (doRead) {
+	    state.reading = true;
+	    state.sync = true;
+	    // if the length is currently zero, then we *need* a readable event.
+	    if (state.length === 0)
+	      state.needReadable = true;
+	    // call internal read method
+	    this._read(state.highWaterMark);
+	    state.sync = false;
+	  }
+
+	  // If _read called its callback synchronously, then `reading`
+	  // will be false, and we need to re-evaluate how much data we
+	  // can return to the user.
+	  if (doRead && !state.reading)
+	    n = howMuchToRead(nOrig, state);
+
+	  if (n > 0)
+	    ret = fromList(n, state);
+	  else
+	    ret = null;
+
+	  if (ret === null) {
+	    state.needReadable = true;
+	    n = 0;
+	  }
+
+	  state.length -= n;
+
+	  // If we have nothing in the buffer, then we want to know
+	  // as soon as we *do* get something into the buffer.
+	  if (state.length === 0 && !state.ended)
+	    state.needReadable = true;
+
+	  // If we happened to read() exactly the remaining amount in the
+	  // buffer, and the EOF has been seen at this point, then make sure
+	  // that we emit 'end' on the very next tick.
+	  if (state.ended && !state.endEmitted && state.length === 0)
+	    endReadable(this);
+
+	  return ret;
+	};
+
+	function chunkInvalid(state, chunk) {
+	  var er = null;
+	  if (!Buffer.isBuffer(chunk) &&
+	      'string' !== typeof chunk &&
+	      chunk !== null &&
+	      chunk !== undefined &&
+	      !state.objectMode) {
+	    er = new TypeError('Invalid non-string/buffer chunk');
+	  }
+	  return er;
+	}
+
+
+	function onEofChunk(stream, state) {
+	  if (state.decoder && !state.ended) {
+	    var chunk = state.decoder.end();
+	    if (chunk && chunk.length) {
+	      state.buffer.push(chunk);
+	      state.length += state.objectMode ? 1 : chunk.length;
+	    }
+	  }
+	  state.ended = true;
+
+	  // if we've ended and we have some data left, then emit
+	  // 'readable' now to make sure it gets picked up.
+	  if (state.length > 0)
+	    emitReadable(stream);
+	  else
+	    endReadable(stream);
+	}
+
+	// Don't emit readable right away in sync mode, because this can trigger
+	// another read() call => stack overflow.  This way, it might trigger
+	// a nextTick recursion warning, but that's not so bad.
+	function emitReadable(stream) {
+	  var state = stream._readableState;
+	  state.needReadable = false;
+	  if (state.emittedReadable)
+	    return;
+
+	  state.emittedReadable = true;
+	  if (state.sync)
+	    process.nextTick(function() {
+	      emitReadable_(stream);
+	    });
+	  else
+	    emitReadable_(stream);
+	}
+
+	function emitReadable_(stream) {
+	  stream.emit('readable');
+	}
+
+
+	// at this point, the user has presumably seen the 'readable' event,
+	// and called read() to consume some data.  that may have triggered
+	// in turn another _read(n) call, in which case reading = true if
+	// it's in progress.
+	// However, if we're not ended, or reading, and the length < hwm,
+	// then go ahead and try to read some more preemptively.
+	function maybeReadMore(stream, state) {
+	  if (!state.readingMore) {
+	    state.readingMore = true;
+	    process.nextTick(function() {
+	      maybeReadMore_(stream, state);
+	    });
+	  }
+	}
+
+	function maybeReadMore_(stream, state) {
+	  var len = state.length;
+	  while (!state.reading && !state.flowing && !state.ended &&
+	         state.length < state.highWaterMark) {
+	    stream.read(0);
+	    if (len === state.length)
+	      // didn't get any data, stop spinning.
+	      break;
+	    else
+	      len = state.length;
+	  }
+	  state.readingMore = false;
+	}
+
+	// abstract method.  to be overridden in specific implementation classes.
+	// call cb(er, data) where data is <= n in length.
+	// for virtual (non-string, non-buffer) streams, "length" is somewhat
+	// arbitrary, and perhaps not very meaningful.
+	Readable.prototype._read = function(n) {
+	  this.emit('error', new Error('not implemented'));
+	};
+
+	Readable.prototype.pipe = function(dest, pipeOpts) {
+	  var src = this;
+	  var state = this._readableState;
+
+	  switch (state.pipesCount) {
+	    case 0:
+	      state.pipes = dest;
+	      break;
+	    case 1:
+	      state.pipes = [state.pipes, dest];
+	      break;
+	    default:
+	      state.pipes.push(dest);
+	      break;
+	  }
+	  state.pipesCount += 1;
+
+	  var doEnd = (!pipeOpts || pipeOpts.end !== false) &&
+	              dest !== process.stdout &&
+	              dest !== process.stderr;
+
+	  var endFn = doEnd ? onend : cleanup;
+	  if (state.endEmitted)
+	    process.nextTick(endFn);
+	  else
+	    src.once('end', endFn);
+
+	  dest.on('unpipe', onunpipe);
+	  function onunpipe(readable) {
+	    if (readable !== src) return;
+	    cleanup();
+	  }
+
+	  function onend() {
+	    dest.end();
+	  }
+
+	  // when the dest drains, it reduces the awaitDrain counter
+	  // on the source.  This would be more elegant with a .once()
+	  // handler in flow(), but adding and removing repeatedly is
+	  // too slow.
+	  var ondrain = pipeOnDrain(src);
+	  dest.on('drain', ondrain);
+
+	  function cleanup() {
+	    // cleanup event handlers once the pipe is broken
+	    dest.removeListener('close', onclose);
+	    dest.removeListener('finish', onfinish);
+	    dest.removeListener('drain', ondrain);
+	    dest.removeListener('error', onerror);
+	    dest.removeListener('unpipe', onunpipe);
+	    src.removeListener('end', onend);
+	    src.removeListener('end', cleanup);
+
+	    // if the reader is waiting for a drain event from this
+	    // specific writer, then it would cause it to never start
+	    // flowing again.
+	    // So, if this is awaiting a drain, then we just call it now.
+	    // If we don't know, then assume that we are waiting for one.
+	    if (!dest._writableState || dest._writableState.needDrain)
+	      ondrain();
+	  }
+
+	  // if the dest has an error, then stop piping into it.
+	  // however, don't suppress the throwing behavior for this.
+	  function onerror(er) {
+	    unpipe();
+	    dest.removeListener('error', onerror);
+	    if (EE.listenerCount(dest, 'error') === 0)
+	      dest.emit('error', er);
+	  }
+	  // This is a brutally ugly hack to make sure that our error handler
+	  // is attached before any userland ones.  NEVER DO THIS.
+	  if (!dest._events || !dest._events.error)
+	    dest.on('error', onerror);
+	  else if (isArray(dest._events.error))
+	    dest._events.error.unshift(onerror);
+	  else
+	    dest._events.error = [onerror, dest._events.error];
+
+
+
+	  // Both close and finish should trigger unpipe, but only once.
+	  function onclose() {
+	    dest.removeListener('finish', onfinish);
+	    unpipe();
+	  }
+	  dest.once('close', onclose);
+	  function onfinish() {
+	    dest.removeListener('close', onclose);
+	    unpipe();
+	  }
+	  dest.once('finish', onfinish);
+
+	  function unpipe() {
+	    src.unpipe(dest);
+	  }
+
+	  // tell the dest that it's being piped to
+	  dest.emit('pipe', src);
+
+	  // start the flow if it hasn't been started already.
+	  if (!state.flowing) {
+	    // the handler that waits for readable events after all
+	    // the data gets sucked out in flow.
+	    // This would be easier to follow with a .once() handler
+	    // in flow(), but that is too slow.
+	    this.on('readable', pipeOnReadable);
+
+	    state.flowing = true;
+	    process.nextTick(function() {
+	      flow(src);
+	    });
+	  }
+
+	  return dest;
+	};
+
+	function pipeOnDrain(src) {
+	  return function() {
+	    var dest = this;
+	    var state = src._readableState;
+	    state.awaitDrain--;
+	    if (state.awaitDrain === 0)
+	      flow(src);
+	  };
+	}
+
+	function flow(src) {
+	  var state = src._readableState;
+	  var chunk;
+	  state.awaitDrain = 0;
+
+	  function write(dest, i, list) {
+	    var written = dest.write(chunk);
+	    if (false === written) {
+	      state.awaitDrain++;
+	    }
+	  }
+
+	  while (state.pipesCount && null !== (chunk = src.read())) {
+
+	    if (state.pipesCount === 1)
+	      write(state.pipes, 0, null);
+	    else
+	      forEach(state.pipes, write);
+
+	    src.emit('data', chunk);
+
+	    // if anyone needs a drain, then we have to wait for that.
+	    if (state.awaitDrain > 0)
+	      return;
+	  }
+
+	  // if every destination was unpiped, either before entering this
+	  // function, or in the while loop, then stop flowing.
+	  //
+	  // NB: This is a pretty rare edge case.
+	  if (state.pipesCount === 0) {
+	    state.flowing = false;
+
+	    // if there were data event listeners added, then switch to old mode.
+	    if (EE.listenerCount(src, 'data') > 0)
+	      emitDataEvents(src);
+	    return;
+	  }
+
+	  // at this point, no one needed a drain, so we just ran out of data
+	  // on the next readable event, start it over again.
+	  state.ranOut = true;
+	}
+
+	function pipeOnReadable() {
+	  if (this._readableState.ranOut) {
+	    this._readableState.ranOut = false;
+	    flow(this);
+	  }
+	}
+
+
+	Readable.prototype.unpipe = function(dest) {
+	  var state = this._readableState;
+
+	  // if we're not piping anywhere, then do nothing.
+	  if (state.pipesCount === 0)
+	    return this;
+
+	  // just one destination.  most common case.
+	  if (state.pipesCount === 1) {
+	    // passed in one, but it's not the right one.
+	    if (dest && dest !== state.pipes)
+	      return this;
+
+	    if (!dest)
+	      dest = state.pipes;
+
+	    // got a match.
+	    state.pipes = null;
+	    state.pipesCount = 0;
+	    this.removeListener('readable', pipeOnReadable);
+	    state.flowing = false;
+	    if (dest)
+	      dest.emit('unpipe', this);
+	    return this;
+	  }
+
+	  // slow case. multiple pipe destinations.
+
+	  if (!dest) {
+	    // remove all.
+	    var dests = state.pipes;
+	    var len = state.pipesCount;
+	    state.pipes = null;
+	    state.pipesCount = 0;
+	    this.removeListener('readable', pipeOnReadable);
+	    state.flowing = false;
+
+	    for (var i = 0; i < len; i++)
+	      dests[i].emit('unpipe', this);
+	    return this;
+	  }
+
+	  // try to find the right one.
+	  var i = indexOf(state.pipes, dest);
+	  if (i === -1)
+	    return this;
+
+	  state.pipes.splice(i, 1);
+	  state.pipesCount -= 1;
+	  if (state.pipesCount === 1)
+	    state.pipes = state.pipes[0];
+
+	  dest.emit('unpipe', this);
+
+	  return this;
+	};
+
+	// set up data events if they are asked for
+	// Ensure readable listeners eventually get something
+	Readable.prototype.on = function(ev, fn) {
+	  var res = Stream.prototype.on.call(this, ev, fn);
+
+	  if (ev === 'data' && !this._readableState.flowing)
+	    emitDataEvents(this);
+
+	  if (ev === 'readable' && this.readable) {
+	    var state = this._readableState;
+	    if (!state.readableListening) {
+	      state.readableListening = true;
+	      state.emittedReadable = false;
+	      state.needReadable = true;
+	      if (!state.reading) {
+	        this.read(0);
+	      } else if (state.length) {
+	        emitReadable(this, state);
+	      }
+	    }
+	  }
+
+	  return res;
+	};
+	Readable.prototype.addListener = Readable.prototype.on;
+
+	// pause() and resume() are remnants of the legacy readable stream API
+	// If the user uses them, then switch into old mode.
+	Readable.prototype.resume = function() {
+	  emitDataEvents(this);
+	  this.read(0);
+	  this.emit('resume');
+	};
+
+	Readable.prototype.pause = function() {
+	  emitDataEvents(this, true);
+	  this.emit('pause');
+	};
+
+	function emitDataEvents(stream, startPaused) {
+	  var state = stream._readableState;
+
+	  if (state.flowing) {
+	    // https://github.com/isaacs/readable-stream/issues/16
+	    throw new Error('Cannot switch to old mode now.');
+	  }
+
+	  var paused = startPaused || false;
+	  var readable = false;
+
+	  // convert to an old-style stream.
+	  stream.readable = true;
+	  stream.pipe = Stream.prototype.pipe;
+	  stream.on = stream.addListener = Stream.prototype.on;
+
+	  stream.on('readable', function() {
+	    readable = true;
+
+	    var c;
+	    while (!paused && (null !== (c = stream.read())))
+	      stream.emit('data', c);
+
+	    if (c === null) {
+	      readable = false;
+	      stream._readableState.needReadable = true;
+	    }
+	  });
+
+	  stream.pause = function() {
+	    paused = true;
+	    this.emit('pause');
+	  };
+
+	  stream.resume = function() {
+	    paused = false;
+	    if (readable)
+	      process.nextTick(function() {
+	        stream.emit('readable');
+	      });
+	    else
+	      this.read(0);
+	    this.emit('resume');
+	  };
+
+	  // now make it start, just in case it hadn't already.
+	  stream.emit('readable');
+	}
+
+	// wrap an old-style stream as the async data source.
+	// This is *not* part of the readable stream interface.
+	// It is an ugly unfortunate mess of history.
+	Readable.prototype.wrap = function(stream) {
+	  var state = this._readableState;
+	  var paused = false;
+
+	  var self = this;
+	  stream.on('end', function() {
+	    if (state.decoder && !state.ended) {
+	      var chunk = state.decoder.end();
+	      if (chunk && chunk.length)
+	        self.push(chunk);
+	    }
+
+	    self.push(null);
+	  });
+
+	  stream.on('data', function(chunk) {
+	    if (state.decoder)
+	      chunk = state.decoder.write(chunk);
+
+	    // don't skip over falsy values in objectMode
+	    //if (state.objectMode && util.isNullOrUndefined(chunk))
+	    if (state.objectMode && (chunk === null || chunk === undefined))
+	      return;
+	    else if (!state.objectMode && (!chunk || !chunk.length))
+	      return;
+
+	    var ret = self.push(chunk);
+	    if (!ret) {
+	      paused = true;
+	      stream.pause();
+	    }
+	  });
+
+	  // proxy all the other methods.
+	  // important when wrapping filters and duplexes.
+	  for (var i in stream) {
+	    if (typeof stream[i] === 'function' &&
+	        typeof this[i] === 'undefined') {
+	      this[i] = function(method) { return function() {
+	        return stream[method].apply(stream, arguments);
+	      }}(i);
+	    }
+	  }
+
+	  // proxy certain important events.
+	  var events = ['error', 'close', 'destroy', 'pause', 'resume'];
+	  forEach(events, function(ev) {
+	    stream.on(ev, self.emit.bind(self, ev));
+	  });
+
+	  // when we try to consume some more bytes, simply unpause the
+	  // underlying stream.
+	  self._read = function(n) {
+	    if (paused) {
+	      paused = false;
+	      stream.resume();
+	    }
+	  };
+
+	  return self;
+	};
+
+
+
+	// exposed for testing purposes only.
+	Readable._fromList = fromList;
+
+	// Pluck off n bytes from an array of buffers.
+	// Length is the combined lengths of all the buffers in the list.
+	function fromList(n, state) {
+	  var list = state.buffer;
+	  var length = state.length;
+	  var stringMode = !!state.decoder;
+	  var objectMode = !!state.objectMode;
+	  var ret;
+
+	  // nothing in the list, definitely empty.
+	  if (list.length === 0)
+	    return null;
+
+	  if (length === 0)
+	    ret = null;
+	  else if (objectMode)
+	    ret = list.shift();
+	  else if (!n || n >= length) {
+	    // read it all, truncate the array.
+	    if (stringMode)
+	      ret = list.join('');
+	    else
+	      ret = Buffer.concat(list, length);
+	    list.length = 0;
+	  } else {
+	    // read just some of it.
+	    if (n < list[0].length) {
+	      // just take a part of the first list item.
+	      // slice is the same for buffers and strings.
+	      var buf = list[0];
+	      ret = buf.slice(0, n);
+	      list[0] = buf.slice(n);
+	    } else if (n === list[0].length) {
+	      // first list is a perfect match
+	      ret = list.shift();
+	    } else {
+	      // complex case.
+	      // we have enough to cover it, but it spans past the first buffer.
+	      if (stringMode)
+	        ret = '';
+	      else
+	        ret = new Buffer(n);
+
+	      var c = 0;
+	      for (var i = 0, l = list.length; i < l && c < n; i++) {
+	        var buf = list[0];
+	        var cpy = Math.min(n - c, buf.length);
+
+	        if (stringMode)
+	          ret += buf.slice(0, cpy);
+	        else
+	          buf.copy(ret, c, 0, cpy);
+
+	        if (cpy < buf.length)
+	          list[0] = buf.slice(cpy);
+	        else
+	          list.shift();
+
+	        c += cpy;
+	      }
+	    }
+	  }
+
+	  return ret;
+	}
+
+	function endReadable(stream) {
+	  var state = stream._readableState;
+
+	  // If we get here before consuming all the bytes, then that is a
+	  // bug in node.  Should never happen.
+	  if (state.length > 0)
+	    throw new Error('endReadable called on non-empty stream');
+
+	  if (!state.endEmitted && state.calledRead) {
+	    state.ended = true;
+	    process.nextTick(function() {
+	      // Check that we didn't get one last unshift.
+	      if (!state.endEmitted && state.length === 0) {
+	        state.endEmitted = true;
+	        stream.readable = false;
+	        stream.emit('end');
+	      }
+	    });
+	  }
+	}
+
+	function forEach (xs, f) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    f(xs[i], i);
+	  }
+	}
+
+	function indexOf (xs, x) {
+	  for (var i = 0, l = xs.length; i < l; i++) {
+	    if (xs[i] === x) return i;
+	  }
+	  return -1;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 161 */
+/***/ function(module, exports) {
+
+	module.exports = Array.isArray || function (arr) {
+	  return Object.prototype.toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 162 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a
+	// copy of this software and associated documentation files (the
+	// "Software"), to deal in the Software without restriction, including
+	// without limitation the rights to use, copy, modify, merge, publish,
+	// distribute, sublicense, and/or sell copies of the Software, and to permit
+	// persons to whom the Software is furnished to do so, subject to the
+	// following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included
+	// in all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+	// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+	// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+	// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+	// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+	// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+	// USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// A bit simpler than readable streams.
+	// Implement an async ._write(chunk, cb), and it'll handle all
+	// the drain event emission and buffering.
+
+	module.exports = Writable;
+
+	/*<replacement>*/
+	var Buffer = __webpack_require__(2).Buffer;
+	/*</replacement>*/
+
+	Writable.WritableState = WritableState;
+
+
+	/*<replacement>*/
+	var util = __webpack_require__(56);
+	util.inherits = __webpack_require__(50);
+	/*</replacement>*/
+
+	var Stream = __webpack_require__(52);
+
+	util.inherits(Writable, Stream);
+
+	function WriteReq(chunk, encoding, cb) {
+	  this.chunk = chunk;
+	  this.encoding = encoding;
+	  this.callback = cb;
+	}
+
+	function WritableState(options, stream) {
+	  options = options || {};
+
+	  // the point at which write() starts returning false
+	  // Note: 0 is a valid value, means that we always return false if
+	  // the entire buffer is not flushed immediately on write()
+	  var hwm = options.highWaterMark;
+	  this.highWaterMark = (hwm || hwm === 0) ? hwm : 16 * 1024;
+
+	  // object stream flag to indicate whether or not this stream
+	  // contains buffers or objects.
+	  this.objectMode = !!options.objectMode;
+
+	  // cast to ints.
+	  this.highWaterMark = ~~this.highWaterMark;
+
+	  this.needDrain = false;
+	  // at the start of calling end()
+	  this.ending = false;
+	  // when end() has been called, and returned
+	  this.ended = false;
+	  // when 'finish' is emitted
+	  this.finished = false;
+
+	  // should we decode strings into buffers before passing to _write?
+	  // this is here so that some node-core streams can optimize string
+	  // handling at a lower level.
+	  var noDecode = options.decodeStrings === false;
+	  this.decodeStrings = !noDecode;
+
+	  // Crypto is kind of old and crusty.  Historically, its default string
+	  // encoding is 'binary' so we have to make this configurable.
+	  // Everything else in the universe uses 'utf8', though.
+	  this.defaultEncoding = options.defaultEncoding || 'utf8';
+
+	  // not an actual buffer we keep track of, but a measurement
+	  // of how much we're waiting to get pushed to some underlying
+	  // socket or file.
+	  this.length = 0;
+
+	  // a flag to see when we're in the middle of a write.
+	  this.writing = false;
+
+	  // a flag to be able to tell if the onwrite cb is called immediately,
+	  // or on a later tick.  We set this to true at first, becuase any
+	  // actions that shouldn't happen until "later" should generally also
+	  // not happen before the first write call.
+	  this.sync = true;
+
+	  // a flag to know if we're processing previously buffered items, which
+	  // may call the _write() callback in the same tick, so that we don't
+	  // end up in an overlapped onwrite situation.
+	  this.bufferProcessing = false;
+
+	  // the callback that's passed to _write(chunk,cb)
+	  this.onwrite = function(er) {
+	    onwrite(stream, er);
+	  };
+
+	  // the callback that the user supplies to write(chunk,encoding,cb)
+	  this.writecb = null;
+
+	  // the amount that is being written when _write is called.
+	  this.writelen = 0;
+
+	  this.buffer = [];
+
+	  // True if the error was already emitted and should not be thrown again
+	  this.errorEmitted = false;
+	}
+
+	function Writable(options) {
+	  var Duplex = __webpack_require__(159);
+
+	  // Writable ctor is applied to Duplexes, though they're not
+	  // instanceof Writable, they're instanceof Readable.
+	  if (!(this instanceof Writable) && !(this instanceof Duplex))
+	    return new Writable(options);
+
+	  this._writableState = new WritableState(options, this);
+
+	  // legacy.
+	  this.writable = true;
+
+	  Stream.call(this);
+	}
+
+	// Otherwise people can pipe Writable streams, which is just wrong.
+	Writable.prototype.pipe = function() {
+	  this.emit('error', new Error('Cannot pipe. Not readable.'));
+	};
+
+
+	function writeAfterEnd(stream, state, cb) {
+	  var er = new Error('write after end');
+	  // TODO: defer error events consistently everywhere, not just the cb
+	  stream.emit('error', er);
+	  process.nextTick(function() {
+	    cb(er);
+	  });
+	}
+
+	// If we get something that is not a buffer, string, null, or undefined,
+	// and we're not in objectMode, then that's an error.
+	// Otherwise stream chunks are all considered to be of length=1, and the
+	// watermarks determine how many objects to keep in the buffer, rather than
+	// how many bytes or characters.
+	function validChunk(stream, state, chunk, cb) {
+	  var valid = true;
+	  if (!Buffer.isBuffer(chunk) &&
+	      'string' !== typeof chunk &&
+	      chunk !== null &&
+	      chunk !== undefined &&
+	      !state.objectMode) {
+	    var er = new TypeError('Invalid non-string/buffer chunk');
+	    stream.emit('error', er);
+	    process.nextTick(function() {
+	      cb(er);
+	    });
+	    valid = false;
+	  }
+	  return valid;
+	}
+
+	Writable.prototype.write = function(chunk, encoding, cb) {
+	  var state = this._writableState;
+	  var ret = false;
+
+	  if (typeof encoding === 'function') {
+	    cb = encoding;
+	    encoding = null;
+	  }
+
+	  if (Buffer.isBuffer(chunk))
+	    encoding = 'buffer';
+	  else if (!encoding)
+	    encoding = state.defaultEncoding;
+
+	  if (typeof cb !== 'function')
+	    cb = function() {};
+
+	  if (state.ended)
+	    writeAfterEnd(this, state, cb);
+	  else if (validChunk(this, state, chunk, cb))
+	    ret = writeOrBuffer(this, state, chunk, encoding, cb);
+
+	  return ret;
+	};
+
+	function decodeChunk(state, chunk, encoding) {
+	  if (!state.objectMode &&
+	      state.decodeStrings !== false &&
+	      typeof chunk === 'string') {
+	    chunk = new Buffer(chunk, encoding);
+	  }
+	  return chunk;
+	}
+
+	// if we're already writing something, then just put this
+	// in the queue, and wait our turn.  Otherwise, call _write
+	// If we return false, then we need a drain event, so set that flag.
+	function writeOrBuffer(stream, state, chunk, encoding, cb) {
+	  chunk = decodeChunk(state, chunk, encoding);
+	  if (Buffer.isBuffer(chunk))
+	    encoding = 'buffer';
+	  var len = state.objectMode ? 1 : chunk.length;
+
+	  state.length += len;
+
+	  var ret = state.length < state.highWaterMark;
+	  // we must ensure that previous needDrain will not be reset to false.
+	  if (!ret)
+	    state.needDrain = true;
+
+	  if (state.writing)
+	    state.buffer.push(new WriteReq(chunk, encoding, cb));
+	  else
+	    doWrite(stream, state, len, chunk, encoding, cb);
+
+	  return ret;
+	}
+
+	function doWrite(stream, state, len, chunk, encoding, cb) {
+	  state.writelen = len;
+	  state.writecb = cb;
+	  state.writing = true;
+	  state.sync = true;
+	  stream._write(chunk, encoding, state.onwrite);
+	  state.sync = false;
+	}
+
+	function onwriteError(stream, state, sync, er, cb) {
+	  if (sync)
+	    process.nextTick(function() {
+	      cb(er);
+	    });
+	  else
+	    cb(er);
+
+	  stream._writableState.errorEmitted = true;
+	  stream.emit('error', er);
+	}
+
+	function onwriteStateUpdate(state) {
+	  state.writing = false;
+	  state.writecb = null;
+	  state.length -= state.writelen;
+	  state.writelen = 0;
+	}
+
+	function onwrite(stream, er) {
+	  var state = stream._writableState;
+	  var sync = state.sync;
+	  var cb = state.writecb;
+
+	  onwriteStateUpdate(state);
+
+	  if (er)
+	    onwriteError(stream, state, sync, er, cb);
+	  else {
+	    // Check if we're actually ready to finish, but don't emit yet
+	    var finished = needFinish(stream, state);
+
+	    if (!finished && !state.bufferProcessing && state.buffer.length)
+	      clearBuffer(stream, state);
+
+	    if (sync) {
+	      process.nextTick(function() {
+	        afterWrite(stream, state, finished, cb);
+	      });
+	    } else {
+	      afterWrite(stream, state, finished, cb);
+	    }
+	  }
+	}
+
+	function afterWrite(stream, state, finished, cb) {
+	  if (!finished)
+	    onwriteDrain(stream, state);
+	  cb();
+	  if (finished)
+	    finishMaybe(stream, state);
+	}
+
+	// Must force callback to be called on nextTick, so that we don't
+	// emit 'drain' before the write() consumer gets the 'false' return
+	// value, and has a chance to attach a 'drain' listener.
+	function onwriteDrain(stream, state) {
+	  if (state.length === 0 && state.needDrain) {
+	    state.needDrain = false;
+	    stream.emit('drain');
+	  }
+	}
+
+
+	// if there's something in the buffer waiting, then process it
+	function clearBuffer(stream, state) {
+	  state.bufferProcessing = true;
+
+	  for (var c = 0; c < state.buffer.length; c++) {
+	    var entry = state.buffer[c];
+	    var chunk = entry.chunk;
+	    var encoding = entry.encoding;
+	    var cb = entry.callback;
+	    var len = state.objectMode ? 1 : chunk.length;
+
+	    doWrite(stream, state, len, chunk, encoding, cb);
+
+	    // if we didn't call the onwrite immediately, then
+	    // it means that we need to wait until it does.
+	    // also, that means that the chunk and cb are currently
+	    // being processed, so move the buffer counter past them.
+	    if (state.writing) {
+	      c++;
+	      break;
+	    }
+	  }
+
+	  state.bufferProcessing = false;
+	  if (c < state.buffer.length)
+	    state.buffer = state.buffer.slice(c);
+	  else
+	    state.buffer.length = 0;
+	}
+
+	Writable.prototype._write = function(chunk, encoding, cb) {
+	  cb(new Error('not implemented'));
+	};
+
+	Writable.prototype.end = function(chunk, encoding, cb) {
+	  var state = this._writableState;
+
+	  if (typeof chunk === 'function') {
+	    cb = chunk;
+	    chunk = null;
+	    encoding = null;
+	  } else if (typeof encoding === 'function') {
+	    cb = encoding;
+	    encoding = null;
+	  }
+
+	  if (typeof chunk !== 'undefined' && chunk !== null)
+	    this.write(chunk, encoding);
+
+	  // ignore unnecessary end() calls.
+	  if (!state.ending && !state.finished)
+	    endWritable(this, state, cb);
+	};
+
+
+	function needFinish(stream, state) {
+	  return (state.ending &&
+	          state.length === 0 &&
+	          !state.finished &&
+	          !state.writing);
+	}
+
+	function finishMaybe(stream, state) {
+	  var need = needFinish(stream, state);
+	  if (need) {
+	    state.finished = true;
+	    stream.emit('finish');
+	  }
+	  return need;
+	}
+
+	function endWritable(stream, state, cb) {
+	  state.ending = true;
+	  finishMaybe(stream, state);
+	  if (cb) {
+	    if (state.finished)
+	      process.nextTick(cb);
+	    else
+	      stream.once('finish', cb);
+	  }
+	  state.ended = true;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 163 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return argCommand(send, 'ls')
+	}
+
+
+/***/ },
+/* 164 */
+/***/ function(module, exports) {
+
+	'use strict'
+
+	module.exports = (send) => {
+	  return function mount (ipfs, ipns, cb) {
+	    if (typeof ipfs === 'function') {
+	      cb = ipfs
+	      ipfs = null
+	    } else if (typeof ipns === 'function') {
+	      cb = ipns
+	      ipns = null
+	    }
+	    const opts = {}
+	    if (ipfs) opts.f = ipfs
+	    if (ipns) opts.n = ipns
+	    return send('mount', null, opts, null, cb)
+	  }
+	}
+
+
+/***/ },
+/* 165 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return {
+	    publish: argCommand(send, 'name/publish'),
+	    resolve: argCommand(send, 'name/resolve')
+	  }
+	}
+
+
+/***/ },
+/* 166 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const argCommand = __webpack_require__(138).argCommand
+
+	module.exports = (send) => {
+	  return {
+	    get: argCommand(send, 'object/get'),
+	    put (file, encoding, cb) {
+	      if (typeof encoding === 'function') {
+	        return cb(null, new Error("Must specify an object encoding ('json' or 'protobuf')"))
+	      }
+	      return send('object/put', encoding, null, file, cb)
+	    },
+	    data: argCommand(send, 'object/data'),
+	    links: argCommand(send, 'object/links'),
+	    stat: argCommand(send, 'object/stat'),
+	    new: argCommand(send, 'object/new'),
+	    patch: {
+	      rmLink: (root, link, cb) => {
+	        return send('object/patch/rm-link', [root, link], null, null, cb)
+	      },
+	      setData: (root, data, cb) => {
+	        return send('object/patch/set-data', [root], null, data, cb)
+	      },
+	      appendData: (root, data, cb) => {
+	        return send('object/patch/append-data', [root], null, data, cb)
+	      },
+	      addLink: (root, name, ref, cb) => {
+	        return send('object/patch/add-link', [root, name, ref], null, null, cb)
+	      }
+	    }
+	  }
+	}
+
+
+/***/ },
+/* 167 */
+/***/ function(module, exports) {
+
+	'use strict'
+
+	module.exports = (send) => {
+	  return {
+	    add (hash, opts, cb) {
+	      if (typeof opts === 'function') {
+	        cb = opts
+	        opts = null
+	      }
+
+	      return send('pin/add', hash, opts, null, cb)
+	    },
+	    remove (hash, opts, cb) {
+	      if (typeof opts === 'function') {
+	        cb = opts
+	        opts = null
+	      }
+
+	      return send('pin/rm', hash, opts, null, cb)
+	    },
+	    list (type, cb) {
+	      if (typeof type === 'function') {
+	        cb = type
+	        type = null
+	      }
+	      let opts = null
+	      let hash = null
+	      if (typeof type === 'string') {
+	        opts = { type: type }
+	      } else if (type && type.hash) {
+	        hash = type.hash
+	        type.hash = null
+	        opts = type
+	      }
+
+	      return send('pin/ls', hash, opts, null, cb)
+	    }
+	  }
+	}
+
+
+/***/ },
+/* 168 */
+/***/ function(module, exports) {
+
+	'use strict'
+
+	module.exports = (send) => {
+	  return function ping (id, cb) {
+	    if (typeof cb !== 'function' && typeof Promise !== 'undefined') {
+	      return send('ping', id, {n: 1}, null)
+	        .then((res) => res[1])
+	    }
+
+	    return send('ping', id, { n: 1 }, null, function (err, res) {
+	      if (err) return cb(err, null)
+	      cb(null, res[1])
+	    })
+	  }
+	}
+
+
+/***/ },
+/* 169 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const cmds = __webpack_require__(138)
+
+	module.exports = (send) => {
+	  const refs = cmds.argCommand(send, 'refs')
+	  refs.local = cmds.command(send, 'refs/local')
+
+	  return refs
+	}
+
+
+/***/ },
+/* 170 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const cmds = __webpack_require__(138)
+
+	module.exports = (send) => {
+	  return {
+	    peers: cmds.command(send, 'swarm/peers'),
+	    connect: cmds.argCommand(send, 'swarm/connect')
+	  }
+	}
+
+
+/***/ },
+/* 171 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const command = __webpack_require__(138).command
+
+	module.exports = (send) => {
+	  return {
+	    apply: command(send, 'update'),
+	    check: command(send, 'update/check'),
+	    log: command(send, 'update/log')
+	  }
+	}
+
+
+/***/ },
+/* 172 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const command = __webpack_require__(138).command
+
+	module.exports = (send) => {
+	  return command(send, 'version')
+	}
+
+
+/***/ },
+/* 173 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const pkg = __webpack_require__(174)
+
+	exports = module.exports = () => {
+	  return {
+	    'api-path': '/api/v0/',
+	    'user-agent': `/node-${pkg.name}/${pkg.version}/`,
+	    'host': 'localhost',
+	    'port': '5001',
+	    'protocol': 'http'
+	  }
+	}
+
+
+/***/ },
+/* 174 */
+/***/ function(module, exports) {
+
+	module.exports = {
+		"_args": [
+			[
+				"ipfs-api@^3.0.0",
+				"/Users/samuli/code/orbit-db/node_modules/ipfsd-ctl"
+			]
+		],
+		"_from": "ipfs-api@>=3.0.0 <4.0.0",
+		"_id": "ipfs-api@3.0.0",
+		"_inCache": true,
+		"_installable": true,
+		"_location": "/ipfs-api",
+		"_nodeVersion": "4.4.0",
+		"_npmOperationalInternal": {
+			"host": "packages-12-west.internal.npmjs.com",
+			"tmp": "tmp/ipfs-api-3.0.0.tgz_1460086425062_0.32188737648539245"
+		},
+		"_npmUser": {
+			"email": "daviddias.p@gmail.com",
+			"name": "daviddias"
+		},
+		"_npmVersion": "3.8.3",
+		"_phantomChildren": {},
+		"_requested": {
+			"name": "ipfs-api",
+			"raw": "ipfs-api@^3.0.0",
+			"rawSpec": "^3.0.0",
+			"scope": null,
+			"spec": ">=3.0.0 <4.0.0",
+			"type": "range"
+		},
+		"_requiredBy": [
+			"#DEV:/",
+			"/ipfsd-ctl"
+		],
+		"_resolved": "https://registry.npmjs.org/ipfs-api/-/ipfs-api-3.0.0.tgz",
+		"_shasum": "1c8adfe4e429cfe551b1860b3a35460686c1a8ec",
+		"_shrinkwrap": null,
+		"_spec": "ipfs-api@^3.0.0",
+		"_where": "/Users/samuli/code/orbit-db/node_modules/ipfsd-ctl",
+		"author": {
+			"email": "mappum@gmail.com",
+			"name": "Matt Bell"
+		},
+		"bugs": {
+			"url": "https://github.com/ipfs/js-ipfs-api/issues"
+		},
+		"contributors": [
+			{
+				"email": "travis.person@gmail.com",
+				"name": "Travis Person"
+			},
+			{
+				"email": "why@ipfs.io",
+				"name": "Jeromy Jonson"
+			},
+			{
+				"email": "daviddias@ipfs.io",
+				"name": "David Dias"
+			},
+			{
+				"email": "juanbenet@ipfs.io",
+				"name": "Juan Benet"
+			},
+			{
+				"email": "dignifiedquire@gmail.com",
+				"name": "Friedel Ziegelmayer"
+			}
+		],
+		"dependencies": {
+			"detect-node": "^2.0.3",
+			"flatmap": "0.0.3",
+			"glob": "^7.0.3",
+			"multiaddr": "^1.0.0",
+			"multipart-stream": "^2.0.1",
+			"ndjson": "^1.4.3",
+			"qs": "^6.0.0",
+			"wreck": "^7.0.0"
+		},
+		"description": "A client library for the IPFS API",
+		"devDependencies": {
+			"babel-core": "^6.1.21",
+			"babel-eslint": "^6.0.0-beta.5",
+			"babel-loader": "^6.2.0",
+			"babel-plugin-transform-runtime": "^6.1.18",
+			"babel-preset-es2015": "^6.0.15",
+			"babel-runtime": "^6.3.19",
+			"chai": "^3.4.1",
+			"concurrently": "^2.0.0",
+			"eslint": "2.2.0",
+			"eslint-config-standard": "^5.1.0",
+			"eslint-plugin-promise": "^1.0.8",
+			"eslint-plugin-standard": "^1.3.1",
+			"glob-stream": "5.3.2",
+			"gulp": "^3.9.0",
+			"gulp-bump": "^2.0.1",
+			"gulp-eslint": "^2.0.0-rc-3",
+			"gulp-filter": "^4.0.0",
+			"gulp-git": "^1.6.0",
+			"gulp-load-plugins": "^1.0.0",
+			"gulp-mocha": "^2.1.3",
+			"gulp-size": "^2.0.0",
+			"gulp-tag-version": "^1.3.0",
+			"gulp-util": "^3.0.7",
+			"https-browserify": "0.0.1",
+			"ipfsd-ctl": "^0.9.1",
+			"json-loader": "^0.5.3",
+			"karma": "^0.13.11",
+			"karma-chrome-launcher": "^0.2.1",
+			"karma-firefox-launcher": "^0.1.7",
+			"karma-mocha": "^0.2.0",
+			"karma-mocha-reporter": "^2.0.0",
+			"karma-sauce-launcher": "^0.3.0",
+			"karma-webpack": "^1.7.0",
+			"mocha": "^2.3.3",
+			"pre-commit": "^1.0.6",
+			"raw-loader": "^0.5.1",
+			"rimraf": "^2.4.5",
+			"run-sequence": "^1.1.4",
+			"semver": "^5.1.0",
+			"stream-equal": "^0.1.7",
+			"stream-http": "^2.1.0",
+			"uglify-js": "^2.4.24",
+			"webpack-stream": "^3.1.0"
+		},
+		"directories": {},
+		"dist": {
+			"shasum": "1c8adfe4e429cfe551b1860b3a35460686c1a8ec",
+			"tarball": "https://registry.npmjs.org/ipfs-api/-/ipfs-api-3.0.0.tgz"
+		},
+		"engines": {
+			"node": ">=4.2.2"
+		},
+		"gitHead": "cab31c558d0e3fa025f3d0db76238ed22fe4a672",
+		"homepage": "https://github.com/ipfs/js-ipfs-api",
+		"keywords": [
+			"ipfs"
+		],
+		"license": "MIT",
+		"main": "src/index.js",
+		"maintainers": [
+			{
+				"email": "mappum@gmail.com",
+				"name": "mappum"
+			},
+			{
+				"email": "juan@benet.ai",
+				"name": "jbenet"
+			},
+			{
+				"email": "travis.person@gmail.com",
+				"name": "tperson"
+			},
+			{
+				"email": "kristoffer@rymdkoloni.se",
+				"name": "krlkrl"
+			},
+			{
+				"email": "daviddias.p@gmail.com",
+				"name": "daviddias"
+			}
+		],
+		"name": "ipfs-api",
+		"optionalDependencies": {},
+		"pre-commit": [
+			"lint",
+			"test"
+		],
+		"readme": "ERROR: No README data found!",
+		"repository": {
+			"type": "git",
+			"url": "git+https://github.com/ipfs/js-ipfs-api.git"
+		},
+		"scripts": {
+			"build": "gulp build",
+			"lint": "gulp lint",
+			"test": "gulp test",
+			"test:browser": "gulp test:browser",
+			"test:node": "gulp test:node"
+		},
+		"version": "3.0.0"
+	};
+
+/***/ },
+/* 175 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const Wreck = __webpack_require__(26)
+	const Qs = __webpack_require__(176)
+	const ndjson = __webpack_require__(147)
+	const getFilesStream = __webpack_require__(180)
+
+	const isNode = __webpack_require__(181)
+
+	// -- Internal
+
+	function parseChunkedJson (res, cb) {
+	  const parsed = []
+	  res
+	    .pipe(ndjson.parse())
+	    .on('data', parsed.push.bind(parsed))
+	    .on('end', () => cb(null, parsed))
+	}
+
+	function onRes (buffer, cb) {
+	  return (err, res) => {
+	    if (err) {
+	      return cb(err)
+	    }
+
+	    const stream = !!res.headers['x-stream-output']
+	    const chunkedObjects = !!res.headers['x-chunked-output']
+	    const isJson = res.headers['content-type'] && res.headers['content-type'].indexOf('application/json') === 0
+
+	    if (res.statusCode >= 400 || !res.statusCode) {
+	      const error = new Error(`Server responded with ${res.statusCode}`)
+
+	      return Wreck.read(res, {json: true}, (err, payload) => {
+	        if (err) {
+	          return cb(err)
+	        }
+	        if (payload) {
+	          error.code = payload.Code
+	          error.message = payload.Message || payload.toString()
+	        }
+	        cb(error)
+	      })
+	    }
+
+	    if (stream && !buffer) return cb(null, res)
+
+	    if (chunkedObjects) {
+	      if (isJson) return parseChunkedJson(res, cb)
+
+	      return Wreck.read(res, null, cb)
+	    }
+
+	    Wreck.read(res, {json: isJson}, cb)
+	  }
+	}
+
+	function requestAPI (config, path, args, qs, files, buffer, cb) {
+	  qs = qs || {}
+	  if (Array.isArray(path)) path = path.join('/')
+	  if (args && !Array.isArray(args)) args = [args]
+	  if (args) qs.arg = args
+	  if (files && !Array.isArray(files)) files = [files]
+
+	  if (qs.r) {
+	    qs.recursive = qs.r
+	    delete qs.r // From IPFS 0.4.0, it throw an error when both r and recursive are passed
+	  }
+
+	  if (!isNode && qs.recursive && path === 'add') {
+	    return cb(new Error('Recursive uploads are not supported in the browser'))
+	  }
+
+	  qs['stream-channels'] = true
+
+	  let stream
+	  if (files) {
+	    stream = getFilesStream(files, qs)
+	  }
+
+	  // this option is only used internally, not passed to daemon
+	  delete qs.followSymlinks
+
+	  const port = config.port ? `:${config.port}` : ''
+
+	  const opts = {
+	    method: files ? 'POST' : 'GET',
+	    uri: `${config.protocol}://${config.host}${port}${config['api-path']}${path}?${Qs.stringify(qs, {arrayFormat: 'repeat'})}`,
+	    headers: {}
+	  }
+
+	  if (isNode) {
+	    // Browsers do not allow you to modify the user agent
+	    opts.headers['User-Agent'] = config['user-agent']
+	  }
+
+	  if (files) {
+	    if (!stream.boundary) {
+	      return cb(new Error('No boundary in multipart stream'))
+	    }
+
+	    opts.headers['Content-Type'] = `multipart/form-data; boundary=${stream.boundary}`
+	    opts.downstreamRes = stream
+	    opts.payload = stream
+	  }
+
+	  return Wreck.request(opts.method, opts.uri, opts, onRes(buffer, cb))
+	}
+
+	// -- Interface
+
+	exports = module.exports = function getRequestAPI (config) {
+	  return function (path, args, qs, files, buffer, cb) {
+	    if (typeof buffer === 'function') {
+	      cb = buffer
+	      buffer = false
+	    }
+
+	    if (typeof cb !== 'function' && typeof Promise !== 'undefined') {
+	      return new Promise(function (resolve, reject) {
+	        requestAPI(config, path, args, qs, files, buffer, function (err, res) {
+	          if (err) return reject(err)
+	          resolve(res)
+	        })
+	      })
+	    }
+
+	    return requestAPI(config, path, args, qs, files, buffer, cb)
+	  }
+	}
+
+
+/***/ },
+/* 176 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var Stringify = __webpack_require__(177);
+	var Parse = __webpack_require__(179);
+
+	module.exports = {
+	    stringify: Stringify,
+	    parse: Parse
+	};
+
+/***/ },
+/* 177 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _typeof2 = __webpack_require__(91);
+
+	var _typeof3 = _interopRequireDefault(_typeof2);
+
+	var _keys = __webpack_require__(29);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Utils = __webpack_require__(178);
+
+	var internals = {
+	    delimiter: '&',
+	    arrayPrefixGenerators: {
+	        brackets: function brackets(prefix) {
+	            return prefix + '[]';
+	        },
+	        indices: function indices(prefix, key) {
+	            return prefix + '[' + key + ']';
+	        },
+	        repeat: function repeat(prefix) {
+	            return prefix;
+	        }
+	    },
+	    strictNullHandling: false,
+	    skipNulls: false,
+	    encode: true
+	};
+
+	internals.stringify = function (object, prefix, generateArrayPrefix, strictNullHandling, skipNulls, encode, filter, sort, allowDots) {
+	    var obj = object;
+	    if (typeof filter === 'function') {
+	        obj = filter(prefix, obj);
+	    } else if (Utils.isBuffer(obj)) {
+	        obj = String(obj);
+	    } else if (obj instanceof Date) {
+	        obj = obj.toISOString();
+	    } else if (obj === null) {
+	        if (strictNullHandling) {
+	            return encode ? Utils.encode(prefix) : prefix;
+	        }
+
+	        obj = '';
+	    }
+
+	    if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean') {
+	        if (encode) {
+	            return [Utils.encode(prefix) + '=' + Utils.encode(obj)];
+	        }
+	        return [prefix + '=' + obj];
+	    }
+
+	    var values = [];
+
+	    if (typeof obj === 'undefined') {
+	        return values;
+	    }
+
+	    var objKeys;
+	    if (Array.isArray(filter)) {
+	        objKeys = filter;
+	    } else {
+	        var keys = (0, _keys2.default)(obj);
+	        objKeys = sort ? keys.sort(sort) : keys;
+	    }
+
+	    for (var i = 0; i < objKeys.length; ++i) {
+	        var key = objKeys[i];
+
+	        if (skipNulls && obj[key] === null) {
+	            continue;
+	        }
+
+	        if (Array.isArray(obj)) {
+	            values = values.concat(internals.stringify(obj[key], generateArrayPrefix(prefix, key), generateArrayPrefix, strictNullHandling, skipNulls, encode, filter, sort, allowDots));
+	        } else {
+	            values = values.concat(internals.stringify(obj[key], prefix + (allowDots ? '.' + key : '[' + key + ']'), generateArrayPrefix, strictNullHandling, skipNulls, encode, filter, sort, allowDots));
+	        }
+	    }
+
+	    return values;
+	};
+
+	module.exports = function (object, opts) {
+	    var obj = object;
+	    var options = opts || {};
+	    var delimiter = typeof options.delimiter === 'undefined' ? internals.delimiter : options.delimiter;
+	    var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : internals.strictNullHandling;
+	    var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : internals.skipNulls;
+	    var encode = typeof options.encode === 'boolean' ? options.encode : internals.encode;
+	    var sort = typeof options.sort === 'function' ? options.sort : null;
+	    var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;
+	    var objKeys;
+	    var filter;
+	    if (typeof options.filter === 'function') {
+	        filter = options.filter;
+	        obj = filter('', obj);
+	    } else if (Array.isArray(options.filter)) {
+	        objKeys = filter = options.filter;
+	    }
+
+	    var keys = [];
+
+	    if ((typeof obj === 'undefined' ? 'undefined' : (0, _typeof3.default)(obj)) !== 'object' || obj === null) {
+	        return '';
+	    }
+
+	    var arrayFormat;
+	    if (options.arrayFormat in internals.arrayPrefixGenerators) {
+	        arrayFormat = options.arrayFormat;
+	    } else if ('indices' in options) {
+	        arrayFormat = options.indices ? 'indices' : 'repeat';
+	    } else {
+	        arrayFormat = 'indices';
+	    }
+
+	    var generateArrayPrefix = internals.arrayPrefixGenerators[arrayFormat];
+
+	    if (!objKeys) {
+	        objKeys = (0, _keys2.default)(obj);
+	    }
+
+	    if (sort) {
+	        objKeys.sort(sort);
+	    }
+
+	    for (var i = 0; i < objKeys.length; ++i) {
+	        var key = objKeys[i];
+
+	        if (skipNulls && obj[key] === null) {
+	            continue;
+	        }
+
+	        keys = keys.concat(internals.stringify(obj[key], key, generateArrayPrefix, strictNullHandling, skipNulls, encode, filter, sort, allowDots));
+	    }
+
+	    return keys.join(delimiter);
+	};
+
+/***/ },
+/* 178 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _keys = __webpack_require__(29);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	var _typeof2 = __webpack_require__(91);
+
+	var _typeof3 = _interopRequireDefault(_typeof2);
+
+	var _create = __webpack_require__(86);
+
+	var _create2 = _interopRequireDefault(_create);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var hexTable = function () {
+	    var array = new Array(256);
+	    for (var i = 0; i < 256; ++i) {
+	        array[i] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
+	    }
+
+	    return array;
+	}();
+
+	exports.arrayToObject = function (source, options) {
+	    var obj = options.plainObjects ? (0, _create2.default)(null) : {};
+	    for (var i = 0; i < source.length; ++i) {
+	        if (typeof source[i] !== 'undefined') {
+	            obj[i] = source[i];
+	        }
+	    }
+
+	    return obj;
+	};
+
+	exports.merge = function (target, source, options) {
+	    if (!source) {
+	        return target;
+	    }
+
+	    if ((typeof source === 'undefined' ? 'undefined' : (0, _typeof3.default)(source)) !== 'object') {
+	        if (Array.isArray(target)) {
+	            target.push(source);
+	        } else if ((typeof target === 'undefined' ? 'undefined' : (0, _typeof3.default)(target)) === 'object') {
+	            target[source] = true;
+	        } else {
+	            return [target, source];
+	        }
+
+	        return target;
+	    }
+
+	    if ((typeof target === 'undefined' ? 'undefined' : (0, _typeof3.default)(target)) !== 'object') {
+	        return [target].concat(source);
+	    }
+
+	    var mergeTarget = target;
+	    if (Array.isArray(target) && !Array.isArray(source)) {
+	        mergeTarget = exports.arrayToObject(target, options);
+	    }
+
+	    return (0, _keys2.default)(source).reduce(function (acc, key) {
+	        var value = source[key];
+
+	        if (Object.prototype.hasOwnProperty.call(acc, key)) {
+	            acc[key] = exports.merge(acc[key], value, options);
+	        } else {
+	            acc[key] = value;
+	        }
+	        return acc;
+	    }, mergeTarget);
+	};
+
+	exports.decode = function (str) {
+	    try {
+	        return decodeURIComponent(str.replace(/\+/g, ' '));
+	    } catch (e) {
+	        return str;
+	    }
+	};
+
+	exports.encode = function (str) {
+	    // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
+	    // It has been adapted here for stricter adherence to RFC 3986
+	    if (str.length === 0) {
+	        return str;
+	    }
+
+	    var string = typeof str === 'string' ? str : String(str);
+
+	    var out = '';
+	    for (var i = 0; i < string.length; ++i) {
+	        var c = string.charCodeAt(i);
+
+	        if (c === 0x2D || // -
+	        c === 0x2E || // .
+	        c === 0x5F || // _
+	        c === 0x7E || // ~
+	        c >= 0x30 && c <= 0x39 || // 0-9
+	        c >= 0x41 && c <= 0x5A || // a-z
+	        c >= 0x61 && c <= 0x7A // A-Z
+	        ) {
+	                out += string.charAt(i);
+	                continue;
+	            }
+
+	        if (c < 0x80) {
+	            out = out + hexTable[c];
+	            continue;
+	        }
+
+	        if (c < 0x800) {
+	            out = out + (hexTable[0xC0 | c >> 6] + hexTable[0x80 | c & 0x3F]);
+	            continue;
+	        }
+
+	        if (c < 0xD800 || c >= 0xE000) {
+	            out = out + (hexTable[0xE0 | c >> 12] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F]);
+	            continue;
+	        }
+
+	        i += 1;
+	        c = 0x10000 + ((c & 0x3FF) << 10 | string.charCodeAt(i) & 0x3FF);
+	        out += hexTable[0xF0 | c >> 18] + hexTable[0x80 | c >> 12 & 0x3F] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F];
+	    }
+
+	    return out;
+	};
+
+	exports.compact = function (obj, references) {
+	    if ((typeof obj === 'undefined' ? 'undefined' : (0, _typeof3.default)(obj)) !== 'object' || obj === null) {
+	        return obj;
+	    }
+
+	    var refs = references || [];
+	    var lookup = refs.indexOf(obj);
+	    if (lookup !== -1) {
+	        return refs[lookup];
+	    }
+
+	    refs.push(obj);
+
+	    if (Array.isArray(obj)) {
+	        var compacted = [];
+
+	        for (var i = 0; i < obj.length; ++i) {
+	            if (typeof obj[i] !== 'undefined') {
+	                compacted.push(obj[i]);
+	            }
+	        }
+
+	        return compacted;
+	    }
+
+	    var keys = (0, _keys2.default)(obj);
+	    for (var j = 0; j < keys.length; ++j) {
+	        var key = keys[j];
+	        obj[key] = exports.compact(obj[key], refs);
+	    }
+
+	    return obj;
+	};
+
+	exports.isRegExp = function (obj) {
+	    return Object.prototype.toString.call(obj) === '[object RegExp]';
+	};
+
+	exports.isBuffer = function (obj) {
+	    if (obj === null || typeof obj === 'undefined') {
+	        return false;
+	    }
+
+	    return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
+	};
+
+/***/ },
+/* 179 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _keys = __webpack_require__(29);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	var _create = __webpack_require__(86);
+
+	var _create2 = _interopRequireDefault(_create);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Utils = __webpack_require__(178);
+
+	var internals = {
+	    delimiter: '&',
+	    depth: 5,
+	    arrayLimit: 20,
+	    parameterLimit: 1000,
+	    strictNullHandling: false,
+	    plainObjects: false,
+	    allowPrototypes: false,
+	    allowDots: false
+	};
+
+	internals.parseValues = function (str, options) {
+	    var obj = {};
+	    var parts = str.split(options.delimiter, options.parameterLimit === Infinity ? undefined : options.parameterLimit);
+
+	    for (var i = 0; i < parts.length; ++i) {
+	        var part = parts[i];
+	        var pos = part.indexOf(']=') === -1 ? part.indexOf('=') : part.indexOf(']=') + 1;
+
+	        if (pos === -1) {
+	            obj[Utils.decode(part)] = '';
+
+	            if (options.strictNullHandling) {
+	                obj[Utils.decode(part)] = null;
+	            }
+	        } else {
+	            var key = Utils.decode(part.slice(0, pos));
+	            var val = Utils.decode(part.slice(pos + 1));
+
+	            if (Object.prototype.hasOwnProperty.call(obj, key)) {
+	                obj[key] = [].concat(obj[key]).concat(val);
+	            } else {
+	                obj[key] = val;
+	            }
+	        }
+	    }
+
+	    return obj;
+	};
+
+	internals.parseObject = function (chain, val, options) {
+	    if (!chain.length) {
+	        return val;
+	    }
+
+	    var root = chain.shift();
+
+	    var obj;
+	    if (root === '[]') {
+	        obj = [];
+	        obj = obj.concat(internals.parseObject(chain, val, options));
+	    } else {
+	        obj = options.plainObjects ? (0, _create2.default)(null) : {};
+	        var cleanRoot = root[0] === '[' && root[root.length - 1] === ']' ? root.slice(1, root.length - 1) : root;
+	        var index = parseInt(cleanRoot, 10);
+	        if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && options.parseArrays && index <= options.arrayLimit) {
+	            obj = [];
+	            obj[index] = internals.parseObject(chain, val, options);
+	        } else {
+	            obj[cleanRoot] = internals.parseObject(chain, val, options);
+	        }
+	    }
+
+	    return obj;
+	};
+
+	internals.parseKeys = function (givenKey, val, options) {
+	    if (!givenKey) {
+	        return;
+	    }
+
+	    // Transform dot notation to bracket notation
+	    var key = options.allowDots ? givenKey.replace(/\.([^\.\[]+)/g, '[$1]') : givenKey;
+
+	    // The regex chunks
+
+	    var parent = /^([^\[\]]*)/;
+	    var child = /(\[[^\[\]]*\])/g;
+
+	    // Get the parent
+
+	    var segment = parent.exec(key);
+
+	    // Stash the parent if it exists
+
+	    var keys = [];
+	    if (segment[1]) {
+	        // If we aren't using plain objects, optionally prefix keys
+	        // that would overwrite object prototype properties
+	        if (!options.plainObjects && Object.prototype.hasOwnProperty(segment[1])) {
+	            if (!options.allowPrototypes) {
+	                return;
+	            }
+	        }
+
+	        keys.push(segment[1]);
+	    }
+
+	    // Loop through children appending to the array until we hit depth
+
+	    var i = 0;
+	    while ((segment = child.exec(key)) !== null && i < options.depth) {
+	        i += 1;
+	        if (!options.plainObjects && Object.prototype.hasOwnProperty(segment[1].replace(/\[|\]/g, ''))) {
+	            if (!options.allowPrototypes) {
+	                continue;
+	            }
+	        }
+	        keys.push(segment[1]);
+	    }
+
+	    // If there's a remainder, just add whatever is left
+
+	    if (segment) {
+	        keys.push('[' + key.slice(segment.index) + ']');
+	    }
+
+	    return internals.parseObject(keys, val, options);
+	};
+
+	module.exports = function (str, opts) {
+	    var options = opts || {};
+	    options.delimiter = typeof options.delimiter === 'string' || Utils.isRegExp(options.delimiter) ? options.delimiter : internals.delimiter;
+	    options.depth = typeof options.depth === 'number' ? options.depth : internals.depth;
+	    options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : internals.arrayLimit;
+	    options.parseArrays = options.parseArrays !== false;
+	    options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : internals.allowDots;
+	    options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : internals.plainObjects;
+	    options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : internals.allowPrototypes;
+	    options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : internals.parameterLimit;
+	    options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : internals.strictNullHandling;
+
+	    if (str === '' || str === null || typeof str === 'undefined') {
+	        return options.plainObjects ? (0, _create2.default)(null) : {};
+	    }
+
+	    var tempObj = typeof str === 'string' ? internals.parseValues(str, options) : str;
+	    var obj = options.plainObjects ? (0, _create2.default)(null) : {};
+
+	    // Iterate over the keys and setup the new object
+
+	    var keys = (0, _keys2.default)(tempObj);
+	    for (var i = 0; i < keys.length; ++i) {
+	        var key = keys[i];
+	        var newObj = internals.parseKeys(key, tempObj[key], options);
+	        obj = Utils.merge(obj, newObj, options);
+	    }
+
+	    return Utils.compact(obj);
+	};
+
+/***/ },
+/* 180 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict'
+
+	const isNode = __webpack_require__(181)
+	const Multipart = __webpack_require__(182)
+	const flatmap = __webpack_require__(185)
+
+	function headers (file) {
+	  const name = file.path || ''
+	  const header = {
+	    'Content-Disposition': `file; filename="${name}"`
+	  }
+
+	  if (file.dir) {
+	    header['Content-Type'] = 'application/x-directory'
+	  } else if (file.symlink) {
+	    header['Content-Type'] = 'application/symlink'
+	  } else {
+	    header['Content-Type'] = 'application/octet-stream'
+	  }
+
+	  return header
+	}
+
+	function strip (name, base) {
+	  const smallBase = base
+	        .split('/')
+	        .slice(0, -1)
+	        .join('/') + '/'
+	  return name.replace(smallBase, '')
+	}
+
+	function loadPaths (opts, file) {
+	  const path = __webpack_require__(28)
+	  const fs = __webpack_require__(186)
+	  const glob = __webpack_require__(187)
+
+	  const followSymlinks = opts.followSymlinks != null ? opts.followSymlinks : true
+
+	  file = path.resolve(file)
+	  const stats = fs.statSync(file)
+
+	  if (stats.isDirectory() && !opts.recursive) {
+	    throw new Error('Can only add directories using --recursive')
+	  }
+
+	  if (stats.isDirectory() && opts.recursive) {
+	    const mg = new glob.sync.GlobSync(`${file}/**/*`, {
+	      follow: followSymlinks
+	    })
+
+	    return mg.found
+	      .map((name) => {
+	        // symlinks
+	        if (mg.symlinks[name] === true) {
+	          return {
+	            path: strip(name, file),
+	            symlink: true,
+	            dir: false,
+	            content: fs.readlinkSync(name)
+	          }
+	        }
+
+	        // files
+	        if (mg.cache[name] === 'FILE') {
+	          return {
+	            path: strip(name, file),
+	            symlink: false,
+	            dir: false,
+	            content: fs.createReadStream(name)
+	          }
+	        }
+
+	        // directories
+	        if (mg.cache[name] === 'DIR' || mg.cache[name] instanceof Array) {
+	          return {
+	            path: strip(name, file),
+	            symlink: false,
+	            dir: true
+	          }
+	        }
+
+	        // files inside symlinks and others
+	        return
+	      })
+	      .filter((file) => !!file) // filter out null files
+	  }
+
+	  return {
+	    path: file,
+	    content: fs.createReadStream(file)
+	  }
+	}
+
+	function getFilesStream (files, opts) {
+	  if (!files) return null
+
+	  const mp = new Multipart()
+
+	  flatmap(files, (file) => {
+	    if (typeof file === 'string') {
+	      if (!isNode) {
+	        throw new Error('Can not add paths in node')
+	      }
+
+	      return loadPaths(opts, file)
+	    }
+
+	    if (file.path && (file.content || file.dir)) {
+	      return file
+	    }
+
+	    return {
+	      path: '',
+	      symlink: false,
+	      dir: false,
+	      content: file
+	    }
+	  }).forEach((file) => {
+	    mp.addPart({
+	      headers: headers(file),
+	      body: file.content
+	    })
+	  })
+
+	  return mp
+	}
+
+	exports = module.exports = getFilesStream
+
+
+/***/ },
+/* 181 */
+/***/ function(module, exports) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {module.exports = false;
+
+	// Only Node.JS has a process variable that is of [[Class]] process
+	try {
+	 module.exports = Object.prototype.toString.call(global.process) === '[object process]' 
+	} catch(e) {}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 182 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var Sandwich = __webpack_require__(183).SandwichStream
+	var stream = __webpack_require__(52)
+	var inherits = __webpack_require__(50)
+	var isStream = __webpack_require__(184)
+
+	var CRNL = '\r\n'
+
+	module.exports = Multipart
+
+	/**
+	 * Multipart request constructor.
+	 * @constructor
+	 * @param {object} [opts]
+	 * @param {string} [opts.boundary] - The boundary to be used. If omitted one is generated.
+	 * @returns {function} Returns the multipart stream.
+	 */
+	function Multipart(boundary) {
+		if(!this instanceof Multipart) {
+			return new Multipart(boundary)
+		}
+
+		this.boundary = boundary || Math.random().toString(36).slice(2)
+
+		Sandwich.call(this, {
+			head: '--' + this.boundary + CRNL,
+			tail: CRNL + '--' + this.boundary + '--',
+			separator: CRNL + '--' + this.boundary + CRNL
+		})
+
+		this._add = this.add
+		this.add = this.addPart
+	}
+
+	inherits(Multipart, Sandwich)
+
+	/**
+	 * Adds a new part to the request.
+	 * @param {object} [part={}]
+	 * @param {object} [part.headers={}]
+	 * @param {string|buffer|stream} [part.body=\r\n]
+	 * @returns {function} Returns the multipart stream.
+	 */
+	Multipart.prototype.addPart = function(part) {
+		part = part || {}
+		var partStream = new stream.PassThrough()
+
+		if(part.headers) {
+			for(var key in part.headers) {
+				var header = part.headers[key]
+				partStream.write(key + ': ' + header + CRNL)
+			}
+		}
+
+		partStream.write(CRNL)
+
+		if(isStream(part.body)) {
+			part.body.pipe(partStream)
+		} else {
+			partStream.end(part.body)
+		}
+
+		this._add(partStream)
+	}
+
+
+/***/ },
+/* 183 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var Readable = __webpack_require__(52).Readable;
+	var PassThrough = __webpack_require__(52).PassThrough;
+
+	function SandwichStream(options) {
+	  Readable.call(this, options);
+	  options = options || {};
+	  this._streamsActive = false;
+	  this._streamsAdded = false;
+	  this._streams = [];
+	  this._currentStream = undefined;
+	  this._errorsEmitted = false;
+
+	  if (options.head) {
+	    this._head = options.head;
+	  }
+	  if (options.tail) {
+	    this._tail = options.tail;
+	  }
+	  if (options.separator) {
+	    this._separator = options.separator;
+	  }
+	}
+
+	SandwichStream.prototype = Object.create(Readable.prototype, {
+	  constructor: SandwichStream
+	});
+
+	SandwichStream.prototype._read = function () {
+	  if (!this._streamsActive) {
+	    this._streamsActive = true;
+	    this._pushHead();
+	    this._streamNextStream();
+	  }
+	};
+
+	SandwichStream.prototype.add = function (newStream) {
+	  if (!this._streamsActive) {
+	    this._streamsAdded = true;
+	    this._streams.push(newStream);
+	    newStream.on('error', this._substreamOnError.bind(this));
+	  }
+	  else {
+	    throw new Error('SandwichStream error adding new stream while streaming');
+	  }
+	};
+
+	SandwichStream.prototype._substreamOnError = function (error) {
+	  this._errorsEmitted = true;
+	  this.emit('error', error);
+	};
+
+	SandwichStream.prototype._pushHead = function () {
+	  if (this._head) {
+	    this.push(this._head);
+	  }
+	};
+
+	SandwichStream.prototype._streamNextStream = function () {
+	  if (this._nextStream()) {
+	    this._bindCurrentStreamEvents();
+	  }
+	  else {
+	    this._pushTail();
+	    this.push(null);
+	  }
+	};
+
+	SandwichStream.prototype._nextStream = function () {
+	  this._currentStream = this._streams.shift();
+	  return this._currentStream !== undefined;
+	};
+
+	SandwichStream.prototype._bindCurrentStreamEvents = function () {
+	  this._currentStream.on('readable', this._currentStreamOnReadable.bind(this));
+	  this._currentStream.on('end', this._currentStreamOnEnd.bind(this));
+	};
+
+	SandwichStream.prototype._currentStreamOnReadable = function () {
+	  this.push(this._currentStream.read() || '');
+	};
+
+	SandwichStream.prototype._currentStreamOnEnd = function () {
+	  this._pushSeparator();
+	  this._streamNextStream();
+	};
+
+	SandwichStream.prototype._pushSeparator = function () {
+	  if (this._streams.length > 0 && this._separator) {
+	    this.push(this._separator);
+	  }
+	};
+
+	SandwichStream.prototype._pushTail = function () {
+	  if (this._tail) {
+	    this.push(this._tail);
+	  }
+	};
+
+	function sandwichStream(options) {
+	  var stream = new SandwichStream(options);
+	  return stream;
+	}
+
+	sandwichStream.SandwichStream = SandwichStream;
+
+	module.exports = sandwichStream;
+
+
+/***/ },
+/* 184 */
+/***/ function(module, exports) {
+
+	'use strict';
+
+	var isStream = module.exports = function (stream) {
+		return stream !== null && typeof stream === 'object' && typeof stream.pipe === 'function';
+	};
+
+	isStream.writable = function (stream) {
+		return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typeof stream._writableState === 'object';
+	};
+
+	isStream.readable = function (stream) {
+		return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && typeof stream._readableState === 'object';
+	};
+
+	isStream.duplex = function (stream) {
+		return isStream.writable(stream) && isStream.readable(stream);
+	};
+
+	isStream.transform = function (stream) {
+		return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transformState === 'object';
+	};
+
+
+/***/ },
+/* 185 */
+/***/ function(module, exports) {
+
+	"use strict";
+
+	module.exports = function(arr, iter, context) {
+	  var results = [];
+	  if (!Array.isArray(arr)) return results;
+	  arr.forEach(function(value, index, list) {
+	    var res = iter.call(context, value, index, list);
+	    if (Array.isArray(res)) {
+	      results.push.apply(results, res);
+	    } else if (res != null) {
+	      results.push(res);
+	    }
+	  });
+	  return results;
+	};
+
+/***/ },
+/* 186 */
+/***/ function(module, exports) {
+
+	"use strict";
+
+	module.exports = {
+	  createWriteStream: function createWriteStream(filename, options) {
+	    return;
+	  },
+	  writeFileSync: function writeFileSync() {
+	    return;
+	  }
+	};
+
+/***/ },
+/* 187 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {// Approach:
+	//
+	// 1. Get the minimatch set
+	// 2. For each pattern in the set, PROCESS(pattern, false)
+	// 3. Store matches per-set, then uniq them
+	//
+	// PROCESS(pattern, inGlobStar)
+	// Get the first [n] items from pattern that are all strings
+	// Join these together.  This is PREFIX.
+	//   If there is no more remaining, then stat(PREFIX) and
+	//   add to matches if it succeeds.  END.
+	//
+	// If inGlobStar and PREFIX is symlink and points to dir
+	//   set ENTRIES = []
+	// else readdir(PREFIX) as ENTRIES
+	//   If fail, END
+	//
+	// with ENTRIES
+	//   If pattern[n] is GLOBSTAR
+	//     // handle the case where the globstar match is empty
+	//     // by pruning it out, and testing the resulting pattern
+	//     PROCESS(pattern[0..n] + pattern[n+1 .. $], false)
+	//     // handle other cases.
+	//     for ENTRY in ENTRIES (not dotfiles)
+	//       // attach globstar + tail onto the entry
+	//       // Mark that this entry is a globstar match
+	//       PROCESS(pattern[0..n] + ENTRY + pattern[n .. $], true)
+	//
+	//   else // not globstar
+	//     for ENTRY in ENTRIES (not dotfiles, unless pattern[n] is dot)
+	//       Test ENTRY against pattern[n]
+	//       If fails, continue
+	//       If passes, PROCESS(pattern[0..n] + item + pattern[n+1 .. $])
+	//
+	// Caveat:
+	//   Cache all stats and readdirs results to minimize syscall.  Since all
+	//   we ever care about is existence and directory-ness, we can just keep
+	//   `true` for files, and [children,...] for directories, or `false` for
+	//   things that don't exist.
+
+	module.exports = glob
+
+	var fs = __webpack_require__(186)
+	var minimatch = __webpack_require__(188)
+	var Minimatch = minimatch.Minimatch
+	var inherits = __webpack_require__(50)
+	var EE = __webpack_require__(41).EventEmitter
+	var path = __webpack_require__(28)
+	var assert = __webpack_require__(192)
+	var isAbsolute = __webpack_require__(193)
+	var globSync = __webpack_require__(194)
+	var common = __webpack_require__(195)
+	var alphasort = common.alphasort
+	var alphasorti = common.alphasorti
+	var setopts = common.setopts
+	var ownProp = common.ownProp
+	var inflight = __webpack_require__(196)
+	var util = __webpack_require__(118)
+	var childrenIgnored = common.childrenIgnored
+	var isIgnored = common.isIgnored
+
+	var once = __webpack_require__(198)
+
+	function glob (pattern, options, cb) {
+	  if (typeof options === 'function') cb = options, options = {}
+	  if (!options) options = {}
+
+	  if (options.sync) {
+	    if (cb)
+	      throw new TypeError('callback provided to sync glob')
+	    return globSync(pattern, options)
+	  }
+
+	  return new Glob(pattern, options, cb)
+	}
+
+	glob.sync = globSync
+	var GlobSync = glob.GlobSync = globSync.GlobSync
+
+	// old api surface
+	glob.glob = glob
+
+	function extend (origin, add) {
+	  if (add === null || typeof add !== 'object') {
+	    return origin
+	  }
+
+	  var keys = Object.keys(add)
+	  var i = keys.length
+	  while (i--) {
+	    origin[keys[i]] = add[keys[i]]
+	  }
+	  return origin
+	}
+
+	glob.hasMagic = function (pattern, options_) {
+	  var options = extend({}, options_)
+	  options.noprocess = true
+
+	  var g = new Glob(pattern, options)
+	  var set = g.minimatch.set
+	  if (set.length > 1)
+	    return true
+
+	  for (var j = 0; j < set[0].length; j++) {
+	    if (typeof set[0][j] !== 'string')
+	      return true
+	  }
+
+	  return false
+	}
+
+	glob.Glob = Glob
+	inherits(Glob, EE)
+	function Glob (pattern, options, cb) {
+	  if (typeof options === 'function') {
+	    cb = options
+	    options = null
+	  }
+
+	  if (options && options.sync) {
+	    if (cb)
+	      throw new TypeError('callback provided to sync glob')
+	    return new GlobSync(pattern, options)
+	  }
+
+	  if (!(this instanceof Glob))
+	    return new Glob(pattern, options, cb)
+
+	  setopts(this, pattern, options)
+	  this._didRealPath = false
+
+	  // process each pattern in the minimatch set
+	  var n = this.minimatch.set.length
+
+	  // The matches are stored as {<filename>: true,...} so that
+	  // duplicates are automagically pruned.
+	  // Later, we do an Object.keys() on these.
+	  // Keep them as a list so we can fill in when nonull is set.
+	  this.matches = new Array(n)
+
+	  if (typeof cb === 'function') {
+	    cb = once(cb)
+	    this.on('error', cb)
+	    this.on('end', function (matches) {
+	      cb(null, matches)
+	    })
+	  }
+
+	  var self = this
+	  var n = this.minimatch.set.length
+	  this._processing = 0
+	  this.matches = new Array(n)
+
+	  this._emitQueue = []
+	  this._processQueue = []
+	  this.paused = false
+
+	  if (this.noprocess)
+	    return this
+
+	  if (n === 0)
+	    return done()
+
+	  var sync = true
+	  for (var i = 0; i < n; i ++) {
+	    this._process(this.minimatch.set[i], i, false, done)
+	  }
+	  sync = false
+
+	  function done () {
+	    --self._processing
+	    if (self._processing <= 0) {
+	      if (sync) {
+	        process.nextTick(function () {
+	          self._finish()
+	        })
+	      } else {
+	        self._finish()
+	      }
+	    }
+	  }
+	}
+
+	Glob.prototype._finish = function () {
+	  assert(this instanceof Glob)
+	  if (this.aborted)
+	    return
+
+	  if (this.realpath && !this._didRealpath)
+	    return this._realpath()
+
+	  common.finish(this)
+	  this.emit('end', this.found)
+	}
+
+	Glob.prototype._realpath = function () {
+	  if (this._didRealpath)
+	    return
+
+	  this._didRealpath = true
+
+	  var n = this.matches.length
+	  if (n === 0)
+	    return this._finish()
+
+	  var self = this
+	  for (var i = 0; i < this.matches.length; i++)
+	    this._realpathSet(i, next)
+
+	  function next () {
+	    if (--n === 0)
+	      self._finish()
+	  }
+	}
+
+	Glob.prototype._realpathSet = function (index, cb) {
+	  var matchset = this.matches[index]
+	  if (!matchset)
+	    return cb()
+
+	  var found = Object.keys(matchset)
+	  var self = this
+	  var n = found.length
+
+	  if (n === 0)
+	    return cb()
+
+	  var set = this.matches[index] = Object.create(null)
+	  found.forEach(function (p, i) {
+	    // If there's a problem with the stat, then it means that
+	    // one or more of the links in the realpath couldn't be
+	    // resolved.  just return the abs value in that case.
+	    p = self._makeAbs(p)
+	    fs.realpath(p, self.realpathCache, function (er, real) {
+	      if (!er)
+	        set[real] = true
+	      else if (er.syscall === 'stat')
+	        set[p] = true
+	      else
+	        self.emit('error', er) // srsly wtf right here
+
+	      if (--n === 0) {
+	        self.matches[index] = set
+	        cb()
+	      }
+	    })
+	  })
+	}
+
+	Glob.prototype._mark = function (p) {
+	  return common.mark(this, p)
+	}
+
+	Glob.prototype._makeAbs = function (f) {
+	  return common.makeAbs(this, f)
+	}
+
+	Glob.prototype.abort = function () {
+	  this.aborted = true
+	  this.emit('abort')
+	}
+
+	Glob.prototype.pause = function () {
+	  if (!this.paused) {
+	    this.paused = true
+	    this.emit('pause')
+	  }
+	}
+
+	Glob.prototype.resume = function () {
+	  if (this.paused) {
+	    this.emit('resume')
+	    this.paused = false
+	    if (this._emitQueue.length) {
+	      var eq = this._emitQueue.slice(0)
+	      this._emitQueue.length = 0
+	      for (var i = 0; i < eq.length; i ++) {
+	        var e = eq[i]
+	        this._emitMatch(e[0], e[1])
+	      }
+	    }
+	    if (this._processQueue.length) {
+	      var pq = this._processQueue.slice(0)
+	      this._processQueue.length = 0
+	      for (var i = 0; i < pq.length; i ++) {
+	        var p = pq[i]
+	        this._processing--
+	        this._process(p[0], p[1], p[2], p[3])
+	      }
+	    }
+	  }
+	}
+
+	Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
+	  assert(this instanceof Glob)
+	  assert(typeof cb === 'function')
+
+	  if (this.aborted)
+	    return
+
+	  this._processing++
+	  if (this.paused) {
+	    this._processQueue.push([pattern, index, inGlobStar, cb])
+	    return
+	  }
+
+	  //console.error('PROCESS %d', this._processing, pattern)
+
+	  // Get the first [n] parts of pattern that are all strings.
+	  var n = 0
+	  while (typeof pattern[n] === 'string') {
+	    n ++
+	  }
+	  // now n is the index of the first one that is *not* a string.
+
+	  // see if there's anything else
+	  var prefix
+	  switch (n) {
+	    // if not, then this is rather simple
+	    case pattern.length:
+	      this._processSimple(pattern.join('/'), index, cb)
+	      return
+
+	    case 0:
+	      // pattern *starts* with some non-trivial item.
+	      // going to readdir(cwd), but not include the prefix in matches.
+	      prefix = null
+	      break
+
+	    default:
+	      // pattern has some string bits in the front.
+	      // whatever it starts with, whether that's 'absolute' like /foo/bar,
+	      // or 'relative' like '../baz'
+	      prefix = pattern.slice(0, n).join('/')
+	      break
+	  }
+
+	  var remain = pattern.slice(n)
+
+	  // get the list of entries.
+	  var read
+	  if (prefix === null)
+	    read = '.'
+	  else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
+	    if (!prefix || !isAbsolute(prefix))
+	      prefix = '/' + prefix
+	    read = prefix
+	  } else
+	    read = prefix
+
+	  var abs = this._makeAbs(read)
+
+	  //if ignored, skip _processing
+	  if (childrenIgnored(this, read))
+	    return cb()
+
+	  var isGlobStar = remain[0] === minimatch.GLOBSTAR
+	  if (isGlobStar)
+	    this._processGlobStar(prefix, read, abs, remain, index, inGlobStar, cb)
+	  else
+	    this._processReaddir(prefix, read, abs, remain, index, inGlobStar, cb)
+	}
+
+	Glob.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar, cb) {
+	  var self = this
+	  this._readdir(abs, inGlobStar, function (er, entries) {
+	    return self._processReaddir2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
+	  })
+	}
+
+	Glob.prototype._processReaddir2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
+
+	  // if the abs isn't a dir, then nothing can match!
+	  if (!entries)
+	    return cb()
+
+	  // It will only match dot entries if it starts with a dot, or if
+	  // dot is set.  Stuff like @(.foo|.bar) isn't allowed.
+	  var pn = remain[0]
+	  var negate = !!this.minimatch.negate
+	  var rawGlob = pn._glob
+	  var dotOk = this.dot || rawGlob.charAt(0) === '.'
+
+	  var matchedEntries = []
+	  for (var i = 0; i < entries.length; i++) {
+	    var e = entries[i]
+	    if (e.charAt(0) !== '.' || dotOk) {
+	      var m
+	      if (negate && !prefix) {
+	        m = !e.match(pn)
+	      } else {
+	        m = e.match(pn)
+	      }
+	      if (m)
+	        matchedEntries.push(e)
+	    }
+	  }
+
+	  //console.error('prd2', prefix, entries, remain[0]._glob, matchedEntries)
+
+	  var len = matchedEntries.length
+	  // If there are no matched entries, then nothing matches.
+	  if (len === 0)
+	    return cb()
+
+	  // if this is the last remaining pattern bit, then no need for
+	  // an additional stat *unless* the user has specified mark or
+	  // stat explicitly.  We know they exist, since readdir returned
+	  // them.
+
+	  if (remain.length === 1 && !this.mark && !this.stat) {
+	    if (!this.matches[index])
+	      this.matches[index] = Object.create(null)
+
+	    for (var i = 0; i < len; i ++) {
+	      var e = matchedEntries[i]
+	      if (prefix) {
+	        if (prefix !== '/')
+	          e = prefix + '/' + e
+	        else
+	          e = prefix + e
+	      }
+
+	      if (e.charAt(0) === '/' && !this.nomount) {
+	        e = path.join(this.root, e)
+	      }
+	      this._emitMatch(index, e)
+	    }
+	    // This was the last one, and no stats were needed
+	    return cb()
+	  }
+
+	  // now test all matched entries as stand-ins for that part
+	  // of the pattern.
+	  remain.shift()
+	  for (var i = 0; i < len; i ++) {
+	    var e = matchedEntries[i]
+	    var newPattern
+	    if (prefix) {
+	      if (prefix !== '/')
+	        e = prefix + '/' + e
+	      else
+	        e = prefix + e
+	    }
+	    this._process([e].concat(remain), index, inGlobStar, cb)
+	  }
+	  cb()
+	}
+
+	Glob.prototype._emitMatch = function (index, e) {
+	  if (this.aborted)
+	    return
+
+	  if (this.matches[index][e])
+	    return
+
+	  if (isIgnored(this, e))
+	    return
+
+	  if (this.paused) {
+	    this._emitQueue.push([index, e])
+	    return
+	  }
+
+	  var abs = this._makeAbs(e)
+
+	  if (this.nodir) {
+	    var c = this.cache[abs]
+	    if (c === 'DIR' || Array.isArray(c))
+	      return
+	  }
+
+	  if (this.mark)
+	    e = this._mark(e)
+
+	  this.matches[index][e] = true
+
+	  var st = this.statCache[abs]
+	  if (st)
+	    this.emit('stat', e, st)
+
+	  this.emit('match', e)
+	}
+
+	Glob.prototype._readdirInGlobStar = function (abs, cb) {
+	  if (this.aborted)
+	    return
+
+	  // follow all symlinked directories forever
+	  // just proceed as if this is a non-globstar situation
+	  if (this.follow)
+	    return this._readdir(abs, false, cb)
+
+	  var lstatkey = 'lstat\0' + abs
+	  var self = this
+	  var lstatcb = inflight(lstatkey, lstatcb_)
+
+	  if (lstatcb)
+	    fs.lstat(abs, lstatcb)
+
+	  function lstatcb_ (er, lstat) {
+	    if (er)
+	      return cb()
+
+	    var isSym = lstat.isSymbolicLink()
+	    self.symlinks[abs] = isSym
+
+	    // If it's not a symlink or a dir, then it's definitely a regular file.
+	    // don't bother doing a readdir in that case.
+	    if (!isSym && !lstat.isDirectory()) {
+	      self.cache[abs] = 'FILE'
+	      cb()
+	    } else
+	      self._readdir(abs, false, cb)
+	  }
+	}
+
+	Glob.prototype._readdir = function (abs, inGlobStar, cb) {
+	  if (this.aborted)
+	    return
+
+	  cb = inflight('readdir\0'+abs+'\0'+inGlobStar, cb)
+	  if (!cb)
+	    return
+
+	  //console.error('RD %j %j', +inGlobStar, abs)
+	  if (inGlobStar && !ownProp(this.symlinks, abs))
+	    return this._readdirInGlobStar(abs, cb)
+
+	  if (ownProp(this.cache, abs)) {
+	    var c = this.cache[abs]
+	    if (!c || c === 'FILE')
+	      return cb()
+
+	    if (Array.isArray(c))
+	      return cb(null, c)
+	  }
+
+	  var self = this
+	  fs.readdir(abs, readdirCb(this, abs, cb))
+	}
+
+	function readdirCb (self, abs, cb) {
+	  return function (er, entries) {
+	    if (er)
+	      self._readdirError(abs, er, cb)
+	    else
+	      self._readdirEntries(abs, entries, cb)
+	  }
+	}
+
+	Glob.prototype._readdirEntries = function (abs, entries, cb) {
+	  if (this.aborted)
+	    return
+
+	  // if we haven't asked to stat everything, then just
+	  // assume that everything in there exists, so we can avoid
+	  // having to stat it a second time.
+	  if (!this.mark && !this.stat) {
+	    for (var i = 0; i < entries.length; i ++) {
+	      var e = entries[i]
+	      if (abs === '/')
+	        e = abs + e
+	      else
+	        e = abs + '/' + e
+	      this.cache[e] = true
+	    }
+	  }
+
+	  this.cache[abs] = entries
+	  return cb(null, entries)
+	}
+
+	Glob.prototype._readdirError = function (f, er, cb) {
+	  if (this.aborted)
+	    return
+
+	  // handle errors, and cache the information
+	  switch (er.code) {
+	    case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
+	    case 'ENOTDIR': // totally normal. means it *does* exist.
+	      var abs = this._makeAbs(f)
+	      this.cache[abs] = 'FILE'
+	      if (abs === this.cwdAbs) {
+	        var error = new Error(er.code + ' invalid cwd ' + this.cwd)
+	        error.path = this.cwd
+	        error.code = er.code
+	        this.emit('error', error)
+	        this.abort()
+	      }
+	      break
+
+	    case 'ENOENT': // not terribly unusual
+	    case 'ELOOP':
+	    case 'ENAMETOOLONG':
+	    case 'UNKNOWN':
+	      this.cache[this._makeAbs(f)] = false
+	      break
+
+	    default: // some unusual error.  Treat as failure.
+	      this.cache[this._makeAbs(f)] = false
+	      if (this.strict) {
+	        this.emit('error', er)
+	        // If the error is handled, then we abort
+	        // if not, we threw out of here
+	        this.abort()
+	      }
+	      if (!this.silent)
+	        console.error('glob error', er)
+	      break
+	  }
+
+	  return cb()
+	}
+
+	Glob.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar, cb) {
+	  var self = this
+	  this._readdir(abs, inGlobStar, function (er, entries) {
+	    self._processGlobStar2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
+	  })
+	}
+
+
+	Glob.prototype._processGlobStar2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
+	  //console.error('pgs2', prefix, remain[0], entries)
+
+	  // no entries means not a dir, so it can never have matches
+	  // foo.txt/** doesn't match foo.txt
+	  if (!entries)
+	    return cb()
+
+	  // test without the globstar, and with every child both below
+	  // and replacing the globstar.
+	  var remainWithoutGlobStar = remain.slice(1)
+	  var gspref = prefix ? [ prefix ] : []
+	  var noGlobStar = gspref.concat(remainWithoutGlobStar)
+
+	  // the noGlobStar pattern exits the inGlobStar state
+	  this._process(noGlobStar, index, false, cb)
+
+	  var isSym = this.symlinks[abs]
+	  var len = entries.length
+
+	  // If it's a symlink, and we're in a globstar, then stop
+	  if (isSym && inGlobStar)
+	    return cb()
+
+	  for (var i = 0; i < len; i++) {
+	    var e = entries[i]
+	    if (e.charAt(0) === '.' && !this.dot)
+	      continue
+
+	    // these two cases enter the inGlobStar state
+	    var instead = gspref.concat(entries[i], remainWithoutGlobStar)
+	    this._process(instead, index, true, cb)
+
+	    var below = gspref.concat(entries[i], remain)
+	    this._process(below, index, true, cb)
+	  }
+
+	  cb()
+	}
+
+	Glob.prototype._processSimple = function (prefix, index, cb) {
+	  // XXX review this.  Shouldn't it be doing the mounting etc
+	  // before doing stat?  kinda weird?
+	  var self = this
+	  this._stat(prefix, function (er, exists) {
+	    self._processSimple2(prefix, index, er, exists, cb)
+	  })
+	}
+	Glob.prototype._processSimple2 = function (prefix, index, er, exists, cb) {
+
+	  //console.error('ps2', prefix, exists)
+
+	  if (!this.matches[index])
+	    this.matches[index] = Object.create(null)
+
+	  // If it doesn't exist, then just mark the lack of results
+	  if (!exists)
+	    return cb()
+
+	  if (prefix && isAbsolute(prefix) && !this.nomount) {
+	    var trail = /[\/\\]$/.test(prefix)
+	    if (prefix.charAt(0) === '/') {
+	      prefix = path.join(this.root, prefix)
+	    } else {
+	      prefix = path.resolve(this.root, prefix)
+	      if (trail)
+	        prefix += '/'
+	    }
+	  }
+
+	  if (process.platform === 'win32')
+	    prefix = prefix.replace(/\\/g, '/')
+
+	  // Mark this as a match
+	  this._emitMatch(index, prefix)
+	  cb()
+	}
+
+	// Returns either 'DIR', 'FILE', or false
+	Glob.prototype._stat = function (f, cb) {
+	  var abs = this._makeAbs(f)
+	  var needDir = f.slice(-1) === '/'
+
+	  if (f.length > this.maxLength)
+	    return cb()
+
+	  if (!this.stat && ownProp(this.cache, abs)) {
+	    var c = this.cache[abs]
+
+	    if (Array.isArray(c))
+	      c = 'DIR'
+
+	    // It exists, but maybe not how we need it
+	    if (!needDir || c === 'DIR')
+	      return cb(null, c)
+
+	    if (needDir && c === 'FILE')
+	      return cb()
+
+	    // otherwise we have to stat, because maybe c=true
+	    // if we know it exists, but not what it is.
+	  }
+
+	  var exists
+	  var stat = this.statCache[abs]
+	  if (stat !== undefined) {
+	    if (stat === false)
+	      return cb(null, stat)
+	    else {
+	      var type = stat.isDirectory() ? 'DIR' : 'FILE'
+	      if (needDir && type === 'FILE')
+	        return cb()
+	      else
+	        return cb(null, type, stat)
+	    }
+	  }
+
+	  var self = this
+	  var statcb = inflight('stat\0' + abs, lstatcb_)
+	  if (statcb)
+	    fs.lstat(abs, statcb)
+
+	  function lstatcb_ (er, lstat) {
+	    if (lstat && lstat.isSymbolicLink()) {
+	      // If it's a symlink, then treat it as the target, unless
+	      // the target does not exist, then treat it as a file.
+	      return fs.stat(abs, function (er, stat) {
+	        if (er)
+	          self._stat2(f, abs, null, lstat, cb)
+	        else
+	          self._stat2(f, abs, er, stat, cb)
+	      })
+	    } else {
+	      self._stat2(f, abs, er, lstat, cb)
+	    }
+	  }
+	}
+
+	Glob.prototype._stat2 = function (f, abs, er, stat, cb) {
+	  if (er) {
+	    this.statCache[abs] = false
+	    return cb()
+	  }
+
+	  var needDir = f.slice(-1) === '/'
+	  this.statCache[abs] = stat
+
+	  if (abs.slice(-1) === '/' && !stat.isDirectory())
+	    return cb(null, false, stat)
+
+	  var c = stat.isDirectory() ? 'DIR' : 'FILE'
+	  this.cache[abs] = this.cache[abs] || c
+
+	  if (needDir && c !== 'DIR')
+	    return cb()
+
+	  return cb(null, c, stat)
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 188 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = minimatch
+	minimatch.Minimatch = Minimatch
+
+	var path = { sep: '/' }
+	try {
+	  path = __webpack_require__(28)
+	} catch (er) {}
+
+	var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
+	var expand = __webpack_require__(189)
+
+	// any single thing other than /
+	// don't need to escape / when using new RegExp()
+	var qmark = '[^/]'
+
+	// * => any number of characters
+	var star = qmark + '*?'
+
+	// ** when dots are allowed.  Anything goes, except .. and .
+	// not (^ or / followed by one or two dots followed by $ or /),
+	// followed by anything, any number of times.
+	var twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
+
+	// not a ^ or / followed by a dot,
+	// followed by anything, any number of times.
+	var twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
+
+	// characters that need to be escaped in RegExp.
+	var reSpecials = charSet('().*{}+?[]^$\\!')
+
+	// "abc" -> { a:true, b:true, c:true }
+	function charSet (s) {
+	  return s.split('').reduce(function (set, c) {
+	    set[c] = true
+	    return set
+	  }, {})
+	}
+
+	// normalizes slashes.
+	var slashSplit = /\/+/
+
+	minimatch.filter = filter
+	function filter (pattern, options) {
+	  options = options || {}
+	  return function (p, i, list) {
+	    return minimatch(p, pattern, options)
+	  }
+	}
+
+	function ext (a, b) {
+	  a = a || {}
+	  b = b || {}
+	  var t = {}
+	  Object.keys(b).forEach(function (k) {
+	    t[k] = b[k]
+	  })
+	  Object.keys(a).forEach(function (k) {
+	    t[k] = a[k]
+	  })
+	  return t
+	}
+
+	minimatch.defaults = function (def) {
+	  if (!def || !Object.keys(def).length) return minimatch
+
+	  var orig = minimatch
+
+	  var m = function minimatch (p, pattern, options) {
+	    return orig.minimatch(p, pattern, ext(def, options))
+	  }
+
+	  m.Minimatch = function Minimatch (pattern, options) {
+	    return new orig.Minimatch(pattern, ext(def, options))
+	  }
+
+	  return m
+	}
+
+	Minimatch.defaults = function (def) {
+	  if (!def || !Object.keys(def).length) return Minimatch
+	  return minimatch.defaults(def).Minimatch
+	}
+
+	function minimatch (p, pattern, options) {
+	  if (typeof pattern !== 'string') {
+	    throw new TypeError('glob pattern string required')
+	  }
+
+	  if (!options) options = {}
+
+	  // shortcut: comments match nothing.
+	  if (!options.nocomment && pattern.charAt(0) === '#') {
+	    return false
+	  }
+
+	  // "" only matches ""
+	  if (pattern.trim() === '') return p === ''
+
+	  return new Minimatch(pattern, options).match(p)
+	}
+
+	function Minimatch (pattern, options) {
+	  if (!(this instanceof Minimatch)) {
+	    return new Minimatch(pattern, options)
+	  }
+
+	  if (typeof pattern !== 'string') {
+	    throw new TypeError('glob pattern string required')
+	  }
+
+	  if (!options) options = {}
+	  pattern = pattern.trim()
+
+	  // windows support: need to use /, not \
+	  if (path.sep !== '/') {
+	    pattern = pattern.split(path.sep).join('/')
+	  }
+
+	  this.options = options
+	  this.set = []
+	  this.pattern = pattern
+	  this.regexp = null
+	  this.negate = false
+	  this.comment = false
+	  this.empty = false
+
+	  // make the set of regexps etc.
+	  this.make()
+	}
+
+	Minimatch.prototype.debug = function () {}
+
+	Minimatch.prototype.make = make
+	function make () {
+	  // don't do it more than once.
+	  if (this._made) return
+
+	  var pattern = this.pattern
+	  var options = this.options
+
+	  // empty patterns and comments match nothing.
+	  if (!options.nocomment && pattern.charAt(0) === '#') {
+	    this.comment = true
+	    return
+	  }
+	  if (!pattern) {
+	    this.empty = true
+	    return
+	  }
+
+	  // step 1: figure out negation, etc.
+	  this.parseNegate()
+
+	  // step 2: expand braces
+	  var set = this.globSet = this.braceExpand()
+
+	  if (options.debug) this.debug = console.error
+
+	  this.debug(this.pattern, set)
+
+	  // step 3: now we have a set, so turn each one into a series of path-portion
+	  // matching patterns.
+	  // These will be regexps, except in the case of "**", which is
+	  // set to the GLOBSTAR object for globstar behavior,
+	  // and will not contain any / characters
+	  set = this.globParts = set.map(function (s) {
+	    return s.split(slashSplit)
+	  })
+
+	  this.debug(this.pattern, set)
+
+	  // glob --> regexps
+	  set = set.map(function (s, si, set) {
+	    return s.map(this.parse, this)
+	  }, this)
+
+	  this.debug(this.pattern, set)
+
+	  // filter out everything that didn't compile properly.
+	  set = set.filter(function (s) {
+	    return s.indexOf(false) === -1
+	  })
+
+	  this.debug(this.pattern, set)
+
+	  this.set = set
+	}
+
+	Minimatch.prototype.parseNegate = parseNegate
+	function parseNegate () {
+	  var pattern = this.pattern
+	  var negate = false
+	  var options = this.options
+	  var negateOffset = 0
+
+	  if (options.nonegate) return
+
+	  for (var i = 0, l = pattern.length
+	    ; i < l && pattern.charAt(i) === '!'
+	    ; i++) {
+	    negate = !negate
+	    negateOffset++
+	  }
+
+	  if (negateOffset) this.pattern = pattern.substr(negateOffset)
+	  this.negate = negate
+	}
+
+	// Brace expansion:
+	// a{b,c}d -> abd acd
+	// a{b,}c -> abc ac
+	// a{0..3}d -> a0d a1d a2d a3d
+	// a{b,c{d,e}f}g -> abg acdfg acefg
+	// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
+	//
+	// Invalid sets are not expanded.
+	// a{2..}b -> a{2..}b
+	// a{b}c -> a{b}c
+	minimatch.braceExpand = function (pattern, options) {
+	  return braceExpand(pattern, options)
+	}
+
+	Minimatch.prototype.braceExpand = braceExpand
+
+	function braceExpand (pattern, options) {
+	  if (!options) {
+	    if (this instanceof Minimatch) {
+	      options = this.options
+	    } else {
+	      options = {}
+	    }
+	  }
+
+	  pattern = typeof pattern === 'undefined'
+	    ? this.pattern : pattern
+
+	  if (typeof pattern === 'undefined') {
+	    throw new Error('undefined pattern')
+	  }
+
+	  if (options.nobrace ||
+	    !pattern.match(/\{.*\}/)) {
+	    // shortcut. no need to expand.
+	    return [pattern]
+	  }
+
+	  return expand(pattern)
+	}
+
+	// parse a component of the expanded set.
+	// At this point, no pattern may contain "/" in it
+	// so we're going to return a 2d array, where each entry is the full
+	// pattern, split on '/', and then turned into a regular expression.
+	// A regexp is made at the end which joins each array with an
+	// escaped /, and another full one which joins each regexp with |.
+	//
+	// Following the lead of Bash 4.1, note that "**" only has special meaning
+	// when it is the *only* thing in a path portion.  Otherwise, any series
+	// of * is equivalent to a single *.  Globstar behavior is enabled by
+	// default, and can be disabled by setting options.noglobstar.
+	Minimatch.prototype.parse = parse
+	var SUBPARSE = {}
+	function parse (pattern, isSub) {
+	  var options = this.options
+
+	  // shortcuts
+	  if (!options.noglobstar && pattern === '**') return GLOBSTAR
+	  if (pattern === '') return ''
+
+	  var re = ''
+	  var hasMagic = !!options.nocase
+	  var escaping = false
+	  // ? => one single character
+	  var patternListStack = []
+	  var negativeLists = []
+	  var plType
+	  var stateChar
+	  var inClass = false
+	  var reClassStart = -1
+	  var classStart = -1
+	  // . and .. never match anything that doesn't start with .,
+	  // even when options.dot is set.
+	  var patternStart = pattern.charAt(0) === '.' ? '' // anything
+	  // not (start or / followed by . or .. followed by / or end)
+	  : options.dot ? '(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))'
+	  : '(?!\\.)'
+	  var self = this
+
+	  function clearStateChar () {
+	    if (stateChar) {
+	      // we had some state-tracking character
+	      // that wasn't consumed by this pass.
+	      switch (stateChar) {
+	        case '*':
+	          re += star
+	          hasMagic = true
+	        break
+	        case '?':
+	          re += qmark
+	          hasMagic = true
+	        break
+	        default:
+	          re += '\\' + stateChar
+	        break
+	      }
+	      self.debug('clearStateChar %j %j', stateChar, re)
+	      stateChar = false
+	    }
+	  }
+
+	  for (var i = 0, len = pattern.length, c
+	    ; (i < len) && (c = pattern.charAt(i))
+	    ; i++) {
+	    this.debug('%s\t%s %s %j', pattern, i, re, c)
+
+	    // skip over any that are escaped.
+	    if (escaping && reSpecials[c]) {
+	      re += '\\' + c
+	      escaping = false
+	      continue
+	    }
+
+	    switch (c) {
+	      case '/':
+	        // completely not allowed, even escaped.
+	        // Should already be path-split by now.
+	        return false
+
+	      case '\\':
+	        clearStateChar()
+	        escaping = true
+	      continue
+
+	      // the various stateChar values
+	      // for the "extglob" stuff.
+	      case '?':
+	      case '*':
+	      case '+':
+	      case '@':
+	      case '!':
+	        this.debug('%s\t%s %s %j <-- stateChar', pattern, i, re, c)
+
+	        // all of those are literals inside a class, except that
+	        // the glob [!a] means [^a] in regexp
+	        if (inClass) {
+	          this.debug('  in class')
+	          if (c === '!' && i === classStart + 1) c = '^'
+	          re += c
+	          continue
+	        }
+
+	        // if we already have a stateChar, then it means
+	        // that there was something like ** or +? in there.
+	        // Handle the stateChar, then proceed with this one.
+	        self.debug('call clearStateChar %j', stateChar)
+	        clearStateChar()
+	        stateChar = c
+	        // if extglob is disabled, then +(asdf|foo) isn't a thing.
+	        // just clear the statechar *now*, rather than even diving into
+	        // the patternList stuff.
+	        if (options.noext) clearStateChar()
+	      continue
+
+	      case '(':
+	        if (inClass) {
+	          re += '('
+	          continue
+	        }
+
+	        if (!stateChar) {
+	          re += '\\('
+	          continue
+	        }
+
+	        plType = stateChar
+	        patternListStack.push({
+	          type: plType,
+	          start: i - 1,
+	          reStart: re.length
+	        })
+	        // negation is (?:(?!js)[^/]*)
+	        re += stateChar === '!' ? '(?:(?!(?:' : '(?:'
+	        this.debug('plType %j %j', stateChar, re)
+	        stateChar = false
+	      continue
+
+	      case ')':
+	        if (inClass || !patternListStack.length) {
+	          re += '\\)'
+	          continue
+	        }
+
+	        clearStateChar()
+	        hasMagic = true
+	        re += ')'
+	        var pl = patternListStack.pop()
+	        plType = pl.type
+	        // negation is (?:(?!js)[^/]*)
+	        // The others are (?:<pattern>)<type>
+	        switch (plType) {
+	          case '!':
+	            negativeLists.push(pl)
+	            re += ')[^/]*?)'
+	            pl.reEnd = re.length
+	            break
+	          case '?':
+	          case '+':
+	          case '*':
+	            re += plType
+	            break
+	          case '@': break // the default anyway
+	        }
+	      continue
+
+	      case '|':
+	        if (inClass || !patternListStack.length || escaping) {
+	          re += '\\|'
+	          escaping = false
+	          continue
+	        }
+
+	        clearStateChar()
+	        re += '|'
+	      continue
+
+	      // these are mostly the same in regexp and glob
+	      case '[':
+	        // swallow any state-tracking char before the [
+	        clearStateChar()
+
+	        if (inClass) {
+	          re += '\\' + c
+	          continue
+	        }
+
+	        inClass = true
+	        classStart = i
+	        reClassStart = re.length
+	        re += c
+	      continue
+
+	      case ']':
+	        //  a right bracket shall lose its special
+	        //  meaning and represent itself in
+	        //  a bracket expression if it occurs
+	        //  first in the list.  -- POSIX.2 2.8.3.2
+	        if (i === classStart + 1 || !inClass) {
+	          re += '\\' + c
+	          escaping = false
+	          continue
+	        }
+
+	        // handle the case where we left a class open.
+	        // "[z-a]" is valid, equivalent to "\[z-a\]"
+	        if (inClass) {
+	          // split where the last [ was, make sure we don't have
+	          // an invalid re. if so, re-walk the contents of the
+	          // would-be class to re-translate any characters that
+	          // were passed through as-is
+	          // TODO: It would probably be faster to determine this
+	          // without a try/catch and a new RegExp, but it's tricky
+	          // to do safely.  For now, this is safe and works.
+	          var cs = pattern.substring(classStart + 1, i)
+	          try {
+	            RegExp('[' + cs + ']')
+	          } catch (er) {
+	            // not a valid class!
+	            var sp = this.parse(cs, SUBPARSE)
+	            re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]'
+	            hasMagic = hasMagic || sp[1]
+	            inClass = false
+	            continue
+	          }
+	        }
+
+	        // finish up the class.
+	        hasMagic = true
+	        inClass = false
+	        re += c
+	      continue
+
+	      default:
+	        // swallow any state char that wasn't consumed
+	        clearStateChar()
+
+	        if (escaping) {
+	          // no need
+	          escaping = false
+	        } else if (reSpecials[c]
+	          && !(c === '^' && inClass)) {
+	          re += '\\'
+	        }
+
+	        re += c
+
+	    } // switch
+	  } // for
+
+	  // handle the case where we left a class open.
+	  // "[abc" is valid, equivalent to "\[abc"
+	  if (inClass) {
+	    // split where the last [ was, and escape it
+	    // this is a huge pita.  We now have to re-walk
+	    // the contents of the would-be class to re-translate
+	    // any characters that were passed through as-is
+	    cs = pattern.substr(classStart + 1)
+	    sp = this.parse(cs, SUBPARSE)
+	    re = re.substr(0, reClassStart) + '\\[' + sp[0]
+	    hasMagic = hasMagic || sp[1]
+	  }
+
+	  // handle the case where we had a +( thing at the *end*
+	  // of the pattern.
+	  // each pattern list stack adds 3 chars, and we need to go through
+	  // and escape any | chars that were passed through as-is for the regexp.
+	  // Go through and escape them, taking care not to double-escape any
+	  // | chars that were already escaped.
+	  for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
+	    var tail = re.slice(pl.reStart + 3)
+	    // maybe some even number of \, then maybe 1 \, followed by a |
+	    tail = tail.replace(/((?:\\{2})*)(\\?)\|/g, function (_, $1, $2) {
+	      if (!$2) {
+	        // the | isn't already escaped, so escape it.
+	        $2 = '\\'
+	      }
+
+	      // need to escape all those slashes *again*, without escaping the
+	      // one that we need for escaping the | character.  As it works out,
+	      // escaping an even number of slashes can be done by simply repeating
+	      // it exactly after itself.  That's why this trick works.
+	      //
+	      // I am sorry that you have to see this.
+	      return $1 + $1 + $2 + '|'
+	    })
+
+	    this.debug('tail=%j\n   %s', tail, tail)
+	    var t = pl.type === '*' ? star
+	      : pl.type === '?' ? qmark
+	      : '\\' + pl.type
+
+	    hasMagic = true
+	    re = re.slice(0, pl.reStart) + t + '\\(' + tail
+	  }
+
+	  // handle trailing things that only matter at the very end.
+	  clearStateChar()
+	  if (escaping) {
+	    // trailing \\
+	    re += '\\\\'
+	  }
+
+	  // only need to apply the nodot start if the re starts with
+	  // something that could conceivably capture a dot
+	  var addPatternStart = false
+	  switch (re.charAt(0)) {
+	    case '.':
+	    case '[':
+	    case '(': addPatternStart = true
+	  }
+
+	  // Hack to work around lack of negative lookbehind in JS
+	  // A pattern like: *.!(x).!(y|z) needs to ensure that a name
+	  // like 'a.xyz.yz' doesn't match.  So, the first negative
+	  // lookahead, has to look ALL the way ahead, to the end of
+	  // the pattern.
+	  for (var n = negativeLists.length - 1; n > -1; n--) {
+	    var nl = negativeLists[n]
+
+	    var nlBefore = re.slice(0, nl.reStart)
+	    var nlFirst = re.slice(nl.reStart, nl.reEnd - 8)
+	    var nlLast = re.slice(nl.reEnd - 8, nl.reEnd)
+	    var nlAfter = re.slice(nl.reEnd)
+
+	    nlLast += nlAfter
+
+	    // Handle nested stuff like *(*.js|!(*.json)), where open parens
+	    // mean that we should *not* include the ) in the bit that is considered
+	    // "after" the negated section.
+	    var openParensBefore = nlBefore.split('(').length - 1
+	    var cleanAfter = nlAfter
+	    for (i = 0; i < openParensBefore; i++) {
+	      cleanAfter = cleanAfter.replace(/\)[+*?]?/, '')
+	    }
+	    nlAfter = cleanAfter
+
+	    var dollar = ''
+	    if (nlAfter === '' && isSub !== SUBPARSE) {
+	      dollar = '$'
+	    }
+	    var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast
+	    re = newRe
+	  }
+
+	  // if the re is not "" at this point, then we need to make sure
+	  // it doesn't match against an empty path part.
+	  // Otherwise a/* will match a/, which it should not.
+	  if (re !== '' && hasMagic) {
+	    re = '(?=.)' + re
+	  }
+
+	  if (addPatternStart) {
+	    re = patternStart + re
+	  }
+
+	  // parsing just a piece of a larger pattern.
+	  if (isSub === SUBPARSE) {
+	    return [re, hasMagic]
+	  }
+
+	  // skip the regexp for non-magical patterns
+	  // unescape anything in it, though, so that it'll be
+	  // an exact match against a file etc.
+	  if (!hasMagic) {
+	    return globUnescape(pattern)
+	  }
+
+	  var flags = options.nocase ? 'i' : ''
+	  var regExp = new RegExp('^' + re + '$', flags)
+
+	  regExp._glob = pattern
+	  regExp._src = re
+
+	  return regExp
+	}
+
+	minimatch.makeRe = function (pattern, options) {
+	  return new Minimatch(pattern, options || {}).makeRe()
+	}
+
+	Minimatch.prototype.makeRe = makeRe
+	function makeRe () {
+	  if (this.regexp || this.regexp === false) return this.regexp
+
+	  // at this point, this.set is a 2d array of partial
+	  // pattern strings, or "**".
+	  //
+	  // It's better to use .match().  This function shouldn't
+	  // be used, really, but it's pretty convenient sometimes,
+	  // when you just want to work with a regex.
+	  var set = this.set
+
+	  if (!set.length) {
+	    this.regexp = false
+	    return this.regexp
+	  }
+	  var options = this.options
+
+	  var twoStar = options.noglobstar ? star
+	    : options.dot ? twoStarDot
+	    : twoStarNoDot
+	  var flags = options.nocase ? 'i' : ''
+
+	  var re = set.map(function (pattern) {
+	    return pattern.map(function (p) {
+	      return (p === GLOBSTAR) ? twoStar
+	      : (typeof p === 'string') ? regExpEscape(p)
+	      : p._src
+	    }).join('\\\/')
+	  }).join('|')
+
+	  // must match entire pattern
+	  // ending in a * or ** will make it less strict.
+	  re = '^(?:' + re + ')$'
+
+	  // can match anything, as long as it's not this.
+	  if (this.negate) re = '^(?!' + re + ').*$'
+
+	  try {
+	    this.regexp = new RegExp(re, flags)
+	  } catch (ex) {
+	    this.regexp = false
+	  }
+	  return this.regexp
+	}
+
+	minimatch.match = function (list, pattern, options) {
+	  options = options || {}
+	  var mm = new Minimatch(pattern, options)
+	  list = list.filter(function (f) {
+	    return mm.match(f)
+	  })
+	  if (mm.options.nonull && !list.length) {
+	    list.push(pattern)
+	  }
+	  return list
+	}
+
+	Minimatch.prototype.match = match
+	function match (f, partial) {
+	  this.debug('match', f, this.pattern)
+	  // short-circuit in the case of busted things.
+	  // comments, etc.
+	  if (this.comment) return false
+	  if (this.empty) return f === ''
+
+	  if (f === '/' && partial) return true
+
+	  var options = this.options
+
+	  // windows: need to use /, not \
+	  if (path.sep !== '/') {
+	    f = f.split(path.sep).join('/')
+	  }
+
+	  // treat the test path as a set of pathparts.
+	  f = f.split(slashSplit)
+	  this.debug(this.pattern, 'split', f)
+
+	  // just ONE of the pattern sets in this.set needs to match
+	  // in order for it to be valid.  If negating, then just one
+	  // match means that we have failed.
+	  // Either way, return on the first hit.
+
+	  var set = this.set
+	  this.debug(this.pattern, 'set', set)
+
+	  // Find the basename of the path by looking for the last non-empty segment
+	  var filename
+	  var i
+	  for (i = f.length - 1; i >= 0; i--) {
+	    filename = f[i]
+	    if (filename) break
+	  }
+
+	  for (i = 0; i < set.length; i++) {
+	    var pattern = set[i]
+	    var file = f
+	    if (options.matchBase && pattern.length === 1) {
+	      file = [filename]
+	    }
+	    var hit = this.matchOne(file, pattern, partial)
+	    if (hit) {
+	      if (options.flipNegate) return true
+	      return !this.negate
+	    }
+	  }
+
+	  // didn't get any hits.  this is success if it's a negative
+	  // pattern, failure otherwise.
+	  if (options.flipNegate) return false
+	  return this.negate
+	}
+
+	// set partial to true to test if, for example,
+	// "/a/b" matches the start of "/*/b/*/d"
+	// Partial means, if you run out of file before you run
+	// out of pattern, then that's fine, as long as all
+	// the parts match.
+	Minimatch.prototype.matchOne = function (file, pattern, partial) {
+	  var options = this.options
+
+	  this.debug('matchOne',
+	    { 'this': this, file: file, pattern: pattern })
+
+	  this.debug('matchOne', file.length, pattern.length)
+
+	  for (var fi = 0,
+	      pi = 0,
+	      fl = file.length,
+	      pl = pattern.length
+	      ; (fi < fl) && (pi < pl)
+	      ; fi++, pi++) {
+	    this.debug('matchOne loop')
+	    var p = pattern[pi]
+	    var f = file[fi]
+
+	    this.debug(pattern, p, f)
+
+	    // should be impossible.
+	    // some invalid regexp stuff in the set.
+	    if (p === false) return false
+
+	    if (p === GLOBSTAR) {
+	      this.debug('GLOBSTAR', [pattern, p, f])
+
+	      // "**"
+	      // a/**/b/**/c would match the following:
+	      // a/b/x/y/z/c
+	      // a/x/y/z/b/c
+	      // a/b/x/b/x/c
+	      // a/b/c
+	      // To do this, take the rest of the pattern after
+	      // the **, and see if it would match the file remainder.
+	      // If so, return success.
+	      // If not, the ** "swallows" a segment, and try again.
+	      // This is recursively awful.
+	      //
+	      // a/**/b/**/c matching a/b/x/y/z/c
+	      // - a matches a
+	      // - doublestar
+	      //   - matchOne(b/x/y/z/c, b/**/c)
+	      //     - b matches b
+	      //     - doublestar
+	      //       - matchOne(x/y/z/c, c) -> no
+	      //       - matchOne(y/z/c, c) -> no
+	      //       - matchOne(z/c, c) -> no
+	      //       - matchOne(c, c) yes, hit
+	      var fr = fi
+	      var pr = pi + 1
+	      if (pr === pl) {
+	        this.debug('** at the end')
+	        // a ** at the end will just swallow the rest.
+	        // We have found a match.
+	        // however, it will not swallow /.x, unless
+	        // options.dot is set.
+	        // . and .. are *never* matched by **, for explosively
+	        // exponential reasons.
+	        for (; fi < fl; fi++) {
+	          if (file[fi] === '.' || file[fi] === '..' ||
+	            (!options.dot && file[fi].charAt(0) === '.')) return false
+	        }
+	        return true
+	      }
+
+	      // ok, let's see if we can swallow whatever we can.
+	      while (fr < fl) {
+	        var swallowee = file[fr]
+
+	        this.debug('\nglobstar while', file, fr, pattern, pr, swallowee)
+
+	        // XXX remove this slice.  Just pass the start index.
+	        if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
+	          this.debug('globstar found match!', fr, fl, swallowee)
+	          // found a match.
+	          return true
+	        } else {
+	          // can't swallow "." or ".." ever.
+	          // can only swallow ".foo" when explicitly asked.
+	          if (swallowee === '.' || swallowee === '..' ||
+	            (!options.dot && swallowee.charAt(0) === '.')) {
+	            this.debug('dot detected!', file, fr, pattern, pr)
+	            break
+	          }
+
+	          // ** swallows a segment, and continue.
+	          this.debug('globstar swallow a segment, and continue')
+	          fr++
+	        }
+	      }
+
+	      // no match was found.
+	      // However, in partial mode, we can't say this is necessarily over.
+	      // If there's more *pattern* left, then
+	      if (partial) {
+	        // ran out of file
+	        this.debug('\n>>> no match, partial?', file, fr, pattern, pr)
+	        if (fr === fl) return true
+	      }
+	      return false
+	    }
+
+	    // something other than **
+	    // non-magic patterns just have to match exactly
+	    // patterns with magic have been turned into regexps.
+	    var hit
+	    if (typeof p === 'string') {
+	      if (options.nocase) {
+	        hit = f.toLowerCase() === p.toLowerCase()
+	      } else {
+	        hit = f === p
+	      }
+	      this.debug('string match', p, f, hit)
+	    } else {
+	      hit = f.match(p)
+	      this.debug('pattern match', p, f, hit)
+	    }
+
+	    if (!hit) return false
+	  }
+
+	  // Note: ending in / means that we'll get a final ""
+	  // at the end of the pattern.  This can only match a
+	  // corresponding "" at the end of the file.
+	  // If the file ends in /, then it can only match a
+	  // a pattern that ends in /, unless the pattern just
+	  // doesn't have any more for it. But, a/b/ should *not*
+	  // match "a/b/*", even though "" matches against the
+	  // [^/]*? pattern, except in partial mode, where it might
+	  // simply not be reached yet.
+	  // However, a/b/ should still satisfy a/*
+
+	  // now either we fell off the end of the pattern, or we're done.
+	  if (fi === fl && pi === pl) {
+	    // ran out of pattern and filename at the same time.
+	    // an exact hit!
+	    return true
+	  } else if (fi === fl) {
+	    // ran out of file, but still had pattern left.
+	    // this is ok if we're doing the match as part of
+	    // a glob fs traversal.
+	    return partial
+	  } else if (pi === pl) {
+	    // ran out of pattern, still have file left.
+	    // this is only acceptable if we're on the very last
+	    // empty segment of a file with a trailing slash.
+	    // a/* should match a/b/
+	    var emptyFileEnd = (fi === fl - 1) && (file[fi] === '')
+	    return emptyFileEnd
+	  }
+
+	  // should be unreachable.
+	  throw new Error('wtf?')
+	}
+
+	// replace stuff like \* with *
+	function globUnescape (s) {
+	  return s.replace(/\\(.)/g, '$1')
+	}
+
+	function regExpEscape (s) {
+	  return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
+	}
+
+
+/***/ },
+/* 189 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var concatMap = __webpack_require__(190);
+	var balanced = __webpack_require__(191);
+
+	module.exports = expandTop;
+
+	var escSlash = '\0SLASH'+Math.random()+'\0';
+	var escOpen = '\0OPEN'+Math.random()+'\0';
+	var escClose = '\0CLOSE'+Math.random()+'\0';
+	var escComma = '\0COMMA'+Math.random()+'\0';
+	var escPeriod = '\0PERIOD'+Math.random()+'\0';
+
+	function numeric(str) {
+	  return parseInt(str, 10) == str
+	    ? parseInt(str, 10)
+	    : str.charCodeAt(0);
+	}
+
+	function escapeBraces(str) {
+	  return str.split('\\\\').join(escSlash)
+	            .split('\\{').join(escOpen)
+	            .split('\\}').join(escClose)
+	            .split('\\,').join(escComma)
+	            .split('\\.').join(escPeriod);
+	}
+
+	function unescapeBraces(str) {
+	  return str.split(escSlash).join('\\')
+	            .split(escOpen).join('{')
+	            .split(escClose).join('}')
+	            .split(escComma).join(',')
+	            .split(escPeriod).join('.');
+	}
+
+
+	// Basically just str.split(","), but handling cases
+	// where we have nested braced sections, which should be
+	// treated as individual members, like {a,{b,c},d}
+	function parseCommaParts(str) {
+	  if (!str)
+	    return [''];
+
+	  var parts = [];
+	  var m = balanced('{', '}', str);
+
+	  if (!m)
+	    return str.split(',');
+
+	  var pre = m.pre;
+	  var body = m.body;
+	  var post = m.post;
+	  var p = pre.split(',');
+
+	  p[p.length-1] += '{' + body + '}';
+	  var postParts = parseCommaParts(post);
+	  if (post.length) {
+	    p[p.length-1] += postParts.shift();
+	    p.push.apply(p, postParts);
+	  }
+
+	  parts.push.apply(parts, p);
+
+	  return parts;
+	}
+
+	function expandTop(str) {
+	  if (!str)
+	    return [];
+
+	  return expand(escapeBraces(str), true).map(unescapeBraces);
+	}
+
+	function identity(e) {
+	  return e;
+	}
+
+	function embrace(str) {
+	  return '{' + str + '}';
+	}
+	function isPadded(el) {
+	  return /^-?0\d/.test(el);
+	}
+
+	function lte(i, y) {
+	  return i <= y;
+	}
+	function gte(i, y) {
+	  return i >= y;
+	}
+
+	function expand(str, isTop) {
+	  var expansions = [];
+
+	  var m = balanced('{', '}', str);
+	  if (!m || /\$$/.test(m.pre)) return [str];
+
+	  var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
+	  var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
+	  var isSequence = isNumericSequence || isAlphaSequence;
+	  var isOptions = /^(.*,)+(.+)?$/.test(m.body);
+	  if (!isSequence && !isOptions) {
+	    // {a},b}
+	    if (m.post.match(/,.*\}/)) {
+	      str = m.pre + '{' + m.body + escClose + m.post;
+	      return expand(str);
+	    }
+	    return [str];
+	  }
+
+	  var n;
+	  if (isSequence) {
+	    n = m.body.split(/\.\./);
+	  } else {
+	    n = parseCommaParts(m.body);
+	    if (n.length === 1) {
+	      // x{{a,b}}y ==> x{a}y x{b}y
+	      n = expand(n[0], false).map(embrace);
+	      if (n.length === 1) {
+	        var post = m.post.length
+	          ? expand(m.post, false)
+	          : [''];
+	        return post.map(function(p) {
+	          return m.pre + n[0] + p;
+	        });
+	      }
+	    }
+	  }
+
+	  // at this point, n is the parts, and we know it's not a comma set
+	  // with a single entry.
+
+	  // no need to expand pre, since it is guaranteed to be free of brace-sets
+	  var pre = m.pre;
+	  var post = m.post.length
+	    ? expand(m.post, false)
+	    : [''];
+
+	  var N;
+
+	  if (isSequence) {
+	    var x = numeric(n[0]);
+	    var y = numeric(n[1]);
+	    var width = Math.max(n[0].length, n[1].length)
+	    var incr = n.length == 3
+	      ? Math.abs(numeric(n[2]))
+	      : 1;
+	    var test = lte;
+	    var reverse = y < x;
+	    if (reverse) {
+	      incr *= -1;
+	      test = gte;
+	    }
+	    var pad = n.some(isPadded);
+
+	    N = [];
+
+	    for (var i = x; test(i, y); i += incr) {
+	      var c;
+	      if (isAlphaSequence) {
+	        c = String.fromCharCode(i);
+	        if (c === '\\')
+	          c = '';
+	      } else {
+	        c = String(i);
+	        if (pad) {
+	          var need = width - c.length;
+	          if (need > 0) {
+	            var z = new Array(need + 1).join('0');
+	            if (i < 0)
+	              c = '-' + z + c.slice(1);
+	            else
+	              c = z + c;
+	          }
+	        }
+	      }
+	      N.push(c);
+	    }
+	  } else {
+	    N = concatMap(n, function(el) { return expand(el, false) });
+	  }
+
+	  for (var j = 0; j < N.length; j++) {
+	    for (var k = 0; k < post.length; k++) {
+	      var expansion = pre + N[j] + post[k];
+	      if (!isTop || isSequence || expansion)
+	        expansions.push(expansion);
+	    }
+	  }
+
+	  return expansions;
+	}
+
+
+
+/***/ },
+/* 190 */
+/***/ function(module, exports) {
+
+	module.exports = function (xs, fn) {
+	    var res = [];
+	    for (var i = 0; i < xs.length; i++) {
+	        var x = fn(xs[i], i);
+	        if (isArray(x)) res.push.apply(res, x);
+	        else res.push(x);
+	    }
+	    return res;
+	};
+
+	var isArray = Array.isArray || function (xs) {
+	    return Object.prototype.toString.call(xs) === '[object Array]';
+	};
+
+
+/***/ },
+/* 191 */
+/***/ function(module, exports) {
+
+	module.exports = balanced;
+	function balanced(a, b, str) {
+	  var r = range(a, b, str);
+
+	  return r && {
+	    start: r[0],
+	    end: r[1],
+	    pre: str.slice(0, r[0]),
+	    body: str.slice(r[0] + a.length, r[1]),
+	    post: str.slice(r[1] + b.length)
+	  };
+	}
+
+	balanced.range = range;
+	function range(a, b, str) {
+	  var begs, beg, left, right, result;
+	  var ai = str.indexOf(a);
+	  var bi = str.indexOf(b, ai + 1);
+	  var i = ai;
+
+	  if (ai >= 0 && bi > 0) {
+	    begs = [];
+	    left = str.length;
+
+	    while (i < str.length && i >= 0 && ! result) {
+	      if (i == ai) {
+	        begs.push(i);
+	        ai = str.indexOf(a, i + 1);
+	      } else if (begs.length == 1) {
+	        result = [ begs.pop(), bi ];
+	      } else {
+	        beg = begs.pop();
+	        if (beg < left) {
+	          left = beg;
+	          right = bi;
+	        }
+
+	        bi = str.indexOf(b, i + 1);
+	      }
+
+	      i = ai < bi && ai >= 0 ? ai : bi;
+	    }
+
+	    if (begs.length) {
+	      result = [ left, right ];
+	    }
+	  }
+
+	  return result;
+	}
+
+
+/***/ },
+/* 192 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// http://wiki.commonjs.org/wiki/Unit_Testing/1.0
+	//
+	// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
+	//
+	// Originally from narwhal.js (http://narwhaljs.org)
+	// Copyright (c) 2009 Thomas Robinson <280north.com>
+	//
+	// Permission is hereby granted, free of charge, to any person obtaining a copy
+	// of this software and associated documentation files (the 'Software'), to
+	// deal in the Software without restriction, including without limitation the
+	// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+	// sell copies of the Software, and to permit persons to whom the Software is
+	// furnished to do so, subject to the following conditions:
+	//
+	// The above copyright notice and this permission notice shall be included in
+	// all copies or substantial portions of the Software.
+	//
+	// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+	// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+	// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+	// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+	// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+	// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+	// when used in node, this will actually load the util module we depend on
+	// versus loading the builtin util module as happens otherwise
+	// this is a bug in node module loading as far as I am concerned
+	var util = __webpack_require__(118);
+
+	var pSlice = Array.prototype.slice;
+	var hasOwn = Object.prototype.hasOwnProperty;
+
+	// 1. The assert module provides functions that throw
+	// AssertionError's when particular conditions are not met. The
+	// assert module must conform to the following interface.
+
+	var assert = module.exports = ok;
+
+	// 2. The AssertionError is defined in assert.
+	// new assert.AssertionError({ message: message,
+	//                             actual: actual,
+	//                             expected: expected })
+
+	assert.AssertionError = function AssertionError(options) {
+	  this.name = 'AssertionError';
+	  this.actual = options.actual;
+	  this.expected = options.expected;
+	  this.operator = options.operator;
+	  if (options.message) {
+	    this.message = options.message;
+	    this.generatedMessage = false;
+	  } else {
+	    this.message = getMessage(this);
+	    this.generatedMessage = true;
+	  }
+	  var stackStartFunction = options.stackStartFunction || fail;
+
+	  if (Error.captureStackTrace) {
+	    Error.captureStackTrace(this, stackStartFunction);
+	  }
+	  else {
+	    // non v8 browsers so we can have a stacktrace
+	    var err = new Error();
+	    if (err.stack) {
+	      var out = err.stack;
+
+	      // try to strip useless frames
+	      var fn_name = stackStartFunction.name;
+	      var idx = out.indexOf('\n' + fn_name);
+	      if (idx >= 0) {
+	        // once we have located the function frame
+	        // we need to strip out everything before it (and its line)
+	        var next_line = out.indexOf('\n', idx + 1);
+	        out = out.substring(next_line + 1);
+	      }
+
+	      this.stack = out;
+	    }
+	  }
+	};
+
+	// assert.AssertionError instanceof Error
+	util.inherits(assert.AssertionError, Error);
+
+	function replacer(key, value) {
+	  if (util.isUndefined(value)) {
+	    return '' + value;
+	  }
+	  if (util.isNumber(value) && !isFinite(value)) {
+	    return value.toString();
+	  }
+	  if (util.isFunction(value) || util.isRegExp(value)) {
+	    return value.toString();
+	  }
+	  return value;
+	}
+
+	function truncate(s, n) {
+	  if (util.isString(s)) {
+	    return s.length < n ? s : s.slice(0, n);
+	  } else {
+	    return s;
+	  }
+	}
+
+	function getMessage(self) {
+	  return truncate(JSON.stringify(self.actual, replacer), 128) + ' ' +
+	         self.operator + ' ' +
+	         truncate(JSON.stringify(self.expected, replacer), 128);
+	}
+
+	// At present only the three keys mentioned above are used and
+	// understood by the spec. Implementations or sub modules can pass
+	// other keys to the AssertionError's constructor - they will be
+	// ignored.
+
+	// 3. All of the following functions must throw an AssertionError
+	// when a corresponding condition is not met, with a message that
+	// may be undefined if not provided.  All assertion methods provide
+	// both the actual and expected values to the assertion error for
+	// display purposes.
+
+	function fail(actual, expected, message, operator, stackStartFunction) {
+	  throw new assert.AssertionError({
+	    message: message,
+	    actual: actual,
+	    expected: expected,
+	    operator: operator,
+	    stackStartFunction: stackStartFunction
+	  });
+	}
+
+	// EXTENSION! allows for well behaved errors defined elsewhere.
+	assert.fail = fail;
+
+	// 4. Pure assertion tests whether a value is truthy, as determined
+	// by !!guard.
+	// assert.ok(guard, message_opt);
+	// This statement is equivalent to assert.equal(true, !!guard,
+	// message_opt);. To test strictly for the value true, use
+	// assert.strictEqual(true, guard, message_opt);.
+
+	function ok(value, message) {
+	  if (!value) fail(value, true, message, '==', assert.ok);
+	}
+	assert.ok = ok;
+
+	// 5. The equality assertion tests shallow, coercive equality with
+	// ==.
+	// assert.equal(actual, expected, message_opt);
+
+	assert.equal = function equal(actual, expected, message) {
+	  if (actual != expected) fail(actual, expected, message, '==', assert.equal);
+	};
+
+	// 6. The non-equality assertion tests for whether two objects are not equal
+	// with != assert.notEqual(actual, expected, message_opt);
+
+	assert.notEqual = function notEqual(actual, expected, message) {
+	  if (actual == expected) {
+	    fail(actual, expected, message, '!=', assert.notEqual);
+	  }
+	};
+
+	// 7. The equivalence assertion tests a deep equality relation.
+	// assert.deepEqual(actual, expected, message_opt);
+
+	assert.deepEqual = function deepEqual(actual, expected, message) {
+	  if (!_deepEqual(actual, expected)) {
+	    fail(actual, expected, message, 'deepEqual', assert.deepEqual);
+	  }
+	};
+
+	function _deepEqual(actual, expected) {
+	  // 7.1. All identical values are equivalent, as determined by ===.
+	  if (actual === expected) {
+	    return true;
+
+	  } else if (util.isBuffer(actual) && util.isBuffer(expected)) {
+	    if (actual.length != expected.length) return false;
+
+	    for (var i = 0; i < actual.length; i++) {
+	      if (actual[i] !== expected[i]) return false;
+	    }
+
+	    return true;
+
+	  // 7.2. If the expected value is a Date object, the actual value is
+	  // equivalent if it is also a Date object that refers to the same time.
+	  } else if (util.isDate(actual) && util.isDate(expected)) {
+	    return actual.getTime() === expected.getTime();
+
+	  // 7.3 If the expected value is a RegExp object, the actual value is
+	  // equivalent if it is also a RegExp object with the same source and
+	  // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).
+	  } else if (util.isRegExp(actual) && util.isRegExp(expected)) {
+	    return actual.source === expected.source &&
+	           actual.global === expected.global &&
+	           actual.multiline === expected.multiline &&
+	           actual.lastIndex === expected.lastIndex &&
+	           actual.ignoreCase === expected.ignoreCase;
+
+	  // 7.4. Other pairs that do not both pass typeof value == 'object',
+	  // equivalence is determined by ==.
+	  } else if (!util.isObject(actual) && !util.isObject(expected)) {
+	    return actual == expected;
+
+	  // 7.5 For all other Object pairs, including Array objects, equivalence is
+	  // determined by having the same number of owned properties (as verified
+	  // with Object.prototype.hasOwnProperty.call), the same set of keys
+	  // (although not necessarily the same order), equivalent values for every
+	  // corresponding key, and an identical 'prototype' property. Note: this
+	  // accounts for both named and indexed properties on Arrays.
+	  } else {
+	    return objEquiv(actual, expected);
+	  }
+	}
+
+	function isArguments(object) {
+	  return Object.prototype.toString.call(object) == '[object Arguments]';
+	}
+
+	function objEquiv(a, b) {
+	  if (util.isNullOrUndefined(a) || util.isNullOrUndefined(b))
+	    return false;
+	  // an identical 'prototype' property.
+	  if (a.prototype !== b.prototype) return false;
+	  // if one is a primitive, the other must be same
+	  if (util.isPrimitive(a) || util.isPrimitive(b)) {
+	    return a === b;
+	  }
+	  var aIsArgs = isArguments(a),
+	      bIsArgs = isArguments(b);
+	  if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs))
+	    return false;
+	  if (aIsArgs) {
+	    a = pSlice.call(a);
+	    b = pSlice.call(b);
+	    return _deepEqual(a, b);
+	  }
+	  var ka = objectKeys(a),
+	      kb = objectKeys(b),
+	      key, i;
+	  // having the same number of owned properties (keys incorporates
+	  // hasOwnProperty)
+	  if (ka.length != kb.length)
+	    return false;
+	  //the same set of keys (although not necessarily the same order),
+	  ka.sort();
+	  kb.sort();
+	  //~~~cheap key test
+	  for (i = ka.length - 1; i >= 0; i--) {
+	    if (ka[i] != kb[i])
+	      return false;
+	  }
+	  //equivalent values for every corresponding key, and
+	  //~~~possibly expensive deep test
+	  for (i = ka.length - 1; i >= 0; i--) {
+	    key = ka[i];
+	    if (!_deepEqual(a[key], b[key])) return false;
+	  }
+	  return true;
+	}
+
+	// 8. The non-equivalence assertion tests for any deep inequality.
+	// assert.notDeepEqual(actual, expected, message_opt);
+
+	assert.notDeepEqual = function notDeepEqual(actual, expected, message) {
+	  if (_deepEqual(actual, expected)) {
+	    fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual);
+	  }
+	};
+
+	// 9. The strict equality assertion tests strict equality, as determined by ===.
+	// assert.strictEqual(actual, expected, message_opt);
+
+	assert.strictEqual = function strictEqual(actual, expected, message) {
+	  if (actual !== expected) {
+	    fail(actual, expected, message, '===', assert.strictEqual);
+	  }
+	};
+
+	// 10. The strict non-equality assertion tests for strict inequality, as
+	// determined by !==.  assert.notStrictEqual(actual, expected, message_opt);
+
+	assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
+	  if (actual === expected) {
+	    fail(actual, expected, message, '!==', assert.notStrictEqual);
+	  }
+	};
+
+	function expectedException(actual, expected) {
+	  if (!actual || !expected) {
+	    return false;
+	  }
+
+	  if (Object.prototype.toString.call(expected) == '[object RegExp]') {
+	    return expected.test(actual);
+	  } else if (actual instanceof expected) {
+	    return true;
+	  } else if (expected.call({}, actual) === true) {
+	    return true;
+	  }
+
+	  return false;
+	}
+
+	function _throws(shouldThrow, block, expected, message) {
+	  var actual;
+
+	  if (util.isString(expected)) {
+	    message = expected;
+	    expected = null;
+	  }
+
+	  try {
+	    block();
+	  } catch (e) {
+	    actual = e;
+	  }
+
+	  message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +
+	            (message ? ' ' + message : '.');
+
+	  if (shouldThrow && !actual) {
+	    fail(actual, expected, 'Missing expected exception' + message);
+	  }
+
+	  if (!shouldThrow && expectedException(actual, expected)) {
+	    fail(actual, expected, 'Got unwanted exception' + message);
+	  }
+
+	  if ((shouldThrow && actual && expected &&
+	      !expectedException(actual, expected)) || (!shouldThrow && actual)) {
+	    throw actual;
+	  }
+	}
+
+	// 11. Expected to throw an error:
+	// assert.throws(block, Error_opt, message_opt);
+
+	assert.throws = function(block, /*optional*/error, /*optional*/message) {
+	  _throws.apply(this, [true].concat(pSlice.call(arguments)));
+	};
+
+	// EXTENSION! This is annoying to write outside this module.
+	assert.doesNotThrow = function(block, /*optional*/message) {
+	  _throws.apply(this, [false].concat(pSlice.call(arguments)));
+	};
+
+	assert.ifError = function(err) { if (err) {throw err;}};
+
+	var objectKeys = Object.keys || function (obj) {
+	  var keys = [];
+	  for (var key in obj) {
+	    if (hasOwn.call(obj, key)) keys.push(key);
+	  }
+	  return keys;
+	};
+
+
+/***/ },
+/* 193 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {'use strict';
+
+	function posix(path) {
+		return path.charAt(0) === '/';
+	};
+
+	function win32(path) {
+		// https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
+		var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
+		var result = splitDeviceRe.exec(path);
+		var device = result[1] || '';
+		var isUnc = !!device && device.charAt(1) !== ':';
+
+		// UNC paths are always absolute
+		return !!result[2] || isUnc;
+	};
+
+	module.exports = process.platform === 'win32' ? win32 : posix;
+	module.exports.posix = posix;
+	module.exports.win32 = win32;
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 194 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {module.exports = globSync
+	globSync.GlobSync = GlobSync
+
+	var fs = __webpack_require__(186)
+	var minimatch = __webpack_require__(188)
+	var Minimatch = minimatch.Minimatch
+	var Glob = __webpack_require__(187).Glob
+	var util = __webpack_require__(118)
+	var path = __webpack_require__(28)
+	var assert = __webpack_require__(192)
+	var isAbsolute = __webpack_require__(193)
+	var common = __webpack_require__(195)
+	var alphasort = common.alphasort
+	var alphasorti = common.alphasorti
+	var setopts = common.setopts
+	var ownProp = common.ownProp
+	var childrenIgnored = common.childrenIgnored
+
+	function globSync (pattern, options) {
+	  if (typeof options === 'function' || arguments.length === 3)
+	    throw new TypeError('callback provided to sync glob\n'+
+	                        'See: https://github.com/isaacs/node-glob/issues/167')
+
+	  return new GlobSync(pattern, options).found
+	}
+
+	function GlobSync (pattern, options) {
+	  if (!pattern)
+	    throw new Error('must provide pattern')
+
+	  if (typeof options === 'function' || arguments.length === 3)
+	    throw new TypeError('callback provided to sync glob\n'+
+	                        'See: https://github.com/isaacs/node-glob/issues/167')
+
+	  if (!(this instanceof GlobSync))
+	    return new GlobSync(pattern, options)
+
+	  setopts(this, pattern, options)
+
+	  if (this.noprocess)
+	    return this
+
+	  var n = this.minimatch.set.length
+	  this.matches = new Array(n)
+	  for (var i = 0; i < n; i ++) {
+	    this._process(this.minimatch.set[i], i, false)
+	  }
+	  this._finish()
+	}
+
+	GlobSync.prototype._finish = function () {
+	  assert(this instanceof GlobSync)
+	  if (this.realpath) {
+	    var self = this
+	    this.matches.forEach(function (matchset, index) {
+	      var set = self.matches[index] = Object.create(null)
+	      for (var p in matchset) {
+	        try {
+	          p = self._makeAbs(p)
+	          var real = fs.realpathSync(p, self.realpathCache)
+	          set[real] = true
+	        } catch (er) {
+	          if (er.syscall === 'stat')
+	            set[self._makeAbs(p)] = true
+	          else
+	            throw er
+	        }
+	      }
+	    })
+	  }
+	  common.finish(this)
+	}
+
+
+	GlobSync.prototype._process = function (pattern, index, inGlobStar) {
+	  assert(this instanceof GlobSync)
+
+	  // Get the first [n] parts of pattern that are all strings.
+	  var n = 0
+	  while (typeof pattern[n] === 'string') {
+	    n ++
+	  }
+	  // now n is the index of the first one that is *not* a string.
+
+	  // See if there's anything else
+	  var prefix
+	  switch (n) {
+	    // if not, then this is rather simple
+	    case pattern.length:
+	      this._processSimple(pattern.join('/'), index)
+	      return
+
+	    case 0:
+	      // pattern *starts* with some non-trivial item.
+	      // going to readdir(cwd), but not include the prefix in matches.
+	      prefix = null
+	      break
+
+	    default:
+	      // pattern has some string bits in the front.
+	      // whatever it starts with, whether that's 'absolute' like /foo/bar,
+	      // or 'relative' like '../baz'
+	      prefix = pattern.slice(0, n).join('/')
+	      break
+	  }
+
+	  var remain = pattern.slice(n)
+
+	  // get the list of entries.
+	  var read
+	  if (prefix === null)
+	    read = '.'
+	  else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
+	    if (!prefix || !isAbsolute(prefix))
+	      prefix = '/' + prefix
+	    read = prefix
+	  } else
+	    read = prefix
+
+	  var abs = this._makeAbs(read)
+
+	  //if ignored, skip processing
+	  if (childrenIgnored(this, read))
+	    return
+
+	  var isGlobStar = remain[0] === minimatch.GLOBSTAR
+	  if (isGlobStar)
+	    this._processGlobStar(prefix, read, abs, remain, index, inGlobStar)
+	  else
+	    this._processReaddir(prefix, read, abs, remain, index, inGlobStar)
+	}
+
+
+	GlobSync.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar) {
+	  var entries = this._readdir(abs, inGlobStar)
+
+	  // if the abs isn't a dir, then nothing can match!
+	  if (!entries)
+	    return
+
+	  // It will only match dot entries if it starts with a dot, or if
+	  // dot is set.  Stuff like @(.foo|.bar) isn't allowed.
+	  var pn = remain[0]
+	  var negate = !!this.minimatch.negate
+	  var rawGlob = pn._glob
+	  var dotOk = this.dot || rawGlob.charAt(0) === '.'
+
+	  var matchedEntries = []
+	  for (var i = 0; i < entries.length; i++) {
+	    var e = entries[i]
+	    if (e.charAt(0) !== '.' || dotOk) {
+	      var m
+	      if (negate && !prefix) {
+	        m = !e.match(pn)
+	      } else {
+	        m = e.match(pn)
+	      }
+	      if (m)
+	        matchedEntries.push(e)
+	    }
+	  }
+
+	  var len = matchedEntries.length
+	  // If there are no matched entries, then nothing matches.
+	  if (len === 0)
+	    return
+
+	  // if this is the last remaining pattern bit, then no need for
+	  // an additional stat *unless* the user has specified mark or
+	  // stat explicitly.  We know they exist, since readdir returned
+	  // them.
+
+	  if (remain.length === 1 && !this.mark && !this.stat) {
+	    if (!this.matches[index])
+	      this.matches[index] = Object.create(null)
+
+	    for (var i = 0; i < len; i ++) {
+	      var e = matchedEntries[i]
+	      if (prefix) {
+	        if (prefix.slice(-1) !== '/')
+	          e = prefix + '/' + e
+	        else
+	          e = prefix + e
+	      }
+
+	      if (e.charAt(0) === '/' && !this.nomount) {
+	        e = path.join(this.root, e)
+	      }
+	      this.matches[index][e] = true
+	    }
+	    // This was the last one, and no stats were needed
+	    return
+	  }
+
+	  // now test all matched entries as stand-ins for that part
+	  // of the pattern.
+	  remain.shift()
+	  for (var i = 0; i < len; i ++) {
+	    var e = matchedEntries[i]
+	    var newPattern
+	    if (prefix)
+	      newPattern = [prefix, e]
+	    else
+	      newPattern = [e]
+	    this._process(newPattern.concat(remain), index, inGlobStar)
+	  }
+	}
+
+
+	GlobSync.prototype._emitMatch = function (index, e) {
+	  var abs = this._makeAbs(e)
+	  if (this.mark)
+	    e = this._mark(e)
+
+	  if (this.matches[index][e])
+	    return
+
+	  if (this.nodir) {
+	    var c = this.cache[this._makeAbs(e)]
+	    if (c === 'DIR' || Array.isArray(c))
+	      return
+	  }
+
+	  this.matches[index][e] = true
+	  if (this.stat)
+	    this._stat(e)
+	}
+
+
+	GlobSync.prototype._readdirInGlobStar = function (abs) {
+	  // follow all symlinked directories forever
+	  // just proceed as if this is a non-globstar situation
+	  if (this.follow)
+	    return this._readdir(abs, false)
+
+	  var entries
+	  var lstat
+	  var stat
+	  try {
+	    lstat = fs.lstatSync(abs)
+	  } catch (er) {
+	    // lstat failed, doesn't exist
+	    return null
+	  }
+
+	  var isSym = lstat.isSymbolicLink()
+	  this.symlinks[abs] = isSym
+
+	  // If it's not a symlink or a dir, then it's definitely a regular file.
+	  // don't bother doing a readdir in that case.
+	  if (!isSym && !lstat.isDirectory())
+	    this.cache[abs] = 'FILE'
+	  else
+	    entries = this._readdir(abs, false)
+
+	  return entries
+	}
+
+	GlobSync.prototype._readdir = function (abs, inGlobStar) {
+	  var entries
+
+	  if (inGlobStar && !ownProp(this.symlinks, abs))
+	    return this._readdirInGlobStar(abs)
+
+	  if (ownProp(this.cache, abs)) {
+	    var c = this.cache[abs]
+	    if (!c || c === 'FILE')
+	      return null
+
+	    if (Array.isArray(c))
+	      return c
+	  }
+
+	  try {
+	    return this._readdirEntries(abs, fs.readdirSync(abs))
+	  } catch (er) {
+	    this._readdirError(abs, er)
+	    return null
+	  }
+	}
+
+	GlobSync.prototype._readdirEntries = function (abs, entries) {
+	  // if we haven't asked to stat everything, then just
+	  // assume that everything in there exists, so we can avoid
+	  // having to stat it a second time.
+	  if (!this.mark && !this.stat) {
+	    for (var i = 0; i < entries.length; i ++) {
+	      var e = entries[i]
+	      if (abs === '/')
+	        e = abs + e
+	      else
+	        e = abs + '/' + e
+	      this.cache[e] = true
+	    }
+	  }
+
+	  this.cache[abs] = entries
+
+	  // mark and cache dir-ness
+	  return entries
+	}
+
+	GlobSync.prototype._readdirError = function (f, er) {
+	  // handle errors, and cache the information
+	  switch (er.code) {
+	    case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
+	    case 'ENOTDIR': // totally normal. means it *does* exist.
+	      var abs = this._makeAbs(f)
+	      this.cache[abs] = 'FILE'
+	      if (abs === this.cwdAbs) {
+	        var error = new Error(er.code + ' invalid cwd ' + this.cwd)
+	        error.path = this.cwd
+	        error.code = er.code
+	        throw error
+	      }
+	      break
+
+	    case 'ENOENT': // not terribly unusual
+	    case 'ELOOP':
+	    case 'ENAMETOOLONG':
+	    case 'UNKNOWN':
+	      this.cache[this._makeAbs(f)] = false
+	      break
+
+	    default: // some unusual error.  Treat as failure.
+	      this.cache[this._makeAbs(f)] = false
+	      if (this.strict)
+	        throw er
+	      if (!this.silent)
+	        console.error('glob error', er)
+	      break
+	  }
+	}
+
+	GlobSync.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar) {
+
+	  var entries = this._readdir(abs, inGlobStar)
+
+	  // no entries means not a dir, so it can never have matches
+	  // foo.txt/** doesn't match foo.txt
+	  if (!entries)
+	    return
+
+	  // test without the globstar, and with every child both below
+	  // and replacing the globstar.
+	  var remainWithoutGlobStar = remain.slice(1)
+	  var gspref = prefix ? [ prefix ] : []
+	  var noGlobStar = gspref.concat(remainWithoutGlobStar)
+
+	  // the noGlobStar pattern exits the inGlobStar state
+	  this._process(noGlobStar, index, false)
+
+	  var len = entries.length
+	  var isSym = this.symlinks[abs]
+
+	  // If it's a symlink, and we're in a globstar, then stop
+	  if (isSym && inGlobStar)
+	    return
+
+	  for (var i = 0; i < len; i++) {
+	    var e = entries[i]
+	    if (e.charAt(0) === '.' && !this.dot)
+	      continue
+
+	    // these two cases enter the inGlobStar state
+	    var instead = gspref.concat(entries[i], remainWithoutGlobStar)
+	    this._process(instead, index, true)
+
+	    var below = gspref.concat(entries[i], remain)
+	    this._process(below, index, true)
+	  }
+	}
+
+	GlobSync.prototype._processSimple = function (prefix, index) {
+	  // XXX review this.  Shouldn't it be doing the mounting etc
+	  // before doing stat?  kinda weird?
+	  var exists = this._stat(prefix)
+
+	  if (!this.matches[index])
+	    this.matches[index] = Object.create(null)
+
+	  // If it doesn't exist, then just mark the lack of results
+	  if (!exists)
+	    return
+
+	  if (prefix && isAbsolute(prefix) && !this.nomount) {
+	    var trail = /[\/\\]$/.test(prefix)
+	    if (prefix.charAt(0) === '/') {
+	      prefix = path.join(this.root, prefix)
+	    } else {
+	      prefix = path.resolve(this.root, prefix)
+	      if (trail)
+	        prefix += '/'
+	    }
+	  }
+
+	  if (process.platform === 'win32')
+	    prefix = prefix.replace(/\\/g, '/')
+
+	  // Mark this as a match
+	  this.matches[index][prefix] = true
+	}
+
+	// Returns either 'DIR', 'FILE', or false
+	GlobSync.prototype._stat = function (f) {
+	  var abs = this._makeAbs(f)
+	  var needDir = f.slice(-1) === '/'
+
+	  if (f.length > this.maxLength)
+	    return false
+
+	  if (!this.stat && ownProp(this.cache, abs)) {
+	    var c = this.cache[abs]
+
+	    if (Array.isArray(c))
+	      c = 'DIR'
+
+	    // It exists, but maybe not how we need it
+	    if (!needDir || c === 'DIR')
+	      return c
+
+	    if (needDir && c === 'FILE')
+	      return false
+
+	    // otherwise we have to stat, because maybe c=true
+	    // if we know it exists, but not what it is.
+	  }
+
+	  var exists
+	  var stat = this.statCache[abs]
+	  if (!stat) {
+	    var lstat
+	    try {
+	      lstat = fs.lstatSync(abs)
+	    } catch (er) {
+	      return false
+	    }
+
+	    if (lstat.isSymbolicLink()) {
+	      try {
+	        stat = fs.statSync(abs)
+	      } catch (er) {
+	        stat = lstat
+	      }
+	    } else {
+	      stat = lstat
+	    }
+	  }
+
+	  this.statCache[abs] = stat
+
+	  var c = stat.isDirectory() ? 'DIR' : 'FILE'
+	  this.cache[abs] = this.cache[abs] || c
+
+	  if (needDir && c !== 'DIR')
+	    return false
+
+	  return c
+	}
+
+	GlobSync.prototype._mark = function (p) {
+	  return common.mark(this, p)
+	}
+
+	GlobSync.prototype._makeAbs = function (f) {
+	  return common.makeAbs(this, f)
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 195 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {exports.alphasort = alphasort
+	exports.alphasorti = alphasorti
+	exports.setopts = setopts
+	exports.ownProp = ownProp
+	exports.makeAbs = makeAbs
+	exports.finish = finish
+	exports.mark = mark
+	exports.isIgnored = isIgnored
+	exports.childrenIgnored = childrenIgnored
+
+	function ownProp (obj, field) {
+	  return Object.prototype.hasOwnProperty.call(obj, field)
+	}
+
+	var path = __webpack_require__(28)
+	var minimatch = __webpack_require__(188)
+	var isAbsolute = __webpack_require__(193)
+	var Minimatch = minimatch.Minimatch
+
+	function alphasorti (a, b) {
+	  return a.toLowerCase().localeCompare(b.toLowerCase())
+	}
+
+	function alphasort (a, b) {
+	  return a.localeCompare(b)
+	}
+
+	function setupIgnores (self, options) {
+	  self.ignore = options.ignore || []
+
+	  if (!Array.isArray(self.ignore))
+	    self.ignore = [self.ignore]
+
+	  if (self.ignore.length) {
+	    self.ignore = self.ignore.map(ignoreMap)
+	  }
+	}
+
+	// ignore patterns are always in dot:true mode.
+	function ignoreMap (pattern) {
+	  var gmatcher = null
+	  if (pattern.slice(-3) === '/**') {
+	    var gpattern = pattern.replace(/(\/\*\*)+$/, '')
+	    gmatcher = new Minimatch(gpattern, { dot: true })
+	  }
+
+	  return {
+	    matcher: new Minimatch(pattern, { dot: true }),
+	    gmatcher: gmatcher
+	  }
+	}
+
+	function setopts (self, pattern, options) {
+	  if (!options)
+	    options = {}
+
+	  // base-matching: just use globstar for that.
+	  if (options.matchBase && -1 === pattern.indexOf("/")) {
+	    if (options.noglobstar) {
+	      throw new Error("base matching requires globstar")
+	    }
+	    pattern = "**/" + pattern
+	  }
+
+	  self.silent = !!options.silent
+	  self.pattern = pattern
+	  self.strict = options.strict !== false
+	  self.realpath = !!options.realpath
+	  self.realpathCache = options.realpathCache || Object.create(null)
+	  self.follow = !!options.follow
+	  self.dot = !!options.dot
+	  self.mark = !!options.mark
+	  self.nodir = !!options.nodir
+	  if (self.nodir)
+	    self.mark = true
+	  self.sync = !!options.sync
+	  self.nounique = !!options.nounique
+	  self.nonull = !!options.nonull
+	  self.nosort = !!options.nosort
+	  self.nocase = !!options.nocase
+	  self.stat = !!options.stat
+	  self.noprocess = !!options.noprocess
+
+	  self.maxLength = options.maxLength || Infinity
+	  self.cache = options.cache || Object.create(null)
+	  self.statCache = options.statCache || Object.create(null)
+	  self.symlinks = options.symlinks || Object.create(null)
+
+	  setupIgnores(self, options)
+
+	  self.changedCwd = false
+	  var cwd = process.cwd()
+	  if (!ownProp(options, "cwd"))
+	    self.cwd = cwd
+	  else {
+	    self.cwd = path.resolve(options.cwd)
+	    self.changedCwd = self.cwd !== cwd
+	  }
+
+	  self.root = options.root || path.resolve(self.cwd, "/")
+	  self.root = path.resolve(self.root)
+	  if (process.platform === "win32")
+	    self.root = self.root.replace(/\\/g, "/")
+
+	  self.cwdAbs = makeAbs(self, self.cwd)
+	  self.nomount = !!options.nomount
+
+	  // disable comments and negation in Minimatch.
+	  // Note that they are not supported in Glob itself anyway.
+	  options.nonegate = true
+	  options.nocomment = true
+
+	  self.minimatch = new Minimatch(pattern, options)
+	  self.options = self.minimatch.options
+	}
+
+	function finish (self) {
+	  var nou = self.nounique
+	  var all = nou ? [] : Object.create(null)
+
+	  for (var i = 0, l = self.matches.length; i < l; i ++) {
+	    var matches = self.matches[i]
+	    if (!matches || Object.keys(matches).length === 0) {
+	      if (self.nonull) {
+	        // do like the shell, and spit out the literal glob
+	        var literal = self.minimatch.globSet[i]
+	        if (nou)
+	          all.push(literal)
+	        else
+	          all[literal] = true
+	      }
+	    } else {
+	      // had matches
+	      var m = Object.keys(matches)
+	      if (nou)
+	        all.push.apply(all, m)
+	      else
+	        m.forEach(function (m) {
+	          all[m] = true
+	        })
+	    }
+	  }
+
+	  if (!nou)
+	    all = Object.keys(all)
+
+	  if (!self.nosort)
+	    all = all.sort(self.nocase ? alphasorti : alphasort)
+
+	  // at *some* point we statted all of these
+	  if (self.mark) {
+	    for (var i = 0; i < all.length; i++) {
+	      all[i] = self._mark(all[i])
+	    }
+	    if (self.nodir) {
+	      all = all.filter(function (e) {
+	        var notDir = !(/\/$/.test(e))
+	        var c = self.cache[e] || self.cache[makeAbs(self, e)]
+	        if (notDir && c)
+	          notDir = c !== 'DIR' && !Array.isArray(c)
+	        return notDir
+	      })
+	    }
+	  }
+
+	  if (self.ignore.length)
+	    all = all.filter(function(m) {
+	      return !isIgnored(self, m)
+	    })
+
+	  self.found = all
+	}
+
+	function mark (self, p) {
+	  var abs = makeAbs(self, p)
+	  var c = self.cache[abs]
+	  var m = p
+	  if (c) {
+	    var isDir = c === 'DIR' || Array.isArray(c)
+	    var slash = p.slice(-1) === '/'
+
+	    if (isDir && !slash)
+	      m += '/'
+	    else if (!isDir && slash)
+	      m = m.slice(0, -1)
+
+	    if (m !== p) {
+	      var mabs = makeAbs(self, m)
+	      self.statCache[mabs] = self.statCache[abs]
+	      self.cache[mabs] = self.cache[abs]
+	    }
+	  }
+
+	  return m
+	}
+
+	// lotta situps...
+	function makeAbs (self, f) {
+	  var abs = f
+	  if (f.charAt(0) === '/') {
+	    abs = path.join(self.root, f)
+	  } else if (isAbsolute(f) || f === '') {
+	    abs = f
+	  } else if (self.changedCwd) {
+	    abs = path.resolve(self.cwd, f)
+	  } else {
+	    abs = path.resolve(f)
+	  }
+
+	  if (process.platform === 'win32')
+	    abs = abs.replace(/\\/g, '/')
+
+	  return abs
+	}
+
+
+	// Return true, if pattern ends with globstar '**', for the accompanying parent directory.
+	// Ex:- If node_modules/** is the pattern, add 'node_modules' to ignore list along with it's contents
+	function isIgnored (self, path) {
+	  if (!self.ignore.length)
+	    return false
+
+	  return self.ignore.some(function(item) {
+	    return item.matcher.match(path) || !!(item.gmatcher && item.gmatcher.match(path))
+	  })
+	}
+
+	function childrenIgnored (self, path) {
+	  if (!self.ignore.length)
+	    return false
+
+	  return self.ignore.some(function(item) {
+	    return !!(item.gmatcher && item.gmatcher.match(path))
+	  })
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 196 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {var wrappy = __webpack_require__(197)
+	var reqs = Object.create(null)
+	var once = __webpack_require__(198)
+
+	module.exports = wrappy(inflight)
+
+	function inflight (key, cb) {
+	  if (reqs[key]) {
+	    reqs[key].push(cb)
+	    return null
+	  } else {
+	    reqs[key] = [cb]
+	    return makeres(key)
+	  }
+	}
+
+	function makeres (key) {
+	  return once(function RES () {
+	    var cbs = reqs[key]
+	    var len = cbs.length
+	    var args = slice(arguments)
+	    for (var i = 0; i < len; i++) {
+	      cbs[i].apply(null, args)
+	    }
+	    if (cbs.length > len) {
+	      // added more in the interim.
+	      // de-zalgo, just in case, but don't call again.
+	      cbs.splice(0, len)
+	      process.nextTick(function () {
+	        RES.apply(null, args)
+	      })
+	    } else {
+	      delete reqs[key]
+	    }
+	  })
+	}
+
+	function slice (args) {
+	  var length = args.length
+	  var array = []
+
+	  for (var i = 0; i < length; i++) array[i] = args[i]
+	  return array
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 197 */
+/***/ function(module, exports) {
+
+	// Returns a wrapper function that returns a wrapped callback
+	// The wrapper function should do some stuff, and return a
+	// presumably different callback function.
+	// This makes sure that own properties are retained, so that
+	// decorations and such are not lost along the way.
+	module.exports = wrappy
+	function wrappy (fn, cb) {
+	  if (fn && cb) return wrappy(fn)(cb)
+
+	  if (typeof fn !== 'function')
+	    throw new TypeError('need wrapper function')
+
+	  Object.keys(fn).forEach(function (k) {
+	    wrapper[k] = fn[k]
+	  })
+
+	  return wrapper
+
+	  function wrapper() {
+	    var args = new Array(arguments.length)
+	    for (var i = 0; i < args.length; i++) {
+	      args[i] = arguments[i]
+	    }
+	    var ret = fn.apply(this, args)
+	    var cb = args[args.length-1]
+	    if (typeof ret === 'function' && ret !== cb) {
+	      Object.keys(cb).forEach(function (k) {
+	        ret[k] = cb[k]
+	      })
+	    }
+	    return ret
+	  }
+	}
+
+
+/***/ },
+/* 198 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var wrappy = __webpack_require__(197)
+	module.exports = wrappy(once)
+
+	once.proto = once(function () {
+	  Object.defineProperty(Function.prototype, 'once', {
+	    value: function () {
+	      return once(this)
+	    },
+	    configurable: true
+	  })
+	})
+
+	function once (fn) {
+	  var f = function () {
+	    if (f.called) return f.value
+	    f.called = true
+	    return f.value = fn.apply(this, arguments)
+	  }
+	  f.called = false
+	  return f
+	}
+
+
+/***/ },
+/* 199 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(process) {'use strict';
+
+	var _keys = __webpack_require__(200);
+
+	var _keys2 = _interopRequireDefault(_keys);
+
+	var _assign = __webpack_require__(212);
+
+	var _assign2 = _interopRequireDefault(_assign);
+
+	var _classCallCheck2 = __webpack_require__(219);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(220);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var fs = __webpack_require__(223);
+
+	var isNodejs = process.version ? true : false;
+
+	var LogLevels = {
+	  'DEBUG': 'DEBUG',
+	  'INFO': 'INFO',
+	  'WARN': 'WARN',
+	  'ERROR': 'ERROR',
+	  'NONE': 'NONE'
+	};
+
+	// Default log level
+	var GlobalLogLevel = LogLevels.DEBUG;
+
+	// ANSI colors
+	var Colors = {
+	  'Black': 0,
+	  'Red': 1,
+	  'Green': 2,
+	  'Yellow': 3,
+	  'Blue': 4,
+	  'Magenta': 5,
+	  'Cyan': 6,
+	  'Grey': 7,
+	  'White': 9,
+	  'Default': 9
+	};
+
+	// CSS colors
+	if (!isNodejs) {
+	  Colors = {
+	    'Black': 'Black',
+	    'Red': 'IndianRed',
+	    'Green': 'LimeGreen',
+	    'Yellow': 'Orange',
+	    'Blue': 'RoyalBlue',
+	    'Magenta': 'Orchid',
+	    'Cyan': 'SkyBlue',
+	    'Grey': 'DimGrey',
+	    'White': 'White',
+	    'Default': 'Black'
+	  };
+	}
+
+	var loglevelColors = [Colors.Cyan, Colors.Green, Colors.Yellow, Colors.Red, Colors.Default];
+
+	var defaultOptions = {
+	  useColors: true,
+	  color: Colors.Default,
+	  showTimestamp: true,
+	  showLevel: true,
+	  filename: null,
+	  appendFile: true
+	};
+
+	var Logger = function () {
+	  function Logger(category, options) {
+	    (0, _classCallCheck3.default)(this, Logger);
+
+	    this.category = category;
+
+	    var opts = {};
+	    (0, _assign2.default)(opts, defaultOptions);
+	    (0, _assign2.default)(opts, options);
+	    this.options = opts;
+
+	    if (this.options.filename) {
+	      var flags = this.options.appendFile ? 'a' : 'w';
+	      this.fileWriter = fs.createWriteStream(this.options.filename, { flags: flags });
+	    }
+	  }
+
+	  (0, _createClass3.default)(Logger, [{
+	    key: 'debug',
+	    value: function debug(text) {
+	      this._write(LogLevels.DEBUG, text);
+	    }
+	  }, {
+	    key: 'log',
+	    value: function log(text) {
+	      this.debug(text);
+	    }
+	  }, {
+	    key: 'info',
+	    value: function info(text) {
+	      this._write(LogLevels.INFO, text);
+	    }
+	  }, {
+	    key: 'warn',
+	    value: function warn(text) {
+	      this._write(LogLevels.WARN, text);
+	    }
+	  }, {
+	    key: 'error',
+	    value: function error(text) {
+	      this._write(LogLevels.ERROR, text);
+	    }
+	  }, {
+	    key: '_write',
+	    value: function _write(level, text) {
+	      if (!this._shouldLog(level)) return;
+
+	      var format = this._format(level, text);
+	      var unformattedText = this._createLogMessage(level, text);
+	      var formattedText = this._createLogMessage(level, text, format.timestamp, format.level, format.category, format.text);
+
+	      if (this.fileWriter) this.fileWriter.write(unformattedText + '\n');
+
+	      if (isNodejs) {
+	        console.log(formattedText);
+	      } else {
+	        // TODO: clean this up
+	        if (level === LogLevels.ERROR) {
+	          if (this.options.showTimestamp && this.options.showLevel) {
+	            console.error(formattedText, format.timestamp, format.level, format.category, format.text);
+	          } else if (this.options.showTimestamp && !this.options.showLevel) {
+	            console.error(formattedText, format.timestamp, format.category, format.text);
+	          } else if (!this.options.showTimestamp && this.options.showLevel) {
+	            console.error(formattedText, format.level, format.category, format.text);
+	          } else {
+	            console.error(formattedText, format.category, format.text);
+	          }
+	        } else {
+	          if (this.options.showTimestamp && this.options.showLevel) {
+	            console.log(formattedText, format.timestamp, format.level, format.category, format.text);
+	          } else if (this.options.showTimestamp && !this.options.showLevel) {
+	            console.log(formattedText, format.timestamp, format.category, format.text);
+	          } else if (!this.options.showTimestamp && this.options.showLevel) {
+	            console.log(formattedText, format.level, format.category, format.text);
+	          } else {
+	            console.log(formattedText, format.category, format.text);
+	          }
+	        }
+	      }
+	    }
+	  }, {
+	    key: '_format',
+	    value: function _format(level, text) {
+	      var timestampFormat = '';
+	      var levelFormat = '';
+	      var categoryFormat = '';
+	      var textFormat = ': ';
+
+	      if (this.options.useColors) {
+	        var levelColor = (0, _keys2.default)(LogLevels).map(function (f) {
+	          return LogLevels[f];
+	        }).indexOf(level);
+	        var categoryColor = this.options.color;
+
+	        if (isNodejs) {
+	          if (this.options.showTimestamp) timestampFormat = '\u001b[3' + Colors.Grey + 'm';
+
+	          if (this.options.showLevel) levelFormat = '\u001b[3' + loglevelColors[levelColor] + ';22m';
+
+	          categoryFormat = '\u001b[3' + categoryColor + ';1m';
+	          textFormat = '\u001b[0m: ';
+	        } else {
+	          if (this.options.showTimestamp) timestampFormat = 'color:' + Colors.Grey;
+
+	          if (this.options.showLevel) levelFormat = 'color:' + loglevelColors[levelColor];
+
+	          categoryFormat = 'color:' + categoryColor + '; font-weight: bold';
+
+	          // textFormat = 'background:' + Colors.Red;
+	        }
+	      }
+
+	      return {
+	        timestamp: timestampFormat,
+	        level: levelFormat,
+	        category: categoryFormat,
+	        text: textFormat
+	      };
+	    }
+	  }, {
+	    key: '_createLogMessage',
+	    value: function _createLogMessage(level, text, timestampFormat, levelFormat, categoryFormat, textFormat) {
+	      timestampFormat = timestampFormat || '';
+	      levelFormat = levelFormat || '';
+	      categoryFormat = categoryFormat || '';
+	      textFormat = textFormat || ': ';
+
+	      if (!isNodejs) {
+	        if (this.options.showTimestamp) timestampFormat = '%c';
+
+	        if (this.options.showLevel) levelFormat = '%c';
+
+	        categoryFormat = '%c';
+	        textFormat = ': %c';
+	      }
+
+	      var result = '';
+
+	      if (this.options.showTimestamp) result += '' + new Date().toISOString() + ' ';
+
+	      result = timestampFormat + result;
+
+	      if (this.options.showLevel) result += levelFormat + '[' + level + ']' + (level === LogLevels.INFO || level === LogLevels.WARN ? ' ' : '') + ' ';
+
+	      result += categoryFormat + this.category;
+	      result += textFormat + text;
+	      return result;
+	    }
+	  }, {
+	    key: '_shouldLog',
+	    value: function _shouldLog(level) {
+	      var levels = (0, _keys2.default)(LogLevels).map(function (f) {
+	        return LogLevels[f];
+	      });
+	      var index = levels.indexOf(level);
+	      var levelIdx = levels.indexOf(GlobalLogLevel);
+	      return index >= levelIdx;
+	    }
+	  }]);
+	  return Logger;
+	}();
+
+	;
+
+	/* Public API */
+	module.exports = {
+	  Colors: Colors,
+	  LogLevel: LogLevels,
+	  setLogLevel: function setLogLevel(level) {
+	    GlobalLogLevel = level;
+	  },
+	  create: function create(category, options) {
+	    return new Logger(category, options);
+	  }
+	};
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27)))
+
+/***/ },
+/* 200 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(201), __esModule: true };
+
+/***/ },
+/* 201 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(202);
+	module.exports = __webpack_require__(208).Object.keys;
+
+/***/ },
+/* 202 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.14 Object.keys(O)
+	var toObject = __webpack_require__(203);
+
+	__webpack_require__(205)('keys', function($keys){
+	  return function keys(it){
+	    return $keys(toObject(it));
+	  };
+	});
+
+/***/ },
+/* 203 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.1.13 ToObject(argument)
+	var defined = __webpack_require__(204);
+	module.exports = function(it){
+	  return Object(defined(it));
+	};
+
+/***/ },
+/* 204 */
+/***/ function(module, exports) {
+
+	// 7.2.1 RequireObjectCoercible(argument)
+	module.exports = function(it){
+	  if(it == undefined)throw TypeError("Can't call method on  " + it);
+	  return it;
+	};
+
+/***/ },
+/* 205 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// most Object methods by ES6 should accept primitives
+	var $export = __webpack_require__(206)
+	  , core    = __webpack_require__(208)
+	  , fails   = __webpack_require__(211);
+	module.exports = function(KEY, exec){
+	  var fn  = (core.Object || {})[KEY] || Object[KEY]
+	    , exp = {};
+	  exp[KEY] = exec(fn);
+	  $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
+	};
+
+/***/ },
+/* 206 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global    = __webpack_require__(207)
+	  , core      = __webpack_require__(208)
+	  , ctx       = __webpack_require__(209)
+	  , PROTOTYPE = 'prototype';
+
+	var $export = function(type, name, source){
+	  var IS_FORCED = type & $export.F
+	    , IS_GLOBAL = type & $export.G
+	    , IS_STATIC = type & $export.S
+	    , IS_PROTO  = type & $export.P
+	    , IS_BIND   = type & $export.B
+	    , IS_WRAP   = type & $export.W
+	    , exports   = IS_GLOBAL ? core : core[name] || (core[name] = {})
+	    , target    = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
+	    , key, own, out;
+	  if(IS_GLOBAL)source = name;
+	  for(key in source){
+	    // contains in native
+	    own = !IS_FORCED && target && key in target;
+	    if(own && key in exports)continue;
+	    // export native or passed
+	    out = own ? target[key] : source[key];
+	    // prevent global pollution for namespaces
+	    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
+	    // bind timers to global for call from export context
+	    : IS_BIND && own ? ctx(out, global)
+	    // wrap global constructors for prevent change them in library
+	    : IS_WRAP && target[key] == out ? (function(C){
+	      var F = function(param){
+	        return this instanceof C ? new C(param) : C(param);
+	      };
+	      F[PROTOTYPE] = C[PROTOTYPE];
+	      return F;
+	    // make static versions for prototype methods
+	    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
+	    if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
+	  }
+	};
+	// type bitmap
+	$export.F = 1;  // forced
+	$export.G = 2;  // global
+	$export.S = 4;  // static
+	$export.P = 8;  // proto
+	$export.B = 16; // bind
+	$export.W = 32; // wrap
+	module.exports = $export;
+
+/***/ },
+/* 207 */
+/***/ function(module, exports) {
+
+	// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+	var global = module.exports = typeof window != 'undefined' && window.Math == Math
+	  ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
+	if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
+
+/***/ },
+/* 208 */
+/***/ function(module, exports) {
+
+	var core = module.exports = {version: '1.2.6'};
+	if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
+
+/***/ },
+/* 209 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// optional / simple context binding
+	var aFunction = __webpack_require__(210);
+	module.exports = function(fn, that, length){
+	  aFunction(fn);
+	  if(that === undefined)return fn;
+	  switch(length){
+	    case 1: return function(a){
+	      return fn.call(that, a);
+	    };
+	    case 2: return function(a, b){
+	      return fn.call(that, a, b);
+	    };
+	    case 3: return function(a, b, c){
+	      return fn.call(that, a, b, c);
+	    };
+	  }
+	  return function(/* ...args */){
+	    return fn.apply(that, arguments);
+	  };
+	};
+
+/***/ },
+/* 210 */
+/***/ function(module, exports) {
+
+	module.exports = function(it){
+	  if(typeof it != 'function')throw TypeError(it + ' is not a function!');
+	  return it;
+	};
+
+/***/ },
+/* 211 */
+/***/ function(module, exports) {
+
+	module.exports = function(exec){
+	  try {
+	    return !!exec();
+	  } catch(e){
+	    return true;
+	  }
+	};
+
+/***/ },
+/* 212 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(213), __esModule: true };
+
+/***/ },
+/* 213 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(214);
+	module.exports = __webpack_require__(208).Object.assign;
+
+/***/ },
+/* 214 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.3.1 Object.assign(target, source)
+	var $export = __webpack_require__(206);
+
+	$export($export.S + $export.F, 'Object', {assign: __webpack_require__(215)});
+
+/***/ },
+/* 215 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.1 Object.assign(target, source, ...)
+	var $        = __webpack_require__(216)
+	  , toObject = __webpack_require__(203)
+	  , IObject  = __webpack_require__(217);
+
+	// should work with symbols and should have deterministic property order (V8 bug)
+	module.exports = __webpack_require__(211)(function(){
+	  var a = Object.assign
+	    , A = {}
+	    , B = {}
+	    , S = Symbol()
+	    , K = 'abcdefghijklmnopqrst';
+	  A[S] = 7;
+	  K.split('').forEach(function(k){ B[k] = k; });
+	  return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
+	}) ? function assign(target, source){ // eslint-disable-line no-unused-vars
+	  var T     = toObject(target)
+	    , $$    = arguments
+	    , $$len = $$.length
+	    , index = 1
+	    , getKeys    = $.getKeys
+	    , getSymbols = $.getSymbols
+	    , isEnum     = $.isEnum;
+	  while($$len > index){
+	    var S      = IObject($$[index++])
+	      , keys   = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
+	      , length = keys.length
+	      , j      = 0
+	      , key;
+	    while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
+	  }
+	  return T;
+	} : Object.assign;
+
+/***/ },
+/* 216 */
+/***/ function(module, exports) {
+
+	var $Object = Object;
+	module.exports = {
+	  create:     $Object.create,
+	  getProto:   $Object.getPrototypeOf,
+	  isEnum:     {}.propertyIsEnumerable,
+	  getDesc:    $Object.getOwnPropertyDescriptor,
+	  setDesc:    $Object.defineProperty,
+	  setDescs:   $Object.defineProperties,
+	  getKeys:    $Object.keys,
+	  getNames:   $Object.getOwnPropertyNames,
+	  getSymbols: $Object.getOwnPropertySymbols,
+	  each:       [].forEach
+	};
+
+/***/ },
+/* 217 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// fallback for non-array-like ES3 and non-enumerable old V8 strings
+	var cof = __webpack_require__(218);
+	module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
+	  return cof(it) == 'String' ? it.split('') : Object(it);
+	};
+
+/***/ },
+/* 218 */
+/***/ function(module, exports) {
+
+	var toString = {}.toString;
+
+	module.exports = function(it){
+	  return toString.call(it).slice(8, -1);
+	};
+
+/***/ },
+/* 219 */
+/***/ function(module, exports) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	exports.default = function (instance, Constructor) {
+	  if (!(instance instanceof Constructor)) {
+	    throw new TypeError("Cannot call a class as a function");
+	  }
+	};
+
+/***/ },
+/* 220 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	var _defineProperty = __webpack_require__(221);
+
+	var _defineProperty2 = _interopRequireDefault(_defineProperty);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	exports.default = function () {
+	  function defineProperties(target, props) {
+	    for (var i = 0; i < props.length; i++) {
+	      var descriptor = props[i];
+	      descriptor.enumerable = descriptor.enumerable || false;
+	      descriptor.configurable = true;
+	      if ("value" in descriptor) descriptor.writable = true;
+	      (0, _defineProperty2.default)(target, descriptor.key, descriptor);
+	    }
+	  }
+
+	  return function (Constructor, protoProps, staticProps) {
+	    if (protoProps) defineProperties(Constructor.prototype, protoProps);
+	    if (staticProps) defineProperties(Constructor, staticProps);
+	    return Constructor;
+	  };
+	}();
+
+/***/ },
+/* 221 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(222), __esModule: true };
+
+/***/ },
+/* 222 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $ = __webpack_require__(216);
+	module.exports = function defineProperty(it, key, desc){
+	  return $.setDesc(it, key, desc);
+	};
+
+/***/ },
+/* 223 */
+/***/ function(module, exports) {
+
+	"use strict";
+
+	module.exports = {
+	  createWriteStream: function createWriteStream(filename, options) {
+	    return;
+	  },
+	  writeFileSync: function writeFileSync() {
+	    return;
+	  }
+	};
+
+/***/ },
+/* 224 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _defineProperty2 = __webpack_require__(225);
+
+	var _defineProperty3 = _interopRequireDefault(_defineProperty2);
+
+	var _iterator3 = __webpack_require__(226);
+
+	var _iterator4 = _interopRequireDefault(_iterator3);
+
+	var _promise = __webpack_require__(238);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(259);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var EventEmitter = __webpack_require__(41).EventEmitter;
+	var logger = __webpack_require__(199).create("orbit-db.Client");
+	var PubSub = __webpack_require__(260);
+	var OrbitDB = __webpack_require__(316);
+
+	var Client = function () {
+	  function Client(ipfs, options) {
+	    (0, _classCallCheck3.default)(this, Client);
+
+	    this._ipfs = ipfs;
+	    this._pubsub = null;
+	    this.user = null;
+	    this.network = null;
+	    this.events = new EventEmitter();
+	    this.options = options || {};
+	    this.db = new OrbitDB(this._ipfs, this.options);
+	  }
+
+	  (0, _createClass3.default)(Client, [{
+	    key: 'channel',
+	    value: function channel(_channel, password, subscribe) {
+	      var _this = this;
+
+	      if (password === undefined) password = '';
+	      if (subscribe === undefined) subscribe = true;
+
+	      var api = {
+	        iterator: function iterator(options) {
+	          return _this._iterator(_channel, password, options);
+	        },
+	        delete: function _delete() {
+	          return _this.db.deleteChannel(_channel, password);
+	        },
+	        del: function del(key) {
+	          return _this.db.del(_channel, password, key);
+	        },
+	        add: function add(data) {
+	          return _this.db.add(_channel, password, data);
+	        },
+	        put: function put(key, value) {
+	          return _this.db.put(_channel, password, key, value);
+	        },
+	        get: function get(key) {
+	          var items = _this._iterator(_channel, password, { key: key }).collect();
+	          return items[0] ? items[0] : null;
+	        },
+	        close: function close() {
+	          return _this._pubsub.unsubscribe(_channel);
+	        }
+	      };
+
+	      return new _promise2.default(function (resolve, reject) {
+	        // Hook to the events from the db and pubsub
+	        _this.db.use(_channel, _this.user).then(function () {
+	          _this.db.events[_channel].on('write', _this._onWrite.bind(_this));
+	          _this.db.events[_channel].on('sync', _this._onSync.bind(_this));
+	          _this.db.events[_channel].on('load', _this._onLoad.bind(_this));
+	          _this.db.events[_channel].on('loaded', _this._onLoaded.bind(_this));
+
+	          if (subscribe) _this._pubsub.subscribe(_channel, password, _this._onMessage.bind(_this));
+
+	          resolve(api);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'disconnect',
+	    value: function disconnect() {
+	      this._pubsub.disconnect();
+	      this._store = {};
+	      this.user = null;
+	      this.network = null;
+	    }
+	  }, {
+	    key: '_onMessage',
+	    value: function _onMessage(channel, message) {
+	      this.db.sync(channel, message);
+	    }
+	  }, {
+	    key: '_onWrite',
+	    value: function _onWrite(channel, hash) {
+	      this._pubsub.publish(channel, hash);
+	      this.events.emit('data', channel, hash);
+	    }
+	  }, {
+	    key: '_onSync',
+	    value: function _onSync(channel, hash) {
+	      this.events.emit('data', channel, hash);
+	    }
+	  }, {
+	    key: '_onLoad',
+	    value: function _onLoad(channel, hash) {
+	      this.events.emit('load', channel, hash);
+	    }
+	  }, {
+	    key: '_onLoaded',
+	    value: function _onLoaded(channel, hash) {
+	      this.events.emit('loaded', channel, hash);
+	    }
+	  }, {
+	    key: '_iterator',
+	    value: function _iterator(channel, password, options) {
+	      var _iterator2;
+
+	      var messages = this.db.query(channel, password, options);
+	      var currentIndex = 0;
+	      var iterator = (_iterator2 = {}, (0, _defineProperty3.default)(_iterator2, _iterator4.default, function () {
+	        return this;
+	      }), (0, _defineProperty3.default)(_iterator2, 'next', function next() {
+	        var item = { value: null, done: true };
+	        if (currentIndex < messages.length) {
+	          item = { value: messages[currentIndex], done: false };
+	          currentIndex++;
+	        }
+	        return item;
+	      }), (0, _defineProperty3.default)(_iterator2, 'collect', function collect() {
+	        return messages;
+	      }), _iterator2);
+
+	      return iterator;
+	    }
+	  }, {
+	    key: '_connect',
+	    value: function _connect(host, port, username, password, allowOffline) {
+	      var _this2 = this;
+
+	      return new _promise2.default(function (resolve, reject) {
+	        if (allowOffline === undefined) allowOffline = false;
+
+	        _this2._pubsub = new PubSub(_this2._ipfs);
+	        _this2._pubsub.connect(host, port, username, password).then(function () {
+	          logger.debug('Connected to Pubsub at \'' + host + ':' + port + '\'');
+	          _this2.user = { username: username, id: username }; // TODO: user id from ipfs hash
+	          _this2.network = { host: host, port: port, name: 'TODO: network name' };
+	          resolve();
+	        }).catch(function (e) {
+	          logger.warn("Couldn't connect to Pubsub:", e.message);
+	          if (!allowOffline) {
+	            logger.debug("'allowOffline' set to false, terminating");
+	            _this2._pubsub.disconnect();
+	            reject(e);
+	            return;
+	          }
+	          _this2.user = { username: username, id: username }; // TODO: user id from ipfs hash
+	          _this2.network = { host: host, port: port, name: 'TODO: network name' };
+	          resolve();
+	        });
+	      });
+	    }
+	  }]);
+	  return Client;
+	}();
+
+	var OrbitClientFactory = function () {
+	  function OrbitClientFactory() {
+	    (0, _classCallCheck3.default)(this, OrbitClientFactory);
+	  }
+
+	  (0, _createClass3.default)(OrbitClientFactory, null, [{
+	    key: 'connect',
+	    value: function connect(host, port, username, password, ipfs, options) {
+	      var createClient = function createClient(ipfs) {
+	        return new _promise2.default(function (resolve, reject) {
+	          var client = new Client(ipfs, options);
+	          client._connect(host, port, username, password, options.allowOffline).then(function () {
+	            return resolve(client);
+	          }).catch(reject);
+	        });
+	      };
+
+	      options = options ? options : {};
+
+	      if (!ipfs) {
+	        logger.error("IPFS instance not provided");
+	        throw new Error("IPFS instance not provided");
+	      }
+
+	      return createClient(ipfs);
+	    }
+	  }]);
+	  return OrbitClientFactory;
+	}();
+
+	module.exports = OrbitClientFactory;
+
+/***/ },
+/* 225 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	var _defineProperty = __webpack_require__(73);
+
+	var _defineProperty2 = _interopRequireDefault(_defineProperty);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	exports.default = function (obj, key, value) {
+	  if (key in obj) {
+	    (0, _defineProperty2.default)(obj, key, {
+	      value: value,
+	      enumerable: true,
+	      configurable: true,
+	      writable: true
+	    });
+	  } else {
+	    obj[key] = value;
+	  }
+
+	  return obj;
+	};
+
+/***/ },
+/* 226 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(227), __esModule: true };
+
+/***/ },
+/* 227 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(228);
+	__webpack_require__(234);
+	module.exports = __webpack_require__(102)('iterator');
+
+/***/ },
+/* 228 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var $at  = __webpack_require__(229)(true);
+
+	// 21.1.3.27 String.prototype[@@iterator]()
+	__webpack_require__(231)(String, 'String', function(iterated){
+	  this._t = String(iterated); // target
+	  this._i = 0;                // next index
+	// 21.1.5.2.1 %StringIteratorPrototype%.next()
+	}, function(){
+	  var O     = this._t
+	    , index = this._i
+	    , point;
+	  if(index >= O.length)return {value: undefined, done: true};
+	  point = $at(O, index);
+	  this._i += point.length;
+	  return {value: point, done: false};
+	});
+
+/***/ },
+/* 229 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var toInteger = __webpack_require__(230)
+	  , defined   = __webpack_require__(33);
+	// true  -> String#at
+	// false -> String#codePointAt
+	module.exports = function(TO_STRING){
+	  return function(that, pos){
+	    var s = String(defined(that))
+	      , i = toInteger(pos)
+	      , l = s.length
+	      , a, b;
+	    if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
+	    a = s.charCodeAt(i);
+	    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
+	      ? TO_STRING ? s.charAt(i) : a
+	      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
+	  };
+	};
+
+/***/ },
+/* 230 */
+/***/ function(module, exports) {
+
+	// 7.1.4 ToInteger
+	var ceil  = Math.ceil
+	  , floor = Math.floor;
+	module.exports = function(it){
+	  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
+	};
+
+/***/ },
+/* 231 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var LIBRARY        = __webpack_require__(109)
+	  , $export        = __webpack_require__(35)
+	  , redefine       = __webpack_require__(97)
+	  , hide           = __webpack_require__(98)
+	  , has            = __webpack_require__(95)
+	  , Iterators      = __webpack_require__(232)
+	  , $iterCreate    = __webpack_require__(233)
+	  , setToStringTag = __webpack_require__(101)
+	  , getProto       = __webpack_require__(75).getProto
+	  , ITERATOR       = __webpack_require__(102)('iterator')
+	  , BUGGY          = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
+	  , FF_ITERATOR    = '@@iterator'
+	  , KEYS           = 'keys'
+	  , VALUES         = 'values';
+
+	var returnThis = function(){ return this; };
+
+	module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
+	  $iterCreate(Constructor, NAME, next);
+	  var getMethod = function(kind){
+	    if(!BUGGY && kind in proto)return proto[kind];
+	    switch(kind){
+	      case KEYS: return function keys(){ return new Constructor(this, kind); };
+	      case VALUES: return function values(){ return new Constructor(this, kind); };
+	    } return function entries(){ return new Constructor(this, kind); };
+	  };
+	  var TAG        = NAME + ' Iterator'
+	    , DEF_VALUES = DEFAULT == VALUES
+	    , VALUES_BUG = false
+	    , proto      = Base.prototype
+	    , $native    = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
+	    , $default   = $native || getMethod(DEFAULT)
+	    , methods, key;
+	  // Fix native
+	  if($native){
+	    var IteratorPrototype = getProto($default.call(new Base));
+	    // Set @@toStringTag to native iterators
+	    setToStringTag(IteratorPrototype, TAG, true);
+	    // FF fix
+	    if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
+	    // fix Array#{values, @@iterator}.name in V8 / FF
+	    if(DEF_VALUES && $native.name !== VALUES){
+	      VALUES_BUG = true;
+	      $default = function values(){ return $native.call(this); };
+	    }
+	  }
+	  // Define iterator
+	  if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
+	    hide(proto, ITERATOR, $default);
+	  }
+	  // Plug for library
+	  Iterators[NAME] = $default;
+	  Iterators[TAG]  = returnThis;
+	  if(DEFAULT){
+	    methods = {
+	      values:  DEF_VALUES  ? $default : getMethod(VALUES),
+	      keys:    IS_SET      ? $default : getMethod(KEYS),
+	      entries: !DEF_VALUES ? $default : getMethod('entries')
+	    };
+	    if(FORCED)for(key in methods){
+	      if(!(key in proto))redefine(proto, key, methods[key]);
+	    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
+	  }
+	  return methods;
+	};
+
+/***/ },
+/* 232 */
+/***/ function(module, exports) {
+
+	module.exports = {};
+
+/***/ },
+/* 233 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var $              = __webpack_require__(75)
+	  , descriptor     = __webpack_require__(99)
+	  , setToStringTag = __webpack_require__(101)
+	  , IteratorPrototype = {};
+
+	// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
+	__webpack_require__(98)(IteratorPrototype, __webpack_require__(102)('iterator'), function(){ return this; });
+
+	module.exports = function(Constructor, NAME, next){
+	  Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
+	  setToStringTag(Constructor, NAME + ' Iterator');
+	};
+
+/***/ },
+/* 234 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(235);
+	var Iterators = __webpack_require__(232);
+	Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
+
+/***/ },
+/* 235 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var addToUnscopables = __webpack_require__(236)
+	  , step             = __webpack_require__(237)
+	  , Iterators        = __webpack_require__(232)
+	  , toIObject        = __webpack_require__(79);
+
+	// 22.1.3.4 Array.prototype.entries()
+	// 22.1.3.13 Array.prototype.keys()
+	// 22.1.3.29 Array.prototype.values()
+	// 22.1.3.30 Array.prototype[@@iterator]()
+	module.exports = __webpack_require__(231)(Array, 'Array', function(iterated, kind){
+	  this._t = toIObject(iterated); // target
+	  this._i = 0;                   // next index
+	  this._k = kind;                // kind
+	// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
+	}, function(){
+	  var O     = this._t
+	    , kind  = this._k
+	    , index = this._i++;
+	  if(!O || index >= O.length){
+	    this._t = undefined;
+	    return step(1);
+	  }
+	  if(kind == 'keys'  )return step(0, index);
+	  if(kind == 'values')return step(0, O[index]);
+	  return step(0, [index, O[index]]);
+	}, 'values');
+
+	// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
+	Iterators.Arguments = Iterators.Array;
+
+	addToUnscopables('keys');
+	addToUnscopables('values');
+	addToUnscopables('entries');
+
+/***/ },
+/* 236 */
+/***/ function(module, exports) {
+
+	module.exports = function(){ /* empty */ };
+
+/***/ },
+/* 237 */
+/***/ function(module, exports) {
+
+	module.exports = function(done, value){
+	  return {value: value, done: !!done};
+	};
+
+/***/ },
+/* 238 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(239), __esModule: true };
+
+/***/ },
+/* 239 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(110);
+	__webpack_require__(228);
+	__webpack_require__(234);
+	__webpack_require__(240);
+	module.exports = __webpack_require__(37).Promise;
+
+/***/ },
+/* 240 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var $          = __webpack_require__(75)
+	  , LIBRARY    = __webpack_require__(109)
+	  , global     = __webpack_require__(36)
+	  , ctx        = __webpack_require__(38)
+	  , classof    = __webpack_require__(241)
+	  , $export    = __webpack_require__(35)
+	  , isObject   = __webpack_require__(108)
+	  , anObject   = __webpack_require__(107)
+	  , aFunction  = __webpack_require__(39)
+	  , strictNew  = __webpack_require__(242)
+	  , forOf      = __webpack_require__(243)
+	  , setProto   = __webpack_require__(133).set
+	  , same       = __webpack_require__(248)
+	  , SPECIES    = __webpack_require__(102)('species')
+	  , speciesConstructor = __webpack_require__(249)
+	  , asap       = __webpack_require__(250)
+	  , PROMISE    = 'Promise'
+	  , process    = global.process
+	  , isNode     = classof(process) == 'process'
+	  , P          = global[PROMISE]
+	  , Wrapper;
+
+	var testResolve = function(sub){
+	  var test = new P(function(){});
+	  if(sub)test.constructor = Object;
+	  return P.resolve(test) === test;
+	};
+
+	var USE_NATIVE = function(){
+	  var works = false;
+	  function P2(x){
+	    var self = new P(x);
+	    setProto(self, P2.prototype);
+	    return self;
+	  }
+	  try {
+	    works = P && P.resolve && testResolve();
+	    setProto(P2, P);
+	    P2.prototype = $.create(P.prototype, {constructor: {value: P2}});
+	    // actual Firefox has broken subclass support, test that
+	    if(!(P2.resolve(5).then(function(){}) instanceof P2)){
+	      works = false;
+	    }
+	    // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
+	    if(works && __webpack_require__(96)){
+	      var thenableThenGotten = false;
+	      P.resolve($.setDesc({}, 'then', {
+	        get: function(){ thenableThenGotten = true; }
+	      }));
+	      works = thenableThenGotten;
+	    }
+	  } catch(e){ works = false; }
+	  return works;
+	}();
+
+	// helpers
+	var sameConstructor = function(a, b){
+	  // library wrapper special case
+	  if(LIBRARY && a === P && b === Wrapper)return true;
+	  return same(a, b);
+	};
+	var getConstructor = function(C){
+	  var S = anObject(C)[SPECIES];
+	  return S != undefined ? S : C;
+	};
+	var isThenable = function(it){
+	  var then;
+	  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
+	};
+	var PromiseCapability = function(C){
+	  var resolve, reject;
+	  this.promise = new C(function($$resolve, $$reject){
+	    if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
+	    resolve = $$resolve;
+	    reject  = $$reject;
+	  });
+	  this.resolve = aFunction(resolve),
+	  this.reject  = aFunction(reject)
+	};
+	var perform = function(exec){
+	  try {
+	    exec();
+	  } catch(e){
+	    return {error: e};
+	  }
+	};
+	var notify = function(record, isReject){
+	  if(record.n)return;
+	  record.n = true;
+	  var chain = record.c;
+	  asap(function(){
+	    var value = record.v
+	      , ok    = record.s == 1
+	      , i     = 0;
+	    var run = function(reaction){
+	      var handler = ok ? reaction.ok : reaction.fail
+	        , resolve = reaction.resolve
+	        , reject  = reaction.reject
+	        , result, then;
+	      try {
+	        if(handler){
+	          if(!ok)record.h = true;
+	          result = handler === true ? value : handler(value);
+	          if(result === reaction.promise){
+	            reject(TypeError('Promise-chain cycle'));
+	          } else if(then = isThenable(result)){
+	            then.call(result, resolve, reject);
+	          } else resolve(result);
+	        } else reject(value);
+	      } catch(e){
+	        reject(e);
+	      }
+	    };
+	    while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
+	    chain.length = 0;
+	    record.n = false;
+	    if(isReject)setTimeout(function(){
+	      var promise = record.p
+	        , handler, console;
+	      if(isUnhandled(promise)){
+	        if(isNode){
+	          process.emit('unhandledRejection', value, promise);
+	        } else if(handler = global.onunhandledrejection){
+	          handler({promise: promise, reason: value});
+	        } else if((console = global.console) && console.error){
+	          console.error('Unhandled promise rejection', value);
+	        }
+	      } record.a = undefined;
+	    }, 1);
+	  });
+	};
+	var isUnhandled = function(promise){
+	  var record = promise._d
+	    , chain  = record.a || record.c
+	    , i      = 0
+	    , reaction;
+	  if(record.h)return false;
+	  while(chain.length > i){
+	    reaction = chain[i++];
+	    if(reaction.fail || !isUnhandled(reaction.promise))return false;
+	  } return true;
+	};
+	var $reject = function(value){
+	  var record = this;
+	  if(record.d)return;
+	  record.d = true;
+	  record = record.r || record; // unwrap
+	  record.v = value;
+	  record.s = 2;
+	  record.a = record.c.slice();
+	  notify(record, true);
+	};
+	var $resolve = function(value){
+	  var record = this
+	    , then;
+	  if(record.d)return;
+	  record.d = true;
+	  record = record.r || record; // unwrap
+	  try {
+	    if(record.p === value)throw TypeError("Promise can't be resolved itself");
+	    if(then = isThenable(value)){
+	      asap(function(){
+	        var wrapper = {r: record, d: false}; // wrap
+	        try {
+	          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
+	        } catch(e){
+	          $reject.call(wrapper, e);
+	        }
+	      });
+	    } else {
+	      record.v = value;
+	      record.s = 1;
+	      notify(record, false);
+	    }
+	  } catch(e){
+	    $reject.call({r: record, d: false}, e); // wrap
+	  }
+	};
+
+	// constructor polyfill
+	if(!USE_NATIVE){
+	  // 25.4.3.1 Promise(executor)
+	  P = function Promise(executor){
+	    aFunction(executor);
+	    var record = this._d = {
+	      p: strictNew(this, P, PROMISE),         // <- promise
+	      c: [],                                  // <- awaiting reactions
+	      a: undefined,                           // <- checked in isUnhandled reactions
+	      s: 0,                                   // <- state
+	      d: false,                               // <- done
+	      v: undefined,                           // <- value
+	      h: false,                               // <- handled rejection
+	      n: false                                // <- notify
+	    };
+	    try {
+	      executor(ctx($resolve, record, 1), ctx($reject, record, 1));
+	    } catch(err){
+	      $reject.call(record, err);
+	    }
+	  };
+	  __webpack_require__(255)(P.prototype, {
+	    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
+	    then: function then(onFulfilled, onRejected){
+	      var reaction = new PromiseCapability(speciesConstructor(this, P))
+	        , promise  = reaction.promise
+	        , record   = this._d;
+	      reaction.ok   = typeof onFulfilled == 'function' ? onFulfilled : true;
+	      reaction.fail = typeof onRejected == 'function' && onRejected;
+	      record.c.push(reaction);
+	      if(record.a)record.a.push(reaction);
+	      if(record.s)notify(record, false);
+	      return promise;
+	    },
+	    // 25.4.5.1 Promise.prototype.catch(onRejected)
+	    'catch': function(onRejected){
+	      return this.then(undefined, onRejected);
+	    }
+	  });
+	}
+
+	$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});
+	__webpack_require__(101)(P, PROMISE);
+	__webpack_require__(256)(PROMISE);
+	Wrapper = __webpack_require__(37)[PROMISE];
+
+	// statics
+	$export($export.S + $export.F * !USE_NATIVE, PROMISE, {
+	  // 25.4.4.5 Promise.reject(r)
+	  reject: function reject(r){
+	    var capability = new PromiseCapability(this)
+	      , $$reject   = capability.reject;
+	    $$reject(r);
+	    return capability.promise;
+	  }
+	});
+	$export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {
+	  // 25.4.4.6 Promise.resolve(x)
+	  resolve: function resolve(x){
+	    // instanceof instead of internal slot check because we should fix it without replacement native Promise core
+	    if(x instanceof P && sameConstructor(x.constructor, this))return x;
+	    var capability = new PromiseCapability(this)
+	      , $$resolve  = capability.resolve;
+	    $$resolve(x);
+	    return capability.promise;
+	  }
+	});
+	$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(257)(function(iter){
+	  P.all(iter)['catch'](function(){});
+	})), PROMISE, {
+	  // 25.4.4.1 Promise.all(iterable)
+	  all: function all(iterable){
+	    var C          = getConstructor(this)
+	      , capability = new PromiseCapability(C)
+	      , resolve    = capability.resolve
+	      , reject     = capability.reject
+	      , values     = [];
+	    var abrupt = perform(function(){
+	      forOf(iterable, false, values.push, values);
+	      var remaining = values.length
+	        , results   = Array(remaining);
+	      if(remaining)$.each.call(values, function(promise, index){
+	        var alreadyCalled = false;
+	        C.resolve(promise).then(function(value){
+	          if(alreadyCalled)return;
+	          alreadyCalled = true;
+	          results[index] = value;
+	          --remaining || resolve(results);
+	        }, reject);
+	      });
+	      else resolve(results);
+	    });
+	    if(abrupt)reject(abrupt.error);
+	    return capability.promise;
+	  },
+	  // 25.4.4.4 Promise.race(iterable)
+	  race: function race(iterable){
+	    var C          = getConstructor(this)
+	      , capability = new PromiseCapability(C)
+	      , reject     = capability.reject;
+	    var abrupt = perform(function(){
+	      forOf(iterable, false, function(promise){
+	        C.resolve(promise).then(capability.resolve, reject);
+	      });
+	    });
+	    if(abrupt)reject(abrupt.error);
+	    return capability.promise;
+	  }
+	});
+
+/***/ },
+/* 241 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// getting tag from 19.1.3.6 Object.prototype.toString()
+	var cof = __webpack_require__(81)
+	  , TAG = __webpack_require__(102)('toStringTag')
+	  // ES3 wrong here
+	  , ARG = cof(function(){ return arguments; }()) == 'Arguments';
+
+	module.exports = function(it){
+	  var O, T, B;
+	  return it === undefined ? 'Undefined' : it === null ? 'Null'
+	    // @@toStringTag case
+	    : typeof (T = (O = Object(it))[TAG]) == 'string' ? T
+	    // builtinTag case
+	    : ARG ? cof(O)
+	    // ES3 arguments fallback
+	    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
+	};
+
+/***/ },
+/* 242 */
+/***/ function(module, exports) {
+
+	module.exports = function(it, Constructor, name){
+	  if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
+	  return it;
+	};
+
+/***/ },
+/* 243 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var ctx         = __webpack_require__(38)
+	  , call        = __webpack_require__(244)
+	  , isArrayIter = __webpack_require__(245)
+	  , anObject    = __webpack_require__(107)
+	  , toLength    = __webpack_require__(246)
+	  , getIterFn   = __webpack_require__(247);
+	module.exports = function(iterable, entries, fn, that){
+	  var iterFn = getIterFn(iterable)
+	    , f      = ctx(fn, that, entries ? 2 : 1)
+	    , index  = 0
+	    , length, step, iterator;
+	  if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
+	  // fast case for arrays with default iterator
+	  if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
+	    entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
+	  } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
+	    call(iterator, f, step.value, entries);
+	  }
+	};
+
+/***/ },
+/* 244 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// call something on iterator step with safe closing on error
+	var anObject = __webpack_require__(107);
+	module.exports = function(iterator, fn, value, entries){
+	  try {
+	    return entries ? fn(anObject(value)[0], value[1]) : fn(value);
+	  // 7.4.6 IteratorClose(iterator, completion)
+	  } catch(e){
+	    var ret = iterator['return'];
+	    if(ret !== undefined)anObject(ret.call(iterator));
+	    throw e;
+	  }
+	};
+
+/***/ },
+/* 245 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// check on default Array iterator
+	var Iterators  = __webpack_require__(232)
+	  , ITERATOR   = __webpack_require__(102)('iterator')
+	  , ArrayProto = Array.prototype;
+
+	module.exports = function(it){
+	  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
+	};
+
+/***/ },
+/* 246 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.1.15 ToLength
+	var toInteger = __webpack_require__(230)
+	  , min       = Math.min;
+	module.exports = function(it){
+	  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
+	};
+
+/***/ },
+/* 247 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var classof   = __webpack_require__(241)
+	  , ITERATOR  = __webpack_require__(102)('iterator')
+	  , Iterators = __webpack_require__(232);
+	module.exports = __webpack_require__(37).getIteratorMethod = function(it){
+	  if(it != undefined)return it[ITERATOR]
+	    || it['@@iterator']
+	    || Iterators[classof(it)];
+	};
+
+/***/ },
+/* 248 */
+/***/ function(module, exports) {
+
+	// 7.2.9 SameValue(x, y)
+	module.exports = Object.is || function is(x, y){
+	  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
+	};
+
+/***/ },
+/* 249 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.3.20 SpeciesConstructor(O, defaultConstructor)
+	var anObject  = __webpack_require__(107)
+	  , aFunction = __webpack_require__(39)
+	  , SPECIES   = __webpack_require__(102)('species');
+	module.exports = function(O, D){
+	  var C = anObject(O).constructor, S;
+	  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
+	};
+
+/***/ },
+/* 250 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global    = __webpack_require__(36)
+	  , macrotask = __webpack_require__(251).set
+	  , Observer  = global.MutationObserver || global.WebKitMutationObserver
+	  , process   = global.process
+	  , Promise   = global.Promise
+	  , isNode    = __webpack_require__(81)(process) == 'process'
+	  , head, last, notify;
+
+	var flush = function(){
+	  var parent, domain, fn;
+	  if(isNode && (parent = process.domain)){
+	    process.domain = null;
+	    parent.exit();
+	  }
+	  while(head){
+	    domain = head.domain;
+	    fn     = head.fn;
+	    if(domain)domain.enter();
+	    fn(); // <- currently we use it only for Promise - try / catch not required
+	    if(domain)domain.exit();
+	    head = head.next;
+	  } last = undefined;
+	  if(parent)parent.enter();
+	};
+
+	// Node.js
+	if(isNode){
+	  notify = function(){
+	    process.nextTick(flush);
+	  };
+	// browsers with MutationObserver
+	} else if(Observer){
+	  var toggle = 1
+	    , node   = document.createTextNode('');
+	  new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
+	  notify = function(){
+	    node.data = toggle = -toggle;
+	  };
+	// environments with maybe non-completely correct, but existent Promise
+	} else if(Promise && Promise.resolve){
+	  notify = function(){
+	    Promise.resolve().then(flush);
+	  };
+	// for other environments - macrotask based on:
+	// - setImmediate
+	// - MessageChannel
+	// - window.postMessag
+	// - onreadystatechange
+	// - setTimeout
+	} else {
+	  notify = function(){
+	    // strange IE + webpack dev server bug - use .call(global)
+	    macrotask.call(global, flush);
+	  };
+	}
+
+	module.exports = function asap(fn){
+	  var task = {fn: fn, next: undefined, domain: isNode && process.domain};
+	  if(last)last.next = task;
+	  if(!head){
+	    head = task;
+	    notify();
+	  } last = task;
+	};
+
+/***/ },
+/* 251 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var ctx                = __webpack_require__(38)
+	  , invoke             = __webpack_require__(252)
+	  , html               = __webpack_require__(253)
+	  , cel                = __webpack_require__(254)
+	  , global             = __webpack_require__(36)
+	  , process            = global.process
+	  , setTask            = global.setImmediate
+	  , clearTask          = global.clearImmediate
+	  , MessageChannel     = global.MessageChannel
+	  , counter            = 0
+	  , queue              = {}
+	  , ONREADYSTATECHANGE = 'onreadystatechange'
+	  , defer, channel, port;
+	var run = function(){
+	  var id = +this;
+	  if(queue.hasOwnProperty(id)){
+	    var fn = queue[id];
+	    delete queue[id];
+	    fn();
+	  }
+	};
+	var listner = function(event){
+	  run.call(event.data);
+	};
+	// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
+	if(!setTask || !clearTask){
+	  setTask = function setImmediate(fn){
+	    var args = [], i = 1;
+	    while(arguments.length > i)args.push(arguments[i++]);
+	    queue[++counter] = function(){
+	      invoke(typeof fn == 'function' ? fn : Function(fn), args);
+	    };
+	    defer(counter);
+	    return counter;
+	  };
+	  clearTask = function clearImmediate(id){
+	    delete queue[id];
+	  };
+	  // Node.js 0.8-
+	  if(__webpack_require__(81)(process) == 'process'){
+	    defer = function(id){
+	      process.nextTick(ctx(run, id, 1));
+	    };
+	  // Browsers with MessageChannel, includes WebWorkers
+	  } else if(MessageChannel){
+	    channel = new MessageChannel;
+	    port    = channel.port2;
+	    channel.port1.onmessage = listner;
+	    defer = ctx(port.postMessage, port, 1);
+	  // Browsers with postMessage, skip WebWorkers
+	  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
+	  } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
+	    defer = function(id){
+	      global.postMessage(id + '', '*');
+	    };
+	    global.addEventListener('message', listner, false);
+	  // IE8-
+	  } else if(ONREADYSTATECHANGE in cel('script')){
+	    defer = function(id){
+	      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
+	        html.removeChild(this);
+	        run.call(id);
+	      };
+	    };
+	  // Rest old browsers
+	  } else {
+	    defer = function(id){
+	      setTimeout(ctx(run, id, 1), 0);
+	    };
+	  }
+	}
+	module.exports = {
+	  set:   setTask,
+	  clear: clearTask
+	};
+
+/***/ },
+/* 252 */
+/***/ function(module, exports) {
+
+	// fast apply, http://jsperf.lnkit.com/fast-apply/5
+	module.exports = function(fn, args, that){
+	  var un = that === undefined;
+	  switch(args.length){
+	    case 0: return un ? fn()
+	                      : fn.call(that);
+	    case 1: return un ? fn(args[0])
+	                      : fn.call(that, args[0]);
+	    case 2: return un ? fn(args[0], args[1])
+	                      : fn.call(that, args[0], args[1]);
+	    case 3: return un ? fn(args[0], args[1], args[2])
+	                      : fn.call(that, args[0], args[1], args[2]);
+	    case 4: return un ? fn(args[0], args[1], args[2], args[3])
+	                      : fn.call(that, args[0], args[1], args[2], args[3]);
+	  } return              fn.apply(that, args);
+	};
+
+/***/ },
+/* 253 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(36).document && document.documentElement;
+
+/***/ },
+/* 254 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var isObject = __webpack_require__(108)
+	  , document = __webpack_require__(36).document
+	  // in old IE typeof document.createElement is 'object'
+	  , is = isObject(document) && isObject(document.createElement);
+	module.exports = function(it){
+	  return is ? document.createElement(it) : {};
+	};
+
+/***/ },
+/* 255 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var redefine = __webpack_require__(97);
+	module.exports = function(target, src){
+	  for(var key in src)redefine(target, key, src[key]);
+	  return target;
+	};
+
+/***/ },
+/* 256 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var core        = __webpack_require__(37)
+	  , $           = __webpack_require__(75)
+	  , DESCRIPTORS = __webpack_require__(96)
+	  , SPECIES     = __webpack_require__(102)('species');
+
+	module.exports = function(KEY){
+	  var C = core[KEY];
+	  if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
+	    configurable: true,
+	    get: function(){ return this; }
+	  });
+	};
+
+/***/ },
+/* 257 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var ITERATOR     = __webpack_require__(102)('iterator')
+	  , SAFE_CLOSING = false;
+
+	try {
+	  var riter = [7][ITERATOR]();
+	  riter['return'] = function(){ SAFE_CLOSING = true; };
+	  Array.from(riter, function(){ throw 2; });
+	} catch(e){ /* empty */ }
+
+	module.exports = function(exec, skipClosing){
+	  if(!skipClosing && !SAFE_CLOSING)return false;
+	  var safe = false;
+	  try {
+	    var arr  = [7]
+	      , iter = arr[ITERATOR]();
+	    iter.next = function(){ safe = true; };
+	    arr[ITERATOR] = function(){ return iter; };
+	    exec(arr);
+	  } catch(e){ /* empty */ }
+	  return safe;
+	};
+
+/***/ },
+/* 258 */
+/***/ function(module, exports) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	exports.default = function (instance, Constructor) {
+	  if (!(instance instanceof Constructor)) {
+	    throw new TypeError("Cannot call a class as a function");
+	  }
+	};
+
+/***/ },
+/* 259 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	var _defineProperty = __webpack_require__(73);
+
+	var _defineProperty2 = _interopRequireDefault(_defineProperty);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	exports.default = function () {
+	  function defineProperties(target, props) {
+	    for (var i = 0; i < props.length; i++) {
+	      var descriptor = props[i];
+	      descriptor.enumerable = descriptor.enumerable || false;
+	      descriptor.configurable = true;
+	      if ("value" in descriptor) descriptor.writable = true;
+	      (0, _defineProperty2.default)(target, descriptor.key, descriptor);
+	    }
+	  }
+
+	  return function (Constructor, protoProps, staticProps) {
+	    if (protoProps) defineProperties(Constructor.prototype, protoProps);
+	    if (staticProps) defineProperties(Constructor, staticProps);
+	    return Constructor;
+	  };
+	}();
+
+/***/ },
+/* 260 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _stringify = __webpack_require__(71);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _promise = __webpack_require__(238);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(259);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var io = __webpack_require__(261);
+	var logger = __webpack_require__(199).create("orbit-db.Pubsub");
+
+	var Pubsub = function () {
+	  function Pubsub(ipfs) {
+	    (0, _classCallCheck3.default)(this, Pubsub);
+
+	    this.ipfs = ipfs;
+	    this._socket = null;
+	    this._subscriptions = {};
+	    this.onConnected = null;
+	    this.onConnectionError = null;
+	  }
+
+	  (0, _createClass3.default)(Pubsub, [{
+	    key: 'connect',
+	    value: function connect(host, port, username, password) {
+	      var _this = this;
+
+	      return new _promise2.default(function (resolve, reject) {
+	        if (!_this._socket) _this._socket = io.connect('http://' + host + ':' + port, { 'forceNew': true });
+
+	        _this._socket.on('connect', resolve);
+	        _this._socket.on('connect_error', function (err) {
+	          return reject(new Error('Connection refused to Pubsub at \'' + host + ':' + port + '\''));
+	        });
+	        _this._socket.on('disconnect', function (socket) {
+	          return logger.warn('Disconnected from Pubsub at \'http://' + host + ':' + port + '\'');
+	        });
+	        _this._socket.on('error', function (e) {
+	          return logger.error('Pubsub socket error:', e);
+	        });
+	        _this._socket.on('message', _this._handleMessage.bind(_this));
+	        _this._socket.on('subscribed', _this._handleMessage.bind(_this));
+	      });
+	    }
+	  }, {
+	    key: 'disconnect',
+	    value: function disconnect() {
+	      if (this._socket) this._socket.disconnect();
+	    }
+	  }, {
+	    key: 'subscribe',
+	    value: function subscribe(hash, password, callback) {
+	      if (!this._subscriptions[hash]) {
+	        this._subscriptions[hash] = { callback: callback };
+	        this._socket.emit('subscribe', { channel: hash }); // calls back with 'subscribed' event
+	      }
+	    }
+	  }, {
+	    key: 'unsubscribe',
+	    value: function unsubscribe(hash) {
+	      this._socket.emit('unsubscribe', { channel: hash });
+	      delete this._subscriptions[hash];
+	    }
+	  }, {
+	    key: 'publish',
+	    value: function publish(hash, message) {
+	      this._socket.send((0, _stringify2.default)({ channel: hash, message: message }));
+	    }
+	  }, {
+	    key: '_handleMessage',
+	    value: function _handleMessage(hash, message) {
+	      if (this._subscriptions[hash] && this._subscriptions[hash].callback) this._subscriptions[hash].callback(hash, message);
+	    }
+	  }]);
+	  return Pubsub;
+	}();
+
+	module.exports = Pubsub;
+
+/***/ },
+/* 261 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * Module dependencies.
+	 */
+
+	var url = __webpack_require__(262);
+	var parser = __webpack_require__(267);
+	var Manager = __webpack_require__(277);
+	var debug = __webpack_require__(264)('socket.io-client');
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = exports = lookup;
+
+	/**
+	 * Managers cache.
+	 */
+
+	var cache = exports.managers = {};
+
+	/**
+	 * Looks up an existing `Manager` for multiplexing.
+	 * If the user summons:
+	 *
+	 *   `io('http://localhost/a');`
+	 *   `io('http://localhost/b');`
+	 *
+	 * We reuse the existing instance based on same scheme/port/host,
+	 * and we initialize sockets for each namespace.
+	 *
+	 * @api public
+	 */
+
+	function lookup(uri, opts) {
+	  if (typeof uri == 'object') {
+	    opts = uri;
+	    uri = undefined;
+	  }
+
+	  opts = opts || {};
+
+	  var parsed = url(uri);
+	  var source = parsed.source;
+	  var id = parsed.id;
+	  var path = parsed.path;
+	  var sameNamespace = cache[id] && path in cache[id].nsps;
+	  var newConnection = opts.forceNew || opts['force new connection'] ||
+	                      false === opts.multiplex || sameNamespace;
+
+	  var io;
+
+	  if (newConnection) {
+	    debug('ignoring socket cache for %s', source);
+	    io = Manager(source, opts);
+	  } else {
+	    if (!cache[id]) {
+	      debug('new io instance for %s', source);
+	      cache[id] = Manager(source, opts);
+	    }
+	    io = cache[id];
+	  }
+
+	  return io.socket(parsed.path);
+	}
+
+	/**
+	 * Protocol version.
+	 *
+	 * @api public
+	 */
+
+	exports.protocol = parser.protocol;
+
+	/**
+	 * `connect`.
+	 *
+	 * @param {String} uri
+	 * @api public
+	 */
+
+	exports.connect = lookup;
+
+	/**
+	 * Expose constructors for standalone build.
+	 *
+	 * @api public
+	 */
+
+	exports.Manager = __webpack_require__(277);
+	exports.Socket = __webpack_require__(308);
+
+
+/***/ },
+/* 262 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {
+	/**
+	 * Module dependencies.
+	 */
+
+	var parseuri = __webpack_require__(263);
+	var debug = __webpack_require__(264)('socket.io-client:url');
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = url;
+
+	/**
+	 * URL parser.
+	 *
+	 * @param {String} url
+	 * @param {Object} An object meant to mimic window.location.
+	 *                 Defaults to window.location.
+	 * @api public
+	 */
+
+	function url(uri, loc){
+	  var obj = uri;
+
+	  // default to window.location
+	  var loc = loc || global.location;
+	  if (null == uri) uri = loc.protocol + '//' + loc.host;
+
+	  // relative path support
+	  if ('string' == typeof uri) {
+	    if ('/' == uri.charAt(0)) {
+	      if ('/' == uri.charAt(1)) {
+	        uri = loc.protocol + uri;
+	      } else {
+	        uri = loc.host + uri;
+	      }
+	    }
+
+	    if (!/^(https?|wss?):\/\//.test(uri)) {
+	      debug('protocol-less url %s', uri);
+	      if ('undefined' != typeof loc) {
+	        uri = loc.protocol + '//' + uri;
+	      } else {
+	        uri = 'https://' + uri;
+	      }
+	    }
+
+	    // parse
+	    debug('parse %s', uri);
+	    obj = parseuri(uri);
+	  }
+
+	  // make sure we treat `localhost:80` and `localhost` equally
+	  if (!obj.port) {
+	    if (/^(http|ws)$/.test(obj.protocol)) {
+	      obj.port = '80';
+	    }
+	    else if (/^(http|ws)s$/.test(obj.protocol)) {
+	      obj.port = '443';
+	    }
+	  }
+
+	  obj.path = obj.path || '/';
+
+	  var ipv6 = obj.host.indexOf(':') !== -1;
+	  var host = ipv6 ? '[' + obj.host + ']' : obj.host;
+
+	  // define unique id
+	  obj.id = obj.protocol + '://' + host + ':' + obj.port;
+	  // define href
+	  obj.href = obj.protocol + '://' + host + (loc && loc.port == obj.port ? '' : (':' + obj.port));
+
+	  return obj;
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 263 */
+/***/ function(module, exports) {
+
+	/**
+	 * Parses an URI
+	 *
+	 * @author Steven Levithan <stevenlevithan.com> (MIT license)
+	 * @api private
+	 */
+
+	var re = /^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/;
+
+	var parts = [
+	    'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor'
+	];
+
+	module.exports = function parseuri(str) {
+	    var src = str,
+	        b = str.indexOf('['),
+	        e = str.indexOf(']');
+
+	    if (b != -1 && e != -1) {
+	        str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length);
+	    }
+
+	    var m = re.exec(str || ''),
+	        uri = {},
+	        i = 14;
+
+	    while (i--) {
+	        uri[parts[i]] = m[i] || '';
+	    }
+
+	    if (b != -1 && e != -1) {
+	        uri.source = src;
+	        uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':');
+	        uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':');
+	        uri.ipv6uri = true;
+	    }
+
+	    return uri;
+	};
+
+
+/***/ },
+/* 264 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * This is the web browser implementation of `debug()`.
+	 *
+	 * Expose `debug()` as the module.
+	 */
+
+	exports = module.exports = __webpack_require__(265);
+	exports.log = log;
+	exports.formatArgs = formatArgs;
+	exports.save = save;
+	exports.load = load;
+	exports.useColors = useColors;
+	exports.storage = 'undefined' != typeof chrome
+	               && 'undefined' != typeof chrome.storage
+	                  ? chrome.storage.local
+	                  : localstorage();
+
+	/**
+	 * Colors.
+	 */
+
+	exports.colors = [
+	  'lightseagreen',
+	  'forestgreen',
+	  'goldenrod',
+	  'dodgerblue',
+	  'darkorchid',
+	  'crimson'
+	];
+
+	/**
+	 * Currently only WebKit-based Web Inspectors, Firefox >= v31,
+	 * and the Firebug extension (any Firefox version) are known
+	 * to support "%c" CSS customizations.
+	 *
+	 * TODO: add a `localStorage` variable to explicitly enable/disable colors
+	 */
+
+	function useColors() {
+	  // is webkit? http://stackoverflow.com/a/16459606/376773
+	  return ('WebkitAppearance' in document.documentElement.style) ||
+	    // is firebug? http://stackoverflow.com/a/398120/376773
+	    (window.console && (console.firebug || (console.exception && console.table))) ||
+	    // is firefox >= v31?
+	    // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
+	    (navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31);
+	}
+
+	/**
+	 * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
+	 */
+
+	exports.formatters.j = function(v) {
+	  return JSON.stringify(v);
+	};
+
+
+	/**
+	 * Colorize log arguments if enabled.
+	 *
+	 * @api public
+	 */
+
+	function formatArgs() {
+	  var args = arguments;
+	  var useColors = this.useColors;
+
+	  args[0] = (useColors ? '%c' : '')
+	    + this.namespace
+	    + (useColors ? ' %c' : ' ')
+	    + args[0]
+	    + (useColors ? '%c ' : ' ')
+	    + '+' + exports.humanize(this.diff);
+
+	  if (!useColors) return args;
+
+	  var c = 'color: ' + this.color;
+	  args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));
+
+	  // the final "%c" is somewhat tricky, because there could be other
+	  // arguments passed either before or after the %c, so we need to
+	  // figure out the correct index to insert the CSS into
+	  var index = 0;
+	  var lastC = 0;
+	  args[0].replace(/%[a-z%]/g, function(match) {
+	    if ('%%' === match) return;
+	    index++;
+	    if ('%c' === match) {
+	      // we only are interested in the *last* %c
+	      // (the user may have provided their own)
+	      lastC = index;
+	    }
+	  });
+
+	  args.splice(lastC, 0, c);
+	  return args;
+	}
+
+	/**
+	 * Invokes `console.log()` when available.
+	 * No-op when `console.log` is not a "function".
+	 *
+	 * @api public
+	 */
+
+	function log() {
+	  // this hackery is required for IE8/9, where
+	  // the `console.log` function doesn't have 'apply'
+	  return 'object' === typeof console
+	    && console.log
+	    && Function.prototype.apply.call(console.log, console, arguments);
+	}
+
+	/**
+	 * Save `namespaces`.
+	 *
+	 * @param {String} namespaces
+	 * @api private
+	 */
+
+	function save(namespaces) {
+	  try {
+	    if (null == namespaces) {
+	      exports.storage.removeItem('debug');
+	    } else {
+	      exports.storage.debug = namespaces;
+	    }
+	  } catch(e) {}
+	}
+
+	/**
+	 * Load `namespaces`.
+	 *
+	 * @return {String} returns the previously persisted debug modes
+	 * @api private
+	 */
+
+	function load() {
+	  var r;
+	  try {
+	    r = exports.storage.debug;
+	  } catch(e) {}
+	  return r;
+	}
+
+	/**
+	 * Enable namespaces listed in `localStorage.debug` initially.
+	 */
+
+	exports.enable(load());
+
+	/**
+	 * Localstorage attempts to return the localstorage.
+	 *
+	 * This is necessary because safari throws
+	 * when a user disables cookies/localstorage
+	 * and you attempt to access it.
+	 *
+	 * @return {LocalStorage}
+	 * @api private
+	 */
+
+	function localstorage(){
+	  try {
+	    return window.localStorage;
+	  } catch (e) {}
+	}
+
+
+/***/ },
+/* 265 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * This is the common logic for both the Node.js and web browser
+	 * implementations of `debug()`.
+	 *
+	 * Expose `debug()` as the module.
+	 */
+
+	exports = module.exports = debug;
+	exports.coerce = coerce;
+	exports.disable = disable;
+	exports.enable = enable;
+	exports.enabled = enabled;
+	exports.humanize = __webpack_require__(266);
+
+	/**
+	 * The currently active debug mode names, and names to skip.
+	 */
+
+	exports.names = [];
+	exports.skips = [];
+
+	/**
+	 * Map of special "%n" handling functions, for the debug "format" argument.
+	 *
+	 * Valid key names are a single, lowercased letter, i.e. "n".
+	 */
+
+	exports.formatters = {};
+
+	/**
+	 * Previously assigned color.
+	 */
+
+	var prevColor = 0;
+
+	/**
+	 * Previous log timestamp.
+	 */
+
+	var prevTime;
+
+	/**
+	 * Select a color.
+	 *
+	 * @return {Number}
+	 * @api private
+	 */
+
+	function selectColor() {
+	  return exports.colors[prevColor++ % exports.colors.length];
+	}
+
+	/**
+	 * Create a debugger with the given `namespace`.
+	 *
+	 * @param {String} namespace
+	 * @return {Function}
+	 * @api public
+	 */
+
+	function debug(namespace) {
+
+	  // define the `disabled` version
+	  function disabled() {
+	  }
+	  disabled.enabled = false;
+
+	  // define the `enabled` version
+	  function enabled() {
+
+	    var self = enabled;
+
+	    // set `diff` timestamp
+	    var curr = +new Date();
+	    var ms = curr - (prevTime || curr);
+	    self.diff = ms;
+	    self.prev = prevTime;
+	    self.curr = curr;
+	    prevTime = curr;
+
+	    // add the `color` if not set
+	    if (null == self.useColors) self.useColors = exports.useColors();
+	    if (null == self.color && self.useColors) self.color = selectColor();
+
+	    var args = Array.prototype.slice.call(arguments);
+
+	    args[0] = exports.coerce(args[0]);
+
+	    if ('string' !== typeof args[0]) {
+	      // anything else let's inspect with %o
+	      args = ['%o'].concat(args);
+	    }
+
+	    // apply any `formatters` transformations
+	    var index = 0;
+	    args[0] = args[0].replace(/%([a-z%])/g, function(match, format) {
+	      // if we encounter an escaped % then don't increase the array index
+	      if (match === '%%') return match;
+	      index++;
+	      var formatter = exports.formatters[format];
+	      if ('function' === typeof formatter) {
+	        var val = args[index];
+	        match = formatter.call(self, val);
+
+	        // now we need to remove `args[index]` since it's inlined in the `format`
+	        args.splice(index, 1);
+	        index--;
+	      }
+	      return match;
+	    });
+
+	    if ('function' === typeof exports.formatArgs) {
+	      args = exports.formatArgs.apply(self, args);
+	    }
+	    var logFn = enabled.log || exports.log || console.log.bind(console);
+	    logFn.apply(self, args);
+	  }
+	  enabled.enabled = true;
+
+	  var fn = exports.enabled(namespace) ? enabled : disabled;
+
+	  fn.namespace = namespace;
+
+	  return fn;
+	}
+
+	/**
+	 * Enables a debug mode by namespaces. This can include modes
+	 * separated by a colon and wildcards.
+	 *
+	 * @param {String} namespaces
+	 * @api public
+	 */
+
+	function enable(namespaces) {
+	  exports.save(namespaces);
+
+	  var split = (namespaces || '').split(/[\s,]+/);
+	  var len = split.length;
+
+	  for (var i = 0; i < len; i++) {
+	    if (!split[i]) continue; // ignore empty strings
+	    namespaces = split[i].replace(/\*/g, '.*?');
+	    if (namespaces[0] === '-') {
+	      exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
+	    } else {
+	      exports.names.push(new RegExp('^' + namespaces + '$'));
+	    }
+	  }
+	}
+
+	/**
+	 * Disable debug output.
+	 *
+	 * @api public
+	 */
+
+	function disable() {
+	  exports.enable('');
+	}
+
+	/**
+	 * Returns true if the given mode name is enabled, false otherwise.
+	 *
+	 * @param {String} name
+	 * @return {Boolean}
+	 * @api public
+	 */
+
+	function enabled(name) {
+	  var i, len;
+	  for (i = 0, len = exports.skips.length; i < len; i++) {
+	    if (exports.skips[i].test(name)) {
+	      return false;
+	    }
+	  }
+	  for (i = 0, len = exports.names.length; i < len; i++) {
+	    if (exports.names[i].test(name)) {
+	      return true;
+	    }
+	  }
+	  return false;
+	}
+
+	/**
+	 * Coerce `val`.
+	 *
+	 * @param {Mixed} val
+	 * @return {Mixed}
+	 * @api private
+	 */
+
+	function coerce(val) {
+	  if (val instanceof Error) return val.stack || val.message;
+	  return val;
+	}
+
+
+/***/ },
+/* 266 */
+/***/ function(module, exports) {
+
+	/**
+	 * Helpers.
+	 */
+
+	var s = 1000;
+	var m = s * 60;
+	var h = m * 60;
+	var d = h * 24;
+	var y = d * 365.25;
+
+	/**
+	 * Parse or format the given `val`.
+	 *
+	 * Options:
+	 *
+	 *  - `long` verbose formatting [false]
+	 *
+	 * @param {String|Number} val
+	 * @param {Object} options
+	 * @return {String|Number}
+	 * @api public
+	 */
+
+	module.exports = function(val, options){
+	  options = options || {};
+	  if ('string' == typeof val) return parse(val);
+	  return options.long
+	    ? long(val)
+	    : short(val);
+	};
+
+	/**
+	 * Parse the given `str` and return milliseconds.
+	 *
+	 * @param {String} str
+	 * @return {Number}
+	 * @api private
+	 */
+
+	function parse(str) {
+	  str = '' + str;
+	  if (str.length > 10000) return;
+	  var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
+	  if (!match) return;
+	  var n = parseFloat(match[1]);
+	  var type = (match[2] || 'ms').toLowerCase();
+	  switch (type) {
+	    case 'years':
+	    case 'year':
+	    case 'yrs':
+	    case 'yr':
+	    case 'y':
+	      return n * y;
+	    case 'days':
+	    case 'day':
+	    case 'd':
+	      return n * d;
+	    case 'hours':
+	    case 'hour':
+	    case 'hrs':
+	    case 'hr':
+	    case 'h':
+	      return n * h;
+	    case 'minutes':
+	    case 'minute':
+	    case 'mins':
+	    case 'min':
+	    case 'm':
+	      return n * m;
+	    case 'seconds':
+	    case 'second':
+	    case 'secs':
+	    case 'sec':
+	    case 's':
+	      return n * s;
+	    case 'milliseconds':
+	    case 'millisecond':
+	    case 'msecs':
+	    case 'msec':
+	    case 'ms':
+	      return n;
+	  }
+	}
+
+	/**
+	 * Short format for `ms`.
+	 *
+	 * @param {Number} ms
+	 * @return {String}
+	 * @api private
+	 */
+
+	function short(ms) {
+	  if (ms >= d) return Math.round(ms / d) + 'd';
+	  if (ms >= h) return Math.round(ms / h) + 'h';
+	  if (ms >= m) return Math.round(ms / m) + 'm';
+	  if (ms >= s) return Math.round(ms / s) + 's';
+	  return ms + 'ms';
+	}
+
+	/**
+	 * Long format for `ms`.
+	 *
+	 * @param {Number} ms
+	 * @return {String}
+	 * @api private
+	 */
+
+	function long(ms) {
+	  return plural(ms, d, 'day')
+	    || plural(ms, h, 'hour')
+	    || plural(ms, m, 'minute')
+	    || plural(ms, s, 'second')
+	    || ms + ' ms';
+	}
+
+	/**
+	 * Pluralization helper.
+	 */
+
+	function plural(ms, n, name) {
+	  if (ms < n) return;
+	  if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;
+	  return Math.ceil(ms / n) + ' ' + name + 's';
+	}
+
+
+/***/ },
+/* 267 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * Module dependencies.
+	 */
+
+	var debug = __webpack_require__(268)('socket.io-parser');
+	var json = __webpack_require__(271);
+	var isArray = __webpack_require__(273);
+	var Emitter = __webpack_require__(274);
+	var binary = __webpack_require__(275);
+	var isBuf = __webpack_require__(276);
+
+	/**
+	 * Protocol version.
+	 *
+	 * @api public
+	 */
+
+	exports.protocol = 4;
+
+	/**
+	 * Packet types.
+	 *
+	 * @api public
+	 */
+
+	exports.types = [
+	  'CONNECT',
+	  'DISCONNECT',
+	  'EVENT',
+	  'ACK',
+	  'ERROR',
+	  'BINARY_EVENT',
+	  'BINARY_ACK'
+	];
+
+	/**
+	 * Packet type `connect`.
+	 *
+	 * @api public
+	 */
+
+	exports.CONNECT = 0;
+
+	/**
+	 * Packet type `disconnect`.
+	 *
+	 * @api public
+	 */
+
+	exports.DISCONNECT = 1;
+
+	/**
+	 * Packet type `event`.
+	 *
+	 * @api public
+	 */
+
+	exports.EVENT = 2;
+
+	/**
+	 * Packet type `ack`.
+	 *
+	 * @api public
+	 */
+
+	exports.ACK = 3;
+
+	/**
+	 * Packet type `error`.
+	 *
+	 * @api public
+	 */
+
+	exports.ERROR = 4;
+
+	/**
+	 * Packet type 'binary event'
+	 *
+	 * @api public
+	 */
+
+	exports.BINARY_EVENT = 5;
+
+	/**
+	 * Packet type `binary ack`. For acks with binary arguments.
+	 *
+	 * @api public
+	 */
+
+	exports.BINARY_ACK = 6;
+
+	/**
+	 * Encoder constructor.
+	 *
+	 * @api public
+	 */
+
+	exports.Encoder = Encoder;
+
+	/**
+	 * Decoder constructor.
+	 *
+	 * @api public
+	 */
+
+	exports.Decoder = Decoder;
+
+	/**
+	 * A socket.io Encoder instance
+	 *
+	 * @api public
+	 */
+
+	function Encoder() {}
+
+	/**
+	 * Encode a packet as a single string if non-binary, or as a
+	 * buffer sequence, depending on packet type.
+	 *
+	 * @param {Object} obj - packet object
+	 * @param {Function} callback - function to handle encodings (likely engine.write)
+	 * @return Calls callback with Array of encodings
+	 * @api public
+	 */
+
+	Encoder.prototype.encode = function(obj, callback){
+	  debug('encoding packet %j', obj);
+
+	  if (exports.BINARY_EVENT == obj.type || exports.BINARY_ACK == obj.type) {
+	    encodeAsBinary(obj, callback);
+	  }
+	  else {
+	    var encoding = encodeAsString(obj);
+	    callback([encoding]);
+	  }
+	};
+
+	/**
+	 * Encode packet as string.
+	 *
+	 * @param {Object} packet
+	 * @return {String} encoded
+	 * @api private
+	 */
+
+	function encodeAsString(obj) {
+	  var str = '';
+	  var nsp = false;
+
+	  // first is type
+	  str += obj.type;
+
+	  // attachments if we have them
+	  if (exports.BINARY_EVENT == obj.type || exports.BINARY_ACK == obj.type) {
+	    str += obj.attachments;
+	    str += '-';
+	  }
+
+	  // if we have a namespace other than `/`
+	  // we append it followed by a comma `,`
+	  if (obj.nsp && '/' != obj.nsp) {
+	    nsp = true;
+	    str += obj.nsp;
+	  }
+
+	  // immediately followed by the id
+	  if (null != obj.id) {
+	    if (nsp) {
+	      str += ',';
+	      nsp = false;
+	    }
+	    str += obj.id;
+	  }
+
+	  // json data
+	  if (null != obj.data) {
+	    if (nsp) str += ',';
+	    str += json.stringify(obj.data);
+	  }
+
+	  debug('encoded %j as %s', obj, str);
+	  return str;
+	}
+
+	/**
+	 * Encode packet as 'buffer sequence' by removing blobs, and
+	 * deconstructing packet into object with placeholders and
+	 * a list of buffers.
+	 *
+	 * @param {Object} packet
+	 * @return {Buffer} encoded
+	 * @api private
+	 */
+
+	function encodeAsBinary(obj, callback) {
+
+	  function writeEncoding(bloblessData) {
+	    var deconstruction = binary.deconstructPacket(bloblessData);
+	    var pack = encodeAsString(deconstruction.packet);
+	    var buffers = deconstruction.buffers;
+
+	    buffers.unshift(pack); // add packet info to beginning of data list
+	    callback(buffers); // write all the buffers
+	  }
+
+	  binary.removeBlobs(obj, writeEncoding);
+	}
+
+	/**
+	 * A socket.io Decoder instance
+	 *
+	 * @return {Object} decoder
+	 * @api public
+	 */
+
+	function Decoder() {
+	  this.reconstructor = null;
+	}
+
+	/**
+	 * Mix in `Emitter` with Decoder.
+	 */
+
+	Emitter(Decoder.prototype);
+
+	/**
+	 * Decodes an ecoded packet string into packet JSON.
+	 *
+	 * @param {String} obj - encoded packet
+	 * @return {Object} packet
+	 * @api public
+	 */
+
+	Decoder.prototype.add = function(obj) {
+	  var packet;
+	  if ('string' == typeof obj) {
+	    packet = decodeString(obj);
+	    if (exports.BINARY_EVENT == packet.type || exports.BINARY_ACK == packet.type) { // binary packet's json
+	      this.reconstructor = new BinaryReconstructor(packet);
+
+	      // no attachments, labeled binary but no binary data to follow
+	      if (this.reconstructor.reconPack.attachments === 0) {
+	        this.emit('decoded', packet);
+	      }
+	    } else { // non-binary full packet
+	      this.emit('decoded', packet);
+	    }
+	  }
+	  else if (isBuf(obj) || obj.base64) { // raw binary data
+	    if (!this.reconstructor) {
+	      throw new Error('got binary data when not reconstructing a packet');
+	    } else {
+	      packet = this.reconstructor.takeBinaryData(obj);
+	      if (packet) { // received final buffer
+	        this.reconstructor = null;
+	        this.emit('decoded', packet);
+	      }
+	    }
+	  }
+	  else {
+	    throw new Error('Unknown type: ' + obj);
+	  }
+	};
+
+	/**
+	 * Decode a packet String (JSON data)
+	 *
+	 * @param {String} str
+	 * @return {Object} packet
+	 * @api private
+	 */
+
+	function decodeString(str) {
+	  var p = {};
+	  var i = 0;
+
+	  // look up type
+	  p.type = Number(str.charAt(0));
+	  if (null == exports.types[p.type]) return error();
+
+	  // look up attachments if type binary
+	  if (exports.BINARY_EVENT == p.type || exports.BINARY_ACK == p.type) {
+	    var buf = '';
+	    while (str.charAt(++i) != '-') {
+	      buf += str.charAt(i);
+	      if (i == str.length) break;
+	    }
+	    if (buf != Number(buf) || str.charAt(i) != '-') {
+	      throw new Error('Illegal attachments');
+	    }
+	    p.attachments = Number(buf);
+	  }
+
+	  // look up namespace (if any)
+	  if ('/' == str.charAt(i + 1)) {
+	    p.nsp = '';
+	    while (++i) {
+	      var c = str.charAt(i);
+	      if (',' == c) break;
+	      p.nsp += c;
+	      if (i == str.length) break;
+	    }
+	  } else {
+	    p.nsp = '/';
+	  }
+
+	  // look up id
+	  var next = str.charAt(i + 1);
+	  if ('' !== next && Number(next) == next) {
+	    p.id = '';
+	    while (++i) {
+	      var c = str.charAt(i);
+	      if (null == c || Number(c) != c) {
+	        --i;
+	        break;
+	      }
+	      p.id += str.charAt(i);
+	      if (i == str.length) break;
+	    }
+	    p.id = Number(p.id);
+	  }
+
+	  // look up json data
+	  if (str.charAt(++i)) {
+	    try {
+	      p.data = json.parse(str.substr(i));
+	    } catch(e){
+	      return error();
+	    }
+	  }
+
+	  debug('decoded %s as %j', str, p);
+	  return p;
+	}
+
+	/**
+	 * Deallocates a parser's resources
+	 *
+	 * @api public
+	 */
+
+	Decoder.prototype.destroy = function() {
+	  if (this.reconstructor) {
+	    this.reconstructor.finishedReconstruction();
+	  }
+	};
+
+	/**
+	 * A manager of a binary event's 'buffer sequence'. Should
+	 * be constructed whenever a packet of type BINARY_EVENT is
+	 * decoded.
+	 *
+	 * @param {Object} packet
+	 * @return {BinaryReconstructor} initialized reconstructor
+	 * @api private
+	 */
+
+	function BinaryReconstructor(packet) {
+	  this.reconPack = packet;
+	  this.buffers = [];
+	}
+
+	/**
+	 * Method to be called when binary data received from connection
+	 * after a BINARY_EVENT packet.
+	 *
+	 * @param {Buffer | ArrayBuffer} binData - the raw binary data received
+	 * @return {null | Object} returns null if more binary data is expected or
+	 *   a reconstructed packet object if all buffers have been received.
+	 * @api private
+	 */
+
+	BinaryReconstructor.prototype.takeBinaryData = function(binData) {
+	  this.buffers.push(binData);
+	  if (this.buffers.length == this.reconPack.attachments) { // done with buffer list
+	    var packet = binary.reconstructPacket(this.reconPack, this.buffers);
+	    this.finishedReconstruction();
+	    return packet;
+	  }
+	  return null;
+	};
+
+	/**
+	 * Cleans up binary packet reconstruction variables.
+	 *
+	 * @api private
+	 */
+
+	BinaryReconstructor.prototype.finishedReconstruction = function() {
+	  this.reconPack = null;
+	  this.buffers = [];
+	};
+
+	function error(data){
+	  return {
+	    type: exports.ERROR,
+	    data: 'parser error'
+	  };
+	}
+
+
+/***/ },
+/* 268 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * This is the web browser implementation of `debug()`.
+	 *
+	 * Expose `debug()` as the module.
+	 */
+
+	exports = module.exports = __webpack_require__(269);
+	exports.log = log;
+	exports.formatArgs = formatArgs;
+	exports.save = save;
+	exports.load = load;
+	exports.useColors = useColors;
+	exports.storage = 'undefined' != typeof chrome
+	               && 'undefined' != typeof chrome.storage
+	                  ? chrome.storage.local
+	                  : localstorage();
+
+	/**
+	 * Colors.
+	 */
+
+	exports.colors = [
+	  'lightseagreen',
+	  'forestgreen',
+	  'goldenrod',
+	  'dodgerblue',
+	  'darkorchid',
+	  'crimson'
+	];
+
+	/**
+	 * Currently only WebKit-based Web Inspectors, Firefox >= v31,
+	 * and the Firebug extension (any Firefox version) are known
+	 * to support "%c" CSS customizations.
+	 *
+	 * TODO: add a `localStorage` variable to explicitly enable/disable colors
+	 */
+
+	function useColors() {
+	  // is webkit? http://stackoverflow.com/a/16459606/376773
+	  return ('WebkitAppearance' in document.documentElement.style) ||
+	    // is firebug? http://stackoverflow.com/a/398120/376773
+	    (window.console && (console.firebug || (console.exception && console.table))) ||
+	    // is firefox >= v31?
+	    // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
+	    (navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31);
+	}
+
+	/**
+	 * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
+	 */
+
+	exports.formatters.j = function(v) {
+	  return JSON.stringify(v);
+	};
+
+
+	/**
+	 * Colorize log arguments if enabled.
+	 *
+	 * @api public
+	 */
+
+	function formatArgs() {
+	  var args = arguments;
+	  var useColors = this.useColors;
+
+	  args[0] = (useColors ? '%c' : '')
+	    + this.namespace
+	    + (useColors ? ' %c' : ' ')
+	    + args[0]
+	    + (useColors ? '%c ' : ' ')
+	    + '+' + exports.humanize(this.diff);
+
+	  if (!useColors) return args;
+
+	  var c = 'color: ' + this.color;
+	  args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));
+
+	  // the final "%c" is somewhat tricky, because there could be other
+	  // arguments passed either before or after the %c, so we need to
+	  // figure out the correct index to insert the CSS into
+	  var index = 0;
+	  var lastC = 0;
+	  args[0].replace(/%[a-z%]/g, function(match) {
+	    if ('%%' === match) return;
+	    index++;
+	    if ('%c' === match) {
+	      // we only are interested in the *last* %c
+	      // (the user may have provided their own)
+	      lastC = index;
+	    }
+	  });
+
+	  args.splice(lastC, 0, c);
+	  return args;
+	}
+
+	/**
+	 * Invokes `console.log()` when available.
+	 * No-op when `console.log` is not a "function".
+	 *
+	 * @api public
+	 */
+
+	function log() {
+	  // this hackery is required for IE8/9, where
+	  // the `console.log` function doesn't have 'apply'
+	  return 'object' === typeof console
+	    && console.log
+	    && Function.prototype.apply.call(console.log, console, arguments);
+	}
+
+	/**
+	 * Save `namespaces`.
+	 *
+	 * @param {String} namespaces
+	 * @api private
+	 */
+
+	function save(namespaces) {
+	  try {
+	    if (null == namespaces) {
+	      exports.storage.removeItem('debug');
+	    } else {
+	      exports.storage.debug = namespaces;
+	    }
+	  } catch(e) {}
+	}
+
+	/**
+	 * Load `namespaces`.
+	 *
+	 * @return {String} returns the previously persisted debug modes
+	 * @api private
+	 */
+
+	function load() {
+	  var r;
+	  try {
+	    r = exports.storage.debug;
+	  } catch(e) {}
+	  return r;
+	}
+
+	/**
+	 * Enable namespaces listed in `localStorage.debug` initially.
+	 */
+
+	exports.enable(load());
+
+	/**
+	 * Localstorage attempts to return the localstorage.
+	 *
+	 * This is necessary because safari throws
+	 * when a user disables cookies/localstorage
+	 * and you attempt to access it.
+	 *
+	 * @return {LocalStorage}
+	 * @api private
+	 */
+
+	function localstorage(){
+	  try {
+	    return window.localStorage;
+	  } catch (e) {}
+	}
+
+
+/***/ },
+/* 269 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * This is the common logic for both the Node.js and web browser
+	 * implementations of `debug()`.
+	 *
+	 * Expose `debug()` as the module.
+	 */
+
+	exports = module.exports = debug;
+	exports.coerce = coerce;
+	exports.disable = disable;
+	exports.enable = enable;
+	exports.enabled = enabled;
+	exports.humanize = __webpack_require__(270);
+
+	/**
+	 * The currently active debug mode names, and names to skip.
+	 */
+
+	exports.names = [];
+	exports.skips = [];
+
+	/**
+	 * Map of special "%n" handling functions, for the debug "format" argument.
+	 *
+	 * Valid key names are a single, lowercased letter, i.e. "n".
+	 */
+
+	exports.formatters = {};
+
+	/**
+	 * Previously assigned color.
+	 */
+
+	var prevColor = 0;
+
+	/**
+	 * Previous log timestamp.
+	 */
+
+	var prevTime;
+
+	/**
+	 * Select a color.
+	 *
+	 * @return {Number}
+	 * @api private
+	 */
+
+	function selectColor() {
+	  return exports.colors[prevColor++ % exports.colors.length];
+	}
+
+	/**
+	 * Create a debugger with the given `namespace`.
+	 *
+	 * @param {String} namespace
+	 * @return {Function}
+	 * @api public
+	 */
+
+	function debug(namespace) {
+
+	  // define the `disabled` version
+	  function disabled() {
+	  }
+	  disabled.enabled = false;
+
+	  // define the `enabled` version
+	  function enabled() {
+
+	    var self = enabled;
+
+	    // set `diff` timestamp
+	    var curr = +new Date();
+	    var ms = curr - (prevTime || curr);
+	    self.diff = ms;
+	    self.prev = prevTime;
+	    self.curr = curr;
+	    prevTime = curr;
+
+	    // add the `color` if not set
+	    if (null == self.useColors) self.useColors = exports.useColors();
+	    if (null == self.color && self.useColors) self.color = selectColor();
+
+	    var args = Array.prototype.slice.call(arguments);
+
+	    args[0] = exports.coerce(args[0]);
+
+	    if ('string' !== typeof args[0]) {
+	      // anything else let's inspect with %o
+	      args = ['%o'].concat(args);
+	    }
+
+	    // apply any `formatters` transformations
+	    var index = 0;
+	    args[0] = args[0].replace(/%([a-z%])/g, function(match, format) {
+	      // if we encounter an escaped % then don't increase the array index
+	      if (match === '%%') return match;
+	      index++;
+	      var formatter = exports.formatters[format];
+	      if ('function' === typeof formatter) {
+	        var val = args[index];
+	        match = formatter.call(self, val);
+
+	        // now we need to remove `args[index]` since it's inlined in the `format`
+	        args.splice(index, 1);
+	        index--;
+	      }
+	      return match;
+	    });
+
+	    if ('function' === typeof exports.formatArgs) {
+	      args = exports.formatArgs.apply(self, args);
+	    }
+	    var logFn = enabled.log || exports.log || console.log.bind(console);
+	    logFn.apply(self, args);
+	  }
+	  enabled.enabled = true;
+
+	  var fn = exports.enabled(namespace) ? enabled : disabled;
+
+	  fn.namespace = namespace;
+
+	  return fn;
+	}
+
+	/**
+	 * Enables a debug mode by namespaces. This can include modes
+	 * separated by a colon and wildcards.
+	 *
+	 * @param {String} namespaces
+	 * @api public
+	 */
+
+	function enable(namespaces) {
+	  exports.save(namespaces);
+
+	  var split = (namespaces || '').split(/[\s,]+/);
+	  var len = split.length;
+
+	  for (var i = 0; i < len; i++) {
+	    if (!split[i]) continue; // ignore empty strings
+	    namespaces = split[i].replace(/\*/g, '.*?');
+	    if (namespaces[0] === '-') {
+	      exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
+	    } else {
+	      exports.names.push(new RegExp('^' + namespaces + '$'));
+	    }
+	  }
+	}
+
+	/**
+	 * Disable debug output.
+	 *
+	 * @api public
+	 */
+
+	function disable() {
+	  exports.enable('');
+	}
+
+	/**
+	 * Returns true if the given mode name is enabled, false otherwise.
+	 *
+	 * @param {String} name
+	 * @return {Boolean}
+	 * @api public
+	 */
+
+	function enabled(name) {
+	  var i, len;
+	  for (i = 0, len = exports.skips.length; i < len; i++) {
+	    if (exports.skips[i].test(name)) {
+	      return false;
+	    }
+	  }
+	  for (i = 0, len = exports.names.length; i < len; i++) {
+	    if (exports.names[i].test(name)) {
+	      return true;
+	    }
+	  }
+	  return false;
+	}
+
+	/**
+	 * Coerce `val`.
+	 *
+	 * @param {Mixed} val
+	 * @return {Mixed}
+	 * @api private
+	 */
+
+	function coerce(val) {
+	  if (val instanceof Error) return val.stack || val.message;
+	  return val;
+	}
+
+
+/***/ },
+/* 270 */
+/***/ function(module, exports) {
+
+	/**
+	 * Helpers.
+	 */
+
+	var s = 1000;
+	var m = s * 60;
+	var h = m * 60;
+	var d = h * 24;
+	var y = d * 365.25;
+
+	/**
+	 * Parse or format the given `val`.
+	 *
+	 * Options:
+	 *
+	 *  - `long` verbose formatting [false]
+	 *
+	 * @param {String|Number} val
+	 * @param {Object} options
+	 * @return {String|Number}
+	 * @api public
+	 */
+
+	module.exports = function(val, options){
+	  options = options || {};
+	  if ('string' == typeof val) return parse(val);
+	  return options.long
+	    ? long(val)
+	    : short(val);
+	};
+
+	/**
+	 * Parse the given `str` and return milliseconds.
+	 *
+	 * @param {String} str
+	 * @return {Number}
+	 * @api private
+	 */
+
+	function parse(str) {
+	  str = '' + str;
+	  if (str.length > 10000) return;
+	  var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
+	  if (!match) return;
+	  var n = parseFloat(match[1]);
+	  var type = (match[2] || 'ms').toLowerCase();
+	  switch (type) {
+	    case 'years':
+	    case 'year':
+	    case 'yrs':
+	    case 'yr':
+	    case 'y':
+	      return n * y;
+	    case 'days':
+	    case 'day':
+	    case 'd':
+	      return n * d;
+	    case 'hours':
+	    case 'hour':
+	    case 'hrs':
+	    case 'hr':
+	    case 'h':
+	      return n * h;
+	    case 'minutes':
+	    case 'minute':
+	    case 'mins':
+	    case 'min':
+	    case 'm':
+	      return n * m;
+	    case 'seconds':
+	    case 'second':
+	    case 'secs':
+	    case 'sec':
+	    case 's':
+	      return n * s;
+	    case 'milliseconds':
+	    case 'millisecond':
+	    case 'msecs':
+	    case 'msec':
+	    case 'ms':
+	      return n;
+	  }
+	}
+
+	/**
+	 * Short format for `ms`.
+	 *
+	 * @param {Number} ms
+	 * @return {String}
+	 * @api private
+	 */
+
+	function short(ms) {
+	  if (ms >= d) return Math.round(ms / d) + 'd';
+	  if (ms >= h) return Math.round(ms / h) + 'h';
+	  if (ms >= m) return Math.round(ms / m) + 'm';
+	  if (ms >= s) return Math.round(ms / s) + 's';
+	  return ms + 'ms';
+	}
+
+	/**
+	 * Long format for `ms`.
+	 *
+	 * @param {Number} ms
+	 * @return {String}
+	 * @api private
+	 */
+
+	function long(ms) {
+	  return plural(ms, d, 'day')
+	    || plural(ms, h, 'hour')
+	    || plural(ms, m, 'minute')
+	    || plural(ms, s, 'second')
+	    || ms + ' ms';
+	}
+
+	/**
+	 * Pluralization helper.
+	 */
+
+	function plural(ms, n, name) {
+	  if (ms < n) return;
+	  if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;
+	  return Math.ceil(ms / n) + ' ' + name + 's';
+	}
+
+
+/***/ },
+/* 271 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/*! JSON v3.3.2 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */
+	;(function () {
+	  // Detect the `define` function exposed by asynchronous module loaders. The
+	  // strict `define` check is necessary for compatibility with `r.js`.
+	  var isLoader = "function" === "function" && __webpack_require__(272);
+
+	  // A set of types used to distinguish objects from primitives.
+	  var objectTypes = {
+	    "function": true,
+	    "object": true
+	  };
+
+	  // Detect the `exports` object exposed by CommonJS implementations.
+	  var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;
+
+	  // Use the `global` object exposed by Node (including Browserify via
+	  // `insert-module-globals`), Narwhal, and Ringo as the default context,
+	  // and the `window` object in browsers. Rhino exports a `global` function
+	  // instead.
+	  var root = objectTypes[typeof window] && window || this,
+	      freeGlobal = freeExports && objectTypes[typeof module] && module && !module.nodeType && typeof global == "object" && global;
+
+	  if (freeGlobal && (freeGlobal["global"] === freeGlobal || freeGlobal["window"] === freeGlobal || freeGlobal["self"] === freeGlobal)) {
+	    root = freeGlobal;
+	  }
+
+	  // Public: Initializes JSON 3 using the given `context` object, attaching the
+	  // `stringify` and `parse` functions to the specified `exports` object.
+	  function runInContext(context, exports) {
+	    context || (context = root["Object"]());
+	    exports || (exports = root["Object"]());
+
+	    // Native constructor aliases.
+	    var Number = context["Number"] || root["Number"],
+	        String = context["String"] || root["String"],
+	        Object = context["Object"] || root["Object"],
+	        Date = context["Date"] || root["Date"],
+	        SyntaxError = context["SyntaxError"] || root["SyntaxError"],
+	        TypeError = context["TypeError"] || root["TypeError"],
+	        Math = context["Math"] || root["Math"],
+	        nativeJSON = context["JSON"] || root["JSON"];
+
+	    // Delegate to the native `stringify` and `parse` implementations.
+	    if (typeof nativeJSON == "object" && nativeJSON) {
+	      exports.stringify = nativeJSON.stringify;
+	      exports.parse = nativeJSON.parse;
+	    }
+
+	    // Convenience aliases.
+	    var objectProto = Object.prototype,
+	        getClass = objectProto.toString,
+	        isProperty, forEach, undef;
+
+	    // Test the `Date#getUTC*` methods. Based on work by @Yaffle.
+	    var isExtended = new Date(-3509827334573292);
+	    try {
+	      // The `getUTCFullYear`, `Month`, and `Date` methods return nonsensical
+	      // results for certain dates in Opera >= 10.53.
+	      isExtended = isExtended.getUTCFullYear() == -109252 && isExtended.getUTCMonth() === 0 && isExtended.getUTCDate() === 1 &&
+	        // Safari < 2.0.2 stores the internal millisecond time value correctly,
+	        // but clips the values returned by the date methods to the range of
+	        // signed 32-bit integers ([-2 ** 31, 2 ** 31 - 1]).
+	        isExtended.getUTCHours() == 10 && isExtended.getUTCMinutes() == 37 && isExtended.getUTCSeconds() == 6 && isExtended.getUTCMilliseconds() == 708;
+	    } catch (exception) {}
+
+	    // Internal: Determines whether the native `JSON.stringify` and `parse`
+	    // implementations are spec-compliant. Based on work by Ken Snyder.
+	    function has(name) {
+	      if (has[name] !== undef) {
+	        // Return cached feature test result.
+	        return has[name];
+	      }
+	      var isSupported;
+	      if (name == "bug-string-char-index") {
+	        // IE <= 7 doesn't support accessing string characters using square
+	        // bracket notation. IE 8 only supports this for primitives.
+	        isSupported = "a"[0] != "a";
+	      } else if (name == "json") {
+	        // Indicates whether both `JSON.stringify` and `JSON.parse` are
+	        // supported.
+	        isSupported = has("json-stringify") && has("json-parse");
+	      } else {
+	        var value, serialized = '{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';
+	        // Test `JSON.stringify`.
+	        if (name == "json-stringify") {
+	          var stringify = exports.stringify, stringifySupported = typeof stringify == "function" && isExtended;
+	          if (stringifySupported) {
+	            // A test function object with a custom `toJSON` method.
+	            (value = function () {
+	              return 1;
+	            }).toJSON = value;
+	            try {
+	              stringifySupported =
+	                // Firefox 3.1b1 and b2 serialize string, number, and boolean
+	                // primitives as object literals.
+	                stringify(0) === "0" &&
+	                // FF 3.1b1, b2, and JSON 2 serialize wrapped primitives as object
+	                // literals.
+	                stringify(new Number()) === "0" &&
+	                stringify(new String()) == '""' &&
+	                // FF 3.1b1, 2 throw an error if the value is `null`, `undefined`, or
+	                // does not define a canonical JSON representation (this applies to
+	                // objects with `toJSON` properties as well, *unless* they are nested
+	                // within an object or array).
+	                stringify(getClass) === undef &&
+	                // IE 8 serializes `undefined` as `"undefined"`. Safari <= 5.1.7 and
+	                // FF 3.1b3 pass this test.
+	                stringify(undef) === undef &&
+	                // Safari <= 5.1.7 and FF 3.1b3 throw `Error`s and `TypeError`s,
+	                // respectively, if the value is omitted entirely.
+	                stringify() === undef &&
+	                // FF 3.1b1, 2 throw an error if the given value is not a number,
+	                // string, array, object, Boolean, or `null` literal. This applies to
+	                // objects with custom `toJSON` methods as well, unless they are nested
+	                // inside object or array literals. YUI 3.0.0b1 ignores custom `toJSON`
+	                // methods entirely.
+	                stringify(value) === "1" &&
+	                stringify([value]) == "[1]" &&
+	                // Prototype <= 1.6.1 serializes `[undefined]` as `"[]"` instead of
+	                // `"[null]"`.
+	                stringify([undef]) == "[null]" &&
+	                // YUI 3.0.0b1 fails to serialize `null` literals.
+	                stringify(null) == "null" &&
+	                // FF 3.1b1, 2 halts serialization if an array contains a function:
+	                // `[1, true, getClass, 1]` serializes as "[1,true,],". FF 3.1b3
+	                // elides non-JSON values from objects and arrays, unless they
+	                // define custom `toJSON` methods.
+	                stringify([undef, getClass, null]) == "[null,null,null]" &&
+	                // Simple serialization test. FF 3.1b1 uses Unicode escape sequences
+	                // where character escape codes are expected (e.g., `\b` => `\u0008`).
+	                stringify({ "a": [value, true, false, null, "\x00\b\n\f\r\t"] }) == serialized &&
+	                // FF 3.1b1 and b2 ignore the `filter` and `width` arguments.
+	                stringify(null, value) === "1" &&
+	                stringify([1, 2], null, 1) == "[\n 1,\n 2\n]" &&
+	                // JSON 2, Prototype <= 1.7, and older WebKit builds incorrectly
+	                // serialize extended years.
+	                stringify(new Date(-8.64e15)) == '"-271821-04-20T00:00:00.000Z"' &&
+	                // The milliseconds are optional in ES 5, but required in 5.1.
+	                stringify(new Date(8.64e15)) == '"+275760-09-13T00:00:00.000Z"' &&
+	                // Firefox <= 11.0 incorrectly serializes years prior to 0 as negative
+	                // four-digit years instead of six-digit years. Credits: @Yaffle.
+	                stringify(new Date(-621987552e5)) == '"-000001-01-01T00:00:00.000Z"' &&
+	                // Safari <= 5.1.5 and Opera >= 10.53 incorrectly serialize millisecond
+	                // values less than 1000. Credits: @Yaffle.
+	                stringify(new Date(-1)) == '"1969-12-31T23:59:59.999Z"';
+	            } catch (exception) {
+	              stringifySupported = false;
+	            }
+	          }
+	          isSupported = stringifySupported;
+	        }
+	        // Test `JSON.parse`.
+	        if (name == "json-parse") {
+	          var parse = exports.parse;
+	          if (typeof parse == "function") {
+	            try {
+	              // FF 3.1b1, b2 will throw an exception if a bare literal is provided.
+	              // Conforming implementations should also coerce the initial argument to
+	              // a string prior to parsing.
+	              if (parse("0") === 0 && !parse(false)) {
+	                // Simple parsing test.
+	                value = parse(serialized);
+	                var parseSupported = value["a"].length == 5 && value["a"][0] === 1;
+	                if (parseSupported) {
+	                  try {
+	                    // Safari <= 5.1.2 and FF 3.1b1 allow unescaped tabs in strings.
+	                    parseSupported = !parse('"\t"');
+	                  } catch (exception) {}
+	                  if (parseSupported) {
+	                    try {
+	                      // FF 4.0 and 4.0.1 allow leading `+` signs and leading
+	                      // decimal points. FF 4.0, 4.0.1, and IE 9-10 also allow
+	                      // certain octal literals.
+	                      parseSupported = parse("01") !== 1;
+	                    } catch (exception) {}
+	                  }
+	                  if (parseSupported) {
+	                    try {
+	                      // FF 4.0, 4.0.1, and Rhino 1.7R3-R4 allow trailing decimal
+	                      // points. These environments, along with FF 3.1b1 and 2,
+	                      // also allow trailing commas in JSON objects and arrays.
+	                      parseSupported = parse("1.") !== 1;
+	                    } catch (exception) {}
+	                  }
+	                }
+	              }
+	            } catch (exception) {
+	              parseSupported = false;
+	            }
+	          }
+	          isSupported = parseSupported;
+	        }
+	      }
+	      return has[name] = !!isSupported;
+	    }
+
+	    if (!has("json")) {
+	      // Common `[[Class]]` name aliases.
+	      var functionClass = "[object Function]",
+	          dateClass = "[object Date]",
+	          numberClass = "[object Number]",
+	          stringClass = "[object String]",
+	          arrayClass = "[object Array]",
+	          booleanClass = "[object Boolean]";
+
+	      // Detect incomplete support for accessing string characters by index.
+	      var charIndexBuggy = has("bug-string-char-index");
+
+	      // Define additional utility methods if the `Date` methods are buggy.
+	      if (!isExtended) {
+	        var floor = Math.floor;
+	        // A mapping between the months of the year and the number of days between
+	        // January 1st and the first of the respective month.
+	        var Months = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334];
+	        // Internal: Calculates the number of days between the Unix epoch and the
+	        // first day of the given month.
+	        var getDay = function (year, month) {
+	          return Months[month] + 365 * (year - 1970) + floor((year - 1969 + (month = +(month > 1))) / 4) - floor((year - 1901 + month) / 100) + floor((year - 1601 + month) / 400);
+	        };
+	      }
+
+	      // Internal: Determines if a property is a direct property of the given
+	      // object. Delegates to the native `Object#hasOwnProperty` method.
+	      if (!(isProperty = objectProto.hasOwnProperty)) {
+	        isProperty = function (property) {
+	          var members = {}, constructor;
+	          if ((members.__proto__ = null, members.__proto__ = {
+	            // The *proto* property cannot be set multiple times in recent
+	            // versions of Firefox and SeaMonkey.
+	            "toString": 1
+	          }, members).toString != getClass) {
+	            // Safari <= 2.0.3 doesn't implement `Object#hasOwnProperty`, but
+	            // supports the mutable *proto* property.
+	            isProperty = function (property) {
+	              // Capture and break the object's prototype chain (see section 8.6.2
+	              // of the ES 5.1 spec). The parenthesized expression prevents an
+	              // unsafe transformation by the Closure Compiler.
+	              var original = this.__proto__, result = property in (this.__proto__ = null, this);
+	              // Restore the original prototype chain.
+	              this.__proto__ = original;
+	              return result;
+	            };
+	          } else {
+	            // Capture a reference to the top-level `Object` constructor.
+	            constructor = members.constructor;
+	            // Use the `constructor` property to simulate `Object#hasOwnProperty` in
+	            // other environments.
+	            isProperty = function (property) {
+	              var parent = (this.constructor || constructor).prototype;
+	              return property in this && !(property in parent && this[property] === parent[property]);
+	            };
+	          }
+	          members = null;
+	          return isProperty.call(this, property);
+	        };
+	      }
+
+	      // Internal: Normalizes the `for...in` iteration algorithm across
+	      // environments. Each enumerated key is yielded to a `callback` function.
+	      forEach = function (object, callback) {
+	        var size = 0, Properties, members, property;
+
+	        // Tests for bugs in the current environment's `for...in` algorithm. The
+	        // `valueOf` property inherits the non-enumerable flag from
+	        // `Object.prototype` in older versions of IE, Netscape, and Mozilla.
+	        (Properties = function () {
+	          this.valueOf = 0;
+	        }).prototype.valueOf = 0;
+
+	        // Iterate over a new instance of the `Properties` class.
+	        members = new Properties();
+	        for (property in members) {
+	          // Ignore all properties inherited from `Object.prototype`.
+	          if (isProperty.call(members, property)) {
+	            size++;
+	          }
+	        }
+	        Properties = members = null;
+
+	        // Normalize the iteration algorithm.
+	        if (!size) {
+	          // A list of non-enumerable properties inherited from `Object.prototype`.
+	          members = ["valueOf", "toString", "toLocaleString", "propertyIsEnumerable", "isPrototypeOf", "hasOwnProperty", "constructor"];
+	          // IE <= 8, Mozilla 1.0, and Netscape 6.2 ignore shadowed non-enumerable
+	          // properties.
+	          forEach = function (object, callback) {
+	            var isFunction = getClass.call(object) == functionClass, property, length;
+	            var hasProperty = !isFunction && typeof object.constructor != "function" && objectTypes[typeof object.hasOwnProperty] && object.hasOwnProperty || isProperty;
+	            for (property in object) {
+	              // Gecko <= 1.0 enumerates the `prototype` property of functions under
+	              // certain conditions; IE does not.
+	              if (!(isFunction && property == "prototype") && hasProperty.call(object, property)) {
+	                callback(property);
+	              }
+	            }
+	            // Manually invoke the callback for each non-enumerable property.
+	            for (length = members.length; property = members[--length]; hasProperty.call(object, property) && callback(property));
+	          };
+	        } else if (size == 2) {
+	          // Safari <= 2.0.4 enumerates shadowed properties twice.
+	          forEach = function (object, callback) {
+	            // Create a set of iterated properties.
+	            var members = {}, isFunction = getClass.call(object) == functionClass, property;
+	            for (property in object) {
+	              // Store each property name to prevent double enumeration. The
+	              // `prototype` property of functions is not enumerated due to cross-
+	              // environment inconsistencies.
+	              if (!(isFunction && property == "prototype") && !isProperty.call(members, property) && (members[property] = 1) && isProperty.call(object, property)) {
+	                callback(property);
+	              }
+	            }
+	          };
+	        } else {
+	          // No bugs detected; use the standard `for...in` algorithm.
+	          forEach = function (object, callback) {
+	            var isFunction = getClass.call(object) == functionClass, property, isConstructor;
+	            for (property in object) {
+	              if (!(isFunction && property == "prototype") && isProperty.call(object, property) && !(isConstructor = property === "constructor")) {
+	                callback(property);
+	              }
+	            }
+	            // Manually invoke the callback for the `constructor` property due to
+	            // cross-environment inconsistencies.
+	            if (isConstructor || isProperty.call(object, (property = "constructor"))) {
+	              callback(property);
+	            }
+	          };
+	        }
+	        return forEach(object, callback);
+	      };
+
+	      // Public: Serializes a JavaScript `value` as a JSON string. The optional
+	      // `filter` argument may specify either a function that alters how object and
+	      // array members are serialized, or an array of strings and numbers that
+	      // indicates which properties should be serialized. The optional `width`
+	      // argument may be either a string or number that specifies the indentation
+	      // level of the output.
+	      if (!has("json-stringify")) {
+	        // Internal: A map of control characters and their escaped equivalents.
+	        var Escapes = {
+	          92: "\\\\",
+	          34: '\\"',
+	          8: "\\b",
+	          12: "\\f",
+	          10: "\\n",
+	          13: "\\r",
+	          9: "\\t"
+	        };
+
+	        // Internal: Converts `value` into a zero-padded string such that its
+	        // length is at least equal to `width`. The `width` must be <= 6.
+	        var leadingZeroes = "000000";
+	        var toPaddedString = function (width, value) {
+	          // The `|| 0` expression is necessary to work around a bug in
+	          // Opera <= 7.54u2 where `0 == -0`, but `String(-0) !== "0"`.
+	          return (leadingZeroes + (value || 0)).slice(-width);
+	        };
+
+	        // Internal: Double-quotes a string `value`, replacing all ASCII control
+	        // characters (characters with code unit values between 0 and 31) with
+	        // their escaped equivalents. This is an implementation of the
+	        // `Quote(value)` operation defined in ES 5.1 section 15.12.3.
+	        var unicodePrefix = "\\u00";
+	        var quote = function (value) {
+	          var result = '"', index = 0, length = value.length, useCharIndex = !charIndexBuggy || length > 10;
+	          var symbols = useCharIndex && (charIndexBuggy ? value.split("") : value);
+	          for (; index < length; index++) {
+	            var charCode = value.charCodeAt(index);
+	            // If the character is a control character, append its Unicode or
+	            // shorthand escape sequence; otherwise, append the character as-is.
+	            switch (charCode) {
+	              case 8: case 9: case 10: case 12: case 13: case 34: case 92:
+	                result += Escapes[charCode];
+	                break;
+	              default:
+	                if (charCode < 32) {
+	                  result += unicodePrefix + toPaddedString(2, charCode.toString(16));
+	                  break;
+	                }
+	                result += useCharIndex ? symbols[index] : value.charAt(index);
+	            }
+	          }
+	          return result + '"';
+	        };
+
+	        // Internal: Recursively serializes an object. Implements the
+	        // `Str(key, holder)`, `JO(value)`, and `JA(value)` operations.
+	        var serialize = function (property, object, callback, properties, whitespace, indentation, stack) {
+	          var value, className, year, month, date, time, hours, minutes, seconds, milliseconds, results, element, index, length, prefix, result;
+	          try {
+	            // Necessary for host object support.
+	            value = object[property];
+	          } catch (exception) {}
+	          if (typeof value == "object" && value) {
+	            className = getClass.call(value);
+	            if (className == dateClass && !isProperty.call(value, "toJSON")) {
+	              if (value > -1 / 0 && value < 1 / 0) {
+	                // Dates are serialized according to the `Date#toJSON` method
+	                // specified in ES 5.1 section 15.9.5.44. See section 15.9.1.15
+	                // for the ISO 8601 date time string format.
+	                if (getDay) {
+	                  // Manually compute the year, month, date, hours, minutes,
+	                  // seconds, and milliseconds if the `getUTC*` methods are
+	                  // buggy. Adapted from @Yaffle's `date-shim` project.
+	                  date = floor(value / 864e5);
+	                  for (year = floor(date / 365.2425) + 1970 - 1; getDay(year + 1, 0) <= date; year++);
+	                  for (month = floor((date - getDay(year, 0)) / 30.42); getDay(year, month + 1) <= date; month++);
+	                  date = 1 + date - getDay(year, month);
+	                  // The `time` value specifies the time within the day (see ES
+	                  // 5.1 section 15.9.1.2). The formula `(A % B + B) % B` is used
+	                  // to compute `A modulo B`, as the `%` operator does not
+	                  // correspond to the `modulo` operation for negative numbers.
+	                  time = (value % 864e5 + 864e5) % 864e5;
+	                  // The hours, minutes, seconds, and milliseconds are obtained by
+	                  // decomposing the time within the day. See section 15.9.1.10.
+	                  hours = floor(time / 36e5) % 24;
+	                  minutes = floor(time / 6e4) % 60;
+	                  seconds = floor(time / 1e3) % 60;
+	                  milliseconds = time % 1e3;
+	                } else {
+	                  year = value.getUTCFullYear();
+	                  month = value.getUTCMonth();
+	                  date = value.getUTCDate();
+	                  hours = value.getUTCHours();
+	                  minutes = value.getUTCMinutes();
+	                  seconds = value.getUTCSeconds();
+	                  milliseconds = value.getUTCMilliseconds();
+	                }
+	                // Serialize extended years correctly.
+	                value = (year <= 0 || year >= 1e4 ? (year < 0 ? "-" : "+") + toPaddedString(6, year < 0 ? -year : year) : toPaddedString(4, year)) +
+	                  "-" + toPaddedString(2, month + 1) + "-" + toPaddedString(2, date) +
+	                  // Months, dates, hours, minutes, and seconds should have two
+	                  // digits; milliseconds should have three.
+	                  "T" + toPaddedString(2, hours) + ":" + toPaddedString(2, minutes) + ":" + toPaddedString(2, seconds) +
+	                  // Milliseconds are optional in ES 5.0, but required in 5.1.
+	                  "." + toPaddedString(3, milliseconds) + "Z";
+	              } else {
+	                value = null;
+	              }
+	            } else if (typeof value.toJSON == "function" && ((className != numberClass && className != stringClass && className != arrayClass) || isProperty.call(value, "toJSON"))) {
+	              // Prototype <= 1.6.1 adds non-standard `toJSON` methods to the
+	              // `Number`, `String`, `Date`, and `Array` prototypes. JSON 3
+	              // ignores all `toJSON` methods on these objects unless they are
+	              // defined directly on an instance.
+	              value = value.toJSON(property);
+	            }
+	          }
+	          if (callback) {
+	            // If a replacement function was provided, call it to obtain the value
+	            // for serialization.
+	            value = callback.call(object, property, value);
+	          }
+	          if (value === null) {
+	            return "null";
+	          }
+	          className = getClass.call(value);
+	          if (className == booleanClass) {
+	            // Booleans are represented literally.
+	            return "" + value;
+	          } else if (className == numberClass) {
+	            // JSON numbers must be finite. `Infinity` and `NaN` are serialized as
+	            // `"null"`.
+	            return value > -1 / 0 && value < 1 / 0 ? "" + value : "null";
+	          } else if (className == stringClass) {
+	            // Strings are double-quoted and escaped.
+	            return quote("" + value);
+	          }
+	          // Recursively serialize objects and arrays.
+	          if (typeof value == "object") {
+	            // Check for cyclic structures. This is a linear search; performance
+	            // is inversely proportional to the number of unique nested objects.
+	            for (length = stack.length; length--;) {
+	              if (stack[length] === value) {
+	                // Cyclic structures cannot be serialized by `JSON.stringify`.
+	                throw TypeError();
+	              }
+	            }
+	            // Add the object to the stack of traversed objects.
+	            stack.push(value);
+	            results = [];
+	            // Save the current indentation level and indent one additional level.
+	            prefix = indentation;
+	            indentation += whitespace;
+	            if (className == arrayClass) {
+	              // Recursively serialize array elements.
+	              for (index = 0, length = value.length; index < length; index++) {
+	                element = serialize(index, value, callback, properties, whitespace, indentation, stack);
+	                results.push(element === undef ? "null" : element);
+	              }
+	              result = results.length ? (whitespace ? "[\n" + indentation + results.join(",\n" + indentation) + "\n" + prefix + "]" : ("[" + results.join(",") + "]")) : "[]";
+	            } else {
+	              // Recursively serialize object members. Members are selected from
+	              // either a user-specified list of property names, or the object
+	              // itself.
+	              forEach(properties || value, function (property) {
+	                var element = serialize(property, value, callback, properties, whitespace, indentation, stack);
+	                if (element !== undef) {
+	                  // According to ES 5.1 section 15.12.3: "If `gap` {whitespace}
+	                  // is not the empty string, let `member` {quote(property) + ":"}
+	                  // be the concatenation of `member` and the `space` character."
+	                  // The "`space` character" refers to the literal space
+	                  // character, not the `space` {width} argument provided to
+	                  // `JSON.stringify`.
+	                  results.push(quote(property) + ":" + (whitespace ? " " : "") + element);
+	                }
+	              });
+	              result = results.length ? (whitespace ? "{\n" + indentation + results.join(",\n" + indentation) + "\n" + prefix + "}" : ("{" + results.join(",") + "}")) : "{}";
+	            }
+	            // Remove the object from the traversed object stack.
+	            stack.pop();
+	            return result;
+	          }
+	        };
+
+	        // Public: `JSON.stringify`. See ES 5.1 section 15.12.3.
+	        exports.stringify = function (source, filter, width) {
+	          var whitespace, callback, properties, className;
+	          if (objectTypes[typeof filter] && filter) {
+	            if ((className = getClass.call(filter)) == functionClass) {
+	              callback = filter;
+	            } else if (className == arrayClass) {
+	              // Convert the property names array into a makeshift set.
+	              properties = {};
+	              for (var index = 0, length = filter.length, value; index < length; value = filter[index++], ((className = getClass.call(value)), className == stringClass || className == numberClass) && (properties[value] = 1));
+	            }
+	          }
+	          if (width) {
+	            if ((className = getClass.call(width)) == numberClass) {
+	              // Convert the `width` to an integer and create a string containing
+	              // `width` number of space characters.
+	              if ((width -= width % 1) > 0) {
+	                for (whitespace = "", width > 10 && (width = 10); whitespace.length < width; whitespace += " ");
+	              }
+	            } else if (className == stringClass) {
+	              whitespace = width.length <= 10 ? width : width.slice(0, 10);
+	            }
+	          }
+	          // Opera <= 7.54u2 discards the values associated with empty string keys
+	          // (`""`) only if they are used directly within an object member list
+	          // (e.g., `!("" in { "": 1})`).
+	          return serialize("", (value = {}, value[""] = source, value), callback, properties, whitespace, "", []);
+	        };
+	      }
+
+	      // Public: Parses a JSON source string.
+	      if (!has("json-parse")) {
+	        var fromCharCode = String.fromCharCode;
+
+	        // Internal: A map of escaped control characters and their unescaped
+	        // equivalents.
+	        var Unescapes = {
+	          92: "\\",
+	          34: '"',
+	          47: "/",
+	          98: "\b",
+	          116: "\t",
+	          110: "\n",
+	          102: "\f",
+	          114: "\r"
+	        };
+
+	        // Internal: Stores the parser state.
+	        var Index, Source;
+
+	        // Internal: Resets the parser state and throws a `SyntaxError`.
+	        var abort = function () {
+	          Index = Source = null;
+	          throw SyntaxError();
+	        };
+
+	        // Internal: Returns the next token, or `"$"` if the parser has reached
+	        // the end of the source string. A token may be a string, number, `null`
+	        // literal, or Boolean literal.
+	        var lex = function () {
+	          var source = Source, length = source.length, value, begin, position, isSigned, charCode;
+	          while (Index < length) {
+	            charCode = source.charCodeAt(Index);
+	            switch (charCode) {
+	              case 9: case 10: case 13: case 32:
+	                // Skip whitespace tokens, including tabs, carriage returns, line
+	                // feeds, and space characters.
+	                Index++;
+	                break;
+	              case 123: case 125: case 91: case 93: case 58: case 44:
+	                // Parse a punctuator token (`{`, `}`, `[`, `]`, `:`, or `,`) at
+	                // the current position.
+	                value = charIndexBuggy ? source.charAt(Index) : source[Index];
+	                Index++;
+	                return value;
+	              case 34:
+	                // `"` delimits a JSON string; advance to the next character and
+	                // begin parsing the string. String tokens are prefixed with the
+	                // sentinel `@` character to distinguish them from punctuators and
+	                // end-of-string tokens.
+	                for (value = "@", Index++; Index < length;) {
+	                  charCode = source.charCodeAt(Index);
+	                  if (charCode < 32) {
+	                    // Unescaped ASCII control characters (those with a code unit
+	                    // less than the space character) are not permitted.
+	                    abort();
+	                  } else if (charCode == 92) {
+	                    // A reverse solidus (`\`) marks the beginning of an escaped
+	                    // control character (including `"`, `\`, and `/`) or Unicode
+	                    // escape sequence.
+	                    charCode = source.charCodeAt(++Index);
+	                    switch (charCode) {
+	                      case 92: case 34: case 47: case 98: case 116: case 110: case 102: case 114:
+	                        // Revive escaped control characters.
+	                        value += Unescapes[charCode];
+	                        Index++;
+	                        break;
+	                      case 117:
+	                        // `\u` marks the beginning of a Unicode escape sequence.
+	                        // Advance to the first character and validate the
+	                        // four-digit code point.
+	                        begin = ++Index;
+	                        for (position = Index + 4; Index < position; Index++) {
+	                          charCode = source.charCodeAt(Index);
+	                          // A valid sequence comprises four hexdigits (case-
+	                          // insensitive) that form a single hexadecimal value.
+	                          if (!(charCode >= 48 && charCode <= 57 || charCode >= 97 && charCode <= 102 || charCode >= 65 && charCode <= 70)) {
+	                            // Invalid Unicode escape sequence.
+	                            abort();
+	                          }
+	                        }
+	                        // Revive the escaped character.
+	                        value += fromCharCode("0x" + source.slice(begin, Index));
+	                        break;
+	                      default:
+	                        // Invalid escape sequence.
+	                        abort();
+	                    }
+	                  } else {
+	                    if (charCode == 34) {
+	                      // An unescaped double-quote character marks the end of the
+	                      // string.
+	                      break;
+	                    }
+	                    charCode = source.charCodeAt(Index);
+	                    begin = Index;
+	                    // Optimize for the common case where a string is valid.
+	                    while (charCode >= 32 && charCode != 92 && charCode != 34) {
+	                      charCode = source.charCodeAt(++Index);
+	                    }
+	                    // Append the string as-is.
+	                    value += source.slice(begin, Index);
+	                  }
+	                }
+	                if (source.charCodeAt(Index) == 34) {
+	                  // Advance to the next character and return the revived string.
+	                  Index++;
+	                  return value;
+	                }
+	                // Unterminated string.
+	                abort();
+	              default:
+	                // Parse numbers and literals.
+	                begin = Index;
+	                // Advance past the negative sign, if one is specified.
+	                if (charCode == 45) {
+	                  isSigned = true;
+	                  charCode = source.charCodeAt(++Index);
+	                }
+	                // Parse an integer or floating-point value.
+	                if (charCode >= 48 && charCode <= 57) {
+	                  // Leading zeroes are interpreted as octal literals.
+	                  if (charCode == 48 && ((charCode = source.charCodeAt(Index + 1)), charCode >= 48 && charCode <= 57)) {
+	                    // Illegal octal literal.
+	                    abort();
+	                  }
+	                  isSigned = false;
+	                  // Parse the integer component.
+	                  for (; Index < length && ((charCode = source.charCodeAt(Index)), charCode >= 48 && charCode <= 57); Index++);
+	                  // Floats cannot contain a leading decimal point; however, this
+	                  // case is already accounted for by the parser.
+	                  if (source.charCodeAt(Index) == 46) {
+	                    position = ++Index;
+	                    // Parse the decimal component.
+	                    for (; position < length && ((charCode = source.charCodeAt(position)), charCode >= 48 && charCode <= 57); position++);
+	                    if (position == Index) {
+	                      // Illegal trailing decimal.
+	                      abort();
+	                    }
+	                    Index = position;
+	                  }
+	                  // Parse exponents. The `e` denoting the exponent is
+	                  // case-insensitive.
+	                  charCode = source.charCodeAt(Index);
+	                  if (charCode == 101 || charCode == 69) {
+	                    charCode = source.charCodeAt(++Index);
+	                    // Skip past the sign following the exponent, if one is
+	                    // specified.
+	                    if (charCode == 43 || charCode == 45) {
+	                      Index++;
+	                    }
+	                    // Parse the exponential component.
+	                    for (position = Index; position < length && ((charCode = source.charCodeAt(position)), charCode >= 48 && charCode <= 57); position++);
+	                    if (position == Index) {
+	                      // Illegal empty exponent.
+	                      abort();
+	                    }
+	                    Index = position;
+	                  }
+	                  // Coerce the parsed value to a JavaScript number.
+	                  return +source.slice(begin, Index);
+	                }
+	                // A negative sign may only precede numbers.
+	                if (isSigned) {
+	                  abort();
+	                }
+	                // `true`, `false`, and `null` literals.
+	                if (source.slice(Index, Index + 4) == "true") {
+	                  Index += 4;
+	                  return true;
+	                } else if (source.slice(Index, Index + 5) == "false") {
+	                  Index += 5;
+	                  return false;
+	                } else if (source.slice(Index, Index + 4) == "null") {
+	                  Index += 4;
+	                  return null;
+	                }
+	                // Unrecognized token.
+	                abort();
+	            }
+	          }
+	          // Return the sentinel `$` character if the parser has reached the end
+	          // of the source string.
+	          return "$";
+	        };
+
+	        // Internal: Parses a JSON `value` token.
+	        var get = function (value) {
+	          var results, hasMembers;
+	          if (value == "$") {
+	            // Unexpected end of input.
+	            abort();
+	          }
+	          if (typeof value == "string") {
+	            if ((charIndexBuggy ? value.charAt(0) : value[0]) == "@") {
+	              // Remove the sentinel `@` character.
+	              return value.slice(1);
+	            }
+	            // Parse object and array literals.
+	            if (value == "[") {
+	              // Parses a JSON array, returning a new JavaScript array.
+	              results = [];
+	              for (;; hasMembers || (hasMembers = true)) {
+	                value = lex();
+	                // A closing square bracket marks the end of the array literal.
+	                if (value == "]") {
+	                  break;
+	                }
+	                // If the array literal contains elements, the current token
+	                // should be a comma separating the previous element from the
+	                // next.
+	                if (hasMembers) {
+	                  if (value == ",") {
+	                    value = lex();
+	                    if (value == "]") {
+	                      // Unexpected trailing `,` in array literal.
+	                      abort();
+	                    }
+	                  } else {
+	                    // A `,` must separate each array element.
+	                    abort();
+	                  }
+	                }
+	                // Elisions and leading commas are not permitted.
+	                if (value == ",") {
+	                  abort();
+	                }
+	                results.push(get(value));
+	              }
+	              return results;
+	            } else if (value == "{") {
+	              // Parses a JSON object, returning a new JavaScript object.
+	              results = {};
+	              for (;; hasMembers || (hasMembers = true)) {
+	                value = lex();
+	                // A closing curly brace marks the end of the object literal.
+	                if (value == "}") {
+	                  break;
+	                }
+	                // If the object literal contains members, the current token
+	                // should be a comma separator.
+	                if (hasMembers) {
+	                  if (value == ",") {
+	                    value = lex();
+	                    if (value == "}") {
+	                      // Unexpected trailing `,` in object literal.
+	                      abort();
+	                    }
+	                  } else {
+	                    // A `,` must separate each object member.
+	                    abort();
+	                  }
+	                }
+	                // Leading commas are not permitted, object property names must be
+	                // double-quoted strings, and a `:` must separate each property
+	                // name and value.
+	                if (value == "," || typeof value != "string" || (charIndexBuggy ? value.charAt(0) : value[0]) != "@" || lex() != ":") {
+	                  abort();
+	                }
+	                results[value.slice(1)] = get(lex());
+	              }
+	              return results;
+	            }
+	            // Unexpected token encountered.
+	            abort();
+	          }
+	          return value;
+	        };
+
+	        // Internal: Updates a traversed object member.
+	        var update = function (source, property, callback) {
+	          var element = walk(source, property, callback);
+	          if (element === undef) {
+	            delete source[property];
+	          } else {
+	            source[property] = element;
+	          }
+	        };
+
+	        // Internal: Recursively traverses a parsed JSON object, invoking the
+	        // `callback` function for each value. This is an implementation of the
+	        // `Walk(holder, name)` operation defined in ES 5.1 section 15.12.2.
+	        var walk = function (source, property, callback) {
+	          var value = source[property], length;
+	          if (typeof value == "object" && value) {
+	            // `forEach` can't be used to traverse an array in Opera <= 8.54
+	            // because its `Object#hasOwnProperty` implementation returns `false`
+	            // for array indices (e.g., `![1, 2, 3].hasOwnProperty("0")`).
+	            if (getClass.call(value) == arrayClass) {
+	              for (length = value.length; length--;) {
+	                update(value, length, callback);
+	              }
+	            } else {
+	              forEach(value, function (property) {
+	                update(value, property, callback);
+	              });
+	            }
+	          }
+	          return callback.call(source, property, value);
+	        };
+
+	        // Public: `JSON.parse`. See ES 5.1 section 15.12.2.
+	        exports.parse = function (source, callback) {
+	          var result, value;
+	          Index = 0;
+	          Source = "" + source;
+	          result = get(lex());
+	          // If a JSON string contains multiple tokens, it is invalid.
+	          if (lex() != "$") {
+	            abort();
+	          }
+	          // Reset the parser state.
+	          Index = Source = null;
+	          return callback && getClass.call(callback) == functionClass ? walk((value = {}, value[""] = result, value), "", callback) : result;
+	        };
+	      }
+	    }
+
+	    exports["runInContext"] = runInContext;
+	    return exports;
+	  }
+
+	  if (freeExports && !isLoader) {
+	    // Export for CommonJS environments.
+	    runInContext(root, freeExports);
+	  } else {
+	    // Export for web browsers and JavaScript engines.
+	    var nativeJSON = root.JSON,
+	        previousJSON = root["JSON3"],
+	        isRestored = false;
+
+	    var JSON3 = runInContext(root, (root["JSON3"] = {
+	      // Public: Restores the original value of the global `JSON` object and
+	      // returns a reference to the `JSON3` object.
+	      "noConflict": function () {
+	        if (!isRestored) {
+	          isRestored = true;
+	          root.JSON = nativeJSON;
+	          root["JSON3"] = previousJSON;
+	          nativeJSON = previousJSON = null;
+	        }
+	        return JSON3;
+	      }
+	    }));
+
+	    root.JSON = {
+	      "parse": JSON3.parse,
+	      "stringify": JSON3.stringify
+	    };
+	  }
+
+	  // Export for asynchronous module loaders.
+	  if (isLoader) {
+	    !(__WEBPACK_AMD_DEFINE_RESULT__ = function () {
+	      return JSON3;
+	    }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	  }
+	}).call(this);
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)(module), (function() { return this; }())))
+
+/***/ },
+/* 272 */
+/***/ function(module, exports) {
+
+	/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
+
+	/* WEBPACK VAR INJECTION */}.call(exports, {}))
+
+/***/ },
+/* 273 */
+/***/ function(module, exports) {
+
+	module.exports = Array.isArray || function (arr) {
+	  return Object.prototype.toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 274 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Expose `Emitter`.
+	 */
+
+	module.exports = Emitter;
+
+	/**
+	 * Initialize a new `Emitter`.
+	 *
+	 * @api public
+	 */
+
+	function Emitter(obj) {
+	  if (obj) return mixin(obj);
+	};
+
+	/**
+	 * Mixin the emitter properties.
+	 *
+	 * @param {Object} obj
+	 * @return {Object}
+	 * @api private
+	 */
+
+	function mixin(obj) {
+	  for (var key in Emitter.prototype) {
+	    obj[key] = Emitter.prototype[key];
+	  }
+	  return obj;
+	}
+
+	/**
+	 * Listen on the given `event` with `fn`.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.on =
+	Emitter.prototype.addEventListener = function(event, fn){
+	  this._callbacks = this._callbacks || {};
+	  (this._callbacks[event] = this._callbacks[event] || [])
+	    .push(fn);
+	  return this;
+	};
+
+	/**
+	 * Adds an `event` listener that will be invoked a single
+	 * time then automatically removed.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.once = function(event, fn){
+	  var self = this;
+	  this._callbacks = this._callbacks || {};
+
+	  function on() {
+	    self.off(event, on);
+	    fn.apply(this, arguments);
+	  }
+
+	  on.fn = fn;
+	  this.on(event, on);
+	  return this;
+	};
+
+	/**
+	 * Remove the given callback for `event` or all
+	 * registered callbacks.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.off =
+	Emitter.prototype.removeListener =
+	Emitter.prototype.removeAllListeners =
+	Emitter.prototype.removeEventListener = function(event, fn){
+	  this._callbacks = this._callbacks || {};
+
+	  // all
+	  if (0 == arguments.length) {
+	    this._callbacks = {};
+	    return this;
+	  }
+
+	  // specific event
+	  var callbacks = this._callbacks[event];
+	  if (!callbacks) return this;
+
+	  // remove all handlers
+	  if (1 == arguments.length) {
+	    delete this._callbacks[event];
+	    return this;
+	  }
+
+	  // remove specific handler
+	  var cb;
+	  for (var i = 0; i < callbacks.length; i++) {
+	    cb = callbacks[i];
+	    if (cb === fn || cb.fn === fn) {
+	      callbacks.splice(i, 1);
+	      break;
+	    }
+	  }
+	  return this;
+	};
+
+	/**
+	 * Emit `event` with the given args.
+	 *
+	 * @param {String} event
+	 * @param {Mixed} ...
+	 * @return {Emitter}
+	 */
+
+	Emitter.prototype.emit = function(event){
+	  this._callbacks = this._callbacks || {};
+	  var args = [].slice.call(arguments, 1)
+	    , callbacks = this._callbacks[event];
+
+	  if (callbacks) {
+	    callbacks = callbacks.slice(0);
+	    for (var i = 0, len = callbacks.length; i < len; ++i) {
+	      callbacks[i].apply(this, args);
+	    }
+	  }
+
+	  return this;
+	};
+
+	/**
+	 * Return array of callbacks for `event`.
+	 *
+	 * @param {String} event
+	 * @return {Array}
+	 * @api public
+	 */
+
+	Emitter.prototype.listeners = function(event){
+	  this._callbacks = this._callbacks || {};
+	  return this._callbacks[event] || [];
+	};
+
+	/**
+	 * Check if this emitter has `event` handlers.
+	 *
+	 * @param {String} event
+	 * @return {Boolean}
+	 * @api public
+	 */
+
+	Emitter.prototype.hasListeners = function(event){
+	  return !! this.listeners(event).length;
+	};
+
+
+/***/ },
+/* 275 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/*global Blob,File*/
+
+	/**
+	 * Module requirements
+	 */
+
+	var isArray = __webpack_require__(273);
+	var isBuf = __webpack_require__(276);
+
+	/**
+	 * Replaces every Buffer | ArrayBuffer in packet with a numbered placeholder.
+	 * Anything with blobs or files should be fed through removeBlobs before coming
+	 * here.
+	 *
+	 * @param {Object} packet - socket.io event packet
+	 * @return {Object} with deconstructed packet and list of buffers
+	 * @api public
+	 */
+
+	exports.deconstructPacket = function(packet){
+	  var buffers = [];
+	  var packetData = packet.data;
+
+	  function _deconstructPacket(data) {
+	    if (!data) return data;
+
+	    if (isBuf(data)) {
+	      var placeholder = { _placeholder: true, num: buffers.length };
+	      buffers.push(data);
+	      return placeholder;
+	    } else if (isArray(data)) {
+	      var newData = new Array(data.length);
+	      for (var i = 0; i < data.length; i++) {
+	        newData[i] = _deconstructPacket(data[i]);
+	      }
+	      return newData;
+	    } else if ('object' == typeof data && !(data instanceof Date)) {
+	      var newData = {};
+	      for (var key in data) {
+	        newData[key] = _deconstructPacket(data[key]);
+	      }
+	      return newData;
+	    }
+	    return data;
+	  }
+
+	  var pack = packet;
+	  pack.data = _deconstructPacket(packetData);
+	  pack.attachments = buffers.length; // number of binary 'attachments'
+	  return {packet: pack, buffers: buffers};
+	};
+
+	/**
+	 * Reconstructs a binary packet from its placeholder packet and buffers
+	 *
+	 * @param {Object} packet - event packet with placeholders
+	 * @param {Array} buffers - binary buffers to put in placeholder positions
+	 * @return {Object} reconstructed packet
+	 * @api public
+	 */
+
+	exports.reconstructPacket = function(packet, buffers) {
+	  var curPlaceHolder = 0;
+
+	  function _reconstructPacket(data) {
+	    if (data && data._placeholder) {
+	      var buf = buffers[data.num]; // appropriate buffer (should be natural order anyway)
+	      return buf;
+	    } else if (isArray(data)) {
+	      for (var i = 0; i < data.length; i++) {
+	        data[i] = _reconstructPacket(data[i]);
+	      }
+	      return data;
+	    } else if (data && 'object' == typeof data) {
+	      for (var key in data) {
+	        data[key] = _reconstructPacket(data[key]);
+	      }
+	      return data;
+	    }
+	    return data;
+	  }
+
+	  packet.data = _reconstructPacket(packet.data);
+	  packet.attachments = undefined; // no longer useful
+	  return packet;
+	};
+
+	/**
+	 * Asynchronously removes Blobs or Files from data via
+	 * FileReader's readAsArrayBuffer method. Used before encoding
+	 * data as msgpack. Calls callback with the blobless data.
+	 *
+	 * @param {Object} data
+	 * @param {Function} callback
+	 * @api private
+	 */
+
+	exports.removeBlobs = function(data, callback) {
+	  function _removeBlobs(obj, curKey, containingObject) {
+	    if (!obj) return obj;
+
+	    // convert any blob
+	    if ((global.Blob && obj instanceof Blob) ||
+	        (global.File && obj instanceof File)) {
+	      pendingBlobs++;
+
+	      // async filereader
+	      var fileReader = new FileReader();
+	      fileReader.onload = function() { // this.result == arraybuffer
+	        if (containingObject) {
+	          containingObject[curKey] = this.result;
+	        }
+	        else {
+	          bloblessData = this.result;
+	        }
+
+	        // if nothing pending its callback time
+	        if(! --pendingBlobs) {
+	          callback(bloblessData);
+	        }
+	      };
+
+	      fileReader.readAsArrayBuffer(obj); // blob -> arraybuffer
+	    } else if (isArray(obj)) { // handle array
+	      for (var i = 0; i < obj.length; i++) {
+	        _removeBlobs(obj[i], i, obj);
+	      }
+	    } else if (obj && 'object' == typeof obj && !isBuf(obj)) { // and object
+	      for (var key in obj) {
+	        _removeBlobs(obj[key], key, obj);
+	      }
+	    }
+	  }
+
+	  var pendingBlobs = 0;
+	  var bloblessData = data;
+	  _removeBlobs(bloblessData);
+	  if (!pendingBlobs) {
+	    callback(bloblessData);
+	  }
+	};
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 276 */
+/***/ function(module, exports) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {
+	module.exports = isBuf;
+
+	/**
+	 * Returns true if obj is a buffer or an arraybuffer.
+	 *
+	 * @api private
+	 */
+
+	function isBuf(obj) {
+	  return (global.Buffer && global.Buffer.isBuffer(obj)) ||
+	         (global.ArrayBuffer && obj instanceof ArrayBuffer);
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 277 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * Module dependencies.
+	 */
+
+	var eio = __webpack_require__(278);
+	var Socket = __webpack_require__(308);
+	var Emitter = __webpack_require__(309);
+	var parser = __webpack_require__(267);
+	var on = __webpack_require__(311);
+	var bind = __webpack_require__(312);
+	var debug = __webpack_require__(264)('socket.io-client:manager');
+	var indexOf = __webpack_require__(306);
+	var Backoff = __webpack_require__(315);
+
+	/**
+	 * IE6+ hasOwnProperty
+	 */
+
+	var has = Object.prototype.hasOwnProperty;
+
+	/**
+	 * Module exports
+	 */
+
+	module.exports = Manager;
+
+	/**
+	 * `Manager` constructor.
+	 *
+	 * @param {String} engine instance or engine uri/opts
+	 * @param {Object} options
+	 * @api public
+	 */
+
+	function Manager(uri, opts){
+	  if (!(this instanceof Manager)) return new Manager(uri, opts);
+	  if (uri && ('object' == typeof uri)) {
+	    opts = uri;
+	    uri = undefined;
+	  }
+	  opts = opts || {};
+
+	  opts.path = opts.path || '/socket.io';
+	  this.nsps = {};
+	  this.subs = [];
+	  this.opts = opts;
+	  this.reconnection(opts.reconnection !== false);
+	  this.reconnectionAttempts(opts.reconnectionAttempts || Infinity);
+	  this.reconnectionDelay(opts.reconnectionDelay || 1000);
+	  this.reconnectionDelayMax(opts.reconnectionDelayMax || 5000);
+	  this.randomizationFactor(opts.randomizationFactor || 0.5);
+	  this.backoff = new Backoff({
+	    min: this.reconnectionDelay(),
+	    max: this.reconnectionDelayMax(),
+	    jitter: this.randomizationFactor()
+	  });
+	  this.timeout(null == opts.timeout ? 20000 : opts.timeout);
+	  this.readyState = 'closed';
+	  this.uri = uri;
+	  this.connecting = [];
+	  this.lastPing = null;
+	  this.encoding = false;
+	  this.packetBuffer = [];
+	  this.encoder = new parser.Encoder();
+	  this.decoder = new parser.Decoder();
+	  this.autoConnect = opts.autoConnect !== false;
+	  if (this.autoConnect) this.open();
+	}
+
+	/**
+	 * Propagate given event to sockets and emit on `this`
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.emitAll = function() {
+	  this.emit.apply(this, arguments);
+	  for (var nsp in this.nsps) {
+	    if (has.call(this.nsps, nsp)) {
+	      this.nsps[nsp].emit.apply(this.nsps[nsp], arguments);
+	    }
+	  }
+	};
+
+	/**
+	 * Update `socket.id` of all sockets
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.updateSocketIds = function(){
+	  for (var nsp in this.nsps) {
+	    if (has.call(this.nsps, nsp)) {
+	      this.nsps[nsp].id = this.engine.id;
+	    }
+	  }
+	};
+
+	/**
+	 * Mix in `Emitter`.
+	 */
+
+	Emitter(Manager.prototype);
+
+	/**
+	 * Sets the `reconnection` config.
+	 *
+	 * @param {Boolean} true/false if it should automatically reconnect
+	 * @return {Manager} self or value
+	 * @api public
+	 */
+
+	Manager.prototype.reconnection = function(v){
+	  if (!arguments.length) return this._reconnection;
+	  this._reconnection = !!v;
+	  return this;
+	};
+
+	/**
+	 * Sets the reconnection attempts config.
+	 *
+	 * @param {Number} max reconnection attempts before giving up
+	 * @return {Manager} self or value
+	 * @api public
+	 */
+
+	Manager.prototype.reconnectionAttempts = function(v){
+	  if (!arguments.length) return this._reconnectionAttempts;
+	  this._reconnectionAttempts = v;
+	  return this;
+	};
+
+	/**
+	 * Sets the delay between reconnections.
+	 *
+	 * @param {Number} delay
+	 * @return {Manager} self or value
+	 * @api public
+	 */
+
+	Manager.prototype.reconnectionDelay = function(v){
+	  if (!arguments.length) return this._reconnectionDelay;
+	  this._reconnectionDelay = v;
+	  this.backoff && this.backoff.setMin(v);
+	  return this;
+	};
+
+	Manager.prototype.randomizationFactor = function(v){
+	  if (!arguments.length) return this._randomizationFactor;
+	  this._randomizationFactor = v;
+	  this.backoff && this.backoff.setJitter(v);
+	  return this;
+	};
+
+	/**
+	 * Sets the maximum delay between reconnections.
+	 *
+	 * @param {Number} delay
+	 * @return {Manager} self or value
+	 * @api public
+	 */
+
+	Manager.prototype.reconnectionDelayMax = function(v){
+	  if (!arguments.length) return this._reconnectionDelayMax;
+	  this._reconnectionDelayMax = v;
+	  this.backoff && this.backoff.setMax(v);
+	  return this;
+	};
+
+	/**
+	 * Sets the connection timeout. `false` to disable
+	 *
+	 * @return {Manager} self or value
+	 * @api public
+	 */
+
+	Manager.prototype.timeout = function(v){
+	  if (!arguments.length) return this._timeout;
+	  this._timeout = v;
+	  return this;
+	};
+
+	/**
+	 * Starts trying to reconnect if reconnection is enabled and we have not
+	 * started reconnecting yet
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.maybeReconnectOnOpen = function() {
+	  // Only try to reconnect if it's the first time we're connecting
+	  if (!this.reconnecting && this._reconnection && this.backoff.attempts === 0) {
+	    // keeps reconnection from firing twice for the same reconnection loop
+	    this.reconnect();
+	  }
+	};
+
+
+	/**
+	 * Sets the current transport `socket`.
+	 *
+	 * @param {Function} optional, callback
+	 * @return {Manager} self
+	 * @api public
+	 */
+
+	Manager.prototype.open =
+	Manager.prototype.connect = function(fn){
+	  debug('readyState %s', this.readyState);
+	  if (~this.readyState.indexOf('open')) return this;
+
+	  debug('opening %s', this.uri);
+	  this.engine = eio(this.uri, this.opts);
+	  var socket = this.engine;
+	  var self = this;
+	  this.readyState = 'opening';
+	  this.skipReconnect = false;
+
+	  // emit `open`
+	  var openSub = on(socket, 'open', function() {
+	    self.onopen();
+	    fn && fn();
+	  });
+
+	  // emit `connect_error`
+	  var errorSub = on(socket, 'error', function(data){
+	    debug('connect_error');
+	    self.cleanup();
+	    self.readyState = 'closed';
+	    self.emitAll('connect_error', data);
+	    if (fn) {
+	      var err = new Error('Connection error');
+	      err.data = data;
+	      fn(err);
+	    } else {
+	      // Only do this if there is no fn to handle the error
+	      self.maybeReconnectOnOpen();
+	    }
+	  });
+
+	  // emit `connect_timeout`
+	  if (false !== this._timeout) {
+	    var timeout = this._timeout;
+	    debug('connect attempt will timeout after %d', timeout);
+
+	    // set timer
+	    var timer = setTimeout(function(){
+	      debug('connect attempt timed out after %d', timeout);
+	      openSub.destroy();
+	      socket.close();
+	      socket.emit('error', 'timeout');
+	      self.emitAll('connect_timeout', timeout);
+	    }, timeout);
+
+	    this.subs.push({
+	      destroy: function(){
+	        clearTimeout(timer);
+	      }
+	    });
+	  }
+
+	  this.subs.push(openSub);
+	  this.subs.push(errorSub);
+
+	  return this;
+	};
+
+	/**
+	 * Called upon transport open.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.onopen = function(){
+	  debug('open');
+
+	  // clear old subs
+	  this.cleanup();
+
+	  // mark as open
+	  this.readyState = 'open';
+	  this.emit('open');
+
+	  // add new subs
+	  var socket = this.engine;
+	  this.subs.push(on(socket, 'data', bind(this, 'ondata')));
+	  this.subs.push(on(socket, 'ping', bind(this, 'onping')));
+	  this.subs.push(on(socket, 'pong', bind(this, 'onpong')));
+	  this.subs.push(on(socket, 'error', bind(this, 'onerror')));
+	  this.subs.push(on(socket, 'close', bind(this, 'onclose')));
+	  this.subs.push(on(this.decoder, 'decoded', bind(this, 'ondecoded')));
+	};
+
+	/**
+	 * Called upon a ping.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.onping = function(){
+	  this.lastPing = new Date;
+	  this.emitAll('ping');
+	};
+
+	/**
+	 * Called upon a packet.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.onpong = function(){
+	  this.emitAll('pong', new Date - this.lastPing);
+	};
+
+	/**
+	 * Called with data.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.ondata = function(data){
+	  this.decoder.add(data);
+	};
+
+	/**
+	 * Called when parser fully decodes a packet.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.ondecoded = function(packet) {
+	  this.emit('packet', packet);
+	};
+
+	/**
+	 * Called upon socket error.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.onerror = function(err){
+	  debug('error', err);
+	  this.emitAll('error', err);
+	};
+
+	/**
+	 * Creates a new socket for the given `nsp`.
+	 *
+	 * @return {Socket}
+	 * @api public
+	 */
+
+	Manager.prototype.socket = function(nsp){
+	  var socket = this.nsps[nsp];
+	  if (!socket) {
+	    socket = new Socket(this, nsp);
+	    this.nsps[nsp] = socket;
+	    var self = this;
+	    socket.on('connecting', onConnecting);
+	    socket.on('connect', function(){
+	      socket.id = self.engine.id;
+	    });
+
+	    if (this.autoConnect) {
+	      // manually call here since connecting evnet is fired before listening
+	      onConnecting();
+	    }
+	  }
+
+	  function onConnecting() {
+	    if (!~indexOf(self.connecting, socket)) {
+	      self.connecting.push(socket);
+	    }
+	  }
+
+	  return socket;
+	};
+
+	/**
+	 * Called upon a socket close.
+	 *
+	 * @param {Socket} socket
+	 */
+
+	Manager.prototype.destroy = function(socket){
+	  var index = indexOf(this.connecting, socket);
+	  if (~index) this.connecting.splice(index, 1);
+	  if (this.connecting.length) return;
+
+	  this.close();
+	};
+
+	/**
+	 * Writes a packet.
+	 *
+	 * @param {Object} packet
+	 * @api private
+	 */
+
+	Manager.prototype.packet = function(packet){
+	  debug('writing packet %j', packet);
+	  var self = this;
+
+	  if (!self.encoding) {
+	    // encode, then write to engine with result
+	    self.encoding = true;
+	    this.encoder.encode(packet, function(encodedPackets) {
+	      for (var i = 0; i < encodedPackets.length; i++) {
+	        self.engine.write(encodedPackets[i], packet.options);
+	      }
+	      self.encoding = false;
+	      self.processPacketQueue();
+	    });
+	  } else { // add packet to the queue
+	    self.packetBuffer.push(packet);
+	  }
+	};
+
+	/**
+	 * If packet buffer is non-empty, begins encoding the
+	 * next packet in line.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.processPacketQueue = function() {
+	  if (this.packetBuffer.length > 0 && !this.encoding) {
+	    var pack = this.packetBuffer.shift();
+	    this.packet(pack);
+	  }
+	};
+
+	/**
+	 * Clean up transport subscriptions and packet buffer.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.cleanup = function(){
+	  debug('cleanup');
+
+	  var sub;
+	  while (sub = this.subs.shift()) sub.destroy();
+
+	  this.packetBuffer = [];
+	  this.encoding = false;
+	  this.lastPing = null;
+
+	  this.decoder.destroy();
+	};
+
+	/**
+	 * Close the current socket.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.close =
+	Manager.prototype.disconnect = function(){
+	  debug('disconnect');
+	  this.skipReconnect = true;
+	  this.reconnecting = false;
+	  if ('opening' == this.readyState) {
+	    // `onclose` will not fire because
+	    // an open event never happened
+	    this.cleanup();
+	  }
+	  this.backoff.reset();
+	  this.readyState = 'closed';
+	  if (this.engine) this.engine.close();
+	};
+
+	/**
+	 * Called upon engine close.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.onclose = function(reason){
+	  debug('onclose');
+
+	  this.cleanup();
+	  this.backoff.reset();
+	  this.readyState = 'closed';
+	  this.emit('close', reason);
+
+	  if (this._reconnection && !this.skipReconnect) {
+	    this.reconnect();
+	  }
+	};
+
+	/**
+	 * Attempt a reconnection.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.reconnect = function(){
+	  if (this.reconnecting || this.skipReconnect) return this;
+
+	  var self = this;
+
+	  if (this.backoff.attempts >= this._reconnectionAttempts) {
+	    debug('reconnect failed');
+	    this.backoff.reset();
+	    this.emitAll('reconnect_failed');
+	    this.reconnecting = false;
+	  } else {
+	    var delay = this.backoff.duration();
+	    debug('will wait %dms before reconnect attempt', delay);
+
+	    this.reconnecting = true;
+	    var timer = setTimeout(function(){
+	      if (self.skipReconnect) return;
+
+	      debug('attempting reconnect');
+	      self.emitAll('reconnect_attempt', self.backoff.attempts);
+	      self.emitAll('reconnecting', self.backoff.attempts);
+
+	      // check again for the case socket closed in above events
+	      if (self.skipReconnect) return;
+
+	      self.open(function(err){
+	        if (err) {
+	          debug('reconnect attempt error');
+	          self.reconnecting = false;
+	          self.reconnect();
+	          self.emitAll('reconnect_error', err.data);
+	        } else {
+	          debug('reconnect success');
+	          self.onreconnect();
+	        }
+	      });
+	    }, delay);
+
+	    this.subs.push({
+	      destroy: function(){
+	        clearTimeout(timer);
+	      }
+	    });
+	  }
+	};
+
+	/**
+	 * Called upon successful reconnect.
+	 *
+	 * @api private
+	 */
+
+	Manager.prototype.onreconnect = function(){
+	  var attempt = this.backoff.attempts;
+	  this.reconnecting = false;
+	  this.backoff.reset();
+	  this.updateSocketIds();
+	  this.emitAll('reconnect', attempt);
+	};
+
+
+/***/ },
+/* 278 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	module.exports =  __webpack_require__(279);
+
+
+/***/ },
+/* 279 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	module.exports = __webpack_require__(280);
+
+	/**
+	 * Exports parser
+	 *
+	 * @api public
+	 *
+	 */
+	module.exports.parser = __webpack_require__(287);
+
+
+/***/ },
+/* 280 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * Module dependencies.
+	 */
+
+	var transports = __webpack_require__(281);
+	var Emitter = __webpack_require__(296);
+	var debug = __webpack_require__(300)('engine.io-client:socket');
+	var index = __webpack_require__(306);
+	var parser = __webpack_require__(287);
+	var parseuri = __webpack_require__(263);
+	var parsejson = __webpack_require__(307);
+	var parseqs = __webpack_require__(297);
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = Socket;
+
+	/**
+	 * Noop function.
+	 *
+	 * @api private
+	 */
+
+	function noop(){}
+
+	/**
+	 * Socket constructor.
+	 *
+	 * @param {String|Object} uri or options
+	 * @param {Object} options
+	 * @api public
+	 */
+
+	function Socket(uri, opts){
+	  if (!(this instanceof Socket)) return new Socket(uri, opts);
+
+	  opts = opts || {};
+
+	  if (uri && 'object' == typeof uri) {
+	    opts = uri;
+	    uri = null;
+	  }
+
+	  if (uri) {
+	    uri = parseuri(uri);
+	    opts.hostname = uri.host;
+	    opts.secure = uri.protocol == 'https' || uri.protocol == 'wss';
+	    opts.port = uri.port;
+	    if (uri.query) opts.query = uri.query;
+	  } else if (opts.host) {
+	    opts.hostname = parseuri(opts.host).host;
+	  }
+
+	  this.secure = null != opts.secure ? opts.secure :
+	    (global.location && 'https:' == location.protocol);
+
+	  if (opts.hostname && !opts.port) {
+	    // if no port is specified manually, use the protocol default
+	    opts.port = this.secure ? '443' : '80';
+	  }
+
+	  this.agent = opts.agent || false;
+	  this.hostname = opts.hostname ||
+	    (global.location ? location.hostname : 'localhost');
+	  this.port = opts.port || (global.location && location.port ?
+	       location.port :
+	       (this.secure ? 443 : 80));
+	  this.query = opts.query || {};
+	  if ('string' == typeof this.query) this.query = parseqs.decode(this.query);
+	  this.upgrade = false !== opts.upgrade;
+	  this.path = (opts.path || '/engine.io').replace(/\/$/, '') + '/';
+	  this.forceJSONP = !!opts.forceJSONP;
+	  this.jsonp = false !== opts.jsonp;
+	  this.forceBase64 = !!opts.forceBase64;
+	  this.enablesXDR = !!opts.enablesXDR;
+	  this.timestampParam = opts.timestampParam || 't';
+	  this.timestampRequests = opts.timestampRequests;
+	  this.transports = opts.transports || ['polling', 'websocket'];
+	  this.readyState = '';
+	  this.writeBuffer = [];
+	  this.policyPort = opts.policyPort || 843;
+	  this.rememberUpgrade = opts.rememberUpgrade || false;
+	  this.binaryType = null;
+	  this.onlyBinaryUpgrades = opts.onlyBinaryUpgrades;
+	  this.perMessageDeflate = false !== opts.perMessageDeflate ? (opts.perMessageDeflate || {}) : false;
+
+	  if (true === this.perMessageDeflate) this.perMessageDeflate = {};
+	  if (this.perMessageDeflate && null == this.perMessageDeflate.threshold) {
+	    this.perMessageDeflate.threshold = 1024;
+	  }
+
+	  // SSL options for Node.js client
+	  this.pfx = opts.pfx || null;
+	  this.key = opts.key || null;
+	  this.passphrase = opts.passphrase || null;
+	  this.cert = opts.cert || null;
+	  this.ca = opts.ca || null;
+	  this.ciphers = opts.ciphers || null;
+	  this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? null : opts.rejectUnauthorized;
+
+	  // other options for Node.js client
+	  var freeGlobal = typeof global == 'object' && global;
+	  if (freeGlobal.global === freeGlobal) {
+	    if (opts.extraHeaders && Object.keys(opts.extraHeaders).length > 0) {
+	      this.extraHeaders = opts.extraHeaders;
+	    }
+	  }
+
+	  this.open();
+	}
+
+	Socket.priorWebsocketSuccess = false;
+
+	/**
+	 * Mix in `Emitter`.
+	 */
+
+	Emitter(Socket.prototype);
+
+	/**
+	 * Protocol version.
+	 *
+	 * @api public
+	 */
+
+	Socket.protocol = parser.protocol; // this is an int
+
+	/**
+	 * Expose deps for legacy compatibility
+	 * and standalone browser access.
+	 */
+
+	Socket.Socket = Socket;
+	Socket.Transport = __webpack_require__(286);
+	Socket.transports = __webpack_require__(281);
+	Socket.parser = __webpack_require__(287);
+
+	/**
+	 * Creates transport of the given type.
+	 *
+	 * @param {String} transport name
+	 * @return {Transport}
+	 * @api private
+	 */
+
+	Socket.prototype.createTransport = function (name) {
+	  debug('creating transport "%s"', name);
+	  var query = clone(this.query);
+
+	  // append engine.io protocol identifier
+	  query.EIO = parser.protocol;
+
+	  // transport name
+	  query.transport = name;
+
+	  // session id if we already have one
+	  if (this.id) query.sid = this.id;
+
+	  var transport = new transports[name]({
+	    agent: this.agent,
+	    hostname: this.hostname,
+	    port: this.port,
+	    secure: this.secure,
+	    path: this.path,
+	    query: query,
+	    forceJSONP: this.forceJSONP,
+	    jsonp: this.jsonp,
+	    forceBase64: this.forceBase64,
+	    enablesXDR: this.enablesXDR,
+	    timestampRequests: this.timestampRequests,
+	    timestampParam: this.timestampParam,
+	    policyPort: this.policyPort,
+	    socket: this,
+	    pfx: this.pfx,
+	    key: this.key,
+	    passphrase: this.passphrase,
+	    cert: this.cert,
+	    ca: this.ca,
+	    ciphers: this.ciphers,
+	    rejectUnauthorized: this.rejectUnauthorized,
+	    perMessageDeflate: this.perMessageDeflate,
+	    extraHeaders: this.extraHeaders
+	  });
+
+	  return transport;
+	};
+
+	function clone (obj) {
+	  var o = {};
+	  for (var i in obj) {
+	    if (obj.hasOwnProperty(i)) {
+	      o[i] = obj[i];
+	    }
+	  }
+	  return o;
+	}
+
+	/**
+	 * Initializes transport to use and starts probe.
+	 *
+	 * @api private
+	 */
+	Socket.prototype.open = function () {
+	  var transport;
+	  if (this.rememberUpgrade && Socket.priorWebsocketSuccess && this.transports.indexOf('websocket') != -1) {
+	    transport = 'websocket';
+	  } else if (0 === this.transports.length) {
+	    // Emit error on next tick so it can be listened to
+	    var self = this;
+	    setTimeout(function() {
+	      self.emit('error', 'No transports available');
+	    }, 0);
+	    return;
+	  } else {
+	    transport = this.transports[0];
+	  }
+	  this.readyState = 'opening';
+
+	  // Retry with the next transport if the transport is disabled (jsonp: false)
+	  try {
+	    transport = this.createTransport(transport);
+	  } catch (e) {
+	    this.transports.shift();
+	    this.open();
+	    return;
+	  }
+
+	  transport.open();
+	  this.setTransport(transport);
+	};
+
+	/**
+	 * Sets the current transport. Disables the existing one (if any).
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.setTransport = function(transport){
+	  debug('setting transport %s', transport.name);
+	  var self = this;
+
+	  if (this.transport) {
+	    debug('clearing existing transport %s', this.transport.name);
+	    this.transport.removeAllListeners();
+	  }
+
+	  // set up transport
+	  this.transport = transport;
+
+	  // set up transport listeners
+	  transport
+	  .on('drain', function(){
+	    self.onDrain();
+	  })
+	  .on('packet', function(packet){
+	    self.onPacket(packet);
+	  })
+	  .on('error', function(e){
+	    self.onError(e);
+	  })
+	  .on('close', function(){
+	    self.onClose('transport close');
+	  });
+	};
+
+	/**
+	 * Probes a transport.
+	 *
+	 * @param {String} transport name
+	 * @api private
+	 */
+
+	Socket.prototype.probe = function (name) {
+	  debug('probing transport "%s"', name);
+	  var transport = this.createTransport(name, { probe: 1 })
+	    , failed = false
+	    , self = this;
+
+	  Socket.priorWebsocketSuccess = false;
+
+	  function onTransportOpen(){
+	    if (self.onlyBinaryUpgrades) {
+	      var upgradeLosesBinary = !this.supportsBinary && self.transport.supportsBinary;
+	      failed = failed || upgradeLosesBinary;
+	    }
+	    if (failed) return;
+
+	    debug('probe transport "%s" opened', name);
+	    transport.send([{ type: 'ping', data: 'probe' }]);
+	    transport.once('packet', function (msg) {
+	      if (failed) return;
+	      if ('pong' == msg.type && 'probe' == msg.data) {
+	        debug('probe transport "%s" pong', name);
+	        self.upgrading = true;
+	        self.emit('upgrading', transport);
+	        if (!transport) return;
+	        Socket.priorWebsocketSuccess = 'websocket' == transport.name;
+
+	        debug('pausing current transport "%s"', self.transport.name);
+	        self.transport.pause(function () {
+	          if (failed) return;
+	          if ('closed' == self.readyState) return;
+	          debug('changing transport and sending upgrade packet');
+
+	          cleanup();
+
+	          self.setTransport(transport);
+	          transport.send([{ type: 'upgrade' }]);
+	          self.emit('upgrade', transport);
+	          transport = null;
+	          self.upgrading = false;
+	          self.flush();
+	        });
+	      } else {
+	        debug('probe transport "%s" failed', name);
+	        var err = new Error('probe error');
+	        err.transport = transport.name;
+	        self.emit('upgradeError', err);
+	      }
+	    });
+	  }
+
+	  function freezeTransport() {
+	    if (failed) return;
+
+	    // Any callback called by transport should be ignored since now
+	    failed = true;
+
+	    cleanup();
+
+	    transport.close();
+	    transport = null;
+	  }
+
+	  //Handle any error that happens while probing
+	  function onerror(err) {
+	    var error = new Error('probe error: ' + err);
+	    error.transport = transport.name;
+
+	    freezeTransport();
+
+	    debug('probe transport "%s" failed because of error: %s', name, err);
+
+	    self.emit('upgradeError', error);
+	  }
+
+	  function onTransportClose(){
+	    onerror("transport closed");
+	  }
+
+	  //When the socket is closed while we're probing
+	  function onclose(){
+	    onerror("socket closed");
+	  }
+
+	  //When the socket is upgraded while we're probing
+	  function onupgrade(to){
+	    if (transport && to.name != transport.name) {
+	      debug('"%s" works - aborting "%s"', to.name, transport.name);
+	      freezeTransport();
+	    }
+	  }
+
+	  //Remove all listeners on the transport and on self
+	  function cleanup(){
+	    transport.removeListener('open', onTransportOpen);
+	    transport.removeListener('error', onerror);
+	    transport.removeListener('close', onTransportClose);
+	    self.removeListener('close', onclose);
+	    self.removeListener('upgrading', onupgrade);
+	  }
+
+	  transport.once('open', onTransportOpen);
+	  transport.once('error', onerror);
+	  transport.once('close', onTransportClose);
+
+	  this.once('close', onclose);
+	  this.once('upgrading', onupgrade);
+
+	  transport.open();
+
+	};
+
+	/**
+	 * Called when connection is deemed open.
+	 *
+	 * @api public
+	 */
+
+	Socket.prototype.onOpen = function () {
+	  debug('socket open');
+	  this.readyState = 'open';
+	  Socket.priorWebsocketSuccess = 'websocket' == this.transport.name;
+	  this.emit('open');
+	  this.flush();
+
+	  // we check for `readyState` in case an `open`
+	  // listener already closed the socket
+	  if ('open' == this.readyState && this.upgrade && this.transport.pause) {
+	    debug('starting upgrade probes');
+	    for (var i = 0, l = this.upgrades.length; i < l; i++) {
+	      this.probe(this.upgrades[i]);
+	    }
+	  }
+	};
+
+	/**
+	 * Handles a packet.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onPacket = function (packet) {
+	  if ('opening' == this.readyState || 'open' == this.readyState) {
+	    debug('socket receive: type "%s", data "%s"', packet.type, packet.data);
+
+	    this.emit('packet', packet);
+
+	    // Socket is live - any packet counts
+	    this.emit('heartbeat');
+
+	    switch (packet.type) {
+	      case 'open':
+	        this.onHandshake(parsejson(packet.data));
+	        break;
+
+	      case 'pong':
+	        this.setPing();
+	        this.emit('pong');
+	        break;
+
+	      case 'error':
+	        var err = new Error('server error');
+	        err.code = packet.data;
+	        this.onError(err);
+	        break;
+
+	      case 'message':
+	        this.emit('data', packet.data);
+	        this.emit('message', packet.data);
+	        break;
+	    }
+	  } else {
+	    debug('packet received with socket readyState "%s"', this.readyState);
+	  }
+	};
+
+	/**
+	 * Called upon handshake completion.
+	 *
+	 * @param {Object} handshake obj
+	 * @api private
+	 */
+
+	Socket.prototype.onHandshake = function (data) {
+	  this.emit('handshake', data);
+	  this.id = data.sid;
+	  this.transport.query.sid = data.sid;
+	  this.upgrades = this.filterUpgrades(data.upgrades);
+	  this.pingInterval = data.pingInterval;
+	  this.pingTimeout = data.pingTimeout;
+	  this.onOpen();
+	  // In case open handler closes socket
+	  if  ('closed' == this.readyState) return;
+	  this.setPing();
+
+	  // Prolong liveness of socket on heartbeat
+	  this.removeListener('heartbeat', this.onHeartbeat);
+	  this.on('heartbeat', this.onHeartbeat);
+	};
+
+	/**
+	 * Resets ping timeout.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onHeartbeat = function (timeout) {
+	  clearTimeout(this.pingTimeoutTimer);
+	  var self = this;
+	  self.pingTimeoutTimer = setTimeout(function () {
+	    if ('closed' == self.readyState) return;
+	    self.onClose('ping timeout');
+	  }, timeout || (self.pingInterval + self.pingTimeout));
+	};
+
+	/**
+	 * Pings server every `this.pingInterval` and expects response
+	 * within `this.pingTimeout` or closes connection.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.setPing = function () {
+	  var self = this;
+	  clearTimeout(self.pingIntervalTimer);
+	  self.pingIntervalTimer = setTimeout(function () {
+	    debug('writing ping packet - expecting pong within %sms', self.pingTimeout);
+	    self.ping();
+	    self.onHeartbeat(self.pingTimeout);
+	  }, self.pingInterval);
+	};
+
+	/**
+	* Sends a ping packet.
+	*
+	* @api private
+	*/
+
+	Socket.prototype.ping = function () {
+	  var self = this;
+	  this.sendPacket('ping', function(){
+	    self.emit('ping');
+	  });
+	};
+
+	/**
+	 * Called on `drain` event
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onDrain = function() {
+	  this.writeBuffer.splice(0, this.prevBufferLen);
+
+	  // setting prevBufferLen = 0 is very important
+	  // for example, when upgrading, upgrade packet is sent over,
+	  // and a nonzero prevBufferLen could cause problems on `drain`
+	  this.prevBufferLen = 0;
+
+	  if (0 === this.writeBuffer.length) {
+	    this.emit('drain');
+	  } else {
+	    this.flush();
+	  }
+	};
+
+	/**
+	 * Flush write buffers.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.flush = function () {
+	  if ('closed' != this.readyState && this.transport.writable &&
+	    !this.upgrading && this.writeBuffer.length) {
+	    debug('flushing %d packets in socket', this.writeBuffer.length);
+	    this.transport.send(this.writeBuffer);
+	    // keep track of current length of writeBuffer
+	    // splice writeBuffer and callbackBuffer on `drain`
+	    this.prevBufferLen = this.writeBuffer.length;
+	    this.emit('flush');
+	  }
+	};
+
+	/**
+	 * Sends a message.
+	 *
+	 * @param {String} message.
+	 * @param {Function} callback function.
+	 * @param {Object} options.
+	 * @return {Socket} for chaining.
+	 * @api public
+	 */
+
+	Socket.prototype.write =
+	Socket.prototype.send = function (msg, options, fn) {
+	  this.sendPacket('message', msg, options, fn);
+	  return this;
+	};
+
+	/**
+	 * Sends a packet.
+	 *
+	 * @param {String} packet type.
+	 * @param {String} data.
+	 * @param {Object} options.
+	 * @param {Function} callback function.
+	 * @api private
+	 */
+
+	Socket.prototype.sendPacket = function (type, data, options, fn) {
+	  if('function' == typeof data) {
+	    fn = data;
+	    data = undefined;
+	  }
+
+	  if ('function' == typeof options) {
+	    fn = options;
+	    options = null;
+	  }
+
+	  if ('closing' == this.readyState || 'closed' == this.readyState) {
+	    return;
+	  }
+
+	  options = options || {};
+	  options.compress = false !== options.compress;
+
+	  var packet = {
+	    type: type,
+	    data: data,
+	    options: options
+	  };
+	  this.emit('packetCreate', packet);
+	  this.writeBuffer.push(packet);
+	  if (fn) this.once('flush', fn);
+	  this.flush();
+	};
+
+	/**
+	 * Closes the connection.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.close = function () {
+	  if ('opening' == this.readyState || 'open' == this.readyState) {
+	    this.readyState = 'closing';
+
+	    var self = this;
+
+	    if (this.writeBuffer.length) {
+	      this.once('drain', function() {
+	        if (this.upgrading) {
+	          waitForUpgrade();
+	        } else {
+	          close();
+	        }
+	      });
+	    } else if (this.upgrading) {
+	      waitForUpgrade();
+	    } else {
+	      close();
+	    }
+	  }
+
+	  function close() {
+	    self.onClose('forced close');
+	    debug('socket closing - telling transport to close');
+	    self.transport.close();
+	  }
+
+	  function cleanupAndClose() {
+	    self.removeListener('upgrade', cleanupAndClose);
+	    self.removeListener('upgradeError', cleanupAndClose);
+	    close();
+	  }
+
+	  function waitForUpgrade() {
+	    // wait for upgrade to finish since we can't send packets while pausing a transport
+	    self.once('upgrade', cleanupAndClose);
+	    self.once('upgradeError', cleanupAndClose);
+	  }
+
+	  return this;
+	};
+
+	/**
+	 * Called upon transport error
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onError = function (err) {
+	  debug('socket error %j', err);
+	  Socket.priorWebsocketSuccess = false;
+	  this.emit('error', err);
+	  this.onClose('transport error', err);
+	};
+
+	/**
+	 * Called upon transport close.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onClose = function (reason, desc) {
+	  if ('opening' == this.readyState || 'open' == this.readyState || 'closing' == this.readyState) {
+	    debug('socket close with reason: "%s"', reason);
+	    var self = this;
+
+	    // clear timers
+	    clearTimeout(this.pingIntervalTimer);
+	    clearTimeout(this.pingTimeoutTimer);
+
+	    // stop event from firing again for transport
+	    this.transport.removeAllListeners('close');
+
+	    // ensure transport won't stay open
+	    this.transport.close();
+
+	    // ignore further transport communication
+	    this.transport.removeAllListeners();
+
+	    // set ready state
+	    this.readyState = 'closed';
+
+	    // clear session id
+	    this.id = null;
+
+	    // emit close event
+	    this.emit('close', reason, desc);
+
+	    // clean buffers after, so users can still
+	    // grab the buffers on `close` event
+	    self.writeBuffer = [];
+	    self.prevBufferLen = 0;
+	  }
+	};
+
+	/**
+	 * Filters upgrades, returning only those matching client transports.
+	 *
+	 * @param {Array} server upgrades
+	 * @api private
+	 *
+	 */
+
+	Socket.prototype.filterUpgrades = function (upgrades) {
+	  var filteredUpgrades = [];
+	  for (var i = 0, j = upgrades.length; i<j; i++) {
+	    if (~index(this.transports, upgrades[i])) filteredUpgrades.push(upgrades[i]);
+	  }
+	  return filteredUpgrades;
+	};
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 281 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * Module dependencies
+	 */
+
+	var XMLHttpRequest = __webpack_require__(282);
+	var XHR = __webpack_require__(284);
+	var JSONP = __webpack_require__(303);
+	var websocket = __webpack_require__(304);
+
+	/**
+	 * Export transports.
+	 */
+
+	exports.polling = polling;
+	exports.websocket = websocket;
+
+	/**
+	 * Polling transport polymorphic constructor.
+	 * Decides on xhr vs jsonp based on feature detection.
+	 *
+	 * @api private
+	 */
+
+	function polling(opts){
+	  var xhr;
+	  var xd = false;
+	  var xs = false;
+	  var jsonp = false !== opts.jsonp;
+
+	  if (global.location) {
+	    var isSSL = 'https:' == location.protocol;
+	    var port = location.port;
+
+	    // some user agents have empty `location.port`
+	    if (!port) {
+	      port = isSSL ? 443 : 80;
+	    }
+
+	    xd = opts.hostname != location.hostname || port != opts.port;
+	    xs = opts.secure != isSSL;
+	  }
+
+	  opts.xdomain = xd;
+	  opts.xscheme = xs;
+	  xhr = new XMLHttpRequest(opts);
+
+	  if ('open' in xhr && !opts.forceJSONP) {
+	    return new XHR(opts);
+	  } else {
+	    if (!jsonp) throw new Error('JSONP disabled');
+	    return new JSONP(opts);
+	  }
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 282 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// browser shim for xmlhttprequest module
+	var hasCORS = __webpack_require__(283);
+
+	module.exports = function(opts) {
+	  var xdomain = opts.xdomain;
+
+	  // scheme must be same when usign XDomainRequest
+	  // http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx
+	  var xscheme = opts.xscheme;
+
+	  // XDomainRequest has a flow of not sending cookie, therefore it should be disabled as a default.
+	  // https://github.com/Automattic/engine.io-client/pull/217
+	  var enablesXDR = opts.enablesXDR;
+
+	  // XMLHttpRequest can be disabled on IE
+	  try {
+	    if ('undefined' != typeof XMLHttpRequest && (!xdomain || hasCORS)) {
+	      return new XMLHttpRequest();
+	    }
+	  } catch (e) { }
+
+	  // Use XDomainRequest for IE8 if enablesXDR is true
+	  // because loading bar keeps flashing when using jsonp-polling
+	  // https://github.com/yujiosaka/socke.io-ie8-loading-example
+	  try {
+	    if ('undefined' != typeof XDomainRequest && !xscheme && enablesXDR) {
+	      return new XDomainRequest();
+	    }
+	  } catch (e) { }
+
+	  if (!xdomain) {
+	    try {
+	      return new ActiveXObject('Microsoft.XMLHTTP');
+	    } catch(e) { }
+	  }
+	}
+
+
+/***/ },
+/* 283 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Module exports.
+	 *
+	 * Logic borrowed from Modernizr:
+	 *
+	 *   - https://github.com/Modernizr/Modernizr/blob/master/feature-detects/cors.js
+	 */
+
+	try {
+	  module.exports = typeof XMLHttpRequest !== 'undefined' &&
+	    'withCredentials' in new XMLHttpRequest();
+	} catch (err) {
+	  // if XMLHttp support is disabled in IE then it will throw
+	  // when trying to create
+	  module.exports = false;
+	}
+
+
+/***/ },
+/* 284 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * Module requirements.
+	 */
+
+	var XMLHttpRequest = __webpack_require__(282);
+	var Polling = __webpack_require__(285);
+	var Emitter = __webpack_require__(296);
+	var inherit = __webpack_require__(298);
+	var debug = __webpack_require__(300)('engine.io-client:polling-xhr');
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = XHR;
+	module.exports.Request = Request;
+
+	/**
+	 * Empty function
+	 */
+
+	function empty(){}
+
+	/**
+	 * XHR Polling constructor.
+	 *
+	 * @param {Object} opts
+	 * @api public
+	 */
+
+	function XHR(opts){
+	  Polling.call(this, opts);
+
+	  if (global.location) {
+	    var isSSL = 'https:' == location.protocol;
+	    var port = location.port;
+
+	    // some user agents have empty `location.port`
+	    if (!port) {
+	      port = isSSL ? 443 : 80;
+	    }
+
+	    this.xd = opts.hostname != global.location.hostname ||
+	      port != opts.port;
+	    this.xs = opts.secure != isSSL;
+	  } else {
+	    this.extraHeaders = opts.extraHeaders;
+	  }
+	}
+
+	/**
+	 * Inherits from Polling.
+	 */
+
+	inherit(XHR, Polling);
+
+	/**
+	 * XHR supports binary
+	 */
+
+	XHR.prototype.supportsBinary = true;
+
+	/**
+	 * Creates a request.
+	 *
+	 * @param {String} method
+	 * @api private
+	 */
+
+	XHR.prototype.request = function(opts){
+	  opts = opts || {};
+	  opts.uri = this.uri();
+	  opts.xd = this.xd;
+	  opts.xs = this.xs;
+	  opts.agent = this.agent || false;
+	  opts.supportsBinary = this.supportsBinary;
+	  opts.enablesXDR = this.enablesXDR;
+
+	  // SSL options for Node.js client
+	  opts.pfx = this.pfx;
+	  opts.key = this.key;
+	  opts.passphrase = this.passphrase;
+	  opts.cert = this.cert;
+	  opts.ca = this.ca;
+	  opts.ciphers = this.ciphers;
+	  opts.rejectUnauthorized = this.rejectUnauthorized;
+
+	  // other options for Node.js client
+	  opts.extraHeaders = this.extraHeaders;
+
+	  return new Request(opts);
+	};
+
+	/**
+	 * Sends data.
+	 *
+	 * @param {String} data to send.
+	 * @param {Function} called upon flush.
+	 * @api private
+	 */
+
+	XHR.prototype.doWrite = function(data, fn){
+	  var isBinary = typeof data !== 'string' && data !== undefined;
+	  var req = this.request({ method: 'POST', data: data, isBinary: isBinary });
+	  var self = this;
+	  req.on('success', fn);
+	  req.on('error', function(err){
+	    self.onError('xhr post error', err);
+	  });
+	  this.sendXhr = req;
+	};
+
+	/**
+	 * Starts a poll cycle.
+	 *
+	 * @api private
+	 */
+
+	XHR.prototype.doPoll = function(){
+	  debug('xhr poll');
+	  var req = this.request();
+	  var self = this;
+	  req.on('data', function(data){
+	    self.onData(data);
+	  });
+	  req.on('error', function(err){
+	    self.onError('xhr poll error', err);
+	  });
+	  this.pollXhr = req;
+	};
+
+	/**
+	 * Request constructor
+	 *
+	 * @param {Object} options
+	 * @api public
+	 */
+
+	function Request(opts){
+	  this.method = opts.method || 'GET';
+	  this.uri = opts.uri;
+	  this.xd = !!opts.xd;
+	  this.xs = !!opts.xs;
+	  this.async = false !== opts.async;
+	  this.data = undefined != opts.data ? opts.data : null;
+	  this.agent = opts.agent;
+	  this.isBinary = opts.isBinary;
+	  this.supportsBinary = opts.supportsBinary;
+	  this.enablesXDR = opts.enablesXDR;
+
+	  // SSL options for Node.js client
+	  this.pfx = opts.pfx;
+	  this.key = opts.key;
+	  this.passphrase = opts.passphrase;
+	  this.cert = opts.cert;
+	  this.ca = opts.ca;
+	  this.ciphers = opts.ciphers;
+	  this.rejectUnauthorized = opts.rejectUnauthorized;
+
+	  // other options for Node.js client
+	  this.extraHeaders = opts.extraHeaders;
+
+	  this.create();
+	}
+
+	/**
+	 * Mix in `Emitter`.
+	 */
+
+	Emitter(Request.prototype);
+
+	/**
+	 * Creates the XHR object and sends the request.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.create = function(){
+	  var opts = { agent: this.agent, xdomain: this.xd, xscheme: this.xs, enablesXDR: this.enablesXDR };
+
+	  // SSL options for Node.js client
+	  opts.pfx = this.pfx;
+	  opts.key = this.key;
+	  opts.passphrase = this.passphrase;
+	  opts.cert = this.cert;
+	  opts.ca = this.ca;
+	  opts.ciphers = this.ciphers;
+	  opts.rejectUnauthorized = this.rejectUnauthorized;
+
+	  var xhr = this.xhr = new XMLHttpRequest(opts);
+	  var self = this;
+
+	  try {
+	    debug('xhr open %s: %s', this.method, this.uri);
+	    xhr.open(this.method, this.uri, this.async);
+	    try {
+	      if (this.extraHeaders) {
+	        xhr.setDisableHeaderCheck(true);
+	        for (var i in this.extraHeaders) {
+	          if (this.extraHeaders.hasOwnProperty(i)) {
+	            xhr.setRequestHeader(i, this.extraHeaders[i]);
+	          }
+	        }
+	      }
+	    } catch (e) {}
+	    if (this.supportsBinary) {
+	      // This has to be done after open because Firefox is stupid
+	      // http://stackoverflow.com/questions/13216903/get-binary-data-with-xmlhttprequest-in-a-firefox-extension
+	      xhr.responseType = 'arraybuffer';
+	    }
+
+	    if ('POST' == this.method) {
+	      try {
+	        if (this.isBinary) {
+	          xhr.setRequestHeader('Content-type', 'application/octet-stream');
+	        } else {
+	          xhr.setRequestHeader('Content-type', 'text/plain;charset=UTF-8');
+	        }
+	      } catch (e) {}
+	    }
+
+	    // ie6 check
+	    if ('withCredentials' in xhr) {
+	      xhr.withCredentials = true;
+	    }
+
+	    if (this.hasXDR()) {
+	      xhr.onload = function(){
+	        self.onLoad();
+	      };
+	      xhr.onerror = function(){
+	        self.onError(xhr.responseText);
+	      };
+	    } else {
+	      xhr.onreadystatechange = function(){
+	        if (4 != xhr.readyState) return;
+	        if (200 == xhr.status || 1223 == xhr.status) {
+	          self.onLoad();
+	        } else {
+	          // make sure the `error` event handler that's user-set
+	          // does not throw in the same tick and gets caught here
+	          setTimeout(function(){
+	            self.onError(xhr.status);
+	          }, 0);
+	        }
+	      };
+	    }
+
+	    debug('xhr data %s', this.data);
+	    xhr.send(this.data);
+	  } catch (e) {
+	    // Need to defer since .create() is called directly fhrom the constructor
+	    // and thus the 'error' event can only be only bound *after* this exception
+	    // occurs.  Therefore, also, we cannot throw here at all.
+	    setTimeout(function() {
+	      self.onError(e);
+	    }, 0);
+	    return;
+	  }
+
+	  if (global.document) {
+	    this.index = Request.requestsCount++;
+	    Request.requests[this.index] = this;
+	  }
+	};
+
+	/**
+	 * Called upon successful response.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.onSuccess = function(){
+	  this.emit('success');
+	  this.cleanup();
+	};
+
+	/**
+	 * Called if we have data.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.onData = function(data){
+	  this.emit('data', data);
+	  this.onSuccess();
+	};
+
+	/**
+	 * Called upon error.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.onError = function(err){
+	  this.emit('error', err);
+	  this.cleanup(true);
+	};
+
+	/**
+	 * Cleans up house.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.cleanup = function(fromError){
+	  if ('undefined' == typeof this.xhr || null === this.xhr) {
+	    return;
+	  }
+	  // xmlhttprequest
+	  if (this.hasXDR()) {
+	    this.xhr.onload = this.xhr.onerror = empty;
+	  } else {
+	    this.xhr.onreadystatechange = empty;
+	  }
+
+	  if (fromError) {
+	    try {
+	      this.xhr.abort();
+	    } catch(e) {}
+	  }
+
+	  if (global.document) {
+	    delete Request.requests[this.index];
+	  }
+
+	  this.xhr = null;
+	};
+
+	/**
+	 * Called upon load.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.onLoad = function(){
+	  var data;
+	  try {
+	    var contentType;
+	    try {
+	      contentType = this.xhr.getResponseHeader('Content-Type').split(';')[0];
+	    } catch (e) {}
+	    if (contentType === 'application/octet-stream') {
+	      data = this.xhr.response;
+	    } else {
+	      if (!this.supportsBinary) {
+	        data = this.xhr.responseText;
+	      } else {
+	        try {
+	          data = String.fromCharCode.apply(null, new Uint8Array(this.xhr.response));
+	        } catch (e) {
+	          var ui8Arr = new Uint8Array(this.xhr.response);
+	          var dataArray = [];
+	          for (var idx = 0, length = ui8Arr.length; idx < length; idx++) {
+	            dataArray.push(ui8Arr[idx]);
+	          }
+
+	          data = String.fromCharCode.apply(null, dataArray);
+	        }
+	      }
+	    }
+	  } catch (e) {
+	    this.onError(e);
+	  }
+	  if (null != data) {
+	    this.onData(data);
+	  }
+	};
+
+	/**
+	 * Check if it has XDomainRequest.
+	 *
+	 * @api private
+	 */
+
+	Request.prototype.hasXDR = function(){
+	  return 'undefined' !== typeof global.XDomainRequest && !this.xs && this.enablesXDR;
+	};
+
+	/**
+	 * Aborts the request.
+	 *
+	 * @api public
+	 */
+
+	Request.prototype.abort = function(){
+	  this.cleanup();
+	};
+
+	/**
+	 * Aborts pending requests when unloading the window. This is needed to prevent
+	 * memory leaks (e.g. when using IE) and to ensure that no spurious error is
+	 * emitted.
+	 */
+
+	if (global.document) {
+	  Request.requestsCount = 0;
+	  Request.requests = {};
+	  if (global.attachEvent) {
+	    global.attachEvent('onunload', unloadHandler);
+	  } else if (global.addEventListener) {
+	    global.addEventListener('beforeunload', unloadHandler, false);
+	  }
+	}
+
+	function unloadHandler() {
+	  for (var i in Request.requests) {
+	    if (Request.requests.hasOwnProperty(i)) {
+	      Request.requests[i].abort();
+	    }
+	  }
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 285 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/**
+	 * Module dependencies.
+	 */
+
+	var Transport = __webpack_require__(286);
+	var parseqs = __webpack_require__(297);
+	var parser = __webpack_require__(287);
+	var inherit = __webpack_require__(298);
+	var yeast = __webpack_require__(299);
+	var debug = __webpack_require__(300)('engine.io-client:polling');
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = Polling;
+
+	/**
+	 * Is XHR2 supported?
+	 */
+
+	var hasXHR2 = (function() {
+	  var XMLHttpRequest = __webpack_require__(282);
+	  var xhr = new XMLHttpRequest({ xdomain: false });
+	  return null != xhr.responseType;
+	})();
+
+	/**
+	 * Polling interface.
+	 *
+	 * @param {Object} opts
+	 * @api private
+	 */
+
+	function Polling(opts){
+	  var forceBase64 = (opts && opts.forceBase64);
+	  if (!hasXHR2 || forceBase64) {
+	    this.supportsBinary = false;
+	  }
+	  Transport.call(this, opts);
+	}
+
+	/**
+	 * Inherits from Transport.
+	 */
+
+	inherit(Polling, Transport);
+
+	/**
+	 * Transport name.
+	 */
+
+	Polling.prototype.name = 'polling';
+
+	/**
+	 * Opens the socket (triggers polling). We write a PING message to determine
+	 * when the transport is open.
+	 *
+	 * @api private
+	 */
+
+	Polling.prototype.doOpen = function(){
+	  this.poll();
+	};
+
+	/**
+	 * Pauses polling.
+	 *
+	 * @param {Function} callback upon buffers are flushed and transport is paused
+	 * @api private
+	 */
+
+	Polling.prototype.pause = function(onPause){
+	  var pending = 0;
+	  var self = this;
+
+	  this.readyState = 'pausing';
+
+	  function pause(){
+	    debug('paused');
+	    self.readyState = 'paused';
+	    onPause();
+	  }
+
+	  if (this.polling || !this.writable) {
+	    var total = 0;
+
+	    if (this.polling) {
+	      debug('we are currently polling - waiting to pause');
+	      total++;
+	      this.once('pollComplete', function(){
+	        debug('pre-pause polling complete');
+	        --total || pause();
+	      });
+	    }
+
+	    if (!this.writable) {
+	      debug('we are currently writing - waiting to pause');
+	      total++;
+	      this.once('drain', function(){
+	        debug('pre-pause writing complete');
+	        --total || pause();
+	      });
+	    }
+	  } else {
+	    pause();
+	  }
+	};
+
+	/**
+	 * Starts polling cycle.
+	 *
+	 * @api public
+	 */
+
+	Polling.prototype.poll = function(){
+	  debug('polling');
+	  this.polling = true;
+	  this.doPoll();
+	  this.emit('poll');
+	};
+
+	/**
+	 * Overloads onData to detect payloads.
+	 *
+	 * @api private
+	 */
+
+	Polling.prototype.onData = function(data){
+	  var self = this;
+	  debug('polling got data %s', data);
+	  var callback = function(packet, index, total) {
+	    // if its the first message we consider the transport open
+	    if ('opening' == self.readyState) {
+	      self.onOpen();
+	    }
+
+	    // if its a close packet, we close the ongoing requests
+	    if ('close' == packet.type) {
+	      self.onClose();
+	      return false;
+	    }
+
+	    // otherwise bypass onData and handle the message
+	    self.onPacket(packet);
+	  };
+
+	  // decode payload
+	  parser.decodePayload(data, this.socket.binaryType, callback);
+
+	  // if an event did not trigger closing
+	  if ('closed' != this.readyState) {
+	    // if we got data we're not polling
+	    this.polling = false;
+	    this.emit('pollComplete');
+
+	    if ('open' == this.readyState) {
+	      this.poll();
+	    } else {
+	      debug('ignoring poll - transport state "%s"', this.readyState);
+	    }
+	  }
+	};
+
+	/**
+	 * For polling, send a close packet.
+	 *
+	 * @api private
+	 */
+
+	Polling.prototype.doClose = function(){
+	  var self = this;
+
+	  function close(){
+	    debug('writing close packet');
+	    self.write([{ type: 'close' }]);
+	  }
+
+	  if ('open' == this.readyState) {
+	    debug('transport open - closing');
+	    close();
+	  } else {
+	    // in case we're trying to close while
+	    // handshaking is in progress (GH-164)
+	    debug('transport not open - deferring close');
+	    this.once('open', close);
+	  }
+	};
+
+	/**
+	 * Writes a packets payload.
+	 *
+	 * @param {Array} data packets
+	 * @param {Function} drain callback
+	 * @api private
+	 */
+
+	Polling.prototype.write = function(packets){
+	  var self = this;
+	  this.writable = false;
+	  var callbackfn = function() {
+	    self.writable = true;
+	    self.emit('drain');
+	  };
+
+	  var self = this;
+	  parser.encodePayload(packets, this.supportsBinary, function(data) {
+	    self.doWrite(data, callbackfn);
+	  });
+	};
+
+	/**
+	 * Generates uri for connection.
+	 *
+	 * @api private
+	 */
+
+	Polling.prototype.uri = function(){
+	  var query = this.query || {};
+	  var schema = this.secure ? 'https' : 'http';
+	  var port = '';
+
+	  // cache busting is forced
+	  if (false !== this.timestampRequests) {
+	    query[this.timestampParam] = yeast();
+	  }
+
+	  if (!this.supportsBinary && !query.sid) {
+	    query.b64 = 1;
+	  }
+
+	  query = parseqs.encode(query);
+
+	  // avoid port if default for schema
+	  if (this.port && (('https' == schema && this.port != 443) ||
+	     ('http' == schema && this.port != 80))) {
+	    port = ':' + this.port;
+	  }
+
+	  // prepend ? to query
+	  if (query.length) {
+	    query = '?' + query;
+	  }
+
+	  var ipv6 = this.hostname.indexOf(':') !== -1;
+	  return schema + '://' + (ipv6 ? '[' + this.hostname + ']' : this.hostname) + port + this.path + query;
+	};
+
+
+/***/ },
+/* 286 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/**
+	 * Module dependencies.
+	 */
+
+	var parser = __webpack_require__(287);
+	var Emitter = __webpack_require__(296);
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = Transport;
+
+	/**
+	 * Transport abstract constructor.
+	 *
+	 * @param {Object} options.
+	 * @api private
+	 */
+
+	function Transport (opts) {
+	  this.path = opts.path;
+	  this.hostname = opts.hostname;
+	  this.port = opts.port;
+	  this.secure = opts.secure;
+	  this.query = opts.query;
+	  this.timestampParam = opts.timestampParam;
+	  this.timestampRequests = opts.timestampRequests;
+	  this.readyState = '';
+	  this.agent = opts.agent || false;
+	  this.socket = opts.socket;
+	  this.enablesXDR = opts.enablesXDR;
+
+	  // SSL options for Node.js client
+	  this.pfx = opts.pfx;
+	  this.key = opts.key;
+	  this.passphrase = opts.passphrase;
+	  this.cert = opts.cert;
+	  this.ca = opts.ca;
+	  this.ciphers = opts.ciphers;
+	  this.rejectUnauthorized = opts.rejectUnauthorized;
+
+	  // other options for Node.js client
+	  this.extraHeaders = opts.extraHeaders;
+	}
+
+	/**
+	 * Mix in `Emitter`.
+	 */
+
+	Emitter(Transport.prototype);
+
+	/**
+	 * Emits an error.
+	 *
+	 * @param {String} str
+	 * @return {Transport} for chaining
+	 * @api public
+	 */
+
+	Transport.prototype.onError = function (msg, desc) {
+	  var err = new Error(msg);
+	  err.type = 'TransportError';
+	  err.description = desc;
+	  this.emit('error', err);
+	  return this;
+	};
+
+	/**
+	 * Opens the transport.
+	 *
+	 * @api public
+	 */
+
+	Transport.prototype.open = function () {
+	  if ('closed' == this.readyState || '' == this.readyState) {
+	    this.readyState = 'opening';
+	    this.doOpen();
+	  }
+
+	  return this;
+	};
+
+	/**
+	 * Closes the transport.
+	 *
+	 * @api private
+	 */
+
+	Transport.prototype.close = function () {
+	  if ('opening' == this.readyState || 'open' == this.readyState) {
+	    this.doClose();
+	    this.onClose();
+	  }
+
+	  return this;
+	};
+
+	/**
+	 * Sends multiple packets.
+	 *
+	 * @param {Array} packets
+	 * @api private
+	 */
+
+	Transport.prototype.send = function(packets){
+	  if ('open' == this.readyState) {
+	    this.write(packets);
+	  } else {
+	    throw new Error('Transport not open');
+	  }
+	};
+
+	/**
+	 * Called upon open
+	 *
+	 * @api private
+	 */
+
+	Transport.prototype.onOpen = function () {
+	  this.readyState = 'open';
+	  this.writable = true;
+	  this.emit('open');
+	};
+
+	/**
+	 * Called with data.
+	 *
+	 * @param {String} data
+	 * @api private
+	 */
+
+	Transport.prototype.onData = function(data){
+	  var packet = parser.decodePacket(data, this.socket.binaryType);
+	  this.onPacket(packet);
+	};
+
+	/**
+	 * Called with a decoded packet.
+	 */
+
+	Transport.prototype.onPacket = function (packet) {
+	  this.emit('packet', packet);
+	};
+
+	/**
+	 * Called upon close.
+	 *
+	 * @api private
+	 */
+
+	Transport.prototype.onClose = function () {
+	  this.readyState = 'closed';
+	  this.emit('close');
+	};
+
+
+/***/ },
+/* 287 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * Module dependencies.
+	 */
+
+	var keys = __webpack_require__(288);
+	var hasBinary = __webpack_require__(289);
+	var sliceBuffer = __webpack_require__(291);
+	var base64encoder = __webpack_require__(292);
+	var after = __webpack_require__(293);
+	var utf8 = __webpack_require__(294);
+
+	/**
+	 * Check if we are running an android browser. That requires us to use
+	 * ArrayBuffer with polling transports...
+	 *
+	 * http://ghinda.net/jpeg-blob-ajax-android/
+	 */
+
+	var isAndroid = navigator.userAgent.match(/Android/i);
+
+	/**
+	 * Check if we are running in PhantomJS.
+	 * Uploading a Blob with PhantomJS does not work correctly, as reported here:
+	 * https://github.com/ariya/phantomjs/issues/11395
+	 * @type boolean
+	 */
+	var isPhantomJS = /PhantomJS/i.test(navigator.userAgent);
+
+	/**
+	 * When true, avoids using Blobs to encode payloads.
+	 * @type boolean
+	 */
+	var dontSendBlobs = isAndroid || isPhantomJS;
+
+	/**
+	 * Current protocol version.
+	 */
+
+	exports.protocol = 3;
+
+	/**
+	 * Packet types.
+	 */
+
+	var packets = exports.packets = {
+	    open:     0    // non-ws
+	  , close:    1    // non-ws
+	  , ping:     2
+	  , pong:     3
+	  , message:  4
+	  , upgrade:  5
+	  , noop:     6
+	};
+
+	var packetslist = keys(packets);
+
+	/**
+	 * Premade error packet.
+	 */
+
+	var err = { type: 'error', data: 'parser error' };
+
+	/**
+	 * Create a blob api even for blob builder when vendor prefixes exist
+	 */
+
+	var Blob = __webpack_require__(295);
+
+	/**
+	 * Encodes a packet.
+	 *
+	 *     <packet type id> [ <data> ]
+	 *
+	 * Example:
+	 *
+	 *     5hello world
+	 *     3
+	 *     4
+	 *
+	 * Binary is encoded in an identical principle
+	 *
+	 * @api private
+	 */
+
+	exports.encodePacket = function (packet, supportsBinary, utf8encode, callback) {
+	  if ('function' == typeof supportsBinary) {
+	    callback = supportsBinary;
+	    supportsBinary = false;
+	  }
+
+	  if ('function' == typeof utf8encode) {
+	    callback = utf8encode;
+	    utf8encode = null;
+	  }
+
+	  var data = (packet.data === undefined)
+	    ? undefined
+	    : packet.data.buffer || packet.data;
+
+	  if (global.ArrayBuffer && data instanceof ArrayBuffer) {
+	    return encodeArrayBuffer(packet, supportsBinary, callback);
+	  } else if (Blob && data instanceof global.Blob) {
+	    return encodeBlob(packet, supportsBinary, callback);
+	  }
+
+	  // might be an object with { base64: true, data: dataAsBase64String }
+	  if (data && data.base64) {
+	    return encodeBase64Object(packet, callback);
+	  }
+
+	  // Sending data as a utf-8 string
+	  var encoded = packets[packet.type];
+
+	  // data fragment is optional
+	  if (undefined !== packet.data) {
+	    encoded += utf8encode ? utf8.encode(String(packet.data)) : String(packet.data);
+	  }
+
+	  return callback('' + encoded);
+
+	};
+
+	function encodeBase64Object(packet, callback) {
+	  // packet data is an object { base64: true, data: dataAsBase64String }
+	  var message = 'b' + exports.packets[packet.type] + packet.data.data;
+	  return callback(message);
+	}
+
+	/**
+	 * Encode packet helpers for binary types
+	 */
+
+	function encodeArrayBuffer(packet, supportsBinary, callback) {
+	  if (!supportsBinary) {
+	    return exports.encodeBase64Packet(packet, callback);
+	  }
+
+	  var data = packet.data;
+	  var contentArray = new Uint8Array(data);
+	  var resultBuffer = new Uint8Array(1 + data.byteLength);
+
+	  resultBuffer[0] = packets[packet.type];
+	  for (var i = 0; i < contentArray.length; i++) {
+	    resultBuffer[i+1] = contentArray[i];
+	  }
+
+	  return callback(resultBuffer.buffer);
+	}
+
+	function encodeBlobAsArrayBuffer(packet, supportsBinary, callback) {
+	  if (!supportsBinary) {
+	    return exports.encodeBase64Packet(packet, callback);
+	  }
+
+	  var fr = new FileReader();
+	  fr.onload = function() {
+	    packet.data = fr.result;
+	    exports.encodePacket(packet, supportsBinary, true, callback);
+	  };
+	  return fr.readAsArrayBuffer(packet.data);
+	}
+
+	function encodeBlob(packet, supportsBinary, callback) {
+	  if (!supportsBinary) {
+	    return exports.encodeBase64Packet(packet, callback);
+	  }
+
+	  if (dontSendBlobs) {
+	    return encodeBlobAsArrayBuffer(packet, supportsBinary, callback);
+	  }
+
+	  var length = new Uint8Array(1);
+	  length[0] = packets[packet.type];
+	  var blob = new Blob([length.buffer, packet.data]);
+
+	  return callback(blob);
+	}
+
+	/**
+	 * Encodes a packet with binary data in a base64 string
+	 *
+	 * @param {Object} packet, has `type` and `data`
+	 * @return {String} base64 encoded message
+	 */
+
+	exports.encodeBase64Packet = function(packet, callback) {
+	  var message = 'b' + exports.packets[packet.type];
+	  if (Blob && packet.data instanceof global.Blob) {
+	    var fr = new FileReader();
+	    fr.onload = function() {
+	      var b64 = fr.result.split(',')[1];
+	      callback(message + b64);
+	    };
+	    return fr.readAsDataURL(packet.data);
+	  }
+
+	  var b64data;
+	  try {
+	    b64data = String.fromCharCode.apply(null, new Uint8Array(packet.data));
+	  } catch (e) {
+	    // iPhone Safari doesn't let you apply with typed arrays
+	    var typed = new Uint8Array(packet.data);
+	    var basic = new Array(typed.length);
+	    for (var i = 0; i < typed.length; i++) {
+	      basic[i] = typed[i];
+	    }
+	    b64data = String.fromCharCode.apply(null, basic);
+	  }
+	  message += global.btoa(b64data);
+	  return callback(message);
+	};
+
+	/**
+	 * Decodes a packet. Changes format to Blob if requested.
+	 *
+	 * @return {Object} with `type` and `data` (if any)
+	 * @api private
+	 */
+
+	exports.decodePacket = function (data, binaryType, utf8decode) {
+	  // String data
+	  if (typeof data == 'string' || data === undefined) {
+	    if (data.charAt(0) == 'b') {
+	      return exports.decodeBase64Packet(data.substr(1), binaryType);
+	    }
+
+	    if (utf8decode) {
+	      try {
+	        data = utf8.decode(data);
+	      } catch (e) {
+	        return err;
+	      }
+	    }
+	    var type = data.charAt(0);
+
+	    if (Number(type) != type || !packetslist[type]) {
+	      return err;
+	    }
+
+	    if (data.length > 1) {
+	      return { type: packetslist[type], data: data.substring(1) };
+	    } else {
+	      return { type: packetslist[type] };
+	    }
+	  }
+
+	  var asArray = new Uint8Array(data);
+	  var type = asArray[0];
+	  var rest = sliceBuffer(data, 1);
+	  if (Blob && binaryType === 'blob') {
+	    rest = new Blob([rest]);
+	  }
+	  return { type: packetslist[type], data: rest };
+	};
+
+	/**
+	 * Decodes a packet encoded in a base64 string
+	 *
+	 * @param {String} base64 encoded message
+	 * @return {Object} with `type` and `data` (if any)
+	 */
+
+	exports.decodeBase64Packet = function(msg, binaryType) {
+	  var type = packetslist[msg.charAt(0)];
+	  if (!global.ArrayBuffer) {
+	    return { type: type, data: { base64: true, data: msg.substr(1) } };
+	  }
+
+	  var data = base64encoder.decode(msg.substr(1));
+
+	  if (binaryType === 'blob' && Blob) {
+	    data = new Blob([data]);
+	  }
+
+	  return { type: type, data: data };
+	};
+
+	/**
+	 * Encodes multiple messages (payload).
+	 *
+	 *     <length>:data
+	 *
+	 * Example:
+	 *
+	 *     11:hello world2:hi
+	 *
+	 * If any contents are binary, they will be encoded as base64 strings. Base64
+	 * encoded strings are marked with a b before the length specifier
+	 *
+	 * @param {Array} packets
+	 * @api private
+	 */
+
+	exports.encodePayload = function (packets, supportsBinary, callback) {
+	  if (typeof supportsBinary == 'function') {
+	    callback = supportsBinary;
+	    supportsBinary = null;
+	  }
+
+	  var isBinary = hasBinary(packets);
+
+	  if (supportsBinary && isBinary) {
+	    if (Blob && !dontSendBlobs) {
+	      return exports.encodePayloadAsBlob(packets, callback);
+	    }
+
+	    return exports.encodePayloadAsArrayBuffer(packets, callback);
+	  }
+
+	  if (!packets.length) {
+	    return callback('0:');
+	  }
+
+	  function setLengthHeader(message) {
+	    return message.length + ':' + message;
+	  }
+
+	  function encodeOne(packet, doneCallback) {
+	    exports.encodePacket(packet, !isBinary ? false : supportsBinary, true, function(message) {
+	      doneCallback(null, setLengthHeader(message));
+	    });
+	  }
+
+	  map(packets, encodeOne, function(err, results) {
+	    return callback(results.join(''));
+	  });
+	};
+
+	/**
+	 * Async array map using after
+	 */
+
+	function map(ary, each, done) {
+	  var result = new Array(ary.length);
+	  var next = after(ary.length, done);
+
+	  var eachWithIndex = function(i, el, cb) {
+	    each(el, function(error, msg) {
+	      result[i] = msg;
+	      cb(error, result);
+	    });
+	  };
+
+	  for (var i = 0; i < ary.length; i++) {
+	    eachWithIndex(i, ary[i], next);
+	  }
+	}
+
+	/*
+	 * Decodes data when a payload is maybe expected. Possible binary contents are
+	 * decoded from their base64 representation
+	 *
+	 * @param {String} data, callback method
+	 * @api public
+	 */
+
+	exports.decodePayload = function (data, binaryType, callback) {
+	  if (typeof data != 'string') {
+	    return exports.decodePayloadAsBinary(data, binaryType, callback);
+	  }
+
+	  if (typeof binaryType === 'function') {
+	    callback = binaryType;
+	    binaryType = null;
+	  }
+
+	  var packet;
+	  if (data == '') {
+	    // parser error - ignoring payload
+	    return callback(err, 0, 1);
+	  }
+
+	  var length = ''
+	    , n, msg;
+
+	  for (var i = 0, l = data.length; i < l; i++) {
+	    var chr = data.charAt(i);
+
+	    if (':' != chr) {
+	      length += chr;
+	    } else {
+	      if ('' == length || (length != (n = Number(length)))) {
+	        // parser error - ignoring payload
+	        return callback(err, 0, 1);
+	      }
+
+	      msg = data.substr(i + 1, n);
+
+	      if (length != msg.length) {
+	        // parser error - ignoring payload
+	        return callback(err, 0, 1);
+	      }
+
+	      if (msg.length) {
+	        packet = exports.decodePacket(msg, binaryType, true);
+
+	        if (err.type == packet.type && err.data == packet.data) {
+	          // parser error in individual packet - ignoring payload
+	          return callback(err, 0, 1);
+	        }
+
+	        var ret = callback(packet, i + n, l);
+	        if (false === ret) return;
+	      }
+
+	      // advance cursor
+	      i += n;
+	      length = '';
+	    }
+	  }
+
+	  if (length != '') {
+	    // parser error - ignoring payload
+	    return callback(err, 0, 1);
+	  }
+
+	};
+
+	/**
+	 * Encodes multiple messages (payload) as binary.
+	 *
+	 * <1 = binary, 0 = string><number from 0-9><number from 0-9>[...]<number
+	 * 255><data>
+	 *
+	 * Example:
+	 * 1 3 255 1 2 3, if the binary contents are interpreted as 8 bit integers
+	 *
+	 * @param {Array} packets
+	 * @return {ArrayBuffer} encoded payload
+	 * @api private
+	 */
+
+	exports.encodePayloadAsArrayBuffer = function(packets, callback) {
+	  if (!packets.length) {
+	    return callback(new ArrayBuffer(0));
+	  }
+
+	  function encodeOne(packet, doneCallback) {
+	    exports.encodePacket(packet, true, true, function(data) {
+	      return doneCallback(null, data);
+	    });
+	  }
+
+	  map(packets, encodeOne, function(err, encodedPackets) {
+	    var totalLength = encodedPackets.reduce(function(acc, p) {
+	      var len;
+	      if (typeof p === 'string'){
+	        len = p.length;
+	      } else {
+	        len = p.byteLength;
+	      }
+	      return acc + len.toString().length + len + 2; // string/binary identifier + separator = 2
+	    }, 0);
+
+	    var resultArray = new Uint8Array(totalLength);
+
+	    var bufferIndex = 0;
+	    encodedPackets.forEach(function(p) {
+	      var isString = typeof p === 'string';
+	      var ab = p;
+	      if (isString) {
+	        var view = new Uint8Array(p.length);
+	        for (var i = 0; i < p.length; i++) {
+	          view[i] = p.charCodeAt(i);
+	        }
+	        ab = view.buffer;
+	      }
+
+	      if (isString) { // not true binary
+	        resultArray[bufferIndex++] = 0;
+	      } else { // true binary
+	        resultArray[bufferIndex++] = 1;
+	      }
+
+	      var lenStr = ab.byteLength.toString();
+	      for (var i = 0; i < lenStr.length; i++) {
+	        resultArray[bufferIndex++] = parseInt(lenStr[i]);
+	      }
+	      resultArray[bufferIndex++] = 255;
+
+	      var view = new Uint8Array(ab);
+	      for (var i = 0; i < view.length; i++) {
+	        resultArray[bufferIndex++] = view[i];
+	      }
+	    });
+
+	    return callback(resultArray.buffer);
+	  });
+	};
+
+	/**
+	 * Encode as Blob
+	 */
+
+	exports.encodePayloadAsBlob = function(packets, callback) {
+	  function encodeOne(packet, doneCallback) {
+	    exports.encodePacket(packet, true, true, function(encoded) {
+	      var binaryIdentifier = new Uint8Array(1);
+	      binaryIdentifier[0] = 1;
+	      if (typeof encoded === 'string') {
+	        var view = new Uint8Array(encoded.length);
+	        for (var i = 0; i < encoded.length; i++) {
+	          view[i] = encoded.charCodeAt(i);
+	        }
+	        encoded = view.buffer;
+	        binaryIdentifier[0] = 0;
+	      }
+
+	      var len = (encoded instanceof ArrayBuffer)
+	        ? encoded.byteLength
+	        : encoded.size;
+
+	      var lenStr = len.toString();
+	      var lengthAry = new Uint8Array(lenStr.length + 1);
+	      for (var i = 0; i < lenStr.length; i++) {
+	        lengthAry[i] = parseInt(lenStr[i]);
+	      }
+	      lengthAry[lenStr.length] = 255;
+
+	      if (Blob) {
+	        var blob = new Blob([binaryIdentifier.buffer, lengthAry.buffer, encoded]);
+	        doneCallback(null, blob);
+	      }
+	    });
+	  }
+
+	  map(packets, encodeOne, function(err, results) {
+	    return callback(new Blob(results));
+	  });
+	};
+
+	/*
+	 * Decodes data when a payload is maybe expected. Strings are decoded by
+	 * interpreting each byte as a key code for entries marked to start with 0. See
+	 * description of encodePayloadAsBinary
+	 *
+	 * @param {ArrayBuffer} data, callback method
+	 * @api public
+	 */
+
+	exports.decodePayloadAsBinary = function (data, binaryType, callback) {
+	  if (typeof binaryType === 'function') {
+	    callback = binaryType;
+	    binaryType = null;
+	  }
+
+	  var bufferTail = data;
+	  var buffers = [];
+
+	  var numberTooLong = false;
+	  while (bufferTail.byteLength > 0) {
+	    var tailArray = new Uint8Array(bufferTail);
+	    var isString = tailArray[0] === 0;
+	    var msgLength = '';
+
+	    for (var i = 1; ; i++) {
+	      if (tailArray[i] == 255) break;
+
+	      if (msgLength.length > 310) {
+	        numberTooLong = true;
+	        break;
+	      }
+
+	      msgLength += tailArray[i];
+	    }
+
+	    if(numberTooLong) return callback(err, 0, 1);
+
+	    bufferTail = sliceBuffer(bufferTail, 2 + msgLength.length);
+	    msgLength = parseInt(msgLength);
+
+	    var msg = sliceBuffer(bufferTail, 0, msgLength);
+	    if (isString) {
+	      try {
+	        msg = String.fromCharCode.apply(null, new Uint8Array(msg));
+	      } catch (e) {
+	        // iPhone Safari doesn't let you apply to typed arrays
+	        var typed = new Uint8Array(msg);
+	        msg = '';
+	        for (var i = 0; i < typed.length; i++) {
+	          msg += String.fromCharCode(typed[i]);
+	        }
+	      }
+	    }
+
+	    buffers.push(msg);
+	    bufferTail = sliceBuffer(bufferTail, msgLength);
+	  }
+
+	  var total = buffers.length;
+	  buffers.forEach(function(buffer, i) {
+	    callback(exports.decodePacket(buffer, binaryType, true), i, total);
+	  });
+	};
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 288 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Gets the keys for an object.
+	 *
+	 * @return {Array} keys
+	 * @api private
+	 */
+
+	module.exports = Object.keys || function keys (obj){
+	  var arr = [];
+	  var has = Object.prototype.hasOwnProperty;
+
+	  for (var i in obj) {
+	    if (has.call(obj, i)) {
+	      arr.push(i);
+	    }
+	  }
+	  return arr;
+	};
+
+
+/***/ },
+/* 289 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {
+	/*
+	 * Module requirements.
+	 */
+
+	var isArray = __webpack_require__(290);
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = hasBinary;
+
+	/**
+	 * Checks for binary data.
+	 *
+	 * Right now only Buffer and ArrayBuffer are supported..
+	 *
+	 * @param {Object} anything
+	 * @api public
+	 */
+
+	function hasBinary(data) {
+
+	  function _hasBinary(obj) {
+	    if (!obj) return false;
+
+	    if ( (global.Buffer && global.Buffer.isBuffer(obj)) ||
+	         (global.ArrayBuffer && obj instanceof ArrayBuffer) ||
+	         (global.Blob && obj instanceof Blob) ||
+	         (global.File && obj instanceof File)
+	        ) {
+	      return true;
+	    }
+
+	    if (isArray(obj)) {
+	      for (var i = 0; i < obj.length; i++) {
+	          if (_hasBinary(obj[i])) {
+	              return true;
+	          }
+	      }
+	    } else if (obj && 'object' == typeof obj) {
+	      if (obj.toJSON) {
+	        obj = obj.toJSON();
+	      }
+
+	      for (var key in obj) {
+	        if (Object.prototype.hasOwnProperty.call(obj, key) && _hasBinary(obj[key])) {
+	          return true;
+	        }
+	      }
+	    }
+
+	    return false;
+	  }
+
+	  return _hasBinary(data);
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 290 */
+/***/ function(module, exports) {
+
+	module.exports = Array.isArray || function (arr) {
+	  return Object.prototype.toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 291 */
+/***/ function(module, exports) {
+
+	/**
+	 * An abstraction for slicing an arraybuffer even when
+	 * ArrayBuffer.prototype.slice is not supported
+	 *
+	 * @api public
+	 */
+
+	module.exports = function(arraybuffer, start, end) {
+	  var bytes = arraybuffer.byteLength;
+	  start = start || 0;
+	  end = end || bytes;
+
+	  if (arraybuffer.slice) { return arraybuffer.slice(start, end); }
+
+	  if (start < 0) { start += bytes; }
+	  if (end < 0) { end += bytes; }
+	  if (end > bytes) { end = bytes; }
+
+	  if (start >= bytes || start >= end || bytes === 0) {
+	    return new ArrayBuffer(0);
+	  }
+
+	  var abv = new Uint8Array(arraybuffer);
+	  var result = new Uint8Array(end - start);
+	  for (var i = start, ii = 0; i < end; i++, ii++) {
+	    result[ii] = abv[i];
+	  }
+	  return result.buffer;
+	};
+
+
+/***/ },
+/* 292 */
+/***/ function(module, exports) {
+
+	/*
+	 * base64-arraybuffer
+	 * https://github.com/niklasvh/base64-arraybuffer
+	 *
+	 * Copyright (c) 2012 Niklas von Hertzen
+	 * Licensed under the MIT license.
+	 */
+	(function(chars){
+	  "use strict";
+
+	  exports.encode = function(arraybuffer) {
+	    var bytes = new Uint8Array(arraybuffer),
+	    i, len = bytes.length, base64 = "";
+
+	    for (i = 0; i < len; i+=3) {
+	      base64 += chars[bytes[i] >> 2];
+	      base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];
+	      base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];
+	      base64 += chars[bytes[i + 2] & 63];
+	    }
+
+	    if ((len % 3) === 2) {
+	      base64 = base64.substring(0, base64.length - 1) + "=";
+	    } else if (len % 3 === 1) {
+	      base64 = base64.substring(0, base64.length - 2) + "==";
+	    }
+
+	    return base64;
+	  };
+
+	  exports.decode =  function(base64) {
+	    var bufferLength = base64.length * 0.75,
+	    len = base64.length, i, p = 0,
+	    encoded1, encoded2, encoded3, encoded4;
+
+	    if (base64[base64.length - 1] === "=") {
+	      bufferLength--;
+	      if (base64[base64.length - 2] === "=") {
+	        bufferLength--;
+	      }
+	    }
+
+	    var arraybuffer = new ArrayBuffer(bufferLength),
+	    bytes = new Uint8Array(arraybuffer);
+
+	    for (i = 0; i < len; i+=4) {
+	      encoded1 = chars.indexOf(base64[i]);
+	      encoded2 = chars.indexOf(base64[i+1]);
+	      encoded3 = chars.indexOf(base64[i+2]);
+	      encoded4 = chars.indexOf(base64[i+3]);
+
+	      bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);
+	      bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);
+	      bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);
+	    }
+
+	    return arraybuffer;
+	  };
+	})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
+
+
+/***/ },
+/* 293 */
+/***/ function(module, exports) {
+
+	module.exports = after
+
+	function after(count, callback, err_cb) {
+	    var bail = false
+	    err_cb = err_cb || noop
+	    proxy.count = count
+
+	    return (count === 0) ? callback() : proxy
+
+	    function proxy(err, result) {
+	        if (proxy.count <= 0) {
+	            throw new Error('after called too many times')
+	        }
+	        --proxy.count
+
+	        // after first error, rest are passed to err_cb
+	        if (err) {
+	            bail = true
+	            callback(err)
+	            // future error callbacks will go to error handler
+	            callback = err_cb
+	        } else if (proxy.count === 0 && !bail) {
+	            callback(null, result)
+	        }
+	    }
+	}
+
+	function noop() {}
+
+
+/***/ },
+/* 294 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/*! https://mths.be/utf8js v2.0.0 by @mathias */
+	;(function(root) {
+
+		// Detect free variables `exports`
+		var freeExports = typeof exports == 'object' && exports;
+
+		// Detect free variable `module`
+		var freeModule = typeof module == 'object' && module &&
+			module.exports == freeExports && module;
+
+		// Detect free variable `global`, from Node.js or Browserified code,
+		// and use it as `root`
+		var freeGlobal = typeof global == 'object' && global;
+		if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {
+			root = freeGlobal;
+		}
+
+		/*--------------------------------------------------------------------------*/
+
+		var stringFromCharCode = String.fromCharCode;
+
+		// Taken from https://mths.be/punycode
+		function ucs2decode(string) {
+			var output = [];
+			var counter = 0;
+			var length = string.length;
+			var value;
+			var extra;
+			while (counter < length) {
+				value = string.charCodeAt(counter++);
+				if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
+					// high surrogate, and there is a next character
+					extra = string.charCodeAt(counter++);
+					if ((extra & 0xFC00) == 0xDC00) { // low surrogate
+						output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
+					} else {
+						// unmatched surrogate; only append this code unit, in case the next
+						// code unit is the high surrogate of a surrogate pair
+						output.push(value);
+						counter--;
+					}
+				} else {
+					output.push(value);
+				}
+			}
+			return output;
+		}
+
+		// Taken from https://mths.be/punycode
+		function ucs2encode(array) {
+			var length = array.length;
+			var index = -1;
+			var value;
+			var output = '';
+			while (++index < length) {
+				value = array[index];
+				if (value > 0xFFFF) {
+					value -= 0x10000;
+					output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);
+					value = 0xDC00 | value & 0x3FF;
+				}
+				output += stringFromCharCode(value);
+			}
+			return output;
+		}
+
+		function checkScalarValue(codePoint) {
+			if (codePoint >= 0xD800 && codePoint <= 0xDFFF) {
+				throw Error(
+					'Lone surrogate U+' + codePoint.toString(16).toUpperCase() +
+					' is not a scalar value'
+				);
+			}
+		}
+		/*--------------------------------------------------------------------------*/
+
+		function createByte(codePoint, shift) {
+			return stringFromCharCode(((codePoint >> shift) & 0x3F) | 0x80);
+		}
+
+		function encodeCodePoint(codePoint) {
+			if ((codePoint & 0xFFFFFF80) == 0) { // 1-byte sequence
+				return stringFromCharCode(codePoint);
+			}
+			var symbol = '';
+			if ((codePoint & 0xFFFFF800) == 0) { // 2-byte sequence
+				symbol = stringFromCharCode(((codePoint >> 6) & 0x1F) | 0xC0);
+			}
+			else if ((codePoint & 0xFFFF0000) == 0) { // 3-byte sequence
+				checkScalarValue(codePoint);
+				symbol = stringFromCharCode(((codePoint >> 12) & 0x0F) | 0xE0);
+				symbol += createByte(codePoint, 6);
+			}
+			else if ((codePoint & 0xFFE00000) == 0) { // 4-byte sequence
+				symbol = stringFromCharCode(((codePoint >> 18) & 0x07) | 0xF0);
+				symbol += createByte(codePoint, 12);
+				symbol += createByte(codePoint, 6);
+			}
+			symbol += stringFromCharCode((codePoint & 0x3F) | 0x80);
+			return symbol;
+		}
+
+		function utf8encode(string) {
+			var codePoints = ucs2decode(string);
+			var length = codePoints.length;
+			var index = -1;
+			var codePoint;
+			var byteString = '';
+			while (++index < length) {
+				codePoint = codePoints[index];
+				byteString += encodeCodePoint(codePoint);
+			}
+			return byteString;
+		}
+
+		/*--------------------------------------------------------------------------*/
+
+		function readContinuationByte() {
+			if (byteIndex >= byteCount) {
+				throw Error('Invalid byte index');
+			}
+
+			var continuationByte = byteArray[byteIndex] & 0xFF;
+			byteIndex++;
+
+			if ((continuationByte & 0xC0) == 0x80) {
+				return continuationByte & 0x3F;
+			}
+
+			// If we end up here, it’s not a continuation byte
+			throw Error('Invalid continuation byte');
+		}
+
+		function decodeSymbol() {
+			var byte1;
+			var byte2;
+			var byte3;
+			var byte4;
+			var codePoint;
+
+			if (byteIndex > byteCount) {
+				throw Error('Invalid byte index');
+			}
+
+			if (byteIndex == byteCount) {
+				return false;
+			}
+
+			// Read first byte
+			byte1 = byteArray[byteIndex] & 0xFF;
+			byteIndex++;
+
+			// 1-byte sequence (no continuation bytes)
+			if ((byte1 & 0x80) == 0) {
+				return byte1;
+			}
+
+			// 2-byte sequence
+			if ((byte1 & 0xE0) == 0xC0) {
+				var byte2 = readContinuationByte();
+				codePoint = ((byte1 & 0x1F) << 6) | byte2;
+				if (codePoint >= 0x80) {
+					return codePoint;
+				} else {
+					throw Error('Invalid continuation byte');
+				}
+			}
+
+			// 3-byte sequence (may include unpaired surrogates)
+			if ((byte1 & 0xF0) == 0xE0) {
+				byte2 = readContinuationByte();
+				byte3 = readContinuationByte();
+				codePoint = ((byte1 & 0x0F) << 12) | (byte2 << 6) | byte3;
+				if (codePoint >= 0x0800) {
+					checkScalarValue(codePoint);
+					return codePoint;
+				} else {
+					throw Error('Invalid continuation byte');
+				}
+			}
+
+			// 4-byte sequence
+			if ((byte1 & 0xF8) == 0xF0) {
+				byte2 = readContinuationByte();
+				byte3 = readContinuationByte();
+				byte4 = readContinuationByte();
+				codePoint = ((byte1 & 0x0F) << 0x12) | (byte2 << 0x0C) |
+					(byte3 << 0x06) | byte4;
+				if (codePoint >= 0x010000 && codePoint <= 0x10FFFF) {
+					return codePoint;
+				}
+			}
+
+			throw Error('Invalid UTF-8 detected');
+		}
+
+		var byteArray;
+		var byteCount;
+		var byteIndex;
+		function utf8decode(byteString) {
+			byteArray = ucs2decode(byteString);
+			byteCount = byteArray.length;
+			byteIndex = 0;
+			var codePoints = [];
+			var tmp;
+			while ((tmp = decodeSymbol()) !== false) {
+				codePoints.push(tmp);
+			}
+			return ucs2encode(codePoints);
+		}
+
+		/*--------------------------------------------------------------------------*/
+
+		var utf8 = {
+			'version': '2.0.0',
+			'encode': utf8encode,
+			'decode': utf8decode
+		};
+
+		// Some AMD build optimizers, like r.js, check for specific condition patterns
+		// like the following:
+		if (
+			true
+		) {
+			!(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
+				return utf8;
+			}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+		}	else if (freeExports && !freeExports.nodeType) {
+			if (freeModule) { // in Node.js or RingoJS v0.8.0+
+				freeModule.exports = utf8;
+			} else { // in Narwhal or RingoJS v0.7.0-
+				var object = {};
+				var hasOwnProperty = object.hasOwnProperty;
+				for (var key in utf8) {
+					hasOwnProperty.call(utf8, key) && (freeExports[key] = utf8[key]);
+				}
+			}
+		} else { // in Rhino or a web browser
+			root.utf8 = utf8;
+		}
+
+	}(this));
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)(module), (function() { return this; }())))
+
+/***/ },
+/* 295 */
+/***/ function(module, exports) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * Create a blob builder even when vendor prefixes exist
+	 */
+
+	var BlobBuilder = global.BlobBuilder
+	  || global.WebKitBlobBuilder
+	  || global.MSBlobBuilder
+	  || global.MozBlobBuilder;
+
+	/**
+	 * Check if Blob constructor is supported
+	 */
+
+	var blobSupported = (function() {
+	  try {
+	    var a = new Blob(['hi']);
+	    return a.size === 2;
+	  } catch(e) {
+	    return false;
+	  }
+	})();
+
+	/**
+	 * Check if Blob constructor supports ArrayBufferViews
+	 * Fails in Safari 6, so we need to map to ArrayBuffers there.
+	 */
+
+	var blobSupportsArrayBufferView = blobSupported && (function() {
+	  try {
+	    var b = new Blob([new Uint8Array([1,2])]);
+	    return b.size === 2;
+	  } catch(e) {
+	    return false;
+	  }
+	})();
+
+	/**
+	 * Check if BlobBuilder is supported
+	 */
+
+	var blobBuilderSupported = BlobBuilder
+	  && BlobBuilder.prototype.append
+	  && BlobBuilder.prototype.getBlob;
+
+	/**
+	 * Helper function that maps ArrayBufferViews to ArrayBuffers
+	 * Used by BlobBuilder constructor and old browsers that didn't
+	 * support it in the Blob constructor.
+	 */
+
+	function mapArrayBufferViews(ary) {
+	  for (var i = 0; i < ary.length; i++) {
+	    var chunk = ary[i];
+	    if (chunk.buffer instanceof ArrayBuffer) {
+	      var buf = chunk.buffer;
+
+	      // if this is a subarray, make a copy so we only
+	      // include the subarray region from the underlying buffer
+	      if (chunk.byteLength !== buf.byteLength) {
+	        var copy = new Uint8Array(chunk.byteLength);
+	        copy.set(new Uint8Array(buf, chunk.byteOffset, chunk.byteLength));
+	        buf = copy.buffer;
+	      }
+
+	      ary[i] = buf;
+	    }
+	  }
+	}
+
+	function BlobBuilderConstructor(ary, options) {
+	  options = options || {};
+
+	  var bb = new BlobBuilder();
+	  mapArrayBufferViews(ary);
+
+	  for (var i = 0; i < ary.length; i++) {
+	    bb.append(ary[i]);
+	  }
+
+	  return (options.type) ? bb.getBlob(options.type) : bb.getBlob();
+	};
+
+	function BlobConstructor(ary, options) {
+	  mapArrayBufferViews(ary);
+	  return new Blob(ary, options || {});
+	};
+
+	module.exports = (function() {
+	  if (blobSupported) {
+	    return blobSupportsArrayBufferView ? global.Blob : BlobConstructor;
+	  } else if (blobBuilderSupported) {
+	    return BlobBuilderConstructor;
+	  } else {
+	    return undefined;
+	  }
+	})();
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 296 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Expose `Emitter`.
+	 */
+
+	module.exports = Emitter;
+
+	/**
+	 * Initialize a new `Emitter`.
+	 *
+	 * @api public
+	 */
+
+	function Emitter(obj) {
+	  if (obj) return mixin(obj);
+	};
+
+	/**
+	 * Mixin the emitter properties.
+	 *
+	 * @param {Object} obj
+	 * @return {Object}
+	 * @api private
+	 */
+
+	function mixin(obj) {
+	  for (var key in Emitter.prototype) {
+	    obj[key] = Emitter.prototype[key];
+	  }
+	  return obj;
+	}
+
+	/**
+	 * Listen on the given `event` with `fn`.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.on =
+	Emitter.prototype.addEventListener = function(event, fn){
+	  this._callbacks = this._callbacks || {};
+	  (this._callbacks[event] = this._callbacks[event] || [])
+	    .push(fn);
+	  return this;
+	};
+
+	/**
+	 * Adds an `event` listener that will be invoked a single
+	 * time then automatically removed.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.once = function(event, fn){
+	  var self = this;
+	  this._callbacks = this._callbacks || {};
+
+	  function on() {
+	    self.off(event, on);
+	    fn.apply(this, arguments);
+	  }
+
+	  on.fn = fn;
+	  this.on(event, on);
+	  return this;
+	};
+
+	/**
+	 * Remove the given callback for `event` or all
+	 * registered callbacks.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.off =
+	Emitter.prototype.removeListener =
+	Emitter.prototype.removeAllListeners =
+	Emitter.prototype.removeEventListener = function(event, fn){
+	  this._callbacks = this._callbacks || {};
+
+	  // all
+	  if (0 == arguments.length) {
+	    this._callbacks = {};
+	    return this;
+	  }
+
+	  // specific event
+	  var callbacks = this._callbacks[event];
+	  if (!callbacks) return this;
+
+	  // remove all handlers
+	  if (1 == arguments.length) {
+	    delete this._callbacks[event];
+	    return this;
+	  }
+
+	  // remove specific handler
+	  var cb;
+	  for (var i = 0; i < callbacks.length; i++) {
+	    cb = callbacks[i];
+	    if (cb === fn || cb.fn === fn) {
+	      callbacks.splice(i, 1);
+	      break;
+	    }
+	  }
+	  return this;
+	};
+
+	/**
+	 * Emit `event` with the given args.
+	 *
+	 * @param {String} event
+	 * @param {Mixed} ...
+	 * @return {Emitter}
+	 */
+
+	Emitter.prototype.emit = function(event){
+	  this._callbacks = this._callbacks || {};
+	  var args = [].slice.call(arguments, 1)
+	    , callbacks = this._callbacks[event];
+
+	  if (callbacks) {
+	    callbacks = callbacks.slice(0);
+	    for (var i = 0, len = callbacks.length; i < len; ++i) {
+	      callbacks[i].apply(this, args);
+	    }
+	  }
+
+	  return this;
+	};
+
+	/**
+	 * Return array of callbacks for `event`.
+	 *
+	 * @param {String} event
+	 * @return {Array}
+	 * @api public
+	 */
+
+	Emitter.prototype.listeners = function(event){
+	  this._callbacks = this._callbacks || {};
+	  return this._callbacks[event] || [];
+	};
+
+	/**
+	 * Check if this emitter has `event` handlers.
+	 *
+	 * @param {String} event
+	 * @return {Boolean}
+	 * @api public
+	 */
+
+	Emitter.prototype.hasListeners = function(event){
+	  return !! this.listeners(event).length;
+	};
+
+
+/***/ },
+/* 297 */
+/***/ function(module, exports) {
+
+	/**
+	 * Compiles a querystring
+	 * Returns string representation of the object
+	 *
+	 * @param {Object}
+	 * @api private
+	 */
+
+	exports.encode = function (obj) {
+	  var str = '';
+
+	  for (var i in obj) {
+	    if (obj.hasOwnProperty(i)) {
+	      if (str.length) str += '&';
+	      str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]);
+	    }
+	  }
+
+	  return str;
+	};
+
+	/**
+	 * Parses a simple querystring into an object
+	 *
+	 * @param {String} qs
+	 * @api private
+	 */
+
+	exports.decode = function(qs){
+	  var qry = {};
+	  var pairs = qs.split('&');
+	  for (var i = 0, l = pairs.length; i < l; i++) {
+	    var pair = pairs[i].split('=');
+	    qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);
+	  }
+	  return qry;
+	};
+
+
+/***/ },
+/* 298 */
+/***/ function(module, exports) {
+
+	
+	module.exports = function(a, b){
+	  var fn = function(){};
+	  fn.prototype = b.prototype;
+	  a.prototype = new fn;
+	  a.prototype.constructor = a;
+	};
+
+/***/ },
+/* 299 */
+/***/ function(module, exports) {
+
+	'use strict';
+
+	var alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'.split('')
+	  , length = 64
+	  , map = {}
+	  , seed = 0
+	  , i = 0
+	  , prev;
+
+	/**
+	 * Return a string representing the specified number.
+	 *
+	 * @param {Number} num The number to convert.
+	 * @returns {String} The string representation of the number.
+	 * @api public
+	 */
+	function encode(num) {
+	  var encoded = '';
+
+	  do {
+	    encoded = alphabet[num % length] + encoded;
+	    num = Math.floor(num / length);
+	  } while (num > 0);
+
+	  return encoded;
+	}
+
+	/**
+	 * Return the integer value specified by the given string.
+	 *
+	 * @param {String} str The string to convert.
+	 * @returns {Number} The integer value represented by the string.
+	 * @api public
+	 */
+	function decode(str) {
+	  var decoded = 0;
+
+	  for (i = 0; i < str.length; i++) {
+	    decoded = decoded * length + map[str.charAt(i)];
+	  }
+
+	  return decoded;
+	}
+
+	/**
+	 * Yeast: A tiny growing id generator.
+	 *
+	 * @returns {String} A unique id.
+	 * @api public
+	 */
+	function yeast() {
+	  var now = encode(+new Date());
+
+	  if (now !== prev) return seed = 0, prev = now;
+	  return now +'.'+ encode(seed++);
+	}
+
+	//
+	// Map each character to its index.
+	//
+	for (; i < length; i++) map[alphabet[i]] = i;
+
+	//
+	// Expose the `yeast`, `encode` and `decode` functions.
+	//
+	yeast.encode = encode;
+	yeast.decode = decode;
+	module.exports = yeast;
+
+
+/***/ },
+/* 300 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * This is the web browser implementation of `debug()`.
+	 *
+	 * Expose `debug()` as the module.
+	 */
+
+	exports = module.exports = __webpack_require__(301);
+	exports.log = log;
+	exports.formatArgs = formatArgs;
+	exports.save = save;
+	exports.load = load;
+	exports.useColors = useColors;
+	exports.storage = 'undefined' != typeof chrome
+	               && 'undefined' != typeof chrome.storage
+	                  ? chrome.storage.local
+	                  : localstorage();
+
+	/**
+	 * Colors.
+	 */
+
+	exports.colors = [
+	  'lightseagreen',
+	  'forestgreen',
+	  'goldenrod',
+	  'dodgerblue',
+	  'darkorchid',
+	  'crimson'
+	];
+
+	/**
+	 * Currently only WebKit-based Web Inspectors, Firefox >= v31,
+	 * and the Firebug extension (any Firefox version) are known
+	 * to support "%c" CSS customizations.
+	 *
+	 * TODO: add a `localStorage` variable to explicitly enable/disable colors
+	 */
+
+	function useColors() {
+	  // is webkit? http://stackoverflow.com/a/16459606/376773
+	  return ('WebkitAppearance' in document.documentElement.style) ||
+	    // is firebug? http://stackoverflow.com/a/398120/376773
+	    (window.console && (console.firebug || (console.exception && console.table))) ||
+	    // is firefox >= v31?
+	    // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
+	    (navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31);
+	}
+
+	/**
+	 * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
+	 */
+
+	exports.formatters.j = function(v) {
+	  return JSON.stringify(v);
+	};
+
+
+	/**
+	 * Colorize log arguments if enabled.
+	 *
+	 * @api public
+	 */
+
+	function formatArgs() {
+	  var args = arguments;
+	  var useColors = this.useColors;
+
+	  args[0] = (useColors ? '%c' : '')
+	    + this.namespace
+	    + (useColors ? ' %c' : ' ')
+	    + args[0]
+	    + (useColors ? '%c ' : ' ')
+	    + '+' + exports.humanize(this.diff);
+
+	  if (!useColors) return args;
+
+	  var c = 'color: ' + this.color;
+	  args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));
+
+	  // the final "%c" is somewhat tricky, because there could be other
+	  // arguments passed either before or after the %c, so we need to
+	  // figure out the correct index to insert the CSS into
+	  var index = 0;
+	  var lastC = 0;
+	  args[0].replace(/%[a-z%]/g, function(match) {
+	    if ('%%' === match) return;
+	    index++;
+	    if ('%c' === match) {
+	      // we only are interested in the *last* %c
+	      // (the user may have provided their own)
+	      lastC = index;
+	    }
+	  });
+
+	  args.splice(lastC, 0, c);
+	  return args;
+	}
+
+	/**
+	 * Invokes `console.log()` when available.
+	 * No-op when `console.log` is not a "function".
+	 *
+	 * @api public
+	 */
+
+	function log() {
+	  // this hackery is required for IE8/9, where
+	  // the `console.log` function doesn't have 'apply'
+	  return 'object' === typeof console
+	    && console.log
+	    && Function.prototype.apply.call(console.log, console, arguments);
+	}
+
+	/**
+	 * Save `namespaces`.
+	 *
+	 * @param {String} namespaces
+	 * @api private
+	 */
+
+	function save(namespaces) {
+	  try {
+	    if (null == namespaces) {
+	      exports.storage.removeItem('debug');
+	    } else {
+	      exports.storage.debug = namespaces;
+	    }
+	  } catch(e) {}
+	}
+
+	/**
+	 * Load `namespaces`.
+	 *
+	 * @return {String} returns the previously persisted debug modes
+	 * @api private
+	 */
+
+	function load() {
+	  var r;
+	  try {
+	    r = exports.storage.debug;
+	  } catch(e) {}
+	  return r;
+	}
+
+	/**
+	 * Enable namespaces listed in `localStorage.debug` initially.
+	 */
+
+	exports.enable(load());
+
+	/**
+	 * Localstorage attempts to return the localstorage.
+	 *
+	 * This is necessary because safari throws
+	 * when a user disables cookies/localstorage
+	 * and you attempt to access it.
+	 *
+	 * @return {LocalStorage}
+	 * @api private
+	 */
+
+	function localstorage(){
+	  try {
+	    return window.localStorage;
+	  } catch (e) {}
+	}
+
+
+/***/ },
+/* 301 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * This is the common logic for both the Node.js and web browser
+	 * implementations of `debug()`.
+	 *
+	 * Expose `debug()` as the module.
+	 */
+
+	exports = module.exports = debug;
+	exports.coerce = coerce;
+	exports.disable = disable;
+	exports.enable = enable;
+	exports.enabled = enabled;
+	exports.humanize = __webpack_require__(302);
+
+	/**
+	 * The currently active debug mode names, and names to skip.
+	 */
+
+	exports.names = [];
+	exports.skips = [];
+
+	/**
+	 * Map of special "%n" handling functions, for the debug "format" argument.
+	 *
+	 * Valid key names are a single, lowercased letter, i.e. "n".
+	 */
+
+	exports.formatters = {};
+
+	/**
+	 * Previously assigned color.
+	 */
+
+	var prevColor = 0;
+
+	/**
+	 * Previous log timestamp.
+	 */
+
+	var prevTime;
+
+	/**
+	 * Select a color.
+	 *
+	 * @return {Number}
+	 * @api private
+	 */
+
+	function selectColor() {
+	  return exports.colors[prevColor++ % exports.colors.length];
+	}
+
+	/**
+	 * Create a debugger with the given `namespace`.
+	 *
+	 * @param {String} namespace
+	 * @return {Function}
+	 * @api public
+	 */
+
+	function debug(namespace) {
+
+	  // define the `disabled` version
+	  function disabled() {
+	  }
+	  disabled.enabled = false;
+
+	  // define the `enabled` version
+	  function enabled() {
+
+	    var self = enabled;
+
+	    // set `diff` timestamp
+	    var curr = +new Date();
+	    var ms = curr - (prevTime || curr);
+	    self.diff = ms;
+	    self.prev = prevTime;
+	    self.curr = curr;
+	    prevTime = curr;
+
+	    // add the `color` if not set
+	    if (null == self.useColors) self.useColors = exports.useColors();
+	    if (null == self.color && self.useColors) self.color = selectColor();
+
+	    var args = Array.prototype.slice.call(arguments);
+
+	    args[0] = exports.coerce(args[0]);
+
+	    if ('string' !== typeof args[0]) {
+	      // anything else let's inspect with %o
+	      args = ['%o'].concat(args);
+	    }
+
+	    // apply any `formatters` transformations
+	    var index = 0;
+	    args[0] = args[0].replace(/%([a-z%])/g, function(match, format) {
+	      // if we encounter an escaped % then don't increase the array index
+	      if (match === '%%') return match;
+	      index++;
+	      var formatter = exports.formatters[format];
+	      if ('function' === typeof formatter) {
+	        var val = args[index];
+	        match = formatter.call(self, val);
+
+	        // now we need to remove `args[index]` since it's inlined in the `format`
+	        args.splice(index, 1);
+	        index--;
+	      }
+	      return match;
+	    });
+
+	    if ('function' === typeof exports.formatArgs) {
+	      args = exports.formatArgs.apply(self, args);
+	    }
+	    var logFn = enabled.log || exports.log || console.log.bind(console);
+	    logFn.apply(self, args);
+	  }
+	  enabled.enabled = true;
+
+	  var fn = exports.enabled(namespace) ? enabled : disabled;
+
+	  fn.namespace = namespace;
+
+	  return fn;
+	}
+
+	/**
+	 * Enables a debug mode by namespaces. This can include modes
+	 * separated by a colon and wildcards.
+	 *
+	 * @param {String} namespaces
+	 * @api public
+	 */
+
+	function enable(namespaces) {
+	  exports.save(namespaces);
+
+	  var split = (namespaces || '').split(/[\s,]+/);
+	  var len = split.length;
+
+	  for (var i = 0; i < len; i++) {
+	    if (!split[i]) continue; // ignore empty strings
+	    namespaces = split[i].replace(/\*/g, '.*?');
+	    if (namespaces[0] === '-') {
+	      exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
+	    } else {
+	      exports.names.push(new RegExp('^' + namespaces + '$'));
+	    }
+	  }
+	}
+
+	/**
+	 * Disable debug output.
+	 *
+	 * @api public
+	 */
+
+	function disable() {
+	  exports.enable('');
+	}
+
+	/**
+	 * Returns true if the given mode name is enabled, false otherwise.
+	 *
+	 * @param {String} name
+	 * @return {Boolean}
+	 * @api public
+	 */
+
+	function enabled(name) {
+	  var i, len;
+	  for (i = 0, len = exports.skips.length; i < len; i++) {
+	    if (exports.skips[i].test(name)) {
+	      return false;
+	    }
+	  }
+	  for (i = 0, len = exports.names.length; i < len; i++) {
+	    if (exports.names[i].test(name)) {
+	      return true;
+	    }
+	  }
+	  return false;
+	}
+
+	/**
+	 * Coerce `val`.
+	 *
+	 * @param {Mixed} val
+	 * @return {Mixed}
+	 * @api private
+	 */
+
+	function coerce(val) {
+	  if (val instanceof Error) return val.stack || val.message;
+	  return val;
+	}
+
+
+/***/ },
+/* 302 */
+/***/ function(module, exports) {
+
+	/**
+	 * Helpers.
+	 */
+
+	var s = 1000;
+	var m = s * 60;
+	var h = m * 60;
+	var d = h * 24;
+	var y = d * 365.25;
+
+	/**
+	 * Parse or format the given `val`.
+	 *
+	 * Options:
+	 *
+	 *  - `long` verbose formatting [false]
+	 *
+	 * @param {String|Number} val
+	 * @param {Object} options
+	 * @return {String|Number}
+	 * @api public
+	 */
+
+	module.exports = function(val, options){
+	  options = options || {};
+	  if ('string' == typeof val) return parse(val);
+	  return options.long
+	    ? long(val)
+	    : short(val);
+	};
+
+	/**
+	 * Parse the given `str` and return milliseconds.
+	 *
+	 * @param {String} str
+	 * @return {Number}
+	 * @api private
+	 */
+
+	function parse(str) {
+	  str = '' + str;
+	  if (str.length > 10000) return;
+	  var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
+	  if (!match) return;
+	  var n = parseFloat(match[1]);
+	  var type = (match[2] || 'ms').toLowerCase();
+	  switch (type) {
+	    case 'years':
+	    case 'year':
+	    case 'yrs':
+	    case 'yr':
+	    case 'y':
+	      return n * y;
+	    case 'days':
+	    case 'day':
+	    case 'd':
+	      return n * d;
+	    case 'hours':
+	    case 'hour':
+	    case 'hrs':
+	    case 'hr':
+	    case 'h':
+	      return n * h;
+	    case 'minutes':
+	    case 'minute':
+	    case 'mins':
+	    case 'min':
+	    case 'm':
+	      return n * m;
+	    case 'seconds':
+	    case 'second':
+	    case 'secs':
+	    case 'sec':
+	    case 's':
+	      return n * s;
+	    case 'milliseconds':
+	    case 'millisecond':
+	    case 'msecs':
+	    case 'msec':
+	    case 'ms':
+	      return n;
+	  }
+	}
+
+	/**
+	 * Short format for `ms`.
+	 *
+	 * @param {Number} ms
+	 * @return {String}
+	 * @api private
+	 */
+
+	function short(ms) {
+	  if (ms >= d) return Math.round(ms / d) + 'd';
+	  if (ms >= h) return Math.round(ms / h) + 'h';
+	  if (ms >= m) return Math.round(ms / m) + 'm';
+	  if (ms >= s) return Math.round(ms / s) + 's';
+	  return ms + 'ms';
+	}
+
+	/**
+	 * Long format for `ms`.
+	 *
+	 * @param {Number} ms
+	 * @return {String}
+	 * @api private
+	 */
+
+	function long(ms) {
+	  return plural(ms, d, 'day')
+	    || plural(ms, h, 'hour')
+	    || plural(ms, m, 'minute')
+	    || plural(ms, s, 'second')
+	    || ms + ' ms';
+	}
+
+	/**
+	 * Pluralization helper.
+	 */
+
+	function plural(ms, n, name) {
+	  if (ms < n) return;
+	  if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;
+	  return Math.ceil(ms / n) + ' ' + name + 's';
+	}
+
+
+/***/ },
+/* 303 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {
+	/**
+	 * Module requirements.
+	 */
+
+	var Polling = __webpack_require__(285);
+	var inherit = __webpack_require__(298);
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = JSONPPolling;
+
+	/**
+	 * Cached regular expressions.
+	 */
+
+	var rNewline = /\n/g;
+	var rEscapedNewline = /\\n/g;
+
+	/**
+	 * Global JSONP callbacks.
+	 */
+
+	var callbacks;
+
+	/**
+	 * Callbacks count.
+	 */
+
+	var index = 0;
+
+	/**
+	 * Noop.
+	 */
+
+	function empty () { }
+
+	/**
+	 * JSONP Polling constructor.
+	 *
+	 * @param {Object} opts.
+	 * @api public
+	 */
+
+	function JSONPPolling (opts) {
+	  Polling.call(this, opts);
+
+	  this.query = this.query || {};
+
+	  // define global callbacks array if not present
+	  // we do this here (lazily) to avoid unneeded global pollution
+	  if (!callbacks) {
+	    // we need to consider multiple engines in the same page
+	    if (!global.___eio) global.___eio = [];
+	    callbacks = global.___eio;
+	  }
+
+	  // callback identifier
+	  this.index = callbacks.length;
+
+	  // add callback to jsonp global
+	  var self = this;
+	  callbacks.push(function (msg) {
+	    self.onData(msg);
+	  });
+
+	  // append to query string
+	  this.query.j = this.index;
+
+	  // prevent spurious errors from being emitted when the window is unloaded
+	  if (global.document && global.addEventListener) {
+	    global.addEventListener('beforeunload', function () {
+	      if (self.script) self.script.onerror = empty;
+	    }, false);
+	  }
+	}
+
+	/**
+	 * Inherits from Polling.
+	 */
+
+	inherit(JSONPPolling, Polling);
+
+	/*
+	 * JSONP only supports binary as base64 encoded strings
+	 */
+
+	JSONPPolling.prototype.supportsBinary = false;
+
+	/**
+	 * Closes the socket.
+	 *
+	 * @api private
+	 */
+
+	JSONPPolling.prototype.doClose = function () {
+	  if (this.script) {
+	    this.script.parentNode.removeChild(this.script);
+	    this.script = null;
+	  }
+
+	  if (this.form) {
+	    this.form.parentNode.removeChild(this.form);
+	    this.form = null;
+	    this.iframe = null;
+	  }
+
+	  Polling.prototype.doClose.call(this);
+	};
+
+	/**
+	 * Starts a poll cycle.
+	 *
+	 * @api private
+	 */
+
+	JSONPPolling.prototype.doPoll = function () {
+	  var self = this;
+	  var script = document.createElement('script');
+
+	  if (this.script) {
+	    this.script.parentNode.removeChild(this.script);
+	    this.script = null;
+	  }
+
+	  script.async = true;
+	  script.src = this.uri();
+	  script.onerror = function(e){
+	    self.onError('jsonp poll error',e);
+	  };
+
+	  var insertAt = document.getElementsByTagName('script')[0];
+	  if (insertAt) {
+	    insertAt.parentNode.insertBefore(script, insertAt);
+	  }
+	  else {
+	    (document.head || document.body).appendChild(script);
+	  }
+	  this.script = script;
+
+	  var isUAgecko = 'undefined' != typeof navigator && /gecko/i.test(navigator.userAgent);
+	  
+	  if (isUAgecko) {
+	    setTimeout(function () {
+	      var iframe = document.createElement('iframe');
+	      document.body.appendChild(iframe);
+	      document.body.removeChild(iframe);
+	    }, 100);
+	  }
+	};
+
+	/**
+	 * Writes with a hidden iframe.
+	 *
+	 * @param {String} data to send
+	 * @param {Function} called upon flush.
+	 * @api private
+	 */
+
+	JSONPPolling.prototype.doWrite = function (data, fn) {
+	  var self = this;
+
+	  if (!this.form) {
+	    var form = document.createElement('form');
+	    var area = document.createElement('textarea');
+	    var id = this.iframeId = 'eio_iframe_' + this.index;
+	    var iframe;
+
+	    form.className = 'socketio';
+	    form.style.position = 'absolute';
+	    form.style.top = '-1000px';
+	    form.style.left = '-1000px';
+	    form.target = id;
+	    form.method = 'POST';
+	    form.setAttribute('accept-charset', 'utf-8');
+	    area.name = 'd';
+	    form.appendChild(area);
+	    document.body.appendChild(form);
+
+	    this.form = form;
+	    this.area = area;
+	  }
+
+	  this.form.action = this.uri();
+
+	  function complete () {
+	    initIframe();
+	    fn();
+	  }
+
+	  function initIframe () {
+	    if (self.iframe) {
+	      try {
+	        self.form.removeChild(self.iframe);
+	      } catch (e) {
+	        self.onError('jsonp polling iframe removal error', e);
+	      }
+	    }
+
+	    try {
+	      // ie6 dynamic iframes with target="" support (thanks Chris Lambacher)
+	      var html = '<iframe src="javascript:0" name="'+ self.iframeId +'">';
+	      iframe = document.createElement(html);
+	    } catch (e) {
+	      iframe = document.createElement('iframe');
+	      iframe.name = self.iframeId;
+	      iframe.src = 'javascript:0';
+	    }
+
+	    iframe.id = self.iframeId;
+
+	    self.form.appendChild(iframe);
+	    self.iframe = iframe;
+	  }
+
+	  initIframe();
+
+	  // escape \n to prevent it from being converted into \r\n by some UAs
+	  // double escaping is required for escaped new lines because unescaping of new lines can be done safely on server-side
+	  data = data.replace(rEscapedNewline, '\\\n');
+	  this.area.value = data.replace(rNewline, '\\n');
+
+	  try {
+	    this.form.submit();
+	  } catch(e) {}
+
+	  if (this.iframe.attachEvent) {
+	    this.iframe.onreadystatechange = function(){
+	      if (self.iframe.readyState == 'complete') {
+	        complete();
+	      }
+	    };
+	  } else {
+	    this.iframe.onload = complete;
+	  }
+	};
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 304 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * Module dependencies.
+	 */
+
+	var Transport = __webpack_require__(286);
+	var parser = __webpack_require__(287);
+	var parseqs = __webpack_require__(297);
+	var inherit = __webpack_require__(298);
+	var yeast = __webpack_require__(299);
+	var debug = __webpack_require__(300)('engine.io-client:websocket');
+	var BrowserWebSocket = global.WebSocket || global.MozWebSocket;
+
+	/**
+	 * Get either the `WebSocket` or `MozWebSocket` globals
+	 * in the browser or try to resolve WebSocket-compatible
+	 * interface exposed by `ws` for Node-like environment.
+	 */
+
+	var WebSocket = BrowserWebSocket;
+	if (!WebSocket && typeof window === 'undefined') {
+	  try {
+	    WebSocket = __webpack_require__(305);
+	  } catch (e) { }
+	}
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = WS;
+
+	/**
+	 * WebSocket transport constructor.
+	 *
+	 * @api {Object} connection options
+	 * @api public
+	 */
+
+	function WS(opts){
+	  var forceBase64 = (opts && opts.forceBase64);
+	  if (forceBase64) {
+	    this.supportsBinary = false;
+	  }
+	  this.perMessageDeflate = opts.perMessageDeflate;
+	  Transport.call(this, opts);
+	}
+
+	/**
+	 * Inherits from Transport.
+	 */
+
+	inherit(WS, Transport);
+
+	/**
+	 * Transport name.
+	 *
+	 * @api public
+	 */
+
+	WS.prototype.name = 'websocket';
+
+	/*
+	 * WebSockets support binary
+	 */
+
+	WS.prototype.supportsBinary = true;
+
+	/**
+	 * Opens socket.
+	 *
+	 * @api private
+	 */
+
+	WS.prototype.doOpen = function(){
+	  if (!this.check()) {
+	    // let probe timeout
+	    return;
+	  }
+
+	  var self = this;
+	  var uri = this.uri();
+	  var protocols = void(0);
+	  var opts = {
+	    agent: this.agent,
+	    perMessageDeflate: this.perMessageDeflate
+	  };
+
+	  // SSL options for Node.js client
+	  opts.pfx = this.pfx;
+	  opts.key = this.key;
+	  opts.passphrase = this.passphrase;
+	  opts.cert = this.cert;
+	  opts.ca = this.ca;
+	  opts.ciphers = this.ciphers;
+	  opts.rejectUnauthorized = this.rejectUnauthorized;
+	  if (this.extraHeaders) {
+	    opts.headers = this.extraHeaders;
+	  }
+
+	  this.ws = BrowserWebSocket ? new WebSocket(uri) : new WebSocket(uri, protocols, opts);
+
+	  if (this.ws.binaryType === undefined) {
+	    this.supportsBinary = false;
+	  }
+
+	  if (this.ws.supports && this.ws.supports.binary) {
+	    this.supportsBinary = true;
+	    this.ws.binaryType = 'buffer';
+	  } else {
+	    this.ws.binaryType = 'arraybuffer';
+	  }
+
+	  this.addEventListeners();
+	};
+
+	/**
+	 * Adds event listeners to the socket
+	 *
+	 * @api private
+	 */
+
+	WS.prototype.addEventListeners = function(){
+	  var self = this;
+
+	  this.ws.onopen = function(){
+	    self.onOpen();
+	  };
+	  this.ws.onclose = function(){
+	    self.onClose();
+	  };
+	  this.ws.onmessage = function(ev){
+	    self.onData(ev.data);
+	  };
+	  this.ws.onerror = function(e){
+	    self.onError('websocket error', e);
+	  };
+	};
+
+	/**
+	 * Override `onData` to use a timer on iOS.
+	 * See: https://gist.github.com/mloughran/2052006
+	 *
+	 * @api private
+	 */
+
+	if ('undefined' != typeof navigator
+	  && /iPad|iPhone|iPod/i.test(navigator.userAgent)) {
+	  WS.prototype.onData = function(data){
+	    var self = this;
+	    setTimeout(function(){
+	      Transport.prototype.onData.call(self, data);
+	    }, 0);
+	  };
+	}
+
+	/**
+	 * Writes data to socket.
+	 *
+	 * @param {Array} array of packets.
+	 * @api private
+	 */
+
+	WS.prototype.write = function(packets){
+	  var self = this;
+	  this.writable = false;
+
+	  // encodePacket efficient as it uses WS framing
+	  // no need for encodePayload
+	  var total = packets.length;
+	  for (var i = 0, l = total; i < l; i++) {
+	    (function(packet) {
+	      parser.encodePacket(packet, self.supportsBinary, function(data) {
+	        if (!BrowserWebSocket) {
+	          // always create a new object (GH-437)
+	          var opts = {};
+	          if (packet.options) {
+	            opts.compress = packet.options.compress;
+	          }
+
+	          if (self.perMessageDeflate) {
+	            var len = 'string' == typeof data ? global.Buffer.byteLength(data) : data.length;
+	            if (len < self.perMessageDeflate.threshold) {
+	              opts.compress = false;
+	            }
+	          }
+	        }
+
+	        //Sometimes the websocket has already been closed but the browser didn't
+	        //have a chance of informing us about it yet, in that case send will
+	        //throw an error
+	        try {
+	          if (BrowserWebSocket) {
+	            // TypeError is thrown when passing the second argument on Safari
+	            self.ws.send(data);
+	          } else {
+	            self.ws.send(data, opts);
+	          }
+	        } catch (e){
+	          debug('websocket closed before onclose event');
+	        }
+
+	        --total || done();
+	      });
+	    })(packets[i]);
+	  }
+
+	  function done(){
+	    self.emit('flush');
+
+	    // fake drain
+	    // defer to next tick to allow Socket to clear writeBuffer
+	    setTimeout(function(){
+	      self.writable = true;
+	      self.emit('drain');
+	    }, 0);
+	  }
+	};
+
+	/**
+	 * Called upon close
+	 *
+	 * @api private
+	 */
+
+	WS.prototype.onClose = function(){
+	  Transport.prototype.onClose.call(this);
+	};
+
+	/**
+	 * Closes socket.
+	 *
+	 * @api private
+	 */
+
+	WS.prototype.doClose = function(){
+	  if (typeof this.ws !== 'undefined') {
+	    this.ws.close();
+	  }
+	};
+
+	/**
+	 * Generates uri for connection.
+	 *
+	 * @api private
+	 */
+
+	WS.prototype.uri = function(){
+	  var query = this.query || {};
+	  var schema = this.secure ? 'wss' : 'ws';
+	  var port = '';
+
+	  // avoid port if default for schema
+	  if (this.port && (('wss' == schema && this.port != 443)
+	    || ('ws' == schema && this.port != 80))) {
+	    port = ':' + this.port;
+	  }
+
+	  // append timestamp to URI
+	  if (this.timestampRequests) {
+	    query[this.timestampParam] = yeast();
+	  }
+
+	  // communicate binary support capabilities
+	  if (!this.supportsBinary) {
+	    query.b64 = 1;
+	  }
+
+	  query = parseqs.encode(query);
+
+	  // prepend ? to query
+	  if (query.length) {
+	    query = '?' + query;
+	  }
+
+	  var ipv6 = this.hostname.indexOf(':') !== -1;
+	  return schema + '://' + (ipv6 ? '[' + this.hostname + ']' : this.hostname) + port + this.path + query;
+	};
+
+	/**
+	 * Feature detection for WebSocket.
+	 *
+	 * @return {Boolean} whether this transport is available.
+	 * @api public
+	 */
+
+	WS.prototype.check = function(){
+	  return !!WebSocket && !('__initialize' in WebSocket && this.name === WS.prototype.name);
+	};
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 305 */
+/***/ function(module, exports) {
+
+	/* (ignored) */
+
+/***/ },
+/* 306 */
+/***/ function(module, exports) {
+
+	
+	var indexOf = [].indexOf;
+
+	module.exports = function(arr, obj){
+	  if (indexOf) return arr.indexOf(obj);
+	  for (var i = 0; i < arr.length; ++i) {
+	    if (arr[i] === obj) return i;
+	  }
+	  return -1;
+	};
+
+/***/ },
+/* 307 */
+/***/ function(module, exports) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {/**
+	 * JSON parse.
+	 *
+	 * @see Based on jQuery#parseJSON (MIT) and JSON2
+	 * @api private
+	 */
+
+	var rvalidchars = /^[\],:{}\s]*$/;
+	var rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g;
+	var rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g;
+	var rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g;
+	var rtrimLeft = /^\s+/;
+	var rtrimRight = /\s+$/;
+
+	module.exports = function parsejson(data) {
+	  if ('string' != typeof data || !data) {
+	    return null;
+	  }
+
+	  data = data.replace(rtrimLeft, '').replace(rtrimRight, '');
+
+	  // Attempt to parse using the native JSON parser first
+	  if (global.JSON && JSON.parse) {
+	    return JSON.parse(data);
+	  }
+
+	  if (rvalidchars.test(data.replace(rvalidescape, '@')
+	      .replace(rvalidtokens, ']')
+	      .replace(rvalidbraces, ''))) {
+	    return (new Function('return ' + data))();
+	  }
+	};
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 308 */
+/***/ function(module, exports, __webpack_require__) {
+
+	
+	/**
+	 * Module dependencies.
+	 */
+
+	var parser = __webpack_require__(267);
+	var Emitter = __webpack_require__(309);
+	var toArray = __webpack_require__(310);
+	var on = __webpack_require__(311);
+	var bind = __webpack_require__(312);
+	var debug = __webpack_require__(264)('socket.io-client:socket');
+	var hasBin = __webpack_require__(313);
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = exports = Socket;
+
+	/**
+	 * Internal events (blacklisted).
+	 * These events can't be emitted by the user.
+	 *
+	 * @api private
+	 */
+
+	var events = {
+	  connect: 1,
+	  connect_error: 1,
+	  connect_timeout: 1,
+	  connecting: 1,
+	  disconnect: 1,
+	  error: 1,
+	  reconnect: 1,
+	  reconnect_attempt: 1,
+	  reconnect_failed: 1,
+	  reconnect_error: 1,
+	  reconnecting: 1,
+	  ping: 1,
+	  pong: 1
+	};
+
+	/**
+	 * Shortcut to `Emitter#emit`.
+	 */
+
+	var emit = Emitter.prototype.emit;
+
+	/**
+	 * `Socket` constructor.
+	 *
+	 * @api public
+	 */
+
+	function Socket(io, nsp){
+	  this.io = io;
+	  this.nsp = nsp;
+	  this.json = this; // compat
+	  this.ids = 0;
+	  this.acks = {};
+	  this.receiveBuffer = [];
+	  this.sendBuffer = [];
+	  this.connected = false;
+	  this.disconnected = true;
+	  if (this.io.autoConnect) this.open();
+	}
+
+	/**
+	 * Mix in `Emitter`.
+	 */
+
+	Emitter(Socket.prototype);
+
+	/**
+	 * Subscribe to open, close and packet events
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.subEvents = function() {
+	  if (this.subs) return;
+
+	  var io = this.io;
+	  this.subs = [
+	    on(io, 'open', bind(this, 'onopen')),
+	    on(io, 'packet', bind(this, 'onpacket')),
+	    on(io, 'close', bind(this, 'onclose'))
+	  ];
+	};
+
+	/**
+	 * "Opens" the socket.
+	 *
+	 * @api public
+	 */
+
+	Socket.prototype.open =
+	Socket.prototype.connect = function(){
+	  if (this.connected) return this;
+
+	  this.subEvents();
+	  this.io.open(); // ensure open
+	  if ('open' == this.io.readyState) this.onopen();
+	  this.emit('connecting');
+	  return this;
+	};
+
+	/**
+	 * Sends a `message` event.
+	 *
+	 * @return {Socket} self
+	 * @api public
+	 */
+
+	Socket.prototype.send = function(){
+	  var args = toArray(arguments);
+	  args.unshift('message');
+	  this.emit.apply(this, args);
+	  return this;
+	};
+
+	/**
+	 * Override `emit`.
+	 * If the event is in `events`, it's emitted normally.
+	 *
+	 * @param {String} event name
+	 * @return {Socket} self
+	 * @api public
+	 */
+
+	Socket.prototype.emit = function(ev){
+	  if (events.hasOwnProperty(ev)) {
+	    emit.apply(this, arguments);
+	    return this;
+	  }
+
+	  var args = toArray(arguments);
+	  var parserType = parser.EVENT; // default
+	  if (hasBin(args)) { parserType = parser.BINARY_EVENT; } // binary
+	  var packet = { type: parserType, data: args };
+
+	  packet.options = {};
+	  packet.options.compress = !this.flags || false !== this.flags.compress;
+
+	  // event ack callback
+	  if ('function' == typeof args[args.length - 1]) {
+	    debug('emitting packet with ack id %d', this.ids);
+	    this.acks[this.ids] = args.pop();
+	    packet.id = this.ids++;
+	  }
+
+	  if (this.connected) {
+	    this.packet(packet);
+	  } else {
+	    this.sendBuffer.push(packet);
+	  }
+
+	  delete this.flags;
+
+	  return this;
+	};
+
+	/**
+	 * Sends a packet.
+	 *
+	 * @param {Object} packet
+	 * @api private
+	 */
+
+	Socket.prototype.packet = function(packet){
+	  packet.nsp = this.nsp;
+	  this.io.packet(packet);
+	};
+
+	/**
+	 * Called upon engine `open`.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onopen = function(){
+	  debug('transport is open - connecting');
+
+	  // write connect packet if necessary
+	  if ('/' != this.nsp) {
+	    this.packet({ type: parser.CONNECT });
+	  }
+	};
+
+	/**
+	 * Called upon engine `close`.
+	 *
+	 * @param {String} reason
+	 * @api private
+	 */
+
+	Socket.prototype.onclose = function(reason){
+	  debug('close (%s)', reason);
+	  this.connected = false;
+	  this.disconnected = true;
+	  delete this.id;
+	  this.emit('disconnect', reason);
+	};
+
+	/**
+	 * Called with socket packet.
+	 *
+	 * @param {Object} packet
+	 * @api private
+	 */
+
+	Socket.prototype.onpacket = function(packet){
+	  if (packet.nsp != this.nsp) return;
+
+	  switch (packet.type) {
+	    case parser.CONNECT:
+	      this.onconnect();
+	      break;
+
+	    case parser.EVENT:
+	      this.onevent(packet);
+	      break;
+
+	    case parser.BINARY_EVENT:
+	      this.onevent(packet);
+	      break;
+
+	    case parser.ACK:
+	      this.onack(packet);
+	      break;
+
+	    case parser.BINARY_ACK:
+	      this.onack(packet);
+	      break;
+
+	    case parser.DISCONNECT:
+	      this.ondisconnect();
+	      break;
+
+	    case parser.ERROR:
+	      this.emit('error', packet.data);
+	      break;
+	  }
+	};
+
+	/**
+	 * Called upon a server event.
+	 *
+	 * @param {Object} packet
+	 * @api private
+	 */
+
+	Socket.prototype.onevent = function(packet){
+	  var args = packet.data || [];
+	  debug('emitting event %j', args);
+
+	  if (null != packet.id) {
+	    debug('attaching ack callback to event');
+	    args.push(this.ack(packet.id));
+	  }
+
+	  if (this.connected) {
+	    emit.apply(this, args);
+	  } else {
+	    this.receiveBuffer.push(args);
+	  }
+	};
+
+	/**
+	 * Produces an ack callback to emit with an event.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.ack = function(id){
+	  var self = this;
+	  var sent = false;
+	  return function(){
+	    // prevent double callbacks
+	    if (sent) return;
+	    sent = true;
+	    var args = toArray(arguments);
+	    debug('sending ack %j', args);
+
+	    var type = hasBin(args) ? parser.BINARY_ACK : parser.ACK;
+	    self.packet({
+	      type: type,
+	      id: id,
+	      data: args
+	    });
+	  };
+	};
+
+	/**
+	 * Called upon a server acknowlegement.
+	 *
+	 * @param {Object} packet
+	 * @api private
+	 */
+
+	Socket.prototype.onack = function(packet){
+	  var ack = this.acks[packet.id];
+	  if ('function' == typeof ack) {
+	    debug('calling ack %s with %j', packet.id, packet.data);
+	    ack.apply(this, packet.data);
+	    delete this.acks[packet.id];
+	  } else {
+	    debug('bad ack %s', packet.id);
+	  }
+	};
+
+	/**
+	 * Called upon server connect.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.onconnect = function(){
+	  this.connected = true;
+	  this.disconnected = false;
+	  this.emit('connect');
+	  this.emitBuffered();
+	};
+
+	/**
+	 * Emit buffered events (received and emitted).
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.emitBuffered = function(){
+	  var i;
+	  for (i = 0; i < this.receiveBuffer.length; i++) {
+	    emit.apply(this, this.receiveBuffer[i]);
+	  }
+	  this.receiveBuffer = [];
+
+	  for (i = 0; i < this.sendBuffer.length; i++) {
+	    this.packet(this.sendBuffer[i]);
+	  }
+	  this.sendBuffer = [];
+	};
+
+	/**
+	 * Called upon server disconnect.
+	 *
+	 * @api private
+	 */
+
+	Socket.prototype.ondisconnect = function(){
+	  debug('server disconnect (%s)', this.nsp);
+	  this.destroy();
+	  this.onclose('io server disconnect');
+	};
+
+	/**
+	 * Called upon forced client/server side disconnections,
+	 * this method ensures the manager stops tracking us and
+	 * that reconnections don't get triggered for this.
+	 *
+	 * @api private.
+	 */
+
+	Socket.prototype.destroy = function(){
+	  if (this.subs) {
+	    // clean subscriptions to avoid reconnections
+	    for (var i = 0; i < this.subs.length; i++) {
+	      this.subs[i].destroy();
+	    }
+	    this.subs = null;
+	  }
+
+	  this.io.destroy(this);
+	};
+
+	/**
+	 * Disconnects the socket manually.
+	 *
+	 * @return {Socket} self
+	 * @api public
+	 */
+
+	Socket.prototype.close =
+	Socket.prototype.disconnect = function(){
+	  if (this.connected) {
+	    debug('performing disconnect (%s)', this.nsp);
+	    this.packet({ type: parser.DISCONNECT });
+	  }
+
+	  // remove socket from pool
+	  this.destroy();
+
+	  if (this.connected) {
+	    // fire events
+	    this.onclose('io client disconnect');
+	  }
+	  return this;
+	};
+
+	/**
+	 * Sets the compress flag.
+	 *
+	 * @param {Boolean} if `true`, compresses the sending data
+	 * @return {Socket} self
+	 * @api public
+	 */
+
+	Socket.prototype.compress = function(compress){
+	  this.flags = this.flags || {};
+	  this.flags.compress = compress;
+	  return this;
+	};
+
+
+/***/ },
+/* 309 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Expose `Emitter`.
+	 */
+
+	module.exports = Emitter;
+
+	/**
+	 * Initialize a new `Emitter`.
+	 *
+	 * @api public
+	 */
+
+	function Emitter(obj) {
+	  if (obj) return mixin(obj);
+	};
+
+	/**
+	 * Mixin the emitter properties.
+	 *
+	 * @param {Object} obj
+	 * @return {Object}
+	 * @api private
+	 */
+
+	function mixin(obj) {
+	  for (var key in Emitter.prototype) {
+	    obj[key] = Emitter.prototype[key];
+	  }
+	  return obj;
+	}
+
+	/**
+	 * Listen on the given `event` with `fn`.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.on =
+	Emitter.prototype.addEventListener = function(event, fn){
+	  this._callbacks = this._callbacks || {};
+	  (this._callbacks['$' + event] = this._callbacks['$' + event] || [])
+	    .push(fn);
+	  return this;
+	};
+
+	/**
+	 * Adds an `event` listener that will be invoked a single
+	 * time then automatically removed.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.once = function(event, fn){
+	  function on() {
+	    this.off(event, on);
+	    fn.apply(this, arguments);
+	  }
+
+	  on.fn = fn;
+	  this.on(event, on);
+	  return this;
+	};
+
+	/**
+	 * Remove the given callback for `event` or all
+	 * registered callbacks.
+	 *
+	 * @param {String} event
+	 * @param {Function} fn
+	 * @return {Emitter}
+	 * @api public
+	 */
+
+	Emitter.prototype.off =
+	Emitter.prototype.removeListener =
+	Emitter.prototype.removeAllListeners =
+	Emitter.prototype.removeEventListener = function(event, fn){
+	  this._callbacks = this._callbacks || {};
+
+	  // all
+	  if (0 == arguments.length) {
+	    this._callbacks = {};
+	    return this;
+	  }
+
+	  // specific event
+	  var callbacks = this._callbacks['$' + event];
+	  if (!callbacks) return this;
+
+	  // remove all handlers
+	  if (1 == arguments.length) {
+	    delete this._callbacks['$' + event];
+	    return this;
+	  }
+
+	  // remove specific handler
+	  var cb;
+	  for (var i = 0; i < callbacks.length; i++) {
+	    cb = callbacks[i];
+	    if (cb === fn || cb.fn === fn) {
+	      callbacks.splice(i, 1);
+	      break;
+	    }
+	  }
+	  return this;
+	};
+
+	/**
+	 * Emit `event` with the given args.
+	 *
+	 * @param {String} event
+	 * @param {Mixed} ...
+	 * @return {Emitter}
+	 */
+
+	Emitter.prototype.emit = function(event){
+	  this._callbacks = this._callbacks || {};
+	  var args = [].slice.call(arguments, 1)
+	    , callbacks = this._callbacks['$' + event];
+
+	  if (callbacks) {
+	    callbacks = callbacks.slice(0);
+	    for (var i = 0, len = callbacks.length; i < len; ++i) {
+	      callbacks[i].apply(this, args);
+	    }
+	  }
+
+	  return this;
+	};
+
+	/**
+	 * Return array of callbacks for `event`.
+	 *
+	 * @param {String} event
+	 * @return {Array}
+	 * @api public
+	 */
+
+	Emitter.prototype.listeners = function(event){
+	  this._callbacks = this._callbacks || {};
+	  return this._callbacks['$' + event] || [];
+	};
+
+	/**
+	 * Check if this emitter has `event` handlers.
+	 *
+	 * @param {String} event
+	 * @return {Boolean}
+	 * @api public
+	 */
+
+	Emitter.prototype.hasListeners = function(event){
+	  return !! this.listeners(event).length;
+	};
+
+
+/***/ },
+/* 310 */
+/***/ function(module, exports) {
+
+	module.exports = toArray
+
+	function toArray(list, index) {
+	    var array = []
+
+	    index = index || 0
+
+	    for (var i = index || 0; i < list.length; i++) {
+	        array[i - index] = list[i]
+	    }
+
+	    return array
+	}
+
+
+/***/ },
+/* 311 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = on;
+
+	/**
+	 * Helper for subscriptions.
+	 *
+	 * @param {Object|EventEmitter} obj with `Emitter` mixin or `EventEmitter`
+	 * @param {String} event name
+	 * @param {Function} callback
+	 * @api public
+	 */
+
+	function on(obj, ev, fn) {
+	  obj.on(ev, fn);
+	  return {
+	    destroy: function(){
+	      obj.removeListener(ev, fn);
+	    }
+	  };
+	}
+
+
+/***/ },
+/* 312 */
+/***/ function(module, exports) {
+
+	/**
+	 * Slice reference.
+	 */
+
+	var slice = [].slice;
+
+	/**
+	 * Bind `obj` to `fn`.
+	 *
+	 * @param {Object} obj
+	 * @param {Function|String} fn or string
+	 * @return {Function}
+	 * @api public
+	 */
+
+	module.exports = function(obj, fn){
+	  if ('string' == typeof fn) fn = obj[fn];
+	  if ('function' != typeof fn) throw new Error('bind() requires a function');
+	  var args = slice.call(arguments, 2);
+	  return function(){
+	    return fn.apply(obj, args.concat(slice.call(arguments)));
+	  }
+	};
+
+
+/***/ },
+/* 313 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(global) {
+	/*
+	 * Module requirements.
+	 */
+
+	var isArray = __webpack_require__(314);
+
+	/**
+	 * Module exports.
+	 */
+
+	module.exports = hasBinary;
+
+	/**
+	 * Checks for binary data.
+	 *
+	 * Right now only Buffer and ArrayBuffer are supported..
+	 *
+	 * @param {Object} anything
+	 * @api public
+	 */
+
+	function hasBinary(data) {
+
+	  function _hasBinary(obj) {
+	    if (!obj) return false;
+
+	    if ( (global.Buffer && global.Buffer.isBuffer && global.Buffer.isBuffer(obj)) ||
+	         (global.ArrayBuffer && obj instanceof ArrayBuffer) ||
+	         (global.Blob && obj instanceof Blob) ||
+	         (global.File && obj instanceof File)
+	        ) {
+	      return true;
+	    }
+
+	    if (isArray(obj)) {
+	      for (var i = 0; i < obj.length; i++) {
+	          if (_hasBinary(obj[i])) {
+	              return true;
+	          }
+	      }
+	    } else if (obj && 'object' == typeof obj) {
+	      // see: https://github.com/Automattic/has-binary/pull/4
+	      if (obj.toJSON && 'function' == typeof obj.toJSON) {
+	        obj = obj.toJSON();
+	      }
+
+	      for (var key in obj) {
+	        if (Object.prototype.hasOwnProperty.call(obj, key) && _hasBinary(obj[key])) {
+	          return true;
+	        }
+	      }
+	    }
+
+	    return false;
+	  }
+
+	  return _hasBinary(data);
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
+
+/***/ },
+/* 314 */
+/***/ function(module, exports) {
+
+	module.exports = Array.isArray || function (arr) {
+	  return Object.prototype.toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 315 */
+/***/ function(module, exports) {
+
+	
+	/**
+	 * Expose `Backoff`.
+	 */
+
+	module.exports = Backoff;
+
+	/**
+	 * Initialize backoff timer with `opts`.
+	 *
+	 * - `min` initial timeout in milliseconds [100]
+	 * - `max` max timeout [10000]
+	 * - `jitter` [0]
+	 * - `factor` [2]
+	 *
+	 * @param {Object} opts
+	 * @api public
+	 */
+
+	function Backoff(opts) {
+	  opts = opts || {};
+	  this.ms = opts.min || 100;
+	  this.max = opts.max || 10000;
+	  this.factor = opts.factor || 2;
+	  this.jitter = opts.jitter > 0 && opts.jitter <= 1 ? opts.jitter : 0;
+	  this.attempts = 0;
+	}
+
+	/**
+	 * Return the backoff duration.
+	 *
+	 * @return {Number}
+	 * @api public
+	 */
+
+	Backoff.prototype.duration = function(){
+	  var ms = this.ms * Math.pow(this.factor, this.attempts++);
+	  if (this.jitter) {
+	    var rand =  Math.random();
+	    var deviation = Math.floor(rand * this.jitter * ms);
+	    ms = (Math.floor(rand * 10) & 1) == 0  ? ms - deviation : ms + deviation;
+	  }
+	  return Math.min(ms, this.max) | 0;
+	};
+
+	/**
+	 * Reset the number of attempts.
+	 *
+	 * @api public
+	 */
+
+	Backoff.prototype.reset = function(){
+	  this.attempts = 0;
+	};
+
+	/**
+	 * Set the minimum duration
+	 *
+	 * @api public
+	 */
+
+	Backoff.prototype.setMin = function(min){
+	  this.ms = min;
+	};
+
+	/**
+	 * Set the maximum duration
+	 *
+	 * @api public
+	 */
+
+	Backoff.prototype.setMax = function(max){
+	  this.max = max;
+	};
+
+	/**
+	 * Set the jitter
+	 *
+	 * @api public
+	 */
+
+	Backoff.prototype.setJitter = function(jitter){
+	  this.jitter = jitter;
+	};
+
+
+
+/***/ },
+/* 316 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _assign = __webpack_require__(317);
+
+	var _assign2 = _interopRequireDefault(_assign);
+
+	var _stringify = __webpack_require__(71);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _promise = __webpack_require__(238);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(259);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Lazy = __webpack_require__(321);
+	var EventEmitter = __webpack_require__(41).EventEmitter;
+	var logger = __webpack_require__(199).create("orbit-db.OrbitDB");
+	var Log = __webpack_require__(324);
+	var DBOperation = __webpack_require__(398);
+	var Post = __webpack_require__(404);
+	var Cache = __webpack_require__(410);
+
+	var OrbitDB = function () {
+	  function OrbitDB(ipfs, options) {
+	    (0, _classCallCheck3.default)(this, OrbitDB);
+
+	    this._ipfs = ipfs;
+	    this._logs = {};
+	    this.events = {};
+	    this.options = options || {};
+	    this.lastWrite = null;
+	    this._cached = [];
+	    this._state = {};
+	  }
+
+	  /* Public methods */
+
+
+	  (0, _createClass3.default)(OrbitDB, [{
+	    key: 'use',
+	    value: function use(channel, user) {
+	      var _this = this;
+
+	      this.user = user;
+	      this._state[channel] = true;
+	      return new _promise2.default(function (resolve, reject) {
+	        Log.create(_this._ipfs, _this.user.username).then(function (log) {
+	          _this._logs[channel] = log;
+	          _this.events[channel] = new EventEmitter();
+	          if (_this.options.cacheFile) {
+	            Cache.loadCache(_this.options.cacheFile);
+	            _this.sync(channel, Cache.get(channel)).then(function () {
+	              _this._state[channel] = false;
+	              resolve();
+	            }).catch(reject);
+	          } else {
+	            resolve();
+	          }
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'sync',
+	    value: function sync(channel, hash) {
+	      var _this2 = this;
+
+	      // console.log("--> Head:", hash)
+	      return new _promise2.default(function (resolve, reject) {
+	        if (hash && hash !== _this2.lastWrite && _this2._logs[channel]) {
+	          (function () {
+	            _this2.events[channel].emit('load', 'sync', channel);
+	            var oldCount = _this2._logs[channel].items.length;
+	            Log.fromIpfsHash(_this2._ipfs, hash).then(function (other) {
+	              _this2._logs[channel].join(other).then(function (merged) {
+	                // Only emit the event if something was added
+	                var joinedCount = _this2._logs[channel].items.length - oldCount;
+	                if (joinedCount > 0) {
+	                  Cache.set(channel, hash);
+	                  // Cache the payloads
+	                  _this2._cacheOperations(_this2._logs[channel]).then(function () {
+	                    _this2.events[channel].emit('sync', channel, hash);
+	                    _this2.events[channel].emit('loaded', 'sync', channel);
+	                    resolve();
+	                  }).catch(reject);
+	                } else {
+	                  _this2.events[channel].emit('loaded', 'sync', channel);
+	                  resolve();
+	                }
+	              });
+	            });
+	          })();
+	        } else {
+	          _this2.events[channel].emit('loaded', 'sync', channel);
+	          resolve();
+	        }
+	      });
+	    }
+
+	    /* DB Operations */
+
+	    // Get items from the db
+
+	  }, {
+	    key: 'query',
+	    value: function query(channel, password, opts) {
+	      this.events[channel].emit('load', 'query', channel);
+	      // console.log("--> Query:", channel, opts, this._logs[channel].items.length);
+	      if (!opts) opts = {};
+
+	      if (!this._cached) this._cached = [];
+
+	      var operations = Lazy(this._logs[channel].items);
+	      var amount = opts.limit ? opts.limit > -1 ? opts.limit : this._logs[channel].items.length : 1; // Return 1 if no limit is provided
+
+	      var result = [];
+
+	      if (opts.key) {
+	        // Key-Value, search latest key first
+	        result = this._read(operations.reverse(), opts.key, 1, true).map(function (f) {
+	          return f.value;
+	        });
+	      } else if (opts.gt || opts.gte) {
+	        // Greater than case
+	        result = this._read(operations, opts.gt ? opts.gt : opts.gte, amount, opts.gte ? opts.gte : false);
+	      } else {
+	        // Lower than and lastN case, search latest first by reversing the sequence
+	        result = this._read(operations.reverse(), opts.lt ? opts.lt : opts.lte, amount, opts.lte || !opts.lt).reverse();
+	      }
+
+	      if (opts.reverse) result.reverse();
+	      var res = result.toArray();
+	      // console.log("--> Found", res.length, "items", this._logs[channel].items.length);
+	      this.events[channel].emit('loaded', 'query', channel);
+	      return res;
+	    }
+
+	    // Adds an event to the log
+
+	  }, {
+	    key: 'add',
+	    value: function add(channel, password, data) {
+	      return this._write(channel, password, DBOperation.Types.Add, null, data);
+	    }
+
+	    // Sets a key-value pair
+
+	  }, {
+	    key: 'put',
+	    value: function put(channel, password, key, data) {
+	      return this._write(channel, password, DBOperation.Types.Put, key, data);
+	    }
+
+	    // Deletes an event based on hash (of the operation) or 'key' of a key/val pair
+
+	  }, {
+	    key: 'del',
+	    value: function del(channel, password, key) {
+	      return this._write(channel, password, DBOperation.Types.Delete, key);
+	    }
+	  }, {
+	    key: 'deleteChannel',
+	    value: function deleteChannel(channel, password) {
+	      if (this._logs[channel]) {
+	        this._logs[channel].clear();
+	        return true;
+	      }
+	      return false;
+	    }
+
+	    /* Private methods */
+
+	    // Cache DB operation entries in memory from a log
+
+	  }, {
+	    key: '_cacheOperations',
+	    value: function _cacheOperations(log) {
+	      var _this3 = this;
+
+	      return new _promise2.default(function (resolve, reject) {
+	        var payloadHashes = log.items.map(function (f) {
+	          return f.payload;
+	        }).filter(function (f) {
+	          return Lazy(_this3._cached).find(function (e) {
+	            return e.hash === f.payload;
+	          }) === undefined;
+	        });
+
+	        var promises = payloadHashes.map(function (f) {
+	          return OrbitDB.fetchPayload(_this3._ipfs, f);
+	        });
+	        _promise2.default.all(promises).then(function (payloads) {
+	          payloads.forEach(function (f) {
+	            return _this3._cached.push(f);
+	          });
+	          resolve();
+	        }).catch(reject);
+	      });
+	    }
+
+	    // LWW-element-set
+
+	  }, {
+	    key: '_read',
+	    value: function _read(sequence, key, amount, inclusive) {
+	      var _this4 = this;
+
+	      // Last-Write-Wins, ie. use only the first occurance of the key
+	      var handled = [];
+	      var _createLWWSet = function _createLWWSet(item) {
+	        if (Lazy(handled).indexOf(item.key) === -1) {
+	          handled.push(item.key);
+	          if (DBOperation.Types.isInsert(item.op)) return item;
+	        }
+	        return null;
+	      };
+
+	      // Find the items from the sequence (list of operations)
+	      return sequence.map(function (f) {
+	        return Lazy(_this4._cached).find(function (e) {
+	          return e.hash === f.payload;
+	        });
+	      }).compact() // Remove nulls
+	      .skipWhile(function (f) {
+	        return key && f.key !== key;
+	      }) // Drop elements until we have the first one requested
+	      .map(function (f) {
+	        return f;
+	      }).map(_createLWWSet) // Return items as LWW (ignore values after the first found)
+	      .compact() // Remove nulls
+	      .drop(inclusive ? 0 : 1) // Drop the 'gt/lt' item, include 'gte/lte' item
+	      .take(amount);
+	    }
+
+	    // Write an op to the db
+
+	  }, {
+	    key: '_write',
+	    value: function _write(channel, password, operation, key, value) {
+	      var _this5 = this;
+
+	      return new _promise2.default(function (resolve, reject) {
+	        DBOperation.create(_this5._ipfs, _this5._logs[channel], _this5.user, operation, key, value).then(function (res) {
+	          Log.getIpfsHash(_this5._ipfs, _this5._logs[channel]).then(function (listHash) {
+	            _this5.lastWrite = listHash;
+	            Cache.set(channel, listHash);
+
+	            // Cache the payload
+	            var op = JSON.parse((0, _stringify2.default)(res.op));
+	            (0, _assign2.default)(op, { hash: res.node.payload });
+	            if (op.key === null) (0, _assign2.default)(op, { key: res.node.payload });
+	            _this5._cached.push(op);
+
+	            _this5.events[channel].emit('write', channel, listHash);
+	            resolve(res.node.payload);
+	          });
+	        }).catch(reject);
+	      });
+	    }
+	  }], [{
+	    key: 'fetchPayload',
+	    value: function fetchPayload(ipfs, hash) {
+	      return new _promise2.default(function (resolve, reject) {
+	        ipfs.object.get(hash).then(function (payload) {
+	          var data = JSON.parse(payload.Data);
+	          (0, _assign2.default)(data, { hash: hash });
+	          if (data.key === null) (0, _assign2.default)(data, { key: hash });
+	          resolve(data);
+	        }).catch(reject);
+	      });
+	    }
+	  }]);
+	  return OrbitDB;
+	}();
+
+	// TODO: move to where this is needed
+
+	module.exports = OrbitDB;
+
+/***/ },
+/* 317 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(318), __esModule: true };
+
+/***/ },
+/* 318 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(319);
+	module.exports = __webpack_require__(37).Object.assign;
+
+/***/ },
+/* 319 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.3.1 Object.assign(target, source)
+	var $export = __webpack_require__(35);
+
+	$export($export.S + $export.F, 'Object', {assign: __webpack_require__(320)});
+
+/***/ },
+/* 320 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.1 Object.assign(target, source, ...)
+	var $        = __webpack_require__(75)
+	  , toObject = __webpack_require__(32)
+	  , IObject  = __webpack_require__(80);
+
+	// should work with symbols and should have deterministic property order (V8 bug)
+	module.exports = __webpack_require__(40)(function(){
+	  var a = Object.assign
+	    , A = {}
+	    , B = {}
+	    , S = Symbol()
+	    , K = 'abcdefghijklmnopqrst';
+	  A[S] = 7;
+	  K.split('').forEach(function(k){ B[k] = k; });
+	  return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
+	}) ? function assign(target, source){ // eslint-disable-line no-unused-vars
+	  var T     = toObject(target)
+	    , $$    = arguments
+	    , $$len = $$.length
+	    , index = 1
+	    , getKeys    = $.getKeys
+	    , getSymbols = $.getSymbols
+	    , isEnum     = $.isEnum;
+	  while($$len > index){
+	    var S      = IObject($$[index++])
+	      , keys   = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
+	      , length = keys.length
+	      , j      = 0
+	      , key;
+	    while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
+	  }
+	  return T;
+	} : Object.assign;
+
+/***/ },
+/* 321 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {/*
+	 * @name Lazy.js
+	 *
+	 * @fileOverview
+	 * Lazy.js is a lazy evaluation library for JavaScript.
+	 *
+	 * This has been done before. For examples see:
+	 *
+	 * - [wu.js](http://fitzgen.github.io/wu.js/)
+	 * - [Linq.js](http://linqjs.codeplex.com/)
+	 * - [from.js](https://github.com/suckgamoni/fromjs/)
+	 * - [IxJS](http://rx.codeplex.com/)
+	 * - [sloth.js](http://rfw.name/sloth.js/)
+	 *
+	 * However, at least at present, Lazy.js is faster (on average) than any of
+	 * those libraries. It is also more complete, with nearly all of the
+	 * functionality of [Underscore](http://underscorejs.org/) and
+	 * [Lo-Dash](http://lodash.com/).
+	 *
+	 * Finding your way around the code
+	 * --------------------------------
+	 *
+	 * At the heart of Lazy.js is the {@link Sequence} object. You create an initial
+	 * sequence using {@link Lazy}, which can accept an array, object, or string.
+	 * You can then "chain" together methods from this sequence, creating a new
+	 * sequence with each call.
+	 *
+	 * Here's an example:
+	 *
+	 *     var data = getReallyBigArray();
+	 *
+	 *     var statistics = Lazy(data)
+	 *       .map(transform)
+	 *       .filter(validate)
+	 *       .reduce(aggregate);
+	 *
+	 * {@link Sequence} is the foundation of other, more specific sequence types.
+	 *
+	 * An {@link ArrayLikeSequence} provides indexed access to its elements.
+	 *
+	 * An {@link ObjectLikeSequence} consists of key/value pairs.
+	 *
+	 * A {@link StringLikeSequence} is like a string (duh): actually, it is an
+	 * {@link ArrayLikeSequence} whose elements happen to be characters.
+	 *
+	 * An {@link AsyncSequence} is special: it iterates over its elements
+	 * asynchronously (so calling `each` generally begins an asynchronous loop and
+	 * returns immediately).
+	 *
+	 * For more information
+	 * --------------------
+	 *
+	 * I wrote a blog post that explains a little bit more about Lazy.js, which you
+	 * can read [here](http://philosopherdeveloper.com/posts/introducing-lazy-js.html).
+	 *
+	 * You can also [create an issue on GitHub](https://github.com/dtao/lazy.js/issues)
+	 * if you have any issues with the library. I work through them eventually.
+	 *
+	 * [@dtao](https://github.com/dtao)
+	 */
+
+	(function(root, factory) {
+	  if (true) {
+	    !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	  } else if (typeof exports === 'object') {
+	    module.exports = factory();
+	  } else {
+	    root.Lazy = factory();
+	  }
+	})(this, function(context) {
+	  /**
+	   * Wraps an object and returns a {@link Sequence}. For `null` or `undefined`,
+	   * simply returns an empty sequence (see {@link Lazy.strict} for a stricter
+	   * implementation).
+	   *
+	   * - For **arrays**, Lazy will create a sequence comprising the elements in
+	   *   the array (an {@link ArrayLikeSequence}).
+	   * - For **objects**, Lazy will create a sequence of key/value pairs
+	   *   (an {@link ObjectLikeSequence}).
+	   * - For **strings**, Lazy will create a sequence of characters (a
+	   *   {@link StringLikeSequence}).
+	   *
+	   * @public
+	   * @param {Array|Object|string} source An array, object, or string to wrap.
+	   * @returns {Sequence} The wrapped lazy object.
+	   *
+	   * @exampleHelpers
+	   * // Utility functions to provide to all examples
+	   * function increment(x) { return x + 1; }
+	   * function isEven(x) { return x % 2 === 0; }
+	   * function isPositive(x) { return x > 0; }
+	   * function isNegative(x) { return x < 0; }
+	   *
+	   * @examples
+	   * Lazy([1, 2, 4])       // instanceof Lazy.ArrayLikeSequence
+	   * Lazy({ foo: "bar" })  // instanceof Lazy.ObjectLikeSequence
+	   * Lazy("hello, world!") // instanceof Lazy.StringLikeSequence
+	   * Lazy()                // sequence: []
+	   * Lazy(null)            // sequence: []
+	   */
+	  function Lazy(source) {
+	    if (source instanceof Array) {
+	      return new ArrayWrapper(source);
+
+	    } else if (typeof source === "string") {
+	      return new StringWrapper(source);
+
+	    } else if (source instanceof Sequence) {
+	      return source;
+	    }
+
+	    if (Lazy.extensions) {
+	      var extensions = Lazy.extensions, length = extensions.length, result;
+	      while (!result && length--) {
+	        result = extensions[length](source);
+	      }
+	      if (result) {
+	        return result;
+	      }
+	    }
+
+	    return new ObjectWrapper(source);
+	  }
+
+	  Lazy.VERSION = '0.4.2';
+
+	  /*** Utility methods of questionable value ***/
+
+	  Lazy.noop = function noop() {};
+	  Lazy.identity = function identity(x) { return x; };
+
+	  /**
+	   * Provides a stricter version of {@link Lazy} which throws an error when
+	   * attempting to wrap `null`, `undefined`, or numeric or boolean values as a
+	   * sequence.
+	   *
+	   * @public
+	   * @returns {Function} A stricter version of the {@link Lazy} helper function.
+	   *
+	   * @examples
+	   * var Strict = Lazy.strict();
+	   *
+	   * Strict()                  // throws
+	   * Strict(null)              // throws
+	   * Strict(true)              // throws
+	   * Strict(5)                 // throws
+	   * Strict([1, 2, 3])         // instanceof Lazy.ArrayLikeSequence
+	   * Strict({ foo: "bar" })    // instanceof Lazy.ObjectLikeSequence
+	   * Strict("hello, world!")   // instanceof Lazy.StringLikeSequence
+	   *
+	   * // Let's also ensure the static functions are still there.
+	   * Strict.range(3)           // sequence: [0, 1, 2]
+	   * Strict.generate(Date.now) // instanceof Lazy.GeneratedSequence
+	   */
+	  Lazy.strict = function strict() {
+	    function StrictLazy(source) {
+	      if (source == null) {
+	        throw new Error("You cannot wrap null or undefined using Lazy.");
+	      }
+
+	      if (typeof source === "number" || typeof source === "boolean") {
+	        throw new Error("You cannot wrap primitive values using Lazy.");
+	      }
+
+	      return Lazy(source);
+	    };
+
+	    Lazy(Lazy).each(function(property, name) {
+	      StrictLazy[name] = property;
+	    });
+
+	    return StrictLazy;
+	  };
+
+	  /**
+	   * The `Sequence` object provides a unified API encapsulating the notion of
+	   * zero or more consecutive elements in a collection, stream, etc.
+	   *
+	   * Lazy evaluation
+	   * ---------------
+	   *
+	   * Generally speaking, creating a sequence should not be an expensive operation,
+	   * and should not iterate over an underlying source or trigger any side effects.
+	   * This means that chaining together methods that return sequences incurs only
+	   * the cost of creating the `Sequence` objects themselves and not the cost of
+	   * iterating an underlying data source multiple times.
+	   *
+	   * The following code, for example, creates 4 sequences and does nothing with
+	   * `source`:
+	   *
+	   *     var seq = Lazy(source) // 1st sequence
+	   *       .map(func)           // 2nd
+	   *       .filter(pred)        // 3rd
+	   *       .reverse();          // 4th
+	   *
+	   * Lazy's convention is to hold off on iterating or otherwise *doing* anything
+	   * (aside from creating `Sequence` objects) until you call `each`:
+	   *
+	   *     seq.each(function(x) { console.log(x); });
+	   *
+	   * Defining custom sequences
+	   * -------------------------
+	   *
+	   * Defining your own type of sequence is relatively simple:
+	   *
+	   * 1. Pass a *method name* and an object containing *function overrides* to
+	   *    {@link Sequence.define}. If the object includes a function called `init`,
+	   *    this function will be called upon initialization.
+	   * 2. The object should include at least either a `getIterator` method or an
+	   *    `each` method. The former supports both asynchronous and synchronous
+	   *    iteration, but is slightly more cumbersome to implement. The latter
+	   *    supports synchronous iteration and can be automatically implemented in
+	   *    terms of the former. You can also implement both if you want, e.g. to
+	   *    optimize performance. For more info, see {@link Iterator} and
+	   *    {@link AsyncSequence}.
+	   *
+	   * As a trivial example, the following code defines a new method, `sample`,
+	   * which randomly may or may not include each element from its parent.
+	   *
+	   *     Lazy.Sequence.define("sample", {
+	   *       each: function(fn) {
+	   *         return this.parent.each(function(e) {
+	   *           // 50/50 chance of including this element.
+	   *           if (Math.random() > 0.5) {
+	   *             return fn(e);
+	   *           }
+	   *         });
+	   *       }
+	   *     });
+	   *
+	   * (Of course, the above could also easily have been implemented using
+	   * {@link #filter} instead of creating a custom sequence. But I *did* say this
+	   * was a trivial example, to be fair.)
+	   *
+	   * Now it will be possible to create this type of sequence from any parent
+	   * sequence by calling the method name you specified. In other words, you can
+	   * now do this:
+	   *
+	   *     Lazy(arr).sample();
+	   *     Lazy(arr).map(func).sample();
+	   *     Lazy(arr).map(func).filter(pred).sample();
+	   *
+	   * Etc., etc.
+	   *
+	   * @public
+	   * @constructor
+	   */
+	  function Sequence() {}
+
+	  /**
+	   * Create a new constructor function for a type inheriting from `Sequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `Sequence` prototype so that it can be chained with any other
+	   *     sequence methods, like {@link #map}, {@link #filter}, etc.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. **Must** include either `getIterator` or `each` (or
+	   *     both). *May* include an `init` method as well. For these overrides,
+	   *     `this` will be the new sequence, and `this.parent` will be the base
+	   *     sequence from which the new sequence was constructed.
+	   * @returns {Function} A constructor for a new type inheriting from `Sequence`.
+	   *
+	   * @examples
+	   * // This sequence type logs every element to the specified logger as it
+	   * // iterates over it.
+	   * Lazy.Sequence.define("verbose", {
+	   *   init: function(logger) {
+	   *     this.logger = logger;
+	   *   },
+	   *
+	   *   each: function(fn) {
+	   *     var logger = this.logger;
+	   *     return this.parent.each(function(e, i) {
+	   *       logger(e);
+	   *       return fn(e, i);
+	   *     });
+	   *   }
+	   * });
+	   *
+	   * Lazy([1, 2, 3]).verbose(logger).each(Lazy.noop) // calls logger 3 times
+	   */
+	  Sequence.define = function define(methodName, overrides) {
+	    if (!overrides || (!overrides.getIterator && !overrides.each)) {
+	      throw new Error("A custom sequence must implement *at least* getIterator or each!");
+	    }
+
+	    return defineSequenceType(Sequence, methodName, overrides);
+	  };
+
+	  /**
+	   * Gets the number of elements in the sequence. In some cases, this may
+	   * require eagerly evaluating the sequence.
+	   *
+	   * @public
+	   * @returns {number} The number of elements in the sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).size();                 // => 3
+	   * Lazy([1, 2]).map(Lazy.identity).size(); // => 2
+	   * Lazy([1, 2, 3]).reject(isEven).size();  // => 2
+	   * Lazy([1, 2, 3]).take(1).size();         // => 1
+	   * Lazy({ foo: 1, bar: 2 }).size();        // => 2
+	   * Lazy('hello').size();                   // => 5
+	   */
+	  Sequence.prototype.size = function size() {
+	    return this.getIndex().length();
+	  };
+
+	  /**
+	   * Creates an {@link Iterator} object with two methods, `moveNext` -- returning
+	   * true or false -- and `current` -- returning the current value.
+	   *
+	   * This method is used when asynchronously iterating over sequences. Any type
+	   * inheriting from `Sequence` must implement this method or it can't support
+	   * asynchronous iteration.
+	   *
+	   * Note that **this method is not intended to be used directly by application
+	   * code.** Rather, it is intended as a means for implementors to potentially
+	   * define custom sequence types that support either synchronous or
+	   * asynchronous iteration.
+	   *
+	   * @public
+	   * @returns {Iterator} An iterator object.
+	   *
+	   * @examples
+	   * var iterator = Lazy([1, 2]).getIterator();
+	   *
+	   * iterator.moveNext(); // => true
+	   * iterator.current();  // => 1
+	   * iterator.moveNext(); // => true
+	   * iterator.current();  // => 2
+	   * iterator.moveNext(); // => false
+	   */
+	  Sequence.prototype.getIterator = function getIterator() {
+	    return new Iterator(this);
+	  };
+
+	  /**
+	   * Gets the root sequence underlying the current chain of sequences.
+	   */
+	  Sequence.prototype.root = function root() {
+	    return this.parent.root();
+	  };
+
+	  /**
+	   * Whether or not the current sequence is an asynchronous one. This is more
+	   * accurate than checking `instanceof {@link AsyncSequence}` because, for
+	   * example, `Lazy([1, 2, 3]).async().map(Lazy.identity)` returns a sequence
+	   * that iterates asynchronously even though it's not an instance of
+	   * `AsyncSequence`.
+	   *
+	   * @returns {boolean} Whether or not the current sequence is an asynchronous one.
+	   */
+	  Sequence.prototype.isAsync = function isAsync() {
+	    return this.parent ? this.parent.isAsync() : false;
+	  };
+
+	  /**
+	   * Evaluates the sequence and produces the appropriate value (an array in most
+	   * cases, an object for {@link ObjectLikeSequence}s or a string for
+	   * {@link StringLikeSequence}s).
+	   *
+	   * @returns {Array|string|Object} The value resulting from fully evaluating
+	   *     the sequence.
+	   */
+	  Sequence.prototype.value = function value() {
+	    return this.toArray();
+	  };
+
+	  /**
+	   * Applies the current transformation chain to a given source, returning the
+	   * resulting value.
+	   *
+	   * @examples
+	   * var sequence = Lazy([])
+	   *   .map(function(x) { return x * -1; })
+	   *   .filter(function(x) { return x % 2 === 0; });
+	   *
+	   * sequence.apply([1, 2, 3, 4]); // => [-2, -4]
+	   */
+	  Sequence.prototype.apply = function apply(source) {
+	    var root = this.root(),
+	        previousSource = root.source,
+	        result;
+
+	    try {
+	      root.source = source;
+	      result = this.value();
+	    } finally {
+	      root.source = previousSource;
+	    }
+
+	    return result;
+	  };
+
+	  /**
+	   * The Iterator object provides an API for iterating over a sequence.
+	   *
+	   * The purpose of the `Iterator` type is mainly to offer an agnostic way of
+	   * iterating over a sequence -- either synchronous (i.e. with a `while` loop)
+	   * or asynchronously (with recursive calls to either `setTimeout` or --- if
+	   * available --- `setImmediate`). It is not intended to be used directly by
+	   * application code.
+	   *
+	   * @public
+	   * @constructor
+	   * @param {Sequence} sequence The sequence to iterate over.
+	   */
+	  function Iterator(sequence) {
+	    this.sequence = sequence;
+	    this.index    = -1;
+	  }
+
+	  /**
+	   * Gets the current item this iterator is pointing to.
+	   *
+	   * @public
+	   * @returns {*} The current item.
+	   */
+	  Iterator.prototype.current = function current() {
+	    return this.cachedIndex && this.cachedIndex.get(this.index);
+	  };
+
+	  /**
+	   * Moves the iterator to the next item in a sequence, if possible.
+	   *
+	   * @public
+	   * @returns {boolean} True if the iterator is able to move to a new item, or else
+	   *     false.
+	   */
+	  Iterator.prototype.moveNext = function moveNext() {
+	    var cachedIndex = this.cachedIndex;
+
+	    if (!cachedIndex) {
+	      cachedIndex = this.cachedIndex = this.sequence.getIndex();
+	    }
+
+	    if (this.index >= cachedIndex.length() - 1) {
+	      return false;
+	    }
+
+	    ++this.index;
+	    return true;
+	  };
+
+	  /**
+	   * Creates an array snapshot of a sequence.
+	   *
+	   * Note that for indefinite sequences, this method may raise an exception or
+	   * (worse) cause the environment to hang.
+	   *
+	   * @public
+	   * @returns {Array} An array containing the current contents of the sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).toArray() // => [1, 2, 3]
+	   */
+	  Sequence.prototype.toArray = function toArray() {
+	    return this.reduce(function(arr, element) {
+	      arr.push(element);
+	      return arr;
+	    }, []);
+	  };
+
+	  /**
+	   * Provides an indexed view into the sequence.
+	   *
+	   * For sequences that are already indexed, this will simply return the
+	   * sequence. For non-indexed sequences, this will eagerly evaluate the
+	   * sequence.
+	   *
+	   * @returns {ArrayLikeSequence} A sequence containing the current contents of
+	   *     the sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).filter(isEven)            // instanceof Lazy.Sequence
+	   * Lazy([1, 2, 3]).filter(isEven).getIndex() // instanceof Lazy.ArrayLikeSequence
+	   */
+	  Sequence.prototype.getIndex = function getIndex() {
+	    return new ArrayWrapper(this.toArray());
+	  };
+
+	  /**
+	   * Returns the element at the specified index. Note that, for sequences that
+	   * are not {@link ArrayLikeSequence}s, this may require partially evaluating
+	   * the sequence, iterating to reach the result. (In other words for such
+	   * sequences this method is not O(1).)
+	   *
+	   * @public
+	   * @param {number} i The index to access.
+	   * @returns {*} The element.
+	   *
+	   */
+	  Sequence.prototype.get = function get(i) {
+	    var element;
+	    this.each(function(e, index) {
+	      if (index === i) {
+	        element = e;
+	        return false;
+	      }
+	    });
+	    return element;
+	  };
+
+	  /**
+	   * Provides an indexed, memoized view into the sequence. This will cache the
+	   * result whenever the sequence is first iterated, so that subsequent
+	   * iterations will access the same element objects.
+	   *
+	   * @public
+	   * @returns {ArrayLikeSequence} An indexed, memoized sequence containing this
+	   *     sequence's elements, cached after the first iteration.
+	   *
+	   * @example
+	   * function createObject() { return new Object(); }
+	   *
+	   * var plain    = Lazy.generate(createObject, 10),
+	   *     memoized = Lazy.generate(createObject, 10).memoize();
+	   *
+	   * plain.toArray()[0] === plain.toArray()[0];       // => false
+	   * memoized.toArray()[0] === memoized.toArray()[0]; // => true
+	   */
+	  Sequence.prototype.memoize = function memoize() {
+	    return new MemoizedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MemoizedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  // MemoizedSequence needs to have its prototype set up after ArrayLikeSequence
+
+	  /**
+	   * Creates an object from a sequence of key/value pairs.
+	   *
+	   * @public
+	   * @returns {Object} An object with keys and values corresponding to the pairs
+	   *     of elements in the sequence.
+	   *
+	   * @examples
+	   * var details = [
+	   *   ["first", "Dan"],
+	   *   ["last", "Tao"],
+	   *   ["age", 29]
+	   * ];
+	   *
+	   * Lazy(details).toObject() // => { first: "Dan", last: "Tao", age: 29 }
+	   */
+	  Sequence.prototype.toObject = function toObject() {
+	    return this.reduce(function(object, pair) {
+	      object[pair[0]] = pair[1];
+	      return object;
+	    }, {});
+	  };
+
+	  /**
+	   * Iterates over this sequence and executes a function for every element.
+	   *
+	   * @public
+	   * @aka forEach
+	   * @param {Function} fn The function to call on each element in the sequence.
+	   *     Return false from the function to end the iteration.
+	   * @returns {boolean} `true` if the iteration evaluated the entire sequence,
+	   *     or `false` if iteration was ended early.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4]).each(fn) // calls fn 4 times
+	   */
+	  Sequence.prototype.each = function each(fn) {
+	    var iterator = this.getIterator(),
+	        i = -1;
+
+	    while (iterator.moveNext()) {
+	      if (fn(iterator.current(), ++i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  Sequence.prototype.forEach = function forEach(fn) {
+	    return this.each(fn);
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are calculated by passing this sequence's
+	   * elements through some mapping function.
+	   *
+	   * @public
+	   * @aka collect
+	   * @param {Function} mapFn The mapping function used to project this sequence's
+	   *     elements onto a new sequence. This function takes up to two arguments:
+	   *     the element, and the current index.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function addIndexToValue(e, i) { return e + i; }
+	   *
+	   * Lazy([]).map(increment)              // sequence: []
+	   * Lazy([1, 2, 3]).map(increment)       // sequence: [2, 3, 4]
+	   * Lazy([1, 2, 3]).map(addIndexToValue) // sequence: [1, 3, 5]
+	   *
+	   * @benchmarks
+	   * function increment(x) { return x + 1; }
+	   *
+	   * var smArr = Lazy.range(10).toArray(),
+	   *     lgArr = Lazy.range(100).toArray();
+	   *
+	   * Lazy(smArr).map(increment).each(Lazy.noop) // lazy - 10 elements
+	   * Lazy(lgArr).map(increment).each(Lazy.noop) // lazy - 100 elements
+	   * _.each(_.map(smArr, increment), _.noop)    // lodash - 10 elements
+	   * _.each(_.map(lgArr, increment), _.noop)    // lodash - 100 elements
+	   */
+	  Sequence.prototype.map = function map(mapFn) {
+	    return new MappedSequence(this, createCallback(mapFn));
+	  };
+
+	  Sequence.prototype.collect = function collect(mapFn) {
+	    return this.map(mapFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappedSequence(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  MappedSequence.prototype = new Sequence();
+
+	  MappedSequence.prototype.getIterator = function getIterator() {
+	    return new MappingIterator(this.parent, this.mapFn);
+	  };
+
+	  MappedSequence.prototype.each = function each(fn) {
+	    var mapFn = this.mapFn;
+	    return this.parent.each(function(e, i) {
+	      return fn(mapFn(e, i), i);
+	    });
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappingIterator(sequence, mapFn) {
+	    this.iterator = sequence.getIterator();
+	    this.mapFn    = mapFn;
+	    this.index    = -1;
+	  }
+
+	  MappingIterator.prototype.current = function current() {
+	    return this.mapFn(this.iterator.current(), this.index);
+	  };
+
+	  MappingIterator.prototype.moveNext = function moveNext() {
+	    if (this.iterator.moveNext()) {
+	      ++this.index;
+	      return true;
+	    }
+
+	    return false;
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are calculated by accessing the specified
+	   * property from each element in this sequence.
+	   *
+	   * @public
+	   * @param {string} propertyName The name of the property to access for every
+	   *     element in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var people = [
+	   *   { first: "Dan", last: "Tao" },
+	   *   { first: "Bob", last: "Smith" }
+	   * ];
+	   *
+	   * Lazy(people).pluck("last") // sequence: ["Tao", "Smith"]
+	   */
+	  Sequence.prototype.pluck = function pluck(property) {
+	    return this.map(property);
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are calculated by invoking the specified
+	   * function on each element in this sequence.
+	   *
+	   * @public
+	   * @param {string} methodName The name of the method to invoke for every element
+	   *     in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function Person(first, last) {
+	   *   this.fullName = function fullName() {
+	   *     return first + " " + last;
+	   *   };
+	   * }
+	   *
+	   * var people = [
+	   *   new Person("Dan", "Tao"),
+	   *   new Person("Bob", "Smith")
+	   * ];
+	   *
+	   * Lazy(people).invoke("fullName") // sequence: ["Dan Tao", "Bob Smith"]
+	   */
+	  Sequence.prototype.invoke = function invoke(methodName) {
+	    return this.map(function(e) {
+	      return e[methodName]();
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are the elements of this sequence which
+	   * satisfy the specified predicate.
+	   *
+	   * @public
+	   * @aka select
+	   * @param {Function} filterFn The predicate to call on each element in this
+	   *     sequence, which returns true if the element should be included.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5, 6];
+	   *
+	   * Lazy(numbers).filter(isEven) // sequence: [2, 4, 6]
+	   *
+	   * @benchmarks
+	   * function isEven(x) { return x % 2 === 0; }
+	   *
+	   * var smArr = Lazy.range(10).toArray(),
+	   *     lgArr = Lazy.range(100).toArray();
+	   *
+	   * Lazy(smArr).filter(isEven).each(Lazy.noop) // lazy - 10 elements
+	   * Lazy(lgArr).filter(isEven).each(Lazy.noop) // lazy - 100 elements
+	   * _.each(_.filter(smArr, isEven), _.noop)    // lodash - 10 elements
+	   * _.each(_.filter(lgArr, isEven), _.noop)    // lodash - 100 elements
+	   */
+	  Sequence.prototype.filter = function filter(filterFn) {
+	    return new FilteredSequence(this, createCallback(filterFn));
+	  };
+
+	  Sequence.prototype.select = function select(filterFn) {
+	    return this.filter(filterFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FilteredSequence(parent, filterFn) {
+	    this.parent   = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  FilteredSequence.prototype = new Sequence();
+
+	  FilteredSequence.prototype.getIterator = function getIterator() {
+	    return new FilteringIterator(this.parent, this.filterFn);
+	  };
+
+	  FilteredSequence.prototype.each = function each(fn) {
+	    var filterFn = this.filterFn,
+	        j = 0;
+
+	    return this.parent.each(function(e, i) {
+	      if (filterFn(e, i)) {
+	        return fn(e, j++);
+	      }
+	    });
+	  };
+
+	  FilteredSequence.prototype.reverse = function reverse() {
+	    return this.parent.reverse().filter(this.filterFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FilteringIterator(sequence, filterFn) {
+	    this.iterator = sequence.getIterator();
+	    this.filterFn = filterFn;
+	    this.index    = 0;
+	  }
+
+	  FilteringIterator.prototype.current = function current() {
+	    return this.value;
+	  };
+
+	  FilteringIterator.prototype.moveNext = function moveNext() {
+	    var iterator = this.iterator,
+	        filterFn = this.filterFn,
+	        value;
+
+	    while (iterator.moveNext()) {
+	      value = iterator.current();
+	      if (filterFn(value, this.index++)) {
+	        this.value = value;
+	        return true;
+	      }
+	    }
+
+	    this.value = undefined;
+	    return false;
+	  };
+
+	  /**
+	   * Creates a new sequence whose values exclude the elements of this sequence
+	   * identified by the specified predicate.
+	   *
+	   * @public
+	   * @param {Function} rejectFn The predicate to call on each element in this
+	   *     sequence, which returns true if the element should be omitted.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).reject(isEven)              // sequence: [1, 3, 5]
+	   * Lazy([{ foo: 1 }, { bar: 2 }]).reject('foo')      // sequence: [{ bar: 2 }]
+	   * Lazy([{ foo: 1 }, { foo: 2 }]).reject({ foo: 2 }) // sequence: [{ foo: 1 }]
+	   */
+	  Sequence.prototype.reject = function reject(rejectFn) {
+	    rejectFn = createCallback(rejectFn);
+	    return this.filter(function(e) { return !rejectFn(e); });
+	  };
+
+	  /**
+	   * Creates a new sequence whose values have the specified type, as determined
+	   * by the `typeof` operator.
+	   *
+	   * @public
+	   * @param {string} type The type of elements to include from the underlying
+	   *     sequence, i.e. where `typeof [element] === [type]`.
+	   * @returns {Sequence} The new sequence, comprising elements of the specified
+	   *     type.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 'foo', 'bar']).ofType('number')  // sequence: [1, 2]
+	   * Lazy([1, 2, 'foo', 'bar']).ofType('string')  // sequence: ['foo', 'bar']
+	   * Lazy([1, 2, 'foo', 'bar']).ofType('boolean') // sequence: []
+	   */
+	  Sequence.prototype.ofType = function ofType(type) {
+	    return this.filter(function(e) { return typeof e === type; });
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are the elements of this sequence with
+	   * property names and values matching those of the specified object.
+	   *
+	   * @public
+	   * @param {Object} properties The properties that should be found on every
+	   *     element that is to be included in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var people = [
+	   *   { first: "Dan", last: "Tao" },
+	   *   { first: "Bob", last: "Smith" }
+	   * ];
+	   *
+	   * Lazy(people).where({ first: "Dan" }) // sequence: [{ first: "Dan", last: "Tao" }]
+	   *
+	   * @benchmarks
+	   * var animals = ["dog", "cat", "mouse", "horse", "pig", "snake"];
+	   *
+	   * Lazy(animals).where({ length: 3 }).each(Lazy.noop) // lazy
+	   * _.each(_.where(animals, { length: 3 }), _.noop)    // lodash
+	   */
+	  Sequence.prototype.where = function where(properties) {
+	    return this.filter(properties);
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, but to be iterated
+	   * in the opposite order.
+	   *
+	   * Note that in some (but not all) cases, the only way to create such a sequence
+	   * may require iterating the entire underlying source when `each` is called.
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).reverse() // sequence: [3, 2, 1]
+	   * Lazy([]).reverse()        // sequence: []
+	   */
+	  Sequence.prototype.reverse = function reverse() {
+	    return new ReversedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ReversedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  ReversedSequence.prototype = new Sequence();
+
+	  ReversedSequence.prototype.getIterator = function getIterator() {
+	    return new ReversedIterator(this.parent);
+	  };
+
+	  /**
+	   * @constuctor
+	   */
+	  function ReversedIterator(sequence) {
+	    this.sequence = sequence;
+	  }
+
+	  ReversedIterator.prototype.current = function current() {
+	    return this.getIndex().get(this.index);
+	  };
+
+	  ReversedIterator.prototype.moveNext = function moveNext() {
+	    var index  = this.getIndex(),
+	        length = index.length();
+
+	    if (typeof this.index === "undefined") {
+	      this.index = length;
+	    }
+
+	    return (--this.index >= 0);
+	  };
+
+	  ReversedIterator.prototype.getIndex = function getIndex() {
+	    if (!this.cachedIndex) {
+	      this.cachedIndex = this.sequence.getIndex();
+	    }
+
+	    return this.cachedIndex;
+	  };
+
+	  /**
+	   * Creates a new sequence with all of the elements of this one, plus those of
+	   * the given array(s).
+	   *
+	   * @public
+	   * @param {...*} var_args One or more values (or arrays of values) to use for
+	   *     additional items after this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var left  = [1, 2, 3];
+	   * var right = [4, 5, 6];
+	   *
+	   * Lazy(left).concat(right)         // sequence: [1, 2, 3, 4, 5, 6]
+	   * Lazy(left).concat(Lazy(right))   // sequence: [1, 2, 3, 4, 5, 6]
+	   * Lazy(left).concat(right, [7, 8]) // sequence: [1, 2, 3, 4, 5, 6, 7, 8]
+	   */
+	  Sequence.prototype.concat = function concat(var_args) {
+	    return new ConcatenatedSequence(this, arraySlice.call(arguments, 0));
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ConcatenatedSequence(parent, arrays) {
+	    this.parent = parent;
+	    this.arrays = arrays;
+	  }
+
+	  ConcatenatedSequence.prototype = new Sequence();
+
+	  ConcatenatedSequence.prototype.each = function each(fn) {
+	    var done = false,
+	        i = 0;
+
+	    this.parent.each(function(e) {
+	      if (fn(e, i++) === false) {
+	        done = true;
+	        return false;
+	      }
+	    });
+
+	    if (!done) {
+	      Lazy(this.arrays).flatten().each(function(e) {
+	        if (fn(e, i++) === false) {
+	          return false;
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the first N elements from this sequence, OR
+	   * (if N is `undefined`) simply returns the first element of this sequence.
+	   *
+	   * @public
+	   * @aka head, take
+	   * @param {number=} count The number of elements to take from this sequence. If
+	   *     this value exceeds the length of the sequence, the resulting sequence
+	   *     will be essentially the same as this one.
+	   * @returns {*} The new sequence (or the first element from this sequence if
+	   *     no count was given).
+	   *
+	   * @examples
+	   * function powerOfTwo(exp) {
+	   *   return Math.pow(2, exp);
+	   * }
+	   *
+	   * Lazy.generate(powerOfTwo).first()          // => 1
+	   * Lazy.generate(powerOfTwo).first(5)         // sequence: [1, 2, 4, 8, 16]
+	   * Lazy.generate(powerOfTwo).skip(2).first()  // => 4
+	   * Lazy.generate(powerOfTwo).skip(2).first(2) // sequence: [4, 8]
+	   */
+	  Sequence.prototype.first = function first(count) {
+	    if (typeof count === "undefined") {
+	      return getFirst(this);
+	    }
+	    return new TakeSequence(this, count);
+	  };
+
+	  Sequence.prototype.head =
+	  Sequence.prototype.take = function (count) {
+	    return this.first(count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TakeSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = count;
+	  }
+
+	  TakeSequence.prototype = new Sequence();
+
+	  TakeSequence.prototype.getIterator = function getIterator() {
+	    return new TakeIterator(this.parent, this.count);
+	  };
+
+	  TakeSequence.prototype.each = function each(fn) {
+	    var count = this.count,
+	        i     = 0;
+
+	    var result;
+	    var handle = this.parent.each(function(e) {
+	      if (i < count) { result = fn(e, i++); }
+	      if (i >= count) { return false; }
+	      return result;
+	    });
+
+	    if (handle instanceof AsyncHandle) {
+	      return handle;
+	    }
+
+	    return i === count && result !== false;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TakeIterator(sequence, count) {
+	    this.iterator = sequence.getIterator();
+	    this.count    = count;
+	  }
+
+	  TakeIterator.prototype.current = function current() {
+	    return this.iterator.current();
+	  };
+
+	  TakeIterator.prototype.moveNext = function moveNext() {
+	    return ((--this.count >= 0) && this.iterator.moveNext());
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the elements from the head of this sequence
+	   * that satisfy some predicate. Once an element is encountered that doesn't
+	   * satisfy the predicate, iteration will stop.
+	   *
+	   * @public
+	   * @param {Function} predicate
+	   * @returns {Sequence} The new sequence
+	   *
+	   * @examples
+	   * function lessThan(x) {
+	   *   return function(y) {
+	   *     return y < x;
+	   *   };
+	   * }
+	   *
+	   * Lazy([1, 2, 3, 4]).takeWhile(lessThan(3)) // sequence: [1, 2]
+	   * Lazy([1, 2, 3, 4]).takeWhile(lessThan(0)) // sequence: []
+	   */
+	  Sequence.prototype.takeWhile = function takeWhile(predicate) {
+	    return new TakeWhileSequence(this, predicate);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TakeWhileSequence(parent, predicate) {
+	    this.parent    = parent;
+	    this.predicate = predicate;
+	  }
+
+	  TakeWhileSequence.prototype = new Sequence();
+
+	  TakeWhileSequence.prototype.each = function each(fn) {
+	    var predicate = this.predicate,
+	        finished = false,
+	        j = 0;
+
+	    var result = this.parent.each(function(e, i) {
+	      if (!predicate(e, i)) {
+	        finished = true;
+	        return false;
+	      }
+
+	      return fn(e, j++);
+	    });
+
+	    if (result instanceof AsyncHandle) {
+	      return result;
+	    }
+
+	    return finished;
+	  };
+
+	  /**
+	   * Creates a new sequence comprising all but the last N elements of this
+	   * sequence.
+	   *
+	   * @public
+	   * @param {number=} count The number of items to omit from the end of the
+	   *     sequence (defaults to 1).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4]).initial()                    // sequence: [1, 2, 3]
+	   * Lazy([1, 2, 3, 4]).initial(2)                   // sequence: [1, 2]
+	   * Lazy([1, 2, 3]).filter(Lazy.identity).initial() // sequence: [1, 2]
+	   */
+	  Sequence.prototype.initial = function initial(count) {
+	    return new InitialSequence(this, count);
+	  };
+
+	  function InitialSequence(parent, count) {
+	    this.parent = parent;
+	    this.count = typeof count === "number" ? count : 1;
+	  }
+
+	  InitialSequence.prototype = new Sequence();
+
+	  InitialSequence.prototype.each = function each(fn) {
+	    var index = this.parent.getIndex();
+	    return index.take(index.length() - this.count).each(fn);
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the last N elements of this sequence, OR
+	   * (if N is `undefined`) simply returns the last element of this sequence.
+	   *
+	   * @public
+	   * @param {number=} count The number of items to take from the end of the
+	   *     sequence.
+	   * @returns {*} The new sequence (or the last element from this sequence
+	   *     if no count was given).
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).last()                 // => 3
+	   * Lazy([1, 2, 3]).last(2)                // sequence: [2, 3]
+	   * Lazy([1, 2, 3]).filter(isEven).last(2) // sequence: [2]
+	   */
+	  Sequence.prototype.last = function last(count) {
+	    if (typeof count === "undefined") {
+	      return this.reverse().first();
+	    }
+	    return this.reverse().take(count).reverse();
+	  };
+
+	  /**
+	   * Returns the first element in this sequence with property names and values
+	   * matching those of the specified object.
+	   *
+	   * @public
+	   * @param {Object} properties The properties that should be found on some
+	   *     element in this sequence.
+	   * @returns {*} The found element, or `undefined` if none exists in this
+	   *     sequence.
+	   *
+	   * @examples
+	   * var words = ["foo", "bar"];
+	   *
+	   * Lazy(words).findWhere({ 0: "f" }); // => "foo"
+	   * Lazy(words).findWhere({ 0: "z" }); // => undefined
+	   */
+	  Sequence.prototype.findWhere = function findWhere(properties) {
+	    return this.where(properties).first();
+	  };
+
+	  /**
+	   * Creates a new sequence comprising all but the first N elements of this
+	   * sequence.
+	   *
+	   * @public
+	   * @aka skip, tail, rest
+	   * @param {number=} count The number of items to omit from the beginning of the
+	   *     sequence (defaults to 1).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4]).rest()  // sequence: [2, 3, 4]
+	   * Lazy([1, 2, 3, 4]).rest(0) // sequence: [1, 2, 3, 4]
+	   * Lazy([1, 2, 3, 4]).rest(2) // sequence: [3, 4]
+	   * Lazy([1, 2, 3, 4]).rest(5) // sequence: []
+	   */
+	  Sequence.prototype.rest = function rest(count) {
+	    return new DropSequence(this, count);
+	  };
+
+	  Sequence.prototype.skip =
+	  Sequence.prototype.tail =
+	  Sequence.prototype.drop = function drop(count) {
+	    return this.rest(count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function DropSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = typeof count === "number" ? count : 1;
+	  }
+
+	  DropSequence.prototype = new Sequence();
+
+	  DropSequence.prototype.each = function each(fn) {
+	    var count   = this.count,
+	        dropped = 0,
+	        i       = 0;
+
+	    return this.parent.each(function(e) {
+	      if (dropped++ < count) { return; }
+	      return fn(e, i++);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the elements from this sequence *after*
+	   * those that satisfy some predicate. The sequence starts with the first
+	   * element that does not match the predicate.
+	   *
+	   * @public
+	   * @aka skipWhile
+	   * @param {Function} predicate
+	   * @returns {Sequence} The new sequence
+	   */
+	  Sequence.prototype.dropWhile = function dropWhile(predicate) {
+	    return new DropWhileSequence(this, predicate);
+	  };
+
+	  Sequence.prototype.skipWhile = function skipWhile(predicate) {
+	    return this.dropWhile(predicate);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function DropWhileSequence(parent, predicate) {
+	    this.parent    = parent;
+	    this.predicate = predicate;
+	  }
+
+	  DropWhileSequence.prototype = new Sequence();
+
+	  DropWhileSequence.prototype.each = function each(fn) {
+	    var predicate = this.predicate,
+	        done      = false;
+
+	    return this.parent.each(function(e) {
+	      if (!done) {
+	        if (predicate(e)) {
+	          return;
+	        }
+
+	        done = true;
+	      }
+
+	      return fn(e);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, but ordered
+	   * using the specified comparison function.
+	   *
+	   * This has essentially the same behavior as calling
+	   * [`Array#sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort),
+	   * but obviously instead of modifying the collection it returns a new
+	   * {@link Sequence} object.
+	   *
+	   * @public
+	   * @param {Function=} sortFn The function used to compare elements in the
+	   *     sequence. The function will be passed two elements and should return:
+	   *     - 1 if the first is greater
+	   *     - -1 if the second is greater
+	   *     - 0 if the two values are the same
+	   * @param {boolean} descending Whether or not the resulting sequence should be
+	   *     in descending order (defaults to `false`).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([5, 10, 1]).sort()                // sequence: [1, 5, 10]
+	   * Lazy(['foo', 'bar']).sort()            // sequence: ['bar', 'foo']
+	   * Lazy(['b', 'c', 'a']).sort(null, true) // sequence: ['c', 'b', 'a']
+	   * Lazy([5, 10, 1]).sort(null, true)      // sequence: [10, 5, 1]
+	   *
+	   * // Sorting w/ custom comparison function
+	   * Lazy(['a', 'ab', 'aa', 'ba', 'b', 'abc']).sort(function compare(x, y) {
+	   *   if (x.length && (x.length !== y.length)) { return compare(x.length, y.length); }
+	   *   if (x === y) { return 0; }
+	   *   return x > y ? 1 : -1;
+	   * });
+	   * // => sequence: ['a', 'b', 'aa', 'ab', 'ba', 'abc']
+	   */
+	  Sequence.prototype.sort = function sort(sortFn, descending) {
+	    sortFn || (sortFn = compare);
+	    if (descending) { sortFn = reverseArguments(sortFn); }
+	    return new SortedSequence(this, sortFn);
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, but ordered by
+	   * the results of the given function.
+	   *
+	   * You can pass:
+	   *
+	   * - a *string*, to sort by the named property
+	   * - a function, to sort by the result of calling the function on each element
+	   *
+	   * @public
+	   * @param {Function} sortFn The function to call on the elements in this
+	   *     sequence, in order to sort them.
+	   * @param {boolean} descending Whether or not the resulting sequence should be
+	   *     in descending order (defaults to `false`).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function population(country) {
+	   *   return country.pop;
+	   * }
+	   *
+	   * function area(country) {
+	   *   return country.sqkm;
+	   * }
+	   *
+	   * var countries = [
+	   *   { name: "USA", pop: 320000000, sqkm: 9600000 },
+	   *   { name: "Brazil", pop: 194000000, sqkm: 8500000 },
+	   *   { name: "Nigeria", pop: 174000000, sqkm: 924000 },
+	   *   { name: "China", pop: 1350000000, sqkm: 9700000 },
+	   *   { name: "Russia", pop: 143000000, sqkm: 17000000 },
+	   *   { name: "Australia", pop: 23000000, sqkm: 7700000 }
+	   * ];
+	   *
+	   * Lazy(countries).sortBy(population).last(3).pluck('name') // sequence: ["Brazil", "USA", "China"]
+	   * Lazy(countries).sortBy(area).last(3).pluck('name')       // sequence: ["USA", "China", "Russia"]
+	   * Lazy(countries).sortBy(area, true).first(3).pluck('name') // sequence: ["Russia", "China", "USA"]
+	   *
+	   * @benchmarks
+	   * var randoms = Lazy.generate(Math.random).take(100).toArray();
+	   *
+	   * Lazy(randoms).sortBy(Lazy.identity).each(Lazy.noop) // lazy
+	   * _.each(_.sortBy(randoms, Lazy.identity), _.noop)    // lodash
+	   */
+	  Sequence.prototype.sortBy = function sortBy(sortFn, descending) {
+	    sortFn = createComparator(sortFn);
+	    if (descending) { sortFn = reverseArguments(sortFn); }
+	    return new SortedSequence(this, sortFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SortedSequence(parent, sortFn) {
+	    this.parent = parent;
+	    this.sortFn = sortFn;
+	  }
+
+	  SortedSequence.prototype = new Sequence();
+
+	  SortedSequence.prototype.each = function each(fn) {
+	    var sortFn = this.sortFn,
+	        result = this.parent.toArray();
+
+	    result.sort(sortFn);
+
+	    return forEach(result, fn);
+	  };
+
+	  /**
+	   * @examples
+	   * var items = [{ a: 4 }, { a: 3 }, { a: 5 }];
+	   *
+	   * Lazy(items).sortBy('a').reverse();
+	   * // => sequence: [{ a: 5 }, { a: 4 }, { a: 3 }]
+	   *
+	   * Lazy(items).sortBy('a').reverse().reverse();
+	   * // => sequence: [{ a: 3 }, { a: 4 }, { a: 5 }]
+	   */
+	  SortedSequence.prototype.reverse = function reverse() {
+	    return new SortedSequence(this.parent, reverseArguments(this.sortFn));
+	  };
+
+	  /**
+	   * Creates a new {@link ObjectLikeSequence} comprising the elements in this
+	   * one, grouped together according to some key. The value associated with each
+	   * key in the resulting object-like sequence is an array containing all of
+	   * the elements in this sequence with that key.
+	   *
+	   * @public
+	   * @param {Function|string} keyFn The function to call on the elements in this
+	   *     sequence to obtain a key by which to group them, or a string representing
+	   *     a parameter to read from all the elements in this sequence.
+	   * @param {Function|string} valFn (Optional) The function to call on the elements
+	   *     in this sequence to assign to the value for each instance to appear in the
+	   *     group, or a string representing a parameter to read from all the elements
+	   *     in this sequence.
+	   * @returns {ObjectLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * function oddOrEven(x) {
+	   *   return x % 2 === 0 ? 'even' : 'odd';
+	   * }
+	   * function square(x) {
+	   *   return x*x;
+	   * }
+	   *
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).groupBy(oddOrEven)                     // sequence: { odd: [1, 3, 5], even: [2, 4] }
+	   * Lazy(numbers).groupBy(oddOrEven).get("odd")          // => [1, 3, 5]
+	   * Lazy(numbers).groupBy(oddOrEven).get("foo")          // => undefined
+	   * Lazy(numbers).groupBy(oddOrEven, square).get("even") // => [4, 16]
+	   *
+	   * Lazy([
+	   *   { name: 'toString' },
+	   *   { name: 'toString' }
+	   * ]).groupBy('name');
+	   * // => sequence: {
+	   *   'toString': [
+	   *     { name: 'toString' },
+	   *     { name: 'toString' }
+	   *   ]
+	   * }
+	   */
+	  Sequence.prototype.groupBy = function groupBy(keyFn, valFn) {
+	    return new GroupedSequence(this, keyFn, valFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function GroupedSequence(parent, keyFn, valFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	    this.valFn  = valFn;
+	  }
+
+	  // GroupedSequence must have its prototype set after ObjectLikeSequence has
+	  // been fully initialized.
+
+	  /**
+	   * Creates a new {@link ObjectLikeSequence} comprising the elements in this
+	   * one, indexed according to some key.
+	   *
+	   * @public
+	   * @param {Function|string} keyFn The function to call on the elements in this
+	   *     sequence to obtain a key by which to index them, or a string
+	   *     representing a property to read from all the elements in this sequence.
+	   * @param {Function|string} valFn (Optional) The function to call on the elements
+	   *     in this sequence to assign to the value of the indexed object, or a string
+	   *     representing a parameter to read from all the elements in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var people = [
+	   *   { name: 'Bob', age: 25 },
+	   *   { name: 'Fred', age: 34 }
+	   * ];
+	   *
+	   * var bob  = people[0],
+	   *     fred = people[1];
+	   *
+	   * Lazy(people).indexBy('name')        // sequence: { 'Bob': bob, 'Fred': fred }
+	   * Lazy(people).indexBy('name', 'age') // sequence: { 'Bob': 25, 'Fred': 34 }
+	   */
+	  Sequence.prototype.indexBy = function(keyFn, valFn) {
+	    return new IndexedSequence(this, keyFn, valFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedSequence(parent, keyFn, valFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	    this.valFn  = valFn;
+	  }
+
+	  // IndexedSequence must have its prototype set after ObjectLikeSequence has
+	  // been fully initialized.
+
+	  /**
+	   * Creates a new {@link ObjectLikeSequence} containing the unique keys of all
+	   * the elements in this sequence, each paired with the number of elements
+	   * in this sequence having that key.
+	   *
+	   * @public
+	   * @param {Function|string} keyFn The function to call on the elements in this
+	   *     sequence to obtain a key by which to count them, or a string representing
+	   *     a parameter to read from all the elements in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function oddOrEven(x) {
+	   *   return x % 2 === 0 ? 'even' : 'odd';
+	   * }
+	   *
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).countBy(oddOrEven)            // sequence: { odd: 3, even: 2 }
+	   * Lazy(numbers).countBy(oddOrEven).get("odd") // => 3
+	   * Lazy(numbers).countBy(oddOrEven).get("foo") // => undefined
+	   */
+	  Sequence.prototype.countBy = function countBy(keyFn) {
+	    return new CountedSequence(this, keyFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function CountedSequence(parent, keyFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	  }
+
+	  // CountedSequence, like GroupedSequence, must have its prototype set after
+	  // ObjectLikeSequence has been fully initialized.
+
+	  /**
+	   * Creates a new sequence with every unique element from this one appearing
+	   * exactly once (i.e., with duplicates removed).
+	   *
+	   * @public
+	   * @aka unique
+	   * @param {Function} keyFn An optional function to produce the key for each
+	   *     object. This key is then tested for uniqueness as  opposed to the
+	   *     object reference.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 2, 3, 3, 3]).uniq() // sequence: [1, 2, 3]
+	   * Lazy([{ name: 'mike' }, 
+	   * 	{ name: 'sarah' }, 
+	   * 	{ name: 'mike' }
+	   * ]).uniq('name')
+	   * // sequence: [{ name: 'mike' }, { name: 'sarah' }]
+	   *
+	   * @benchmarks
+	   * function randomOf(array) {
+	   *   return function() {
+	   *     return array[Math.floor(Math.random() * array.length)];
+	   *   };
+	   * }
+	   *
+	   * var mostUnique = Lazy.generate(randomOf(_.range(100)), 100).toArray(),
+	   *     someUnique = Lazy.generate(randomOf(_.range(50)), 100).toArray(),
+	   *     mostDupes  = Lazy.generate(randomOf(_.range(5)), 100).toArray();
+	   *
+	   * Lazy(mostUnique).uniq().each(Lazy.noop) // lazy - mostly unique elements
+	   * Lazy(someUnique).uniq().each(Lazy.noop) // lazy - some unique elements
+	   * Lazy(mostDupes).uniq().each(Lazy.noop)  // lazy - mostly duplicate elements
+	   * _.each(_.uniq(mostUnique), _.noop)      // lodash - mostly unique elements
+	   * _.each(_.uniq(someUnique), _.noop)      // lodash - some unique elements
+	   * _.each(_.uniq(mostDupes), _.noop)       // lodash - mostly duplicate elements
+	   */
+	  Sequence.prototype.uniq = function uniq(keyFn) {
+	    return new UniqueSequence(this, keyFn);
+	  };
+
+	  Sequence.prototype.unique = function unique(keyFn) {
+	    return this.uniq(keyFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function UniqueSequence(parent, keyFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	  }
+
+	  UniqueSequence.prototype = new Sequence();
+
+	  UniqueSequence.prototype.each = function each(fn) {
+	    var cache = new Set(),
+	        keyFn = this.keyFn,
+	        i     = 0;
+
+	    if (keyFn) {
+	      keyFn = createCallback(keyFn);
+	      return this.parent.each(function(e) {
+	        if (cache.add(keyFn(e))) {
+	          return fn(e, i++);
+	        }
+	      });
+
+	    } else {
+	      return this.parent.each(function(e) {
+	        if (cache.add(e)) {
+	          return fn(e, i++);
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Creates a new sequence by combining the elements from this sequence with
+	   * corresponding elements from the specified array(s).
+	   *
+	   * @public
+	   * @param {...Array} var_args One or more arrays of elements to combine with
+	   *     those of this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2]).zip([3, 4]) // sequence: [[1, 3], [2, 4]]
+	   *
+	   * @benchmarks
+	   * var smArrL = Lazy.range(10).toArray(),
+	   *     smArrR = Lazy.range(10, 20).toArray(),
+	   *     lgArrL = Lazy.range(100).toArray(),
+	   *     lgArrR = Lazy.range(100, 200).toArray();
+	   *
+	   * Lazy(smArrL).zip(smArrR).each(Lazy.noop) // lazy - zipping 10-element arrays
+	   * Lazy(lgArrL).zip(lgArrR).each(Lazy.noop) // lazy - zipping 100-element arrays
+	   * _.each(_.zip(smArrL, smArrR), _.noop)    // lodash - zipping 10-element arrays
+	   * _.each(_.zip(lgArrL, lgArrR), _.noop)    // lodash - zipping 100-element arrays
+	   */
+	  Sequence.prototype.zip = function zip(var_args) {
+	    if (arguments.length === 1) {
+	      return new SimpleZippedSequence(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return new ZippedSequence(this, arraySlice.call(arguments, 0));
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ZippedSequence(parent, arrays) {
+	    this.parent = parent;
+	    this.arrays = arrays;
+	  }
+
+	  ZippedSequence.prototype = new Sequence();
+
+	  ZippedSequence.prototype.each = function each(fn) {
+	    var arrays = this.arrays,
+	        i = 0;
+	    this.parent.each(function(e) {
+	      var group = [e];
+	      for (var j = 0; j < arrays.length; ++j) {
+	        if (arrays[j].length > i) {
+	          group.push(arrays[j][i]);
+	        }
+	      }
+	      return fn(group, i++);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, in a randomized
+	   * order.
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).shuffle().value() // =~ [1, 2, 3, 4, 5]
+	   */
+	  Sequence.prototype.shuffle = function shuffle() {
+	    return new ShuffledSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ShuffledSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  ShuffledSequence.prototype = new Sequence();
+
+	  ShuffledSequence.prototype.each = function each(fn) {
+	    var shuffled = this.parent.toArray(),
+	        floor = Math.floor,
+	        random = Math.random,
+	        j = 0;
+
+	    for (var i = shuffled.length - 1; i > 0; --i) {
+	      swap(shuffled, i, floor(random() * (i + 1)));
+	      if (fn(shuffled[i], j++) === false) {
+	        return;
+	      }
+	    }
+	    fn(shuffled[0], j);
+	  };
+
+	  /**
+	   * Creates a new sequence with every element from this sequence, and with arrays
+	   * exploded so that a sequence of arrays (of arrays) becomes a flat sequence of
+	   * values.
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, [2, 3], [4, [5]]]).flatten() // sequence: [1, 2, 3, 4, 5]
+	   * Lazy([1, Lazy([2, 3])]).flatten()     // sequence: [1, 2, 3]
+	   */
+	  Sequence.prototype.flatten = function flatten() {
+	    return new FlattenedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FlattenedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  FlattenedSequence.prototype = new Sequence();
+
+	  FlattenedSequence.prototype.each = function each(fn) {
+	    var index = 0;
+
+	    return this.parent.each(function recurseVisitor(e) {
+	      if (e instanceof Array) {
+	        return forEach(e, recurseVisitor);
+	      }
+
+	      if (e instanceof Sequence) {
+	        return e.each(recurseVisitor);
+	      }
+
+	      return fn(e, index++);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, except for all
+	   * falsy values (`false`, `0`, `""`, `null`, and `undefined`).
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy(["foo", null, "bar", undefined]).compact() // sequence: ["foo", "bar"]
+	   */
+	  Sequence.prototype.compact = function compact() {
+	    return this.filter(function(e) { return !!e; });
+	  };
+
+	  /**
+	   * Creates a new sequence with all the elements of this sequence that are not
+	   * also among the specified arguments.
+	   *
+	   * @public
+	   * @aka difference
+	   * @param {...*} var_args The values, or array(s) of values, to be excluded from the
+	   *     resulting sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).without(2, 3)   // sequence: [1, 4, 5]
+	   * Lazy([1, 2, 3, 4, 5]).without([4, 5]) // sequence: [1, 2, 3]
+	   */
+	  Sequence.prototype.without = function without(var_args) {
+	    return new WithoutSequence(this, arraySlice.call(arguments, 0));
+	  };
+
+	  Sequence.prototype.difference = function difference(var_args) {
+	    return this.without.apply(this, arguments);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function WithoutSequence(parent, values) {
+	    this.parent = parent;
+	    this.values = values;
+	  }
+
+	  WithoutSequence.prototype = new Sequence();
+
+	  WithoutSequence.prototype.each = function each(fn) {
+	    var set = createSet(this.values),
+	        i = 0;
+	    return this.parent.each(function(e) {
+	      if (!set.contains(e)) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with all the unique elements either in this sequence
+	   * or among the specified arguments.
+	   *
+	   * @public
+	   * @param {...*} var_args The values, or array(s) of values, to be additionally
+	   *     included in the resulting sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy(["foo", "bar"]).union([])             // sequence: ["foo", "bar"]
+	   * Lazy(["foo", "bar"]).union(["bar", "baz"]) // sequence: ["foo", "bar", "baz"]
+	   */
+	  Sequence.prototype.union = function union(var_args) {
+	    return this.concat(var_args).uniq();
+	  };
+
+	  /**
+	   * Creates a new sequence with all the elements of this sequence that also
+	   * appear among the specified arguments.
+	   *
+	   * @public
+	   * @param {...*} var_args The values, or array(s) of values, in which elements
+	   *     from this sequence must also be included to end up in the resulting sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy(["foo", "bar"]).intersection([])             // sequence: []
+	   * Lazy(["foo", "bar"]).intersection(["bar", "baz"]) // sequence: ["bar"]
+	   */
+	  Sequence.prototype.intersection = function intersection(var_args) {
+	    if (arguments.length === 1 && arguments[0] instanceof Array) {
+	      return new SimpleIntersectionSequence(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return new IntersectionSequence(this, arraySlice.call(arguments, 0));
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IntersectionSequence(parent, arrays) {
+	    this.parent = parent;
+	    this.arrays = arrays;
+	  }
+
+	  IntersectionSequence.prototype = new Sequence();
+
+	  IntersectionSequence.prototype.each = function each(fn) {
+	    var sets = Lazy(this.arrays).map(function(values) {
+	      return new UniqueMemoizer(Lazy(values).getIterator());
+	    });
+
+	    var setIterator = new UniqueMemoizer(sets.getIterator()),
+	        i = 0;
+
+	    return this.parent.each(function(e) {
+	      var includedInAll = true;
+	      setIterator.each(function(set) {
+	        if (!set.contains(e)) {
+	          includedInAll = false;
+	          return false;
+	        }
+	      });
+
+	      if (includedInAll) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function UniqueMemoizer(iterator) {
+	    this.iterator     = iterator;
+	    this.set          = new Set();
+	    this.memo         = [];
+	    this.currentValue = undefined;
+	  }
+
+	  UniqueMemoizer.prototype.current = function current() {
+	    return this.currentValue;
+	  };
+
+	  UniqueMemoizer.prototype.moveNext = function moveNext() {
+	    var iterator = this.iterator,
+	        set = this.set,
+	        memo = this.memo,
+	        current;
+
+	    while (iterator.moveNext()) {
+	      current = iterator.current();
+	      if (set.add(current)) {
+	        memo.push(current);
+	        this.currentValue = current;
+	        return true;
+	      }
+	    }
+	    return false;
+	  };
+
+	  UniqueMemoizer.prototype.each = function each(fn) {
+	    var memo = this.memo,
+	        length = memo.length,
+	        i = -1;
+
+	    while (++i < length) {
+	      if (fn(memo[i], i) === false) {
+	        return false;
+	      }
+	    }
+
+	    while (this.moveNext()) {
+	      if (fn(this.currentValue, i++) === false) {
+	        break;
+	      }
+	    }
+	  };
+
+	  UniqueMemoizer.prototype.contains = function contains(e) {
+	    if (this.set.contains(e)) {
+	      return true;
+	    }
+
+	    while (this.moveNext()) {
+	      if (this.currentValue === e) {
+	        return true;
+	      }
+	    }
+
+	    return false;
+	  };
+
+	  /**
+	   * Checks whether every element in this sequence satisfies a given predicate.
+	   *
+	   * @public
+	   * @aka all
+	   * @param {Function} predicate A function to call on (potentially) every element
+	   *     in this sequence.
+	   * @returns {boolean} True if `predicate` returns true for every element in the
+	   *     sequence (or the sequence is empty). False if `predicate` returns false
+	   *     for at least one element.
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * var objects = [{ foo: true }, { foo: false, bar: true }];
+	   *
+	   * Lazy(numbers).every(isEven)     // => false
+	   * Lazy(numbers).every(isPositive) // => true
+	   * Lazy(objects).all('foo')        // => false
+	   * Lazy(objects).all('bar')        // => false
+	   */
+	  Sequence.prototype.every = function every(predicate) {
+	    predicate = createCallback(predicate);
+
+	    return this.each(function(e, i) {
+	      return !!predicate(e, i);
+	    });
+	  };
+
+	  Sequence.prototype.all = function all(predicate) {
+	    return this.every(predicate);
+	  };
+
+	  /**
+	   * Checks whether at least one element in this sequence satisfies a given
+	   * predicate (or, if no predicate is specified, whether the sequence contains at
+	   * least one element).
+	   *
+	   * @public
+	   * @aka any
+	   * @param {Function=} predicate A function to call on (potentially) every element
+	   *     in this sequence.
+	   * @returns {boolean} True if `predicate` returns true for at least one element
+	   *     in the sequence. False if `predicate` returns false for every element (or
+	   *     the sequence is empty).
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).some()           // => true
+	   * Lazy(numbers).some(isEven)     // => true
+	   * Lazy(numbers).some(isNegative) // => false
+	   * Lazy([]).some()                // => false
+	   */
+	  Sequence.prototype.some = function some(predicate) {
+	    predicate = createCallback(predicate, true);
+
+	    var success = false;
+	    this.each(function(e) {
+	      if (predicate(e)) {
+	        success = true;
+	        return false;
+	      }
+	    });
+	    return success;
+	  };
+
+	  Sequence.prototype.any = function any(predicate) {
+	    return this.some(predicate);
+	  };
+
+	  /**
+	   * Checks whether NO elements in this sequence satisfy the given predicate
+	   * (the opposite of {@link Sequence#all}, basically).
+	   *
+	   * @public
+	   * @param {Function=} predicate A function to call on (potentially) every element
+	   *     in this sequence.
+	   * @returns {boolean} True if `predicate` does not return true for any element
+	   *     in the sequence. False if `predicate` returns true for at least one
+	   *     element.
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).none()           // => false
+	   * Lazy(numbers).none(isEven)     // => false
+	   * Lazy(numbers).none(isNegative) // => true
+	   * Lazy([]).none(isEven)          // => true
+	   * Lazy([]).none(isNegative)      // => true
+	   * Lazy([]).none()                // => true
+	   */
+	  Sequence.prototype.none = function none(predicate) {
+	    return !this.any(predicate);
+	  };
+
+	  /**
+	   * Checks whether the sequence has no elements.
+	   *
+	   * @public
+	   * @returns {boolean} True if the sequence is empty, false if it contains at
+	   *     least one element.
+	   *
+	   * @examples
+	   * Lazy([]).isEmpty()        // => true
+	   * Lazy([1, 2, 3]).isEmpty() // => false
+	   */
+	  Sequence.prototype.isEmpty = function isEmpty() {
+	    return !this.any();
+	  };
+
+	  /**
+	   * Performs (at worst) a linear search from the head of this sequence,
+	   * returning the first index at which the specified value is found.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {number} The index within this sequence where the given value is
+	   *     located, or -1 if the sequence doesn't contain the value.
+	   *
+	   * @examples
+	   * function reciprocal(x) { return 1 / x; }
+	   *
+	   * Lazy(["foo", "bar", "baz"]).indexOf("bar")   // => 1
+	   * Lazy([1, 2, 3]).indexOf(4)                   // => -1
+	   * Lazy([1, 2, 3]).map(reciprocal).indexOf(0.5) // => 1
+	   */
+	  Sequence.prototype.indexOf = function indexOf(value) {
+	    var foundIndex = -1;
+	    this.each(function(e, i) {
+	      if (e === value) {
+	        foundIndex = i;
+	        return false;
+	      }
+	    });
+	    return foundIndex;
+	  };
+
+	  /**
+	   * Performs (at worst) a linear search from the tail of this sequence,
+	   * returning the last index at which the specified value is found.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {number} The last index within this sequence where the given value
+	   *     is located, or -1 if the sequence doesn't contain the value.
+	   *
+	   * @examples
+	   * Lazy(["a", "b", "c", "b", "a"]).lastIndexOf("b")    // => 3
+	   * Lazy([1, 2, 3]).lastIndexOf(0)                      // => -1
+	   * Lazy([2, 2, 1, 2, 4]).filter(isEven).lastIndexOf(2) // 2
+	   */
+	  Sequence.prototype.lastIndexOf = function lastIndexOf(value) {
+	    var reversed = this.getIndex().reverse(),
+	        index    = reversed.indexOf(value);
+	    if (index !== -1) {
+	      index = reversed.length() - index - 1;
+	    }
+	    return index;
+	  };
+
+	  /**
+	   * Performs a binary search of this sequence, returning the lowest index where
+	   * the given value is either found, or where it belongs (if it is not already
+	   * in the sequence).
+	   *
+	   * This method assumes the sequence is in sorted order and will fail otherwise.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {number} An index within this sequence where the given value is
+	   *     located, or where it belongs in sorted order.
+	   *
+	   * @examples
+	   * Lazy([1, 3, 6, 9]).sortedIndex(3)                    // => 1
+	   * Lazy([1, 3, 6, 9]).sortedIndex(7)                    // => 3
+	   * Lazy([5, 10, 15, 20]).filter(isEven).sortedIndex(10) // => 0
+	   * Lazy([5, 10, 15, 20]).filter(isEven).sortedIndex(12) // => 1
+	   */
+	  Sequence.prototype.sortedIndex = function sortedIndex(value) {
+	    var indexed = this.getIndex(),
+	        lower   = 0,
+	        upper   = indexed.length(),
+	        i;
+
+	    while (lower < upper) {
+	      i = (lower + upper) >>> 1;
+	      if (compare(indexed.get(i), value) === -1) {
+	        lower = i + 1;
+	      } else {
+	        upper = i;
+	      }
+	    }
+	    return lower;
+	  };
+
+	  /**
+	   * Checks whether the given value is in this sequence.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {boolean} True if the sequence contains the value, false if not.
+	   *
+	   * @examples
+	   * var numbers = [5, 10, 15, 20];
+	   *
+	   * Lazy(numbers).contains(15) // => true
+	   * Lazy(numbers).contains(13) // => false
+	   */
+	  Sequence.prototype.contains = function contains(value) {
+	    return this.indexOf(value) !== -1;
+	  };
+
+	  /**
+	   * Aggregates a sequence into a single value according to some accumulator
+	   * function.
+	   *
+	   * For an asynchronous sequence, instead of immediately returning a result
+	   * (which it can't, obviously), this method returns an {@link AsyncHandle}
+	   * whose `onComplete` method can be called to supply a callback to handle the
+	   * final result once iteration has completed.
+	   *
+	   * @public
+	   * @aka inject, foldl
+	   * @param {Function} aggregator The function through which to pass every element
+	   *     in the sequence. For every element, the function will be passed the total
+	   *     aggregated result thus far and the element itself, and should return a
+	   *     new aggregated result.
+	   * @param {*=} memo The starting value to use for the aggregated result
+	   *     (defaults to the first element in the sequence).
+	   * @returns {*} The result of the aggregation, or, for asynchronous sequences,
+	   *     an {@link AsyncHandle} whose `onComplete` method accepts a callback to
+	   *     handle the final result.
+	   *
+	   * @examples
+	   * function multiply(x, y) { return x * y; }
+	   *
+	   * var numbers = [1, 2, 3, 4];
+	   *
+	   * Lazy(numbers).reduce(multiply)    // => 24
+	   * Lazy(numbers).reduce(multiply, 5) // => 120
+	   */
+	  Sequence.prototype.reduce = function reduce(aggregator, memo) {
+	    if (arguments.length < 2) {
+	      return this.tail().reduce(aggregator, this.head());
+	    }
+
+	    var eachResult = this.each(function(e, i) {
+	      memo = aggregator(memo, e, i);
+	    });
+
+	    // TODO: Think of a way more efficient solution to this problem.
+	    if (eachResult instanceof AsyncHandle) {
+	      return eachResult.then(function() { return memo; });
+	    }
+
+	    return memo;
+	  };
+
+	  Sequence.prototype.inject =
+	  Sequence.prototype.foldl = function foldl(aggregator, memo) {
+	    return this.reduce(aggregator, memo);
+	  };
+
+	  /**
+	   * Aggregates a sequence, from the tail, into a single value according to some
+	   * accumulator function.
+	   *
+	   * @public
+	   * @aka foldr
+	   * @param {Function} aggregator The function through which to pass every element
+	   *     in the sequence. For every element, the function will be passed the total
+	   *     aggregated result thus far and the element itself, and should return a
+	   *     new aggregated result.
+	   * @param {*} memo The starting value to use for the aggregated result.
+	   * @returns {*} The result of the aggregation.
+	   *
+	   * @examples
+	   * function append(s1, s2) {
+	   *   return s1 + s2;
+	   * }
+	   *
+	   * function isVowel(str) {
+	   *   return "aeiou".indexOf(str) !== -1;
+	   * }
+	   *
+	   * Lazy("abcde").reduceRight(append)                 // => "edcba"
+	   * Lazy("abcde").filter(isVowel).reduceRight(append) // => "ea"
+	   */
+	  Sequence.prototype.reduceRight = function reduceRight(aggregator, memo) {
+	    if (arguments.length < 2) {
+	      return this.initial(1).reduceRight(aggregator, this.last());
+	    }
+
+	    // This bothers me... but frankly, calling reverse().reduce() is potentially
+	    // going to eagerly evaluate the sequence anyway; so it's really not an issue.
+	    var indexed = this.getIndex(),
+	        i = indexed.length() - 1;
+	    return indexed.reverse().reduce(function(m, e) {
+	      return aggregator(m, e, i--);
+	    }, memo);
+	  };
+
+	  Sequence.prototype.foldr = function foldr(aggregator, memo) {
+	    return this.reduceRight(aggregator, memo);
+	  };
+
+	  /**
+	   * Groups this sequence into consecutive (overlapping) segments of a specified
+	   * length. If the underlying sequence has fewer elements than the specfied
+	   * length, then this sequence will be empty.
+	   *
+	   * @public
+	   * @param {number} length The length of each consecutive segment.
+	   * @returns {Sequence} The resulting sequence of consecutive segments.
+	   *
+	   * @examples
+	   * Lazy([]).consecutive(2)        // => sequence: []
+	   * Lazy([1]).consecutive(2)       // => sequence: []
+	   * Lazy([1, 2]).consecutive(2)    // => sequence: [[1, 2]]
+	   * Lazy([1, 2, 3]).consecutive(2) // => sequence: [[1, 2], [2, 3]]
+	   * Lazy([1, 2, 3]).consecutive(0) // => sequence: [[]]
+	   * Lazy([1, 2, 3]).consecutive(1) // => sequence: [[1], [2], [3]]
+	   */
+	  Sequence.prototype.consecutive = function consecutive(count) {
+	    var queue    = new Queue(count);
+	    var segments = this.map(function(element) {
+	      if (queue.add(element).count === count) {
+	        return queue.toArray();
+	      }
+	    });
+	    return segments.compact();
+	  };
+
+	  /**
+	   * Breaks this sequence into chunks (arrays) of a specified length.
+	   *
+	   * @public
+	   * @param {number} size The size of each chunk.
+	   * @returns {Sequence} The resulting sequence of chunks.
+	   *
+	   * @examples
+	   * Lazy([]).chunk(2)        // sequence: []
+	   * Lazy([1, 2, 3]).chunk(2) // sequence: [[1, 2], [3]]
+	   * Lazy([1, 2, 3]).chunk(1) // sequence: [[1], [2], [3]]
+	   * Lazy([1, 2, 3]).chunk(4) // sequence: [[1, 2, 3]]
+	   * Lazy([1, 2, 3]).chunk(0) // throws
+	   */
+	  Sequence.prototype.chunk = function chunk(size) {
+	    if (size < 1) {
+	      throw new Error("You must specify a positive chunk size.");
+	    }
+
+	    return new ChunkedSequence(this, size);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ChunkedSequence(parent, size) {
+	    this.parent    = parent;
+	    this.chunkSize = size;
+	  }
+
+	  ChunkedSequence.prototype = new Sequence();
+
+	  ChunkedSequence.prototype.getIterator = function getIterator() {
+	    return new ChunkedIterator(this.parent, this.chunkSize);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ChunkedIterator(sequence, size) {
+	    this.iterator = sequence.getIterator();
+	    this.size     = size;
+	  }
+
+	  ChunkedIterator.prototype.current = function current() {
+	    return this.currentChunk;
+	  };
+
+	  ChunkedIterator.prototype.moveNext = function moveNext() {
+	    var iterator  = this.iterator,
+	        chunkSize = this.size,
+	        chunk     = [];
+
+	    while (chunk.length < chunkSize && iterator.moveNext()) {
+	      chunk.push(iterator.current());
+	    }
+
+	    if (chunk.length === 0) {
+	      return false;
+	    }
+
+	    this.currentChunk = chunk;
+	    return true;
+	  };
+
+	  /**
+	   * Passes each element in the sequence to the specified callback during
+	   * iteration. This is like {@link Sequence#each}, except that it can be
+	   * inserted anywhere in the middle of a chain of methods to "intercept" the
+	   * values in the sequence at that point.
+	   *
+	   * @public
+	   * @param {Function} callback A function to call on every element in the
+	   *     sequence during iteration. The return value of this function does not
+	   *     matter.
+	   * @returns {Sequence} A sequence comprising the same elements as this one.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).tap(fn).each(Lazy.noop); // calls fn 3 times
+	   */
+	  Sequence.prototype.tap = function tap(callback) {
+	    return new TappedSequence(this, callback);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TappedSequence(parent, callback) {
+	    this.parent = parent;
+	    this.callback = callback;
+	  }
+
+	  TappedSequence.prototype = new Sequence();
+
+	  TappedSequence.prototype.each = function each(fn) {
+	    var callback = this.callback;
+	    return this.parent.each(function(e, i) {
+	      callback(e, i);
+	      return fn(e, i);
+	    });
+	  };
+
+	  /**
+	   * Seaches for the first element in the sequence satisfying a given predicate.
+	   *
+	   * @public
+	   * @aka detect
+	   * @param {Function} predicate A function to call on (potentially) every element
+	   *     in the sequence.
+	   * @returns {*} The first element in the sequence for which `predicate` returns
+	   *     `true`, or `undefined` if no such element is found.
+	   *
+	   * @examples
+	   * function divisibleBy3(x) {
+	   *   return x % 3 === 0;
+	   * }
+	   *
+	   * var numbers = [5, 6, 7, 8, 9, 10];
+	   *
+	   * Lazy(numbers).find(divisibleBy3) // => 6
+	   * Lazy(numbers).find(isNegative)   // => undefined
+	   */
+	  Sequence.prototype.find = function find(predicate) {
+	    return this.filter(predicate).first();
+	  };
+
+	  Sequence.prototype.detect = function detect(predicate) {
+	    return this.find(predicate);
+	  };
+
+	  /**
+	   * Gets the minimum value in the sequence.
+	   *
+	   * @public
+	   * @param {Function=} valueFn The function by which the value for comparison is
+	   *     calculated for each element in the sequence.
+	   * @returns {*} The element with the lowest value in the sequence, or
+	   *     `Infinity` if the sequence is empty.
+	   *
+	   * @examples
+	   * function negate(x) { return x * -1; }
+	   *
+	   * Lazy([]).min()                       // => Infinity
+	   * Lazy([6, 18, 2, 49, 34]).min()       // => 2
+	   * Lazy([6, 18, 2, 49, 34]).min(negate) // => 49
+	   */
+	  Sequence.prototype.min = function min(valueFn) {
+	    if (typeof valueFn !== "undefined") {
+	      return this.minBy(valueFn);
+	    }
+
+	    return this.reduce(function(x, y) { return y < x ? y : x; }, Infinity);
+	  };
+
+	  Sequence.prototype.minBy = function minBy(valueFn) {
+	    valueFn = createCallback(valueFn);
+	    return this.reduce(function(x, y) { return valueFn(y) < valueFn(x) ? y : x; });
+	  };
+
+	  /**
+	   * Gets the maximum value in the sequence.
+	   *
+	   * @public
+	   * @param {Function=} valueFn The function by which the value for comparison is
+	   *     calculated for each element in the sequence.
+	   * @returns {*} The element with the highest value in the sequence, or
+	   *     `-Infinity` if the sequence is empty.
+	   *
+	   * @examples
+	   * function reverseDigits(x) {
+	   *   return Number(String(x).split('').reverse().join(''));
+	   * }
+	   *
+	   * Lazy([]).max()                              // => -Infinity
+	   * Lazy([6, 18, 2, 48, 29]).max()              // => 48
+	   * Lazy([6, 18, 2, 48, 29]).max(reverseDigits) // => 29
+	   */
+	  Sequence.prototype.max = function max(valueFn) {
+	    if (typeof valueFn !== "undefined") {
+	      return this.maxBy(valueFn);
+	    }
+
+	    return this.reduce(function(x, y) { return y > x ? y : x; }, -Infinity);
+	  };
+
+	  Sequence.prototype.maxBy = function maxBy(valueFn) {
+	    valueFn = createCallback(valueFn);
+	    return this.reduce(function(x, y) { return valueFn(y) > valueFn(x) ? y : x; });
+	  };
+
+	  /**
+	   * Gets the sum of the values in the sequence.
+	   *
+	   * @public
+	   * @param {Function=} valueFn The function used to select the values that will
+	   *     be summed up.
+	   * @returns {*} The sum.
+	   *
+	   * @examples
+	   * Lazy([]).sum()                     // => 0
+	   * Lazy([1, 2, 3, 4]).sum()           // => 10
+	   * Lazy([1.2, 3.4]).sum(Math.floor)   // => 4
+	   * Lazy(['foo', 'bar']).sum('length') // => 6
+	   */
+	  Sequence.prototype.sum = function sum(valueFn) {
+	    if (typeof valueFn !== "undefined") {
+	      return this.sumBy(valueFn);
+	    }
+
+	    return this.reduce(function(x, y) { return x + y; }, 0);
+	  };
+
+	  Sequence.prototype.sumBy = function sumBy(valueFn) {
+	    valueFn = createCallback(valueFn);
+	    return this.reduce(function(x, y) { return x + valueFn(y); }, 0);
+	  };
+
+	  /**
+	   * Creates a string from joining together all of the elements in this sequence,
+	   * separated by the given delimiter.
+	   *
+	   * @public
+	   * @aka toString
+	   * @param {string=} delimiter The separator to insert between every element from
+	   *     this sequence in the resulting string (defaults to `","`).
+	   * @returns {string} The delimited string.
+	   *
+	   * @examples
+	   * Lazy([6, 29, 1984]).join("/")  // => "6/29/1984"
+	   * Lazy(["a", "b", "c"]).join()   // => "a,b,c"
+	   * Lazy(["a", "b", "c"]).join("") // => "abc"
+	   * Lazy([1, 2, 3]).join()         // => "1,2,3"
+	   * Lazy([1, 2, 3]).join("")       // => "123"
+	   * Lazy(["", "", ""]).join(",")   // => ",,"
+	   */
+	  Sequence.prototype.join = function join(delimiter) {
+	    delimiter = typeof delimiter === "string" ? delimiter : ",";
+
+	    return this.reduce(function(str, e, i) {
+	      if (i > 0) {
+	        str += delimiter;
+	      }
+	      return str + e;
+	    }, "");
+	  };
+
+	  Sequence.prototype.toString = function toString(delimiter) {
+	    return this.join(delimiter);
+	  };
+
+	  /**
+	   * Creates a sequence, with the same elements as this one, that will be iterated
+	   * over asynchronously when calling `each`.
+	   *
+	   * @public
+	   * @param {number=} interval The approximate period, in milliseconds, that
+	   *     should elapse between each element in the resulting sequence. Omitting
+	   *     this argument will result in the fastest possible asynchronous iteration.
+	   * @returns {AsyncSequence} The new asynchronous sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).async(100).each(fn) // calls fn 3 times asynchronously
+	   */
+	  Sequence.prototype.async = function async(interval) {
+	    return new AsyncSequence(this, interval);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SimpleIntersectionSequence(parent, array) {
+	    this.parent = parent;
+	    this.array  = array;
+	    this.each   = getEachForIntersection(array);
+	  }
+
+	  SimpleIntersectionSequence.prototype = new Sequence();
+
+	  SimpleIntersectionSequence.prototype.eachMemoizerCache = function eachMemoizerCache(fn) {
+	    var iterator = new UniqueMemoizer(Lazy(this.array).getIterator()),
+	        i = 0;
+
+	    return this.parent.each(function(e) {
+	      if (iterator.contains(e)) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  SimpleIntersectionSequence.prototype.eachArrayCache = function eachArrayCache(fn) {
+	    var array = this.array,
+	        find  = arrayContains,
+	        i = 0;
+
+	    return this.parent.each(function(e) {
+	      if (find(array, e)) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  function getEachForIntersection(source) {
+	    if (source.length < 40) {
+	      return SimpleIntersectionSequence.prototype.eachArrayCache;
+	    } else {
+	      return SimpleIntersectionSequence.prototype.eachMemoizerCache;
+	    }
+	  }
+
+	  /**
+	   * An optimized version of {@link ZippedSequence}, when zipping a sequence with
+	   * only one array.
+	   *
+	   * @param {Sequence} parent The underlying sequence.
+	   * @param {Array} array The array with which to zip the sequence.
+	   * @constructor
+	   */
+	  function SimpleZippedSequence(parent, array) {
+	    this.parent = parent;
+	    this.array  = array;
+	  }
+
+	  SimpleZippedSequence.prototype = new Sequence();
+
+	  SimpleZippedSequence.prototype.each = function each(fn) {
+	    var array = this.array;
+	    return this.parent.each(function(e, i) {
+	      return fn([e, array[i]], i);
+	    });
+	  };
+
+	  /**
+	   * An `ArrayLikeSequence` is a {@link Sequence} that provides random access to
+	   * its elements. This extends the API for iterating with the additional methods
+	   * {@link #get} and {@link #length}, allowing a sequence to act as a "view" into
+	   * a collection or other indexed data source.
+	   *
+	   * The initial sequence created by wrapping an array with `Lazy(array)` is an
+	   * `ArrayLikeSequence`.
+	   *
+	   * All methods of `ArrayLikeSequence` that conceptually should return
+	   * something like a array (with indexed access) return another
+	   * `ArrayLikeSequence`, for example:
+	   *
+	   * - {@link Sequence#map}
+	   * - {@link ArrayLikeSequence#slice}
+	   * - {@link Sequence#take} and {@link Sequence#drop}
+	   * - {@link Sequence#reverse}
+	   *
+	   * The above is not an exhaustive list. There are also certain other cases
+	   * where it might be possible to return an `ArrayLikeSequence` (e.g., calling
+	   * {@link Sequence#concat} with a single array argument), but this is not
+	   * guaranteed by the API.
+	   *
+	   * Note that in many cases, it is not possible to provide indexed access
+	   * without first performing at least a partial iteration of the underlying
+	   * sequence. In these cases an `ArrayLikeSequence` will not be returned:
+	   *
+	   * - {@link Sequence#filter}
+	   * - {@link Sequence#uniq}
+	   * - {@link Sequence#union}
+	   * - {@link Sequence#intersect}
+	   *
+	   * etc. The above methods only return ordinary {@link Sequence} objects.
+	   *
+	   * Defining custom array-like sequences
+	   * ------------------------------------
+	   *
+	   * Creating a custom `ArrayLikeSequence` is essentially the same as creating a
+	   * custom {@link Sequence}. You just have a couple more methods you need to
+	   * implement: `get` and (optionally) `length`.
+	   *
+	   * Here's an example. Let's define a sequence type called `OffsetSequence` that
+	   * offsets each of its parent's elements by a set distance, and circles back to
+	   * the beginning after reaching the end. **Remember**: the initialization
+	   * function you pass to {@link #define} should always accept a `parent` as its
+	   * first parameter.
+	   *
+	   *     ArrayLikeSequence.define("offset", {
+	   *       init: function(parent, offset) {
+	   *         this.offset = offset;
+	   *       },
+	   *
+	   *       get: function(i) {
+	   *         return this.parent.get((i + this.offset) % this.parent.length());
+	   *       }
+	   *     });
+	   *
+	   * It's worth noting a couple of things here.
+	   *
+	   * First, Lazy's default implementation of `length` simply returns the parent's
+	   * length. In this case, since an `OffsetSequence` will always have the same
+	   * number of elements as its parent, that implementation is fine; so we don't
+	   * need to override it.
+	   *
+	   * Second, the default implementation of `each` uses `get` and `length` to
+	   * essentially create a `for` loop, which is fine here. If you want to implement
+	   * `each` your own way, you can do that; but in most cases (as here), you can
+	   * probably just stick with the default.
+	   *
+	   * So we're already done, after only implementing `get`! Pretty easy, huh?
+	   *
+	   * Now the `offset` method will be chainable from any `ArrayLikeSequence`. So
+	   * for example:
+	   *
+	   *     Lazy([1, 2, 3]).map(mapFn).offset(3);
+	   *
+	   * ...will work, but:
+	   *
+	   *     Lazy([1, 2, 3]).filter(mapFn).offset(3);
+	   *
+	   * ...will not (because `filter` does not return an `ArrayLikeSequence`).
+	   *
+	   * (Also, as with the example provided for defining custom {@link Sequence}
+	   * types, this example really could have been implemented using a function
+	   * already available as part of Lazy.js: in this case, {@link Sequence#map}.)
+	   *
+	   * @public
+	   * @constructor
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3])                    // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).map(Lazy.identity) // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).take(2)            // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).drop(2)            // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).reverse()          // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).slice(1, 2)        // instanceof Lazy.ArrayLikeSequence
+	   */
+	  function ArrayLikeSequence() {}
+
+	  ArrayLikeSequence.prototype = new Sequence();
+
+	  /**
+	   * Create a new constructor function for a type inheriting from
+	   * `ArrayLikeSequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `ArrayLikeSequence` prototype so that it can be chained with any other
+	   *     methods that return array-like sequences.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. **Must** include `get`. *May* include `init`,
+	   *     `length`, `getIterator`, and `each`. For each function, `this` will be
+	   *     the new sequence and `this.parent` will be the source sequence.
+	   * @returns {Function} A constructor for a new type inheriting from
+	   *     `ArrayLikeSequence`.
+	   *
+	   * @examples
+	   * Lazy.ArrayLikeSequence.define("offset", {
+	   *   init: function(offset) {
+	   *     this.offset = offset;
+	   *   },
+	   *
+	   *   get: function(i) {
+	   *     return this.parent.get((i + this.offset) % this.parent.length());
+	   *   }
+	   * });
+	   *
+	   * Lazy([1, 2, 3]).offset(1) // sequence: [2, 3, 1]
+	   */
+	  ArrayLikeSequence.define = function define(methodName, overrides) {
+	    if (!overrides || typeof overrides.get !== 'function') {
+	      throw new Error("A custom array-like sequence must implement *at least* get!");
+	    }
+
+	    return defineSequenceType(ArrayLikeSequence, methodName, overrides);
+	  };
+
+	  /**
+	   * Returns the element at the specified index.
+	   *
+	   * @public
+	   * @param {number} i The index to access.
+	   * @returns {*} The element.
+	   *
+	   * @examples
+	   * function increment(x) { return x + 1; }
+	   *
+	   * Lazy([1, 2, 3]).get(1)                // => 2
+	   * Lazy([1, 2, 3]).get(-1)               // => undefined
+	   * Lazy([1, 2, 3]).map(increment).get(1) // => 3
+	   */
+	  ArrayLikeSequence.prototype.get = function get(i) {
+	    return this.parent.get(i);
+	  };
+
+	  /**
+	   * Returns the length of the sequence.
+	   *
+	   * @public
+	   * @returns {number} The length.
+	   *
+	   * @examples
+	   * function increment(x) { return x + 1; }
+	   *
+	   * Lazy([]).length()                       // => 0
+	   * Lazy([1, 2, 3]).length()                // => 3
+	   * Lazy([1, 2, 3]).map(increment).length() // => 3
+	   */
+	  ArrayLikeSequence.prototype.length = function length() {
+	    return this.parent.length();
+	  };
+
+	  /**
+	   * Returns the current sequence (since it is already indexed).
+	   */
+	  ArrayLikeSequence.prototype.getIndex = function getIndex() {
+	    return this;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#getIterator}.
+	   */
+	  ArrayLikeSequence.prototype.getIterator = function getIterator() {
+	    return new IndexedIterator(this);
+	  };
+
+	  /**
+	   * An optimized version of {@link Iterator} meant to work with already-indexed
+	   * sequences.
+	   *
+	   * @param {ArrayLikeSequence} sequence The sequence to iterate over.
+	   * @constructor
+	   */
+	  function IndexedIterator(sequence) {
+	    this.sequence = sequence;
+	    this.index    = -1;
+	  }
+
+	  IndexedIterator.prototype.current = function current() {
+	    return this.sequence.get(this.index);
+	  };
+
+	  IndexedIterator.prototype.moveNext = function moveNext() {
+	    if (this.index >= this.sequence.length() - 1) {
+	      return false;
+	    }
+
+	    ++this.index;
+	    return true;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#each}.
+	   */
+	  ArrayLikeSequence.prototype.each = function each(fn) {
+	    var length = this.length(),
+	        i = -1;
+
+	    while (++i < length) {
+	      if (fn(this.get(i), i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * Returns a new sequence with the same elements as this one, minus the last
+	   * element.
+	   *
+	   * @public
+	   * @returns {ArrayLikeSequence} The new array-like sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).pop() // sequence: [1, 2]
+	   * Lazy([]).pop()        // sequence: []
+	   */
+	  ArrayLikeSequence.prototype.pop = function pop() {
+	    return this.initial();
+	  };
+
+	  /**
+	   * Returns a new sequence with the same elements as this one, minus the first
+	   * element.
+	   *
+	   * @public
+	   * @returns {ArrayLikeSequence} The new array-like sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).shift() // sequence: [2, 3]
+	   * Lazy([]).shift()        // sequence: []
+	   */
+	  ArrayLikeSequence.prototype.shift = function shift() {
+	    return this.drop();
+	  };
+
+	  /**
+	   * Returns a new sequence comprising the portion of this sequence starting
+	   * from the specified starting index and continuing until the specified ending
+	   * index or to the end of the sequence.
+	   *
+	   * @public
+	   * @param {number} begin The index at which the new sequence should start.
+	   * @param {number=} end The index at which the new sequence should end.
+	   * @returns {ArrayLikeSequence} The new array-like sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).slice(0)     // sequence: [1, 2, 3, 4, 5]
+	   * Lazy([1, 2, 3, 4, 5]).slice(2)     // sequence: [3, 4, 5]
+	   * Lazy([1, 2, 3, 4, 5]).slice(2, 4)  // sequence: [3, 4]
+	   * Lazy([1, 2, 3, 4, 5]).slice(-1)    // sequence: [5]
+	   * Lazy([1, 2, 3, 4, 5]).slice(1, -1) // sequence: [2, 3, 4]
+	   * Lazy([1, 2, 3, 4, 5]).slice(0, 10) // sequence: [1, 2, 3, 4, 5]
+	   */
+	  ArrayLikeSequence.prototype.slice = function slice(begin, end) {
+	    var length = this.length();
+
+	    if (begin < 0) {
+	      begin = length + begin;
+	    }
+
+	    var result = this.drop(begin);
+
+	    if (typeof end === "number") {
+	      if (end < 0) {
+	        end = length + end;
+	      }
+	      result = result.take(end - begin);
+	    }
+
+	    return result;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#map}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).map(Lazy.identity) // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.map = function map(mapFn) {
+	    return new IndexedMappedSequence(this, createCallback(mapFn));
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedMappedSequence(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  IndexedMappedSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedMappedSequence.prototype.get = function get(i) {
+	    if (i < 0 || i >= this.parent.length()) {
+	      return undefined;
+	    }
+
+	    return this.mapFn(this.parent.get(i), i);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#filter}.
+	   */
+	  ArrayLikeSequence.prototype.filter = function filter(filterFn) {
+	    return new IndexedFilteredSequence(this, createCallback(filterFn));
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedFilteredSequence(parent, filterFn) {
+	    this.parent   = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  IndexedFilteredSequence.prototype = new FilteredSequence();
+
+	  IndexedFilteredSequence.prototype.each = function each(fn) {
+	    var parent = this.parent,
+	        filterFn = this.filterFn,
+	        length = this.parent.length(),
+	        i = -1,
+	        j = 0,
+	        e;
+
+	    while (++i < length) {
+	      e = parent.get(i);
+	      if (filterFn(e, i) && fn(e, j++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#reverse}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).reverse() // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.reverse = function reverse() {
+	    return new IndexedReversedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedReversedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  IndexedReversedSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedReversedSequence.prototype.get = function get(i) {
+	    return this.parent.get(this.length() - i - 1);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#first}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).first(2) // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.first = function first(count) {
+	    if (typeof count === "undefined") {
+	      return this.get(0);
+	    }
+
+	    return new IndexedTakeSequence(this, count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedTakeSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = count;
+	  }
+
+	  IndexedTakeSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedTakeSequence.prototype.length = function length() {
+	    var parentLength = this.parent.length();
+	    return this.count <= parentLength ? this.count : parentLength;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#rest}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).rest() // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.rest = function rest(count) {
+	    return new IndexedDropSequence(this, count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedDropSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = typeof count === "number" ? count : 1;
+	  }
+
+	  IndexedDropSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedDropSequence.prototype.get = function get(i) {
+	    return this.parent.get(this.count + i);
+	  };
+
+	  IndexedDropSequence.prototype.length = function length() {
+	    var parentLength = this.parent.length();
+	    return this.count <= parentLength ? parentLength - this.count : 0;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#concat} that returns another
+	   * {@link ArrayLikeSequence} *if* the argument is an array.
+	   *
+	   * @public
+	   * @param {...*} var_args
+	   *
+	   * @examples
+	   * Lazy([1, 2]).concat([3, 4]) // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2]).concat([3, 4]) // sequence: [1, 2, 3, 4]
+	   */
+	  ArrayLikeSequence.prototype.concat = function concat(var_args) {
+	    if (arguments.length === 1 && arguments[0] instanceof Array) {
+	      return new IndexedConcatenatedSequence(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return Sequence.prototype.concat.apply(this, arguments);
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedConcatenatedSequence(parent, other) {
+	    this.parent = parent;
+	    this.other  = other;
+	  }
+
+	  IndexedConcatenatedSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedConcatenatedSequence.prototype.get = function get(i) {
+	    var parentLength = this.parent.length();
+	    if (i < parentLength) {
+	      return this.parent.get(i);
+	    } else {
+	      return this.other[i - parentLength];
+	    }
+	  };
+
+	  IndexedConcatenatedSequence.prototype.length = function length() {
+	    return this.parent.length() + this.other.length;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#uniq}.
+	   */
+	  ArrayLikeSequence.prototype.uniq = function uniq(keyFn) {
+	    return new IndexedUniqueSequence(this, createCallback(keyFn));
+	  };
+
+	  /**
+	   * @param {ArrayLikeSequence} parent
+	   * @constructor
+	   */
+	  function IndexedUniqueSequence(parent, keyFn) {
+	    this.parent = parent;
+	    this.each   = getEachForParent(parent);
+	    this.keyFn  = keyFn;
+	  }
+
+	  IndexedUniqueSequence.prototype = new Sequence();
+
+	  IndexedUniqueSequence.prototype.eachArrayCache = function eachArrayCache(fn) {
+	    // Basically the same implementation as w/ the set, but using an array because
+	    // it's cheaper for smaller sequences.
+	    var parent = this.parent,
+	        keyFn  = this.keyFn,
+	        length = parent.length(),
+	        cache  = [],
+	        find   = arrayContains,
+	        key, value,
+	        i = -1,
+	        j = 0;
+
+	    while (++i < length) {
+	      value = parent.get(i);
+	      key = keyFn(value);
+	      if (!find(cache, key)) {
+	        cache.push(key);
+	        if (fn(value, j++) === false) {
+	          return false;
+	        }
+	      }
+	    }
+	  };
+
+	  IndexedUniqueSequence.prototype.eachSetCache = UniqueSequence.prototype.each;
+
+	  function getEachForParent(parent) {
+	    if (parent.length() < 100) {
+	      return IndexedUniqueSequence.prototype.eachArrayCache;
+	    } else {
+	      return UniqueSequence.prototype.each;
+	    }
+	  }
+
+	  // Now that we've fully initialized the ArrayLikeSequence prototype, we can
+	  // set the prototype for MemoizedSequence.
+
+	  MemoizedSequence.prototype = new ArrayLikeSequence();
+
+	  MemoizedSequence.prototype.cache = function cache() {
+	    return this.cachedResult || (this.cachedResult = this.parent.toArray());
+	  };
+
+	  MemoizedSequence.prototype.get = function get(i) {
+	    return this.cache()[i];
+	  };
+
+	  MemoizedSequence.prototype.length = function length() {
+	    return this.cache().length;
+	  };
+
+	  MemoizedSequence.prototype.slice = function slice(begin, end) {
+	    return this.cache().slice(begin, end);
+	  };
+
+	  MemoizedSequence.prototype.toArray = function toArray() {
+	    return this.cache().slice(0);
+	  };
+
+	  /**
+	   * ArrayWrapper is the most basic {@link Sequence}. It directly wraps an array
+	   * and implements the same methods as {@link ArrayLikeSequence}, but more
+	   * efficiently.
+	   *
+	   * @constructor
+	   */
+	  function ArrayWrapper(source) {
+	    this.source = source;
+	  }
+
+	  ArrayWrapper.prototype = new ArrayLikeSequence();
+
+	  ArrayWrapper.prototype.root = function root() {
+	    return this;
+	  };
+
+	  ArrayWrapper.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  /**
+	   * Returns the element at the specified index in the source array.
+	   *
+	   * @param {number} i The index to access.
+	   * @returns {*} The element.
+	   */
+	  ArrayWrapper.prototype.get = function get(i) {
+	    return this.source[i];
+	  };
+
+	  /**
+	   * Returns the length of the source array.
+	   *
+	   * @returns {number} The length.
+	   */
+	  ArrayWrapper.prototype.length = function length() {
+	    return this.source.length;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#each}.
+	   */
+	  ArrayWrapper.prototype.each = function each(fn) {
+	    return forEach(this.source, fn);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#map}.
+	   */
+	  ArrayWrapper.prototype.map = function map(mapFn) {
+	    return new MappedArrayWrapper(this, createCallback(mapFn));
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#filter}.
+	   */
+	  ArrayWrapper.prototype.filter = function filter(filterFn) {
+	    return new FilteredArrayWrapper(this, createCallback(filterFn));
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#uniq}.
+	   */
+	  ArrayWrapper.prototype.uniq = function uniq(keyFn) {
+	    return new UniqueArrayWrapper(this, keyFn);
+	  };
+
+	  /**
+	   * An optimized version of {@link ArrayLikeSequence#concat}.
+	   *
+	   * @param {...*} var_args
+	   */
+	  ArrayWrapper.prototype.concat = function concat(var_args) {
+	    if (arguments.length === 1 && arguments[0] instanceof Array) {
+	      return new ConcatArrayWrapper(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return ArrayLikeSequence.prototype.concat.apply(this, arguments);
+	    }
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#toArray}.
+	   */
+	  ArrayWrapper.prototype.toArray = function toArray() {
+	    return this.source.slice(0);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappedArrayWrapper(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  MappedArrayWrapper.prototype = new ArrayLikeSequence();
+
+	  MappedArrayWrapper.prototype.get = function get(i) {
+	    var source = this.parent.source;
+
+	    if (i < 0 || i >= source.length) {
+	      return undefined;
+	    }
+
+	    return this.mapFn(source[i]);
+	  };
+
+	  MappedArrayWrapper.prototype.length = function length() {
+	    return this.parent.source.length;
+	  };
+
+	  MappedArrayWrapper.prototype.each = function each(fn) {
+	    var source = this.parent.source,
+	        length = source.length,
+	        mapFn  = this.mapFn,
+	        i = -1;
+
+	    while (++i < length) {
+	      if (fn(mapFn(source[i], i), i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FilteredArrayWrapper(parent, filterFn) {
+	    this.parent   = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  FilteredArrayWrapper.prototype = new FilteredSequence();
+
+	  FilteredArrayWrapper.prototype.each = function each(fn) {
+	    var source = this.parent.source,
+	        filterFn = this.filterFn,
+	        length = source.length,
+	        i = -1,
+	        j = 0,
+	        e;
+
+	    while (++i < length) {
+	      e = source[i];
+	      if (filterFn(e, i) && fn(e, j++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function UniqueArrayWrapper(parent, keyFn) {
+	    this.parent = parent;
+	    this.each   = getEachForSource(parent.source);
+	    this.keyFn  = keyFn;
+	  }
+
+	  UniqueArrayWrapper.prototype = new Sequence();
+
+	  UniqueArrayWrapper.prototype.eachNoCache = function eachNoCache(fn) {
+	    var source = this.parent.source,
+	        keyFn  = this.keyFn,
+	        length = source.length,
+	        find   = arrayContainsBefore,
+	        value,
+
+	        // Yes, this is hideous.
+	        // Trying to get performance first, will refactor next!
+	        i = -1,
+	        k = 0;
+
+	    while (++i < length) {
+	      value = source[i];
+	      if (!find(source, value, i, keyFn) && fn(value, k++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  UniqueArrayWrapper.prototype.eachArrayCache = function eachArrayCache(fn) {
+	    // Basically the same implementation as w/ the set, but using an array because
+	    // it's cheaper for smaller sequences.
+	    var source = this.parent.source,
+	        keyFn  = this.keyFn,
+	        length = source.length,
+	        cache  = [],
+	        find   = arrayContains,
+	        key, value,
+	        i = -1,
+	        j = 0;
+
+	    if (keyFn) {
+	      keyFn = createCallback(keyFn);
+	      while (++i < length) {
+	        value = source[i];
+	        key = keyFn(value);
+	        if (!find(cache, key)) {
+	          cache.push(key);
+	          if (fn(value, j++) === false) {
+	            return false;
+	          }
+	        }
+	      }
+
+	    } else {
+	      while (++i < length) {
+	        value = source[i];
+	        if (!find(cache, value)) {
+	          cache.push(value);
+	          if (fn(value, j++) === false) {
+	            return false;
+	          }
+	        }
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  UniqueArrayWrapper.prototype.eachSetCache = UniqueSequence.prototype.each;
+
+	  /**
+	   * My latest findings here...
+	   *
+	   * So I hadn't really given the set-based approach enough credit. The main issue
+	   * was that my Set implementation was totally not optimized at all. After pretty
+	   * heavily optimizing it (just take a look; it's a monstrosity now!), it now
+	   * becomes the fastest option for much smaller values of N.
+	   */
+	  function getEachForSource(source) {
+	    if (source.length < 40) {
+	      return UniqueArrayWrapper.prototype.eachNoCache;
+	    } else if (source.length < 100) {
+	      return UniqueArrayWrapper.prototype.eachArrayCache;
+	    } else {
+	      return UniqueArrayWrapper.prototype.eachSetCache;
+	    }
+	  }
+
+	  /**
+	   * @constructor
+	   */
+	  function ConcatArrayWrapper(parent, other) {
+	    this.parent = parent;
+	    this.other  = other;
+	  }
+
+	  ConcatArrayWrapper.prototype = new ArrayLikeSequence();
+
+	  ConcatArrayWrapper.prototype.get = function get(i) {
+	    var source = this.parent.source,
+	        sourceLength = source.length;
+
+	    if (i < sourceLength) {
+	      return source[i];
+	    } else {
+	      return this.other[i - sourceLength];
+	    }
+	  };
+
+	  ConcatArrayWrapper.prototype.length = function length() {
+	    return this.parent.source.length + this.other.length;
+	  };
+
+	  ConcatArrayWrapper.prototype.each = function each(fn) {
+	    var source = this.parent.source,
+	        sourceLength = source.length,
+	        other = this.other,
+	        otherLength = other.length,
+	        i = 0,
+	        j = -1;
+
+	    while (++j < sourceLength) {
+	      if (fn(source[j], i++) === false) {
+	        return false;
+	      }
+	    }
+
+	    j = -1;
+	    while (++j < otherLength) {
+	      if (fn(other[j], i++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * An `ObjectLikeSequence` object represents a sequence of key/value pairs.
+	   *
+	   * The initial sequence you get by wrapping an object with `Lazy(object)` is
+	   * an `ObjectLikeSequence`.
+	   *
+	   * All methods of `ObjectLikeSequence` that conceptually should return
+	   * something like an object return another `ObjectLikeSequence`.
+	   *
+	   * @public
+	   * @constructor
+	   *
+	   * @examples
+	   * var obj = { foo: 'bar' };
+	   *
+	   * Lazy(obj).assign({ bar: 'baz' })   // instanceof Lazy.ObjectLikeSequence
+	   * Lazy(obj).defaults({ bar: 'baz' }) // instanceof Lazy.ObjectLikeSequence
+	   * Lazy(obj).invert()                 // instanceof Lazy.ObjectLikeSequence
+	   */
+	  function ObjectLikeSequence() {}
+
+	  ObjectLikeSequence.prototype = new Sequence();
+
+	  /**
+	   * Create a new constructor function for a type inheriting from
+	   * `ObjectLikeSequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `ObjectLikeSequence` prototype so that it can be chained with any other
+	   *     methods that return object-like sequences.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. **Must** include `each`. *May* include `init` and
+	   *     `get` (for looking up an element by key).
+	   * @returns {Function} A constructor for a new type inheriting from
+	   *     `ObjectLikeSequence`.
+	   *
+	   * @examples
+	   * function downcaseKey(value, key) {
+	   *   return [key.toLowerCase(), value];
+	   * }
+	   *
+	   * Lazy.ObjectLikeSequence.define("caseInsensitive", {
+	   *   init: function() {
+	   *     var downcased = this.parent
+	   *       .map(downcaseKey)
+	   *       .toObject();
+	   *     this.downcased = Lazy(downcased);
+	   *   },
+	   *
+	   *   get: function(key) {
+	   *     return this.downcased.get(key.toLowerCase());
+	   *   },
+	   *
+	   *   each: function(fn) {
+	   *     return this.downcased.each(fn);
+	   *   }
+	   * });
+	   *
+	   * Lazy({ Foo: 'bar' }).caseInsensitive()            // sequence: { foo: 'bar' }
+	   * Lazy({ FOO: 'bar' }).caseInsensitive().get('foo') // => 'bar'
+	   * Lazy({ FOO: 'bar' }).caseInsensitive().get('FOO') // => 'bar'
+	   */
+	  ObjectLikeSequence.define = function define(methodName, overrides) {
+	    if (!overrides || typeof overrides.each !== 'function') {
+	      throw new Error("A custom object-like sequence must implement *at least* each!");
+	    }
+
+	    return defineSequenceType(ObjectLikeSequence, methodName, overrides);
+	  };
+
+	  ObjectLikeSequence.prototype.value = function value() {
+	    return this.toObject();
+	  };
+
+	  /**
+	   * Gets the element at the specified key in this sequence.
+	   *
+	   * @public
+	   * @param {string} key The key.
+	   * @returns {*} The element.
+	   *
+	   * @examples
+	   * Lazy({ foo: "bar" }).get("foo")                          // => "bar"
+	   * Lazy({ foo: "bar" }).extend({ foo: "baz" }).get("foo")   // => "baz"
+	   * Lazy({ foo: "bar" }).defaults({ bar: "baz" }).get("bar") // => "baz"
+	   * Lazy({ foo: "bar" }).invert().get("bar")                 // => "foo"
+	   * Lazy({ foo: 1, bar: 2 }).pick(["foo"]).get("foo")        // => 1
+	   * Lazy({ foo: 1, bar: 2 }).pick(["foo"]).get("bar")        // => undefined
+	   * Lazy({ foo: 1, bar: 2 }).omit(["foo"]).get("bar")        // => 2
+	   * Lazy({ foo: 1, bar: 2 }).omit(["foo"]).get("foo")        // => undefined
+	   */
+	  ObjectLikeSequence.prototype.get = function get(key) {
+	    var pair = this.pairs().find(function(pair) {
+	      return pair[0] === key;
+	    });
+
+	    return pair ? pair[1] : undefined;
+	  };
+
+	  /**
+	   * Returns a {@link Sequence} whose elements are the keys of this object-like
+	   * sequence.
+	   *
+	   * @public
+	   * @returns {Sequence} The sequence based on this sequence's keys.
+	   *
+	   * @examples
+	   * Lazy({ hello: "hola", goodbye: "hasta luego" }).keys() // sequence: ["hello", "goodbye"]
+	   */
+	  ObjectLikeSequence.prototype.keys = function keys() {
+	    return this.map(function(v, k) { return k; });
+	  };
+
+	  /**
+	   * Returns a {@link Sequence} whose elements are the values of this object-like
+	   * sequence.
+	   *
+	   * @public
+	   * @returns {Sequence} The sequence based on this sequence's values.
+	   *
+	   * @examples
+	   * Lazy({ hello: "hola", goodbye: "hasta luego" }).values() // sequence: ["hola", "hasta luego"]
+	   */
+	  ObjectLikeSequence.prototype.values = function values() {
+	    return this.map(function(v, k) { return v; });
+	  };
+
+	  /**
+	   * Throws an exception. Asynchronous iteration over object-like sequences is
+	   * not supported.
+	   *
+	   * @public
+	   * @examples
+	   * Lazy({ foo: 'bar' }).async() // throws
+	   */
+	  ObjectLikeSequence.prototype.async = function async() {
+	    throw new Error('An ObjectLikeSequence does not support asynchronous iteration.');
+	  };
+
+	  ObjectLikeSequence.prototype.filter = function filter(filterFn) {
+	    return new FilteredObjectLikeSequence(this, createCallback(filterFn));
+	  };
+
+	  function FilteredObjectLikeSequence(parent, filterFn) {
+	    this.parent = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  FilteredObjectLikeSequence.prototype = new ObjectLikeSequence();
+
+	  FilteredObjectLikeSequence.prototype.each = function each(fn) {
+	    var filterFn = this.filterFn;
+
+	    return this.parent.each(function(v, k) {
+	      if (filterFn(v, k)) {
+	        return fn(v, k);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Returns this same sequence. (Reversing an object-like sequence doesn't make
+	   * any sense.)
+	   */
+	  ObjectLikeSequence.prototype.reverse = function reverse() {
+	    return this;
+	  };
+
+	  /**
+	   * Returns an {@link ObjectLikeSequence} whose elements are the combination of
+	   * this sequence and another object. In the case of a key appearing in both this
+	   * sequence and the given object, the other object's value will override the
+	   * one in this sequence.
+	   *
+	   * @public
+	   * @aka extend
+	   * @param {Object} other The other object to assign to this sequence.
+	   * @returns {ObjectLikeSequence} A new sequence comprising elements from this
+	   *     sequence plus the contents of `other`.
+	   *
+	   * @examples
+	   * Lazy({ "uno": 1, "dos": 2 }).assign({ "tres": 3 }) // sequence: { uno: 1, dos: 2, tres: 3 }
+	   * Lazy({ foo: "bar" }).assign({ foo: "baz" });       // sequence: { foo: "baz" }
+	   */
+	  ObjectLikeSequence.prototype.assign = function assign(other) {
+	    return new AssignSequence(this, other);
+	  };
+
+	  ObjectLikeSequence.prototype.extend = function extend(other) {
+	    return this.assign(other);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function AssignSequence(parent, other) {
+	    this.parent = parent;
+	    this.other  = other;
+	  }
+
+	  AssignSequence.prototype = new ObjectLikeSequence();
+
+	  AssignSequence.prototype.get = function get(key) {
+	    return this.other[key] || this.parent.get(key);
+	  };
+
+	  AssignSequence.prototype.each = function each(fn) {
+	    var merged = new Set(),
+	        done   = false;
+
+	    Lazy(this.other).each(function(value, key) {
+	      if (fn(value, key) === false) {
+	        done = true;
+	        return false;
+	      }
+
+	      merged.add(key);
+	    });
+
+	    if (!done) {
+	      return this.parent.each(function(value, key) {
+	        if (!merged.contains(key) && fn(value, key) === false) {
+	          return false;
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Returns an {@link ObjectLikeSequence} whose elements are the combination of
+	   * this sequence and a 'default' object. In the case of a key appearing in both
+	   * this sequence and the given object, this sequence's value will override the
+	   * default object's.
+	   *
+	   * @public
+	   * @param {Object} defaults The 'default' object to use for missing keys in this
+	   *     sequence.
+	   * @returns {ObjectLikeSequence} A new sequence comprising elements from this
+	   *     sequence supplemented by the contents of `defaults`.
+	   *
+	   * @examples
+	   * Lazy({ name: "Dan" }).defaults({ name: "User", password: "passw0rd" }) // sequence: { name: "Dan", password: "passw0rd" }
+	   */
+	  ObjectLikeSequence.prototype.defaults = function defaults(defaults) {
+	    return new DefaultsSequence(this, defaults);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function DefaultsSequence(parent, defaults) {
+	    this.parent   = parent;
+	    this.defaults = defaults;
+	  }
+
+	  DefaultsSequence.prototype = new ObjectLikeSequence();
+
+	  DefaultsSequence.prototype.get = function get(key) {
+	    return this.parent.get(key) || this.defaults[key];
+	  };
+
+	  DefaultsSequence.prototype.each = function each(fn) {
+	    var merged = new Set(),
+	        done   = false;
+
+	    this.parent.each(function(value, key) {
+	      if (fn(value, key) === false) {
+	        done = true;
+	        return false;
+	      }
+
+	      if (typeof value !== "undefined") {
+	        merged.add(key);
+	      }
+	    });
+
+	    if (!done) {
+	      Lazy(this.defaults).each(function(value, key) {
+	        if (!merged.contains(key) && fn(value, key) === false) {
+	          return false;
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Returns an {@link ObjectLikeSequence} whose values are this sequence's keys,
+	   * and whose keys are this sequence's values.
+	   *
+	   * @public
+	   * @returns {ObjectLikeSequence} A new sequence comprising the inverted keys and
+	   *     values from this sequence.
+	   *
+	   * @examples
+	   * Lazy({ first: "Dan", last: "Tao" }).invert() // sequence: { Dan: "first", Tao: "last" }
+	   */
+	  ObjectLikeSequence.prototype.invert = function invert() {
+	    return new InvertedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function InvertedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  InvertedSequence.prototype = new ObjectLikeSequence();
+
+	  InvertedSequence.prototype.each = function each(fn) {
+	    this.parent.each(function(value, key) {
+	      return fn(key, value);
+	    });
+	  };
+
+	  /**
+	   * Produces an {@link ObjectLikeSequence} consisting of all the recursively
+	   * merged values from this and the given object(s) or sequence(s).
+	   *
+	   * Note that by default this method only merges "vanilla" objects (bags of
+	   * key/value pairs), not arrays or any other custom object types. To customize
+	   * how merging works, you can provide the mergeFn argument, e.g. to handling
+	   * merging arrays, strings, or other types of objects.
+	   *
+	   * @public
+	   * @param {...Object|ObjectLikeSequence} others The other object(s) or
+	   *     sequence(s) whose values will be merged into this one.
+	   * @param {Function=} mergeFn An optional function used to customize merging
+	   *     behavior. The function should take two values as parameters and return
+	   *     whatever the "merged" form of those values is. If the function returns
+	   *     undefined then the new value will simply replace the old one in the
+	   *     final result.
+	   * @returns {ObjectLikeSequence} The new sequence consisting of merged values.
+	   *
+	   * @examples
+	   * // These examples are completely stolen from Lo-Dash's documentation:
+	   * // lodash.com/docs#merge
+	   *
+	   * var names = {
+	   *   'characters': [
+	   *     { 'name': 'barney' },
+	   *     { 'name': 'fred' }
+	   *   ]
+	   * };
+	   *
+	   * var ages = {
+	   *   'characters': [
+	   *     { 'age': 36 },
+	   *     { 'age': 40 }
+	   *   ]
+	   * };
+	   *
+	   * var food = {
+	   *   'fruits': ['apple'],
+	   *   'vegetables': ['beet']
+	   * };
+	   *
+	   * var otherFood = {
+	   *   'fruits': ['banana'],
+	   *   'vegetables': ['carrot']
+	   * };
+	   *
+	   * function mergeArrays(a, b) {
+	   *   return Array.isArray(a) ? a.concat(b) : undefined;
+	   * }
+	   *
+	   * Lazy(names).merge(ages); // => sequence: { 'characters': [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }] }
+	   * Lazy(food).merge(otherFood, mergeArrays); // => sequence: { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }
+	   *
+	   * // ----- Now for my own tests: -----
+	   *
+	   * // merges objects
+	   * Lazy({ foo: 1 }).merge({ foo: 2 }); // => sequence: { foo: 2 }
+	   * Lazy({ foo: 1 }).merge({ bar: 2 }); // => sequence: { foo: 1, bar: 2 }
+	   *
+	   * // goes deep
+	   * Lazy({ foo: { bar: 1 } }).merge({ foo: { bar: 2 } }); // => sequence: { foo: { bar: 2 } }
+	   * Lazy({ foo: { bar: 1 } }).merge({ foo: { baz: 2 } }); // => sequence: { foo: { bar: 1, baz: 2 } }
+	   * Lazy({ foo: { bar: 1 } }).merge({ foo: { baz: 2 } }); // => sequence: { foo: { bar: 1, baz: 2 } }
+	   *
+	   * // gives precedence to later sources
+	   * Lazy({ foo: 1 }).merge({ bar: 2 }, { bar: 3 }); // => sequence: { foo: 1, bar: 3 }
+	   *
+	   * // undefined gets passed over
+	   * Lazy({ foo: 1 }).merge({ foo: undefined }); // => sequence: { foo: 1 }
+	   *
+	   * // null doesn't get passed over
+	   * Lazy({ foo: 1 }).merge({ foo: null }); // => sequence: { foo: null }
+	   *
+	   * // array contents get merged as well
+	   * Lazy({ foo: [{ bar: 1 }] }).merge({ foo: [{ baz: 2 }] }); // => sequence: { foo: [{ bar: 1, baz: 2}] }
+	   */
+	  ObjectLikeSequence.prototype.merge = function merge(var_args) {
+	    var mergeFn = arguments.length > 1 && typeof arguments[arguments.length - 1] === "function" ?
+	      arrayPop.call(arguments) : null;
+	    return new MergedSequence(this, arraySlice.call(arguments, 0), mergeFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MergedSequence(parent, others, mergeFn) {
+	    this.parent  = parent;
+	    this.others  = others;
+	    this.mergeFn = mergeFn;
+	  }
+
+	  MergedSequence.prototype = new ObjectLikeSequence();
+
+	  MergedSequence.prototype.each = function each(fn) {
+	    var others  = this.others,
+	        mergeFn = this.mergeFn || mergeObjects,
+	        keys    = {};
+
+	    var iteratedFullSource = this.parent.each(function(value, key) {
+	      var merged = value;
+
+	      forEach(others, function(other) {
+	        if (key in other) {
+	          merged = mergeFn(merged, other[key]);
+	        }
+	      });
+
+	      keys[key] = true;
+
+	      return fn(merged, key);
+	    });
+
+	    if (iteratedFullSource === false) {
+	      return false;
+	    }
+
+	    var remaining = {};
+
+	    forEach(others, function(other) {
+	      for (var k in other) {
+	        if (!keys[k]) {
+	          remaining[k] = mergeFn(remaining[k], other[k]);
+	        }
+	      }
+	    });
+
+	    return Lazy(remaining).each(fn);
+	  };
+
+	  /**
+	   * @private
+	   * @examples
+	   * mergeObjects({ foo: 1 }, { bar: 2 }); // => { foo: 1, bar: 2 }
+	   * mergeObjects({ foo: { bar: 1 } }, { foo: { baz: 2 } }); // => { foo: { bar: 1, baz: 2 } }
+	   * mergeObjects({ foo: { bar: 1 } }, { foo: undefined }); // => { foo: { bar: 1 } }
+	   * mergeObjects({ foo: { bar: 1 } }, { foo: null }); // => { foo: null }
+	   * mergeObjects({ array: [0, 1, 2] }, { array: [3, 4, 5] }).array; // instanceof Array
+	   * mergeObjects({ date: new Date() }, { date: new Date() }).date; // instanceof Date
+	   * mergeObjects([{ foo: 1 }], [{ bar: 2 }]); // => [{ foo: 1, bar: 2 }]
+	   */
+	  function mergeObjects(a, b) {
+	    var merged, prop;
+
+	    if (typeof b === 'undefined') {
+	      return a;
+	    }
+
+	    // Check that we're dealing with two objects or two arrays.
+	    if (isVanillaObject(a) && isVanillaObject(b)) {
+	      merged = {};
+	    } else if (a instanceof Array && b instanceof Array) {
+	      merged = [];
+	    } else {
+	      // Otherwise there's no merging to do -- just replace a w/ b.
+	      return b;
+	    }
+
+	    for (prop in a) {
+	      merged[prop] = mergeObjects(a[prop], b[prop]);
+	    }
+	    for (prop in b) {
+	      if (!merged[prop]) {
+	        merged[prop] = b[prop];
+	      }
+	    }
+	    return merged;
+	  }
+
+	  /**
+	   * Checks whether an object is a "vanilla" object, i.e. {'foo': 'bar'} as
+	   * opposed to an array, date, etc.
+	   *
+	   * @private
+	   * @examples
+	   * isVanillaObject({foo: 'bar'}); // => true
+	   * isVanillaObject(new Date());   // => false
+	   * isVanillaObject([1, 2, 3]);    // => false
+	   */
+	  function isVanillaObject(object) {
+	    return object && object.constructor === Object;
+	  }
+
+	  /**
+	   * Creates a {@link Sequence} consisting of the keys from this sequence whose
+	   *     values are functions.
+	   *
+	   * @public
+	   * @aka methods
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var dog = {
+	   *   name: "Fido",
+	   *   breed: "Golden Retriever",
+	   *   bark: function() { console.log("Woof!"); },
+	   *   wagTail: function() { console.log("TODO: implement robotic dog interface"); }
+	   * };
+	   *
+	   * Lazy(dog).functions() // sequence: ["bark", "wagTail"]
+	   */
+	  ObjectLikeSequence.prototype.functions = function functions() {
+	    return this
+	      .filter(function(v, k) { return typeof(v) === "function"; })
+	      .map(function(v, k) { return k; });
+	  };
+
+	  ObjectLikeSequence.prototype.methods = function methods() {
+	    return this.functions();
+	  };
+
+	  /**
+	   * Creates an {@link ObjectLikeSequence} consisting of the key/value pairs from
+	   * this sequence whose keys are included in the given array of property names.
+	   *
+	   * @public
+	   * @param {Array} properties An array of the properties to "pick" from this
+	   *     sequence.
+	   * @returns {ObjectLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * var players = {
+	   *   "who": "first",
+	   *   "what": "second",
+	   *   "i don't know": "third"
+	   * };
+	   *
+	   * Lazy(players).pick(["who", "what"]) // sequence: { who: "first", what: "second" }
+	   */
+	  ObjectLikeSequence.prototype.pick = function pick(properties) {
+	    return new PickSequence(this, properties);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function PickSequence(parent, properties) {
+	    this.parent     = parent;
+	    this.properties = properties;
+	  }
+
+	  PickSequence.prototype = new ObjectLikeSequence();
+
+	  PickSequence.prototype.get = function get(key) {
+	    return arrayContains(this.properties, key) ? this.parent.get(key) : undefined;
+	  };
+
+	  PickSequence.prototype.each = function each(fn) {
+	    var inArray    = arrayContains,
+	        properties = this.properties;
+
+	    return this.parent.each(function(value, key) {
+	      if (inArray(properties, key)) {
+	        return fn(value, key);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Creates an {@link ObjectLikeSequence} consisting of the key/value pairs from
+	   * this sequence excluding those with the specified keys.
+	   *
+	   * @public
+	   * @param {Array} properties An array of the properties to *omit* from this
+	   *     sequence.
+	   * @returns {ObjectLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * var players = {
+	   *   "who": "first",
+	   *   "what": "second",
+	   *   "i don't know": "third"
+	   * };
+	   *
+	   * Lazy(players).omit(["who", "what"]) // sequence: { "i don't know": "third" }
+	   */
+	  ObjectLikeSequence.prototype.omit = function omit(properties) {
+	    return new OmitSequence(this, properties);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function OmitSequence(parent, properties) {
+	    this.parent     = parent;
+	    this.properties = properties;
+	  }
+
+	  OmitSequence.prototype = new ObjectLikeSequence();
+
+	  OmitSequence.prototype.get = function get(key) {
+	    return arrayContains(this.properties, key) ? undefined : this.parent.get(key);
+	  };
+
+	  OmitSequence.prototype.each = function each(fn) {
+	    var inArray    = arrayContains,
+	        properties = this.properties;
+
+	    return this.parent.each(function(value, key) {
+	      if (!inArray(properties, key)) {
+	        return fn(value, key);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Maps the key/value pairs in this sequence to arrays.
+	   *
+	   * @public
+	   * @aka toArray
+	   * @returns {Sequence} An sequence of `[key, value]` pairs.
+	   *
+	   * @examples
+	   * var colorCodes = {
+	   *   red: "#f00",
+	   *   green: "#0f0",
+	   *   blue: "#00f"
+	   * };
+	   *
+	   * Lazy(colorCodes).pairs() // sequence: [["red", "#f00"], ["green", "#0f0"], ["blue", "#00f"]]
+	   */
+	  ObjectLikeSequence.prototype.pairs = function pairs() {
+	    return this.map(function(v, k) { return [k, v]; });
+	  };
+
+	  /**
+	   * Creates an array from the key/value pairs in this sequence.
+	   *
+	   * @public
+	   * @returns {Array} An array of `[key, value]` elements.
+	   *
+	   * @examples
+	   * var colorCodes = {
+	   *   red: "#f00",
+	   *   green: "#0f0",
+	   *   blue: "#00f"
+	   * };
+	   *
+	   * Lazy(colorCodes).toArray() // => [["red", "#f00"], ["green", "#0f0"], ["blue", "#00f"]]
+	   */
+	  ObjectLikeSequence.prototype.toArray = function toArray() {
+	    return this.pairs().toArray();
+	  };
+
+	  /**
+	   * Creates an object with the key/value pairs from this sequence.
+	   *
+	   * @public
+	   * @returns {Object} An object with the same key/value pairs as this sequence.
+	   *
+	   * @examples
+	   * var colorCodes = {
+	   *   red: "#f00",
+	   *   green: "#0f0",
+	   *   blue: "#00f"
+	   * };
+	   *
+	   * Lazy(colorCodes).toObject() // => { red: "#f00", green: "#0f0", blue: "#00f" }
+	   */
+	  ObjectLikeSequence.prototype.toObject = function toObject() {
+	    return this.reduce(function(object, value, key) {
+	      object[key] = value;
+	      return object;
+	    }, {});
+	  };
+
+	  // Now that we've fully initialized the ObjectLikeSequence prototype, we can
+	  // actually set the prototypes for GroupedSequence, IndexedSequence, and
+	  // CountedSequence.
+
+	  GroupedSequence.prototype = new ObjectLikeSequence();
+
+	  GroupedSequence.prototype.each = function each(fn) {
+	    var keyFn   = createCallback(this.keyFn),
+	        valFn   = createCallback(this.valFn),
+	        result;
+
+	    result = this.parent.reduce(function(grouped,e) {
+	      var key = keyFn(e),
+	          val = valFn(e);
+	      if (!(grouped[key] instanceof Array)) {
+	        grouped[key] = [val];
+	      } else {
+	        grouped[key].push(val);
+	      }
+	      return grouped;
+	    },{});
+
+	    return transform(function(grouped) {
+	      for (var key in grouped) {
+	        if (fn(grouped[key], key) === false) {
+	          return false;
+	        }
+	      }
+	    }, result);
+	  };
+
+	  IndexedSequence.prototype = new ObjectLikeSequence();
+
+	  IndexedSequence.prototype.each = function each(fn) {
+	    var keyFn   = createCallback(this.keyFn),
+	        valFn   = createCallback(this.valFn),
+	        indexed = {};
+
+	    return this.parent.each(function(e) {
+	      var key = keyFn(e),
+	          val = valFn(e);
+
+	      if (!indexed[key]) {
+	        indexed[key] = val;
+	        return fn(val, key);
+	      }
+	    });
+	  };
+
+	  CountedSequence.prototype = new ObjectLikeSequence();
+
+	  CountedSequence.prototype.each = function each(fn) {
+	    var keyFn   = createCallback(this.keyFn),
+	        counted = {};
+
+	    this.parent.each(function(e) {
+	      var key = keyFn(e);
+	      if (!counted[key]) {
+	        counted[key] = 1;
+	      } else {
+	        counted[key] += 1;
+	      }
+	    });
+
+	    for (var key in counted) {
+	      if (fn(counted[key], key) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * Watches for all changes to a specified property (or properties) of an
+	   * object and produces a sequence whose elements have the properties
+	   * `{ property, value }` indicating which property changed and what it was
+	   * changed to.
+	   *
+	   * Note that this method **only works on directly wrapped objects**; it will
+	   * *not* work on any arbitrary {@link ObjectLikeSequence}.
+	   *
+	   * @public
+	   * @param {(string|Array)=} propertyNames A property name or array of property
+	   *     names to watch. If this parameter is `undefined`, all of the object's
+	   *     current (enumerable) properties will be watched.
+	   * @returns {Sequence} A sequence comprising `{ property, value }` objects
+	   *     describing each change to the specified property/properties.
+	   *
+	   * @examples
+	   * var obj = {},
+	   *     changes = [];
+	   *
+	   * Lazy(obj).watch('foo').each(function(change) {
+	   *   changes.push(change);
+	   * });
+	   *
+	   * obj.foo = 1;
+	   * obj.bar = 2;
+	   * obj.foo = 3;
+	   *
+	   * obj.foo; // => 3
+	   * changes; // => [{ property: 'foo', value: 1 }, { property: 'foo', value: 3 }]
+	   */
+	  ObjectLikeSequence.prototype.watch = function watch(propertyNames) {
+	    throw new Error('You can only call #watch on a directly wrapped object.');
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ObjectWrapper(source) {
+	    this.source = source;
+	  }
+
+	  ObjectWrapper.prototype = new ObjectLikeSequence();
+
+	  ObjectWrapper.prototype.root = function root() {
+	    return this;
+	  };
+
+	  ObjectWrapper.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  ObjectWrapper.prototype.get = function get(key) {
+	    return this.source[key];
+	  };
+
+	  ObjectWrapper.prototype.each = function each(fn) {
+	    var source = this.source,
+	        key;
+
+	    for (key in source) {
+	      if (fn(source[key], key) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * A `StringLikeSequence` represents a sequence of characters.
+	   *
+	   * The initial sequence you get by wrapping a string with `Lazy(string)` is a
+	   * `StringLikeSequence`.
+	   *
+	   * All methods of `StringLikeSequence` that conceptually should return
+	   * something like a string return another `StringLikeSequence`.
+	   *
+	   * @public
+	   * @constructor
+	   *
+	   * @examples
+	   * function upcase(str) { return str.toUpperCase(); }
+	   *
+	   * Lazy('foo')               // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').toUpperCase() // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').reverse()     // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').take(2)       // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').drop(1)       // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').substring(1)  // instanceof Lazy.StringLikeSequence
+	   *
+	   * // Note that `map` does not create a `StringLikeSequence` because there's
+	   * // no guarantee the mapping function will return characters. In the event
+	   * // you do want to map a string onto a string-like sequence, use
+	   * // `mapString`:
+	   * Lazy('foo').map(Lazy.identity)       // instanceof Lazy.ArrayLikeSequence
+	   * Lazy('foo').mapString(Lazy.identity) // instanceof Lazy.StringLikeSequence
+	   */
+	  function StringLikeSequence() {}
+
+	  StringLikeSequence.prototype = new ArrayLikeSequence();
+
+	  /**
+	   * Create a new constructor function for a type inheriting from
+	   * `StringLikeSequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `StringLikeSequence` prototype so that it can be chained with any other
+	   *     methods that return string-like sequences.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. Has the same requirements as
+	   *     {@link ArrayLikeSequence.define}.
+	   * @returns {Function} A constructor for a new type inheriting from
+	   *     `StringLikeSequence`.
+	   *
+	   * @examples
+	   * Lazy.StringLikeSequence.define("zomg", {
+	   *   length: function() {
+	   *     return this.parent.length() + "!!ZOMG!!!1".length;
+	   *   },
+	   *
+	   *   get: function(i) {
+	   *     if (i < this.parent.length()) {
+	   *       return this.parent.get(i);
+	   *     }
+	   *     return "!!ZOMG!!!1".charAt(i - this.parent.length());
+	   *   }
+	   * });
+	   *
+	   * Lazy('foo').zomg() // sequence: "foo!!ZOMG!!!1"
+	   */
+	  StringLikeSequence.define = function define(methodName, overrides) {
+	    if (!overrides || typeof overrides.get !== 'function') {
+	      throw new Error("A custom string-like sequence must implement *at least* get!");
+	    }
+
+	    return defineSequenceType(StringLikeSequence, methodName, overrides);
+	  };
+
+	  StringLikeSequence.prototype.value = function value() {
+	    return this.toString();
+	  };
+
+	  /**
+	   * Returns an {@link IndexedIterator} that will step over each character in this
+	   * sequence one by one.
+	   *
+	   * @returns {IndexedIterator} The iterator.
+	   */
+	  StringLikeSequence.prototype.getIterator = function getIterator() {
+	    return new CharIterator(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function CharIterator(source) {
+	    this.source = Lazy(source);
+	    this.index = -1;
+	  }
+
+	  CharIterator.prototype.current = function current() {
+	    return this.source.charAt(this.index);
+	  };
+
+	  CharIterator.prototype.moveNext = function moveNext() {
+	    return (++this.index < this.source.length());
+	  };
+
+	  /**
+	   * Returns the character at the given index of this sequence, or the empty
+	   * string if the specified index lies outside the bounds of the sequence.
+	   *
+	   * @public
+	   * @param {number} i The index of this sequence.
+	   * @returns {string} The character at the specified index.
+	   *
+	   * @examples
+	   * Lazy("foo").charAt(0)  // => "f"
+	   * Lazy("foo").charAt(-1) // => ""
+	   * Lazy("foo").charAt(10) // => ""
+	   */
+	  StringLikeSequence.prototype.charAt = function charAt(i) {
+	    return this.get(i);
+	  };
+
+	  /**
+	   * Returns the character code at the given index of this sequence, or `NaN` if
+	   * the index lies outside the bounds of the sequence.
+	   *
+	   * @public
+	   * @param {number} i The index of the character whose character code you want.
+	   * @returns {number} The character code.
+	   *
+	   * @examples
+	   * Lazy("abc").charCodeAt(0)  // => 97
+	   * Lazy("abc").charCodeAt(-1) // => NaN
+	   * Lazy("abc").charCodeAt(10) // => NaN
+	   */
+	  StringLikeSequence.prototype.charCodeAt = function charCodeAt(i) {
+	    var char = this.charAt(i);
+	    if (!char) { return NaN; }
+
+	    return char.charCodeAt(0);
+	  };
+
+	  /**
+	   * Returns a {@link StringLikeSequence} comprising the characters from *this*
+	   * sequence starting at `start` and ending at `stop` (exclusive), or---if
+	   * `stop` is `undefined`, including the rest of the sequence.
+	   *
+	   * @public
+	   * @param {number} start The index where this sequence should begin.
+	   * @param {number=} stop The index (exclusive) where this sequence should end.
+	   * @returns {StringLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy("foo").substring(1)      // sequence: "oo"
+	   * Lazy("foo").substring(-1)     // sequence: "foo"
+	   * Lazy("hello").substring(1, 3) // sequence: "el"
+	   * Lazy("hello").substring(1, 9) // sequence: "ello"
+	   */
+	  StringLikeSequence.prototype.substring = function substring(start, stop) {
+	    return new StringSegment(this, start, stop);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function StringSegment(parent, start, stop) {
+	    this.parent = parent;
+	    this.start  = Math.max(0, start);
+	    this.stop   = stop;
+	  }
+
+	  StringSegment.prototype = new StringLikeSequence();
+
+	  StringSegment.prototype.get = function get(i) {
+	    return this.parent.get(i + this.start);
+	  };
+
+	  StringSegment.prototype.length = function length() {
+	    return (typeof this.stop === "number" ? this.stop : this.parent.length()) - this.start;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#first} that returns another
+	   * {@link StringLikeSequence} (or just the first character, if `count` is
+	   * undefined).
+	   *
+	   * @public
+	   * @examples
+	   * Lazy('foo').first()                // => 'f'
+	   * Lazy('fo').first(2)                // sequence: 'fo'
+	   * Lazy('foo').first(10)              // sequence: 'foo'
+	   * Lazy('foo').toUpperCase().first()  // => 'F'
+	   * Lazy('foo').toUpperCase().first(2) // sequence: 'FO'
+	   */
+	  StringLikeSequence.prototype.first = function first(count) {
+	    if (typeof count === "undefined") {
+	      return this.charAt(0);
+	    }
+
+	    return this.substring(0, count);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#last} that returns another
+	   * {@link StringLikeSequence} (or just the last character, if `count` is
+	   * undefined).
+	   *
+	   * @public
+	   * @examples
+	   * Lazy('foo').last()                // => 'o'
+	   * Lazy('foo').last(2)               // sequence: 'oo'
+	   * Lazy('foo').last(10)              // sequence: 'foo'
+	   * Lazy('foo').toUpperCase().last()  // => 'O'
+	   * Lazy('foo').toUpperCase().last(2) // sequence: 'OO'
+	   */
+	  StringLikeSequence.prototype.last = function last(count) {
+	    if (typeof count === "undefined") {
+	      return this.charAt(this.length() - 1);
+	    }
+
+	    return this.substring(this.length() - count);
+	  };
+
+	  StringLikeSequence.prototype.drop = function drop(count) {
+	    return this.substring(count);
+	  };
+
+	  /**
+	   * Finds the index of the first occurrence of the given substring within this
+	   * sequence, starting from the specified index (or the beginning of the
+	   * sequence).
+	   *
+	   * @public
+	   * @param {string} substring The substring to search for.
+	   * @param {number=} startIndex The index from which to start the search.
+	   * @returns {number} The first index where the given substring is found, or
+	   *     -1 if it isn't in the sequence.
+	   *
+	   * @examples
+	   * Lazy('canal').indexOf('a')    // => 1
+	   * Lazy('canal').indexOf('a', 2) // => 3
+	   * Lazy('canal').indexOf('ana')  // => 1
+	   * Lazy('canal').indexOf('andy') // => -1
+	   * Lazy('canal').indexOf('x')    // => -1
+	   */
+	  StringLikeSequence.prototype.indexOf = function indexOf(substring, startIndex) {
+	    return this.toString().indexOf(substring, startIndex);
+	  };
+
+	  /**
+	   * Finds the index of the last occurrence of the given substring within this
+	   * sequence, starting from the specified index (or the end of the sequence)
+	   * and working backwards.
+	   *
+	   * @public
+	   * @param {string} substring The substring to search for.
+	   * @param {number=} startIndex The index from which to start the search.
+	   * @returns {number} The last index where the given substring is found, or
+	   *     -1 if it isn't in the sequence.
+	   *
+	   * @examples
+	   * Lazy('canal').lastIndexOf('a')    // => 3
+	   * Lazy('canal').lastIndexOf('a', 2) // => 1
+	   * Lazy('canal').lastIndexOf('ana')  // => 1
+	   * Lazy('canal').lastIndexOf('andy') // => -1
+	   * Lazy('canal').lastIndexOf('x')    // => -1
+	   */
+	  StringLikeSequence.prototype.lastIndexOf = function lastIndexOf(substring, startIndex) {
+	    return this.toString().lastIndexOf(substring, startIndex);
+	  };
+
+	  /**
+	   * Checks if this sequence contains a given substring.
+	   *
+	   * @public
+	   * @param {string} substring The substring to check for.
+	   * @returns {boolean} Whether or not this sequence contains `substring`.
+	   *
+	   * @examples
+	   * Lazy('hello').contains('ell') // => true
+	   * Lazy('hello').contains('')    // => true
+	   * Lazy('hello').contains('abc') // => false
+	   */
+	  StringLikeSequence.prototype.contains = function contains(substring) {
+	    return this.indexOf(substring) !== -1;
+	  };
+
+	  /**
+	   * Checks if this sequence ends with a given suffix.
+	   *
+	   * @public
+	   * @param {string} suffix The suffix to check for.
+	   * @returns {boolean} Whether or not this sequence ends with `suffix`.
+	   *
+	   * @examples
+	   * Lazy('foo').endsWith('oo')  // => true
+	   * Lazy('foo').endsWith('')    // => true
+	   * Lazy('foo').endsWith('abc') // => false
+	   */
+	  StringLikeSequence.prototype.endsWith = function endsWith(suffix) {
+	    return this.substring(this.length() - suffix.length).toString() === suffix;
+	  };
+
+	  /**
+	   * Checks if this sequence starts with a given prefix.
+	   *
+	   * @public
+	   * @param {string} prefix The prefix to check for.
+	   * @returns {boolean} Whether or not this sequence starts with `prefix`.
+	   *
+	   * @examples
+	   * Lazy('foo').startsWith('fo')  // => true
+	   * Lazy('foo').startsWith('')    // => true
+	   * Lazy('foo').startsWith('abc') // => false
+	   */
+	  StringLikeSequence.prototype.startsWith = function startsWith(prefix) {
+	    return this.substring(0, prefix.length).toString() === prefix;
+	  };
+
+	  /**
+	   * Converts all of the characters in this string to uppercase.
+	   *
+	   * @public
+	   * @returns {StringLikeSequence} A new sequence with the same characters as
+	   *     this sequence, all uppercase.
+	   *
+	   * @examples
+	   * function nextLetter(a) {
+	   *   return String.fromCharCode(a.charCodeAt(0) + 1);
+	   * }
+	   *
+	   * Lazy('foo').toUpperCase()                       // sequence: 'FOO'
+	   * Lazy('foo').substring(1).toUpperCase()          // sequence: 'OO'
+	   * Lazy('abc').mapString(nextLetter).toUpperCase() // sequence: 'BCD'
+	   */
+	  StringLikeSequence.prototype.toUpperCase = function toUpperCase() {
+	    return this.mapString(function(char) { return char.toUpperCase(); });
+	  };
+
+	  /**
+	   * Converts all of the characters in this string to lowercase.
+	   *
+	   * @public
+	   * @returns {StringLikeSequence} A new sequence with the same characters as
+	   *     this sequence, all lowercase.
+	   *
+	   * @examples
+	   * function nextLetter(a) {
+	   *   return String.fromCharCode(a.charCodeAt(0) + 1);
+	   * }
+	   *
+	   * Lazy('FOO').toLowerCase()                       // sequence: 'foo'
+	   * Lazy('FOO').substring(1).toLowerCase()          // sequence: 'oo'
+	   * Lazy('ABC').mapString(nextLetter).toLowerCase() // sequence: 'bcd'
+	   */
+	  StringLikeSequence.prototype.toLowerCase = function toLowerCase() {
+	    return this.mapString(function(char) { return char.toLowerCase(); });
+	  };
+
+	  /**
+	   * Maps the characters of this sequence onto a new {@link StringLikeSequence}.
+	   *
+	   * @public
+	   * @param {Function} mapFn The function used to map characters from this
+	   *     sequence onto the new sequence.
+	   * @returns {StringLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * function upcase(char) { return char.toUpperCase(); }
+	   *
+	   * Lazy("foo").mapString(upcase)               // sequence: "FOO"
+	   * Lazy("foo").mapString(upcase).charAt(0)     // => "F"
+	   * Lazy("foo").mapString(upcase).charCodeAt(0) // => 70
+	   * Lazy("foo").mapString(upcase).substring(1)  // sequence: "OO"
+	   */
+	  StringLikeSequence.prototype.mapString = function mapString(mapFn) {
+	    return new MappedStringLikeSequence(this, mapFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappedStringLikeSequence(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  MappedStringLikeSequence.prototype = new StringLikeSequence();
+	  MappedStringLikeSequence.prototype.get = IndexedMappedSequence.prototype.get;
+	  MappedStringLikeSequence.prototype.length = IndexedMappedSequence.prototype.length;
+
+	  /**
+	   * Returns a copy of this sequence that reads back to front.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy("abcdefg").reverse() // sequence: "gfedcba"
+	   */
+	  StringLikeSequence.prototype.reverse = function reverse() {
+	    return new ReversedStringLikeSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ReversedStringLikeSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  ReversedStringLikeSequence.prototype = new StringLikeSequence();
+	  ReversedStringLikeSequence.prototype.get = IndexedReversedSequence.prototype.get;
+	  ReversedStringLikeSequence.prototype.length = IndexedReversedSequence.prototype.length;
+
+	  StringLikeSequence.prototype.toString = function toString() {
+	    return this.join("");
+	  };
+
+	  /**
+	   * Creates a {@link Sequence} comprising all of the matches for the specified
+	   * pattern in the underlying string.
+	   *
+	   * @public
+	   * @param {RegExp} pattern The pattern to match.
+	   * @returns {Sequence} A sequence of all the matches.
+	   *
+	   * @examples
+	   * Lazy("abracadabra").match(/a[bcd]/) // sequence: ["ab", "ac", "ad", "ab"]
+	   * Lazy("fee fi fo fum").match(/\w+/)  // sequence: ["fee", "fi", "fo", "fum"]
+	   * Lazy("hello").match(/xyz/)          // sequence: []
+	   */
+	  StringLikeSequence.prototype.match = function match(pattern) {
+	    return new StringMatchSequence(this, pattern);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function StringMatchSequence(parent, pattern) {
+	    this.parent = parent;
+	    this.pattern = pattern;
+	  }
+
+	  StringMatchSequence.prototype = new Sequence();
+
+	  StringMatchSequence.prototype.getIterator = function getIterator() {
+	    return new StringMatchIterator(this.parent.toString(), this.pattern);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function StringMatchIterator(source, pattern) {
+	    this.source  = source;
+	    this.pattern = cloneRegex(pattern);
+	  }
+
+	  StringMatchIterator.prototype.current = function current() {
+	    return this.match[0];
+	  };
+
+	  StringMatchIterator.prototype.moveNext = function moveNext() {
+	    return !!(this.match = this.pattern.exec(this.source));
+	  };
+
+	  /**
+	   * Creates a {@link Sequence} comprising all of the substrings of this string
+	   * separated by the given delimiter, which can be either a string or a regular
+	   * expression.
+	   *
+	   * @public
+	   * @param {string|RegExp} delimiter The delimiter to use for recognizing
+	   *     substrings.
+	   * @returns {Sequence} A sequence of all the substrings separated by the given
+	   *     delimiter.
+	   *
+	   * @examples
+	   * Lazy("foo").split("")                      // sequence: ["f", "o", "o"]
+	   * Lazy("yo dawg").split(" ")                 // sequence: ["yo", "dawg"]
+	   * Lazy("bah bah\tblack  sheep").split(/\s+/) // sequence: ["bah", "bah", "black", "sheep"]
+	   */
+	  StringLikeSequence.prototype.split = function split(delimiter) {
+	    return new SplitStringSequence(this, delimiter);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitStringSequence(parent, pattern) {
+	    this.parent = parent;
+	    this.pattern = pattern;
+	  }
+
+	  SplitStringSequence.prototype = new Sequence();
+
+	  SplitStringSequence.prototype.getIterator = function getIterator() {
+	    var source = this.parent.toString();
+
+	    if (this.pattern instanceof RegExp) {
+	      if (this.pattern.source === "" || this.pattern.source === "(?:)") {
+	        return new CharIterator(source);
+	      } else {
+	        return new SplitWithRegExpIterator(source, this.pattern);
+	      }
+	    } else if (this.pattern === "") {
+	      return new CharIterator(source);
+	    } else {
+	      return new SplitWithStringIterator(source, this.pattern);
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitWithRegExpIterator(source, pattern) {
+	    this.source  = source;
+	    this.pattern = cloneRegex(pattern);
+	  }
+
+	  SplitWithRegExpIterator.prototype.current = function current() {
+	    return this.source.substring(this.start, this.end);
+	  };
+
+	  SplitWithRegExpIterator.prototype.moveNext = function moveNext() {
+	    if (!this.pattern) {
+	      return false;
+	    }
+
+	    var match = this.pattern.exec(this.source);
+
+	    if (match) {
+	      this.start = this.nextStart ? this.nextStart : 0;
+	      this.end = match.index;
+	      this.nextStart = match.index + match[0].length;
+	      return true;
+
+	    } else if (this.pattern) {
+	      this.start = this.nextStart;
+	      this.end = undefined;
+	      this.nextStart = undefined;
+	      this.pattern = undefined;
+	      return true;
+	    }
+
+	    return false;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitWithStringIterator(source, delimiter) {
+	    this.source = source;
+	    this.delimiter = delimiter;
+	  }
+
+	  SplitWithStringIterator.prototype.current = function current() {
+	    return this.source.substring(this.leftIndex, this.rightIndex);
+	  };
+
+	  SplitWithStringIterator.prototype.moveNext = function moveNext() {
+	    if (!this.finished) {
+	      this.leftIndex = typeof this.leftIndex !== "undefined" ?
+	        this.rightIndex + this.delimiter.length :
+	        0;
+	      this.rightIndex = this.source.indexOf(this.delimiter, this.leftIndex);
+	    }
+
+	    if (this.rightIndex === -1) {
+	      this.finished = true;
+	      this.rightIndex = undefined;
+	      return true;
+	    }
+
+	    return !this.finished;
+	  };
+
+	  /**
+	   * Wraps a string exposing {@link #match} and {@link #split} methods that return
+	   * {@link Sequence} objects instead of arrays, improving on the efficiency of
+	   * JavaScript's built-in `String#split` and `String.match` methods and
+	   * supporting asynchronous iteration.
+	   *
+	   * @param {string} source The string to wrap.
+	   * @constructor
+	   */
+	  function StringWrapper(source) {
+	    this.source = source;
+	  }
+
+	  StringWrapper.prototype = new StringLikeSequence();
+
+	  StringWrapper.prototype.root = function root() {
+	    return this;
+	  };
+
+	  StringWrapper.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  StringWrapper.prototype.get = function get(i) {
+	    return this.source.charAt(i);
+	  };
+
+	  StringWrapper.prototype.length = function length() {
+	    return this.source.length;
+	  };
+
+	  StringWrapper.prototype.toString = function toString() {
+	    return this.source;
+	  };
+
+	  /**
+	   * A `GeneratedSequence` does not wrap an in-memory colllection but rather
+	   * determines its elements on-the-fly during iteration according to a generator
+	   * function.
+	   *
+	   * You create a `GeneratedSequence` by calling {@link Lazy.generate}.
+	   *
+	   * @public
+	   * @constructor
+	   * @param {function(number):*} generatorFn A function which accepts an index
+	   *     and returns a value for the element at that position in the sequence.
+	   * @param {number=} length The length of the sequence. If this argument is
+	   *     omitted, the sequence will go on forever.
+	   */
+	  function GeneratedSequence(generatorFn, length) {
+	    this.get = generatorFn;
+	    this.fixedLength = length;
+	  }
+
+	  GeneratedSequence.prototype = new Sequence();
+
+	  GeneratedSequence.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  /**
+	   * Returns the length of this sequence.
+	   *
+	   * @public
+	   * @returns {number} The length, or `undefined` if this is an indefinite
+	   *     sequence.
+	   */
+	  GeneratedSequence.prototype.length = function length() {
+	    return this.fixedLength;
+	  };
+
+	  /**
+	   * Iterates over the sequence produced by invoking this sequence's generator
+	   * function up to its specified length, or, if length is `undefined`,
+	   * indefinitely (in which case the sequence will go on forever--you would need
+	   * to call, e.g., {@link Sequence#take} to limit iteration).
+	   *
+	   * @public
+	   * @param {Function} fn The function to call on each output from the generator
+	   *     function.
+	   */
+	  GeneratedSequence.prototype.each = function each(fn) {
+	    var generatorFn = this.get,
+	        length = this.fixedLength,
+	        i = 0;
+
+	    while (typeof length === "undefined" || i < length) {
+	      if (fn(generatorFn(i), i++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  GeneratedSequence.prototype.getIterator = function getIterator() {
+	    return new GeneratedIterator(this);
+	  };
+
+	  /**
+	   * Iterates over a generated sequence. (This allows generated sequences to be
+	   * iterated asynchronously.)
+	   *
+	   * @param {GeneratedSequence} sequence The generated sequence to iterate over.
+	   * @constructor
+	   */
+	  function GeneratedIterator(sequence) {
+	    this.sequence     = sequence;
+	    this.index        = 0;
+	    this.currentValue = null;
+	  }
+
+	  GeneratedIterator.prototype.current = function current() {
+	    return this.currentValue;
+	  };
+
+	  GeneratedIterator.prototype.moveNext = function moveNext() {
+	    var sequence = this.sequence;
+
+	    if (typeof sequence.fixedLength === "number" && this.index >= sequence.fixedLength) {
+	      return false;
+	    }
+
+	    this.currentValue = sequence.get(this.index++);
+	    return true;
+	  };
+
+	  /**
+	   * An `AsyncSequence` iterates over its elements asynchronously when
+	   * {@link #each} is called.
+	   *
+	   * You get an `AsyncSequence` by calling {@link Sequence#async} on any
+	   * sequence. Note that some sequence types may not support asynchronous
+	   * iteration.
+	   *
+	   * Returning values
+	   * ----------------
+	   *
+	   * Because of its asynchronous nature, an `AsyncSequence` cannot be used in the
+	   * same way as other sequences for functions that return values directly (e.g.,
+	   * `reduce`, `max`, `any`, even `toArray`).
+	   *
+	   * Instead, these methods return an `AsyncHandle` whose `onComplete` method
+	   * accepts a callback that will be called with the final result once iteration
+	   * has finished.
+	   *
+	   * Defining custom asynchronous sequences
+	   * --------------------------------------
+	   *
+	   * There are plenty of ways to define an asynchronous sequence. Here's one.
+	   *
+	   * 1. First, implement an {@link Iterator}. This is an object whose prototype
+	   *    has the methods {@link Iterator#moveNext} (which returns a `boolean`) and
+	   *    {@link current} (which returns the current value).
+	   * 2. Next, create a simple wrapper that inherits from `AsyncSequence`, whose
+	   *    `getIterator` function returns an instance of the iterator type you just
+	   *    defined.
+	   *
+	   * The default implementation for {@link #each} on an `AsyncSequence` is to
+	   * create an iterator and then asynchronously call {@link Iterator#moveNext}
+	   * (using `setImmediate`, if available, otherwise `setTimeout`) until the iterator
+	   * can't move ahead any more.
+	   *
+	   * @public
+	   * @constructor
+	   * @param {Sequence} parent A {@link Sequence} to wrap, to expose asynchronous
+	   *     iteration.
+	   * @param {number=} interval How many milliseconds should elapse between each
+	   *     element when iterating over this sequence. If this argument is omitted,
+	   *     asynchronous iteration will be executed as fast as possible.
+	   */
+	  function AsyncSequence(parent, interval) {
+	    if (parent instanceof AsyncSequence) {
+	      throw new Error("Sequence is already asynchronous!");
+	    }
+
+	    this.parent         = parent;
+	    this.interval       = interval;
+	    this.onNextCallback = getOnNextCallback(interval);
+	    this.cancelCallback = getCancelCallback(interval);
+	  }
+
+	  AsyncSequence.prototype = new Sequence();
+
+	  AsyncSequence.prototype.isAsync = function isAsync() {
+	    return true;
+	  };
+
+	  /**
+	   * Throws an exception. You cannot manually iterate over an asynchronous
+	   * sequence.
+	   *
+	   * @public
+	   * @example
+	   * Lazy([1, 2, 3]).async().getIterator() // throws
+	   */
+	  AsyncSequence.prototype.getIterator = function getIterator() {
+	    throw new Error('An AsyncSequence does not support synchronous iteration.');
+	  };
+
+	  /**
+	   * An asynchronous version of {@link Sequence#each}.
+	   *
+	   * @public
+	   * @param {Function} fn The function to invoke asynchronously on each element in
+	   *     the sequence one by one.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} providing the ability to
+	   *     cancel the asynchronous iteration (by calling `cancel()`) as well as
+	   *     supply callback(s) for when an error is encountered (`onError`) or when
+	   *     iteration is complete (`onComplete`).
+	   */
+	  AsyncSequence.prototype.each = function each(fn) {
+	    var iterator = this.parent.getIterator(),
+	        onNextCallback = this.onNextCallback,
+	        cancelCallback = this.cancelCallback,
+	        i = 0;
+
+	    var handle = new AsyncHandle(function cancel() {
+	      if (cancellationId) {
+	        cancelCallback(cancellationId);
+	      }
+	    });
+
+	    var cancellationId = onNextCallback(function iterate() {
+	      cancellationId = null;
+
+	      try {
+	        if (iterator.moveNext() && fn(iterator.current(), i++) !== false) {
+	          cancellationId = onNextCallback(iterate);
+
+	        } else {
+	          handle._resolve();
+	        }
+
+	      } catch (e) {
+	        handle._reject(e);
+	      }
+	    });
+
+	    return handle;
+	  };
+
+	  /**
+	   * An `AsyncHandle` provides a [Promises/A+](http://promises-aplus.github.io/promises-spec/)
+	   * compliant interface for an {@link AsyncSequence} that is currently (or was)
+	   * iterating over its elements.
+	   *
+	   * In addition to behaving as a promise, an `AsyncHandle` provides the ability
+	   * to {@link AsyncHandle#cancel} iteration (if `cancelFn` is provided)
+	   * and also offers convenient {@link AsyncHandle#onComplete} and
+	   * {@link AsyncHandle#onError} methods to attach listeners for when iteration
+	   * is complete or an error is thrown during iteration.
+	   *
+	   * @public
+	   * @param {Function} cancelFn A function to cancel asynchronous iteration.
+	   *     This is passed in to support different cancellation mechanisms for
+	   *     different forms of asynchronous sequences (e.g., timeout-based
+	   *     sequences, sequences based on I/O, etc.).
+	   * @constructor
+	   *
+	   * @example
+	   * // Create a sequence of 100,000 random numbers, in chunks of 100.
+	   * var sequence = Lazy.generate(Math.random)
+	   *   .chunk(100)
+	   *   .async()
+	   *   .take(1000);
+	   *
+	   * // Reduce-style operations -- i.e., operations that return a *value* (as
+	   * // opposed to a *sequence*) -- return an AsyncHandle for async sequences.
+	   * var handle = sequence.toArray();
+	   *
+	   * handle.onComplete(function(array) {
+	   *   // Do something w/ 1,000-element array.
+	   * });
+	   *
+	   * // Since an AsyncHandle is a promise, you can also use it to create
+	   * // subsequent promises using `then` (see the Promises/A+ spec for more
+	   * // info).
+	   * var flattened = handle.then(function(array) {
+	   *   return Lazy(array).flatten();
+	   * });
+	   */
+	  function AsyncHandle(cancelFn) {
+	    this.resolveListeners = [];
+	    this.rejectListeners = [];
+	    this.state = PENDING;
+	    this.cancelFn = cancelFn;
+	  }
+
+	  // Async handle states
+	  var PENDING  = 1,
+	      RESOLVED = 2,
+	      REJECTED = 3;
+
+	  AsyncHandle.prototype.then = function then(onFulfilled, onRejected) {
+	    var promise = new AsyncHandle(this.cancelFn);
+
+	    this.resolveListeners.push(function(value) {
+	      try {
+	        if (typeof onFulfilled !== 'function') {
+	          resolve(promise, value);
+	          return;
+	        }
+
+	        resolve(promise, onFulfilled(value));
+
+	      } catch (e) {
+	        promise._reject(e);
+	      }
+	    });
+
+	    this.rejectListeners.push(function(reason) {
+	      try {
+	        if (typeof onRejected !== 'function') {
+	          promise._reject(reason);
+	          return;
+	        }
+
+	        resolve(promise, onRejected(reason));
+
+	      } catch (e) {
+	        promise._reject(e);
+	      }
+	    });
+
+	    if (this.state === RESOLVED) {
+	      this._resolve(this.value);
+	    }
+
+	    if (this.state === REJECTED) {
+	      this._reject(this.reason);
+	    }
+
+	    return promise;
+	  };
+
+	  AsyncHandle.prototype._resolve = function _resolve(value) {
+	    if (this.state === REJECTED) {
+	      return;
+	    }
+
+	    if (this.state === PENDING) {
+	      this.state = RESOLVED;
+	      this.value = value;
+	    }
+
+	    consumeListeners(this.resolveListeners, this.value);
+	  };
+
+	  AsyncHandle.prototype._reject = function _reject(reason) {
+	    if (this.state === RESOLVED) {
+	      return;
+	    }
+
+	    if (this.state === PENDING) {
+	      this.state = REJECTED;
+	      this.reason = reason;
+	    }
+
+	    consumeListeners(this.rejectListeners, this.reason);
+	  };
+
+	  /**
+	   * Cancels asynchronous iteration.
+	   *
+	   * @public
+	   */
+	  AsyncHandle.prototype.cancel = function cancel() {
+	    if (this.cancelFn) {
+	      this.cancelFn();
+	      this.cancelFn = null;
+	      this._resolve(false);
+	    }
+	  };
+
+	  /**
+	   * Updates the handle with a callback to execute when iteration is completed.
+	   *
+	   * @public
+	   * @param {Function} callback The function to call when the asynchronous
+	   *     iteration is completed.
+	   * @return {AsyncHandle} A reference to the handle (for chaining).
+	   */
+	  AsyncHandle.prototype.onComplete = function onComplete(callback) {
+	    this.resolveListeners.push(callback);
+	    return this;
+	  };
+
+	  /**
+	   * Updates the handle with a callback to execute if/when any error is
+	   * encountered during asynchronous iteration.
+	   *
+	   * @public
+	   * @param {Function} callback The function to call, with any associated error
+	   *     object, when an error occurs.
+	   * @return {AsyncHandle} A reference to the handle (for chaining).
+	   */
+	  AsyncHandle.prototype.onError = function onError(callback) {
+	    this.rejectListeners.push(callback);
+	    return this;
+	  };
+
+	  /**
+	   * Promise resolution procedure:
+	   * http://promises-aplus.github.io/promises-spec/#the_promise_resolution_procedure
+	   */
+	  function resolve(promise, x) {
+	    if (promise === x) {
+	      promise._reject(new TypeError('Cannot resolve a promise to itself'));
+	      return;
+	    }
+
+	    if (x instanceof AsyncHandle) {
+	      x.then(
+	        function(value) { resolve(promise, value); },
+	        function(reason) { promise._reject(reason); }
+	      );
+	      return;
+	    }
+
+	    var then;
+	    try {
+	      then = (/function|object/).test(typeof x) && x != null && x.then;
+	    } catch (e) {
+	      promise._reject(e);
+	      return;
+	    }
+
+	    var thenableState = PENDING;
+	    if (typeof then === 'function') {
+	      try {
+	        then.call(
+	          x,
+	          function resolvePromise(value) {
+	            if (thenableState !== PENDING) {
+	              return;
+	            }
+	            thenableState = RESOLVED;
+	            resolve(promise, value);
+	          },
+	          function rejectPromise(reason) {
+	            if (thenableState !== PENDING) {
+	              return;
+	            }
+	            thenableState = REJECTED;
+	            promise._reject(reason);
+	          }
+	        );
+	      } catch (e) {
+	        if (thenableState !== PENDING) {
+	          return;
+	        }
+
+	        promise._reject(e);
+	      }
+
+	      return;
+	    }
+
+	    promise._resolve(x);
+	  }
+
+	  function consumeListeners(listeners, value, callback) {
+	    callback || (callback = getOnNextCallback());
+
+	    callback(function() {
+	      if (listeners.length > 0) {
+	        listeners.shift()(value);
+	        consumeListeners(listeners, value, callback);
+	      }
+	    });
+	  }
+
+	  function getOnNextCallback(interval) {
+	    if (typeof interval === "undefined") {
+	      if (typeof setImmediate === "function") {
+	        return setImmediate;
+	      }
+	    }
+
+	    interval = interval || 0;
+	    return function(fn) {
+	      return setTimeout(fn, interval);
+	    };
+	  }
+
+	  function getCancelCallback(interval) {
+	    if (typeof interval === "undefined") {
+	      if (typeof clearImmediate === "function") {
+	        return clearImmediate;
+	      }
+	    }
+
+	    return clearTimeout;
+	  }
+
+	  /**
+	   * Transform a value, whether the value is retrieved asynchronously or directly.
+	   *
+	   * @private
+	   * @param {Function} fn The function that transforms the value.
+	   * @param {*} value The value to be transformed. This can be an {@link AsyncHandle} when the value
+	   *     is retrieved asynchronously, otherwise it can be anything.
+	   * @returns {*} An {@link AsyncHandle} when `value` is also an {@link AsyncHandle}, otherwise
+	   *     whatever `fn` resulted in.
+	   */
+	  function transform(fn, value) {
+	    if (value instanceof AsyncHandle) {
+	      return value.then(function() { fn(value); });
+	    }
+	    return fn(value);
+	  }
+
+	  /**
+	   * An async version of {@link Sequence#reverse}.
+	   */
+	  AsyncSequence.prototype.reverse = function reverse() {
+	    return this.parent.reverse().async();
+	  };
+
+	  /**
+	   * A version of {@link Sequence#find} which returns an {@link AsyncHandle}.
+	   *
+	   * @public
+	   * @param {Function} predicate A function to call on (potentially) every element
+	   *     in the sequence.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} (promise) which resolves to
+	   *     the found element, once it is detected, or else `undefined`.
+	   */
+	  AsyncSequence.prototype.find = function find(predicate) {
+	    var found;
+
+	    var handle = this.each(function(e, i) {
+	      if (predicate(e, i)) {
+	        found = e;
+	        return false;
+	      }
+	    });
+
+	    return handle.then(function() { return found; });
+	  };
+
+	  /**
+	   * A version of {@link Sequence#indexOf} which returns an {@link AsyncHandle}.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} (promise) which resolves to
+	   *     the found index, once it is detected, or -1.
+	   */
+	  AsyncSequence.prototype.indexOf = function indexOf(value) {
+	    var foundIndex = -1;
+
+	    var handle = this.each(function(e, i) {
+	      if (e === value) {
+	        foundIndex = i;
+	        return false;
+	      }
+	    });
+
+	    return handle.then(function() {
+	      return foundIndex;
+	    });
+	  };
+
+	  /**
+	   * A version of {@link Sequence#contains} which returns an {@link AsyncHandle}.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} (promise) which resolves to
+	   *     either `true` or `false` to indicate whether the element was found.
+	   */
+	  AsyncSequence.prototype.contains = function contains(value) {
+	    var found = false;
+
+	    var handle = this.each(function(e) {
+	      if (e === value) {
+	        found = true;
+	        return false;
+	      }
+	    });
+
+	    return handle.then(function() {
+	      return found;
+	    });
+	  };
+
+	  /**
+	   * Just return the same sequence for `AsyncSequence#async` (I see no harm in this).
+	   */
+	  AsyncSequence.prototype.async = function async() {
+	    return this;
+	  };
+
+	  /**
+	   * See {@link ObjectLikeSequence#watch} for docs.
+	   */
+	  ObjectWrapper.prototype.watch = function watch(propertyNames) {
+	    return new WatchedPropertySequence(this.source, propertyNames);
+	  };
+
+	  function WatchedPropertySequence(object, propertyNames) {
+	    this.listeners = [];
+
+	    if (!propertyNames) {
+	      propertyNames = Lazy(object).keys().toArray();
+	    } else if (!(propertyNames instanceof Array)) {
+	      propertyNames = [propertyNames];
+	    }
+
+	    var listeners = this.listeners,
+	        index     = 0;
+
+	    Lazy(propertyNames).each(function(propertyName) {
+	      var propertyValue = object[propertyName];
+
+	      Object.defineProperty(object, propertyName, {
+	        get: function() {
+	          return propertyValue;
+	        },
+
+	        set: function(value) {
+	          for (var i = listeners.length - 1; i >= 0; --i) {
+	            if (listeners[i]({ property: propertyName, value: value }, index) === false) {
+	              listeners.splice(i, 1);
+	            }
+	          }
+	          propertyValue = value;
+	          ++index;
+	        }
+	      });
+	    });
+	  }
+
+	  WatchedPropertySequence.prototype = new AsyncSequence();
+
+	  WatchedPropertySequence.prototype.each = function each(fn) {
+	    this.listeners.push(fn);
+	  };
+
+	  /**
+	   * A StreamLikeSequence comprises a sequence of 'chunks' of data, which are
+	   * typically multiline strings.
+	   *
+	   * @constructor
+	   */
+	  function StreamLikeSequence() {}
+
+	  StreamLikeSequence.prototype = new AsyncSequence();
+
+	  StreamLikeSequence.prototype.isAsync = function isAsync() {
+	    return true;
+	  };
+
+	  StreamLikeSequence.prototype.split = function split(delimiter) {
+	    return new SplitStreamSequence(this, delimiter);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitStreamSequence(parent, delimiter) {
+	    this.parent    = parent;
+	    this.delimiter = delimiter;
+	    this.each      = this.getEachForDelimiter(delimiter);
+	  }
+
+	  SplitStreamSequence.prototype = new Sequence();
+
+	  SplitStreamSequence.prototype.getEachForDelimiter = function getEachForDelimiter(delimiter) {
+	    if (delimiter instanceof RegExp) {
+	      return this.regexEach;
+	    }
+
+	    return this.stringEach;
+	  };
+
+	  SplitStreamSequence.prototype.regexEach = function each(fn) {
+	    var delimiter = cloneRegex(this.delimiter),
+	        buffer = '',
+	        start = 0, end,
+	        index = 0;
+
+	    var handle = this.parent.each(function(chunk) {
+	      buffer += chunk;
+
+	      var match;
+	      while (match = delimiter.exec(buffer)) {
+	        end = match.index;
+	        if (fn(buffer.substring(start, end), index++) === false) {
+	          return false;
+	        }
+	        start = end + match[0].length;
+	      }
+
+	      buffer = buffer.substring(start);
+	      start = 0;
+	    });
+
+	    handle.onComplete(function() {
+	      if (buffer.length > 0) {
+	        fn(buffer, index++);
+	      }
+	    });
+
+	    return handle;
+	  };
+
+	  SplitStreamSequence.prototype.stringEach = function each(fn) {
+	    var delimiter  = this.delimiter,
+	        pieceIndex = 0,
+	        buffer = '',
+	        bufferIndex = 0;
+
+	    var handle = this.parent.each(function(chunk) {
+	      buffer += chunk;
+	      var delimiterIndex;
+	      while ((delimiterIndex = buffer.indexOf(delimiter)) >= 0) {
+	        var piece = buffer.substr(0,delimiterIndex);
+	        buffer = buffer.substr(delimiterIndex+delimiter.length);
+	        if (fn(piece,pieceIndex++) === false) {
+	          return false;
+	        }
+	      }
+	      return true;
+	    });
+
+	    handle.onComplete(function() {
+	      fn(buffer, pieceIndex++);
+	    });
+
+	    return handle;
+	  };
+
+	  StreamLikeSequence.prototype.lines = function lines() {
+	    return this.split("\n");
+	  };
+
+	  StreamLikeSequence.prototype.match = function match(pattern) {
+	    return new MatchedStreamSequence(this, pattern);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MatchedStreamSequence(parent, pattern) {
+	    this.parent  = parent;
+	    this.pattern = cloneRegex(pattern);
+	  }
+
+	  MatchedStreamSequence.prototype = new AsyncSequence();
+
+	  MatchedStreamSequence.prototype.each = function each(fn) {
+	    var pattern = this.pattern,
+	        done      = false,
+	        i         = 0;
+
+	    return this.parent.each(function(chunk) {
+	      Lazy(chunk).match(pattern).each(function(match) {
+	        if (fn(match, i++) === false) {
+	          done = true;
+	          return false;
+	        }
+	      });
+
+	      return !done;
+	    });
+	  };
+
+	  /**
+	   * Defines a wrapper for custom {@link StreamLikeSequence}s. This is useful
+	   * if you want a way to handle a stream of events as a sequence, but you can't
+	   * use Lazy's existing interface (i.e., you're wrapping an object from a
+	   * library with its own custom events).
+	   *
+	   * This method defines a *factory*: that is, it produces a function that can
+	   * be used to wrap objects and return a {@link Sequence}. Hopefully the
+	   * example will make this clear.
+	   *
+	   * @public
+	   * @param {Function} initializer An initialization function called on objects
+	   *     created by this factory. `this` will be bound to the created object,
+	   *     which is an instance of {@link StreamLikeSequence}. Use `emit` to
+	   *     generate data for the sequence.
+	   * @returns {Function} A function that creates a new {@link StreamLikeSequence},
+	   *     initializes it using the specified function, and returns it.
+	   *
+	   * @example
+	   * var factory = Lazy.createWrapper(function(eventSource) {
+	   *   var sequence = this;
+	   *
+	   *   eventSource.handleEvent(function(data) {
+	   *     sequence.emit(data);
+	   *   });
+	   * });
+	   *
+	   * var eventEmitter = {
+	   *   triggerEvent: function(data) {
+	   *     eventEmitter.eventHandler(data);
+	   *   },
+	   *   handleEvent: function(handler) {
+	   *     eventEmitter.eventHandler = handler;
+	   *   },
+	   *   eventHandler: function() {}
+	   * };
+	   *
+	   * var events = [];
+	   *
+	   * factory(eventEmitter).each(function(e) {
+	   *   events.push(e);
+	   * });
+	   *
+	   * eventEmitter.triggerEvent('foo');
+	   * eventEmitter.triggerEvent('bar');
+	   *
+	   * events // => ['foo', 'bar']
+	   */
+	  Lazy.createWrapper = function createWrapper(initializer) {
+	    var ctor = function() {
+	      this.listeners = [];
+	    };
+
+	    ctor.prototype = new StreamLikeSequence();
+
+	    ctor.prototype.each = function(listener) {
+	      this.listeners.push(listener);
+	    };
+
+	    ctor.prototype.emit = function(data) {
+	      var listeners = this.listeners;
+
+	      for (var len = listeners.length, i = len - 1; i >= 0; --i) {
+	        if (listeners[i](data) === false) {
+	          listeners.splice(i, 1);
+	        }
+	      }
+	    };
+
+	    return function() {
+	      var sequence = new ctor();
+	      initializer.apply(sequence, arguments);
+	      return sequence;
+	    };
+	  };
+
+	  /**
+	   * Creates a {@link GeneratedSequence} using the specified generator function
+	   * and (optionally) length.
+	   *
+	   * @public
+	   * @param {function(number):*} generatorFn The function used to generate the
+	   *     sequence. This function accepts an index as a parameter and should return
+	   *     a value for that index in the resulting sequence.
+	   * @param {number=} length The length of the sequence, for sequences with a
+	   *     definite length.
+	   * @returns {GeneratedSequence} The generated sequence.
+	   *
+	   * @examples
+	   * var randomNumbers = Lazy.generate(Math.random);
+	   * var countingNumbers = Lazy.generate(function(i) { return i + 1; }, 5);
+	   *
+	   * randomNumbers          // instanceof Lazy.GeneratedSequence
+	   * randomNumbers.length() // => undefined
+	   * countingNumbers          // sequence: [1, 2, 3, 4, 5]
+	   * countingNumbers.length() // => 5
+	   */
+	  Lazy.generate = function generate(generatorFn, length) {
+	    return new GeneratedSequence(generatorFn, length);
+	  };
+
+	  /**
+	   * Creates a sequence from a given starting value, up to a specified stopping
+	   * value, incrementing by a given step. Invalid values for any of these
+	   * arguments (e.g., a step of 0) result in an empty sequence.
+	   *
+	   * @public
+	   * @returns {GeneratedSequence} The sequence defined by the given ranges.
+	   *
+	   * @examples
+	   * Lazy.range(3)         // sequence: [0, 1, 2]
+	   * Lazy.range(1, 4)      // sequence: [1, 2, 3]
+	   * Lazy.range(2, 10, 2)  // sequence: [2, 4, 6, 8]
+	   * Lazy.range(5, 1, 2)   // sequence: []
+	   * Lazy.range(5, 15, -2) // sequence: []
+	   * Lazy.range(3, 10, 3)  // sequence: [3, 6, 9]
+	   * Lazy.range(5, 2)      // sequence: [5, 4, 3]
+	   * Lazy.range(7, 2, -2)  // sequence: [7, 5, 3]
+	   * Lazy.range(3, 5, 0)   // sequence: []
+	   */
+	  Lazy.range = function range() {
+	    var start = arguments.length > 1 ? arguments[0] : 0,
+	        stop  = arguments.length > 1 ? arguments[1] : arguments[0],
+	        step  = arguments.length > 2 && arguments[2];
+
+	    if (step === false) {
+	      step = stop > start ? 1 : -1;
+	    }
+
+	    if (step === 0) {
+	      return Lazy([]);
+	    }
+
+	    return Lazy.generate(function(i) { return start + (step * i); })
+	      .take(Math.ceil((stop - start) / step));
+	  };
+
+	  /**
+	   * Creates a sequence consisting of the given value repeated a specified number
+	   * of times.
+	   *
+	   * @public
+	   * @param {*} value The value to repeat.
+	   * @param {number=} count The number of times the value should be repeated in
+	   *     the sequence. If this argument is omitted, the value will repeat forever.
+	   * @returns {GeneratedSequence} The sequence containing the repeated value.
+	   *
+	   * @examples
+	   * Lazy.repeat("hi", 3)          // sequence: ["hi", "hi", "hi"]
+	   * Lazy.repeat("young")          // instanceof Lazy.GeneratedSequence
+	   * Lazy.repeat("young").length() // => undefined
+	   * Lazy.repeat("young").take(3)  // sequence: ["young", "young", "young"]
+	   */
+	  Lazy.repeat = function repeat(value, count) {
+	    return Lazy.generate(function() { return value; }, count);
+	  };
+
+	  Lazy.Sequence           = Sequence;
+	  Lazy.ArrayLikeSequence  = ArrayLikeSequence;
+	  Lazy.ObjectLikeSequence = ObjectLikeSequence;
+	  Lazy.StringLikeSequence = StringLikeSequence;
+	  Lazy.StreamLikeSequence = StreamLikeSequence;
+	  Lazy.GeneratedSequence  = GeneratedSequence;
+	  Lazy.AsyncSequence      = AsyncSequence;
+	  Lazy.AsyncHandle        = AsyncHandle;
+
+	  /*** Useful utility methods ***/
+
+	  /**
+	   * Creates a shallow copy of an array or object.
+	   *
+	   * @examples
+	   * var array  = [1, 2, 3], clonedArray,
+	   *     object = { foo: 1, bar: 2 }, clonedObject;
+	   *
+	   * clonedArray = Lazy.clone(array); // => [1, 2, 3]
+	   * clonedArray.push(4); // clonedArray == [1, 2, 3, 4]
+	   * array; // => [1, 2, 3]
+	   *
+	   * clonedObject = Lazy.clone(object); // => { foo: 1, bar: 2 }
+	   * clonedObject.baz = 3; // clonedObject == { foo: 1, bar: 2, baz: 3 }
+	   * object; // => { foo: 1, bar: 2 }
+	   */
+	  Lazy.clone = function clone(target) {
+	    return Lazy(target).value();
+	  };
+
+	  /**
+	   * Marks a method as deprecated, so calling it will issue a console warning.
+	   */
+	  Lazy.deprecate = function deprecate(message, fn) {
+	    return function() {
+	      console.warn(message);
+	      return fn.apply(this, arguments);
+	    };
+	  };
+
+	  var arrayPop   = Array.prototype.pop,
+	      arraySlice = Array.prototype.slice;
+
+	  /**
+	   * Creates a callback... you know, Lo-Dash style.
+	   *
+	   * - for functions, just returns the function
+	   * - for strings, returns a pluck-style callback
+	   * - for objects, returns a where-style callback
+	   *
+	   * @private
+	   * @param {Function|string|Object} callback A function, string, or object to
+	   *     convert to a callback.
+	   * @param {*} defaultReturn If the callback is undefined, a default return
+	   *     value to use for the function.
+	   * @returns {Function} The callback function.
+	   *
+	   * @examples
+	   * createCallback(function() {})                  // instanceof Function
+	   * createCallback('foo')                          // instanceof Function
+	   * createCallback('foo')({ foo: 'bar'})           // => 'bar'
+	   * createCallback({ foo: 'bar' })({ foo: 'bar' }) // => true
+	   * createCallback({ foo: 'bar' })({ foo: 'baz' }) // => false
+	   */
+	  function createCallback(callback, defaultValue) {
+	    switch (typeof callback) {
+	      case "function":
+	        return callback;
+
+	      case "string":
+	        return function(e) {
+	          return e[callback];
+	        };
+
+	      case "object":
+	        return function(e) {
+	          return Lazy(callback).all(function(value, key) {
+	            return e[key] === value;
+	          });
+	        };
+
+	      case "undefined":
+	        return defaultValue ?
+	          function() { return defaultValue; } :
+	          Lazy.identity;
+
+	      default:
+	        throw new Error("Don't know how to make a callback from a " + typeof callback + "!");
+	    }
+	  }
+
+	  /**
+	   * Takes a function that returns a value for one argument and produces a
+	   * function that compares two arguments.
+	   *
+	   * @private
+	   * @param {Function|string|Object} callback A function, string, or object to
+	   *     convert to a callback using `createCallback`.
+	   * @returns {Function} A function that accepts two values and returns 1 if
+	   *     the first is greater, -1 if the second is greater, or 0 if they are
+	   *     equivalent.
+	   *
+	   * @examples
+	   * createComparator('a')({ a: 1 }, { a: 2 });       // => -1
+	   * createComparator('a')({ a: 6 }, { a: 2 });       // => 1
+	   * createComparator('a')({ a: 1 }, { a: 1 });       // => 0
+	   * createComparator()(3, 5);                        // => -1
+	   * createComparator()(7, 5);                        // => 1
+	   * createComparator()(3, 3);                        // => 0
+	   */
+	  function createComparator(callback, descending) {
+	    if (!callback) { return compare; }
+
+	    callback = createCallback(callback);
+
+	    return function(x, y) {
+	      return compare(callback(x), callback(y));
+	    };
+	  }
+
+	  /**
+	   * Takes a function and returns a function with the same logic but the
+	   * arguments reversed. Only applies to functions w/ arity=2 as this is private
+	   * and I can do what I want.
+	   *
+	   * @private
+	   * @param {Function} fn The function to "reverse"
+	   * @returns {Function} The "reversed" function
+	   *
+	   * @examples
+	   * reverseArguments(function(x, y) { return x + y; })('a', 'b'); // => 'ba'
+	   */
+	  function reverseArguments(fn) {
+	    return function(x, y) { return fn(y, x); };
+	  }
+
+	  /**
+	   * Creates a Set containing the specified values.
+	   *
+	   * @param {...Array} values One or more array(s) of values used to populate the
+	   *     set.
+	   * @returns {Set} A new set containing the values passed in.
+	   */
+	  function createSet(values) {
+	    var set = new Set();
+	    Lazy(values || []).flatten().each(function(e) {
+	      set.add(e);
+	    });
+	    return set;
+	  }
+
+	  /**
+	   * Compares two elements for sorting purposes.
+	   *
+	   * @private
+	   * @param {*} x The left element to compare.
+	   * @param {*} y The right element to compare.
+	   * @returns {number} 1 if x > y, -1 if x < y, or 0 if x and y are equal.
+	   *
+	   * @examples
+	   * compare(1, 2)     // => -1
+	   * compare(1, 1)     // => 0
+	   * compare(2, 1)     // => 1
+	   * compare('a', 'b') // => -1
+	   */
+	  function compare(x, y) {
+	    if (x === y) {
+	      return 0;
+	    }
+
+	    return x > y ? 1 : -1;
+	  }
+
+	  /**
+	   * Iterates over every element in an array.
+	   *
+	   * @param {Array} array The array.
+	   * @param {Function} fn The function to call on every element, which can return
+	   *     false to stop the iteration early.
+	   * @returns {boolean} True if every element in the entire sequence was iterated,
+	   *     otherwise false.
+	   */
+	  function forEach(array, fn) {
+	    var i = -1,
+	        len = array.length;
+
+	    while (++i < len) {
+	      if (fn(array[i], i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  }
+
+	  function getFirst(sequence) {
+	    var result;
+	    sequence.each(function(e) {
+	      result = e;
+	      return false;
+	    });
+	    return result;
+	  }
+
+	  /**
+	   * Checks if an element exists in an array.
+	   *
+	   * @private
+	   * @param {Array} array
+	   * @param {*} element
+	   * @returns {boolean} Whether or not the element exists in the array.
+	   *
+	   * @examples
+	   * arrayContains([1, 2], 2)              // => true
+	   * arrayContains([1, 2], 3)              // => false
+	   * arrayContains([undefined], undefined) // => true
+	   * arrayContains([NaN], NaN)             // => true
+	   */
+	  function arrayContains(array, element) {
+	    var i = -1,
+	        length = array.length;
+
+	    // Special handling for NaN
+	    if (element !== element) {
+	      while (++i < length) {
+	        if (array[i] !== array[i]) {
+	          return true;
+	        }
+	      }
+	      return false;
+	    }
+
+	    while (++i < length) {
+	      if (array[i] === element) {
+	        return true;
+	      }
+	    }
+	    return false;
+	  }
+
+	  /**
+	   * Checks if an element exists in an array before a given index.
+	   *
+	   * @private
+	   * @param {Array} array
+	   * @param {*} element
+	   * @param {number} index
+	   * @param {Function} keyFn
+	   * @returns {boolean}
+	   *
+	   * @examples
+	   * arrayContainsBefore([1, 2, 3], 3, 2) // => false
+	   * arrayContainsBefore([1, 2, 3], 3, 3) // => true
+	   */
+	  function arrayContainsBefore(array, element, index, keyFn) {
+	    var i = -1;
+
+	    if (keyFn) {
+	      keyFn = createCallback(keyFn);
+	      while (++i < index) {
+	        if (keyFn(array[i]) === keyFn(element)) {
+	          return true;
+	        }
+	      }
+
+	    } else {
+	      while (++i < index) {
+	        if (array[i] === element) {
+	          return true;
+	        }
+	      }
+	    }
+
+	    return false;
+	  }
+
+	  /**
+	   * Swaps the elements at two specified positions of an array.
+	   *
+	   * @private
+	   * @param {Array} array
+	   * @param {number} i
+	   * @param {number} j
+	   *
+	   * @examples
+	   * var array = [1, 2, 3, 4, 5];
+	   *
+	   * swap(array, 2, 3) // array == [1, 2, 4, 3, 5]
+	   */
+	  function swap(array, i, j) {
+	    var temp = array[i];
+	    array[i] = array[j];
+	    array[j] = temp;
+	  }
+
+	  /**
+	   * "Clones" a regular expression (but makes it always global).
+	   *
+	   * @private
+	   * @param {RegExp|string} pattern
+	   * @returns {RegExp}
+	   */
+	  function cloneRegex(pattern) {
+	    return eval("" + pattern + (!pattern.global ? "g" : ""));
+	  };
+
+	  /**
+	   * A collection of unique elements.
+	   *
+	   * @private
+	   * @constructor
+	   *
+	   * @examples
+	   * var set  = new Set(),
+	   *     obj1 = {},
+	   *     obj2 = {},
+	   *     fn1 = function fn1() {},
+	   *     fn2 = function fn2() {};
+	   *
+	   * set.add('foo')            // => true
+	   * set.add('foo')            // => false
+	   * set.add(1)                // => true
+	   * set.add(1)                // => false
+	   * set.add('1')              // => true
+	   * set.add('1')              // => false
+	   * set.add(obj1)             // => true
+	   * set.add(obj1)             // => false
+	   * set.add(obj2)             // => true
+	   * set.add(fn1)              // => true
+	   * set.add(fn2)              // => true
+	   * set.add(fn2)              // => false
+	   * set.contains('__proto__') // => false
+	   * set.add('__proto__')      // => true
+	   * set.add('__proto__')      // => false
+	   * set.contains('add')       // => false
+	   * set.add('add')            // => true
+	   * set.add('add')            // => false
+	   * set.contains(undefined)   // => false
+	   * set.add(undefined)        // => true
+	   * set.contains(undefined)   // => true
+	   * set.contains('undefined') // => false
+	   * set.add('undefined')      // => true
+	   * set.contains('undefined') // => true
+	   * set.contains(NaN)         // => false
+	   * set.add(NaN)              // => true
+	   * set.contains(NaN)         // => true
+	   * set.contains('NaN')       // => false
+	   * set.add('NaN')            // => true
+	   * set.contains('NaN')       // => true
+	   * set.contains('@foo')      // => false
+	   * set.add('@foo')           // => true
+	   * set.contains('@foo')      // => true
+	   */
+	  function Set() {
+	    this.table   = {};
+	    this.objects = [];
+	  }
+
+	  /**
+	   * Attempts to add a unique value to the set.
+	   *
+	   * @param {*} value The value to add.
+	   * @returns {boolean} True if the value was added to the set (meaning an equal
+	   *     value was not already present), or else false.
+	   */
+	  Set.prototype.add = function add(value) {
+	    var table = this.table,
+	        type  = typeof value,
+
+	        // only applies for strings
+	        firstChar,
+
+	        // only applies for objects
+	        objects;
+
+	    switch (type) {
+	      case "number":
+	      case "boolean":
+	      case "undefined":
+	        if (!table[value]) {
+	          table[value] = true;
+	          return true;
+	        }
+	        return false;
+
+	      case "string":
+	        // Essentially, escape the first character if it could possibly collide
+	        // with a number, boolean, or undefined (or a string that happens to start
+	        // with the escape character!), OR if it could override a special property
+	        // such as '__proto__' or 'constructor'.
+	        switch (value.charAt(0)) {
+	          case "_": // e.g., __proto__
+	          case "f": // for 'false'
+	          case "t": // for 'true'
+	          case "c": // for 'constructor'
+	          case "u": // for 'undefined'
+	          case "@": // escaped
+	          case "0":
+	          case "1":
+	          case "2":
+	          case "3":
+	          case "4":
+	          case "5":
+	          case "6":
+	          case "7":
+	          case "8":
+	          case "9":
+	          case "N": // for NaN
+	            value = "@" + value;
+	        }
+	        if (!table[value]) {
+	          table[value] = true;
+	          return true;
+	        }
+	        return false;
+
+	      default:
+	        // For objects and functions, we can't really do anything other than store
+	        // them in an array and do a linear search for reference equality.
+	        objects = this.objects;
+	        if (!arrayContains(objects, value)) {
+	          objects.push(value);
+	          return true;
+	        }
+	        return false;
+	    }
+	  };
+
+	  /**
+	   * Checks whether the set contains a value.
+	   *
+	   * @param {*} value The value to check for.
+	   * @returns {boolean} True if the set contains the value, or else false.
+	   */
+	  Set.prototype.contains = function contains(value) {
+	    var type = typeof value,
+
+	        // only applies for strings
+	        firstChar;
+
+	    switch (type) {
+	      case "number":
+	      case "boolean":
+	      case "undefined":
+	        return !!this.table[value];
+
+	      case "string":
+	        // Essentially, escape the first character if it could possibly collide
+	        // with a number, boolean, or undefined (or a string that happens to start
+	        // with the escape character!), OR if it could override a special property
+	        // such as '__proto__' or 'constructor'.
+	        switch (value.charAt(0)) {
+	          case "_": // e.g., __proto__
+	          case "f": // for 'false'
+	          case "t": // for 'true'
+	          case "c": // for 'constructor'
+	          case "u": // for 'undefined'
+	          case "@": // escaped
+	          case "0":
+	          case "1":
+	          case "2":
+	          case "3":
+	          case "4":
+	          case "5":
+	          case "6":
+	          case "7":
+	          case "8":
+	          case "9":
+	          case "N": // for NaN
+	            value = "@" + value;
+	        }
+	        return !!this.table[value];
+
+	      default:
+	        // For objects and functions, we can't really do anything other than store
+	        // them in an array and do a linear search for reference equality.
+	        return arrayContains(this.objects, value);
+	    }
+	  };
+
+	  /**
+	   * A "rolling" queue, with a fixed capacity. As items are added to the head,
+	   * excess items are dropped from the tail.
+	   *
+	   * @private
+	   * @constructor
+	   *
+	   * @examples
+	   * var queue = new Queue(3);
+	   *
+	   * queue.add(1).toArray()        // => [1]
+	   * queue.add(2).toArray()        // => [1, 2]
+	   * queue.add(3).toArray()        // => [1, 2, 3]
+	   * queue.add(4).toArray()        // => [2, 3, 4]
+	   * queue.add(5).add(6).toArray() // => [4, 5, 6]
+	   * queue.add(7).add(8).toArray() // => [6, 7, 8]
+	   *
+	   * // also want to check corner cases
+	   * new Queue(1).add('foo').add('bar').toArray() // => ['bar']
+	   * new Queue(0).add('foo').toArray()            // => []
+	   * new Queue(-1)                                // throws
+	   *
+	   * @benchmarks
+	   * function populateQueue(count, capacity) {
+	   *   var q = new Queue(capacity);
+	   *   for (var i = 0; i < count; ++i) {
+	   *     q.add(i);
+	   *   }
+	   * }
+	   *
+	   * function populateArray(count, capacity) {
+	   *   var arr = [];
+	   *   for (var i = 0; i < count; ++i) {
+	   *     if (arr.length === capacity) { arr.shift(); }
+	   *     arr.push(i);
+	   *   }
+	   * }
+	   *
+	   * populateQueue(100, 10); // populating a Queue
+	   * populateArray(100, 10); // populating an Array
+	   */
+	  function Queue(capacity) {
+	    this.contents = new Array(capacity);
+	    this.start    = 0;
+	    this.count    = 0;
+	  }
+
+	  /**
+	   * Adds an item to the queue, and returns the queue.
+	   */
+	  Queue.prototype.add = function add(element) {
+	    var contents = this.contents,
+	        capacity = contents.length,
+	        start    = this.start;
+
+	    if (this.count === capacity) {
+	      contents[start] = element;
+	      this.start = (start + 1) % capacity;
+
+	    } else {
+	      contents[this.count++] = element;
+	    }
+
+	    return this;
+	  };
+
+	  /**
+	   * Returns an array containing snapshot of the queue's contents.
+	   */
+	  Queue.prototype.toArray = function toArray() {
+	    var contents = this.contents,
+	        start    = this.start,
+	        count    = this.count;
+
+	    var snapshot = contents.slice(start, start + count);
+	    if (snapshot.length < count) {
+	      snapshot = snapshot.concat(contents.slice(0, count - snapshot.length));
+	    }
+
+	    return snapshot;
+	  };
+
+	  /**
+	   * Shared base method for defining new sequence types.
+	   */
+	  function defineSequenceType(base, name, overrides) {
+	    /** @constructor */
+	    var ctor = function ctor() {};
+
+	    // Make this type inherit from the specified base.
+	    ctor.prototype = new base();
+
+	    // Attach overrides to the new sequence type's prototype.
+	    for (var override in overrides) {
+	      ctor.prototype[override] = overrides[override];
+	    }
+
+	    // Define a factory method that sets the new sequence's parent to the caller
+	    // and (optionally) applies any additional initialization logic.
+	    // Expose this as a chainable method so that we can do:
+	    // Lazy(...).map(...).filter(...).blah(...);
+	    var factory = function factory() {
+	      var sequence = new ctor();
+
+	      // Every sequence needs a reference to its parent in order to work.
+	      sequence.parent = this;
+
+	      // If a custom init function was supplied, call it now.
+	      if (sequence.init) {
+	        sequence.init.apply(sequence, arguments);
+	      }
+
+	      return sequence;
+	    };
+
+	    var methodNames = typeof name === 'string' ? [name] : name;
+	    for (var i = 0; i < methodNames.length; ++i) {
+	      base.prototype[methodNames[i]] = factory;
+	    }
+
+	    return ctor;
+	  }
+
+	  return Lazy;
+	});
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(322).setImmediate, __webpack_require__(322).clearImmediate))
+
+/***/ },
+/* 322 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(323).nextTick;
+	var apply = Function.prototype.apply;
+	var slice = Array.prototype.slice;
+	var immediateIds = {};
+	var nextImmediateId = 0;
+
+	// DOM APIs, for completeness
+
+	exports.setTimeout = function() {
+	  return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);
+	};
+	exports.setInterval = function() {
+	  return new Timeout(apply.call(setInterval, window, arguments), clearInterval);
+	};
+	exports.clearTimeout =
+	exports.clearInterval = function(timeout) { timeout.close(); };
+
+	function Timeout(id, clearFn) {
+	  this._id = id;
+	  this._clearFn = clearFn;
+	}
+	Timeout.prototype.unref = Timeout.prototype.ref = function() {};
+	Timeout.prototype.close = function() {
+	  this._clearFn.call(window, this._id);
+	};
+
+	// Does not start the time, just sets up the members needed.
+	exports.enroll = function(item, msecs) {
+	  clearTimeout(item._idleTimeoutId);
+	  item._idleTimeout = msecs;
+	};
+
+	exports.unenroll = function(item) {
+	  clearTimeout(item._idleTimeoutId);
+	  item._idleTimeout = -1;
+	};
+
+	exports._unrefActive = exports.active = function(item) {
+	  clearTimeout(item._idleTimeoutId);
+
+	  var msecs = item._idleTimeout;
+	  if (msecs >= 0) {
+	    item._idleTimeoutId = setTimeout(function onTimeout() {
+	      if (item._onTimeout)
+	        item._onTimeout();
+	    }, msecs);
+	  }
+	};
+
+	// That's not how node.js implements it but the exposed api is the same.
+	exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) {
+	  var id = nextImmediateId++;
+	  var args = arguments.length < 2 ? false : slice.call(arguments, 1);
+
+	  immediateIds[id] = true;
+
+	  nextTick(function onNextTick() {
+	    if (immediateIds[id]) {
+	      // fn.call() is faster so we optimize for the common use-case
+	      // @see http://jsperf.com/call-apply-segu
+	      if (args) {
+	        fn.apply(null, args);
+	      } else {
+	        fn.call(null);
+	      }
+	      // Prevent ids from leaking
+	      exports.clearImmediate(id);
+	    }
+	  });
+
+	  return id;
+	};
+
+	exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) {
+	  delete immediateIds[id];
+	};
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(322).setImmediate, __webpack_require__(322).clearImmediate))
+
+/***/ },
+/* 323 */
+/***/ function(module, exports) {
+
+	// shim for using process in browser
+
+	var process = module.exports = {};
+	var queue = [];
+	var draining = false;
+	var currentQueue;
+	var queueIndex = -1;
+
+	function cleanUpNextTick() {
+	    draining = false;
+	    if (currentQueue.length) {
+	        queue = currentQueue.concat(queue);
+	    } else {
+	        queueIndex = -1;
+	    }
+	    if (queue.length) {
+	        drainQueue();
+	    }
+	}
+
+	function drainQueue() {
+	    if (draining) {
+	        return;
+	    }
+	    var timeout = setTimeout(cleanUpNextTick);
+	    draining = true;
+
+	    var len = queue.length;
+	    while(len) {
+	        currentQueue = queue;
+	        queue = [];
+	        while (++queueIndex < len) {
+	            if (currentQueue) {
+	                currentQueue[queueIndex].run();
+	            }
+	        }
+	        queueIndex = -1;
+	        len = queue.length;
+	    }
+	    currentQueue = null;
+	    draining = false;
+	    clearTimeout(timeout);
+	}
+
+	process.nextTick = function (fun) {
+	    var args = new Array(arguments.length - 1);
+	    if (arguments.length > 1) {
+	        for (var i = 1; i < arguments.length; i++) {
+	            args[i - 1] = arguments[i];
+	        }
+	    }
+	    queue.push(new Item(fun, args));
+	    if (queue.length === 1 && !draining) {
+	        setTimeout(drainQueue, 0);
+	    }
+	};
+
+	// v8 likes predictible objects
+	function Item(fun, array) {
+	    this.fun = fun;
+	    this.array = array;
+	}
+	Item.prototype.run = function () {
+	    this.fun.apply(null, this.array);
+	};
+	process.title = 'browser';
+	process.browser = true;
+	process.env = {};
+	process.argv = [];
+	process.version = ''; // empty string to avoid regexp issues
+	process.versions = {};
+
+	function noop() {}
+
+	process.on = noop;
+	process.addListener = noop;
+	process.once = noop;
+	process.off = noop;
+	process.removeListener = noop;
+	process.removeAllListeners = noop;
+	process.emit = noop;
+
+	process.binding = function (name) {
+	    throw new Error('process.binding is not supported');
+	};
+
+	process.cwd = function () { return '/' };
+	process.chdir = function (dir) {
+	    throw new Error('process.chdir is not supported');
+	};
+	process.umask = function() { return 0; };
+
+
+/***/ },
+/* 324 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer) {'use strict';
+
+	var _stringify = __webpack_require__(329);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _promise = __webpack_require__(332);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _classCallCheck2 = __webpack_require__(386);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(387);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var _ = __webpack_require__(390);
+	var Lazy = __webpack_require__(391);
+	var Node = __webpack_require__(392);
+
+	var MaxBatchSize = 10; // How many items to keep per local batch
+	var MaxHistory = 256; // How many items to fetch on join
+
+	var Log = function () {
+	  function Log(ipfs, id, items) {
+	    (0, _classCallCheck3.default)(this, Log);
+
+	    this.id = id;
+	    this._ipfs = ipfs;
+	    this._items = items || [];
+	    this._currentBatch = [];
+	  }
+
+	  (0, _createClass3.default)(Log, [{
+	    key: 'add',
+	    value: function add(data) {
+	      var _this = this;
+
+	      if (this._currentBatch.length >= MaxBatchSize) this._commit();
+
+	      return new _promise2.default(function (resolve, reject) {
+	        var heads = Log.findHeads(_this);
+	        Node.create(_this._ipfs, data, heads).then(function (node) {
+	          _this._currentBatch.push(node);
+	          resolve(node);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'join',
+	    value: function join(other) {
+	      var _this2 = this;
+
+	      return new _promise2.default(function (resolve, reject) {
+	        var current = Lazy(_this2._currentBatch).difference(_this2._items).toArray();
+	        var others = _.differenceWith(other.items, _this2._items, Node.equals);
+	        var final = _.unionWith(current, others, Node.equals);
+	        _this2._items = _this2._items.concat(final);
+	        _this2._currentBatch = [];
+
+	        // Fetch history
+	        var nexts = _.flatten(other.items.map(function (f) {
+	          return f.next;
+	        }));
+	        var promises = nexts.map(function (f) {
+	          var all = _this2.items.map(function (a) {
+	            return a.hash;
+	          });
+	          return _this2._fetchRecursive(_this2._ipfs, f, all, MaxHistory, 0).then(function (history) {
+	            history.forEach(function (b) {
+	              return _this2._insert(b);
+	            });
+	            return history;
+	          });
+	        });
+	        _promise2.default.all(promises).then(function (r) {
+	          return resolve(_this2);
+	        });
+	      });
+	    }
+	  }, {
+	    key: 'clear',
+	    value: function clear() {
+	      this._items = [];
+	      this._currentBatch = [];
+	    }
+	  }, {
+	    key: '_insert',
+	    value: function _insert(node) {
+	      var _this3 = this;
+
+	      var indices = Lazy(node.next).map(function (next) {
+	        return Lazy(_this3._items).map(function (f) {
+	          return f.hash;
+	        }).indexOf(next);
+	      }); // Find the item's parent's indices
+	      var index = indices.toArray().length > 0 ? Math.max(indices.max() + 1, 0) : 0; // find the largest index (latest parent)
+	      this._items.splice(index, 0, node);
+	      return node;
+	    }
+	  }, {
+	    key: '_commit',
+	    value: function _commit() {
+	      var current = Lazy(this._currentBatch).difference(this._items).toArray();
+	      this._items = this._items.concat(current);
+	      this._currentBatch = [];
+	    }
+	  }, {
+	    key: '_fetchRecursive',
+	    value: function _fetchRecursive(ipfs, hash, all, amount, depth) {
+	      var _this4 = this;
+
+	      var isReferenced = function isReferenced(list, item) {
+	        return Lazy(list).reverse().find(function (f) {
+	          return f === item;
+	        }) !== undefined;
+	      };
+	      return new _promise2.default(function (resolve, reject) {
+	        var result = [];
+
+	        // If the given hash is in the given log (all) or if we're at maximum depth, return
+	        if (isReferenced(all, hash) || depth >= amount) {
+	          resolve(result);
+	          return;
+	        }
+
+	        // Create the node and add it to the result
+	        Node.fromIpfsHash(ipfs, hash).then(function (node) {
+	          result.push(node);
+	          all.push(hash);
+	          depth++;
+
+	          var promises = node.next.map(function (f) {
+	            return _this4._fetchRecursive(ipfs, f, all, amount, depth);
+	          });
+	          _promise2.default.all(promises).then(function (res) {
+	            result = _.flatten(res.concat(result));
+	            resolve(result);
+	          }).catch(reject);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'items',
+	    get: function get() {
+	      return this._items.concat(this._currentBatch);
+	    }
+	  }, {
+	    key: 'snapshot',
+	    get: function get() {
+	      return {
+	        id: this.id,
+	        items: this._currentBatch.map(function (f) {
+	          return f.hash;
+	        })
+	      };
+	    }
+	  }], [{
+	    key: 'create',
+	    value: function create(ipfs, id, items) {
+	      if (!ipfs) throw new Error("Ipfs instance not defined");
+	      if (!id) throw new Error("id is not defined");
+	      return new _promise2.default(function (resolve, reject) {
+	        var log = new Log(ipfs, id, items);
+	        resolve(log);
+	      });
+	    }
+	  }, {
+	    key: 'getIpfsHash',
+	    value: function getIpfsHash(ipfs, log) {
+	      if (!ipfs) throw new Error("Ipfs instance not defined");
+	      return new _promise2.default(function (resolve, reject) {
+	        ipfs.object.put(new Buffer((0, _stringify2.default)({ Data: (0, _stringify2.default)(log.snapshot) }))).then(function (res) {
+	          return resolve(res.Hash);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'fromJson',
+	    value: function fromJson(ipfs, json) {
+	      return new _promise2.default(function (resolve, reject) {
+	        _promise2.default.all(json.items.map(function (f) {
+	          return Node.fromIpfsHash(ipfs, f);
+	        })).then(function (items) {
+	          Log.create(ipfs, json.id, items).then(resolve).catch(reject);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'fromIpfsHash',
+	    value: function fromIpfsHash(ipfs, hash) {
+	      if (!ipfs) throw new Error("Ipfs instance not defined");
+	      if (!hash) throw new Error("Invalid hash: " + hash);
+	      return new _promise2.default(function (resolve, reject) {
+	        ipfs.object.get(hash).then(function (res) {
+	          Log.fromJson(ipfs, JSON.parse(res.Data)).then(resolve).catch(reject);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'findHeads',
+	    value: function findHeads(log) {
+	      return Lazy(log.items).reverse().filter(function (f) {
+	        return !Log.isReferencedInChain(log, f);
+	      }).map(function (f) {
+	        return f.hash;
+	      }).toArray();
+	    }
+	  }, {
+	    key: 'isReferencedInChain',
+	    value: function isReferencedInChain(log, item) {
+	      return Lazy(log.items).reverse().find(function (e) {
+	        return e.hasChild(item);
+	      }) !== undefined;
+	    }
+	  }, {
+	    key: 'batchSize',
+	    get: function get() {
+	      return MaxBatchSize;
+	    }
+	  }, {
+	    key: 'maxHistory',
+	    get: function get() {
+	      return MaxHistory;
+	    }
+	  }]);
+	  return Log;
+	}();
+
+	module.exports = Log;
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(325).Buffer))
+
+/***/ },
+/* 325 */
+/***/ function(module, exports, __webpack_require__) {
+
+	/* WEBPACK VAR INJECTION */(function(Buffer, global) {/*!
+	 * The buffer module from node.js, for the browser.
+	 *
+	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
+	 * @license  MIT
+	 */
+	/* eslint-disable no-proto */
+
+	'use strict'
+
+	var base64 = __webpack_require__(326)
+	var ieee754 = __webpack_require__(327)
+	var isArray = __webpack_require__(328)
+
+	exports.Buffer = Buffer
+	exports.SlowBuffer = SlowBuffer
+	exports.INSPECT_MAX_BYTES = 50
+	Buffer.poolSize = 8192 // not used by this implementation
+
+	var rootParent = {}
+
+	/**
+	 * If `Buffer.TYPED_ARRAY_SUPPORT`:
+	 *   === true    Use Uint8Array implementation (fastest)
+	 *   === false   Use Object implementation (most compatible, even IE6)
+	 *
+	 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
+	 * Opera 11.6+, iOS 4.2+.
+	 *
+	 * Due to various browser bugs, sometimes the Object implementation will be used even
+	 * when the browser supports typed arrays.
+	 *
+	 * Note:
+	 *
+	 *   - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
+	 *     See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
+	 *
+	 *   - Safari 5-7 lacks support for changing the `Object.prototype.constructor` property
+	 *     on objects.
+	 *
+	 *   - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
+	 *
+	 *   - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
+	 *     incorrect length in some situations.
+
+	 * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
+	 * get the Object implementation, which is slower but behaves correctly.
+	 */
+	Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
+	  ? global.TYPED_ARRAY_SUPPORT
+	  : typedArraySupport()
+
+	function typedArraySupport () {
+	  function Bar () {}
+	  try {
+	    var arr = new Uint8Array(1)
+	    arr.foo = function () { return 42 }
+	    arr.constructor = Bar
+	    return arr.foo() === 42 && // typed array instances can be augmented
+	        arr.constructor === Bar && // constructor can be set
+	        typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
+	        arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
+	  } catch (e) {
+	    return false
+	  }
+	}
+
+	function kMaxLength () {
+	  return Buffer.TYPED_ARRAY_SUPPORT
+	    ? 0x7fffffff
+	    : 0x3fffffff
+	}
+
+	/**
+	 * Class: Buffer
+	 * =============
+	 *
+	 * The Buffer constructor returns instances of `Uint8Array` that are augmented
+	 * with function properties for all the node `Buffer` API functions. We use
+	 * `Uint8Array` so that square bracket notation works as expected -- it returns
+	 * a single octet.
+	 *
+	 * By augmenting the instances, we can avoid modifying the `Uint8Array`
+	 * prototype.
+	 */
+	function Buffer (arg) {
+	  if (!(this instanceof Buffer)) {
+	    // Avoid going through an ArgumentsAdaptorTrampoline in the common case.
+	    if (arguments.length > 1) return new Buffer(arg, arguments[1])
+	    return new Buffer(arg)
+	  }
+
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) {
+	    this.length = 0
+	    this.parent = undefined
+	  }
+
+	  // Common case.
+	  if (typeof arg === 'number') {
+	    return fromNumber(this, arg)
+	  }
+
+	  // Slightly less common case.
+	  if (typeof arg === 'string') {
+	    return fromString(this, arg, arguments.length > 1 ? arguments[1] : 'utf8')
+	  }
+
+	  // Unusual.
+	  return fromObject(this, arg)
+	}
+
+	function fromNumber (that, length) {
+	  that = allocate(that, length < 0 ? 0 : checked(length) | 0)
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) {
+	    for (var i = 0; i < length; i++) {
+	      that[i] = 0
+	    }
+	  }
+	  return that
+	}
+
+	function fromString (that, string, encoding) {
+	  if (typeof encoding !== 'string' || encoding === '') encoding = 'utf8'
+
+	  // Assumption: byteLength() return value is always < kMaxLength.
+	  var length = byteLength(string, encoding) | 0
+	  that = allocate(that, length)
+
+	  that.write(string, encoding)
+	  return that
+	}
+
+	function fromObject (that, object) {
+	  if (Buffer.isBuffer(object)) return fromBuffer(that, object)
+
+	  if (isArray(object)) return fromArray(that, object)
+
+	  if (object == null) {
+	    throw new TypeError('must start with number, buffer, array or string')
+	  }
+
+	  if (typeof ArrayBuffer !== 'undefined') {
+	    if (object.buffer instanceof ArrayBuffer) {
+	      return fromTypedArray(that, object)
+	    }
+	    if (object instanceof ArrayBuffer) {
+	      return fromArrayBuffer(that, object)
+	    }
+	  }
+
+	  if (object.length) return fromArrayLike(that, object)
+
+	  return fromJsonObject(that, object)
+	}
+
+	function fromBuffer (that, buffer) {
+	  var length = checked(buffer.length) | 0
+	  that = allocate(that, length)
+	  buffer.copy(that, 0, 0, length)
+	  return that
+	}
+
+	function fromArray (that, array) {
+	  var length = checked(array.length) | 0
+	  that = allocate(that, length)
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	// Duplicate of fromArray() to keep fromArray() monomorphic.
+	function fromTypedArray (that, array) {
+	  var length = checked(array.length) | 0
+	  that = allocate(that, length)
+	  // Truncating the elements is probably not what people expect from typed
+	  // arrays with BYTES_PER_ELEMENT > 1 but it's compatible with the behavior
+	  // of the old Buffer constructor.
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	function fromArrayBuffer (that, array) {
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    // Return an augmented `Uint8Array` instance, for best performance
+	    array.byteLength
+	    that = Buffer._augment(new Uint8Array(array))
+	  } else {
+	    // Fallback: Return an object instance of the Buffer class
+	    that = fromTypedArray(that, new Uint8Array(array))
+	  }
+	  return that
+	}
+
+	function fromArrayLike (that, array) {
+	  var length = checked(array.length) | 0
+	  that = allocate(that, length)
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	// Deserialize { type: 'Buffer', data: [1,2,3,...] } into a Buffer object.
+	// Returns a zero-length buffer for inputs that don't conform to the spec.
+	function fromJsonObject (that, object) {
+	  var array
+	  var length = 0
+
+	  if (object.type === 'Buffer' && isArray(object.data)) {
+	    array = object.data
+	    length = checked(array.length) | 0
+	  }
+	  that = allocate(that, length)
+
+	  for (var i = 0; i < length; i += 1) {
+	    that[i] = array[i] & 255
+	  }
+	  return that
+	}
+
+	if (Buffer.TYPED_ARRAY_SUPPORT) {
+	  Buffer.prototype.__proto__ = Uint8Array.prototype
+	  Buffer.__proto__ = Uint8Array
+	} else {
+	  // pre-set for values that may exist in the future
+	  Buffer.prototype.length = undefined
+	  Buffer.prototype.parent = undefined
+	}
+
+	function allocate (that, length) {
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    // Return an augmented `Uint8Array` instance, for best performance
+	    that = Buffer._augment(new Uint8Array(length))
+	    that.__proto__ = Buffer.prototype
+	  } else {
+	    // Fallback: Return an object instance of the Buffer class
+	    that.length = length
+	    that._isBuffer = true
+	  }
+
+	  var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1
+	  if (fromPool) that.parent = rootParent
+
+	  return that
+	}
+
+	function checked (length) {
+	  // Note: cannot use `length < kMaxLength` here because that fails when
+	  // length is NaN (which is otherwise coerced to zero.)
+	  if (length >= kMaxLength()) {
+	    throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
+	                         'size: 0x' + kMaxLength().toString(16) + ' bytes')
+	  }
+	  return length | 0
+	}
+
+	function SlowBuffer (subject, encoding) {
+	  if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)
+
+	  var buf = new Buffer(subject, encoding)
+	  delete buf.parent
+	  return buf
+	}
+
+	Buffer.isBuffer = function isBuffer (b) {
+	  return !!(b != null && b._isBuffer)
+	}
+
+	Buffer.compare = function compare (a, b) {
+	  if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
+	    throw new TypeError('Arguments must be Buffers')
+	  }
+
+	  if (a === b) return 0
+
+	  var x = a.length
+	  var y = b.length
+
+	  var i = 0
+	  var len = Math.min(x, y)
+	  while (i < len) {
+	    if (a[i] !== b[i]) break
+
+	    ++i
+	  }
+
+	  if (i !== len) {
+	    x = a[i]
+	    y = b[i]
+	  }
+
+	  if (x < y) return -1
+	  if (y < x) return 1
+	  return 0
+	}
+
+	Buffer.isEncoding = function isEncoding (encoding) {
+	  switch (String(encoding).toLowerCase()) {
+	    case 'hex':
+	    case 'utf8':
+	    case 'utf-8':
+	    case 'ascii':
+	    case 'binary':
+	    case 'base64':
+	    case 'raw':
+	    case 'ucs2':
+	    case 'ucs-2':
+	    case 'utf16le':
+	    case 'utf-16le':
+	      return true
+	    default:
+	      return false
+	  }
+	}
+
+	Buffer.concat = function concat (list, length) {
+	  if (!isArray(list)) throw new TypeError('list argument must be an Array of Buffers.')
+
+	  if (list.length === 0) {
+	    return new Buffer(0)
+	  }
+
+	  var i
+	  if (length === undefined) {
+	    length = 0
+	    for (i = 0; i < list.length; i++) {
+	      length += list[i].length
+	    }
+	  }
+
+	  var buf = new Buffer(length)
+	  var pos = 0
+	  for (i = 0; i < list.length; i++) {
+	    var item = list[i]
+	    item.copy(buf, pos)
+	    pos += item.length
+	  }
+	  return buf
+	}
+
+	function byteLength (string, encoding) {
+	  if (typeof string !== 'string') string = '' + string
+
+	  var len = string.length
+	  if (len === 0) return 0
+
+	  // Use a for loop to avoid recursion
+	  var loweredCase = false
+	  for (;;) {
+	    switch (encoding) {
+	      case 'ascii':
+	      case 'binary':
+	      // Deprecated
+	      case 'raw':
+	      case 'raws':
+	        return len
+	      case 'utf8':
+	      case 'utf-8':
+	        return utf8ToBytes(string).length
+	      case 'ucs2':
+	      case 'ucs-2':
+	      case 'utf16le':
+	      case 'utf-16le':
+	        return len * 2
+	      case 'hex':
+	        return len >>> 1
+	      case 'base64':
+	        return base64ToBytes(string).length
+	      default:
+	        if (loweredCase) return utf8ToBytes(string).length // assume utf8
+	        encoding = ('' + encoding).toLowerCase()
+	        loweredCase = true
+	    }
+	  }
+	}
+	Buffer.byteLength = byteLength
+
+	function slowToString (encoding, start, end) {
+	  var loweredCase = false
+
+	  start = start | 0
+	  end = end === undefined || end === Infinity ? this.length : end | 0
+
+	  if (!encoding) encoding = 'utf8'
+	  if (start < 0) start = 0
+	  if (end > this.length) end = this.length
+	  if (end <= start) return ''
+
+	  while (true) {
+	    switch (encoding) {
+	      case 'hex':
+	        return hexSlice(this, start, end)
+
+	      case 'utf8':
+	      case 'utf-8':
+	        return utf8Slice(this, start, end)
+
+	      case 'ascii':
+	        return asciiSlice(this, start, end)
+
+	      case 'binary':
+	        return binarySlice(this, start, end)
+
+	      case 'base64':
+	        return base64Slice(this, start, end)
+
+	      case 'ucs2':
+	      case 'ucs-2':
+	      case 'utf16le':
+	      case 'utf-16le':
+	        return utf16leSlice(this, start, end)
+
+	      default:
+	        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
+	        encoding = (encoding + '').toLowerCase()
+	        loweredCase = true
+	    }
+	  }
+	}
+
+	Buffer.prototype.toString = function toString () {
+	  var length = this.length | 0
+	  if (length === 0) return ''
+	  if (arguments.length === 0) return utf8Slice(this, 0, length)
+	  return slowToString.apply(this, arguments)
+	}
+
+	Buffer.prototype.equals = function equals (b) {
+	  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
+	  if (this === b) return true
+	  return Buffer.compare(this, b) === 0
+	}
+
+	Buffer.prototype.inspect = function inspect () {
+	  var str = ''
+	  var max = exports.INSPECT_MAX_BYTES
+	  if (this.length > 0) {
+	    str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
+	    if (this.length > max) str += ' ... '
+	  }
+	  return '<Buffer ' + str + '>'
+	}
+
+	Buffer.prototype.compare = function compare (b) {
+	  if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
+	  if (this === b) return 0
+	  return Buffer.compare(this, b)
+	}
+
+	Buffer.prototype.indexOf = function indexOf (val, byteOffset) {
+	  if (byteOffset > 0x7fffffff) byteOffset = 0x7fffffff
+	  else if (byteOffset < -0x80000000) byteOffset = -0x80000000
+	  byteOffset >>= 0
+
+	  if (this.length === 0) return -1
+	  if (byteOffset >= this.length) return -1
+
+	  // Negative offsets start from the end of the buffer
+	  if (byteOffset < 0) byteOffset = Math.max(this.length + byteOffset, 0)
+
+	  if (typeof val === 'string') {
+	    if (val.length === 0) return -1 // special case: looking for empty string always fails
+	    return String.prototype.indexOf.call(this, val, byteOffset)
+	  }
+	  if (Buffer.isBuffer(val)) {
+	    return arrayIndexOf(this, val, byteOffset)
+	  }
+	  if (typeof val === 'number') {
+	    if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {
+	      return Uint8Array.prototype.indexOf.call(this, val, byteOffset)
+	    }
+	    return arrayIndexOf(this, [ val ], byteOffset)
+	  }
+
+	  function arrayIndexOf (arr, val, byteOffset) {
+	    var foundIndex = -1
+	    for (var i = 0; byteOffset + i < arr.length; i++) {
+	      if (arr[byteOffset + i] === val[foundIndex === -1 ? 0 : i - foundIndex]) {
+	        if (foundIndex === -1) foundIndex = i
+	        if (i - foundIndex + 1 === val.length) return byteOffset + foundIndex
+	      } else {
+	        foundIndex = -1
+	      }
+	    }
+	    return -1
+	  }
+
+	  throw new TypeError('val must be string, number or Buffer')
+	}
+
+	// `get` is deprecated
+	Buffer.prototype.get = function get (offset) {
+	  console.log('.get() is deprecated. Access using array indexes instead.')
+	  return this.readUInt8(offset)
+	}
+
+	// `set` is deprecated
+	Buffer.prototype.set = function set (v, offset) {
+	  console.log('.set() is deprecated. Access using array indexes instead.')
+	  return this.writeUInt8(v, offset)
+	}
+
+	function hexWrite (buf, string, offset, length) {
+	  offset = Number(offset) || 0
+	  var remaining = buf.length - offset
+	  if (!length) {
+	    length = remaining
+	  } else {
+	    length = Number(length)
+	    if (length > remaining) {
+	      length = remaining
+	    }
+	  }
+
+	  // must be an even number of digits
+	  var strLen = string.length
+	  if (strLen % 2 !== 0) throw new Error('Invalid hex string')
+
+	  if (length > strLen / 2) {
+	    length = strLen / 2
+	  }
+	  for (var i = 0; i < length; i++) {
+	    var parsed = parseInt(string.substr(i * 2, 2), 16)
+	    if (isNaN(parsed)) throw new Error('Invalid hex string')
+	    buf[offset + i] = parsed
+	  }
+	  return i
+	}
+
+	function utf8Write (buf, string, offset, length) {
+	  return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
+	}
+
+	function asciiWrite (buf, string, offset, length) {
+	  return blitBuffer(asciiToBytes(string), buf, offset, length)
+	}
+
+	function binaryWrite (buf, string, offset, length) {
+	  return asciiWrite(buf, string, offset, length)
+	}
+
+	function base64Write (buf, string, offset, length) {
+	  return blitBuffer(base64ToBytes(string), buf, offset, length)
+	}
+
+	function ucs2Write (buf, string, offset, length) {
+	  return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
+	}
+
+	Buffer.prototype.write = function write (string, offset, length, encoding) {
+	  // Buffer#write(string)
+	  if (offset === undefined) {
+	    encoding = 'utf8'
+	    length = this.length
+	    offset = 0
+	  // Buffer#write(string, encoding)
+	  } else if (length === undefined && typeof offset === 'string') {
+	    encoding = offset
+	    length = this.length
+	    offset = 0
+	  // Buffer#write(string, offset[, length][, encoding])
+	  } else if (isFinite(offset)) {
+	    offset = offset | 0
+	    if (isFinite(length)) {
+	      length = length | 0
+	      if (encoding === undefined) encoding = 'utf8'
+	    } else {
+	      encoding = length
+	      length = undefined
+	    }
+	  // legacy write(string, encoding, offset, length) - remove in v0.13
+	  } else {
+	    var swap = encoding
+	    encoding = offset
+	    offset = length | 0
+	    length = swap
+	  }
+
+	  var remaining = this.length - offset
+	  if (length === undefined || length > remaining) length = remaining
+
+	  if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
+	    throw new RangeError('attempt to write outside buffer bounds')
+	  }
+
+	  if (!encoding) encoding = 'utf8'
+
+	  var loweredCase = false
+	  for (;;) {
+	    switch (encoding) {
+	      case 'hex':
+	        return hexWrite(this, string, offset, length)
+
+	      case 'utf8':
+	      case 'utf-8':
+	        return utf8Write(this, string, offset, length)
+
+	      case 'ascii':
+	        return asciiWrite(this, string, offset, length)
+
+	      case 'binary':
+	        return binaryWrite(this, string, offset, length)
+
+	      case 'base64':
+	        // Warning: maxLength not taken into account in base64Write
+	        return base64Write(this, string, offset, length)
+
+	      case 'ucs2':
+	      case 'ucs-2':
+	      case 'utf16le':
+	      case 'utf-16le':
+	        return ucs2Write(this, string, offset, length)
+
+	      default:
+	        if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
+	        encoding = ('' + encoding).toLowerCase()
+	        loweredCase = true
+	    }
+	  }
+	}
+
+	Buffer.prototype.toJSON = function toJSON () {
+	  return {
+	    type: 'Buffer',
+	    data: Array.prototype.slice.call(this._arr || this, 0)
+	  }
+	}
+
+	function base64Slice (buf, start, end) {
+	  if (start === 0 && end === buf.length) {
+	    return base64.fromByteArray(buf)
+	  } else {
+	    return base64.fromByteArray(buf.slice(start, end))
+	  }
+	}
+
+	function utf8Slice (buf, start, end) {
+	  end = Math.min(buf.length, end)
+	  var res = []
+
+	  var i = start
+	  while (i < end) {
+	    var firstByte = buf[i]
+	    var codePoint = null
+	    var bytesPerSequence = (firstByte > 0xEF) ? 4
+	      : (firstByte > 0xDF) ? 3
+	      : (firstByte > 0xBF) ? 2
+	      : 1
+
+	    if (i + bytesPerSequence <= end) {
+	      var secondByte, thirdByte, fourthByte, tempCodePoint
+
+	      switch (bytesPerSequence) {
+	        case 1:
+	          if (firstByte < 0x80) {
+	            codePoint = firstByte
+	          }
+	          break
+	        case 2:
+	          secondByte = buf[i + 1]
+	          if ((secondByte & 0xC0) === 0x80) {
+	            tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
+	            if (tempCodePoint > 0x7F) {
+	              codePoint = tempCodePoint
+	            }
+	          }
+	          break
+	        case 3:
+	          secondByte = buf[i + 1]
+	          thirdByte = buf[i + 2]
+	          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
+	            tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
+	            if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
+	              codePoint = tempCodePoint
+	            }
+	          }
+	          break
+	        case 4:
+	          secondByte = buf[i + 1]
+	          thirdByte = buf[i + 2]
+	          fourthByte = buf[i + 3]
+	          if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
+	            tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
+	            if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
+	              codePoint = tempCodePoint
+	            }
+	          }
+	      }
+	    }
+
+	    if (codePoint === null) {
+	      // we did not generate a valid codePoint so insert a
+	      // replacement char (U+FFFD) and advance only 1 byte
+	      codePoint = 0xFFFD
+	      bytesPerSequence = 1
+	    } else if (codePoint > 0xFFFF) {
+	      // encode to utf16 (surrogate pair dance)
+	      codePoint -= 0x10000
+	      res.push(codePoint >>> 10 & 0x3FF | 0xD800)
+	      codePoint = 0xDC00 | codePoint & 0x3FF
+	    }
+
+	    res.push(codePoint)
+	    i += bytesPerSequence
+	  }
+
+	  return decodeCodePointsArray(res)
+	}
+
+	// Based on http://stackoverflow.com/a/22747272/680742, the browser with
+	// the lowest limit is Chrome, with 0x10000 args.
+	// We go 1 magnitude less, for safety
+	var MAX_ARGUMENTS_LENGTH = 0x1000
+
+	function decodeCodePointsArray (codePoints) {
+	  var len = codePoints.length
+	  if (len <= MAX_ARGUMENTS_LENGTH) {
+	    return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
+	  }
+
+	  // Decode in chunks to avoid "call stack size exceeded".
+	  var res = ''
+	  var i = 0
+	  while (i < len) {
+	    res += String.fromCharCode.apply(
+	      String,
+	      codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
+	    )
+	  }
+	  return res
+	}
+
+	function asciiSlice (buf, start, end) {
+	  var ret = ''
+	  end = Math.min(buf.length, end)
+
+	  for (var i = start; i < end; i++) {
+	    ret += String.fromCharCode(buf[i] & 0x7F)
+	  }
+	  return ret
+	}
+
+	function binarySlice (buf, start, end) {
+	  var ret = ''
+	  end = Math.min(buf.length, end)
+
+	  for (var i = start; i < end; i++) {
+	    ret += String.fromCharCode(buf[i])
+	  }
+	  return ret
+	}
+
+	function hexSlice (buf, start, end) {
+	  var len = buf.length
+
+	  if (!start || start < 0) start = 0
+	  if (!end || end < 0 || end > len) end = len
+
+	  var out = ''
+	  for (var i = start; i < end; i++) {
+	    out += toHex(buf[i])
+	  }
+	  return out
+	}
+
+	function utf16leSlice (buf, start, end) {
+	  var bytes = buf.slice(start, end)
+	  var res = ''
+	  for (var i = 0; i < bytes.length; i += 2) {
+	    res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
+	  }
+	  return res
+	}
+
+	Buffer.prototype.slice = function slice (start, end) {
+	  var len = this.length
+	  start = ~~start
+	  end = end === undefined ? len : ~~end
+
+	  if (start < 0) {
+	    start += len
+	    if (start < 0) start = 0
+	  } else if (start > len) {
+	    start = len
+	  }
+
+	  if (end < 0) {
+	    end += len
+	    if (end < 0) end = 0
+	  } else if (end > len) {
+	    end = len
+	  }
+
+	  if (end < start) end = start
+
+	  var newBuf
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    newBuf = Buffer._augment(this.subarray(start, end))
+	  } else {
+	    var sliceLen = end - start
+	    newBuf = new Buffer(sliceLen, undefined)
+	    for (var i = 0; i < sliceLen; i++) {
+	      newBuf[i] = this[i + start]
+	    }
+	  }
+
+	  if (newBuf.length) newBuf.parent = this.parent || this
+
+	  return newBuf
+	}
+
+	/*
+	 * Need to make sure that buffer isn't trying to write out of bounds.
+	 */
+	function checkOffset (offset, ext, length) {
+	  if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
+	  if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
+	}
+
+	Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkOffset(offset, byteLength, this.length)
+
+	  var val = this[offset]
+	  var mul = 1
+	  var i = 0
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    val += this[offset + i] * mul
+	  }
+
+	  return val
+	}
+
+	Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) {
+	    checkOffset(offset, byteLength, this.length)
+	  }
+
+	  var val = this[offset + --byteLength]
+	  var mul = 1
+	  while (byteLength > 0 && (mul *= 0x100)) {
+	    val += this[offset + --byteLength] * mul
+	  }
+
+	  return val
+	}
+
+	Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 1, this.length)
+	  return this[offset]
+	}
+
+	Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  return this[offset] | (this[offset + 1] << 8)
+	}
+
+	Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  return (this[offset] << 8) | this[offset + 1]
+	}
+
+	Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return ((this[offset]) |
+	      (this[offset + 1] << 8) |
+	      (this[offset + 2] << 16)) +
+	      (this[offset + 3] * 0x1000000)
+	}
+
+	Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return (this[offset] * 0x1000000) +
+	    ((this[offset + 1] << 16) |
+	    (this[offset + 2] << 8) |
+	    this[offset + 3])
+	}
+
+	Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkOffset(offset, byteLength, this.length)
+
+	  var val = this[offset]
+	  var mul = 1
+	  var i = 0
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    val += this[offset + i] * mul
+	  }
+	  mul *= 0x80
+
+	  if (val >= mul) val -= Math.pow(2, 8 * byteLength)
+
+	  return val
+	}
+
+	Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkOffset(offset, byteLength, this.length)
+
+	  var i = byteLength
+	  var mul = 1
+	  var val = this[offset + --i]
+	  while (i > 0 && (mul *= 0x100)) {
+	    val += this[offset + --i] * mul
+	  }
+	  mul *= 0x80
+
+	  if (val >= mul) val -= Math.pow(2, 8 * byteLength)
+
+	  return val
+	}
+
+	Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 1, this.length)
+	  if (!(this[offset] & 0x80)) return (this[offset])
+	  return ((0xff - this[offset] + 1) * -1)
+	}
+
+	Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  var val = this[offset] | (this[offset + 1] << 8)
+	  return (val & 0x8000) ? val | 0xFFFF0000 : val
+	}
+
+	Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 2, this.length)
+	  var val = this[offset + 1] | (this[offset] << 8)
+	  return (val & 0x8000) ? val | 0xFFFF0000 : val
+	}
+
+	Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return (this[offset]) |
+	    (this[offset + 1] << 8) |
+	    (this[offset + 2] << 16) |
+	    (this[offset + 3] << 24)
+	}
+
+	Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+
+	  return (this[offset] << 24) |
+	    (this[offset + 1] << 16) |
+	    (this[offset + 2] << 8) |
+	    (this[offset + 3])
+	}
+
+	Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+	  return ieee754.read(this, offset, true, 23, 4)
+	}
+
+	Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 4, this.length)
+	  return ieee754.read(this, offset, false, 23, 4)
+	}
+
+	Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 8, this.length)
+	  return ieee754.read(this, offset, true, 52, 8)
+	}
+
+	Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
+	  if (!noAssert) checkOffset(offset, 8, this.length)
+	  return ieee754.read(this, offset, false, 52, 8)
+	}
+
+	function checkInt (buf, value, offset, ext, max, min) {
+	  if (!Buffer.isBuffer(buf)) throw new TypeError('buffer must be a Buffer instance')
+	  if (value > max || value < min) throw new RangeError('value is out of bounds')
+	  if (offset + ext > buf.length) throw new RangeError('index out of range')
+	}
+
+	Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)
+
+	  var mul = 1
+	  var i = 0
+	  this[offset] = value & 0xFF
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    this[offset + i] = (value / mul) & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  byteLength = byteLength | 0
+	  if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)
+
+	  var i = byteLength - 1
+	  var mul = 1
+	  this[offset + i] = value & 0xFF
+	  while (--i >= 0 && (mul *= 0x100)) {
+	    this[offset + i] = (value / mul) & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
+	  this[offset] = (value & 0xff)
+	  return offset + 1
+	}
+
+	function objectWriteUInt16 (buf, value, offset, littleEndian) {
+	  if (value < 0) value = 0xffff + value + 1
+	  for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; i++) {
+	    buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
+	      (littleEndian ? i : 1 - i) * 8
+	  }
+	}
+
+	Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value & 0xff)
+	    this[offset + 1] = (value >>> 8)
+	  } else {
+	    objectWriteUInt16(this, value, offset, true)
+	  }
+	  return offset + 2
+	}
+
+	Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 8)
+	    this[offset + 1] = (value & 0xff)
+	  } else {
+	    objectWriteUInt16(this, value, offset, false)
+	  }
+	  return offset + 2
+	}
+
+	function objectWriteUInt32 (buf, value, offset, littleEndian) {
+	  if (value < 0) value = 0xffffffff + value + 1
+	  for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; i++) {
+	    buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
+	  }
+	}
+
+	Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset + 3] = (value >>> 24)
+	    this[offset + 2] = (value >>> 16)
+	    this[offset + 1] = (value >>> 8)
+	    this[offset] = (value & 0xff)
+	  } else {
+	    objectWriteUInt32(this, value, offset, true)
+	  }
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 24)
+	    this[offset + 1] = (value >>> 16)
+	    this[offset + 2] = (value >>> 8)
+	    this[offset + 3] = (value & 0xff)
+	  } else {
+	    objectWriteUInt32(this, value, offset, false)
+	  }
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) {
+	    var limit = Math.pow(2, 8 * byteLength - 1)
+
+	    checkInt(this, value, offset, byteLength, limit - 1, -limit)
+	  }
+
+	  var i = 0
+	  var mul = 1
+	  var sub = value < 0 ? 1 : 0
+	  this[offset] = value & 0xFF
+	  while (++i < byteLength && (mul *= 0x100)) {
+	    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) {
+	    var limit = Math.pow(2, 8 * byteLength - 1)
+
+	    checkInt(this, value, offset, byteLength, limit - 1, -limit)
+	  }
+
+	  var i = byteLength - 1
+	  var mul = 1
+	  var sub = value < 0 ? 1 : 0
+	  this[offset + i] = value & 0xFF
+	  while (--i >= 0 && (mul *= 0x100)) {
+	    this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
+	  }
+
+	  return offset + byteLength
+	}
+
+	Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
+	  if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
+	  if (value < 0) value = 0xff + value + 1
+	  this[offset] = (value & 0xff)
+	  return offset + 1
+	}
+
+	Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value & 0xff)
+	    this[offset + 1] = (value >>> 8)
+	  } else {
+	    objectWriteUInt16(this, value, offset, true)
+	  }
+	  return offset + 2
+	}
+
+	Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 8)
+	    this[offset + 1] = (value & 0xff)
+	  } else {
+	    objectWriteUInt16(this, value, offset, false)
+	  }
+	  return offset + 2
+	}
+
+	Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value & 0xff)
+	    this[offset + 1] = (value >>> 8)
+	    this[offset + 2] = (value >>> 16)
+	    this[offset + 3] = (value >>> 24)
+	  } else {
+	    objectWriteUInt32(this, value, offset, true)
+	  }
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
+	  value = +value
+	  offset = offset | 0
+	  if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
+	  if (value < 0) value = 0xffffffff + value + 1
+	  if (Buffer.TYPED_ARRAY_SUPPORT) {
+	    this[offset] = (value >>> 24)
+	    this[offset + 1] = (value >>> 16)
+	    this[offset + 2] = (value >>> 8)
+	    this[offset + 3] = (value & 0xff)
+	  } else {
+	    objectWriteUInt32(this, value, offset, false)
+	  }
+	  return offset + 4
+	}
+
+	function checkIEEE754 (buf, value, offset, ext, max, min) {
+	  if (value > max || value < min) throw new RangeError('value is out of bounds')
+	  if (offset + ext > buf.length) throw new RangeError('index out of range')
+	  if (offset < 0) throw new RangeError('index out of range')
+	}
+
+	function writeFloat (buf, value, offset, littleEndian, noAssert) {
+	  if (!noAssert) {
+	    checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
+	  }
+	  ieee754.write(buf, value, offset, littleEndian, 23, 4)
+	  return offset + 4
+	}
+
+	Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
+	  return writeFloat(this, value, offset, true, noAssert)
+	}
+
+	Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
+	  return writeFloat(this, value, offset, false, noAssert)
+	}
+
+	function writeDouble (buf, value, offset, littleEndian, noAssert) {
+	  if (!noAssert) {
+	    checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
+	  }
+	  ieee754.write(buf, value, offset, littleEndian, 52, 8)
+	  return offset + 8
+	}
+
+	Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
+	  return writeDouble(this, value, offset, true, noAssert)
+	}
+
+	Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
+	  return writeDouble(this, value, offset, false, noAssert)
+	}
+
+	// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
+	Buffer.prototype.copy = function copy (target, targetStart, start, end) {
+	  if (!start) start = 0
+	  if (!end && end !== 0) end = this.length
+	  if (targetStart >= target.length) targetStart = target.length
+	  if (!targetStart) targetStart = 0
+	  if (end > 0 && end < start) end = start
+
+	  // Copy 0 bytes; we're done
+	  if (end === start) return 0
+	  if (target.length === 0 || this.length === 0) return 0
+
+	  // Fatal error conditions
+	  if (targetStart < 0) {
+	    throw new RangeError('targetStart out of bounds')
+	  }
+	  if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
+	  if (end < 0) throw new RangeError('sourceEnd out of bounds')
+
+	  // Are we oob?
+	  if (end > this.length) end = this.length
+	  if (target.length - targetStart < end - start) {
+	    end = target.length - targetStart + start
+	  }
+
+	  var len = end - start
+	  var i
+
+	  if (this === target && start < targetStart && targetStart < end) {
+	    // descending copy from end
+	    for (i = len - 1; i >= 0; i--) {
+	      target[i + targetStart] = this[i + start]
+	    }
+	  } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
+	    // ascending copy from start
+	    for (i = 0; i < len; i++) {
+	      target[i + targetStart] = this[i + start]
+	    }
+	  } else {
+	    target._set(this.subarray(start, start + len), targetStart)
+	  }
+
+	  return len
+	}
+
+	// fill(value, start=0, end=buffer.length)
+	Buffer.prototype.fill = function fill (value, start, end) {
+	  if (!value) value = 0
+	  if (!start) start = 0
+	  if (!end) end = this.length
+
+	  if (end < start) throw new RangeError('end < start')
+
+	  // Fill 0 bytes; we're done
+	  if (end === start) return
+	  if (this.length === 0) return
+
+	  if (start < 0 || start >= this.length) throw new RangeError('start out of bounds')
+	  if (end < 0 || end > this.length) throw new RangeError('end out of bounds')
+
+	  var i
+	  if (typeof value === 'number') {
+	    for (i = start; i < end; i++) {
+	      this[i] = value
+	    }
+	  } else {
+	    var bytes = utf8ToBytes(value.toString())
+	    var len = bytes.length
+	    for (i = start; i < end; i++) {
+	      this[i] = bytes[i % len]
+	    }
+	  }
+
+	  return this
+	}
+
+	/**
+	 * Creates a new `ArrayBuffer` with the *copied* memory of the buffer instance.
+	 * Added in Node 0.12. Only available in browsers that support ArrayBuffer.
+	 */
+	Buffer.prototype.toArrayBuffer = function toArrayBuffer () {
+	  if (typeof Uint8Array !== 'undefined') {
+	    if (Buffer.TYPED_ARRAY_SUPPORT) {
+	      return (new Buffer(this)).buffer
+	    } else {
+	      var buf = new Uint8Array(this.length)
+	      for (var i = 0, len = buf.length; i < len; i += 1) {
+	        buf[i] = this[i]
+	      }
+	      return buf.buffer
+	    }
+	  } else {
+	    throw new TypeError('Buffer.toArrayBuffer not supported in this browser')
+	  }
+	}
+
+	// HELPER FUNCTIONS
+	// ================
+
+	var BP = Buffer.prototype
+
+	/**
+	 * Augment a Uint8Array *instance* (not the Uint8Array class!) with Buffer methods
+	 */
+	Buffer._augment = function _augment (arr) {
+	  arr.constructor = Buffer
+	  arr._isBuffer = true
+
+	  // save reference to original Uint8Array set method before overwriting
+	  arr._set = arr.set
+
+	  // deprecated
+	  arr.get = BP.get
+	  arr.set = BP.set
+
+	  arr.write = BP.write
+	  arr.toString = BP.toString
+	  arr.toLocaleString = BP.toString
+	  arr.toJSON = BP.toJSON
+	  arr.equals = BP.equals
+	  arr.compare = BP.compare
+	  arr.indexOf = BP.indexOf
+	  arr.copy = BP.copy
+	  arr.slice = BP.slice
+	  arr.readUIntLE = BP.readUIntLE
+	  arr.readUIntBE = BP.readUIntBE
+	  arr.readUInt8 = BP.readUInt8
+	  arr.readUInt16LE = BP.readUInt16LE
+	  arr.readUInt16BE = BP.readUInt16BE
+	  arr.readUInt32LE = BP.readUInt32LE
+	  arr.readUInt32BE = BP.readUInt32BE
+	  arr.readIntLE = BP.readIntLE
+	  arr.readIntBE = BP.readIntBE
+	  arr.readInt8 = BP.readInt8
+	  arr.readInt16LE = BP.readInt16LE
+	  arr.readInt16BE = BP.readInt16BE
+	  arr.readInt32LE = BP.readInt32LE
+	  arr.readInt32BE = BP.readInt32BE
+	  arr.readFloatLE = BP.readFloatLE
+	  arr.readFloatBE = BP.readFloatBE
+	  arr.readDoubleLE = BP.readDoubleLE
+	  arr.readDoubleBE = BP.readDoubleBE
+	  arr.writeUInt8 = BP.writeUInt8
+	  arr.writeUIntLE = BP.writeUIntLE
+	  arr.writeUIntBE = BP.writeUIntBE
+	  arr.writeUInt16LE = BP.writeUInt16LE
+	  arr.writeUInt16BE = BP.writeUInt16BE
+	  arr.writeUInt32LE = BP.writeUInt32LE
+	  arr.writeUInt32BE = BP.writeUInt32BE
+	  arr.writeIntLE = BP.writeIntLE
+	  arr.writeIntBE = BP.writeIntBE
+	  arr.writeInt8 = BP.writeInt8
+	  arr.writeInt16LE = BP.writeInt16LE
+	  arr.writeInt16BE = BP.writeInt16BE
+	  arr.writeInt32LE = BP.writeInt32LE
+	  arr.writeInt32BE = BP.writeInt32BE
+	  arr.writeFloatLE = BP.writeFloatLE
+	  arr.writeFloatBE = BP.writeFloatBE
+	  arr.writeDoubleLE = BP.writeDoubleLE
+	  arr.writeDoubleBE = BP.writeDoubleBE
+	  arr.fill = BP.fill
+	  arr.inspect = BP.inspect
+	  arr.toArrayBuffer = BP.toArrayBuffer
+
+	  return arr
+	}
+
+	var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
+
+	function base64clean (str) {
+	  // Node strips out invalid characters like \n and \t from the string, base64-js does not
+	  str = stringtrim(str).replace(INVALID_BASE64_RE, '')
+	  // Node converts strings with length < 2 to ''
+	  if (str.length < 2) return ''
+	  // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
+	  while (str.length % 4 !== 0) {
+	    str = str + '='
+	  }
+	  return str
+	}
+
+	function stringtrim (str) {
+	  if (str.trim) return str.trim()
+	  return str.replace(/^\s+|\s+$/g, '')
+	}
+
+	function toHex (n) {
+	  if (n < 16) return '0' + n.toString(16)
+	  return n.toString(16)
+	}
+
+	function utf8ToBytes (string, units) {
+	  units = units || Infinity
+	  var codePoint
+	  var length = string.length
+	  var leadSurrogate = null
+	  var bytes = []
+
+	  for (var i = 0; i < length; i++) {
+	    codePoint = string.charCodeAt(i)
+
+	    // is surrogate component
+	    if (codePoint > 0xD7FF && codePoint < 0xE000) {
+	      // last char was a lead
+	      if (!leadSurrogate) {
+	        // no lead yet
+	        if (codePoint > 0xDBFF) {
+	          // unexpected trail
+	          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	          continue
+	        } else if (i + 1 === length) {
+	          // unpaired lead
+	          if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	          continue
+	        }
+
+	        // valid lead
+	        leadSurrogate = codePoint
+
+	        continue
+	      }
+
+	      // 2 leads in a row
+	      if (codePoint < 0xDC00) {
+	        if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	        leadSurrogate = codePoint
+	        continue
+	      }
+
+	      // valid surrogate pair
+	      codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
+	    } else if (leadSurrogate) {
+	      // valid bmp char, but last char was a lead
+	      if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
+	    }
+
+	    leadSurrogate = null
+
+	    // encode utf8
+	    if (codePoint < 0x80) {
+	      if ((units -= 1) < 0) break
+	      bytes.push(codePoint)
+	    } else if (codePoint < 0x800) {
+	      if ((units -= 2) < 0) break
+	      bytes.push(
+	        codePoint >> 0x6 | 0xC0,
+	        codePoint & 0x3F | 0x80
+	      )
+	    } else if (codePoint < 0x10000) {
+	      if ((units -= 3) < 0) break
+	      bytes.push(
+	        codePoint >> 0xC | 0xE0,
+	        codePoint >> 0x6 & 0x3F | 0x80,
+	        codePoint & 0x3F | 0x80
+	      )
+	    } else if (codePoint < 0x110000) {
+	      if ((units -= 4) < 0) break
+	      bytes.push(
+	        codePoint >> 0x12 | 0xF0,
+	        codePoint >> 0xC & 0x3F | 0x80,
+	        codePoint >> 0x6 & 0x3F | 0x80,
+	        codePoint & 0x3F | 0x80
+	      )
+	    } else {
+	      throw new Error('Invalid code point')
+	    }
+	  }
+
+	  return bytes
+	}
+
+	function asciiToBytes (str) {
+	  var byteArray = []
+	  for (var i = 0; i < str.length; i++) {
+	    // Node's code seems to be doing this and not & 0x7F..
+	    byteArray.push(str.charCodeAt(i) & 0xFF)
+	  }
+	  return byteArray
+	}
+
+	function utf16leToBytes (str, units) {
+	  var c, hi, lo
+	  var byteArray = []
+	  for (var i = 0; i < str.length; i++) {
+	    if ((units -= 2) < 0) break
+
+	    c = str.charCodeAt(i)
+	    hi = c >> 8
+	    lo = c % 256
+	    byteArray.push(lo)
+	    byteArray.push(hi)
+	  }
+
+	  return byteArray
+	}
+
+	function base64ToBytes (str) {
+	  return base64.toByteArray(base64clean(str))
+	}
+
+	function blitBuffer (src, dst, offset, length) {
+	  for (var i = 0; i < length; i++) {
+	    if ((i + offset >= dst.length) || (i >= src.length)) break
+	    dst[i + offset] = src[i]
+	  }
+	  return i
+	}
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(325).Buffer, (function() { return this; }())))
+
+/***/ },
+/* 326 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
+
+	;(function (exports) {
+		'use strict';
+
+	  var Arr = (typeof Uint8Array !== 'undefined')
+	    ? Uint8Array
+	    : Array
+
+		var PLUS   = '+'.charCodeAt(0)
+		var SLASH  = '/'.charCodeAt(0)
+		var NUMBER = '0'.charCodeAt(0)
+		var LOWER  = 'a'.charCodeAt(0)
+		var UPPER  = 'A'.charCodeAt(0)
+		var PLUS_URL_SAFE = '-'.charCodeAt(0)
+		var SLASH_URL_SAFE = '_'.charCodeAt(0)
+
+		function decode (elt) {
+			var code = elt.charCodeAt(0)
+			if (code === PLUS ||
+			    code === PLUS_URL_SAFE)
+				return 62 // '+'
+			if (code === SLASH ||
+			    code === SLASH_URL_SAFE)
+				return 63 // '/'
+			if (code < NUMBER)
+				return -1 //no match
+			if (code < NUMBER + 10)
+				return code - NUMBER + 26 + 26
+			if (code < UPPER + 26)
+				return code - UPPER
+			if (code < LOWER + 26)
+				return code - LOWER + 26
+		}
+
+		function b64ToByteArray (b64) {
+			var i, j, l, tmp, placeHolders, arr
+
+			if (b64.length % 4 > 0) {
+				throw new Error('Invalid string. Length must be a multiple of 4')
+			}
+
+			// the number of equal signs (place holders)
+			// if there are two placeholders, than the two characters before it
+			// represent one byte
+			// if there is only one, then the three characters before it represent 2 bytes
+			// this is just a cheap hack to not do indexOf twice
+			var len = b64.length
+			placeHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0
+
+			// base64 is 4/3 + up to two characters of the original data
+			arr = new Arr(b64.length * 3 / 4 - placeHolders)
+
+			// if there are placeholders, only get up to the last complete 4 chars
+			l = placeHolders > 0 ? b64.length - 4 : b64.length
+
+			var L = 0
+
+			function push (v) {
+				arr[L++] = v
+			}
+
+			for (i = 0, j = 0; i < l; i += 4, j += 3) {
+				tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3))
+				push((tmp & 0xFF0000) >> 16)
+				push((tmp & 0xFF00) >> 8)
+				push(tmp & 0xFF)
+			}
+
+			if (placeHolders === 2) {
+				tmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4)
+				push(tmp & 0xFF)
+			} else if (placeHolders === 1) {
+				tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2)
+				push((tmp >> 8) & 0xFF)
+				push(tmp & 0xFF)
+			}
+
+			return arr
+		}
+
+		function uint8ToBase64 (uint8) {
+			var i,
+				extraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes
+				output = "",
+				temp, length
+
+			function encode (num) {
+				return lookup.charAt(num)
+			}
+
+			function tripletToBase64 (num) {
+				return encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F)
+			}
+
+			// go through the array every three bytes, we'll deal with trailing stuff later
+			for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {
+				temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])
+				output += tripletToBase64(temp)
+			}
+
+			// pad the end with zeros, but make sure to not forget the extra bytes
+			switch (extraBytes) {
+				case 1:
+					temp = uint8[uint8.length - 1]
+					output += encode(temp >> 2)
+					output += encode((temp << 4) & 0x3F)
+					output += '=='
+					break
+				case 2:
+					temp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1])
+					output += encode(temp >> 10)
+					output += encode((temp >> 4) & 0x3F)
+					output += encode((temp << 2) & 0x3F)
+					output += '='
+					break
+			}
+
+			return output
+		}
+
+		exports.toByteArray = b64ToByteArray
+		exports.fromByteArray = uint8ToBase64
+	}( false ? (this.base64js = {}) : exports))
+
+
+/***/ },
+/* 327 */
+/***/ function(module, exports) {
+
+	exports.read = function (buffer, offset, isLE, mLen, nBytes) {
+	  var e, m
+	  var eLen = nBytes * 8 - mLen - 1
+	  var eMax = (1 << eLen) - 1
+	  var eBias = eMax >> 1
+	  var nBits = -7
+	  var i = isLE ? (nBytes - 1) : 0
+	  var d = isLE ? -1 : 1
+	  var s = buffer[offset + i]
+
+	  i += d
+
+	  e = s & ((1 << (-nBits)) - 1)
+	  s >>= (-nBits)
+	  nBits += eLen
+	  for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}
+
+	  m = e & ((1 << (-nBits)) - 1)
+	  e >>= (-nBits)
+	  nBits += mLen
+	  for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}
+
+	  if (e === 0) {
+	    e = 1 - eBias
+	  } else if (e === eMax) {
+	    return m ? NaN : ((s ? -1 : 1) * Infinity)
+	  } else {
+	    m = m + Math.pow(2, mLen)
+	    e = e - eBias
+	  }
+	  return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
+	}
+
+	exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
+	  var e, m, c
+	  var eLen = nBytes * 8 - mLen - 1
+	  var eMax = (1 << eLen) - 1
+	  var eBias = eMax >> 1
+	  var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
+	  var i = isLE ? 0 : (nBytes - 1)
+	  var d = isLE ? 1 : -1
+	  var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
+
+	  value = Math.abs(value)
+
+	  if (isNaN(value) || value === Infinity) {
+	    m = isNaN(value) ? 1 : 0
+	    e = eMax
+	  } else {
+	    e = Math.floor(Math.log(value) / Math.LN2)
+	    if (value * (c = Math.pow(2, -e)) < 1) {
+	      e--
+	      c *= 2
+	    }
+	    if (e + eBias >= 1) {
+	      value += rt / c
+	    } else {
+	      value += rt * Math.pow(2, 1 - eBias)
+	    }
+	    if (value * c >= 2) {
+	      e++
+	      c /= 2
+	    }
+
+	    if (e + eBias >= eMax) {
+	      m = 0
+	      e = eMax
+	    } else if (e + eBias >= 1) {
+	      m = (value * c - 1) * Math.pow(2, mLen)
+	      e = e + eBias
+	    } else {
+	      m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
+	      e = 0
+	    }
+	  }
+
+	  for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
+
+	  e = (e << mLen) | m
+	  eLen += mLen
+	  for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
+
+	  buffer[offset + i - d] |= s * 128
+	}
+
+
+/***/ },
+/* 328 */
+/***/ function(module, exports) {
+
+	var toString = {}.toString;
+
+	module.exports = Array.isArray || function (arr) {
+	  return toString.call(arr) == '[object Array]';
+	};
+
+
+/***/ },
+/* 329 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(330), __esModule: true };
+
+/***/ },
+/* 330 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var core = __webpack_require__(331);
+	module.exports = function stringify(it){ // eslint-disable-line no-unused-vars
+	  return (core.JSON && core.JSON.stringify || JSON.stringify).apply(JSON, arguments);
+	};
+
+/***/ },
+/* 331 */
+/***/ function(module, exports) {
+
+	var core = module.exports = {version: '1.2.6'};
+	if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
+
+/***/ },
+/* 332 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(333), __esModule: true };
+
+/***/ },
+/* 333 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(334);
+	__webpack_require__(335);
+	__webpack_require__(358);
+	__webpack_require__(365);
+	module.exports = __webpack_require__(331).Promise;
+
+/***/ },
+/* 334 */
+/***/ function(module, exports) {
+
+	
+
+/***/ },
+/* 335 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var $at  = __webpack_require__(336)(true);
+
+	// 21.1.3.27 String.prototype[@@iterator]()
+	__webpack_require__(339)(String, 'String', function(iterated){
+	  this._t = String(iterated); // target
+	  this._i = 0;                // next index
+	// 21.1.5.2.1 %StringIteratorPrototype%.next()
+	}, function(){
+	  var O     = this._t
+	    , index = this._i
+	    , point;
+	  if(index >= O.length)return {value: undefined, done: true};
+	  point = $at(O, index);
+	  this._i += point.length;
+	  return {value: point, done: false};
+	});
+
+/***/ },
+/* 336 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var toInteger = __webpack_require__(337)
+	  , defined   = __webpack_require__(338);
+	// true  -> String#at
+	// false -> String#codePointAt
+	module.exports = function(TO_STRING){
+	  return function(that, pos){
+	    var s = String(defined(that))
+	      , i = toInteger(pos)
+	      , l = s.length
+	      , a, b;
+	    if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
+	    a = s.charCodeAt(i);
+	    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
+	      ? TO_STRING ? s.charAt(i) : a
+	      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
+	  };
+	};
+
+/***/ },
+/* 337 */
+/***/ function(module, exports) {
+
+	// 7.1.4 ToInteger
+	var ceil  = Math.ceil
+	  , floor = Math.floor;
+	module.exports = function(it){
+	  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
+	};
+
+/***/ },
+/* 338 */
+/***/ function(module, exports) {
+
+	// 7.2.1 RequireObjectCoercible(argument)
+	module.exports = function(it){
+	  if(it == undefined)throw TypeError("Can't call method on  " + it);
+	  return it;
+	};
+
+/***/ },
+/* 339 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var LIBRARY        = __webpack_require__(340)
+	  , $export        = __webpack_require__(341)
+	  , redefine       = __webpack_require__(345)
+	  , hide           = __webpack_require__(346)
+	  , has            = __webpack_require__(351)
+	  , Iterators      = __webpack_require__(352)
+	  , $iterCreate    = __webpack_require__(353)
+	  , setToStringTag = __webpack_require__(354)
+	  , getProto       = __webpack_require__(347).getProto
+	  , ITERATOR       = __webpack_require__(355)('iterator')
+	  , BUGGY          = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
+	  , FF_ITERATOR    = '@@iterator'
+	  , KEYS           = 'keys'
+	  , VALUES         = 'values';
+
+	var returnThis = function(){ return this; };
+
+	module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
+	  $iterCreate(Constructor, NAME, next);
+	  var getMethod = function(kind){
+	    if(!BUGGY && kind in proto)return proto[kind];
+	    switch(kind){
+	      case KEYS: return function keys(){ return new Constructor(this, kind); };
+	      case VALUES: return function values(){ return new Constructor(this, kind); };
+	    } return function entries(){ return new Constructor(this, kind); };
+	  };
+	  var TAG        = NAME + ' Iterator'
+	    , DEF_VALUES = DEFAULT == VALUES
+	    , VALUES_BUG = false
+	    , proto      = Base.prototype
+	    , $native    = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
+	    , $default   = $native || getMethod(DEFAULT)
+	    , methods, key;
+	  // Fix native
+	  if($native){
+	    var IteratorPrototype = getProto($default.call(new Base));
+	    // Set @@toStringTag to native iterators
+	    setToStringTag(IteratorPrototype, TAG, true);
+	    // FF fix
+	    if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
+	    // fix Array#{values, @@iterator}.name in V8 / FF
+	    if(DEF_VALUES && $native.name !== VALUES){
+	      VALUES_BUG = true;
+	      $default = function values(){ return $native.call(this); };
+	    }
+	  }
+	  // Define iterator
+	  if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
+	    hide(proto, ITERATOR, $default);
+	  }
+	  // Plug for library
+	  Iterators[NAME] = $default;
+	  Iterators[TAG]  = returnThis;
+	  if(DEFAULT){
+	    methods = {
+	      values:  DEF_VALUES  ? $default : getMethod(VALUES),
+	      keys:    IS_SET      ? $default : getMethod(KEYS),
+	      entries: !DEF_VALUES ? $default : getMethod('entries')
+	    };
+	    if(FORCED)for(key in methods){
+	      if(!(key in proto))redefine(proto, key, methods[key]);
+	    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
+	  }
+	  return methods;
+	};
+
+/***/ },
+/* 340 */
+/***/ function(module, exports) {
+
+	module.exports = true;
+
+/***/ },
+/* 341 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global    = __webpack_require__(342)
+	  , core      = __webpack_require__(331)
+	  , ctx       = __webpack_require__(343)
+	  , PROTOTYPE = 'prototype';
+
+	var $export = function(type, name, source){
+	  var IS_FORCED = type & $export.F
+	    , IS_GLOBAL = type & $export.G
+	    , IS_STATIC = type & $export.S
+	    , IS_PROTO  = type & $export.P
+	    , IS_BIND   = type & $export.B
+	    , IS_WRAP   = type & $export.W
+	    , exports   = IS_GLOBAL ? core : core[name] || (core[name] = {})
+	    , target    = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
+	    , key, own, out;
+	  if(IS_GLOBAL)source = name;
+	  for(key in source){
+	    // contains in native
+	    own = !IS_FORCED && target && key in target;
+	    if(own && key in exports)continue;
+	    // export native or passed
+	    out = own ? target[key] : source[key];
+	    // prevent global pollution for namespaces
+	    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
+	    // bind timers to global for call from export context
+	    : IS_BIND && own ? ctx(out, global)
+	    // wrap global constructors for prevent change them in library
+	    : IS_WRAP && target[key] == out ? (function(C){
+	      var F = function(param){
+	        return this instanceof C ? new C(param) : C(param);
+	      };
+	      F[PROTOTYPE] = C[PROTOTYPE];
+	      return F;
+	    // make static versions for prototype methods
+	    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
+	    if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
+	  }
+	};
+	// type bitmap
+	$export.F = 1;  // forced
+	$export.G = 2;  // global
+	$export.S = 4;  // static
+	$export.P = 8;  // proto
+	$export.B = 16; // bind
+	$export.W = 32; // wrap
+	module.exports = $export;
+
+/***/ },
+/* 342 */
+/***/ function(module, exports) {
+
+	// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+	var global = module.exports = typeof window != 'undefined' && window.Math == Math
+	  ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
+	if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
+
+/***/ },
+/* 343 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// optional / simple context binding
+	var aFunction = __webpack_require__(344);
+	module.exports = function(fn, that, length){
+	  aFunction(fn);
+	  if(that === undefined)return fn;
+	  switch(length){
+	    case 1: return function(a){
+	      return fn.call(that, a);
+	    };
+	    case 2: return function(a, b){
+	      return fn.call(that, a, b);
+	    };
+	    case 3: return function(a, b, c){
+	      return fn.call(that, a, b, c);
+	    };
+	  }
+	  return function(/* ...args */){
+	    return fn.apply(that, arguments);
+	  };
+	};
+
+/***/ },
+/* 344 */
+/***/ function(module, exports) {
+
+	module.exports = function(it){
+	  if(typeof it != 'function')throw TypeError(it + ' is not a function!');
+	  return it;
+	};
+
+/***/ },
+/* 345 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(346);
+
+/***/ },
+/* 346 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $          = __webpack_require__(347)
+	  , createDesc = __webpack_require__(348);
+	module.exports = __webpack_require__(349) ? function(object, key, value){
+	  return $.setDesc(object, key, createDesc(1, value));
+	} : function(object, key, value){
+	  object[key] = value;
+	  return object;
+	};
+
+/***/ },
+/* 347 */
+/***/ function(module, exports) {
+
+	var $Object = Object;
+	module.exports = {
+	  create:     $Object.create,
+	  getProto:   $Object.getPrototypeOf,
+	  isEnum:     {}.propertyIsEnumerable,
+	  getDesc:    $Object.getOwnPropertyDescriptor,
+	  setDesc:    $Object.defineProperty,
+	  setDescs:   $Object.defineProperties,
+	  getKeys:    $Object.keys,
+	  getNames:   $Object.getOwnPropertyNames,
+	  getSymbols: $Object.getOwnPropertySymbols,
+	  each:       [].forEach
+	};
+
+/***/ },
+/* 348 */
+/***/ function(module, exports) {
+
+	module.exports = function(bitmap, value){
+	  return {
+	    enumerable  : !(bitmap & 1),
+	    configurable: !(bitmap & 2),
+	    writable    : !(bitmap & 4),
+	    value       : value
+	  };
+	};
+
+/***/ },
+/* 349 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Thank's IE8 for his funny defineProperty
+	module.exports = !__webpack_require__(350)(function(){
+	  return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
+	});
+
+/***/ },
+/* 350 */
+/***/ function(module, exports) {
+
+	module.exports = function(exec){
+	  try {
+	    return !!exec();
+	  } catch(e){
+	    return true;
+	  }
+	};
+
+/***/ },
+/* 351 */
+/***/ function(module, exports) {
+
+	var hasOwnProperty = {}.hasOwnProperty;
+	module.exports = function(it, key){
+	  return hasOwnProperty.call(it, key);
+	};
+
+/***/ },
+/* 352 */
+/***/ function(module, exports) {
+
+	module.exports = {};
+
+/***/ },
+/* 353 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var $              = __webpack_require__(347)
+	  , descriptor     = __webpack_require__(348)
+	  , setToStringTag = __webpack_require__(354)
+	  , IteratorPrototype = {};
+
+	// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
+	__webpack_require__(346)(IteratorPrototype, __webpack_require__(355)('iterator'), function(){ return this; });
+
+	module.exports = function(Constructor, NAME, next){
+	  Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
+	  setToStringTag(Constructor, NAME + ' Iterator');
+	};
+
+/***/ },
+/* 354 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var def = __webpack_require__(347).setDesc
+	  , has = __webpack_require__(351)
+	  , TAG = __webpack_require__(355)('toStringTag');
+
+	module.exports = function(it, tag, stat){
+	  if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
+	};
+
+/***/ },
+/* 355 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var store  = __webpack_require__(356)('wks')
+	  , uid    = __webpack_require__(357)
+	  , Symbol = __webpack_require__(342).Symbol;
+	module.exports = function(name){
+	  return store[name] || (store[name] =
+	    Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
+	};
+
+/***/ },
+/* 356 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global = __webpack_require__(342)
+	  , SHARED = '__core-js_shared__'
+	  , store  = global[SHARED] || (global[SHARED] = {});
+	module.exports = function(key){
+	  return store[key] || (store[key] = {});
+	};
+
+/***/ },
+/* 357 */
+/***/ function(module, exports) {
+
+	var id = 0
+	  , px = Math.random();
+	module.exports = function(key){
+	  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
+	};
+
+/***/ },
+/* 358 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(359);
+	var Iterators = __webpack_require__(352);
+	Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
+
+/***/ },
+/* 359 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var addToUnscopables = __webpack_require__(360)
+	  , step             = __webpack_require__(361)
+	  , Iterators        = __webpack_require__(352)
+	  , toIObject        = __webpack_require__(362);
+
+	// 22.1.3.4 Array.prototype.entries()
+	// 22.1.3.13 Array.prototype.keys()
+	// 22.1.3.29 Array.prototype.values()
+	// 22.1.3.30 Array.prototype[@@iterator]()
+	module.exports = __webpack_require__(339)(Array, 'Array', function(iterated, kind){
+	  this._t = toIObject(iterated); // target
+	  this._i = 0;                   // next index
+	  this._k = kind;                // kind
+	// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
+	}, function(){
+	  var O     = this._t
+	    , kind  = this._k
+	    , index = this._i++;
+	  if(!O || index >= O.length){
+	    this._t = undefined;
+	    return step(1);
+	  }
+	  if(kind == 'keys'  )return step(0, index);
+	  if(kind == 'values')return step(0, O[index]);
+	  return step(0, [index, O[index]]);
+	}, 'values');
+
+	// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
+	Iterators.Arguments = Iterators.Array;
+
+	addToUnscopables('keys');
+	addToUnscopables('values');
+	addToUnscopables('entries');
+
+/***/ },
+/* 360 */
+/***/ function(module, exports) {
+
+	module.exports = function(){ /* empty */ };
+
+/***/ },
+/* 361 */
+/***/ function(module, exports) {
+
+	module.exports = function(done, value){
+	  return {value: value, done: !!done};
+	};
+
+/***/ },
+/* 362 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// to indexed object, toObject with fallback for non-array-like ES3 strings
+	var IObject = __webpack_require__(363)
+	  , defined = __webpack_require__(338);
+	module.exports = function(it){
+	  return IObject(defined(it));
+	};
+
+/***/ },
+/* 363 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// fallback for non-array-like ES3 and non-enumerable old V8 strings
+	var cof = __webpack_require__(364);
+	module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
+	  return cof(it) == 'String' ? it.split('') : Object(it);
+	};
+
+/***/ },
+/* 364 */
+/***/ function(module, exports) {
+
+	var toString = {}.toString;
+
+	module.exports = function(it){
+	  return toString.call(it).slice(8, -1);
+	};
+
+/***/ },
+/* 365 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var $          = __webpack_require__(347)
+	  , LIBRARY    = __webpack_require__(340)
+	  , global     = __webpack_require__(342)
+	  , ctx        = __webpack_require__(343)
+	  , classof    = __webpack_require__(366)
+	  , $export    = __webpack_require__(341)
+	  , isObject   = __webpack_require__(367)
+	  , anObject   = __webpack_require__(368)
+	  , aFunction  = __webpack_require__(344)
+	  , strictNew  = __webpack_require__(369)
+	  , forOf      = __webpack_require__(370)
+	  , setProto   = __webpack_require__(375).set
+	  , same       = __webpack_require__(376)
+	  , SPECIES    = __webpack_require__(355)('species')
+	  , speciesConstructor = __webpack_require__(377)
+	  , asap       = __webpack_require__(378)
+	  , PROMISE    = 'Promise'
+	  , process    = global.process
+	  , isNode     = classof(process) == 'process'
+	  , P          = global[PROMISE]
+	  , Wrapper;
+
+	var testResolve = function(sub){
+	  var test = new P(function(){});
+	  if(sub)test.constructor = Object;
+	  return P.resolve(test) === test;
+	};
+
+	var USE_NATIVE = function(){
+	  var works = false;
+	  function P2(x){
+	    var self = new P(x);
+	    setProto(self, P2.prototype);
+	    return self;
+	  }
+	  try {
+	    works = P && P.resolve && testResolve();
+	    setProto(P2, P);
+	    P2.prototype = $.create(P.prototype, {constructor: {value: P2}});
+	    // actual Firefox has broken subclass support, test that
+	    if(!(P2.resolve(5).then(function(){}) instanceof P2)){
+	      works = false;
+	    }
+	    // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
+	    if(works && __webpack_require__(349)){
+	      var thenableThenGotten = false;
+	      P.resolve($.setDesc({}, 'then', {
+	        get: function(){ thenableThenGotten = true; }
+	      }));
+	      works = thenableThenGotten;
+	    }
+	  } catch(e){ works = false; }
+	  return works;
+	}();
+
+	// helpers
+	var sameConstructor = function(a, b){
+	  // library wrapper special case
+	  if(LIBRARY && a === P && b === Wrapper)return true;
+	  return same(a, b);
+	};
+	var getConstructor = function(C){
+	  var S = anObject(C)[SPECIES];
+	  return S != undefined ? S : C;
+	};
+	var isThenable = function(it){
+	  var then;
+	  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
+	};
+	var PromiseCapability = function(C){
+	  var resolve, reject;
+	  this.promise = new C(function($$resolve, $$reject){
+	    if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
+	    resolve = $$resolve;
+	    reject  = $$reject;
+	  });
+	  this.resolve = aFunction(resolve),
+	  this.reject  = aFunction(reject)
+	};
+	var perform = function(exec){
+	  try {
+	    exec();
+	  } catch(e){
+	    return {error: e};
+	  }
+	};
+	var notify = function(record, isReject){
+	  if(record.n)return;
+	  record.n = true;
+	  var chain = record.c;
+	  asap(function(){
+	    var value = record.v
+	      , ok    = record.s == 1
+	      , i     = 0;
+	    var run = function(reaction){
+	      var handler = ok ? reaction.ok : reaction.fail
+	        , resolve = reaction.resolve
+	        , reject  = reaction.reject
+	        , result, then;
+	      try {
+	        if(handler){
+	          if(!ok)record.h = true;
+	          result = handler === true ? value : handler(value);
+	          if(result === reaction.promise){
+	            reject(TypeError('Promise-chain cycle'));
+	          } else if(then = isThenable(result)){
+	            then.call(result, resolve, reject);
+	          } else resolve(result);
+	        } else reject(value);
+	      } catch(e){
+	        reject(e);
+	      }
+	    };
+	    while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
+	    chain.length = 0;
+	    record.n = false;
+	    if(isReject)setTimeout(function(){
+	      var promise = record.p
+	        , handler, console;
+	      if(isUnhandled(promise)){
+	        if(isNode){
+	          process.emit('unhandledRejection', value, promise);
+	        } else if(handler = global.onunhandledrejection){
+	          handler({promise: promise, reason: value});
+	        } else if((console = global.console) && console.error){
+	          console.error('Unhandled promise rejection', value);
+	        }
+	      } record.a = undefined;
+	    }, 1);
+	  });
+	};
+	var isUnhandled = function(promise){
+	  var record = promise._d
+	    , chain  = record.a || record.c
+	    , i      = 0
+	    , reaction;
+	  if(record.h)return false;
+	  while(chain.length > i){
+	    reaction = chain[i++];
+	    if(reaction.fail || !isUnhandled(reaction.promise))return false;
+	  } return true;
+	};
+	var $reject = function(value){
+	  var record = this;
+	  if(record.d)return;
+	  record.d = true;
+	  record = record.r || record; // unwrap
+	  record.v = value;
+	  record.s = 2;
+	  record.a = record.c.slice();
+	  notify(record, true);
+	};
+	var $resolve = function(value){
+	  var record = this
+	    , then;
+	  if(record.d)return;
+	  record.d = true;
+	  record = record.r || record; // unwrap
+	  try {
+	    if(record.p === value)throw TypeError("Promise can't be resolved itself");
+	    if(then = isThenable(value)){
+	      asap(function(){
+	        var wrapper = {r: record, d: false}; // wrap
+	        try {
+	          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
+	        } catch(e){
+	          $reject.call(wrapper, e);
+	        }
+	      });
+	    } else {
+	      record.v = value;
+	      record.s = 1;
+	      notify(record, false);
+	    }
+	  } catch(e){
+	    $reject.call({r: record, d: false}, e); // wrap
+	  }
+	};
+
+	// constructor polyfill
+	if(!USE_NATIVE){
+	  // 25.4.3.1 Promise(executor)
+	  P = function Promise(executor){
+	    aFunction(executor);
+	    var record = this._d = {
+	      p: strictNew(this, P, PROMISE),         // <- promise
+	      c: [],                                  // <- awaiting reactions
+	      a: undefined,                           // <- checked in isUnhandled reactions
+	      s: 0,                                   // <- state
+	      d: false,                               // <- done
+	      v: undefined,                           // <- value
+	      h: false,                               // <- handled rejection
+	      n: false                                // <- notify
+	    };
+	    try {
+	      executor(ctx($resolve, record, 1), ctx($reject, record, 1));
+	    } catch(err){
+	      $reject.call(record, err);
+	    }
+	  };
+	  __webpack_require__(383)(P.prototype, {
+	    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
+	    then: function then(onFulfilled, onRejected){
+	      var reaction = new PromiseCapability(speciesConstructor(this, P))
+	        , promise  = reaction.promise
+	        , record   = this._d;
+	      reaction.ok   = typeof onFulfilled == 'function' ? onFulfilled : true;
+	      reaction.fail = typeof onRejected == 'function' && onRejected;
+	      record.c.push(reaction);
+	      if(record.a)record.a.push(reaction);
+	      if(record.s)notify(record, false);
+	      return promise;
+	    },
+	    // 25.4.5.1 Promise.prototype.catch(onRejected)
+	    'catch': function(onRejected){
+	      return this.then(undefined, onRejected);
+	    }
+	  });
+	}
+
+	$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});
+	__webpack_require__(354)(P, PROMISE);
+	__webpack_require__(384)(PROMISE);
+	Wrapper = __webpack_require__(331)[PROMISE];
+
+	// statics
+	$export($export.S + $export.F * !USE_NATIVE, PROMISE, {
+	  // 25.4.4.5 Promise.reject(r)
+	  reject: function reject(r){
+	    var capability = new PromiseCapability(this)
+	      , $$reject   = capability.reject;
+	    $$reject(r);
+	    return capability.promise;
+	  }
+	});
+	$export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {
+	  // 25.4.4.6 Promise.resolve(x)
+	  resolve: function resolve(x){
+	    // instanceof instead of internal slot check because we should fix it without replacement native Promise core
+	    if(x instanceof P && sameConstructor(x.constructor, this))return x;
+	    var capability = new PromiseCapability(this)
+	      , $$resolve  = capability.resolve;
+	    $$resolve(x);
+	    return capability.promise;
+	  }
+	});
+	$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(385)(function(iter){
+	  P.all(iter)['catch'](function(){});
+	})), PROMISE, {
+	  // 25.4.4.1 Promise.all(iterable)
+	  all: function all(iterable){
+	    var C          = getConstructor(this)
+	      , capability = new PromiseCapability(C)
+	      , resolve    = capability.resolve
+	      , reject     = capability.reject
+	      , values     = [];
+	    var abrupt = perform(function(){
+	      forOf(iterable, false, values.push, values);
+	      var remaining = values.length
+	        , results   = Array(remaining);
+	      if(remaining)$.each.call(values, function(promise, index){
+	        var alreadyCalled = false;
+	        C.resolve(promise).then(function(value){
+	          if(alreadyCalled)return;
+	          alreadyCalled = true;
+	          results[index] = value;
+	          --remaining || resolve(results);
+	        }, reject);
+	      });
+	      else resolve(results);
+	    });
+	    if(abrupt)reject(abrupt.error);
+	    return capability.promise;
+	  },
+	  // 25.4.4.4 Promise.race(iterable)
+	  race: function race(iterable){
+	    var C          = getConstructor(this)
+	      , capability = new PromiseCapability(C)
+	      , reject     = capability.reject;
+	    var abrupt = perform(function(){
+	      forOf(iterable, false, function(promise){
+	        C.resolve(promise).then(capability.resolve, reject);
+	      });
+	    });
+	    if(abrupt)reject(abrupt.error);
+	    return capability.promise;
+	  }
+	});
+
+/***/ },
+/* 366 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// getting tag from 19.1.3.6 Object.prototype.toString()
+	var cof = __webpack_require__(364)
+	  , TAG = __webpack_require__(355)('toStringTag')
+	  // ES3 wrong here
+	  , ARG = cof(function(){ return arguments; }()) == 'Arguments';
+
+	module.exports = function(it){
+	  var O, T, B;
+	  return it === undefined ? 'Undefined' : it === null ? 'Null'
+	    // @@toStringTag case
+	    : typeof (T = (O = Object(it))[TAG]) == 'string' ? T
+	    // builtinTag case
+	    : ARG ? cof(O)
+	    // ES3 arguments fallback
+	    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
+	};
+
+/***/ },
+/* 367 */
+/***/ function(module, exports) {
+
+	module.exports = function(it){
+	  return typeof it === 'object' ? it !== null : typeof it === 'function';
+	};
+
+/***/ },
+/* 368 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var isObject = __webpack_require__(367);
+	module.exports = function(it){
+	  if(!isObject(it))throw TypeError(it + ' is not an object!');
+	  return it;
+	};
+
+/***/ },
+/* 369 */
+/***/ function(module, exports) {
+
+	module.exports = function(it, Constructor, name){
+	  if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
+	  return it;
+	};
+
+/***/ },
+/* 370 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var ctx         = __webpack_require__(343)
+	  , call        = __webpack_require__(371)
+	  , isArrayIter = __webpack_require__(372)
+	  , anObject    = __webpack_require__(368)
+	  , toLength    = __webpack_require__(373)
+	  , getIterFn   = __webpack_require__(374);
+	module.exports = function(iterable, entries, fn, that){
+	  var iterFn = getIterFn(iterable)
+	    , f      = ctx(fn, that, entries ? 2 : 1)
+	    , index  = 0
+	    , length, step, iterator;
+	  if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
+	  // fast case for arrays with default iterator
+	  if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
+	    entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
+	  } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
+	    call(iterator, f, step.value, entries);
+	  }
+	};
+
+/***/ },
+/* 371 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// call something on iterator step with safe closing on error
+	var anObject = __webpack_require__(368);
+	module.exports = function(iterator, fn, value, entries){
+	  try {
+	    return entries ? fn(anObject(value)[0], value[1]) : fn(value);
+	  // 7.4.6 IteratorClose(iterator, completion)
+	  } catch(e){
+	    var ret = iterator['return'];
+	    if(ret !== undefined)anObject(ret.call(iterator));
+	    throw e;
+	  }
+	};
+
+/***/ },
+/* 372 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// check on default Array iterator
+	var Iterators  = __webpack_require__(352)
+	  , ITERATOR   = __webpack_require__(355)('iterator')
+	  , ArrayProto = Array.prototype;
+
+	module.exports = function(it){
+	  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
+	};
+
+/***/ },
+/* 373 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.1.15 ToLength
+	var toInteger = __webpack_require__(337)
+	  , min       = Math.min;
+	module.exports = function(it){
+	  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
+	};
+
+/***/ },
+/* 374 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var classof   = __webpack_require__(366)
+	  , ITERATOR  = __webpack_require__(355)('iterator')
+	  , Iterators = __webpack_require__(352);
+	module.exports = __webpack_require__(331).getIteratorMethod = function(it){
+	  if(it != undefined)return it[ITERATOR]
+	    || it['@@iterator']
+	    || Iterators[classof(it)];
+	};
+
+/***/ },
+/* 375 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// Works with __proto__ only. Old v8 can't work with null proto objects.
+	/* eslint-disable no-proto */
+	var getDesc  = __webpack_require__(347).getDesc
+	  , isObject = __webpack_require__(367)
+	  , anObject = __webpack_require__(368);
+	var check = function(O, proto){
+	  anObject(O);
+	  if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
+	};
+	module.exports = {
+	  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
+	    function(test, buggy, set){
+	      try {
+	        set = __webpack_require__(343)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
+	        set(test, []);
+	        buggy = !(test instanceof Array);
+	      } catch(e){ buggy = true; }
+	      return function setPrototypeOf(O, proto){
+	        check(O, proto);
+	        if(buggy)O.__proto__ = proto;
+	        else set(O, proto);
+	        return O;
+	      };
+	    }({}, false) : undefined),
+	  check: check
+	};
+
+/***/ },
+/* 376 */
+/***/ function(module, exports) {
+
+	// 7.2.9 SameValue(x, y)
+	module.exports = Object.is || function is(x, y){
+	  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
+	};
+
+/***/ },
+/* 377 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.3.20 SpeciesConstructor(O, defaultConstructor)
+	var anObject  = __webpack_require__(368)
+	  , aFunction = __webpack_require__(344)
+	  , SPECIES   = __webpack_require__(355)('species');
+	module.exports = function(O, D){
+	  var C = anObject(O).constructor, S;
+	  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
+	};
+
+/***/ },
+/* 378 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var global    = __webpack_require__(342)
+	  , macrotask = __webpack_require__(379).set
+	  , Observer  = global.MutationObserver || global.WebKitMutationObserver
+	  , process   = global.process
+	  , Promise   = global.Promise
+	  , isNode    = __webpack_require__(364)(process) == 'process'
+	  , head, last, notify;
+
+	var flush = function(){
+	  var parent, domain, fn;
+	  if(isNode && (parent = process.domain)){
+	    process.domain = null;
+	    parent.exit();
+	  }
+	  while(head){
+	    domain = head.domain;
+	    fn     = head.fn;
+	    if(domain)domain.enter();
+	    fn(); // <- currently we use it only for Promise - try / catch not required
+	    if(domain)domain.exit();
+	    head = head.next;
+	  } last = undefined;
+	  if(parent)parent.enter();
+	};
+
+	// Node.js
+	if(isNode){
+	  notify = function(){
+	    process.nextTick(flush);
+	  };
+	// browsers with MutationObserver
+	} else if(Observer){
+	  var toggle = 1
+	    , node   = document.createTextNode('');
+	  new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
+	  notify = function(){
+	    node.data = toggle = -toggle;
+	  };
+	// environments with maybe non-completely correct, but existent Promise
+	} else if(Promise && Promise.resolve){
+	  notify = function(){
+	    Promise.resolve().then(flush);
+	  };
+	// for other environments - macrotask based on:
+	// - setImmediate
+	// - MessageChannel
+	// - window.postMessag
+	// - onreadystatechange
+	// - setTimeout
+	} else {
+	  notify = function(){
+	    // strange IE + webpack dev server bug - use .call(global)
+	    macrotask.call(global, flush);
+	  };
+	}
+
+	module.exports = function asap(fn){
+	  var task = {fn: fn, next: undefined, domain: isNode && process.domain};
+	  if(last)last.next = task;
+	  if(!head){
+	    head = task;
+	    notify();
+	  } last = task;
+	};
+
+/***/ },
+/* 379 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var ctx                = __webpack_require__(343)
+	  , invoke             = __webpack_require__(380)
+	  , html               = __webpack_require__(381)
+	  , cel                = __webpack_require__(382)
+	  , global             = __webpack_require__(342)
+	  , process            = global.process
+	  , setTask            = global.setImmediate
+	  , clearTask          = global.clearImmediate
+	  , MessageChannel     = global.MessageChannel
+	  , counter            = 0
+	  , queue              = {}
+	  , ONREADYSTATECHANGE = 'onreadystatechange'
+	  , defer, channel, port;
+	var run = function(){
+	  var id = +this;
+	  if(queue.hasOwnProperty(id)){
+	    var fn = queue[id];
+	    delete queue[id];
+	    fn();
+	  }
+	};
+	var listner = function(event){
+	  run.call(event.data);
+	};
+	// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
+	if(!setTask || !clearTask){
+	  setTask = function setImmediate(fn){
+	    var args = [], i = 1;
+	    while(arguments.length > i)args.push(arguments[i++]);
+	    queue[++counter] = function(){
+	      invoke(typeof fn == 'function' ? fn : Function(fn), args);
+	    };
+	    defer(counter);
+	    return counter;
+	  };
+	  clearTask = function clearImmediate(id){
+	    delete queue[id];
+	  };
+	  // Node.js 0.8-
+	  if(__webpack_require__(364)(process) == 'process'){
+	    defer = function(id){
+	      process.nextTick(ctx(run, id, 1));
+	    };
+	  // Browsers with MessageChannel, includes WebWorkers
+	  } else if(MessageChannel){
+	    channel = new MessageChannel;
+	    port    = channel.port2;
+	    channel.port1.onmessage = listner;
+	    defer = ctx(port.postMessage, port, 1);
+	  // Browsers with postMessage, skip WebWorkers
+	  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
+	  } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
+	    defer = function(id){
+	      global.postMessage(id + '', '*');
+	    };
+	    global.addEventListener('message', listner, false);
+	  // IE8-
+	  } else if(ONREADYSTATECHANGE in cel('script')){
+	    defer = function(id){
+	      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
+	        html.removeChild(this);
+	        run.call(id);
+	      };
+	    };
+	  // Rest old browsers
+	  } else {
+	    defer = function(id){
+	      setTimeout(ctx(run, id, 1), 0);
+	    };
+	  }
+	}
+	module.exports = {
+	  set:   setTask,
+	  clear: clearTask
+	};
+
+/***/ },
+/* 380 */
+/***/ function(module, exports) {
+
+	// fast apply, http://jsperf.lnkit.com/fast-apply/5
+	module.exports = function(fn, args, that){
+	  var un = that === undefined;
+	  switch(args.length){
+	    case 0: return un ? fn()
+	                      : fn.call(that);
+	    case 1: return un ? fn(args[0])
+	                      : fn.call(that, args[0]);
+	    case 2: return un ? fn(args[0], args[1])
+	                      : fn.call(that, args[0], args[1]);
+	    case 3: return un ? fn(args[0], args[1], args[2])
+	                      : fn.call(that, args[0], args[1], args[2]);
+	    case 4: return un ? fn(args[0], args[1], args[2], args[3])
+	                      : fn.call(that, args[0], args[1], args[2], args[3]);
+	  } return              fn.apply(that, args);
+	};
+
+/***/ },
+/* 381 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = __webpack_require__(342).document && document.documentElement;
+
+/***/ },
+/* 382 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var isObject = __webpack_require__(367)
+	  , document = __webpack_require__(342).document
+	  // in old IE typeof document.createElement is 'object'
+	  , is = isObject(document) && isObject(document.createElement);
+	module.exports = function(it){
+	  return is ? document.createElement(it) : {};
+	};
+
+/***/ },
+/* 383 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var redefine = __webpack_require__(345);
+	module.exports = function(target, src){
+	  for(var key in src)redefine(target, key, src[key]);
+	  return target;
+	};
+
+/***/ },
+/* 384 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+	var core        = __webpack_require__(331)
+	  , $           = __webpack_require__(347)
+	  , DESCRIPTORS = __webpack_require__(349)
+	  , SPECIES     = __webpack_require__(355)('species');
+
+	module.exports = function(KEY){
+	  var C = core[KEY];
+	  if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
+	    configurable: true,
+	    get: function(){ return this; }
+	  });
+	};
+
+/***/ },
+/* 385 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var ITERATOR     = __webpack_require__(355)('iterator')
+	  , SAFE_CLOSING = false;
+
+	try {
+	  var riter = [7][ITERATOR]();
+	  riter['return'] = function(){ SAFE_CLOSING = true; };
+	  Array.from(riter, function(){ throw 2; });
+	} catch(e){ /* empty */ }
+
+	module.exports = function(exec, skipClosing){
+	  if(!skipClosing && !SAFE_CLOSING)return false;
+	  var safe = false;
+	  try {
+	    var arr  = [7]
+	      , iter = arr[ITERATOR]();
+	    iter.next = function(){ safe = true; };
+	    arr[ITERATOR] = function(){ return iter; };
+	    exec(arr);
+	  } catch(e){ /* empty */ }
+	  return safe;
+	};
+
+/***/ },
+/* 386 */
+/***/ function(module, exports) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	exports.default = function (instance, Constructor) {
+	  if (!(instance instanceof Constructor)) {
+	    throw new TypeError("Cannot call a class as a function");
+	  }
+	};
+
+/***/ },
+/* 387 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	var _defineProperty = __webpack_require__(388);
+
+	var _defineProperty2 = _interopRequireDefault(_defineProperty);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	exports.default = function () {
+	  function defineProperties(target, props) {
+	    for (var i = 0; i < props.length; i++) {
+	      var descriptor = props[i];
+	      descriptor.enumerable = descriptor.enumerable || false;
+	      descriptor.configurable = true;
+	      if ("value" in descriptor) descriptor.writable = true;
+	      (0, _defineProperty2.default)(target, descriptor.key, descriptor);
+	    }
+	  }
+
+	  return function (Constructor, protoProps, staticProps) {
+	    if (protoProps) defineProperties(Constructor.prototype, protoProps);
+	    if (staticProps) defineProperties(Constructor, staticProps);
+	    return Constructor;
+	  };
+	}();
+
+/***/ },
+/* 388 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(389), __esModule: true };
+
+/***/ },
+/* 389 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var $ = __webpack_require__(347);
+	module.exports = function defineProperty(it, key, desc){
+	  return $.setDesc(it, key, desc);
+	};
+
+/***/ },
+/* 390 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/**
+	 * @license
+	 * lodash 4.11.1 (Custom Build) <https://lodash.com/>
+	 * Build: `lodash -d -o ./foo/lodash.js`
+	 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
+	 * Released under MIT license <https://lodash.com/license>
+	 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+	 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+	 */
+	;(function() {
+
+	  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
+	  var undefined;
+
+	  /** Used as the semantic version number. */
+	  var VERSION = '4.11.1';
+
+	  /** Used as the size to enable large array optimizations. */
+	  var LARGE_ARRAY_SIZE = 200;
+
+	  /** Used as the `TypeError` message for "Functions" methods. */
+	  var FUNC_ERROR_TEXT = 'Expected a function';
+
+	  /** Used to stand-in for `undefined` hash values. */
+	  var HASH_UNDEFINED = '__lodash_hash_undefined__';
+
+	  /** Used as the internal argument placeholder. */
+	  var PLACEHOLDER = '__lodash_placeholder__';
+
+	  /** Used to compose bitmasks for wrapper metadata. */
+	  var BIND_FLAG = 1,
+	      BIND_KEY_FLAG = 2,
+	      CURRY_BOUND_FLAG = 4,
+	      CURRY_FLAG = 8,
+	      CURRY_RIGHT_FLAG = 16,
+	      PARTIAL_FLAG = 32,
+	      PARTIAL_RIGHT_FLAG = 64,
+	      ARY_FLAG = 128,
+	      REARG_FLAG = 256,
+	      FLIP_FLAG = 512;
+
+	  /** Used to compose bitmasks for comparison styles. */
+	  var UNORDERED_COMPARE_FLAG = 1,
+	      PARTIAL_COMPARE_FLAG = 2;
+
+	  /** Used as default options for `_.truncate`. */
+	  var DEFAULT_TRUNC_LENGTH = 30,
+	      DEFAULT_TRUNC_OMISSION = '...';
+
+	  /** Used to detect hot functions by number of calls within a span of milliseconds. */
+	  var HOT_COUNT = 150,
+	      HOT_SPAN = 16;
+
+	  /** Used to indicate the type of lazy iteratees. */
+	  var LAZY_FILTER_FLAG = 1,
+	      LAZY_MAP_FLAG = 2,
+	      LAZY_WHILE_FLAG = 3;
+
+	  /** Used as references for various `Number` constants. */
+	  var INFINITY = 1 / 0,
+	      MAX_SAFE_INTEGER = 9007199254740991,
+	      MAX_INTEGER = 1.7976931348623157e+308,
+	      NAN = 0 / 0;
+
+	  /** Used as references for the maximum length and index of an array. */
+	  var MAX_ARRAY_LENGTH = 4294967295,
+	      MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
+	      HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
+
+	  /** `Object#toString` result references. */
+	  var argsTag = '[object Arguments]',
+	      arrayTag = '[object Array]',
+	      boolTag = '[object Boolean]',
+	      dateTag = '[object Date]',
+	      errorTag = '[object Error]',
+	      funcTag = '[object Function]',
+	      genTag = '[object GeneratorFunction]',
+	      mapTag = '[object Map]',
+	      numberTag = '[object Number]',
+	      objectTag = '[object Object]',
+	      promiseTag = '[object Promise]',
+	      regexpTag = '[object RegExp]',
+	      setTag = '[object Set]',
+	      stringTag = '[object String]',
+	      symbolTag = '[object Symbol]',
+	      weakMapTag = '[object WeakMap]',
+	      weakSetTag = '[object WeakSet]';
+
+	  var arrayBufferTag = '[object ArrayBuffer]',
+	      dataViewTag = '[object DataView]',
+	      float32Tag = '[object Float32Array]',
+	      float64Tag = '[object Float64Array]',
+	      int8Tag = '[object Int8Array]',
+	      int16Tag = '[object Int16Array]',
+	      int32Tag = '[object Int32Array]',
+	      uint8Tag = '[object Uint8Array]',
+	      uint8ClampedTag = '[object Uint8ClampedArray]',
+	      uint16Tag = '[object Uint16Array]',
+	      uint32Tag = '[object Uint32Array]';
+
+	  /** Used to match empty string literals in compiled template source. */
+	  var reEmptyStringLeading = /\b__p \+= '';/g,
+	      reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
+	      reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
+
+	  /** Used to match HTML entities and HTML characters. */
+	  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,
+	      reUnescapedHtml = /[&<>"'`]/g,
+	      reHasEscapedHtml = RegExp(reEscapedHtml.source),
+	      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
+
+	  /** Used to match template delimiters. */
+	  var reEscape = /<%-([\s\S]+?)%>/g,
+	      reEvaluate = /<%([\s\S]+?)%>/g,
+	      reInterpolate = /<%=([\s\S]+?)%>/g;
+
+	  /** Used to match property names within property paths. */
+	  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
+	      reIsPlainProp = /^\w*$/,
+	      rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g;
+
+	  /**
+	   * Used to match `RegExp`
+	   * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).
+	   */
+	  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
+	      reHasRegExpChar = RegExp(reRegExpChar.source);
+
+	  /** Used to match leading and trailing whitespace. */
+	  var reTrim = /^\s+|\s+$/g,
+	      reTrimStart = /^\s+/,
+	      reTrimEnd = /\s+$/;
+
+	  /** Used to match non-compound words composed of alphanumeric characters. */
+	  var reBasicWord = /[a-zA-Z0-9]+/g;
+
+	  /** Used to match backslashes in property paths. */
+	  var reEscapeChar = /\\(\\)?/g;
+
+	  /**
+	   * Used to match
+	   * [ES template delimiters](http://ecma-international.org/ecma-262/6.0/#sec-template-literal-lexical-components).
+	   */
+	  var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
+
+	  /** Used to match `RegExp` flags from their coerced string values. */
+	  var reFlags = /\w*$/;
+
+	  /** Used to detect hexadecimal string values. */
+	  var reHasHexPrefix = /^0x/i;
+
+	  /** Used to detect bad signed hexadecimal string values. */
+	  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
+
+	  /** Used to detect binary string values. */
+	  var reIsBinary = /^0b[01]+$/i;
+
+	  /** Used to detect host constructors (Safari). */
+	  var reIsHostCtor = /^\[object .+?Constructor\]$/;
+
+	  /** Used to detect octal string values. */
+	  var reIsOctal = /^0o[0-7]+$/i;
+
+	  /** Used to detect unsigned integer values. */
+	  var reIsUint = /^(?:0|[1-9]\d*)$/;
+
+	  /** Used to match latin-1 supplementary letters (excluding mathematical operators). */
+	  var reLatin1 = /[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g;
+
+	  /** Used to ensure capturing order of template delimiters. */
+	  var reNoMatch = /($^)/;
+
+	  /** Used to match unescaped characters in compiled string literals. */
+	  var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
+
+	  /** Used to compose unicode character classes. */
+	  var rsAstralRange = '\\ud800-\\udfff',
+	      rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
+	      rsComboSymbolsRange = '\\u20d0-\\u20f0',
+	      rsDingbatRange = '\\u2700-\\u27bf',
+	      rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
+	      rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
+	      rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
+	      rsQuoteRange = '\\u2018\\u2019\\u201c\\u201d',
+	      rsSpaceRange = ' \\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',
+	      rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
+	      rsVarRange = '\\ufe0e\\ufe0f',
+	      rsBreakRange = rsMathOpRange + rsNonCharRange + rsQuoteRange + rsSpaceRange;
+
+	  /** Used to compose unicode capture groups. */
+	  var rsApos = "['\u2019]",
+	      rsAstral = '[' + rsAstralRange + ']',
+	      rsBreak = '[' + rsBreakRange + ']',
+	      rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
+	      rsDigits = '\\d+',
+	      rsDingbat = '[' + rsDingbatRange + ']',
+	      rsLower = '[' + rsLowerRange + ']',
+	      rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
+	      rsFitz = '\\ud83c[\\udffb-\\udfff]',
+	      rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
+	      rsNonAstral = '[^' + rsAstralRange + ']',
+	      rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
+	      rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
+	      rsUpper = '[' + rsUpperRange + ']',
+	      rsZWJ = '\\u200d';
+
+	  /** Used to compose unicode regexes. */
+	  var rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',
+	      rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',
+	      rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
+	      rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
+	      reOptMod = rsModifier + '?',
+	      rsOptVar = '[' + rsVarRange + ']?',
+	      rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
+	      rsSeq = rsOptVar + reOptMod + rsOptJoin,
+	      rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
+	      rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
+
+	  /** Used to match apostrophes. */
+	  var reApos = RegExp(rsApos, 'g');
+
+	  /**
+	   * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
+	   * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
+	   */
+	  var reComboMark = RegExp(rsCombo, 'g');
+
+	  /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
+	  var reComplexSymbol = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
+
+	  /** Used to match complex or compound words. */
+	  var reComplexWord = RegExp([
+	    rsUpper + '?' + rsLower + '+' + rsOptLowerContr + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
+	    rsUpperMisc + '+' + rsOptUpperContr + '(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')',
+	    rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr,
+	    rsUpper + '+' + rsOptUpperContr,
+	    rsDigits,
+	    rsEmoji
+	  ].join('|'), 'g');
+
+	  /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
+	  var reHasComplexSymbol = RegExp('[' + rsZWJ + rsAstralRange  + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');
+
+	  /** Used to detect strings that need a more robust regexp to match words. */
+	  var reHasComplexWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
+
+	  /** Used to assign default `context` object properties. */
+	  var contextProps = [
+	    'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
+	    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
+	    'Promise', 'Reflect', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError',
+	    'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
+	    '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
+	  ];
+
+	  /** Used to make template sourceURLs easier to identify. */
+	  var templateCounter = -1;
+
+	  /** Used to identify `toStringTag` values of typed arrays. */
+	  var typedArrayTags = {};
+	  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
+	  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
+	  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
+	  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
+	  typedArrayTags[uint32Tag] = true;
+	  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
+	  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
+	  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
+	  typedArrayTags[errorTag] = typedArrayTags[funcTag] =
+	  typedArrayTags[mapTag] = typedArrayTags[numberTag] =
+	  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
+	  typedArrayTags[setTag] = typedArrayTags[stringTag] =
+	  typedArrayTags[weakMapTag] = false;
+
+	  /** Used to identify `toStringTag` values supported by `_.clone`. */
+	  var cloneableTags = {};
+	  cloneableTags[argsTag] = cloneableTags[arrayTag] =
+	  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
+	  cloneableTags[boolTag] = cloneableTags[dateTag] =
+	  cloneableTags[float32Tag] = cloneableTags[float64Tag] =
+	  cloneableTags[int8Tag] = cloneableTags[int16Tag] =
+	  cloneableTags[int32Tag] = cloneableTags[mapTag] =
+	  cloneableTags[numberTag] = cloneableTags[objectTag] =
+	  cloneableTags[regexpTag] = cloneableTags[setTag] =
+	  cloneableTags[stringTag] = cloneableTags[symbolTag] =
+	  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
+	  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
+	  cloneableTags[errorTag] = cloneableTags[funcTag] =
+	  cloneableTags[weakMapTag] = false;
+
+	  /** Used to map latin-1 supplementary letters to basic latin letters. */
+	  var deburredLetters = {
+	    '\xc0': 'A',  '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
+	    '\xe0': 'a',  '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
+	    '\xc7': 'C',  '\xe7': 'c',
+	    '\xd0': 'D',  '\xf0': 'd',
+	    '\xc8': 'E',  '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
+	    '\xe8': 'e',  '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
+	    '\xcC': 'I',  '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
+	    '\xeC': 'i',  '\xed': 'i', '\xee': 'i', '\xef': 'i',
+	    '\xd1': 'N',  '\xf1': 'n',
+	    '\xd2': 'O',  '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
+	    '\xf2': 'o',  '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
+	    '\xd9': 'U',  '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
+	    '\xf9': 'u',  '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
+	    '\xdd': 'Y',  '\xfd': 'y', '\xff': 'y',
+	    '\xc6': 'Ae', '\xe6': 'ae',
+	    '\xde': 'Th', '\xfe': 'th',
+	    '\xdf': 'ss'
+	  };
+
+	  /** Used to map characters to HTML entities. */
+	  var htmlEscapes = {
+	    '&': '&amp;',
+	    '<': '&lt;',
+	    '>': '&gt;',
+	    '"': '&quot;',
+	    "'": '&#39;',
+	    '`': '&#96;'
+	  };
+
+	  /** Used to map HTML entities to characters. */
+	  var htmlUnescapes = {
+	    '&amp;': '&',
+	    '&lt;': '<',
+	    '&gt;': '>',
+	    '&quot;': '"',
+	    '&#39;': "'",
+	    '&#96;': '`'
+	  };
+
+	  /** Used to determine if values are of the language type `Object`. */
+	  var objectTypes = {
+	    'function': true,
+	    'object': true
+	  };
+
+	  /** Used to escape characters for inclusion in compiled string literals. */
+	  var stringEscapes = {
+	    '\\': '\\',
+	    "'": "'",
+	    '\n': 'n',
+	    '\r': 'r',
+	    '\u2028': 'u2028',
+	    '\u2029': 'u2029'
+	  };
+
+	  /** Built-in method references without a dependency on `root`. */
+	  var freeParseFloat = parseFloat,
+	      freeParseInt = parseInt;
+
+	  /** Detect free variable `exports`. */
+	  var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
+	    ? exports
+	    : undefined;
+
+	  /** Detect free variable `module`. */
+	  var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
+	    ? module
+	    : undefined;
+
+	  /** Detect the popular CommonJS extension `module.exports`. */
+	  var moduleExports = (freeModule && freeModule.exports === freeExports)
+	    ? freeExports
+	    : undefined;
+
+	  /** Detect free variable `global` from Node.js. */
+	  var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);
+
+	  /** Detect free variable `self`. */
+	  var freeSelf = checkGlobal(objectTypes[typeof self] && self);
+
+	  /** Detect free variable `window`. */
+	  var freeWindow = checkGlobal(objectTypes[typeof window] && window);
+
+	  /** Detect `this` as the global object. */
+	  var thisGlobal = checkGlobal(objectTypes[typeof this] && this);
+
+	  /**
+	   * Used as a reference to the global object.
+	   *
+	   * The `this` value is used if it's the global object to avoid Greasemonkey's
+	   * restricted `window` object, otherwise the `window` object is used.
+	   */
+	  var root = freeGlobal ||
+	    ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) ||
+	      freeSelf || thisGlobal || Function('return this')();
+
+	  /*--------------------------------------------------------------------------*/
+
+	  /**
+	   * Adds the key-value `pair` to `map`.
+	   *
+	   * @private
+	   * @param {Object} map The map to modify.
+	   * @param {Array} pair The key-value pair to add.
+	   * @returns {Object} Returns `map`.
+	   */
+	  function addMapEntry(map, pair) {
+	    // Don't return `Map#set` because it doesn't return the map instance in IE 11.
+	    map.set(pair[0], pair[1]);
+	    return map;
+	  }
+
+	  /**
+	   * Adds `value` to `set`.
+	   *
+	   * @private
+	   * @param {Object} set The set to modify.
+	   * @param {*} value The value to add.
+	   * @returns {Object} Returns `set`.
+	   */
+	  function addSetEntry(set, value) {
+	    set.add(value);
+	    return set;
+	  }
+
+	  /**
+	   * A faster alternative to `Function#apply`, this function invokes `func`
+	   * with the `this` binding of `thisArg` and the arguments of `args`.
+	   *
+	   * @private
+	   * @param {Function} func The function to invoke.
+	   * @param {*} thisArg The `this` binding of `func`.
+	   * @param {Array} args The arguments to invoke `func` with.
+	   * @returns {*} Returns the result of `func`.
+	   */
+	  function apply(func, thisArg, args) {
+	    var length = args.length;
+	    switch (length) {
+	      case 0: return func.call(thisArg);
+	      case 1: return func.call(thisArg, args[0]);
+	      case 2: return func.call(thisArg, args[0], args[1]);
+	      case 3: return func.call(thisArg, args[0], args[1], args[2]);
+	    }
+	    return func.apply(thisArg, args);
+	  }
+
+	  /**
+	   * A specialized version of `baseAggregator` for arrays.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} setter The function to set `accumulator` values.
+	   * @param {Function} iteratee The iteratee to transform keys.
+	   * @param {Object} accumulator The initial aggregated object.
+	   * @returns {Function} Returns `accumulator`.
+	   */
+	  function arrayAggregator(array, setter, iteratee, accumulator) {
+	    var index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      var value = array[index];
+	      setter(accumulator, value, iteratee(value), array);
+	    }
+	    return accumulator;
+	  }
+
+	  /**
+	   * Creates a new array concatenating `array` with `other`.
+	   *
+	   * @private
+	   * @param {Array} array The first array to concatenate.
+	   * @param {Array} other The second array to concatenate.
+	   * @returns {Array} Returns the new concatenated array.
+	   */
+	  function arrayConcat(array, other) {
+	    var index = -1,
+	        length = array.length,
+	        othIndex = -1,
+	        othLength = other.length,
+	        result = Array(length + othLength);
+
+	    while (++index < length) {
+	      result[index] = array[index];
+	    }
+	    while (++othIndex < othLength) {
+	      result[index++] = other[othIndex];
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * A specialized version of `_.forEach` for arrays without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @returns {Array} Returns `array`.
+	   */
+	  function arrayEach(array, iteratee) {
+	    var index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      if (iteratee(array[index], index, array) === false) {
+	        break;
+	      }
+	    }
+	    return array;
+	  }
+
+	  /**
+	   * A specialized version of `_.forEachRight` for arrays without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @returns {Array} Returns `array`.
+	   */
+	  function arrayEachRight(array, iteratee) {
+	    var length = array.length;
+
+	    while (length--) {
+	      if (iteratee(array[length], length, array) === false) {
+	        break;
+	      }
+	    }
+	    return array;
+	  }
+
+	  /**
+	   * A specialized version of `_.every` for arrays without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} predicate The function invoked per iteration.
+	   * @returns {boolean} Returns `true` if all elements pass the predicate check,
+	   *  else `false`.
+	   */
+	  function arrayEvery(array, predicate) {
+	    var index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      if (!predicate(array[index], index, array)) {
+	        return false;
+	      }
+	    }
+	    return true;
+	  }
+
+	  /**
+	   * A specialized version of `_.filter` for arrays without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} predicate The function invoked per iteration.
+	   * @returns {Array} Returns the new filtered array.
+	   */
+	  function arrayFilter(array, predicate) {
+	    var index = -1,
+	        length = array.length,
+	        resIndex = 0,
+	        result = [];
+
+	    while (++index < length) {
+	      var value = array[index];
+	      if (predicate(value, index, array)) {
+	        result[resIndex++] = value;
+	      }
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * A specialized version of `_.includes` for arrays without support for
+	   * specifying an index to search from.
+	   *
+	   * @private
+	   * @param {Array} array The array to search.
+	   * @param {*} target The value to search for.
+	   * @returns {boolean} Returns `true` if `target` is found, else `false`.
+	   */
+	  function arrayIncludes(array, value) {
+	    return !!array.length && baseIndexOf(array, value, 0) > -1;
+	  }
+
+	  /**
+	   * This function is like `arrayIncludes` except that it accepts a comparator.
+	   *
+	   * @private
+	   * @param {Array} array The array to search.
+	   * @param {*} target The value to search for.
+	   * @param {Function} comparator The comparator invoked per element.
+	   * @returns {boolean} Returns `true` if `target` is found, else `false`.
+	   */
+	  function arrayIncludesWith(array, value, comparator) {
+	    var index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      if (comparator(value, array[index])) {
+	        return true;
+	      }
+	    }
+	    return false;
+	  }
+
+	  /**
+	   * A specialized version of `_.map` for arrays without support for iteratee
+	   * shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @returns {Array} Returns the new mapped array.
+	   */
+	  function arrayMap(array, iteratee) {
+	    var index = -1,
+	        length = array.length,
+	        result = Array(length);
+
+	    while (++index < length) {
+	      result[index] = iteratee(array[index], index, array);
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * Appends the elements of `values` to `array`.
+	   *
+	   * @private
+	   * @param {Array} array The array to modify.
+	   * @param {Array} values The values to append.
+	   * @returns {Array} Returns `array`.
+	   */
+	  function arrayPush(array, values) {
+	    var index = -1,
+	        length = values.length,
+	        offset = array.length;
+
+	    while (++index < length) {
+	      array[offset + index] = values[index];
+	    }
+	    return array;
+	  }
+
+	  /**
+	   * A specialized version of `_.reduce` for arrays without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @param {*} [accumulator] The initial value.
+	   * @param {boolean} [initAccum] Specify using the first element of `array` as
+	   *  the initial value.
+	   * @returns {*} Returns the accumulated value.
+	   */
+	  function arrayReduce(array, iteratee, accumulator, initAccum) {
+	    var index = -1,
+	        length = array.length;
+
+	    if (initAccum && length) {
+	      accumulator = array[++index];
+	    }
+	    while (++index < length) {
+	      accumulator = iteratee(accumulator, array[index], index, array);
+	    }
+	    return accumulator;
+	  }
+
+	  /**
+	   * A specialized version of `_.reduceRight` for arrays without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @param {*} [accumulator] The initial value.
+	   * @param {boolean} [initAccum] Specify using the last element of `array` as
+	   *  the initial value.
+	   * @returns {*} Returns the accumulated value.
+	   */
+	  function arrayReduceRight(array, iteratee, accumulator, initAccum) {
+	    var length = array.length;
+	    if (initAccum && length) {
+	      accumulator = array[--length];
+	    }
+	    while (length--) {
+	      accumulator = iteratee(accumulator, array[length], length, array);
+	    }
+	    return accumulator;
+	  }
+
+	  /**
+	   * A specialized version of `_.some` for arrays without support for iteratee
+	   * shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} predicate The function invoked per iteration.
+	   * @returns {boolean} Returns `true` if any element passes the predicate check,
+	   *  else `false`.
+	   */
+	  function arraySome(array, predicate) {
+	    var index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      if (predicate(array[index], index, array)) {
+	        return true;
+	      }
+	    }
+	    return false;
+	  }
+
+	  /**
+	   * The base implementation of methods like `_.max` and `_.min` which accepts a
+	   * `comparator` to determine the extremum value.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The iteratee invoked per iteration.
+	   * @param {Function} comparator The comparator used to compare values.
+	   * @returns {*} Returns the extremum value.
+	   */
+	  function baseExtremum(array, iteratee, comparator) {
+	    var index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      var value = array[index],
+	          current = iteratee(value);
+
+	      if (current != null && (computed === undefined
+	            ? current === current
+	            : comparator(current, computed)
+	          )) {
+	        var computed = current,
+	            result = value;
+	      }
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * The base implementation of methods like `_.find` and `_.findKey`, without
+	   * support for iteratee shorthands, which iterates over `collection` using
+	   * `eachFunc`.
+	   *
+	   * @private
+	   * @param {Array|Object} collection The collection to search.
+	   * @param {Function} predicate The function invoked per iteration.
+	   * @param {Function} eachFunc The function to iterate over `collection`.
+	   * @param {boolean} [retKey] Specify returning the key of the found element
+	   *  instead of the element itself.
+	   * @returns {*} Returns the found element or its key, else `undefined`.
+	   */
+	  function baseFind(collection, predicate, eachFunc, retKey) {
+	    var result;
+	    eachFunc(collection, function(value, key, collection) {
+	      if (predicate(value, key, collection)) {
+	        result = retKey ? key : value;
+	        return false;
+	      }
+	    });
+	    return result;
+	  }
+
+	  /**
+	   * The base implementation of `_.findIndex` and `_.findLastIndex` without
+	   * support for iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to search.
+	   * @param {Function} predicate The function invoked per iteration.
+	   * @param {boolean} [fromRight] Specify iterating from right to left.
+	   * @returns {number} Returns the index of the matched value, else `-1`.
+	   */
+	  function baseFindIndex(array, predicate, fromRight) {
+	    var length = array.length,
+	        index = fromRight ? length : -1;
+
+	    while ((fromRight ? index-- : ++index < length)) {
+	      if (predicate(array[index], index, array)) {
+	        return index;
+	      }
+	    }
+	    return -1;
+	  }
+
+	  /**
+	   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
+	   *
+	   * @private
+	   * @param {Array} array The array to search.
+	   * @param {*} value The value to search for.
+	   * @param {number} fromIndex The index to search from.
+	   * @returns {number} Returns the index of the matched value, else `-1`.
+	   */
+	  function baseIndexOf(array, value, fromIndex) {
+	    if (value !== value) {
+	      return indexOfNaN(array, fromIndex);
+	    }
+	    var index = fromIndex - 1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      if (array[index] === value) {
+	        return index;
+	      }
+	    }
+	    return -1;
+	  }
+
+	  /**
+	   * This function is like `baseIndexOf` except that it accepts a comparator.
+	   *
+	   * @private
+	   * @param {Array} array The array to search.
+	   * @param {*} value The value to search for.
+	   * @param {number} fromIndex The index to search from.
+	   * @param {Function} comparator The comparator invoked per element.
+	   * @returns {number} Returns the index of the matched value, else `-1`.
+	   */
+	  function baseIndexOfWith(array, value, fromIndex, comparator) {
+	    var index = fromIndex - 1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      if (comparator(array[index], value)) {
+	        return index;
+	      }
+	    }
+	    return -1;
+	  }
+
+	  /**
+	   * The base implementation of `_.mean` and `_.meanBy` without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @returns {number} Returns the mean.
+	   */
+	  function baseMean(array, iteratee) {
+	    var length = array ? array.length : 0;
+	    return length ? (baseSum(array, iteratee) / length) : NAN;
+	  }
+
+	  /**
+	   * The base implementation of `_.reduce` and `_.reduceRight`, without support
+	   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
+	   *
+	   * @private
+	   * @param {Array|Object} collection The collection to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @param {*} accumulator The initial value.
+	   * @param {boolean} initAccum Specify using the first or last element of
+	   *  `collection` as the initial value.
+	   * @param {Function} eachFunc The function to iterate over `collection`.
+	   * @returns {*} Returns the accumulated value.
+	   */
+	  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
+	    eachFunc(collection, function(value, index, collection) {
+	      accumulator = initAccum
+	        ? (initAccum = false, value)
+	        : iteratee(accumulator, value, index, collection);
+	    });
+	    return accumulator;
+	  }
+
+	  /**
+	   * The base implementation of `_.sortBy` which uses `comparer` to define the
+	   * sort order of `array` and replaces criteria objects with their corresponding
+	   * values.
+	   *
+	   * @private
+	   * @param {Array} array The array to sort.
+	   * @param {Function} comparer The function to define sort order.
+	   * @returns {Array} Returns `array`.
+	   */
+	  function baseSortBy(array, comparer) {
+	    var length = array.length;
+
+	    array.sort(comparer);
+	    while (length--) {
+	      array[length] = array[length].value;
+	    }
+	    return array;
+	  }
+
+	  /**
+	   * The base implementation of `_.sum` and `_.sumBy` without support for
+	   * iteratee shorthands.
+	   *
+	   * @private
+	   * @param {Array} array The array to iterate over.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @returns {number} Returns the sum.
+	   */
+	  function baseSum(array, iteratee) {
+	    var result,
+	        index = -1,
+	        length = array.length;
+
+	    while (++index < length) {
+	      var current = iteratee(array[index]);
+	      if (current !== undefined) {
+	        result = result === undefined ? current : (result + current);
+	      }
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * The base implementation of `_.times` without support for iteratee shorthands
+	   * or max array length checks.
+	   *
+	   * @private
+	   * @param {number} n The number of times to invoke `iteratee`.
+	   * @param {Function} iteratee The function invoked per iteration.
+	   * @returns {Array} Returns the array of results.
+	   */
+	  function baseTimes(n, iteratee) {
+	    var index = -1,
+	        result = Array(n);
+
+	    while (++index < n) {
+	      result[index] = iteratee(index);
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
+	   * of key-value pairs for `object` corresponding to the property names of `props`.
+	   *
+	   * @private
+	   * @param {Object} object The object to query.
+	   * @param {Array} props The property names to get values for.
+	   * @returns {Object} Returns the new array of key-value pairs.
+	   */
+	  function baseToPairs(object, props) {
+	    return arrayMap(props, function(key) {
+	      return [key, object[key]];
+	    });
+	  }
+
+	  /**
+	   * The base implementation of `_.unary` without support for storing wrapper metadata.
+	   *
+	   * @private
+	   * @param {Function} func The function to cap arguments for.
+	   * @returns {Function} Returns the new function.
+	   */
+	  function baseUnary(func) {
+	    return function(value) {
+	      return func(value);
+	    };
+	  }
+
+	  /**
+	   * The base implementation of `_.values` and `_.valuesIn` which creates an
+	   * array of `object` property values corresponding to the property names
+	   * of `props`.
+	   *
+	   * @private
+	   * @param {Object} object The object to query.
+	   * @param {Array} props The property names to get values for.
+	   * @returns {Object} Returns the array of property values.
+	   */
+	  function baseValues(object, props) {
+	    return arrayMap(props, function(key) {
+	      return object[key];
+	    });
+	  }
+
+	  /**
+	   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
+	   * that is not found in the character symbols.
+	   *
+	   * @private
+	   * @param {Array} strSymbols The string symbols to inspect.
+	   * @param {Array} chrSymbols The character symbols to find.
+	   * @returns {number} Returns the index of the first unmatched string symbol.
+	   */
+	  function charsStartIndex(strSymbols, chrSymbols) {
+	    var index = -1,
+	        length = strSymbols.length;
+
+	    while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
+	    return index;
+	  }
+
+	  /**
+	   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
+	   * that is not found in the character symbols.
+	   *
+	   * @private
+	   * @param {Array} strSymbols The string symbols to inspect.
+	   * @param {Array} chrSymbols The character symbols to find.
+	   * @returns {number} Returns the index of the last unmatched string symbol.
+	   */
+	  function charsEndIndex(strSymbols, chrSymbols) {
+	    var index = strSymbols.length;
+
+	    while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
+	    return index;
+	  }
+
+	  /**
+	   * Checks if `value` is a global object.
+	   *
+	   * @private
+	   * @param {*} value The value to check.
+	   * @returns {null|Object} Returns `value` if it's a global object, else `null`.
+	   */
+	  function checkGlobal(value) {
+	    return (value && value.Object === Object) ? value : null;
+	  }
+
+	  /**
+	   * Compares values to sort them in ascending order.
+	   *
+	   * @private
+	   * @param {*} value The value to compare.
+	   * @param {*} other The other value to compare.
+	   * @returns {number} Returns the sort order indicator for `value`.
+	   */
+	  function compareAscending(value, other) {
+	    if (value !== other) {
+	      var valIsNull = value === null,
+	          valIsUndef = value === undefined,
+	          valIsReflexive = value === value;
+
+	      var othIsNull = other === null,
+	          othIsUndef = other === undefined,
+	          othIsReflexive = other === other;
+
+	      if ((value > other && !othIsNull) || !valIsReflexive ||
+	          (valIsNull && !othIsUndef && othIsReflexive) ||
+	          (valIsUndef && othIsReflexive)) {
+	        return 1;
+	      }
+	      if ((value < other && !valIsNull) || !othIsReflexive ||
+	          (othIsNull && !valIsUndef && valIsReflexive) ||
+	          (othIsUndef && valIsReflexive)) {
+	        return -1;
+	      }
+	    }
+	    return 0;
+	  }
+
+	  /**
+	   * Used by `_.orderBy` to compare multiple properties of a value to another
+	   * and stable sort them.
+	   *
+	   * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
+	   * specify an order of "desc" for descending or "asc" for ascending sort order
+	   * of corresponding values.
+	   *
+	   * @private
+	   * @param {Object} object The object to compare.
+	   * @param {Object} other The other object to compare.
+	   * @param {boolean[]|string[]} orders The order to sort by for each property.
+	   * @returns {number} Returns the sort order indicator for `object`.
+	   */
+	  function compareMultiple(object, other, orders) {
+	    var index = -1,
+	        objCriteria = object.criteria,
+	        othCriteria = other.criteria,
+	        length = objCriteria.length,
+	        ordersLength = orders.length;
+
+	    while (++index < length) {
+	      var result = compareAscending(objCriteria[index], othCriteria[index]);
+	      if (result) {
+	        if (index >= ordersLength) {
+	          return result;
+	        }
+	        var order = orders[index];
+	        return result * (order == 'desc' ? -1 : 1);
+	      }
+	    }
+	    // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
+	    // that causes it, under certain circumstances, to provide the same value for
+	    // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
+	    // for more details.
+	    //
+	    // This also ensures a stable sort in V8 and other engines.
+	    // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
+	    return object.index - other.index;
+	  }
+
+	  /**
+	   * Gets the number of `placeholder` occurrences in `array`.
+	   *
+	   * @private
+	   * @param {Array} array The array to inspect.
+	   * @param {*} placeholder The placeholder to search for.
+	   * @returns {number} Returns the placeholder count.
+	   */
+	  function countHolders(array, placeholder) {
+	    var length = array.length,
+	        result = 0;
+
+	    while (length--) {
+	      if (array[length] === placeholder) {
+	        result++;
+	      }
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * Creates a function that performs a mathematical operation on two values.
+	   *
+	   * @private
+	   * @param {Function} operator The function to perform the operation.
+	   * @returns {Function} Returns the new mathematical operation function.
+	   */
+	  function createMathOperation(operator) {
+	    return function(value, other) {
+	      var result;
+	      if (value === undefined && other === undefined) {
+	        return 0;
+	      }
+	      if (value !== undefined) {
+	        result = value;
+	      }
+	      if (other !== undefined) {
+	        result = result === undefined ? other : operator(result, other);
+	      }
+	      return result;
+	    };
+	  }
+
+	  /**
+	   * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters.
+	   *
+	   * @private
+	   * @param {string} letter The matched letter to deburr.
+	   * @returns {string} Returns the deburred letter.
+	   */
+	  function deburrLetter(letter) {
+	    return deburredLetters[letter];
+	  }
+
+	  /**
+	   * Used by `_.escape` to convert characters to HTML entities.
+	   *
+	   * @private
+	   * @param {string} chr The matched character to escape.
+	   * @returns {string} Returns the escaped character.
+	   */
+	  function escapeHtmlChar(chr) {
+	    return htmlEscapes[chr];
+	  }
+
+	  /**
+	   * Used by `_.template` to escape characters for inclusion in compiled string literals.
+	   *
+	   * @private
+	   * @param {string} chr The matched character to escape.
+	   * @returns {string} Returns the escaped character.
+	   */
+	  function escapeStringChar(chr) {
+	    return '\\' + stringEscapes[chr];
+	  }
+
+	  /**
+	   * Gets the index at which the first occurrence of `NaN` is found in `array`.
+	   *
+	   * @private
+	   * @param {Array} array The array to search.
+	   * @param {number} fromIndex The index to search from.
+	   * @param {boolean} [fromRight] Specify iterating from right to left.
+	   * @returns {number} Returns the index of the matched `NaN`, else `-1`.
+	   */
+	  function indexOfNaN(array, fromIndex, fromRight) {
+	    var length = array.length,
+	        index = fromIndex + (fromRight ? 0 : -1);
+
+	    while ((fromRight ? index-- : ++index < length)) {
+	      var other = array[index];
+	      if (other !== other) {
+	        return index;
+	      }
+	    }
+	    return -1;
+	  }
+
+	  /**
+	   * Checks if `value` is a host object in IE < 9.
+	   *
+	   * @private
+	   * @param {*} value The value to check.
+	   * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
+	   */
+	  function isHostObject(value) {
+	    // Many host objects are `Object` objects that can coerce to strings
+	    // despite having improperly defined `toString` methods.
+	    var result = false;
+	    if (value != null && typeof value.toString != 'function') {
+	      try {
+	        result = !!(value + '');
+	      } catch (e) {}
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * Checks if `value` is a valid array-like index.
+	   *
+	   * @private
+	   * @param {*} value The value to check.
+	   * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
+	   * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
+	   */
+	  function isIndex(value, length) {
+	    value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;
+	    length = length == null ? MAX_SAFE_INTEGER : length;
+	    return value > -1 && value % 1 == 0 && value < length;
+	  }
+
+	  /**
+	   * Converts `iterator` to an array.
+	   *
+	   * @private
+	   * @param {Object} iterator The iterator to convert.
+	   * @returns {Array} Returns the converted array.
+	   */
+	  function iteratorToArray(iterator) {
+	    var data,
+	        result = [];
+
+	    while (!(data = iterator.next()).done) {
+	      result.push(data.value);
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * Converts `map` to an array.
+	   *
+	   * @private
+	   * @param {Object} map The map to convert.
+	   * @returns {Array} Returns the converted array.
+	   */
+	  function mapToArray(map) {
+	    var index = -1,
+	        result = Array(map.size);
+
+	    map.forEach(function(value, key) {
+	      result[++index] = [key, value];
+	    });
+	    return result;
+	  }
+
+	  /**
+	   * Replaces all `placeholder` elements in `array` with an internal placeholder
+	   * and returns an array of their indexes.
+	   *
+	   * @private
+	   * @param {Array} array The array to modify.
+	   * @param {*} placeholder The placeholder to replace.
+	   * @returns {Array} Returns the new array of placeholder indexes.
+	   */
+	  function replaceHolders(array, placeholder) {
+	    var index = -1,
+	        length = array.length,
+	        resIndex = 0,
+	        result = [];
+
+	    while (++index < length) {
+	      var value = array[index];
+	      if (value === placeholder || value === PLACEHOLDER) {
+	        array[index] = PLACEHOLDER;
+	        result[resIndex++] = index;
+	      }
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * Converts `set` to an array.
+	   *
+	   * @private
+	   * @param {Object} set The set to convert.
+	   * @returns {Array} Returns the converted array.
+	   */
+	  function setToArray(set) {
+	    var index = -1,
+	        result = Array(set.size);
+
+	    set.forEach(function(value) {
+	      result[++index] = value;
+	    });
+	    return result;
+	  }
+
+	  /**
+	   * Gets the number of symbols in `string`.
+	   *
+	   * @private
+	   * @param {string} string The string to inspect.
+	   * @returns {number} Returns the string size.
+	   */
+	  function stringSize(string) {
+	    if (!(string && reHasComplexSymbol.test(string))) {
+	      return string.length;
+	    }
+	    var result = reComplexSymbol.lastIndex = 0;
+	    while (reComplexSymbol.test(string)) {
+	      result++;
+	    }
+	    return result;
+	  }
+
+	  /**
+	   * Converts `string` to an array.
+	   *
+	   * @private
+	   * @param {string} string The string to convert.
+	   * @returns {Array} Returns the converted array.
+	   */
+	  function stringToArray(string) {
+	    return string.match(reComplexSymbol);
+	  }
+
+	  /**
+	   * Used by `_.unescape` to convert HTML entities to characters.
+	   *
+	   * @private
+	   * @param {string} chr The matched character to unescape.
+	   * @returns {string} Returns the unescaped character.
+	   */
+	  function unescapeHtmlChar(chr) {
+	    return htmlUnescapes[chr];
+	  }
+
+	  /*--------------------------------------------------------------------------*/
+
+	  /**
+	   * Create a new pristine `lodash` function using the `context` object.
+	   *
+	   * @static
+	   * @memberOf _
+	   * @since 1.1.0
+	   * @category Util
+	   * @param {Object} [context=root] The context object.
+	   * @returns {Function} Returns a new `lodash` function.
+	   * @example
+	   *
+	   * _.mixin({ 'foo': _.constant('foo') });
+	   *
+	   * var lodash = _.runInContext();
+	   * lodash.mixin({ 'bar': lodash.constant('bar') });
+	   *
+	   * _.isFunction(_.foo);
+	   * // => true
+	   * _.isFunction(_.bar);
+	   * // => false
+	   *
+	   * lodash.isFunction(lodash.foo);
+	   * // => false
+	   * lodash.isFunction(lodash.bar);
+	   * // => true
+	   *
+	   * // Use `context` to mock `Date#getTime` use in `_.now`.
+	   * var mock = _.runInContext({
+	   *   'Date': function() {
+	   *     return { 'getTime': getTimeMock };
+	   *   }
+	   * });
+	   *
+	   * // Create a suped-up `defer` in Node.js.
+	   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
+	   */
+	  function runInContext(context) {
+	    context = context ? _.defaults({}, context, _.pick(root, contextProps)) : root;
+
+	    /** Built-in constructor references. */
+	    var Date = context.Date,
+	        Error = context.Error,
+	        Math = context.Math,
+	        RegExp = context.RegExp,
+	        TypeError = context.TypeError;
+
+	    /** Used for built-in method references. */
+	    var arrayProto = context.Array.prototype,
+	        objectProto = context.Object.prototype,
+	        stringProto = context.String.prototype;
+
+	    /** Used to resolve the decompiled source of functions. */
+	    var funcToString = context.Function.prototype.toString;
+
+	    /** Used to check objects for own properties. */
+	    var hasOwnProperty = objectProto.hasOwnProperty;
+
+	    /** Used to generate unique IDs. */
+	    var idCounter = 0;
+
+	    /** Used to infer the `Object` constructor. */
+	    var objectCtorString = funcToString.call(Object);
+
+	    /**
+	     * Used to resolve the
+	     * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
+	     * of values.
+	     */
+	    var objectToString = objectProto.toString;
+
+	    /** Used to restore the original `_` reference in `_.noConflict`. */
+	    var oldDash = root._;
+
+	    /** Used to detect if a method is native. */
+	    var reIsNative = RegExp('^' +
+	      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
+	      .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
+	    );
+
+	    /** Built-in value references. */
+	    var Buffer = moduleExports ? context.Buffer : undefined,
+	        Reflect = context.Reflect,
+	        Symbol = context.Symbol,
+	        Uint8Array = context.Uint8Array,
+	        clearTimeout = context.clearTimeout,
+	        enumerate = Reflect ? Reflect.enumerate : undefined,
+	        getOwnPropertySymbols = Object.getOwnPropertySymbols,
+	        iteratorSymbol = typeof (iteratorSymbol = Symbol && Symbol.iterator) == 'symbol' ? iteratorSymbol : undefined,
+	        objectCreate = Object.create,
+	        propertyIsEnumerable = objectProto.propertyIsEnumerable,
+	        setTimeout = context.setTimeout,
+	        splice = arrayProto.splice;
+
+	    /* Built-in method references for those with the same name as other `lodash` methods. */
+	    var nativeCeil = Math.ceil,
+	        nativeFloor = Math.floor,
+	        nativeGetPrototype = Object.getPrototypeOf,
+	        nativeIsFinite = context.isFinite,
+	        nativeJoin = arrayProto.join,
+	        nativeKeys = Object.keys,
+	        nativeMax = Math.max,
+	        nativeMin = Math.min,
+	        nativeParseInt = context.parseInt,
+	        nativeRandom = Math.random,
+	        nativeReplace = stringProto.replace,
+	        nativeReverse = arrayProto.reverse,
+	        nativeSplit = stringProto.split;
+
+	    /* Built-in method references that are verified to be native. */
+	    var DataView = getNative(context, 'DataView'),
+	        Map = getNative(context, 'Map'),
+	        Promise = getNative(context, 'Promise'),
+	        Set = getNative(context, 'Set'),
+	        WeakMap = getNative(context, 'WeakMap'),
+	        nativeCreate = getNative(Object, 'create');
+
+	    /** Used to store function metadata. */
+	    var metaMap = WeakMap && new WeakMap;
+
+	    /** Detect if properties shadowing those on `Object.prototype` are non-enumerable. */
+	    var nonEnumShadows = !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf');
+
+	    /** Used to lookup unminified function names. */
+	    var realNames = {};
+
+	    /** Used to detect maps, sets, and weakmaps. */
+	    var dataViewCtorString = toSource(DataView),
+	        mapCtorString = toSource(Map),
+	        promiseCtorString = toSource(Promise),
+	        setCtorString = toSource(Set),
+	        weakMapCtorString = toSource(WeakMap);
+
+	    /** Used to convert symbols to primitives and strings. */
+	    var symbolProto = Symbol ? Symbol.prototype : undefined,
+	        symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
+	        symbolToString = symbolProto ? symbolProto.toString : undefined;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates a `lodash` object which wraps `value` to enable implicit method
+	     * chain sequences. Methods that operate on and return arrays, collections,
+	     * and functions can be chained together. Methods that retrieve a single value
+	     * or may return a primitive value will automatically end the chain sequence
+	     * and return the unwrapped value. Otherwise, the value must be unwrapped
+	     * with `_#value`.
+	     *
+	     * Explicit chain sequences, which must be unwrapped with `_#value`, may be
+	     * enabled using `_.chain`.
+	     *
+	     * The execution of chained methods is lazy, that is, it's deferred until
+	     * `_#value` is implicitly or explicitly called.
+	     *
+	     * Lazy evaluation allows several methods to support shortcut fusion.
+	     * Shortcut fusion is an optimization to merge iteratee calls; this avoids
+	     * the creation of intermediate arrays and can greatly reduce the number of
+	     * iteratee executions. Sections of a chain sequence qualify for shortcut
+	     * fusion if the section is applied to an array of at least `200` elements
+	     * and any iteratees accept only one argument. The heuristic for whether a
+	     * section qualifies for shortcut fusion is subject to change.
+	     *
+	     * Chaining is supported in custom builds as long as the `_#value` method is
+	     * directly or indirectly included in the build.
+	     *
+	     * In addition to lodash methods, wrappers have `Array` and `String` methods.
+	     *
+	     * The wrapper `Array` methods are:
+	     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
+	     *
+	     * The wrapper `String` methods are:
+	     * `replace` and `split`
+	     *
+	     * The wrapper methods that support shortcut fusion are:
+	     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
+	     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
+	     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
+	     *
+	     * The chainable wrapper methods are:
+	     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
+	     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
+	     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
+	     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
+	     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
+	     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
+	     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
+	     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
+	     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
+	     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
+	     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
+	     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
+	     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
+	     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
+	     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
+	     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
+	     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
+	     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
+	     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
+	     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
+	     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
+	     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
+	     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
+	     * `zipObject`, `zipObjectDeep`, and `zipWith`
+	     *
+	     * The wrapper methods that are **not** chainable by default are:
+	     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
+	     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `deburr`, `divide`, `each`,
+	     * `eachRight`, `endsWith`, `eq`, `escape`, `escapeRegExp`, `every`, `find`,
+	     * `findIndex`, `findKey`, `findLast`, `findLastIndex`, `findLastKey`, `first`,
+	     * `floor`, `forEach`, `forEachRight`, `forIn`, `forInRight`, `forOwn`,
+	     * `forOwnRight`, `get`, `gt`, `gte`, `has`, `hasIn`, `head`, `identity`,
+	     * `includes`, `indexOf`, `inRange`, `invoke`, `isArguments`, `isArray`,
+	     * `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, `isBoolean`, `isBuffer`,
+	     * `isDate`, `isElement`, `isEmpty`, `isEqual`, `isEqualWith`, `isError`,
+	     * `isFinite`, `isFunction`, `isInteger`, `isLength`, `isMap`, `isMatch`,
+	     * `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, `isNumber`,
+	     * `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, `isSafeInteger`,
+	     * `isSet`, `isString`, `isUndefined`, `isTypedArray`, `isWeakMap`, `isWeakSet`,
+	     * `join`, `kebabCase`, `last`, `lastIndexOf`, `lowerCase`, `lowerFirst`,
+	     * `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, `min`, `minBy`, `multiply`,
+	     * `noConflict`, `noop`, `now`, `nth`, `pad`, `padEnd`, `padStart`, `parseInt`,
+	     * `pop`, `random`, `reduce`, `reduceRight`, `repeat`, `result`, `round`,
+	     * `runInContext`, `sample`, `shift`, `size`, `snakeCase`, `some`, `sortedIndex`,
+	     * `sortedIndexBy`, `sortedLastIndex`, `sortedLastIndexBy`, `startCase`,
+	     * `startsWith`, `subtract`, `sum`, `sumBy`, `template`, `times`, `toInteger`,
+	     * `toJSON`, `toLength`, `toLower`, `toNumber`, `toSafeInteger`, `toString`,
+	     * `toUpper`, `trim`, `trimEnd`, `trimStart`, `truncate`, `unescape`,
+	     * `uniqueId`, `upperCase`, `upperFirst`, `value`, and `words`
+	     *
+	     * @name _
+	     * @constructor
+	     * @category Seq
+	     * @param {*} value The value to wrap in a `lodash` instance.
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * function square(n) {
+	     *   return n * n;
+	     * }
+	     *
+	     * var wrapped = _([1, 2, 3]);
+	     *
+	     * // Returns an unwrapped value.
+	     * wrapped.reduce(_.add);
+	     * // => 6
+	     *
+	     * // Returns a wrapped value.
+	     * var squares = wrapped.map(square);
+	     *
+	     * _.isArray(squares);
+	     * // => false
+	     *
+	     * _.isArray(squares.value());
+	     * // => true
+	     */
+	    function lodash(value) {
+	      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
+	        if (value instanceof LodashWrapper) {
+	          return value;
+	        }
+	        if (hasOwnProperty.call(value, '__wrapped__')) {
+	          return wrapperClone(value);
+	        }
+	      }
+	      return new LodashWrapper(value);
+	    }
+
+	    /**
+	     * The function whose prototype chain sequence wrappers inherit from.
+	     *
+	     * @private
+	     */
+	    function baseLodash() {
+	      // No operation performed.
+	    }
+
+	    /**
+	     * The base constructor for creating `lodash` wrapper objects.
+	     *
+	     * @private
+	     * @param {*} value The value to wrap.
+	     * @param {boolean} [chainAll] Enable explicit method chain sequences.
+	     */
+	    function LodashWrapper(value, chainAll) {
+	      this.__wrapped__ = value;
+	      this.__actions__ = [];
+	      this.__chain__ = !!chainAll;
+	      this.__index__ = 0;
+	      this.__values__ = undefined;
+	    }
+
+	    /**
+	     * By default, the template delimiters used by lodash are like those in
+	     * embedded Ruby (ERB). Change the following template settings to use
+	     * alternative delimiters.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @type {Object}
+	     */
+	    lodash.templateSettings = {
+
+	      /**
+	       * Used to detect `data` property values to be HTML-escaped.
+	       *
+	       * @memberOf _.templateSettings
+	       * @type {RegExp}
+	       */
+	      'escape': reEscape,
+
+	      /**
+	       * Used to detect code to be evaluated.
+	       *
+	       * @memberOf _.templateSettings
+	       * @type {RegExp}
+	       */
+	      'evaluate': reEvaluate,
+
+	      /**
+	       * Used to detect `data` property values to inject.
+	       *
+	       * @memberOf _.templateSettings
+	       * @type {RegExp}
+	       */
+	      'interpolate': reInterpolate,
+
+	      /**
+	       * Used to reference the data object in the template text.
+	       *
+	       * @memberOf _.templateSettings
+	       * @type {string}
+	       */
+	      'variable': '',
+
+	      /**
+	       * Used to import variables into the compiled template.
+	       *
+	       * @memberOf _.templateSettings
+	       * @type {Object}
+	       */
+	      'imports': {
+
+	        /**
+	         * A reference to the `lodash` function.
+	         *
+	         * @memberOf _.templateSettings.imports
+	         * @type {Function}
+	         */
+	        '_': lodash
+	      }
+	    };
+
+	    // Ensure wrappers are instances of `baseLodash`.
+	    lodash.prototype = baseLodash.prototype;
+	    lodash.prototype.constructor = lodash;
+
+	    LodashWrapper.prototype = baseCreate(baseLodash.prototype);
+	    LodashWrapper.prototype.constructor = LodashWrapper;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
+	     *
+	     * @private
+	     * @constructor
+	     * @param {*} value The value to wrap.
+	     */
+	    function LazyWrapper(value) {
+	      this.__wrapped__ = value;
+	      this.__actions__ = [];
+	      this.__dir__ = 1;
+	      this.__filtered__ = false;
+	      this.__iteratees__ = [];
+	      this.__takeCount__ = MAX_ARRAY_LENGTH;
+	      this.__views__ = [];
+	    }
+
+	    /**
+	     * Creates a clone of the lazy wrapper object.
+	     *
+	     * @private
+	     * @name clone
+	     * @memberOf LazyWrapper
+	     * @returns {Object} Returns the cloned `LazyWrapper` object.
+	     */
+	    function lazyClone() {
+	      var result = new LazyWrapper(this.__wrapped__);
+	      result.__actions__ = copyArray(this.__actions__);
+	      result.__dir__ = this.__dir__;
+	      result.__filtered__ = this.__filtered__;
+	      result.__iteratees__ = copyArray(this.__iteratees__);
+	      result.__takeCount__ = this.__takeCount__;
+	      result.__views__ = copyArray(this.__views__);
+	      return result;
+	    }
+
+	    /**
+	     * Reverses the direction of lazy iteration.
+	     *
+	     * @private
+	     * @name reverse
+	     * @memberOf LazyWrapper
+	     * @returns {Object} Returns the new reversed `LazyWrapper` object.
+	     */
+	    function lazyReverse() {
+	      if (this.__filtered__) {
+	        var result = new LazyWrapper(this);
+	        result.__dir__ = -1;
+	        result.__filtered__ = true;
+	      } else {
+	        result = this.clone();
+	        result.__dir__ *= -1;
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Extracts the unwrapped value from its lazy wrapper.
+	     *
+	     * @private
+	     * @name value
+	     * @memberOf LazyWrapper
+	     * @returns {*} Returns the unwrapped value.
+	     */
+	    function lazyValue() {
+	      var array = this.__wrapped__.value(),
+	          dir = this.__dir__,
+	          isArr = isArray(array),
+	          isRight = dir < 0,
+	          arrLength = isArr ? array.length : 0,
+	          view = getView(0, arrLength, this.__views__),
+	          start = view.start,
+	          end = view.end,
+	          length = end - start,
+	          index = isRight ? end : (start - 1),
+	          iteratees = this.__iteratees__,
+	          iterLength = iteratees.length,
+	          resIndex = 0,
+	          takeCount = nativeMin(length, this.__takeCount__);
+
+	      if (!isArr || arrLength < LARGE_ARRAY_SIZE ||
+	          (arrLength == length && takeCount == length)) {
+	        return baseWrapperValue(array, this.__actions__);
+	      }
+	      var result = [];
+
+	      outer:
+	      while (length-- && resIndex < takeCount) {
+	        index += dir;
+
+	        var iterIndex = -1,
+	            value = array[index];
+
+	        while (++iterIndex < iterLength) {
+	          var data = iteratees[iterIndex],
+	              iteratee = data.iteratee,
+	              type = data.type,
+	              computed = iteratee(value);
+
+	          if (type == LAZY_MAP_FLAG) {
+	            value = computed;
+	          } else if (!computed) {
+	            if (type == LAZY_FILTER_FLAG) {
+	              continue outer;
+	            } else {
+	              break outer;
+	            }
+	          }
+	        }
+	        result[resIndex++] = value;
+	      }
+	      return result;
+	    }
+
+	    // Ensure `LazyWrapper` is an instance of `baseLodash`.
+	    LazyWrapper.prototype = baseCreate(baseLodash.prototype);
+	    LazyWrapper.prototype.constructor = LazyWrapper;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates a hash object.
+	     *
+	     * @private
+	     * @constructor
+	     * @returns {Object} Returns the new hash object.
+	     */
+	    function Hash() {}
+
+	    /**
+	     * Removes `key` and its value from the hash.
+	     *
+	     * @private
+	     * @param {Object} hash The hash to modify.
+	     * @param {string} key The key of the value to remove.
+	     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	     */
+	    function hashDelete(hash, key) {
+	      return hashHas(hash, key) && delete hash[key];
+	    }
+
+	    /**
+	     * Gets the hash value for `key`.
+	     *
+	     * @private
+	     * @param {Object} hash The hash to query.
+	     * @param {string} key The key of the value to get.
+	     * @returns {*} Returns the entry value.
+	     */
+	    function hashGet(hash, key) {
+	      if (nativeCreate) {
+	        var result = hash[key];
+	        return result === HASH_UNDEFINED ? undefined : result;
+	      }
+	      return hasOwnProperty.call(hash, key) ? hash[key] : undefined;
+	    }
+
+	    /**
+	     * Checks if a hash value for `key` exists.
+	     *
+	     * @private
+	     * @param {Object} hash The hash to query.
+	     * @param {string} key The key of the entry to check.
+	     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	     */
+	    function hashHas(hash, key) {
+	      return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);
+	    }
+
+	    /**
+	     * Sets the hash `key` to `value`.
+	     *
+	     * @private
+	     * @param {Object} hash The hash to modify.
+	     * @param {string} key The key of the value to set.
+	     * @param {*} value The value to set.
+	     */
+	    function hashSet(hash, key, value) {
+	      hash[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
+	    }
+
+	    // Avoid inheriting from `Object.prototype` when possible.
+	    Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates a map cache object to store key-value pairs.
+	     *
+	     * @private
+	     * @constructor
+	     * @param {Array} [values] The values to cache.
+	     */
+	    function MapCache(values) {
+	      var index = -1,
+	          length = values ? values.length : 0;
+
+	      this.clear();
+	      while (++index < length) {
+	        var entry = values[index];
+	        this.set(entry[0], entry[1]);
+	      }
+	    }
+
+	    /**
+	     * Removes all key-value entries from the map.
+	     *
+	     * @private
+	     * @name clear
+	     * @memberOf MapCache
+	     */
+	    function mapClear() {
+	      this.__data__ = {
+	        'hash': new Hash,
+	        'map': Map ? new Map : [],
+	        'string': new Hash
+	      };
+	    }
+
+	    /**
+	     * Removes `key` and its value from the map.
+	     *
+	     * @private
+	     * @name delete
+	     * @memberOf MapCache
+	     * @param {string} key The key of the value to remove.
+	     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	     */
+	    function mapDelete(key) {
+	      var data = this.__data__;
+	      if (isKeyable(key)) {
+	        return hashDelete(typeof key == 'string' ? data.string : data.hash, key);
+	      }
+	      return Map ? data.map['delete'](key) : assocDelete(data.map, key);
+	    }
+
+	    /**
+	     * Gets the map value for `key`.
+	     *
+	     * @private
+	     * @name get
+	     * @memberOf MapCache
+	     * @param {string} key The key of the value to get.
+	     * @returns {*} Returns the entry value.
+	     */
+	    function mapGet(key) {
+	      var data = this.__data__;
+	      if (isKeyable(key)) {
+	        return hashGet(typeof key == 'string' ? data.string : data.hash, key);
+	      }
+	      return Map ? data.map.get(key) : assocGet(data.map, key);
+	    }
+
+	    /**
+	     * Checks if a map value for `key` exists.
+	     *
+	     * @private
+	     * @name has
+	     * @memberOf MapCache
+	     * @param {string} key The key of the entry to check.
+	     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	     */
+	    function mapHas(key) {
+	      var data = this.__data__;
+	      if (isKeyable(key)) {
+	        return hashHas(typeof key == 'string' ? data.string : data.hash, key);
+	      }
+	      return Map ? data.map.has(key) : assocHas(data.map, key);
+	    }
+
+	    /**
+	     * Sets the map `key` to `value`.
+	     *
+	     * @private
+	     * @name set
+	     * @memberOf MapCache
+	     * @param {string} key The key of the value to set.
+	     * @param {*} value The value to set.
+	     * @returns {Object} Returns the map cache instance.
+	     */
+	    function mapSet(key, value) {
+	      var data = this.__data__;
+	      if (isKeyable(key)) {
+	        hashSet(typeof key == 'string' ? data.string : data.hash, key, value);
+	      } else if (Map) {
+	        data.map.set(key, value);
+	      } else {
+	        assocSet(data.map, key, value);
+	      }
+	      return this;
+	    }
+
+	    // Add methods to `MapCache`.
+	    MapCache.prototype.clear = mapClear;
+	    MapCache.prototype['delete'] = mapDelete;
+	    MapCache.prototype.get = mapGet;
+	    MapCache.prototype.has = mapHas;
+	    MapCache.prototype.set = mapSet;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     *
+	     * Creates a set cache object to store unique values.
+	     *
+	     * @private
+	     * @constructor
+	     * @param {Array} [values] The values to cache.
+	     */
+	    function SetCache(values) {
+	      var index = -1,
+	          length = values ? values.length : 0;
+
+	      this.__data__ = new MapCache;
+	      while (++index < length) {
+	        this.push(values[index]);
+	      }
+	    }
+
+	    /**
+	     * Checks if `value` is in `cache`.
+	     *
+	     * @private
+	     * @param {Object} cache The set cache to search.
+	     * @param {*} value The value to search for.
+	     * @returns {number} Returns `true` if `value` is found, else `false`.
+	     */
+	    function cacheHas(cache, value) {
+	      var map = cache.__data__;
+	      if (isKeyable(value)) {
+	        var data = map.__data__,
+	            hash = typeof value == 'string' ? data.string : data.hash;
+
+	        return hash[value] === HASH_UNDEFINED;
+	      }
+	      return map.has(value);
+	    }
+
+	    /**
+	     * Adds `value` to the set cache.
+	     *
+	     * @private
+	     * @name push
+	     * @memberOf SetCache
+	     * @param {*} value The value to cache.
+	     */
+	    function cachePush(value) {
+	      var map = this.__data__;
+	      if (isKeyable(value)) {
+	        var data = map.__data__,
+	            hash = typeof value == 'string' ? data.string : data.hash;
+
+	        hash[value] = HASH_UNDEFINED;
+	      }
+	      else {
+	        map.set(value, HASH_UNDEFINED);
+	      }
+	    }
+
+	    // Add methods to `SetCache`.
+	    SetCache.prototype.push = cachePush;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates a stack cache object to store key-value pairs.
+	     *
+	     * @private
+	     * @constructor
+	     * @param {Array} [values] The values to cache.
+	     */
+	    function Stack(values) {
+	      var index = -1,
+	          length = values ? values.length : 0;
+
+	      this.clear();
+	      while (++index < length) {
+	        var entry = values[index];
+	        this.set(entry[0], entry[1]);
+	      }
+	    }
+
+	    /**
+	     * Removes all key-value entries from the stack.
+	     *
+	     * @private
+	     * @name clear
+	     * @memberOf Stack
+	     */
+	    function stackClear() {
+	      this.__data__ = { 'array': [], 'map': null };
+	    }
+
+	    /**
+	     * Removes `key` and its value from the stack.
+	     *
+	     * @private
+	     * @name delete
+	     * @memberOf Stack
+	     * @param {string} key The key of the value to remove.
+	     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	     */
+	    function stackDelete(key) {
+	      var data = this.__data__,
+	          array = data.array;
+
+	      return array ? assocDelete(array, key) : data.map['delete'](key);
+	    }
+
+	    /**
+	     * Gets the stack value for `key`.
+	     *
+	     * @private
+	     * @name get
+	     * @memberOf Stack
+	     * @param {string} key The key of the value to get.
+	     * @returns {*} Returns the entry value.
+	     */
+	    function stackGet(key) {
+	      var data = this.__data__,
+	          array = data.array;
+
+	      return array ? assocGet(array, key) : data.map.get(key);
+	    }
+
+	    /**
+	     * Checks if a stack value for `key` exists.
+	     *
+	     * @private
+	     * @name has
+	     * @memberOf Stack
+	     * @param {string} key The key of the entry to check.
+	     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	     */
+	    function stackHas(key) {
+	      var data = this.__data__,
+	          array = data.array;
+
+	      return array ? assocHas(array, key) : data.map.has(key);
+	    }
+
+	    /**
+	     * Sets the stack `key` to `value`.
+	     *
+	     * @private
+	     * @name set
+	     * @memberOf Stack
+	     * @param {string} key The key of the value to set.
+	     * @param {*} value The value to set.
+	     * @returns {Object} Returns the stack cache instance.
+	     */
+	    function stackSet(key, value) {
+	      var data = this.__data__,
+	          array = data.array;
+
+	      if (array) {
+	        if (array.length < (LARGE_ARRAY_SIZE - 1)) {
+	          assocSet(array, key, value);
+	        } else {
+	          data.array = null;
+	          data.map = new MapCache(array);
+	        }
+	      }
+	      var map = data.map;
+	      if (map) {
+	        map.set(key, value);
+	      }
+	      return this;
+	    }
+
+	    // Add methods to `Stack`.
+	    Stack.prototype.clear = stackClear;
+	    Stack.prototype['delete'] = stackDelete;
+	    Stack.prototype.get = stackGet;
+	    Stack.prototype.has = stackHas;
+	    Stack.prototype.set = stackSet;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Removes `key` and its value from the associative array.
+	     *
+	     * @private
+	     * @param {Array} array The array to modify.
+	     * @param {string} key The key of the value to remove.
+	     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
+	     */
+	    function assocDelete(array, key) {
+	      var index = assocIndexOf(array, key);
+	      if (index < 0) {
+	        return false;
+	      }
+	      var lastIndex = array.length - 1;
+	      if (index == lastIndex) {
+	        array.pop();
+	      } else {
+	        splice.call(array, index, 1);
+	      }
+	      return true;
+	    }
+
+	    /**
+	     * Gets the associative array value for `key`.
+	     *
+	     * @private
+	     * @param {Array} array The array to query.
+	     * @param {string} key The key of the value to get.
+	     * @returns {*} Returns the entry value.
+	     */
+	    function assocGet(array, key) {
+	      var index = assocIndexOf(array, key);
+	      return index < 0 ? undefined : array[index][1];
+	    }
+
+	    /**
+	     * Checks if an associative array value for `key` exists.
+	     *
+	     * @private
+	     * @param {Array} array The array to query.
+	     * @param {string} key The key of the entry to check.
+	     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
+	     */
+	    function assocHas(array, key) {
+	      return assocIndexOf(array, key) > -1;
+	    }
+
+	    /**
+	     * Gets the index at which the `key` is found in `array` of key-value pairs.
+	     *
+	     * @private
+	     * @param {Array} array The array to search.
+	     * @param {*} key The key to search for.
+	     * @returns {number} Returns the index of the matched value, else `-1`.
+	     */
+	    function assocIndexOf(array, key) {
+	      var length = array.length;
+	      while (length--) {
+	        if (eq(array[length][0], key)) {
+	          return length;
+	        }
+	      }
+	      return -1;
+	    }
+
+	    /**
+	     * Sets the associative array `key` to `value`.
+	     *
+	     * @private
+	     * @param {Array} array The array to modify.
+	     * @param {string} key The key of the value to set.
+	     * @param {*} value The value to set.
+	     */
+	    function assocSet(array, key, value) {
+	      var index = assocIndexOf(array, key);
+	      if (index < 0) {
+	        array.push([key, value]);
+	      } else {
+	        array[index][1] = value;
+	      }
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Used by `_.defaults` to customize its `_.assignIn` use.
+	     *
+	     * @private
+	     * @param {*} objValue The destination value.
+	     * @param {*} srcValue The source value.
+	     * @param {string} key The key of the property to assign.
+	     * @param {Object} object The parent object of `objValue`.
+	     * @returns {*} Returns the value to assign.
+	     */
+	    function assignInDefaults(objValue, srcValue, key, object) {
+	      if (objValue === undefined ||
+	          (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {
+	        return srcValue;
+	      }
+	      return objValue;
+	    }
+
+	    /**
+	     * This function is like `assignValue` except that it doesn't assign
+	     * `undefined` values.
+	     *
+	     * @private
+	     * @param {Object} object The object to modify.
+	     * @param {string} key The key of the property to assign.
+	     * @param {*} value The value to assign.
+	     */
+	    function assignMergeValue(object, key, value) {
+	      if ((value !== undefined && !eq(object[key], value)) ||
+	          (typeof key == 'number' && value === undefined && !(key in object))) {
+	        object[key] = value;
+	      }
+	    }
+
+	    /**
+	     * Assigns `value` to `key` of `object` if the existing value is not equivalent
+	     * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons.
+	     *
+	     * @private
+	     * @param {Object} object The object to modify.
+	     * @param {string} key The key of the property to assign.
+	     * @param {*} value The value to assign.
+	     */
+	    function assignValue(object, key, value) {
+	      var objValue = object[key];
+	      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
+	          (value === undefined && !(key in object))) {
+	        object[key] = value;
+	      }
+	    }
+
+	    /**
+	     * Aggregates elements of `collection` on `accumulator` with keys transformed
+	     * by `iteratee` and values set by `setter`.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} setter The function to set `accumulator` values.
+	     * @param {Function} iteratee The iteratee to transform keys.
+	     * @param {Object} accumulator The initial aggregated object.
+	     * @returns {Function} Returns `accumulator`.
+	     */
+	    function baseAggregator(collection, setter, iteratee, accumulator) {
+	      baseEach(collection, function(value, key, collection) {
+	        setter(accumulator, value, iteratee(value), collection);
+	      });
+	      return accumulator;
+	    }
+
+	    /**
+	     * The base implementation of `_.assign` without support for multiple sources
+	     * or `customizer` functions.
+	     *
+	     * @private
+	     * @param {Object} object The destination object.
+	     * @param {Object} source The source object.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function baseAssign(object, source) {
+	      return object && copyObject(source, keys(source), object);
+	    }
+
+	    /**
+	     * The base implementation of `_.at` without support for individual paths.
+	     *
+	     * @private
+	     * @param {Object} object The object to iterate over.
+	     * @param {string[]} paths The property paths of elements to pick.
+	     * @returns {Array} Returns the new array of picked elements.
+	     */
+	    function baseAt(object, paths) {
+	      var index = -1,
+	          isNil = object == null,
+	          length = paths.length,
+	          result = Array(length);
+
+	      while (++index < length) {
+	        result[index] = isNil ? undefined : get(object, paths[index]);
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.clamp` which doesn't coerce arguments to numbers.
+	     *
+	     * @private
+	     * @param {number} number The number to clamp.
+	     * @param {number} [lower] The lower bound.
+	     * @param {number} upper The upper bound.
+	     * @returns {number} Returns the clamped number.
+	     */
+	    function baseClamp(number, lower, upper) {
+	      if (number === number) {
+	        if (upper !== undefined) {
+	          number = number <= upper ? number : upper;
+	        }
+	        if (lower !== undefined) {
+	          number = number >= lower ? number : lower;
+	        }
+	      }
+	      return number;
+	    }
+
+	    /**
+	     * The base implementation of `_.clone` and `_.cloneDeep` which tracks
+	     * traversed objects.
+	     *
+	     * @private
+	     * @param {*} value The value to clone.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @param {boolean} [isFull] Specify a clone including symbols.
+	     * @param {Function} [customizer] The function to customize cloning.
+	     * @param {string} [key] The key of `value`.
+	     * @param {Object} [object] The parent object of `value`.
+	     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
+	     * @returns {*} Returns the cloned value.
+	     */
+	    function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
+	      var result;
+	      if (customizer) {
+	        result = object ? customizer(value, key, object, stack) : customizer(value);
+	      }
+	      if (result !== undefined) {
+	        return result;
+	      }
+	      if (!isObject(value)) {
+	        return value;
+	      }
+	      var isArr = isArray(value);
+	      if (isArr) {
+	        result = initCloneArray(value);
+	        if (!isDeep) {
+	          return copyArray(value, result);
+	        }
+	      } else {
+	        var tag = getTag(value),
+	            isFunc = tag == funcTag || tag == genTag;
+
+	        if (isBuffer(value)) {
+	          return cloneBuffer(value, isDeep);
+	        }
+	        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
+	          if (isHostObject(value)) {
+	            return object ? value : {};
+	          }
+	          result = initCloneObject(isFunc ? {} : value);
+	          if (!isDeep) {
+	            return copySymbols(value, baseAssign(result, value));
+	          }
+	        } else {
+	          if (!cloneableTags[tag]) {
+	            return object ? value : {};
+	          }
+	          result = initCloneByTag(value, tag, baseClone, isDeep);
+	        }
+	      }
+	      // Check for circular references and return its corresponding clone.
+	      stack || (stack = new Stack);
+	      var stacked = stack.get(value);
+	      if (stacked) {
+	        return stacked;
+	      }
+	      stack.set(value, result);
+
+	      if (!isArr) {
+	        var props = isFull ? getAllKeys(value) : keys(value);
+	      }
+	      // Recursively populate clone (susceptible to call stack limits).
+	      arrayEach(props || value, function(subValue, key) {
+	        if (props) {
+	          key = subValue;
+	          subValue = value[key];
+	        }
+	        assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
+	      });
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.conforms` which doesn't clone `source`.
+	     *
+	     * @private
+	     * @param {Object} source The object of property predicates to conform to.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function baseConforms(source) {
+	      var props = keys(source),
+	          length = props.length;
+
+	      return function(object) {
+	        if (object == null) {
+	          return !length;
+	        }
+	        var index = length;
+	        while (index--) {
+	          var key = props[index],
+	              predicate = source[key],
+	              value = object[key];
+
+	          if ((value === undefined &&
+	              !(key in Object(object))) || !predicate(value)) {
+	            return false;
+	          }
+	        }
+	        return true;
+	      };
+	    }
+
+	    /**
+	     * The base implementation of `_.create` without support for assigning
+	     * properties to the created object.
+	     *
+	     * @private
+	     * @param {Object} prototype The object to inherit from.
+	     * @returns {Object} Returns the new object.
+	     */
+	    function baseCreate(proto) {
+	      return isObject(proto) ? objectCreate(proto) : {};
+	    }
+
+	    /**
+	     * The base implementation of `_.delay` and `_.defer` which accepts an array
+	     * of `func` arguments.
+	     *
+	     * @private
+	     * @param {Function} func The function to delay.
+	     * @param {number} wait The number of milliseconds to delay invocation.
+	     * @param {Object} args The arguments to provide to `func`.
+	     * @returns {number} Returns the timer id.
+	     */
+	    function baseDelay(func, wait, args) {
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      return setTimeout(function() { func.apply(undefined, args); }, wait);
+	    }
+
+	    /**
+	     * The base implementation of methods like `_.difference` without support
+	     * for excluding multiple arrays or iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array} array The array to inspect.
+	     * @param {Array} values The values to exclude.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of filtered values.
+	     */
+	    function baseDifference(array, values, iteratee, comparator) {
+	      var index = -1,
+	          includes = arrayIncludes,
+	          isCommon = true,
+	          length = array.length,
+	          result = [],
+	          valuesLength = values.length;
+
+	      if (!length) {
+	        return result;
+	      }
+	      if (iteratee) {
+	        values = arrayMap(values, baseUnary(iteratee));
+	      }
+	      if (comparator) {
+	        includes = arrayIncludesWith;
+	        isCommon = false;
+	      }
+	      else if (values.length >= LARGE_ARRAY_SIZE) {
+	        includes = cacheHas;
+	        isCommon = false;
+	        values = new SetCache(values);
+	      }
+	      outer:
+	      while (++index < length) {
+	        var value = array[index],
+	            computed = iteratee ? iteratee(value) : value;
+
+	        if (isCommon && computed === computed) {
+	          var valuesIndex = valuesLength;
+	          while (valuesIndex--) {
+	            if (values[valuesIndex] === computed) {
+	              continue outer;
+	            }
+	          }
+	          result.push(value);
+	        }
+	        else if (!includes(values, computed, comparator)) {
+	          result.push(value);
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.forEach` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @returns {Array|Object} Returns `collection`.
+	     */
+	    var baseEach = createBaseEach(baseForOwn);
+
+	    /**
+	     * The base implementation of `_.forEachRight` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @returns {Array|Object} Returns `collection`.
+	     */
+	    var baseEachRight = createBaseEach(baseForOwnRight, true);
+
+	    /**
+	     * The base implementation of `_.every` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} predicate The function invoked per iteration.
+	     * @returns {boolean} Returns `true` if all elements pass the predicate check,
+	     *  else `false`
+	     */
+	    function baseEvery(collection, predicate) {
+	      var result = true;
+	      baseEach(collection, function(value, index, collection) {
+	        result = !!predicate(value, index, collection);
+	        return result;
+	      });
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.fill` without an iteratee call guard.
+	     *
+	     * @private
+	     * @param {Array} array The array to fill.
+	     * @param {*} value The value to fill `array` with.
+	     * @param {number} [start=0] The start position.
+	     * @param {number} [end=array.length] The end position.
+	     * @returns {Array} Returns `array`.
+	     */
+	    function baseFill(array, value, start, end) {
+	      var length = array.length;
+
+	      start = toInteger(start);
+	      if (start < 0) {
+	        start = -start > length ? 0 : (length + start);
+	      }
+	      end = (end === undefined || end > length) ? length : toInteger(end);
+	      if (end < 0) {
+	        end += length;
+	      }
+	      end = start > end ? 0 : toLength(end);
+	      while (start < end) {
+	        array[start++] = value;
+	      }
+	      return array;
+	    }
+
+	    /**
+	     * The base implementation of `_.filter` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} predicate The function invoked per iteration.
+	     * @returns {Array} Returns the new filtered array.
+	     */
+	    function baseFilter(collection, predicate) {
+	      var result = [];
+	      baseEach(collection, function(value, index, collection) {
+	        if (predicate(value, index, collection)) {
+	          result.push(value);
+	        }
+	      });
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.flatten` with support for restricting flattening.
+	     *
+	     * @private
+	     * @param {Array} array The array to flatten.
+	     * @param {number} depth The maximum recursion depth.
+	     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
+	     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
+	     * @param {Array} [result=[]] The initial result value.
+	     * @returns {Array} Returns the new flattened array.
+	     */
+	    function baseFlatten(array, depth, predicate, isStrict, result) {
+	      var index = -1,
+	          length = array.length;
+
+	      predicate || (predicate = isFlattenable);
+	      result || (result = []);
+
+	      while (++index < length) {
+	        var value = array[index];
+	        if (depth > 0 && predicate(value)) {
+	          if (depth > 1) {
+	            // Recursively flatten arrays (susceptible to call stack limits).
+	            baseFlatten(value, depth - 1, predicate, isStrict, result);
+	          } else {
+	            arrayPush(result, value);
+	          }
+	        } else if (!isStrict) {
+	          result[result.length] = value;
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `baseForOwn` which iterates over `object`
+	     * properties returned by `keysFunc` and invokes `iteratee` for each property.
+	     * Iteratee functions may exit iteration early by explicitly returning `false`.
+	     *
+	     * @private
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @param {Function} keysFunc The function to get the keys of `object`.
+	     * @returns {Object} Returns `object`.
+	     */
+	    var baseFor = createBaseFor();
+
+	    /**
+	     * This function is like `baseFor` except that it iterates over properties
+	     * in the opposite order.
+	     *
+	     * @private
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @param {Function} keysFunc The function to get the keys of `object`.
+	     * @returns {Object} Returns `object`.
+	     */
+	    var baseForRight = createBaseFor(true);
+
+	    /**
+	     * The base implementation of `_.forOwn` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function baseForOwn(object, iteratee) {
+	      return object && baseFor(object, iteratee, keys);
+	    }
+
+	    /**
+	     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function baseForOwnRight(object, iteratee) {
+	      return object && baseForRight(object, iteratee, keys);
+	    }
+
+	    /**
+	     * The base implementation of `_.functions` which creates an array of
+	     * `object` function property names filtered from `props`.
+	     *
+	     * @private
+	     * @param {Object} object The object to inspect.
+	     * @param {Array} props The property names to filter.
+	     * @returns {Array} Returns the new array of filtered property names.
+	     */
+	    function baseFunctions(object, props) {
+	      return arrayFilter(props, function(key) {
+	        return isFunction(object[key]);
+	      });
+	    }
+
+	    /**
+	     * The base implementation of `_.get` without support for default values.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the property to get.
+	     * @returns {*} Returns the resolved value.
+	     */
+	    function baseGet(object, path) {
+	      path = isKey(path, object) ? [path] : castPath(path);
+
+	      var index = 0,
+	          length = path.length;
+
+	      while (object != null && index < length) {
+	        object = object[path[index++]];
+	      }
+	      return (index && index == length) ? object : undefined;
+	    }
+
+	    /**
+	     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
+	     * `keysFunc` and `symbolsFunc` to get the enumerable property names and
+	     * symbols of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Function} keysFunc The function to get the keys of `object`.
+	     * @param {Function} symbolsFunc The function to get the symbols of `object`.
+	     * @returns {Array} Returns the array of property names and symbols.
+	     */
+	    function baseGetAllKeys(object, keysFunc, symbolsFunc) {
+	      var result = keysFunc(object);
+	      return isArray(object)
+	        ? result
+	        : arrayPush(result, symbolsFunc(object));
+	    }
+
+	    /**
+	     * The base implementation of `_.has` without support for deep paths.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} key The key to check.
+	     * @returns {boolean} Returns `true` if `key` exists, else `false`.
+	     */
+	    function baseHas(object, key) {
+	      // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,
+	      // that are composed entirely of index properties, return `false` for
+	      // `hasOwnProperty` checks of them.
+	      return hasOwnProperty.call(object, key) ||
+	        (typeof object == 'object' && key in object && getPrototype(object) === null);
+	    }
+
+	    /**
+	     * The base implementation of `_.hasIn` without support for deep paths.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} key The key to check.
+	     * @returns {boolean} Returns `true` if `key` exists, else `false`.
+	     */
+	    function baseHasIn(object, key) {
+	      return key in Object(object);
+	    }
+
+	    /**
+	     * The base implementation of `_.inRange` which doesn't coerce arguments to numbers.
+	     *
+	     * @private
+	     * @param {number} number The number to check.
+	     * @param {number} start The start of the range.
+	     * @param {number} end The end of the range.
+	     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
+	     */
+	    function baseInRange(number, start, end) {
+	      return number >= nativeMin(start, end) && number < nativeMax(start, end);
+	    }
+
+	    /**
+	     * The base implementation of methods like `_.intersection`, without support
+	     * for iteratee shorthands, that accepts an array of arrays to inspect.
+	     *
+	     * @private
+	     * @param {Array} arrays The arrays to inspect.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of shared values.
+	     */
+	    function baseIntersection(arrays, iteratee, comparator) {
+	      var includes = comparator ? arrayIncludesWith : arrayIncludes,
+	          length = arrays[0].length,
+	          othLength = arrays.length,
+	          othIndex = othLength,
+	          caches = Array(othLength),
+	          maxLength = Infinity,
+	          result = [];
+
+	      while (othIndex--) {
+	        var array = arrays[othIndex];
+	        if (othIndex && iteratee) {
+	          array = arrayMap(array, baseUnary(iteratee));
+	        }
+	        maxLength = nativeMin(array.length, maxLength);
+	        caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))
+	          ? new SetCache(othIndex && array)
+	          : undefined;
+	      }
+	      array = arrays[0];
+
+	      var index = -1,
+	          seen = caches[0];
+
+	      outer:
+	      while (++index < length && result.length < maxLength) {
+	        var value = array[index],
+	            computed = iteratee ? iteratee(value) : value;
+
+	        if (!(seen
+	              ? cacheHas(seen, computed)
+	              : includes(result, computed, comparator)
+	            )) {
+	          othIndex = othLength;
+	          while (--othIndex) {
+	            var cache = caches[othIndex];
+	            if (!(cache
+	                  ? cacheHas(cache, computed)
+	                  : includes(arrays[othIndex], computed, comparator))
+	                ) {
+	              continue outer;
+	            }
+	          }
+	          if (seen) {
+	            seen.push(computed);
+	          }
+	          result.push(value);
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.invert` and `_.invertBy` which inverts
+	     * `object` with values transformed by `iteratee` and set by `setter`.
+	     *
+	     * @private
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} setter The function to set `accumulator` values.
+	     * @param {Function} iteratee The iteratee to transform values.
+	     * @param {Object} accumulator The initial inverted object.
+	     * @returns {Function} Returns `accumulator`.
+	     */
+	    function baseInverter(object, setter, iteratee, accumulator) {
+	      baseForOwn(object, function(value, key, object) {
+	        setter(accumulator, iteratee(value), key, object);
+	      });
+	      return accumulator;
+	    }
+
+	    /**
+	     * The base implementation of `_.invoke` without support for individual
+	     * method arguments.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the method to invoke.
+	     * @param {Array} args The arguments to invoke the method with.
+	     * @returns {*} Returns the result of the invoked method.
+	     */
+	    function baseInvoke(object, path, args) {
+	      if (!isKey(path, object)) {
+	        path = castPath(path);
+	        object = parent(object, path);
+	        path = last(path);
+	      }
+	      var func = object == null ? object : object[path];
+	      return func == null ? undefined : apply(func, object, args);
+	    }
+
+	    /**
+	     * The base implementation of `_.isEqual` which supports partial comparisons
+	     * and tracks traversed objects.
+	     *
+	     * @private
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @param {Function} [customizer] The function to customize comparisons.
+	     * @param {boolean} [bitmask] The bitmask of comparison flags.
+	     *  The bitmask may be composed of the following flags:
+	     *     1 - Unordered comparison
+	     *     2 - Partial comparison
+	     * @param {Object} [stack] Tracks traversed `value` and `other` objects.
+	     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+	     */
+	    function baseIsEqual(value, other, customizer, bitmask, stack) {
+	      if (value === other) {
+	        return true;
+	      }
+	      if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {
+	        return value !== value && other !== other;
+	      }
+	      return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);
+	    }
+
+	    /**
+	     * A specialized version of `baseIsEqual` for arrays and objects which performs
+	     * deep comparisons and tracks traversed objects enabling objects with circular
+	     * references to be compared.
+	     *
+	     * @private
+	     * @param {Object} object The object to compare.
+	     * @param {Object} other The other object to compare.
+	     * @param {Function} equalFunc The function to determine equivalents of values.
+	     * @param {Function} [customizer] The function to customize comparisons.
+	     * @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`
+	     *  for more details.
+	     * @param {Object} [stack] Tracks traversed `object` and `other` objects.
+	     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+	     */
+	    function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {
+	      var objIsArr = isArray(object),
+	          othIsArr = isArray(other),
+	          objTag = arrayTag,
+	          othTag = arrayTag;
+
+	      if (!objIsArr) {
+	        objTag = getTag(object);
+	        objTag = objTag == argsTag ? objectTag : objTag;
+	      }
+	      if (!othIsArr) {
+	        othTag = getTag(other);
+	        othTag = othTag == argsTag ? objectTag : othTag;
+	      }
+	      var objIsObj = objTag == objectTag && !isHostObject(object),
+	          othIsObj = othTag == objectTag && !isHostObject(other),
+	          isSameTag = objTag == othTag;
+
+	      if (isSameTag && !objIsObj) {
+	        stack || (stack = new Stack);
+	        return (objIsArr || isTypedArray(object))
+	          ? equalArrays(object, other, equalFunc, customizer, bitmask, stack)
+	          : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);
+	      }
+	      if (!(bitmask & PARTIAL_COMPARE_FLAG)) {
+	        var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
+	            othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
+
+	        if (objIsWrapped || othIsWrapped) {
+	          var objUnwrapped = objIsWrapped ? object.value() : object,
+	              othUnwrapped = othIsWrapped ? other.value() : other;
+
+	          stack || (stack = new Stack);
+	          return equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);
+	        }
+	      }
+	      if (!isSameTag) {
+	        return false;
+	      }
+	      stack || (stack = new Stack);
+	      return equalObjects(object, other, equalFunc, customizer, bitmask, stack);
+	    }
+
+	    /**
+	     * The base implementation of `_.isMatch` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Object} object The object to inspect.
+	     * @param {Object} source The object of property values to match.
+	     * @param {Array} matchData The property names, values, and compare flags to match.
+	     * @param {Function} [customizer] The function to customize comparisons.
+	     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
+	     */
+	    function baseIsMatch(object, source, matchData, customizer) {
+	      var index = matchData.length,
+	          length = index,
+	          noCustomizer = !customizer;
+
+	      if (object == null) {
+	        return !length;
+	      }
+	      object = Object(object);
+	      while (index--) {
+	        var data = matchData[index];
+	        if ((noCustomizer && data[2])
+	              ? data[1] !== object[data[0]]
+	              : !(data[0] in object)
+	            ) {
+	          return false;
+	        }
+	      }
+	      while (++index < length) {
+	        data = matchData[index];
+	        var key = data[0],
+	            objValue = object[key],
+	            srcValue = data[1];
+
+	        if (noCustomizer && data[2]) {
+	          if (objValue === undefined && !(key in object)) {
+	            return false;
+	          }
+	        } else {
+	          var stack = new Stack;
+	          if (customizer) {
+	            var result = customizer(objValue, srcValue, key, object, source, stack);
+	          }
+	          if (!(result === undefined
+	                ? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack)
+	                : result
+	              )) {
+	            return false;
+	          }
+	        }
+	      }
+	      return true;
+	    }
+
+	    /**
+	     * The base implementation of `_.iteratee`.
+	     *
+	     * @private
+	     * @param {*} [value=_.identity] The value to convert to an iteratee.
+	     * @returns {Function} Returns the iteratee.
+	     */
+	    function baseIteratee(value) {
+	      // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
+	      // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
+	      if (typeof value == 'function') {
+	        return value;
+	      }
+	      if (value == null) {
+	        return identity;
+	      }
+	      if (typeof value == 'object') {
+	        return isArray(value)
+	          ? baseMatchesProperty(value[0], value[1])
+	          : baseMatches(value);
+	      }
+	      return property(value);
+	    }
+
+	    /**
+	     * The base implementation of `_.keys` which doesn't skip the constructor
+	     * property of prototypes or treat sparse arrays as dense.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property names.
+	     */
+	    function baseKeys(object) {
+	      return nativeKeys(Object(object));
+	    }
+
+	    /**
+	     * The base implementation of `_.keysIn` which doesn't skip the constructor
+	     * property of prototypes or treat sparse arrays as dense.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property names.
+	     */
+	    function baseKeysIn(object) {
+	      object = object == null ? object : Object(object);
+
+	      var result = [];
+	      for (var key in object) {
+	        result.push(key);
+	      }
+	      return result;
+	    }
+
+	    // Fallback for IE < 9 with es6-shim.
+	    if (enumerate && !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf')) {
+	      baseKeysIn = function(object) {
+	        return iteratorToArray(enumerate(object));
+	      };
+	    }
+
+	    /**
+	     * The base implementation of `_.map` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} iteratee The function invoked per iteration.
+	     * @returns {Array} Returns the new mapped array.
+	     */
+	    function baseMap(collection, iteratee) {
+	      var index = -1,
+	          result = isArrayLike(collection) ? Array(collection.length) : [];
+
+	      baseEach(collection, function(value, key, collection) {
+	        result[++index] = iteratee(value, key, collection);
+	      });
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.matches` which doesn't clone `source`.
+	     *
+	     * @private
+	     * @param {Object} source The object of property values to match.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function baseMatches(source) {
+	      var matchData = getMatchData(source);
+	      if (matchData.length == 1 && matchData[0][2]) {
+	        return matchesStrictComparable(matchData[0][0], matchData[0][1]);
+	      }
+	      return function(object) {
+	        return object === source || baseIsMatch(object, source, matchData);
+	      };
+	    }
+
+	    /**
+	     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
+	     *
+	     * @private
+	     * @param {string} path The path of the property to get.
+	     * @param {*} srcValue The value to match.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function baseMatchesProperty(path, srcValue) {
+	      if (isKey(path) && isStrictComparable(srcValue)) {
+	        return matchesStrictComparable(path, srcValue);
+	      }
+	      return function(object) {
+	        var objValue = get(object, path);
+	        return (objValue === undefined && objValue === srcValue)
+	          ? hasIn(object, path)
+	          : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);
+	      };
+	    }
+
+	    /**
+	     * The base implementation of `_.merge` without support for multiple sources.
+	     *
+	     * @private
+	     * @param {Object} object The destination object.
+	     * @param {Object} source The source object.
+	     * @param {number} srcIndex The index of `source`.
+	     * @param {Function} [customizer] The function to customize merged values.
+	     * @param {Object} [stack] Tracks traversed source values and their merged
+	     *  counterparts.
+	     */
+	    function baseMerge(object, source, srcIndex, customizer, stack) {
+	      if (object === source) {
+	        return;
+	      }
+	      if (!(isArray(source) || isTypedArray(source))) {
+	        var props = keysIn(source);
+	      }
+	      arrayEach(props || source, function(srcValue, key) {
+	        if (props) {
+	          key = srcValue;
+	          srcValue = source[key];
+	        }
+	        if (isObject(srcValue)) {
+	          stack || (stack = new Stack);
+	          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
+	        }
+	        else {
+	          var newValue = customizer
+	            ? customizer(object[key], srcValue, (key + ''), object, source, stack)
+	            : undefined;
+
+	          if (newValue === undefined) {
+	            newValue = srcValue;
+	          }
+	          assignMergeValue(object, key, newValue);
+	        }
+	      });
+	    }
+
+	    /**
+	     * A specialized version of `baseMerge` for arrays and objects which performs
+	     * deep merges and tracks traversed objects enabling objects with circular
+	     * references to be merged.
+	     *
+	     * @private
+	     * @param {Object} object The destination object.
+	     * @param {Object} source The source object.
+	     * @param {string} key The key of the value to merge.
+	     * @param {number} srcIndex The index of `source`.
+	     * @param {Function} mergeFunc The function to merge values.
+	     * @param {Function} [customizer] The function to customize assigned values.
+	     * @param {Object} [stack] Tracks traversed source values and their merged
+	     *  counterparts.
+	     */
+	    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
+	      var objValue = object[key],
+	          srcValue = source[key],
+	          stacked = stack.get(srcValue);
+
+	      if (stacked) {
+	        assignMergeValue(object, key, stacked);
+	        return;
+	      }
+	      var newValue = customizer
+	        ? customizer(objValue, srcValue, (key + ''), object, source, stack)
+	        : undefined;
+
+	      var isCommon = newValue === undefined;
+
+	      if (isCommon) {
+	        newValue = srcValue;
+	        if (isArray(srcValue) || isTypedArray(srcValue)) {
+	          if (isArray(objValue)) {
+	            newValue = objValue;
+	          }
+	          else if (isArrayLikeObject(objValue)) {
+	            newValue = copyArray(objValue);
+	          }
+	          else {
+	            isCommon = false;
+	            newValue = baseClone(srcValue, true);
+	          }
+	        }
+	        else if (isPlainObject(srcValue) || isArguments(srcValue)) {
+	          if (isArguments(objValue)) {
+	            newValue = toPlainObject(objValue);
+	          }
+	          else if (!isObject(objValue) || (srcIndex && isFunction(objValue))) {
+	            isCommon = false;
+	            newValue = baseClone(srcValue, true);
+	          }
+	          else {
+	            newValue = objValue;
+	          }
+	        }
+	        else {
+	          isCommon = false;
+	        }
+	      }
+	      stack.set(srcValue, newValue);
+
+	      if (isCommon) {
+	        // Recursively merge objects and arrays (susceptible to call stack limits).
+	        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
+	      }
+	      stack['delete'](srcValue);
+	      assignMergeValue(object, key, newValue);
+	    }
+
+	    /**
+	     * The base implementation of `_.nth` which doesn't coerce `n` to an integer.
+	     *
+	     * @private
+	     * @param {Array} array The array to query.
+	     * @param {number} n The index of the element to return.
+	     * @returns {*} Returns the nth element of `array`.
+	     */
+	    function baseNth(array, n) {
+	      var length = array.length;
+	      if (!length) {
+	        return;
+	      }
+	      n += n < 0 ? length : 0;
+	      return isIndex(n, length) ? array[n] : undefined;
+	    }
+
+	    /**
+	     * The base implementation of `_.orderBy` without param guards.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
+	     * @param {string[]} orders The sort orders of `iteratees`.
+	     * @returns {Array} Returns the new sorted array.
+	     */
+	    function baseOrderBy(collection, iteratees, orders) {
+	      var index = -1;
+	      iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));
+
+	      var result = baseMap(collection, function(value, key, collection) {
+	        var criteria = arrayMap(iteratees, function(iteratee) {
+	          return iteratee(value);
+	        });
+	        return { 'criteria': criteria, 'index': ++index, 'value': value };
+	      });
+
+	      return baseSortBy(result, function(object, other) {
+	        return compareMultiple(object, other, orders);
+	      });
+	    }
+
+	    /**
+	     * The base implementation of `_.pick` without support for individual
+	     * property identifiers.
+	     *
+	     * @private
+	     * @param {Object} object The source object.
+	     * @param {string[]} props The property identifiers to pick.
+	     * @returns {Object} Returns the new object.
+	     */
+	    function basePick(object, props) {
+	      object = Object(object);
+	      return arrayReduce(props, function(result, key) {
+	        if (key in object) {
+	          result[key] = object[key];
+	        }
+	        return result;
+	      }, {});
+	    }
+
+	    /**
+	     * The base implementation of  `_.pickBy` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Object} object The source object.
+	     * @param {Function} predicate The function invoked per property.
+	     * @returns {Object} Returns the new object.
+	     */
+	    function basePickBy(object, predicate) {
+	      var index = -1,
+	          props = getAllKeysIn(object),
+	          length = props.length,
+	          result = {};
+
+	      while (++index < length) {
+	        var key = props[index],
+	            value = object[key];
+
+	        if (predicate(value, key)) {
+	          result[key] = value;
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.property` without support for deep paths.
+	     *
+	     * @private
+	     * @param {string} key The key of the property to get.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function baseProperty(key) {
+	      return function(object) {
+	        return object == null ? undefined : object[key];
+	      };
+	    }
+
+	    /**
+	     * A specialized version of `baseProperty` which supports deep paths.
+	     *
+	     * @private
+	     * @param {Array|string} path The path of the property to get.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function basePropertyDeep(path) {
+	      return function(object) {
+	        return baseGet(object, path);
+	      };
+	    }
+
+	    /**
+	     * The base implementation of `_.pullAllBy` without support for iteratee
+	     * shorthands.
+	     *
+	     * @private
+	     * @param {Array} array The array to modify.
+	     * @param {Array} values The values to remove.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns `array`.
+	     */
+	    function basePullAll(array, values, iteratee, comparator) {
+	      var indexOf = comparator ? baseIndexOfWith : baseIndexOf,
+	          index = -1,
+	          length = values.length,
+	          seen = array;
+
+	      if (iteratee) {
+	        seen = arrayMap(array, baseUnary(iteratee));
+	      }
+	      while (++index < length) {
+	        var fromIndex = 0,
+	            value = values[index],
+	            computed = iteratee ? iteratee(value) : value;
+
+	        while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {
+	          if (seen !== array) {
+	            splice.call(seen, fromIndex, 1);
+	          }
+	          splice.call(array, fromIndex, 1);
+	        }
+	      }
+	      return array;
+	    }
+
+	    /**
+	     * The base implementation of `_.pullAt` without support for individual
+	     * indexes or capturing the removed elements.
+	     *
+	     * @private
+	     * @param {Array} array The array to modify.
+	     * @param {number[]} indexes The indexes of elements to remove.
+	     * @returns {Array} Returns `array`.
+	     */
+	    function basePullAt(array, indexes) {
+	      var length = array ? indexes.length : 0,
+	          lastIndex = length - 1;
+
+	      while (length--) {
+	        var index = indexes[length];
+	        if (lastIndex == length || index != previous) {
+	          var previous = index;
+	          if (isIndex(index)) {
+	            splice.call(array, index, 1);
+	          }
+	          else if (!isKey(index, array)) {
+	            var path = castPath(index),
+	                object = parent(array, path);
+
+	            if (object != null) {
+	              delete object[last(path)];
+	            }
+	          }
+	          else {
+	            delete array[index];
+	          }
+	        }
+	      }
+	      return array;
+	    }
+
+	    /**
+	     * The base implementation of `_.random` without support for returning
+	     * floating-point numbers.
+	     *
+	     * @private
+	     * @param {number} lower The lower bound.
+	     * @param {number} upper The upper bound.
+	     * @returns {number} Returns the random number.
+	     */
+	    function baseRandom(lower, upper) {
+	      return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
+	    }
+
+	    /**
+	     * The base implementation of `_.range` and `_.rangeRight` which doesn't
+	     * coerce arguments to numbers.
+	     *
+	     * @private
+	     * @param {number} start The start of the range.
+	     * @param {number} end The end of the range.
+	     * @param {number} step The value to increment or decrement by.
+	     * @param {boolean} [fromRight] Specify iterating from right to left.
+	     * @returns {Array} Returns the new array of numbers.
+	     */
+	    function baseRange(start, end, step, fromRight) {
+	      var index = -1,
+	          length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
+	          result = Array(length);
+
+	      while (length--) {
+	        result[fromRight ? length : ++index] = start;
+	        start += step;
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.repeat` which doesn't coerce arguments.
+	     *
+	     * @private
+	     * @param {string} string The string to repeat.
+	     * @param {number} n The number of times to repeat the string.
+	     * @returns {string} Returns the repeated string.
+	     */
+	    function baseRepeat(string, n) {
+	      var result = '';
+	      if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
+	        return result;
+	      }
+	      // Leverage the exponentiation by squaring algorithm for a faster repeat.
+	      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
+	      do {
+	        if (n % 2) {
+	          result += string;
+	        }
+	        n = nativeFloor(n / 2);
+	        if (n) {
+	          string += string;
+	        }
+	      } while (n);
+
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.set`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the property to set.
+	     * @param {*} value The value to set.
+	     * @param {Function} [customizer] The function to customize path creation.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function baseSet(object, path, value, customizer) {
+	      path = isKey(path, object) ? [path] : castPath(path);
+
+	      var index = -1,
+	          length = path.length,
+	          lastIndex = length - 1,
+	          nested = object;
+
+	      while (nested != null && ++index < length) {
+	        var key = path[index];
+	        if (isObject(nested)) {
+	          var newValue = value;
+	          if (index != lastIndex) {
+	            var objValue = nested[key];
+	            newValue = customizer ? customizer(objValue, key, nested) : undefined;
+	            if (newValue === undefined) {
+	              newValue = objValue == null
+	                ? (isIndex(path[index + 1]) ? [] : {})
+	                : objValue;
+	            }
+	          }
+	          assignValue(nested, key, newValue);
+	        }
+	        nested = nested[key];
+	      }
+	      return object;
+	    }
+
+	    /**
+	     * The base implementation of `setData` without support for hot loop detection.
+	     *
+	     * @private
+	     * @param {Function} func The function to associate metadata with.
+	     * @param {*} data The metadata.
+	     * @returns {Function} Returns `func`.
+	     */
+	    var baseSetData = !metaMap ? identity : function(func, data) {
+	      metaMap.set(func, data);
+	      return func;
+	    };
+
+	    /**
+	     * The base implementation of `_.slice` without an iteratee call guard.
+	     *
+	     * @private
+	     * @param {Array} array The array to slice.
+	     * @param {number} [start=0] The start position.
+	     * @param {number} [end=array.length] The end position.
+	     * @returns {Array} Returns the slice of `array`.
+	     */
+	    function baseSlice(array, start, end) {
+	      var index = -1,
+	          length = array.length;
+
+	      if (start < 0) {
+	        start = -start > length ? 0 : (length + start);
+	      }
+	      end = end > length ? length : end;
+	      if (end < 0) {
+	        end += length;
+	      }
+	      length = start > end ? 0 : ((end - start) >>> 0);
+	      start >>>= 0;
+
+	      var result = Array(length);
+	      while (++index < length) {
+	        result[index] = array[index + start];
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.some` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} predicate The function invoked per iteration.
+	     * @returns {boolean} Returns `true` if any element passes the predicate check,
+	     *  else `false`.
+	     */
+	    function baseSome(collection, predicate) {
+	      var result;
+
+	      baseEach(collection, function(value, index, collection) {
+	        result = predicate(value, index, collection);
+	        return !result;
+	      });
+	      return !!result;
+	    }
+
+	    /**
+	     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which
+	     * performs a binary search of `array` to determine the index at which `value`
+	     * should be inserted into `array` in order to maintain its sort order.
+	     *
+	     * @private
+	     * @param {Array} array The sorted array to inspect.
+	     * @param {*} value The value to evaluate.
+	     * @param {boolean} [retHighest] Specify returning the highest qualified index.
+	     * @returns {number} Returns the index at which `value` should be inserted
+	     *  into `array`.
+	     */
+	    function baseSortedIndex(array, value, retHighest) {
+	      var low = 0,
+	          high = array ? array.length : low;
+
+	      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
+	        while (low < high) {
+	          var mid = (low + high) >>> 1,
+	              computed = array[mid];
+
+	          if ((retHighest ? (computed <= value) : (computed < value)) && computed !== null) {
+	            low = mid + 1;
+	          } else {
+	            high = mid;
+	          }
+	        }
+	        return high;
+	      }
+	      return baseSortedIndexBy(array, value, identity, retHighest);
+	    }
+
+	    /**
+	     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`
+	     * which invokes `iteratee` for `value` and each element of `array` to compute
+	     * their sort ranking. The iteratee is invoked with one argument; (value).
+	     *
+	     * @private
+	     * @param {Array} array The sorted array to inspect.
+	     * @param {*} value The value to evaluate.
+	     * @param {Function} iteratee The iteratee invoked per element.
+	     * @param {boolean} [retHighest] Specify returning the highest qualified index.
+	     * @returns {number} Returns the index at which `value` should be inserted
+	     *  into `array`.
+	     */
+	    function baseSortedIndexBy(array, value, iteratee, retHighest) {
+	      value = iteratee(value);
+
+	      var low = 0,
+	          high = array ? array.length : 0,
+	          valIsNaN = value !== value,
+	          valIsNull = value === null,
+	          valIsUndef = value === undefined;
+
+	      while (low < high) {
+	        var mid = nativeFloor((low + high) / 2),
+	            computed = iteratee(array[mid]),
+	            isDef = computed !== undefined,
+	            isReflexive = computed === computed;
+
+	        if (valIsNaN) {
+	          var setLow = isReflexive || retHighest;
+	        } else if (valIsNull) {
+	          setLow = isReflexive && isDef && (retHighest || computed != null);
+	        } else if (valIsUndef) {
+	          setLow = isReflexive && (retHighest || isDef);
+	        } else if (computed == null) {
+	          setLow = false;
+	        } else {
+	          setLow = retHighest ? (computed <= value) : (computed < value);
+	        }
+	        if (setLow) {
+	          low = mid + 1;
+	        } else {
+	          high = mid;
+	        }
+	      }
+	      return nativeMin(high, MAX_ARRAY_INDEX);
+	    }
+
+	    /**
+	     * The base implementation of `_.sortedUniq`.
+	     *
+	     * @private
+	     * @param {Array} array The array to inspect.
+	     * @returns {Array} Returns the new duplicate free array.
+	     */
+	    function baseSortedUniq(array) {
+	      return baseSortedUniqBy(array);
+	    }
+
+	    /**
+	     * The base implementation of `_.sortedUniqBy` without support for iteratee
+	     * shorthands.
+	     *
+	     * @private
+	     * @param {Array} array The array to inspect.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @returns {Array} Returns the new duplicate free array.
+	     */
+	    function baseSortedUniqBy(array, iteratee) {
+	      var index = 0,
+	          length = array.length,
+	          value = array[0],
+	          computed = iteratee ? iteratee(value) : value,
+	          seen = computed,
+	          resIndex = 1,
+	          result = [value];
+
+	      while (++index < length) {
+	        value = array[index],
+	        computed = iteratee ? iteratee(value) : value;
+
+	        if (!eq(computed, seen)) {
+	          seen = computed;
+	          result[resIndex++] = value;
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.uniqBy` without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array} array The array to inspect.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new duplicate free array.
+	     */
+	    function baseUniq(array, iteratee, comparator) {
+	      var index = -1,
+	          includes = arrayIncludes,
+	          length = array.length,
+	          isCommon = true,
+	          result = [],
+	          seen = result;
+
+	      if (comparator) {
+	        isCommon = false;
+	        includes = arrayIncludesWith;
+	      }
+	      else if (length >= LARGE_ARRAY_SIZE) {
+	        var set = iteratee ? null : createSet(array);
+	        if (set) {
+	          return setToArray(set);
+	        }
+	        isCommon = false;
+	        includes = cacheHas;
+	        seen = new SetCache;
+	      }
+	      else {
+	        seen = iteratee ? [] : result;
+	      }
+	      outer:
+	      while (++index < length) {
+	        var value = array[index],
+	            computed = iteratee ? iteratee(value) : value;
+
+	        if (isCommon && computed === computed) {
+	          var seenIndex = seen.length;
+	          while (seenIndex--) {
+	            if (seen[seenIndex] === computed) {
+	              continue outer;
+	            }
+	          }
+	          if (iteratee) {
+	            seen.push(computed);
+	          }
+	          result.push(value);
+	        }
+	        else if (!includes(seen, computed, comparator)) {
+	          if (seen !== result) {
+	            seen.push(computed);
+	          }
+	          result.push(value);
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The base implementation of `_.unset`.
+	     *
+	     * @private
+	     * @param {Object} object The object to modify.
+	     * @param {Array|string} path The path of the property to unset.
+	     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
+	     */
+	    function baseUnset(object, path) {
+	      path = isKey(path, object) ? [path] : castPath(path);
+	      object = parent(object, path);
+	      var key = last(path);
+	      return (object != null && has(object, key)) ? delete object[key] : true;
+	    }
+
+	    /**
+	     * The base implementation of `_.update`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the property to update.
+	     * @param {Function} updater The function to produce the updated value.
+	     * @param {Function} [customizer] The function to customize path creation.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function baseUpdate(object, path, updater, customizer) {
+	      return baseSet(object, path, updater(baseGet(object, path)), customizer);
+	    }
+
+	    /**
+	     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`
+	     * without support for iteratee shorthands.
+	     *
+	     * @private
+	     * @param {Array} array The array to query.
+	     * @param {Function} predicate The function invoked per iteration.
+	     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
+	     * @param {boolean} [fromRight] Specify iterating from right to left.
+	     * @returns {Array} Returns the slice of `array`.
+	     */
+	    function baseWhile(array, predicate, isDrop, fromRight) {
+	      var length = array.length,
+	          index = fromRight ? length : -1;
+
+	      while ((fromRight ? index-- : ++index < length) &&
+	        predicate(array[index], index, array)) {}
+
+	      return isDrop
+	        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
+	        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
+	    }
+
+	    /**
+	     * The base implementation of `wrapperValue` which returns the result of
+	     * performing a sequence of actions on the unwrapped `value`, where each
+	     * successive action is supplied the return value of the previous.
+	     *
+	     * @private
+	     * @param {*} value The unwrapped value.
+	     * @param {Array} actions Actions to perform to resolve the unwrapped value.
+	     * @returns {*} Returns the resolved value.
+	     */
+	    function baseWrapperValue(value, actions) {
+	      var result = value;
+	      if (result instanceof LazyWrapper) {
+	        result = result.value();
+	      }
+	      return arrayReduce(actions, function(result, action) {
+	        return action.func.apply(action.thisArg, arrayPush([result], action.args));
+	      }, result);
+	    }
+
+	    /**
+	     * The base implementation of methods like `_.xor`, without support for
+	     * iteratee shorthands, that accepts an array of arrays to inspect.
+	     *
+	     * @private
+	     * @param {Array} arrays The arrays to inspect.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of values.
+	     */
+	    function baseXor(arrays, iteratee, comparator) {
+	      var index = -1,
+	          length = arrays.length;
+
+	      while (++index < length) {
+	        var result = result
+	          ? arrayPush(
+	              baseDifference(result, arrays[index], iteratee, comparator),
+	              baseDifference(arrays[index], result, iteratee, comparator)
+	            )
+	          : arrays[index];
+	      }
+	      return (result && result.length) ? baseUniq(result, iteratee, comparator) : [];
+	    }
+
+	    /**
+	     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
+	     *
+	     * @private
+	     * @param {Array} props The property identifiers.
+	     * @param {Array} values The property values.
+	     * @param {Function} assignFunc The function to assign values.
+	     * @returns {Object} Returns the new object.
+	     */
+	    function baseZipObject(props, values, assignFunc) {
+	      var index = -1,
+	          length = props.length,
+	          valsLength = values.length,
+	          result = {};
+
+	      while (++index < length) {
+	        var value = index < valsLength ? values[index] : undefined;
+	        assignFunc(result, props[index], value);
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Casts `value` to an empty array if it's not an array like object.
+	     *
+	     * @private
+	     * @param {*} value The value to inspect.
+	     * @returns {Array|Object} Returns the cast array-like object.
+	     */
+	    function castArrayLikeObject(value) {
+	      return isArrayLikeObject(value) ? value : [];
+	    }
+
+	    /**
+	     * Casts `value` to `identity` if it's not a function.
+	     *
+	     * @private
+	     * @param {*} value The value to inspect.
+	     * @returns {Function} Returns cast function.
+	     */
+	    function castFunction(value) {
+	      return typeof value == 'function' ? value : identity;
+	    }
+
+	    /**
+	     * Casts `value` to a path array if it's not one.
+	     *
+	     * @private
+	     * @param {*} value The value to inspect.
+	     * @returns {Array} Returns the cast property path array.
+	     */
+	    function castPath(value) {
+	      return isArray(value) ? value : stringToPath(value);
+	    }
+
+	    /**
+	     * Casts `array` to a slice if it's needed.
+	     *
+	     * @private
+	     * @param {Array} array The array to inspect.
+	     * @param {number} start The start position.
+	     * @param {number} [end=array.length] The end position.
+	     * @returns {Array} Returns the cast slice.
+	     */
+	    function castSlice(array, start, end) {
+	      var length = array.length;
+	      end = end === undefined ? length : end;
+	      return (!start && end >= length) ? array : baseSlice(array, start, end);
+	    }
+
+	    /**
+	     * Creates a clone of  `buffer`.
+	     *
+	     * @private
+	     * @param {Buffer} buffer The buffer to clone.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @returns {Buffer} Returns the cloned buffer.
+	     */
+	    function cloneBuffer(buffer, isDeep) {
+	      if (isDeep) {
+	        return buffer.slice();
+	      }
+	      var result = new buffer.constructor(buffer.length);
+	      buffer.copy(result);
+	      return result;
+	    }
+
+	    /**
+	     * Creates a clone of `arrayBuffer`.
+	     *
+	     * @private
+	     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
+	     * @returns {ArrayBuffer} Returns the cloned array buffer.
+	     */
+	    function cloneArrayBuffer(arrayBuffer) {
+	      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
+	      new Uint8Array(result).set(new Uint8Array(arrayBuffer));
+	      return result;
+	    }
+
+	    /**
+	     * Creates a clone of `dataView`.
+	     *
+	     * @private
+	     * @param {Object} dataView The data view to clone.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @returns {Object} Returns the cloned data view.
+	     */
+	    function cloneDataView(dataView, isDeep) {
+	      var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
+	      return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
+	    }
+
+	    /**
+	     * Creates a clone of `map`.
+	     *
+	     * @private
+	     * @param {Object} map The map to clone.
+	     * @param {Function} cloneFunc The function to clone values.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @returns {Object} Returns the cloned map.
+	     */
+	    function cloneMap(map, isDeep, cloneFunc) {
+	      var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
+	      return arrayReduce(array, addMapEntry, new map.constructor);
+	    }
+
+	    /**
+	     * Creates a clone of `regexp`.
+	     *
+	     * @private
+	     * @param {Object} regexp The regexp to clone.
+	     * @returns {Object} Returns the cloned regexp.
+	     */
+	    function cloneRegExp(regexp) {
+	      var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
+	      result.lastIndex = regexp.lastIndex;
+	      return result;
+	    }
+
+	    /**
+	     * Creates a clone of `set`.
+	     *
+	     * @private
+	     * @param {Object} set The set to clone.
+	     * @param {Function} cloneFunc The function to clone values.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @returns {Object} Returns the cloned set.
+	     */
+	    function cloneSet(set, isDeep, cloneFunc) {
+	      var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
+	      return arrayReduce(array, addSetEntry, new set.constructor);
+	    }
+
+	    /**
+	     * Creates a clone of the `symbol` object.
+	     *
+	     * @private
+	     * @param {Object} symbol The symbol object to clone.
+	     * @returns {Object} Returns the cloned symbol object.
+	     */
+	    function cloneSymbol(symbol) {
+	      return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
+	    }
+
+	    /**
+	     * Creates a clone of `typedArray`.
+	     *
+	     * @private
+	     * @param {Object} typedArray The typed array to clone.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @returns {Object} Returns the cloned typed array.
+	     */
+	    function cloneTypedArray(typedArray, isDeep) {
+	      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
+	      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
+	    }
+
+	    /**
+	     * Creates an array that is the composition of partially applied arguments,
+	     * placeholders, and provided arguments into a single array of arguments.
+	     *
+	     * @private
+	     * @param {Array|Object} args The provided arguments.
+	     * @param {Array} partials The arguments to prepend to those provided.
+	     * @param {Array} holders The `partials` placeholder indexes.
+	     * @params {boolean} [isCurried] Specify composing for a curried function.
+	     * @returns {Array} Returns the new array of composed arguments.
+	     */
+	    function composeArgs(args, partials, holders, isCurried) {
+	      var argsIndex = -1,
+	          argsLength = args.length,
+	          holdersLength = holders.length,
+	          leftIndex = -1,
+	          leftLength = partials.length,
+	          rangeLength = nativeMax(argsLength - holdersLength, 0),
+	          result = Array(leftLength + rangeLength),
+	          isUncurried = !isCurried;
+
+	      while (++leftIndex < leftLength) {
+	        result[leftIndex] = partials[leftIndex];
+	      }
+	      while (++argsIndex < holdersLength) {
+	        if (isUncurried || argsIndex < argsLength) {
+	          result[holders[argsIndex]] = args[argsIndex];
+	        }
+	      }
+	      while (rangeLength--) {
+	        result[leftIndex++] = args[argsIndex++];
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * This function is like `composeArgs` except that the arguments composition
+	     * is tailored for `_.partialRight`.
+	     *
+	     * @private
+	     * @param {Array|Object} args The provided arguments.
+	     * @param {Array} partials The arguments to append to those provided.
+	     * @param {Array} holders The `partials` placeholder indexes.
+	     * @params {boolean} [isCurried] Specify composing for a curried function.
+	     * @returns {Array} Returns the new array of composed arguments.
+	     */
+	    function composeArgsRight(args, partials, holders, isCurried) {
+	      var argsIndex = -1,
+	          argsLength = args.length,
+	          holdersIndex = -1,
+	          holdersLength = holders.length,
+	          rightIndex = -1,
+	          rightLength = partials.length,
+	          rangeLength = nativeMax(argsLength - holdersLength, 0),
+	          result = Array(rangeLength + rightLength),
+	          isUncurried = !isCurried;
+
+	      while (++argsIndex < rangeLength) {
+	        result[argsIndex] = args[argsIndex];
+	      }
+	      var offset = argsIndex;
+	      while (++rightIndex < rightLength) {
+	        result[offset + rightIndex] = partials[rightIndex];
+	      }
+	      while (++holdersIndex < holdersLength) {
+	        if (isUncurried || argsIndex < argsLength) {
+	          result[offset + holders[holdersIndex]] = args[argsIndex++];
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Copies the values of `source` to `array`.
+	     *
+	     * @private
+	     * @param {Array} source The array to copy values from.
+	     * @param {Array} [array=[]] The array to copy values to.
+	     * @returns {Array} Returns `array`.
+	     */
+	    function copyArray(source, array) {
+	      var index = -1,
+	          length = source.length;
+
+	      array || (array = Array(length));
+	      while (++index < length) {
+	        array[index] = source[index];
+	      }
+	      return array;
+	    }
+
+	    /**
+	     * Copies properties of `source` to `object`.
+	     *
+	     * @private
+	     * @param {Object} source The object to copy properties from.
+	     * @param {Array} props The property identifiers to copy.
+	     * @param {Object} [object={}] The object to copy properties to.
+	     * @param {Function} [customizer] The function to customize copied values.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function copyObject(source, props, object, customizer) {
+	      object || (object = {});
+
+	      var index = -1,
+	          length = props.length;
+
+	      while (++index < length) {
+	        var key = props[index];
+
+	        var newValue = customizer
+	          ? customizer(object[key], source[key], key, object, source)
+	          : source[key];
+
+	        assignValue(object, key, newValue);
+	      }
+	      return object;
+	    }
+
+	    /**
+	     * Copies own symbol properties of `source` to `object`.
+	     *
+	     * @private
+	     * @param {Object} source The object to copy symbols from.
+	     * @param {Object} [object={}] The object to copy symbols to.
+	     * @returns {Object} Returns `object`.
+	     */
+	    function copySymbols(source, object) {
+	      return copyObject(source, getSymbols(source), object);
+	    }
+
+	    /**
+	     * Creates a function like `_.groupBy`.
+	     *
+	     * @private
+	     * @param {Function} setter The function to set accumulator values.
+	     * @param {Function} [initializer] The accumulator object initializer.
+	     * @returns {Function} Returns the new aggregator function.
+	     */
+	    function createAggregator(setter, initializer) {
+	      return function(collection, iteratee) {
+	        var func = isArray(collection) ? arrayAggregator : baseAggregator,
+	            accumulator = initializer ? initializer() : {};
+
+	        return func(collection, setter, getIteratee(iteratee), accumulator);
+	      };
+	    }
+
+	    /**
+	     * Creates a function like `_.assign`.
+	     *
+	     * @private
+	     * @param {Function} assigner The function to assign values.
+	     * @returns {Function} Returns the new assigner function.
+	     */
+	    function createAssigner(assigner) {
+	      return rest(function(object, sources) {
+	        var index = -1,
+	            length = sources.length,
+	            customizer = length > 1 ? sources[length - 1] : undefined,
+	            guard = length > 2 ? sources[2] : undefined;
+
+	        customizer = typeof customizer == 'function'
+	          ? (length--, customizer)
+	          : undefined;
+
+	        if (guard && isIterateeCall(sources[0], sources[1], guard)) {
+	          customizer = length < 3 ? undefined : customizer;
+	          length = 1;
+	        }
+	        object = Object(object);
+	        while (++index < length) {
+	          var source = sources[index];
+	          if (source) {
+	            assigner(object, source, index, customizer);
+	          }
+	        }
+	        return object;
+	      });
+	    }
+
+	    /**
+	     * Creates a `baseEach` or `baseEachRight` function.
+	     *
+	     * @private
+	     * @param {Function} eachFunc The function to iterate over a collection.
+	     * @param {boolean} [fromRight] Specify iterating from right to left.
+	     * @returns {Function} Returns the new base function.
+	     */
+	    function createBaseEach(eachFunc, fromRight) {
+	      return function(collection, iteratee) {
+	        if (collection == null) {
+	          return collection;
+	        }
+	        if (!isArrayLike(collection)) {
+	          return eachFunc(collection, iteratee);
+	        }
+	        var length = collection.length,
+	            index = fromRight ? length : -1,
+	            iterable = Object(collection);
+
+	        while ((fromRight ? index-- : ++index < length)) {
+	          if (iteratee(iterable[index], index, iterable) === false) {
+	            break;
+	          }
+	        }
+	        return collection;
+	      };
+	    }
+
+	    /**
+	     * Creates a base function for methods like `_.forIn` and `_.forOwn`.
+	     *
+	     * @private
+	     * @param {boolean} [fromRight] Specify iterating from right to left.
+	     * @returns {Function} Returns the new base function.
+	     */
+	    function createBaseFor(fromRight) {
+	      return function(object, iteratee, keysFunc) {
+	        var index = -1,
+	            iterable = Object(object),
+	            props = keysFunc(object),
+	            length = props.length;
+
+	        while (length--) {
+	          var key = props[fromRight ? length : ++index];
+	          if (iteratee(iterable[key], key, iterable) === false) {
+	            break;
+	          }
+	        }
+	        return object;
+	      };
+	    }
+
+	    /**
+	     * Creates a function that wraps `func` to invoke it with the optional `this`
+	     * binding of `thisArg`.
+	     *
+	     * @private
+	     * @param {Function} func The function to wrap.
+	     * @param {number} bitmask The bitmask of wrapper flags. See `createWrapper`
+	     *  for more details.
+	     * @param {*} [thisArg] The `this` binding of `func`.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createBaseWrapper(func, bitmask, thisArg) {
+	      var isBind = bitmask & BIND_FLAG,
+	          Ctor = createCtorWrapper(func);
+
+	      function wrapper() {
+	        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
+	        return fn.apply(isBind ? thisArg : this, arguments);
+	      }
+	      return wrapper;
+	    }
+
+	    /**
+	     * Creates a function like `_.lowerFirst`.
+	     *
+	     * @private
+	     * @param {string} methodName The name of the `String` case method to use.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function createCaseFirst(methodName) {
+	      return function(string) {
+	        string = toString(string);
+
+	        var strSymbols = reHasComplexSymbol.test(string)
+	          ? stringToArray(string)
+	          : undefined;
+
+	        var chr = strSymbols
+	          ? strSymbols[0]
+	          : string.charAt(0);
+
+	        var trailing = strSymbols
+	          ? castSlice(strSymbols, 1).join('')
+	          : string.slice(1);
+
+	        return chr[methodName]() + trailing;
+	      };
+	    }
+
+	    /**
+	     * Creates a function like `_.camelCase`.
+	     *
+	     * @private
+	     * @param {Function} callback The function to combine each word.
+	     * @returns {Function} Returns the new compounder function.
+	     */
+	    function createCompounder(callback) {
+	      return function(string) {
+	        return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
+	      };
+	    }
+
+	    /**
+	     * Creates a function that produces an instance of `Ctor` regardless of
+	     * whether it was invoked as part of a `new` expression or by `call` or `apply`.
+	     *
+	     * @private
+	     * @param {Function} Ctor The constructor to wrap.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createCtorWrapper(Ctor) {
+	      return function() {
+	        // Use a `switch` statement to work with class constructors. See
+	        // http://ecma-international.org/ecma-262/6.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
+	        // for more details.
+	        var args = arguments;
+	        switch (args.length) {
+	          case 0: return new Ctor;
+	          case 1: return new Ctor(args[0]);
+	          case 2: return new Ctor(args[0], args[1]);
+	          case 3: return new Ctor(args[0], args[1], args[2]);
+	          case 4: return new Ctor(args[0], args[1], args[2], args[3]);
+	          case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
+	          case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
+	          case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
+	        }
+	        var thisBinding = baseCreate(Ctor.prototype),
+	            result = Ctor.apply(thisBinding, args);
+
+	        // Mimic the constructor's `return` behavior.
+	        // See https://es5.github.io/#x13.2.2 for more details.
+	        return isObject(result) ? result : thisBinding;
+	      };
+	    }
+
+	    /**
+	     * Creates a function that wraps `func` to enable currying.
+	     *
+	     * @private
+	     * @param {Function} func The function to wrap.
+	     * @param {number} bitmask The bitmask of wrapper flags. See `createWrapper`
+	     *  for more details.
+	     * @param {number} arity The arity of `func`.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createCurryWrapper(func, bitmask, arity) {
+	      var Ctor = createCtorWrapper(func);
+
+	      function wrapper() {
+	        var length = arguments.length,
+	            args = Array(length),
+	            index = length,
+	            placeholder = getPlaceholder(wrapper);
+
+	        while (index--) {
+	          args[index] = arguments[index];
+	        }
+	        var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)
+	          ? []
+	          : replaceHolders(args, placeholder);
+
+	        length -= holders.length;
+	        if (length < arity) {
+	          return createRecurryWrapper(
+	            func, bitmask, createHybridWrapper, wrapper.placeholder, undefined,
+	            args, holders, undefined, undefined, arity - length);
+	        }
+	        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
+	        return apply(fn, this, args);
+	      }
+	      return wrapper;
+	    }
+
+	    /**
+	     * Creates a `_.flow` or `_.flowRight` function.
+	     *
+	     * @private
+	     * @param {boolean} [fromRight] Specify iterating from right to left.
+	     * @returns {Function} Returns the new flow function.
+	     */
+	    function createFlow(fromRight) {
+	      return rest(function(funcs) {
+	        funcs = baseFlatten(funcs, 1);
+
+	        var length = funcs.length,
+	            index = length,
+	            prereq = LodashWrapper.prototype.thru;
+
+	        if (fromRight) {
+	          funcs.reverse();
+	        }
+	        while (index--) {
+	          var func = funcs[index];
+	          if (typeof func != 'function') {
+	            throw new TypeError(FUNC_ERROR_TEXT);
+	          }
+	          if (prereq && !wrapper && getFuncName(func) == 'wrapper') {
+	            var wrapper = new LodashWrapper([], true);
+	          }
+	        }
+	        index = wrapper ? index : length;
+	        while (++index < length) {
+	          func = funcs[index];
+
+	          var funcName = getFuncName(func),
+	              data = funcName == 'wrapper' ? getData(func) : undefined;
+
+	          if (data && isLaziable(data[0]) &&
+	                data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) &&
+	                !data[4].length && data[9] == 1
+	              ) {
+	            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);
+	          } else {
+	            wrapper = (func.length == 1 && isLaziable(func))
+	              ? wrapper[funcName]()
+	              : wrapper.thru(func);
+	          }
+	        }
+	        return function() {
+	          var args = arguments,
+	              value = args[0];
+
+	          if (wrapper && args.length == 1 &&
+	              isArray(value) && value.length >= LARGE_ARRAY_SIZE) {
+	            return wrapper.plant(value).value();
+	          }
+	          var index = 0,
+	              result = length ? funcs[index].apply(this, args) : value;
+
+	          while (++index < length) {
+	            result = funcs[index].call(this, result);
+	          }
+	          return result;
+	        };
+	      });
+	    }
+
+	    /**
+	     * Creates a function that wraps `func` to invoke it with optional `this`
+	     * binding of `thisArg`, partial application, and currying.
+	     *
+	     * @private
+	     * @param {Function|string} func The function or method name to wrap.
+	     * @param {number} bitmask The bitmask of wrapper flags. See `createWrapper`
+	     *  for more details.
+	     * @param {*} [thisArg] The `this` binding of `func`.
+	     * @param {Array} [partials] The arguments to prepend to those provided to
+	     *  the new function.
+	     * @param {Array} [holders] The `partials` placeholder indexes.
+	     * @param {Array} [partialsRight] The arguments to append to those provided
+	     *  to the new function.
+	     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
+	     * @param {Array} [argPos] The argument positions of the new function.
+	     * @param {number} [ary] The arity cap of `func`.
+	     * @param {number} [arity] The arity of `func`.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
+	      var isAry = bitmask & ARY_FLAG,
+	          isBind = bitmask & BIND_FLAG,
+	          isBindKey = bitmask & BIND_KEY_FLAG,
+	          isCurried = bitmask & (CURRY_FLAG | CURRY_RIGHT_FLAG),
+	          isFlip = bitmask & FLIP_FLAG,
+	          Ctor = isBindKey ? undefined : createCtorWrapper(func);
+
+	      function wrapper() {
+	        var length = arguments.length,
+	            index = length,
+	            args = Array(length);
+
+	        while (index--) {
+	          args[index] = arguments[index];
+	        }
+	        if (isCurried) {
+	          var placeholder = getPlaceholder(wrapper),
+	              holdersCount = countHolders(args, placeholder);
+	        }
+	        if (partials) {
+	          args = composeArgs(args, partials, holders, isCurried);
+	        }
+	        if (partialsRight) {
+	          args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
+	        }
+	        length -= holdersCount;
+	        if (isCurried && length < arity) {
+	          var newHolders = replaceHolders(args, placeholder);
+	          return createRecurryWrapper(
+	            func, bitmask, createHybridWrapper, wrapper.placeholder, thisArg,
+	            args, newHolders, argPos, ary, arity - length
+	          );
+	        }
+	        var thisBinding = isBind ? thisArg : this,
+	            fn = isBindKey ? thisBinding[func] : func;
+
+	        length = args.length;
+	        if (argPos) {
+	          args = reorder(args, argPos);
+	        } else if (isFlip && length > 1) {
+	          args.reverse();
+	        }
+	        if (isAry && ary < length) {
+	          args.length = ary;
+	        }
+	        if (this && this !== root && this instanceof wrapper) {
+	          fn = Ctor || createCtorWrapper(fn);
+	        }
+	        return fn.apply(thisBinding, args);
+	      }
+	      return wrapper;
+	    }
+
+	    /**
+	     * Creates a function like `_.invertBy`.
+	     *
+	     * @private
+	     * @param {Function} setter The function to set accumulator values.
+	     * @param {Function} toIteratee The function to resolve iteratees.
+	     * @returns {Function} Returns the new inverter function.
+	     */
+	    function createInverter(setter, toIteratee) {
+	      return function(object, iteratee) {
+	        return baseInverter(object, setter, toIteratee(iteratee), {});
+	      };
+	    }
+
+	    /**
+	     * Creates a function like `_.over`.
+	     *
+	     * @private
+	     * @param {Function} arrayFunc The function to iterate over iteratees.
+	     * @returns {Function} Returns the new invoker function.
+	     */
+	    function createOver(arrayFunc) {
+	      return rest(function(iteratees) {
+	        iteratees = (iteratees.length == 1 && isArray(iteratees[0]))
+	          ? arrayMap(iteratees[0], baseUnary(getIteratee()))
+	          : arrayMap(baseFlatten(iteratees, 1, isFlattenableIteratee), baseUnary(getIteratee()));
+
+	        return rest(function(args) {
+	          var thisArg = this;
+	          return arrayFunc(iteratees, function(iteratee) {
+	            return apply(iteratee, thisArg, args);
+	          });
+	        });
+	      });
+	    }
+
+	    /**
+	     * Creates the padding for `string` based on `length`. The `chars` string
+	     * is truncated if the number of characters exceeds `length`.
+	     *
+	     * @private
+	     * @param {number} length The padding length.
+	     * @param {string} [chars=' '] The string used as padding.
+	     * @returns {string} Returns the padding for `string`.
+	     */
+	    function createPadding(length, chars) {
+	      chars = chars === undefined ? ' ' : (chars + '');
+
+	      var charsLength = chars.length;
+	      if (charsLength < 2) {
+	        return charsLength ? baseRepeat(chars, length) : chars;
+	      }
+	      var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
+	      return reHasComplexSymbol.test(chars)
+	        ? castSlice(stringToArray(result), 0, length).join('')
+	        : result.slice(0, length);
+	    }
+
+	    /**
+	     * Creates a function that wraps `func` to invoke it with the `this` binding
+	     * of `thisArg` and `partials` prepended to the arguments it receives.
+	     *
+	     * @private
+	     * @param {Function} func The function to wrap.
+	     * @param {number} bitmask The bitmask of wrapper flags. See `createWrapper`
+	     *  for more details.
+	     * @param {*} thisArg The `this` binding of `func`.
+	     * @param {Array} partials The arguments to prepend to those provided to
+	     *  the new function.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createPartialWrapper(func, bitmask, thisArg, partials) {
+	      var isBind = bitmask & BIND_FLAG,
+	          Ctor = createCtorWrapper(func);
+
+	      function wrapper() {
+	        var argsIndex = -1,
+	            argsLength = arguments.length,
+	            leftIndex = -1,
+	            leftLength = partials.length,
+	            args = Array(leftLength + argsLength),
+	            fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
+
+	        while (++leftIndex < leftLength) {
+	          args[leftIndex] = partials[leftIndex];
+	        }
+	        while (argsLength--) {
+	          args[leftIndex++] = arguments[++argsIndex];
+	        }
+	        return apply(fn, isBind ? thisArg : this, args);
+	      }
+	      return wrapper;
+	    }
+
+	    /**
+	     * Creates a `_.range` or `_.rangeRight` function.
+	     *
+	     * @private
+	     * @param {boolean} [fromRight] Specify iterating from right to left.
+	     * @returns {Function} Returns the new range function.
+	     */
+	    function createRange(fromRight) {
+	      return function(start, end, step) {
+	        if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
+	          end = step = undefined;
+	        }
+	        // Ensure the sign of `-0` is preserved.
+	        start = toNumber(start);
+	        start = start === start ? start : 0;
+	        if (end === undefined) {
+	          end = start;
+	          start = 0;
+	        } else {
+	          end = toNumber(end) || 0;
+	        }
+	        step = step === undefined ? (start < end ? 1 : -1) : (toNumber(step) || 0);
+	        return baseRange(start, end, step, fromRight);
+	      };
+	    }
+
+	    /**
+	     * Creates a function that wraps `func` to continue currying.
+	     *
+	     * @private
+	     * @param {Function} func The function to wrap.
+	     * @param {number} bitmask The bitmask of wrapper flags. See `createWrapper`
+	     *  for more details.
+	     * @param {Function} wrapFunc The function to create the `func` wrapper.
+	     * @param {*} placeholder The placeholder value.
+	     * @param {*} [thisArg] The `this` binding of `func`.
+	     * @param {Array} [partials] The arguments to prepend to those provided to
+	     *  the new function.
+	     * @param {Array} [holders] The `partials` placeholder indexes.
+	     * @param {Array} [argPos] The argument positions of the new function.
+	     * @param {number} [ary] The arity cap of `func`.
+	     * @param {number} [arity] The arity of `func`.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createRecurryWrapper(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {
+	      var isCurry = bitmask & CURRY_FLAG,
+	          newHolders = isCurry ? holders : undefined,
+	          newHoldersRight = isCurry ? undefined : holders,
+	          newPartials = isCurry ? partials : undefined,
+	          newPartialsRight = isCurry ? undefined : partials;
+
+	      bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);
+	      bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG);
+
+	      if (!(bitmask & CURRY_BOUND_FLAG)) {
+	        bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG);
+	      }
+	      var newData = [
+	        func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,
+	        newHoldersRight, argPos, ary, arity
+	      ];
+
+	      var result = wrapFunc.apply(undefined, newData);
+	      if (isLaziable(func)) {
+	        setData(result, newData);
+	      }
+	      result.placeholder = placeholder;
+	      return result;
+	    }
+
+	    /**
+	     * Creates a function like `_.round`.
+	     *
+	     * @private
+	     * @param {string} methodName The name of the `Math` method to use when rounding.
+	     * @returns {Function} Returns the new round function.
+	     */
+	    function createRound(methodName) {
+	      var func = Math[methodName];
+	      return function(number, precision) {
+	        number = toNumber(number);
+	        precision = toInteger(precision);
+	        if (precision) {
+	          // Shift with exponential notation to avoid floating-point issues.
+	          // See [MDN](https://mdn.io/round#Examples) for more details.
+	          var pair = (toString(number) + 'e').split('e'),
+	              value = func(pair[0] + 'e' + (+pair[1] + precision));
+
+	          pair = (toString(value) + 'e').split('e');
+	          return +(pair[0] + 'e' + (+pair[1] - precision));
+	        }
+	        return func(number);
+	      };
+	    }
+
+	    /**
+	     * Creates a set of `values`.
+	     *
+	     * @private
+	     * @param {Array} values The values to add to the set.
+	     * @returns {Object} Returns the new set.
+	     */
+	    var createSet = !(Set && new Set([1, 2]).size === 2) ? noop : function(values) {
+	      return new Set(values);
+	    };
+
+	    /**
+	     * Creates a function that either curries or invokes `func` with optional
+	     * `this` binding and partially applied arguments.
+	     *
+	     * @private
+	     * @param {Function|string} func The function or method name to wrap.
+	     * @param {number} bitmask The bitmask of wrapper flags.
+	     *  The bitmask may be composed of the following flags:
+	     *     1 - `_.bind`
+	     *     2 - `_.bindKey`
+	     *     4 - `_.curry` or `_.curryRight` of a bound function
+	     *     8 - `_.curry`
+	     *    16 - `_.curryRight`
+	     *    32 - `_.partial`
+	     *    64 - `_.partialRight`
+	     *   128 - `_.rearg`
+	     *   256 - `_.ary`
+	     * @param {*} [thisArg] The `this` binding of `func`.
+	     * @param {Array} [partials] The arguments to be partially applied.
+	     * @param {Array} [holders] The `partials` placeholder indexes.
+	     * @param {Array} [argPos] The argument positions of the new function.
+	     * @param {number} [ary] The arity cap of `func`.
+	     * @param {number} [arity] The arity of `func`.
+	     * @returns {Function} Returns the new wrapped function.
+	     */
+	    function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
+	      var isBindKey = bitmask & BIND_KEY_FLAG;
+	      if (!isBindKey && typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      var length = partials ? partials.length : 0;
+	      if (!length) {
+	        bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);
+	        partials = holders = undefined;
+	      }
+	      ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
+	      arity = arity === undefined ? arity : toInteger(arity);
+	      length -= holders ? holders.length : 0;
+
+	      if (bitmask & PARTIAL_RIGHT_FLAG) {
+	        var partialsRight = partials,
+	            holdersRight = holders;
+
+	        partials = holders = undefined;
+	      }
+	      var data = isBindKey ? undefined : getData(func);
+
+	      var newData = [
+	        func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
+	        argPos, ary, arity
+	      ];
+
+	      if (data) {
+	        mergeData(newData, data);
+	      }
+	      func = newData[0];
+	      bitmask = newData[1];
+	      thisArg = newData[2];
+	      partials = newData[3];
+	      holders = newData[4];
+	      arity = newData[9] = newData[9] == null
+	        ? (isBindKey ? 0 : func.length)
+	        : nativeMax(newData[9] - length, 0);
+
+	      if (!arity && bitmask & (CURRY_FLAG | CURRY_RIGHT_FLAG)) {
+	        bitmask &= ~(CURRY_FLAG | CURRY_RIGHT_FLAG);
+	      }
+	      if (!bitmask || bitmask == BIND_FLAG) {
+	        var result = createBaseWrapper(func, bitmask, thisArg);
+	      } else if (bitmask == CURRY_FLAG || bitmask == CURRY_RIGHT_FLAG) {
+	        result = createCurryWrapper(func, bitmask, arity);
+	      } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !holders.length) {
+	        result = createPartialWrapper(func, bitmask, thisArg, partials);
+	      } else {
+	        result = createHybridWrapper.apply(undefined, newData);
+	      }
+	      var setter = data ? baseSetData : setData;
+	      return setter(result, newData);
+	    }
+
+	    /**
+	     * A specialized version of `baseIsEqualDeep` for arrays with support for
+	     * partial deep comparisons.
+	     *
+	     * @private
+	     * @param {Array} array The array to compare.
+	     * @param {Array} other The other array to compare.
+	     * @param {Function} equalFunc The function to determine equivalents of values.
+	     * @param {Function} customizer The function to customize comparisons.
+	     * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
+	     *  for more details.
+	     * @param {Object} stack Tracks traversed `array` and `other` objects.
+	     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
+	     */
+	    function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
+	      var index = -1,
+	          isPartial = bitmask & PARTIAL_COMPARE_FLAG,
+	          isUnordered = bitmask & UNORDERED_COMPARE_FLAG,
+	          arrLength = array.length,
+	          othLength = other.length;
+
+	      if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
+	        return false;
+	      }
+	      // Assume cyclic values are equal.
+	      var stacked = stack.get(array);
+	      if (stacked) {
+	        return stacked == other;
+	      }
+	      var result = true;
+	      stack.set(array, other);
+
+	      // Ignore non-index properties.
+	      while (++index < arrLength) {
+	        var arrValue = array[index],
+	            othValue = other[index];
+
+	        if (customizer) {
+	          var compared = isPartial
+	            ? customizer(othValue, arrValue, index, other, array, stack)
+	            : customizer(arrValue, othValue, index, array, other, stack);
+	        }
+	        if (compared !== undefined) {
+	          if (compared) {
+	            continue;
+	          }
+	          result = false;
+	          break;
+	        }
+	        // Recursively compare arrays (susceptible to call stack limits).
+	        if (isUnordered) {
+	          if (!arraySome(other, function(othValue) {
+	                return arrValue === othValue ||
+	                  equalFunc(arrValue, othValue, customizer, bitmask, stack);
+	              })) {
+	            result = false;
+	            break;
+	          }
+	        } else if (!(
+	              arrValue === othValue ||
+	                equalFunc(arrValue, othValue, customizer, bitmask, stack)
+	            )) {
+	          result = false;
+	          break;
+	        }
+	      }
+	      stack['delete'](array);
+	      return result;
+	    }
+
+	    /**
+	     * A specialized version of `baseIsEqualDeep` for comparing objects of
+	     * the same `toStringTag`.
+	     *
+	     * **Note:** This function only supports comparing values with tags of
+	     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
+	     *
+	     * @private
+	     * @param {Object} object The object to compare.
+	     * @param {Object} other The other object to compare.
+	     * @param {string} tag The `toStringTag` of the objects to compare.
+	     * @param {Function} equalFunc The function to determine equivalents of values.
+	     * @param {Function} customizer The function to customize comparisons.
+	     * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
+	     *  for more details.
+	     * @param {Object} stack Tracks traversed `object` and `other` objects.
+	     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+	     */
+	    function equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {
+	      switch (tag) {
+	        case dataViewTag:
+	          if ((object.byteLength != other.byteLength) ||
+	              (object.byteOffset != other.byteOffset)) {
+	            return false;
+	          }
+	          object = object.buffer;
+	          other = other.buffer;
+
+	        case arrayBufferTag:
+	          if ((object.byteLength != other.byteLength) ||
+	              !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
+	            return false;
+	          }
+	          return true;
+
+	        case boolTag:
+	        case dateTag:
+	          // Coerce dates and booleans to numbers, dates to milliseconds and
+	          // booleans to `1` or `0` treating invalid dates coerced to `NaN` as
+	          // not equal.
+	          return +object == +other;
+
+	        case errorTag:
+	          return object.name == other.name && object.message == other.message;
+
+	        case numberTag:
+	          // Treat `NaN` vs. `NaN` as equal.
+	          return (object != +object) ? other != +other : object == +other;
+
+	        case regexpTag:
+	        case stringTag:
+	          // Coerce regexes to strings and treat strings, primitives and objects,
+	          // as equal. See http://www.ecma-international.org/ecma-262/6.0/#sec-regexp.prototype.tostring
+	          // for more details.
+	          return object == (other + '');
+
+	        case mapTag:
+	          var convert = mapToArray;
+
+	        case setTag:
+	          var isPartial = bitmask & PARTIAL_COMPARE_FLAG;
+	          convert || (convert = setToArray);
+
+	          if (object.size != other.size && !isPartial) {
+	            return false;
+	          }
+	          // Assume cyclic values are equal.
+	          var stacked = stack.get(object);
+	          if (stacked) {
+	            return stacked == other;
+	          }
+	          bitmask |= UNORDERED_COMPARE_FLAG;
+	          stack.set(object, other);
+
+	          // Recursively compare objects (susceptible to call stack limits).
+	          return equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask, stack);
+
+	        case symbolTag:
+	          if (symbolValueOf) {
+	            return symbolValueOf.call(object) == symbolValueOf.call(other);
+	          }
+	      }
+	      return false;
+	    }
+
+	    /**
+	     * A specialized version of `baseIsEqualDeep` for objects with support for
+	     * partial deep comparisons.
+	     *
+	     * @private
+	     * @param {Object} object The object to compare.
+	     * @param {Object} other The other object to compare.
+	     * @param {Function} equalFunc The function to determine equivalents of values.
+	     * @param {Function} customizer The function to customize comparisons.
+	     * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`
+	     *  for more details.
+	     * @param {Object} stack Tracks traversed `object` and `other` objects.
+	     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
+	     */
+	    function equalObjects(object, other, equalFunc, customizer, bitmask, stack) {
+	      var isPartial = bitmask & PARTIAL_COMPARE_FLAG,
+	          objProps = keys(object),
+	          objLength = objProps.length,
+	          othProps = keys(other),
+	          othLength = othProps.length;
+
+	      if (objLength != othLength && !isPartial) {
+	        return false;
+	      }
+	      var index = objLength;
+	      while (index--) {
+	        var key = objProps[index];
+	        if (!(isPartial ? key in other : baseHas(other, key))) {
+	          return false;
+	        }
+	      }
+	      // Assume cyclic values are equal.
+	      var stacked = stack.get(object);
+	      if (stacked) {
+	        return stacked == other;
+	      }
+	      var result = true;
+	      stack.set(object, other);
+
+	      var skipCtor = isPartial;
+	      while (++index < objLength) {
+	        key = objProps[index];
+	        var objValue = object[key],
+	            othValue = other[key];
+
+	        if (customizer) {
+	          var compared = isPartial
+	            ? customizer(othValue, objValue, key, other, object, stack)
+	            : customizer(objValue, othValue, key, object, other, stack);
+	        }
+	        // Recursively compare objects (susceptible to call stack limits).
+	        if (!(compared === undefined
+	              ? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))
+	              : compared
+	            )) {
+	          result = false;
+	          break;
+	        }
+	        skipCtor || (skipCtor = key == 'constructor');
+	      }
+	      if (result && !skipCtor) {
+	        var objCtor = object.constructor,
+	            othCtor = other.constructor;
+
+	        // Non `Object` object instances with different constructors are not equal.
+	        if (objCtor != othCtor &&
+	            ('constructor' in object && 'constructor' in other) &&
+	            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
+	              typeof othCtor == 'function' && othCtor instanceof othCtor)) {
+	          result = false;
+	        }
+	      }
+	      stack['delete'](object);
+	      return result;
+	    }
+
+	    /**
+	     * Creates an array of own enumerable property names and symbols of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property names and symbols.
+	     */
+	    function getAllKeys(object) {
+	      return baseGetAllKeys(object, keys, getSymbols);
+	    }
+
+	    /**
+	     * Creates an array of own and inherited enumerable property names and
+	     * symbols of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property names and symbols.
+	     */
+	    function getAllKeysIn(object) {
+	      return baseGetAllKeys(object, keysIn, getSymbolsIn);
+	    }
+
+	    /**
+	     * Gets metadata for `func`.
+	     *
+	     * @private
+	     * @param {Function} func The function to query.
+	     * @returns {*} Returns the metadata for `func`.
+	     */
+	    var getData = !metaMap ? noop : function(func) {
+	      return metaMap.get(func);
+	    };
+
+	    /**
+	     * Gets the name of `func`.
+	     *
+	     * @private
+	     * @param {Function} func The function to query.
+	     * @returns {string} Returns the function name.
+	     */
+	    function getFuncName(func) {
+	      var result = (func.name + ''),
+	          array = realNames[result],
+	          length = hasOwnProperty.call(realNames, result) ? array.length : 0;
+
+	      while (length--) {
+	        var data = array[length],
+	            otherFunc = data.func;
+	        if (otherFunc == null || otherFunc == func) {
+	          return data.name;
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Gets the appropriate "iteratee" function. If `_.iteratee` is customized,
+	     * this function returns the custom method, otherwise it returns `baseIteratee`.
+	     * If arguments are provided, the chosen function is invoked with them and
+	     * its result is returned.
+	     *
+	     * @private
+	     * @param {*} [value] The value to convert to an iteratee.
+	     * @param {number} [arity] The arity of the created iteratee.
+	     * @returns {Function} Returns the chosen function or its result.
+	     */
+	    function getIteratee() {
+	      var result = lodash.iteratee || iteratee;
+	      result = result === iteratee ? baseIteratee : result;
+	      return arguments.length ? result(arguments[0], arguments[1]) : result;
+	    }
+
+	    /**
+	     * Gets the "length" property value of `object`.
+	     *
+	     * **Note:** This function is used to avoid a
+	     * [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792) that affects
+	     * Safari on at least iOS 8.1-8.3 ARM64.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {*} Returns the "length" value.
+	     */
+	    var getLength = baseProperty('length');
+
+	    /**
+	     * Gets the property names, values, and compare flags of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the match data of `object`.
+	     */
+	    function getMatchData(object) {
+	      var result = toPairs(object),
+	          length = result.length;
+
+	      while (length--) {
+	        result[length][2] = isStrictComparable(result[length][1]);
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Gets the native function at `key` of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {string} key The key of the method to get.
+	     * @returns {*} Returns the function if it's native, else `undefined`.
+	     */
+	    function getNative(object, key) {
+	      var value = object[key];
+	      return isNative(value) ? value : undefined;
+	    }
+
+	    /**
+	     * Gets the argument placeholder value for `func`.
+	     *
+	     * @private
+	     * @param {Function} func The function to inspect.
+	     * @returns {*} Returns the placeholder value.
+	     */
+	    function getPlaceholder(func) {
+	      var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;
+	      return object.placeholder;
+	    }
+
+	    /**
+	     * Gets the `[[Prototype]]` of `value`.
+	     *
+	     * @private
+	     * @param {*} value The value to query.
+	     * @returns {null|Object} Returns the `[[Prototype]]`.
+	     */
+	    function getPrototype(value) {
+	      return nativeGetPrototype(Object(value));
+	    }
+
+	    /**
+	     * Creates an array of the own enumerable symbol properties of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of symbols.
+	     */
+	    function getSymbols(object) {
+	      // Coerce `object` to an object to avoid non-object errors in V8.
+	      // See https://bugs.chromium.org/p/v8/issues/detail?id=3443 for more details.
+	      return getOwnPropertySymbols(Object(object));
+	    }
+
+	    // Fallback for IE < 11.
+	    if (!getOwnPropertySymbols) {
+	      getSymbols = function() {
+	        return [];
+	      };
+	    }
+
+	    /**
+	     * Creates an array of the own and inherited enumerable symbol properties
+	     * of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of symbols.
+	     */
+	    var getSymbolsIn = !getOwnPropertySymbols ? getSymbols : function(object) {
+	      var result = [];
+	      while (object) {
+	        arrayPush(result, getSymbols(object));
+	        object = getPrototype(object);
+	      }
+	      return result;
+	    };
+
+	    /**
+	     * Gets the `toStringTag` of `value`.
+	     *
+	     * @private
+	     * @param {*} value The value to query.
+	     * @returns {string} Returns the `toStringTag`.
+	     */
+	    function getTag(value) {
+	      return objectToString.call(value);
+	    }
+
+	    // Fallback for data views, maps, sets, and weak maps in IE 11,
+	    // for data views in Edge, and promises in Node.js.
+	    if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
+	        (Map && getTag(new Map) != mapTag) ||
+	        (Promise && getTag(Promise.resolve()) != promiseTag) ||
+	        (Set && getTag(new Set) != setTag) ||
+	        (WeakMap && getTag(new WeakMap) != weakMapTag)) {
+	      getTag = function(value) {
+	        var result = objectToString.call(value),
+	            Ctor = result == objectTag ? value.constructor : undefined,
+	            ctorString = Ctor ? toSource(Ctor) : undefined;
+
+	        if (ctorString) {
+	          switch (ctorString) {
+	            case dataViewCtorString: return dataViewTag;
+	            case mapCtorString: return mapTag;
+	            case promiseCtorString: return promiseTag;
+	            case setCtorString: return setTag;
+	            case weakMapCtorString: return weakMapTag;
+	          }
+	        }
+	        return result;
+	      };
+	    }
+
+	    /**
+	     * Gets the view, applying any `transforms` to the `start` and `end` positions.
+	     *
+	     * @private
+	     * @param {number} start The start of the view.
+	     * @param {number} end The end of the view.
+	     * @param {Array} transforms The transformations to apply to the view.
+	     * @returns {Object} Returns an object containing the `start` and `end`
+	     *  positions of the view.
+	     */
+	    function getView(start, end, transforms) {
+	      var index = -1,
+	          length = transforms.length;
+
+	      while (++index < length) {
+	        var data = transforms[index],
+	            size = data.size;
+
+	        switch (data.type) {
+	          case 'drop':      start += size; break;
+	          case 'dropRight': end -= size; break;
+	          case 'take':      end = nativeMin(end, start + size); break;
+	          case 'takeRight': start = nativeMax(start, end - size); break;
+	        }
+	      }
+	      return { 'start': start, 'end': end };
+	    }
+
+	    /**
+	     * Checks if `path` exists on `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path to check.
+	     * @param {Function} hasFunc The function to check properties.
+	     * @returns {boolean} Returns `true` if `path` exists, else `false`.
+	     */
+	    function hasPath(object, path, hasFunc) {
+	      path = isKey(path, object) ? [path] : castPath(path);
+
+	      var result,
+	          index = -1,
+	          length = path.length;
+
+	      while (++index < length) {
+	        var key = path[index];
+	        if (!(result = object != null && hasFunc(object, key))) {
+	          break;
+	        }
+	        object = object[key];
+	      }
+	      if (result) {
+	        return result;
+	      }
+	      var length = object ? object.length : 0;
+	      return !!length && isLength(length) && isIndex(key, length) &&
+	        (isArray(object) || isString(object) || isArguments(object));
+	    }
+
+	    /**
+	     * Initializes an array clone.
+	     *
+	     * @private
+	     * @param {Array} array The array to clone.
+	     * @returns {Array} Returns the initialized clone.
+	     */
+	    function initCloneArray(array) {
+	      var length = array.length,
+	          result = array.constructor(length);
+
+	      // Add properties assigned by `RegExp#exec`.
+	      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
+	        result.index = array.index;
+	        result.input = array.input;
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Initializes an object clone.
+	     *
+	     * @private
+	     * @param {Object} object The object to clone.
+	     * @returns {Object} Returns the initialized clone.
+	     */
+	    function initCloneObject(object) {
+	      return (typeof object.constructor == 'function' && !isPrototype(object))
+	        ? baseCreate(getPrototype(object))
+	        : {};
+	    }
+
+	    /**
+	     * Initializes an object clone based on its `toStringTag`.
+	     *
+	     * **Note:** This function only supports cloning values with tags of
+	     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
+	     *
+	     * @private
+	     * @param {Object} object The object to clone.
+	     * @param {string} tag The `toStringTag` of the object to clone.
+	     * @param {Function} cloneFunc The function to clone values.
+	     * @param {boolean} [isDeep] Specify a deep clone.
+	     * @returns {Object} Returns the initialized clone.
+	     */
+	    function initCloneByTag(object, tag, cloneFunc, isDeep) {
+	      var Ctor = object.constructor;
+	      switch (tag) {
+	        case arrayBufferTag:
+	          return cloneArrayBuffer(object);
+
+	        case boolTag:
+	        case dateTag:
+	          return new Ctor(+object);
+
+	        case dataViewTag:
+	          return cloneDataView(object, isDeep);
+
+	        case float32Tag: case float64Tag:
+	        case int8Tag: case int16Tag: case int32Tag:
+	        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
+	          return cloneTypedArray(object, isDeep);
+
+	        case mapTag:
+	          return cloneMap(object, isDeep, cloneFunc);
+
+	        case numberTag:
+	        case stringTag:
+	          return new Ctor(object);
+
+	        case regexpTag:
+	          return cloneRegExp(object);
+
+	        case setTag:
+	          return cloneSet(object, isDeep, cloneFunc);
+
+	        case symbolTag:
+	          return cloneSymbol(object);
+	      }
+	    }
+
+	    /**
+	     * Creates an array of index keys for `object` values of arrays,
+	     * `arguments` objects, and strings, otherwise `null` is returned.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @returns {Array|null} Returns index keys, else `null`.
+	     */
+	    function indexKeys(object) {
+	      var length = object ? object.length : undefined;
+	      if (isLength(length) &&
+	          (isArray(object) || isString(object) || isArguments(object))) {
+	        return baseTimes(length, String);
+	      }
+	      return null;
+	    }
+
+	    /**
+	     * Checks if `value` is a flattenable `arguments` object or array.
+	     *
+	     * @private
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
+	     */
+	    function isFlattenable(value) {
+	      return isArrayLikeObject(value) && (isArray(value) || isArguments(value));
+	    }
+
+	    /**
+	     * Checks if `value` is a flattenable array and not a `_.matchesProperty`
+	     * iteratee shorthand.
+	     *
+	     * @private
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
+	     */
+	    function isFlattenableIteratee(value) {
+	      return isArray(value) && !(value.length == 2 && !isFunction(value[0]));
+	    }
+
+	    /**
+	     * Checks if the given arguments are from an iteratee call.
+	     *
+	     * @private
+	     * @param {*} value The potential iteratee value argument.
+	     * @param {*} index The potential iteratee index or key argument.
+	     * @param {*} object The potential iteratee object argument.
+	     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
+	     *  else `false`.
+	     */
+	    function isIterateeCall(value, index, object) {
+	      if (!isObject(object)) {
+	        return false;
+	      }
+	      var type = typeof index;
+	      if (type == 'number'
+	            ? (isArrayLike(object) && isIndex(index, object.length))
+	            : (type == 'string' && index in object)
+	          ) {
+	        return eq(object[index], value);
+	      }
+	      return false;
+	    }
+
+	    /**
+	     * Checks if `value` is a property name and not a property path.
+	     *
+	     * @private
+	     * @param {*} value The value to check.
+	     * @param {Object} [object] The object to query keys on.
+	     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
+	     */
+	    function isKey(value, object) {
+	      var type = typeof value;
+	      if (type == 'number' || type == 'symbol') {
+	        return true;
+	      }
+	      return !isArray(value) &&
+	        (isSymbol(value) || reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
+	          (object != null && value in Object(object)));
+	    }
+
+	    /**
+	     * Checks if `value` is suitable for use as unique object key.
+	     *
+	     * @private
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
+	     */
+	    function isKeyable(value) {
+	      var type = typeof value;
+	      return type == 'number' || type == 'boolean' ||
+	        (type == 'string' && value != '__proto__') || value == null;
+	    }
+
+	    /**
+	     * Checks if `func` has a lazy counterpart.
+	     *
+	     * @private
+	     * @param {Function} func The function to check.
+	     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,
+	     *  else `false`.
+	     */
+	    function isLaziable(func) {
+	      var funcName = getFuncName(func),
+	          other = lodash[funcName];
+
+	      if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
+	        return false;
+	      }
+	      if (func === other) {
+	        return true;
+	      }
+	      var data = getData(other);
+	      return !!data && func === data[0];
+	    }
+
+	    /**
+	     * Checks if `value` is likely a prototype object.
+	     *
+	     * @private
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
+	     */
+	    function isPrototype(value) {
+	      var Ctor = value && value.constructor,
+	          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
+
+	      return value === proto;
+	    }
+
+	    /**
+	     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
+	     *
+	     * @private
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` if suitable for strict
+	     *  equality comparisons, else `false`.
+	     */
+	    function isStrictComparable(value) {
+	      return value === value && !isObject(value);
+	    }
+
+	    /**
+	     * A specialized version of `matchesProperty` for source values suitable
+	     * for strict equality comparisons, i.e. `===`.
+	     *
+	     * @private
+	     * @param {string} key The key of the property to get.
+	     * @param {*} srcValue The value to match.
+	     * @returns {Function} Returns the new function.
+	     */
+	    function matchesStrictComparable(key, srcValue) {
+	      return function(object) {
+	        if (object == null) {
+	          return false;
+	        }
+	        return object[key] === srcValue &&
+	          (srcValue !== undefined || (key in Object(object)));
+	      };
+	    }
+
+	    /**
+	     * Merges the function metadata of `source` into `data`.
+	     *
+	     * Merging metadata reduces the number of wrappers used to invoke a function.
+	     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
+	     * may be applied regardless of execution order. Methods like `_.ary` and
+	     * `_.rearg` modify function arguments, making the order in which they are
+	     * executed important, preventing the merging of metadata. However, we make
+	     * an exception for a safe combined case where curried functions have `_.ary`
+	     * and or `_.rearg` applied.
+	     *
+	     * @private
+	     * @param {Array} data The destination metadata.
+	     * @param {Array} source The source metadata.
+	     * @returns {Array} Returns `data`.
+	     */
+	    function mergeData(data, source) {
+	      var bitmask = data[1],
+	          srcBitmask = source[1],
+	          newBitmask = bitmask | srcBitmask,
+	          isCommon = newBitmask < (BIND_FLAG | BIND_KEY_FLAG | ARY_FLAG);
+
+	      var isCombo =
+	        ((srcBitmask == ARY_FLAG) && (bitmask == CURRY_FLAG)) ||
+	        ((srcBitmask == ARY_FLAG) && (bitmask == REARG_FLAG) && (data[7].length <= source[8])) ||
+	        ((srcBitmask == (ARY_FLAG | REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == CURRY_FLAG));
+
+	      // Exit early if metadata can't be merged.
+	      if (!(isCommon || isCombo)) {
+	        return data;
+	      }
+	      // Use source `thisArg` if available.
+	      if (srcBitmask & BIND_FLAG) {
+	        data[2] = source[2];
+	        // Set when currying a bound function.
+	        newBitmask |= bitmask & BIND_FLAG ? 0 : CURRY_BOUND_FLAG;
+	      }
+	      // Compose partial arguments.
+	      var value = source[3];
+	      if (value) {
+	        var partials = data[3];
+	        data[3] = partials ? composeArgs(partials, value, source[4]) : value;
+	        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];
+	      }
+	      // Compose partial right arguments.
+	      value = source[5];
+	      if (value) {
+	        partials = data[5];
+	        data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;
+	        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];
+	      }
+	      // Use source `argPos` if available.
+	      value = source[7];
+	      if (value) {
+	        data[7] = value;
+	      }
+	      // Use source `ary` if it's smaller.
+	      if (srcBitmask & ARY_FLAG) {
+	        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);
+	      }
+	      // Use source `arity` if one is not provided.
+	      if (data[9] == null) {
+	        data[9] = source[9];
+	      }
+	      // Use source `func` and merge bitmasks.
+	      data[0] = source[0];
+	      data[1] = newBitmask;
+
+	      return data;
+	    }
+
+	    /**
+	     * Used by `_.defaultsDeep` to customize its `_.merge` use.
+	     *
+	     * @private
+	     * @param {*} objValue The destination value.
+	     * @param {*} srcValue The source value.
+	     * @param {string} key The key of the property to merge.
+	     * @param {Object} object The parent object of `objValue`.
+	     * @param {Object} source The parent object of `srcValue`.
+	     * @param {Object} [stack] Tracks traversed source values and their merged
+	     *  counterparts.
+	     * @returns {*} Returns the value to assign.
+	     */
+	    function mergeDefaults(objValue, srcValue, key, object, source, stack) {
+	      if (isObject(objValue) && isObject(srcValue)) {
+	        baseMerge(objValue, srcValue, undefined, mergeDefaults, stack.set(srcValue, objValue));
+	      }
+	      return objValue;
+	    }
+
+	    /**
+	     * Gets the parent value at `path` of `object`.
+	     *
+	     * @private
+	     * @param {Object} object The object to query.
+	     * @param {Array} path The path to get the parent value of.
+	     * @returns {*} Returns the parent value.
+	     */
+	    function parent(object, path) {
+	      return path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));
+	    }
+
+	    /**
+	     * Reorder `array` according to the specified indexes where the element at
+	     * the first index is assigned as the first element, the element at
+	     * the second index is assigned as the second element, and so on.
+	     *
+	     * @private
+	     * @param {Array} array The array to reorder.
+	     * @param {Array} indexes The arranged array indexes.
+	     * @returns {Array} Returns `array`.
+	     */
+	    function reorder(array, indexes) {
+	      var arrLength = array.length,
+	          length = nativeMin(indexes.length, arrLength),
+	          oldArray = copyArray(array);
+
+	      while (length--) {
+	        var index = indexes[length];
+	        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;
+	      }
+	      return array;
+	    }
+
+	    /**
+	     * Sets metadata for `func`.
+	     *
+	     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short
+	     * period of time, it will trip its breaker and transition to an identity
+	     * function to avoid garbage collection pauses in V8. See
+	     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
+	     * for more details.
+	     *
+	     * @private
+	     * @param {Function} func The function to associate metadata with.
+	     * @param {*} data The metadata.
+	     * @returns {Function} Returns `func`.
+	     */
+	    var setData = (function() {
+	      var count = 0,
+	          lastCalled = 0;
+
+	      return function(key, value) {
+	        var stamp = now(),
+	            remaining = HOT_SPAN - (stamp - lastCalled);
+
+	        lastCalled = stamp;
+	        if (remaining > 0) {
+	          if (++count >= HOT_COUNT) {
+	            return key;
+	          }
+	        } else {
+	          count = 0;
+	        }
+	        return baseSetData(key, value);
+	      };
+	    }());
+
+	    /**
+	     * Converts `string` to a property path array.
+	     *
+	     * @private
+	     * @param {string} string The string to convert.
+	     * @returns {Array} Returns the property path array.
+	     */
+	    var stringToPath = memoize(function(string) {
+	      var result = [];
+	      toString(string).replace(rePropName, function(match, number, quote, string) {
+	        result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
+	      });
+	      return result;
+	    });
+
+	    /**
+	     * Converts `value` to a string key if it's not a string or symbol.
+	     *
+	     * @private
+	     * @param {*} value The value to inspect.
+	     * @returns {string|symbol} Returns the key.
+	     */
+	    function toKey(key) {
+	      return (typeof key == 'string' || isSymbol(key)) ? key : (key + '');
+	    }
+
+	    /**
+	     * Converts `func` to its source code.
+	     *
+	     * @private
+	     * @param {Function} func The function to process.
+	     * @returns {string} Returns the source code.
+	     */
+	    function toSource(func) {
+	      if (func != null) {
+	        try {
+	          return funcToString.call(func);
+	        } catch (e) {}
+	        try {
+	          return (func + '');
+	        } catch (e) {}
+	      }
+	      return '';
+	    }
+
+	    /**
+	     * Creates a clone of `wrapper`.
+	     *
+	     * @private
+	     * @param {Object} wrapper The wrapper to clone.
+	     * @returns {Object} Returns the cloned wrapper.
+	     */
+	    function wrapperClone(wrapper) {
+	      if (wrapper instanceof LazyWrapper) {
+	        return wrapper.clone();
+	      }
+	      var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
+	      result.__actions__ = copyArray(wrapper.__actions__);
+	      result.__index__  = wrapper.__index__;
+	      result.__values__ = wrapper.__values__;
+	      return result;
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates an array of elements split into groups the length of `size`.
+	     * If `array` can't be split evenly, the final chunk will be the remaining
+	     * elements.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to process.
+	     * @param {number} [size=1] The length of each chunk
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the new array containing chunks.
+	     * @example
+	     *
+	     * _.chunk(['a', 'b', 'c', 'd'], 2);
+	     * // => [['a', 'b'], ['c', 'd']]
+	     *
+	     * _.chunk(['a', 'b', 'c', 'd'], 3);
+	     * // => [['a', 'b', 'c'], ['d']]
+	     */
+	    function chunk(array, size, guard) {
+	      if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {
+	        size = 1;
+	      } else {
+	        size = nativeMax(toInteger(size), 0);
+	      }
+	      var length = array ? array.length : 0;
+	      if (!length || size < 1) {
+	        return [];
+	      }
+	      var index = 0,
+	          resIndex = 0,
+	          result = Array(nativeCeil(length / size));
+
+	      while (index < length) {
+	        result[resIndex++] = baseSlice(array, index, (index += size));
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Creates an array with all falsey values removed. The values `false`, `null`,
+	     * `0`, `""`, `undefined`, and `NaN` are falsey.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to compact.
+	     * @returns {Array} Returns the new array of filtered values.
+	     * @example
+	     *
+	     * _.compact([0, 1, false, 2, '', 3]);
+	     * // => [1, 2, 3]
+	     */
+	    function compact(array) {
+	      var index = -1,
+	          length = array ? array.length : 0,
+	          resIndex = 0,
+	          result = [];
+
+	      while (++index < length) {
+	        var value = array[index];
+	        if (value) {
+	          result[resIndex++] = value;
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Creates a new array concatenating `array` with any additional arrays
+	     * and/or values.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to concatenate.
+	     * @param {...*} [values] The values to concatenate.
+	     * @returns {Array} Returns the new concatenated array.
+	     * @example
+	     *
+	     * var array = [1];
+	     * var other = _.concat(array, 2, [3], [[4]]);
+	     *
+	     * console.log(other);
+	     * // => [1, 2, 3, [4]]
+	     *
+	     * console.log(array);
+	     * // => [1]
+	     */
+	    function concat() {
+	      var length = arguments.length,
+	          array = castArray(arguments[0]);
+
+	      if (length < 2) {
+	        return length ? copyArray(array) : [];
+	      }
+	      var args = Array(length - 1);
+	      while (length--) {
+	        args[length - 1] = arguments[length];
+	      }
+	      return arrayConcat(array, baseFlatten(args, 1));
+	    }
+
+	    /**
+	     * Creates an array of unique `array` values not included in the other given
+	     * arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons. The order of result values is determined by the
+	     * order they occur in the first array.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @param {...Array} [values] The values to exclude.
+	     * @returns {Array} Returns the new array of filtered values.
+	     * @example
+	     *
+	     * _.difference([3, 2, 1], [4, 2]);
+	     * // => [3, 1]
+	     */
+	    var difference = rest(function(array, values) {
+	      return isArrayLikeObject(array)
+	        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))
+	        : [];
+	    });
+
+	    /**
+	     * This method is like `_.difference` except that it accepts `iteratee` which
+	     * is invoked for each element of `array` and `values` to generate the criterion
+	     * by which they're compared. Result values are chosen from the first array.
+	     * The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @param {...Array} [values] The values to exclude.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Array} Returns the new array of filtered values.
+	     * @example
+	     *
+	     * _.differenceBy([3.1, 2.2, 1.3], [4.4, 2.5], Math.floor);
+	     * // => [3.1, 1.3]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');
+	     * // => [{ 'x': 2 }]
+	     */
+	    var differenceBy = rest(function(array, values) {
+	      var iteratee = last(values);
+	      if (isArrayLikeObject(iteratee)) {
+	        iteratee = undefined;
+	      }
+	      return isArrayLikeObject(array)
+	        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee))
+	        : [];
+	    });
+
+	    /**
+	     * This method is like `_.difference` except that it accepts `comparator`
+	     * which is invoked to compare elements of `array` to `values`. Result values
+	     * are chosen from the first array. The comparator is invoked with two arguments:
+	     * (arrVal, othVal).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @param {...Array} [values] The values to exclude.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of filtered values.
+	     * @example
+	     *
+	     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
+	     *
+	     * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
+	     * // => [{ 'x': 2, 'y': 1 }]
+	     */
+	    var differenceWith = rest(function(array, values) {
+	      var comparator = last(values);
+	      if (isArrayLikeObject(comparator)) {
+	        comparator = undefined;
+	      }
+	      return isArrayLikeObject(array)
+	        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)
+	        : [];
+	    });
+
+	    /**
+	     * Creates a slice of `array` with `n` elements dropped from the beginning.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.5.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {number} [n=1] The number of elements to drop.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * _.drop([1, 2, 3]);
+	     * // => [2, 3]
+	     *
+	     * _.drop([1, 2, 3], 2);
+	     * // => [3]
+	     *
+	     * _.drop([1, 2, 3], 5);
+	     * // => []
+	     *
+	     * _.drop([1, 2, 3], 0);
+	     * // => [1, 2, 3]
+	     */
+	    function drop(array, n, guard) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return [];
+	      }
+	      n = (guard || n === undefined) ? 1 : toInteger(n);
+	      return baseSlice(array, n < 0 ? 0 : n, length);
+	    }
+
+	    /**
+	     * Creates a slice of `array` with `n` elements dropped from the end.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {number} [n=1] The number of elements to drop.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * _.dropRight([1, 2, 3]);
+	     * // => [1, 2]
+	     *
+	     * _.dropRight([1, 2, 3], 2);
+	     * // => [1]
+	     *
+	     * _.dropRight([1, 2, 3], 5);
+	     * // => []
+	     *
+	     * _.dropRight([1, 2, 3], 0);
+	     * // => [1, 2, 3]
+	     */
+	    function dropRight(array, n, guard) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return [];
+	      }
+	      n = (guard || n === undefined) ? 1 : toInteger(n);
+	      n = length - n;
+	      return baseSlice(array, 0, n < 0 ? 0 : n);
+	    }
+
+	    /**
+	     * Creates a slice of `array` excluding elements dropped from the end.
+	     * Elements are dropped until `predicate` returns falsey. The predicate is
+	     * invoked with three arguments: (value, index, array).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'active': true },
+	     *   { 'user': 'fred',    'active': false },
+	     *   { 'user': 'pebbles', 'active': false }
+	     * ];
+	     *
+	     * _.dropRightWhile(users, function(o) { return !o.active; });
+	     * // => objects for ['barney']
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });
+	     * // => objects for ['barney', 'fred']
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.dropRightWhile(users, ['active', false]);
+	     * // => objects for ['barney']
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.dropRightWhile(users, 'active');
+	     * // => objects for ['barney', 'fred', 'pebbles']
+	     */
+	    function dropRightWhile(array, predicate) {
+	      return (array && array.length)
+	        ? baseWhile(array, getIteratee(predicate, 3), true, true)
+	        : [];
+	    }
+
+	    /**
+	     * Creates a slice of `array` excluding elements dropped from the beginning.
+	     * Elements are dropped until `predicate` returns falsey. The predicate is
+	     * invoked with three arguments: (value, index, array).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'active': false },
+	     *   { 'user': 'fred',    'active': false },
+	     *   { 'user': 'pebbles', 'active': true }
+	     * ];
+	     *
+	     * _.dropWhile(users, function(o) { return !o.active; });
+	     * // => objects for ['pebbles']
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.dropWhile(users, { 'user': 'barney', 'active': false });
+	     * // => objects for ['fred', 'pebbles']
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.dropWhile(users, ['active', false]);
+	     * // => objects for ['pebbles']
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.dropWhile(users, 'active');
+	     * // => objects for ['barney', 'fred', 'pebbles']
+	     */
+	    function dropWhile(array, predicate) {
+	      return (array && array.length)
+	        ? baseWhile(array, getIteratee(predicate, 3), true)
+	        : [];
+	    }
+
+	    /**
+	     * Fills elements of `array` with `value` from `start` up to, but not
+	     * including, `end`.
+	     *
+	     * **Note:** This method mutates `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.2.0
+	     * @category Array
+	     * @param {Array} array The array to fill.
+	     * @param {*} value The value to fill `array` with.
+	     * @param {number} [start=0] The start position.
+	     * @param {number} [end=array.length] The end position.
+	     * @returns {Array} Returns `array`.
+	     * @example
+	     *
+	     * var array = [1, 2, 3];
+	     *
+	     * _.fill(array, 'a');
+	     * console.log(array);
+	     * // => ['a', 'a', 'a']
+	     *
+	     * _.fill(Array(3), 2);
+	     * // => [2, 2, 2]
+	     *
+	     * _.fill([4, 6, 8, 10], '*', 1, 3);
+	     * // => [4, '*', '*', 10]
+	     */
+	    function fill(array, value, start, end) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return [];
+	      }
+	      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {
+	        start = 0;
+	        end = length;
+	      }
+	      return baseFill(array, value, start, end);
+	    }
+
+	    /**
+	     * This method is like `_.find` except that it returns the index of the first
+	     * element `predicate` returns truthy for instead of the element itself.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.1.0
+	     * @category Array
+	     * @param {Array} array The array to search.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {number} Returns the index of the found element, else `-1`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'active': false },
+	     *   { 'user': 'fred',    'active': false },
+	     *   { 'user': 'pebbles', 'active': true }
+	     * ];
+	     *
+	     * _.findIndex(users, function(o) { return o.user == 'barney'; });
+	     * // => 0
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.findIndex(users, { 'user': 'fred', 'active': false });
+	     * // => 1
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.findIndex(users, ['active', false]);
+	     * // => 0
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.findIndex(users, 'active');
+	     * // => 2
+	     */
+	    function findIndex(array, predicate) {
+	      return (array && array.length)
+	        ? baseFindIndex(array, getIteratee(predicate, 3))
+	        : -1;
+	    }
+
+	    /**
+	     * This method is like `_.findIndex` except that it iterates over elements
+	     * of `collection` from right to left.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Array
+	     * @param {Array} array The array to search.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {number} Returns the index of the found element, else `-1`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'active': true },
+	     *   { 'user': 'fred',    'active': false },
+	     *   { 'user': 'pebbles', 'active': false }
+	     * ];
+	     *
+	     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
+	     * // => 2
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.findLastIndex(users, { 'user': 'barney', 'active': true });
+	     * // => 0
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.findLastIndex(users, ['active', false]);
+	     * // => 2
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.findLastIndex(users, 'active');
+	     * // => 0
+	     */
+	    function findLastIndex(array, predicate) {
+	      return (array && array.length)
+	        ? baseFindIndex(array, getIteratee(predicate, 3), true)
+	        : -1;
+	    }
+
+	    /**
+	     * Flattens `array` a single level deep.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to flatten.
+	     * @returns {Array} Returns the new flattened array.
+	     * @example
+	     *
+	     * _.flatten([1, [2, [3, [4]], 5]]);
+	     * // => [1, 2, [3, [4]], 5]
+	     */
+	    function flatten(array) {
+	      var length = array ? array.length : 0;
+	      return length ? baseFlatten(array, 1) : [];
+	    }
+
+	    /**
+	     * Recursively flattens `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to flatten.
+	     * @returns {Array} Returns the new flattened array.
+	     * @example
+	     *
+	     * _.flattenDeep([1, [2, [3, [4]], 5]]);
+	     * // => [1, 2, 3, 4, 5]
+	     */
+	    function flattenDeep(array) {
+	      var length = array ? array.length : 0;
+	      return length ? baseFlatten(array, INFINITY) : [];
+	    }
+
+	    /**
+	     * Recursively flatten `array` up to `depth` times.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.4.0
+	     * @category Array
+	     * @param {Array} array The array to flatten.
+	     * @param {number} [depth=1] The maximum recursion depth.
+	     * @returns {Array} Returns the new flattened array.
+	     * @example
+	     *
+	     * var array = [1, [2, [3, [4]], 5]];
+	     *
+	     * _.flattenDepth(array, 1);
+	     * // => [1, 2, [3, [4]], 5]
+	     *
+	     * _.flattenDepth(array, 2);
+	     * // => [1, 2, 3, [4], 5]
+	     */
+	    function flattenDepth(array, depth) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return [];
+	      }
+	      depth = depth === undefined ? 1 : toInteger(depth);
+	      return baseFlatten(array, depth);
+	    }
+
+	    /**
+	     * The inverse of `_.toPairs`; this method returns an object composed
+	     * from key-value `pairs`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} pairs The key-value pairs.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * _.fromPairs([['fred', 30], ['barney', 40]]);
+	     * // => { 'fred': 30, 'barney': 40 }
+	     */
+	    function fromPairs(pairs) {
+	      var index = -1,
+	          length = pairs ? pairs.length : 0,
+	          result = {};
+
+	      while (++index < length) {
+	        var pair = pairs[index];
+	        result[pair[0]] = pair[1];
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Gets the first element of `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @alias first
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @returns {*} Returns the first element of `array`.
+	     * @example
+	     *
+	     * _.head([1, 2, 3]);
+	     * // => 1
+	     *
+	     * _.head([]);
+	     * // => undefined
+	     */
+	    function head(array) {
+	      return (array && array.length) ? array[0] : undefined;
+	    }
+
+	    /**
+	     * Gets the index at which the first occurrence of `value` is found in `array`
+	     * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons. If `fromIndex` is negative, it's used as the
+	     * offset from the end of `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to search.
+	     * @param {*} value The value to search for.
+	     * @param {number} [fromIndex=0] The index to search from.
+	     * @returns {number} Returns the index of the matched value, else `-1`.
+	     * @example
+	     *
+	     * _.indexOf([1, 2, 1, 2], 2);
+	     * // => 1
+	     *
+	     * // Search from the `fromIndex`.
+	     * _.indexOf([1, 2, 1, 2], 2, 2);
+	     * // => 3
+	     */
+	    function indexOf(array, value, fromIndex) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return -1;
+	      }
+	      fromIndex = toInteger(fromIndex);
+	      if (fromIndex < 0) {
+	        fromIndex = nativeMax(length + fromIndex, 0);
+	      }
+	      return baseIndexOf(array, value, fromIndex);
+	    }
+
+	    /**
+	     * Gets all but the last element of `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * _.initial([1, 2, 3]);
+	     * // => [1, 2]
+	     */
+	    function initial(array) {
+	      return dropRight(array, 1);
+	    }
+
+	    /**
+	     * Creates an array of unique values that are included in all given arrays
+	     * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons. The order of result values is determined by the
+	     * order they occur in the first array.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @returns {Array} Returns the new array of intersecting values.
+	     * @example
+	     *
+	     * _.intersection([2, 1], [4, 2], [1, 2]);
+	     * // => [2]
+	     */
+	    var intersection = rest(function(arrays) {
+	      var mapped = arrayMap(arrays, castArrayLikeObject);
+	      return (mapped.length && mapped[0] === arrays[0])
+	        ? baseIntersection(mapped)
+	        : [];
+	    });
+
+	    /**
+	     * This method is like `_.intersection` except that it accepts `iteratee`
+	     * which is invoked for each element of each `arrays` to generate the criterion
+	     * by which they're compared. Result values are chosen from the first array.
+	     * The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Array} Returns the new array of intersecting values.
+	     * @example
+	     *
+	     * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor);
+	     * // => [2.1]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
+	     * // => [{ 'x': 1 }]
+	     */
+	    var intersectionBy = rest(function(arrays) {
+	      var iteratee = last(arrays),
+	          mapped = arrayMap(arrays, castArrayLikeObject);
+
+	      if (iteratee === last(mapped)) {
+	        iteratee = undefined;
+	      } else {
+	        mapped.pop();
+	      }
+	      return (mapped.length && mapped[0] === arrays[0])
+	        ? baseIntersection(mapped, getIteratee(iteratee))
+	        : [];
+	    });
+
+	    /**
+	     * This method is like `_.intersection` except that it accepts `comparator`
+	     * which is invoked to compare elements of `arrays`. Result values are chosen
+	     * from the first array. The comparator is invoked with two arguments:
+	     * (arrVal, othVal).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of intersecting values.
+	     * @example
+	     *
+	     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
+	     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
+	     *
+	     * _.intersectionWith(objects, others, _.isEqual);
+	     * // => [{ 'x': 1, 'y': 2 }]
+	     */
+	    var intersectionWith = rest(function(arrays) {
+	      var comparator = last(arrays),
+	          mapped = arrayMap(arrays, castArrayLikeObject);
+
+	      if (comparator === last(mapped)) {
+	        comparator = undefined;
+	      } else {
+	        mapped.pop();
+	      }
+	      return (mapped.length && mapped[0] === arrays[0])
+	        ? baseIntersection(mapped, undefined, comparator)
+	        : [];
+	    });
+
+	    /**
+	     * Converts all elements in `array` into a string separated by `separator`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to convert.
+	     * @param {string} [separator=','] The element separator.
+	     * @returns {string} Returns the joined string.
+	     * @example
+	     *
+	     * _.join(['a', 'b', 'c'], '~');
+	     * // => 'a~b~c'
+	     */
+	    function join(array, separator) {
+	      return array ? nativeJoin.call(array, separator) : '';
+	    }
+
+	    /**
+	     * Gets the last element of `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @returns {*} Returns the last element of `array`.
+	     * @example
+	     *
+	     * _.last([1, 2, 3]);
+	     * // => 3
+	     */
+	    function last(array) {
+	      var length = array ? array.length : 0;
+	      return length ? array[length - 1] : undefined;
+	    }
+
+	    /**
+	     * This method is like `_.indexOf` except that it iterates over elements of
+	     * `array` from right to left.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to search.
+	     * @param {*} value The value to search for.
+	     * @param {number} [fromIndex=array.length-1] The index to search from.
+	     * @returns {number} Returns the index of the matched value, else `-1`.
+	     * @example
+	     *
+	     * _.lastIndexOf([1, 2, 1, 2], 2);
+	     * // => 3
+	     *
+	     * // Search from the `fromIndex`.
+	     * _.lastIndexOf([1, 2, 1, 2], 2, 2);
+	     * // => 1
+	     */
+	    function lastIndexOf(array, value, fromIndex) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return -1;
+	      }
+	      var index = length;
+	      if (fromIndex !== undefined) {
+	        index = toInteger(fromIndex);
+	        index = (
+	          index < 0
+	            ? nativeMax(length + index, 0)
+	            : nativeMin(index, length - 1)
+	        ) + 1;
+	      }
+	      if (value !== value) {
+	        return indexOfNaN(array, index, true);
+	      }
+	      while (index--) {
+	        if (array[index] === value) {
+	          return index;
+	        }
+	      }
+	      return -1;
+	    }
+
+	    /**
+	     * Gets the nth element of `array`. If `n` is negative, the nth element
+	     * from the end is returned.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.11.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {number} [n=0] The index of the element to return.
+	     * @returns {*} Returns the nth element of `array`.
+	     * @example
+	     *
+	     * var array = ['a', 'b', 'c', 'd'];
+	     *
+	     * _.nth(array, 1);
+	     * // => 'b'
+	     *
+	     * _.nth(array, -2);
+	     * // => 'c';
+	     */
+	    function nth(array, n) {
+	      return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;
+	    }
+
+	    /**
+	     * Removes all given values from `array` using
+	     * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons.
+	     *
+	     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
+	     * to remove elements from an array by predicate.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @param {...*} [values] The values to remove.
+	     * @returns {Array} Returns `array`.
+	     * @example
+	     *
+	     * var array = [1, 2, 3, 1, 2, 3];
+	     *
+	     * _.pull(array, 2, 3);
+	     * console.log(array);
+	     * // => [1, 1]
+	     */
+	    var pull = rest(pullAll);
+
+	    /**
+	     * This method is like `_.pull` except that it accepts an array of values to remove.
+	     *
+	     * **Note:** Unlike `_.difference`, this method mutates `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @param {Array} values The values to remove.
+	     * @returns {Array} Returns `array`.
+	     * @example
+	     *
+	     * var array = [1, 2, 3, 1, 2, 3];
+	     *
+	     * _.pullAll(array, [2, 3]);
+	     * console.log(array);
+	     * // => [1, 1]
+	     */
+	    function pullAll(array, values) {
+	      return (array && array.length && values && values.length)
+	        ? basePullAll(array, values)
+	        : array;
+	    }
+
+	    /**
+	     * This method is like `_.pullAll` except that it accepts `iteratee` which is
+	     * invoked for each element of `array` and `values` to generate the criterion
+	     * by which they're compared. The iteratee is invoked with one argument: (value).
+	     *
+	     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @param {Array} values The values to remove.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Array} Returns `array`.
+	     * @example
+	     *
+	     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
+	     *
+	     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
+	     * console.log(array);
+	     * // => [{ 'x': 2 }]
+	     */
+	    function pullAllBy(array, values, iteratee) {
+	      return (array && array.length && values && values.length)
+	        ? basePullAll(array, values, getIteratee(iteratee))
+	        : array;
+	    }
+
+	    /**
+	     * This method is like `_.pullAll` except that it accepts `comparator` which
+	     * is invoked to compare elements of `array` to `values`. The comparator is
+	     * invoked with two arguments: (arrVal, othVal).
+	     *
+	     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.6.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @param {Array} values The values to remove.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns `array`.
+	     * @example
+	     *
+	     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
+	     *
+	     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
+	     * console.log(array);
+	     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
+	     */
+	    function pullAllWith(array, values, comparator) {
+	      return (array && array.length && values && values.length)
+	        ? basePullAll(array, values, undefined, comparator)
+	        : array;
+	    }
+
+	    /**
+	     * Removes elements from `array` corresponding to `indexes` and returns an
+	     * array of removed elements.
+	     *
+	     * **Note:** Unlike `_.at`, this method mutates `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @param {...(number|number[])} [indexes] The indexes of elements to remove.
+	     * @returns {Array} Returns the new array of removed elements.
+	     * @example
+	     *
+	     * var array = [5, 10, 15, 20];
+	     * var evens = _.pullAt(array, 1, 3);
+	     *
+	     * console.log(array);
+	     * // => [5, 15]
+	     *
+	     * console.log(evens);
+	     * // => [10, 20]
+	     */
+	    var pullAt = rest(function(array, indexes) {
+	      indexes = arrayMap(baseFlatten(indexes, 1), String);
+
+	      var result = baseAt(array, indexes);
+	      basePullAt(array, indexes.sort(compareAscending));
+	      return result;
+	    });
+
+	    /**
+	     * Removes all elements from `array` that `predicate` returns truthy for
+	     * and returns an array of the removed elements. The predicate is invoked
+	     * with three arguments: (value, index, array).
+	     *
+	     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
+	     * to pull elements from an array by value.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the new array of removed elements.
+	     * @example
+	     *
+	     * var array = [1, 2, 3, 4];
+	     * var evens = _.remove(array, function(n) {
+	     *   return n % 2 == 0;
+	     * });
+	     *
+	     * console.log(array);
+	     * // => [1, 3]
+	     *
+	     * console.log(evens);
+	     * // => [2, 4]
+	     */
+	    function remove(array, predicate) {
+	      var result = [];
+	      if (!(array && array.length)) {
+	        return result;
+	      }
+	      var index = -1,
+	          indexes = [],
+	          length = array.length;
+
+	      predicate = getIteratee(predicate, 3);
+	      while (++index < length) {
+	        var value = array[index];
+	        if (predicate(value, index, array)) {
+	          result.push(value);
+	          indexes.push(index);
+	        }
+	      }
+	      basePullAt(array, indexes);
+	      return result;
+	    }
+
+	    /**
+	     * Reverses `array` so that the first element becomes the last, the second
+	     * element becomes the second to last, and so on.
+	     *
+	     * **Note:** This method mutates `array` and is based on
+	     * [`Array#reverse`](https://mdn.io/Array/reverse).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to modify.
+	     * @returns {Array} Returns `array`.
+	     * @example
+	     *
+	     * var array = [1, 2, 3];
+	     *
+	     * _.reverse(array);
+	     * // => [3, 2, 1]
+	     *
+	     * console.log(array);
+	     * // => [3, 2, 1]
+	     */
+	    function reverse(array) {
+	      return array ? nativeReverse.call(array) : array;
+	    }
+
+	    /**
+	     * Creates a slice of `array` from `start` up to, but not including, `end`.
+	     *
+	     * **Note:** This method is used instead of
+	     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
+	     * returned.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to slice.
+	     * @param {number} [start=0] The start position.
+	     * @param {number} [end=array.length] The end position.
+	     * @returns {Array} Returns the slice of `array`.
+	     */
+	    function slice(array, start, end) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return [];
+	      }
+	      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
+	        start = 0;
+	        end = length;
+	      }
+	      else {
+	        start = start == null ? 0 : toInteger(start);
+	        end = end === undefined ? length : toInteger(end);
+	      }
+	      return baseSlice(array, start, end);
+	    }
+
+	    /**
+	     * Uses a binary search to determine the lowest index at which `value`
+	     * should be inserted into `array` in order to maintain its sort order.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The sorted array to inspect.
+	     * @param {*} value The value to evaluate.
+	     * @returns {number} Returns the index at which `value` should be inserted
+	     *  into `array`.
+	     * @example
+	     *
+	     * _.sortedIndex([30, 50], 40);
+	     * // => 1
+	     *
+	     * _.sortedIndex([4, 5], 4);
+	     * // => 0
+	     */
+	    function sortedIndex(array, value) {
+	      return baseSortedIndex(array, value);
+	    }
+
+	    /**
+	     * This method is like `_.sortedIndex` except that it accepts `iteratee`
+	     * which is invoked for `value` and each element of `array` to compute their
+	     * sort ranking. The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The sorted array to inspect.
+	     * @param {*} value The value to evaluate.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {number} Returns the index at which `value` should be inserted
+	     *  into `array`.
+	     * @example
+	     *
+	     * var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 };
+	     *
+	     * _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict));
+	     * // => 1
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x');
+	     * // => 0
+	     */
+	    function sortedIndexBy(array, value, iteratee) {
+	      return baseSortedIndexBy(array, value, getIteratee(iteratee));
+	    }
+
+	    /**
+	     * This method is like `_.indexOf` except that it performs a binary
+	     * search on a sorted `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to search.
+	     * @param {*} value The value to search for.
+	     * @returns {number} Returns the index of the matched value, else `-1`.
+	     * @example
+	     *
+	     * _.sortedIndexOf([1, 1, 2, 2], 2);
+	     * // => 2
+	     */
+	    function sortedIndexOf(array, value) {
+	      var length = array ? array.length : 0;
+	      if (length) {
+	        var index = baseSortedIndex(array, value);
+	        if (index < length && eq(array[index], value)) {
+	          return index;
+	        }
+	      }
+	      return -1;
+	    }
+
+	    /**
+	     * This method is like `_.sortedIndex` except that it returns the highest
+	     * index at which `value` should be inserted into `array` in order to
+	     * maintain its sort order.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The sorted array to inspect.
+	     * @param {*} value The value to evaluate.
+	     * @returns {number} Returns the index at which `value` should be inserted
+	     *  into `array`.
+	     * @example
+	     *
+	     * _.sortedLastIndex([4, 5], 4);
+	     * // => 1
+	     */
+	    function sortedLastIndex(array, value) {
+	      return baseSortedIndex(array, value, true);
+	    }
+
+	    /**
+	     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`
+	     * which is invoked for `value` and each element of `array` to compute their
+	     * sort ranking. The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The sorted array to inspect.
+	     * @param {*} value The value to evaluate.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {number} Returns the index at which `value` should be inserted
+	     *  into `array`.
+	     * @example
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x');
+	     * // => 1
+	     */
+	    function sortedLastIndexBy(array, value, iteratee) {
+	      return baseSortedIndexBy(array, value, getIteratee(iteratee), true);
+	    }
+
+	    /**
+	     * This method is like `_.lastIndexOf` except that it performs a binary
+	     * search on a sorted `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to search.
+	     * @param {*} value The value to search for.
+	     * @returns {number} Returns the index of the matched value, else `-1`.
+	     * @example
+	     *
+	     * _.sortedLastIndexOf([1, 1, 2, 2], 2);
+	     * // => 3
+	     */
+	    function sortedLastIndexOf(array, value) {
+	      var length = array ? array.length : 0;
+	      if (length) {
+	        var index = baseSortedIndex(array, value, true) - 1;
+	        if (eq(array[index], value)) {
+	          return index;
+	        }
+	      }
+	      return -1;
+	    }
+
+	    /**
+	     * This method is like `_.uniq` except that it's designed and optimized
+	     * for sorted arrays.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @returns {Array} Returns the new duplicate free array.
+	     * @example
+	     *
+	     * _.sortedUniq([1, 1, 2]);
+	     * // => [1, 2]
+	     */
+	    function sortedUniq(array) {
+	      return (array && array.length)
+	        ? baseSortedUniq(array)
+	        : [];
+	    }
+
+	    /**
+	     * This method is like `_.uniqBy` except that it's designed and optimized
+	     * for sorted arrays.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @param {Function} [iteratee] The iteratee invoked per element.
+	     * @returns {Array} Returns the new duplicate free array.
+	     * @example
+	     *
+	     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
+	     * // => [1.1, 2.3]
+	     */
+	    function sortedUniqBy(array, iteratee) {
+	      return (array && array.length)
+	        ? baseSortedUniqBy(array, getIteratee(iteratee))
+	        : [];
+	    }
+
+	    /**
+	     * Gets all but the first element of `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * _.tail([1, 2, 3]);
+	     * // => [2, 3]
+	     */
+	    function tail(array) {
+	      return drop(array, 1);
+	    }
+
+	    /**
+	     * Creates a slice of `array` with `n` elements taken from the beginning.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {number} [n=1] The number of elements to take.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * _.take([1, 2, 3]);
+	     * // => [1]
+	     *
+	     * _.take([1, 2, 3], 2);
+	     * // => [1, 2]
+	     *
+	     * _.take([1, 2, 3], 5);
+	     * // => [1, 2, 3]
+	     *
+	     * _.take([1, 2, 3], 0);
+	     * // => []
+	     */
+	    function take(array, n, guard) {
+	      if (!(array && array.length)) {
+	        return [];
+	      }
+	      n = (guard || n === undefined) ? 1 : toInteger(n);
+	      return baseSlice(array, 0, n < 0 ? 0 : n);
+	    }
+
+	    /**
+	     * Creates a slice of `array` with `n` elements taken from the end.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {number} [n=1] The number of elements to take.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * _.takeRight([1, 2, 3]);
+	     * // => [3]
+	     *
+	     * _.takeRight([1, 2, 3], 2);
+	     * // => [2, 3]
+	     *
+	     * _.takeRight([1, 2, 3], 5);
+	     * // => [1, 2, 3]
+	     *
+	     * _.takeRight([1, 2, 3], 0);
+	     * // => []
+	     */
+	    function takeRight(array, n, guard) {
+	      var length = array ? array.length : 0;
+	      if (!length) {
+	        return [];
+	      }
+	      n = (guard || n === undefined) ? 1 : toInteger(n);
+	      n = length - n;
+	      return baseSlice(array, n < 0 ? 0 : n, length);
+	    }
+
+	    /**
+	     * Creates a slice of `array` with elements taken from the end. Elements are
+	     * taken until `predicate` returns falsey. The predicate is invoked with
+	     * three arguments: (value, index, array).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'active': true },
+	     *   { 'user': 'fred',    'active': false },
+	     *   { 'user': 'pebbles', 'active': false }
+	     * ];
+	     *
+	     * _.takeRightWhile(users, function(o) { return !o.active; });
+	     * // => objects for ['fred', 'pebbles']
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });
+	     * // => objects for ['pebbles']
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.takeRightWhile(users, ['active', false]);
+	     * // => objects for ['fred', 'pebbles']
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.takeRightWhile(users, 'active');
+	     * // => []
+	     */
+	    function takeRightWhile(array, predicate) {
+	      return (array && array.length)
+	        ? baseWhile(array, getIteratee(predicate, 3), false, true)
+	        : [];
+	    }
+
+	    /**
+	     * Creates a slice of `array` with elements taken from the beginning. Elements
+	     * are taken until `predicate` returns falsey. The predicate is invoked with
+	     * three arguments: (value, index, array).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Array
+	     * @param {Array} array The array to query.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the slice of `array`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'active': false },
+	     *   { 'user': 'fred',    'active': false},
+	     *   { 'user': 'pebbles', 'active': true }
+	     * ];
+	     *
+	     * _.takeWhile(users, function(o) { return !o.active; });
+	     * // => objects for ['barney', 'fred']
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.takeWhile(users, { 'user': 'barney', 'active': false });
+	     * // => objects for ['barney']
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.takeWhile(users, ['active', false]);
+	     * // => objects for ['barney', 'fred']
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.takeWhile(users, 'active');
+	     * // => []
+	     */
+	    function takeWhile(array, predicate) {
+	      return (array && array.length)
+	        ? baseWhile(array, getIteratee(predicate, 3))
+	        : [];
+	    }
+
+	    /**
+	     * Creates an array of unique values, in order, from all given arrays using
+	     * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @returns {Array} Returns the new array of combined values.
+	     * @example
+	     *
+	     * _.union([2, 1], [4, 2], [1, 2]);
+	     * // => [2, 1, 4]
+	     */
+	    var union = rest(function(arrays) {
+	      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
+	    });
+
+	    /**
+	     * This method is like `_.union` except that it accepts `iteratee` which is
+	     * invoked for each element of each `arrays` to generate the criterion by
+	     * which uniqueness is computed. The iteratee is invoked with one argument:
+	     * (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Array} Returns the new array of combined values.
+	     * @example
+	     *
+	     * _.unionBy([2.1, 1.2], [4.3, 2.4], Math.floor);
+	     * // => [2.1, 1.2, 4.3]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
+	     * // => [{ 'x': 1 }, { 'x': 2 }]
+	     */
+	    var unionBy = rest(function(arrays) {
+	      var iteratee = last(arrays);
+	      if (isArrayLikeObject(iteratee)) {
+	        iteratee = undefined;
+	      }
+	      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee));
+	    });
+
+	    /**
+	     * This method is like `_.union` except that it accepts `comparator` which
+	     * is invoked to compare elements of `arrays`. The comparator is invoked
+	     * with two arguments: (arrVal, othVal).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of combined values.
+	     * @example
+	     *
+	     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
+	     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
+	     *
+	     * _.unionWith(objects, others, _.isEqual);
+	     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
+	     */
+	    var unionWith = rest(function(arrays) {
+	      var comparator = last(arrays);
+	      if (isArrayLikeObject(comparator)) {
+	        comparator = undefined;
+	      }
+	      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
+	    });
+
+	    /**
+	     * Creates a duplicate-free version of an array, using
+	     * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons, in which only the first occurrence of each
+	     * element is kept.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @returns {Array} Returns the new duplicate free array.
+	     * @example
+	     *
+	     * _.uniq([2, 1, 2]);
+	     * // => [2, 1]
+	     */
+	    function uniq(array) {
+	      return (array && array.length)
+	        ? baseUniq(array)
+	        : [];
+	    }
+
+	    /**
+	     * This method is like `_.uniq` except that it accepts `iteratee` which is
+	     * invoked for each element in `array` to generate the criterion by which
+	     * uniqueness is computed. The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Array} Returns the new duplicate free array.
+	     * @example
+	     *
+	     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
+	     * // => [2.1, 1.2]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
+	     * // => [{ 'x': 1 }, { 'x': 2 }]
+	     */
+	    function uniqBy(array, iteratee) {
+	      return (array && array.length)
+	        ? baseUniq(array, getIteratee(iteratee))
+	        : [];
+	    }
+
+	    /**
+	     * This method is like `_.uniq` except that it accepts `comparator` which
+	     * is invoked to compare elements of `array`. The comparator is invoked with
+	     * two arguments: (arrVal, othVal).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {Array} array The array to inspect.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new duplicate free array.
+	     * @example
+	     *
+	     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 },  { 'x': 1, 'y': 2 }];
+	     *
+	     * _.uniqWith(objects, _.isEqual);
+	     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
+	     */
+	    function uniqWith(array, comparator) {
+	      return (array && array.length)
+	        ? baseUniq(array, undefined, comparator)
+	        : [];
+	    }
+
+	    /**
+	     * This method is like `_.zip` except that it accepts an array of grouped
+	     * elements and creates an array regrouping the elements to their pre-zip
+	     * configuration.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.2.0
+	     * @category Array
+	     * @param {Array} array The array of grouped elements to process.
+	     * @returns {Array} Returns the new array of regrouped elements.
+	     * @example
+	     *
+	     * var zipped = _.zip(['fred', 'barney'], [30, 40], [true, false]);
+	     * // => [['fred', 30, true], ['barney', 40, false]]
+	     *
+	     * _.unzip(zipped);
+	     * // => [['fred', 'barney'], [30, 40], [true, false]]
+	     */
+	    function unzip(array) {
+	      if (!(array && array.length)) {
+	        return [];
+	      }
+	      var length = 0;
+	      array = arrayFilter(array, function(group) {
+	        if (isArrayLikeObject(group)) {
+	          length = nativeMax(group.length, length);
+	          return true;
+	        }
+	      });
+	      return baseTimes(length, function(index) {
+	        return arrayMap(array, baseProperty(index));
+	      });
+	    }
+
+	    /**
+	     * This method is like `_.unzip` except that it accepts `iteratee` to specify
+	     * how regrouped values should be combined. The iteratee is invoked with the
+	     * elements of each group: (...group).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.8.0
+	     * @category Array
+	     * @param {Array} array The array of grouped elements to process.
+	     * @param {Function} [iteratee=_.identity] The function to combine
+	     *  regrouped values.
+	     * @returns {Array} Returns the new array of regrouped elements.
+	     * @example
+	     *
+	     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);
+	     * // => [[1, 10, 100], [2, 20, 200]]
+	     *
+	     * _.unzipWith(zipped, _.add);
+	     * // => [3, 30, 300]
+	     */
+	    function unzipWith(array, iteratee) {
+	      if (!(array && array.length)) {
+	        return [];
+	      }
+	      var result = unzip(array);
+	      if (iteratee == null) {
+	        return result;
+	      }
+	      return arrayMap(result, function(group) {
+	        return apply(iteratee, undefined, group);
+	      });
+	    }
+
+	    /**
+	     * Creates an array excluding all given values using
+	     * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * for equality comparisons.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {Array} array The array to filter.
+	     * @param {...*} [values] The values to exclude.
+	     * @returns {Array} Returns the new array of filtered values.
+	     * @example
+	     *
+	     * _.without([1, 2, 1, 3], 1, 2);
+	     * // => [3]
+	     */
+	    var without = rest(function(array, values) {
+	      return isArrayLikeObject(array)
+	        ? baseDifference(array, values)
+	        : [];
+	    });
+
+	    /**
+	     * Creates an array of unique values that is the
+	     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
+	     * of the given arrays. The order of result values is determined by the order
+	     * they occur in the arrays.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.4.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @returns {Array} Returns the new array of values.
+	     * @example
+	     *
+	     * _.xor([2, 1], [4, 2]);
+	     * // => [1, 4]
+	     */
+	    var xor = rest(function(arrays) {
+	      return baseXor(arrayFilter(arrays, isArrayLikeObject));
+	    });
+
+	    /**
+	     * This method is like `_.xor` except that it accepts `iteratee` which is
+	     * invoked for each element of each `arrays` to generate the criterion by
+	     * which by which they're compared. The iteratee is invoked with one argument:
+	     * (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Array} Returns the new array of values.
+	     * @example
+	     *
+	     * _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor);
+	     * // => [1.2, 4.3]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
+	     * // => [{ 'x': 2 }]
+	     */
+	    var xorBy = rest(function(arrays) {
+	      var iteratee = last(arrays);
+	      if (isArrayLikeObject(iteratee)) {
+	        iteratee = undefined;
+	      }
+	      return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee));
+	    });
+
+	    /**
+	     * This method is like `_.xor` except that it accepts `comparator` which is
+	     * invoked to compare elements of `arrays`. The comparator is invoked with
+	     * two arguments: (arrVal, othVal).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to inspect.
+	     * @param {Function} [comparator] The comparator invoked per element.
+	     * @returns {Array} Returns the new array of values.
+	     * @example
+	     *
+	     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
+	     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
+	     *
+	     * _.xorWith(objects, others, _.isEqual);
+	     * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
+	     */
+	    var xorWith = rest(function(arrays) {
+	      var comparator = last(arrays);
+	      if (isArrayLikeObject(comparator)) {
+	        comparator = undefined;
+	      }
+	      return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);
+	    });
+
+	    /**
+	     * Creates an array of grouped elements, the first of which contains the
+	     * first elements of the given arrays, the second of which contains the
+	     * second elements of the given arrays, and so on.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to process.
+	     * @returns {Array} Returns the new array of grouped elements.
+	     * @example
+	     *
+	     * _.zip(['fred', 'barney'], [30, 40], [true, false]);
+	     * // => [['fred', 30, true], ['barney', 40, false]]
+	     */
+	    var zip = rest(unzip);
+
+	    /**
+	     * This method is like `_.fromPairs` except that it accepts two arrays,
+	     * one of property identifiers and one of corresponding values.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.4.0
+	     * @category Array
+	     * @param {Array} [props=[]] The property identifiers.
+	     * @param {Array} [values=[]] The property values.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * _.zipObject(['a', 'b'], [1, 2]);
+	     * // => { 'a': 1, 'b': 2 }
+	     */
+	    function zipObject(props, values) {
+	      return baseZipObject(props || [], values || [], assignValue);
+	    }
+
+	    /**
+	     * This method is like `_.zipObject` except that it supports property paths.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.1.0
+	     * @category Array
+	     * @param {Array} [props=[]] The property identifiers.
+	     * @param {Array} [values=[]] The property values.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
+	     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
+	     */
+	    function zipObjectDeep(props, values) {
+	      return baseZipObject(props || [], values || [], baseSet);
+	    }
+
+	    /**
+	     * This method is like `_.zip` except that it accepts `iteratee` to specify
+	     * how grouped values should be combined. The iteratee is invoked with the
+	     * elements of each group: (...group).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.8.0
+	     * @category Array
+	     * @param {...Array} [arrays] The arrays to process.
+	     * @param {Function} [iteratee=_.identity] The function to combine grouped values.
+	     * @returns {Array} Returns the new array of grouped elements.
+	     * @example
+	     *
+	     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
+	     *   return a + b + c;
+	     * });
+	     * // => [111, 222]
+	     */
+	    var zipWith = rest(function(arrays) {
+	      var length = arrays.length,
+	          iteratee = length > 1 ? arrays[length - 1] : undefined;
+
+	      iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;
+	      return unzipWith(arrays, iteratee);
+	    });
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates a `lodash` wrapper instance that wraps `value` with explicit method
+	     * chain sequences enabled. The result of such sequences must be unwrapped
+	     * with `_#value`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.3.0
+	     * @category Seq
+	     * @param {*} value The value to wrap.
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'age': 36 },
+	     *   { 'user': 'fred',    'age': 40 },
+	     *   { 'user': 'pebbles', 'age': 1 }
+	     * ];
+	     *
+	     * var youngest = _
+	     *   .chain(users)
+	     *   .sortBy('age')
+	     *   .map(function(o) {
+	     *     return o.user + ' is ' + o.age;
+	     *   })
+	     *   .head()
+	     *   .value();
+	     * // => 'pebbles is 1'
+	     */
+	    function chain(value) {
+	      var result = lodash(value);
+	      result.__chain__ = true;
+	      return result;
+	    }
+
+	    /**
+	     * This method invokes `interceptor` and returns `value`. The interceptor
+	     * is invoked with one argument; (value). The purpose of this method is to
+	     * "tap into" a method chain sequence in order to modify intermediate results.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Seq
+	     * @param {*} value The value to provide to `interceptor`.
+	     * @param {Function} interceptor The function to invoke.
+	     * @returns {*} Returns `value`.
+	     * @example
+	     *
+	     * _([1, 2, 3])
+	     *  .tap(function(array) {
+	     *    // Mutate input array.
+	     *    array.pop();
+	     *  })
+	     *  .reverse()
+	     *  .value();
+	     * // => [2, 1]
+	     */
+	    function tap(value, interceptor) {
+	      interceptor(value);
+	      return value;
+	    }
+
+	    /**
+	     * This method is like `_.tap` except that it returns the result of `interceptor`.
+	     * The purpose of this method is to "pass thru" values replacing intermediate
+	     * results in a method chain sequence.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Seq
+	     * @param {*} value The value to provide to `interceptor`.
+	     * @param {Function} interceptor The function to invoke.
+	     * @returns {*} Returns the result of `interceptor`.
+	     * @example
+	     *
+	     * _('  abc  ')
+	     *  .chain()
+	     *  .trim()
+	     *  .thru(function(value) {
+	     *    return [value];
+	     *  })
+	     *  .value();
+	     * // => ['abc']
+	     */
+	    function thru(value, interceptor) {
+	      return interceptor(value);
+	    }
+
+	    /**
+	     * This method is the wrapper version of `_.at`.
+	     *
+	     * @name at
+	     * @memberOf _
+	     * @since 1.0.0
+	     * @category Seq
+	     * @param {...(string|string[])} [paths] The property paths of elements to pick.
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
+	     *
+	     * _(object).at(['a[0].b.c', 'a[1]']).value();
+	     * // => [3, 4]
+	     *
+	     * _(['a', 'b', 'c']).at(0, 2).value();
+	     * // => ['a', 'c']
+	     */
+	    var wrapperAt = rest(function(paths) {
+	      paths = baseFlatten(paths, 1);
+	      var length = paths.length,
+	          start = length ? paths[0] : 0,
+	          value = this.__wrapped__,
+	          interceptor = function(object) { return baseAt(object, paths); };
+
+	      if (length > 1 || this.__actions__.length ||
+	          !(value instanceof LazyWrapper) || !isIndex(start)) {
+	        return this.thru(interceptor);
+	      }
+	      value = value.slice(start, +start + (length ? 1 : 0));
+	      value.__actions__.push({
+	        'func': thru,
+	        'args': [interceptor],
+	        'thisArg': undefined
+	      });
+	      return new LodashWrapper(value, this.__chain__).thru(function(array) {
+	        if (length && !array.length) {
+	          array.push(undefined);
+	        }
+	        return array;
+	      });
+	    });
+
+	    /**
+	     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
+	     *
+	     * @name chain
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Seq
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36 },
+	     *   { 'user': 'fred',   'age': 40 }
+	     * ];
+	     *
+	     * // A sequence without explicit chaining.
+	     * _(users).head();
+	     * // => { 'user': 'barney', 'age': 36 }
+	     *
+	     * // A sequence with explicit chaining.
+	     * _(users)
+	     *   .chain()
+	     *   .head()
+	     *   .pick('user')
+	     *   .value();
+	     * // => { 'user': 'barney' }
+	     */
+	    function wrapperChain() {
+	      return chain(this);
+	    }
+
+	    /**
+	     * Executes the chain sequence and returns the wrapped result.
+	     *
+	     * @name commit
+	     * @memberOf _
+	     * @since 3.2.0
+	     * @category Seq
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * var array = [1, 2];
+	     * var wrapped = _(array).push(3);
+	     *
+	     * console.log(array);
+	     * // => [1, 2]
+	     *
+	     * wrapped = wrapped.commit();
+	     * console.log(array);
+	     * // => [1, 2, 3]
+	     *
+	     * wrapped.last();
+	     * // => 3
+	     *
+	     * console.log(array);
+	     * // => [1, 2, 3]
+	     */
+	    function wrapperCommit() {
+	      return new LodashWrapper(this.value(), this.__chain__);
+	    }
+
+	    /**
+	     * Gets the next value on a wrapped object following the
+	     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).
+	     *
+	     * @name next
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Seq
+	     * @returns {Object} Returns the next iterator value.
+	     * @example
+	     *
+	     * var wrapped = _([1, 2]);
+	     *
+	     * wrapped.next();
+	     * // => { 'done': false, 'value': 1 }
+	     *
+	     * wrapped.next();
+	     * // => { 'done': false, 'value': 2 }
+	     *
+	     * wrapped.next();
+	     * // => { 'done': true, 'value': undefined }
+	     */
+	    function wrapperNext() {
+	      if (this.__values__ === undefined) {
+	        this.__values__ = toArray(this.value());
+	      }
+	      var done = this.__index__ >= this.__values__.length,
+	          value = done ? undefined : this.__values__[this.__index__++];
+
+	      return { 'done': done, 'value': value };
+	    }
+
+	    /**
+	     * Enables the wrapper to be iterable.
+	     *
+	     * @name Symbol.iterator
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Seq
+	     * @returns {Object} Returns the wrapper object.
+	     * @example
+	     *
+	     * var wrapped = _([1, 2]);
+	     *
+	     * wrapped[Symbol.iterator]() === wrapped;
+	     * // => true
+	     *
+	     * Array.from(wrapped);
+	     * // => [1, 2]
+	     */
+	    function wrapperToIterator() {
+	      return this;
+	    }
+
+	    /**
+	     * Creates a clone of the chain sequence planting `value` as the wrapped value.
+	     *
+	     * @name plant
+	     * @memberOf _
+	     * @since 3.2.0
+	     * @category Seq
+	     * @param {*} value The value to plant.
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * function square(n) {
+	     *   return n * n;
+	     * }
+	     *
+	     * var wrapped = _([1, 2]).map(square);
+	     * var other = wrapped.plant([3, 4]);
+	     *
+	     * other.value();
+	     * // => [9, 16]
+	     *
+	     * wrapped.value();
+	     * // => [1, 4]
+	     */
+	    function wrapperPlant(value) {
+	      var result,
+	          parent = this;
+
+	      while (parent instanceof baseLodash) {
+	        var clone = wrapperClone(parent);
+	        clone.__index__ = 0;
+	        clone.__values__ = undefined;
+	        if (result) {
+	          previous.__wrapped__ = clone;
+	        } else {
+	          result = clone;
+	        }
+	        var previous = clone;
+	        parent = parent.__wrapped__;
+	      }
+	      previous.__wrapped__ = value;
+	      return result;
+	    }
+
+	    /**
+	     * This method is the wrapper version of `_.reverse`.
+	     *
+	     * **Note:** This method mutates the wrapped array.
+	     *
+	     * @name reverse
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Seq
+	     * @returns {Object} Returns the new `lodash` wrapper instance.
+	     * @example
+	     *
+	     * var array = [1, 2, 3];
+	     *
+	     * _(array).reverse().value()
+	     * // => [3, 2, 1]
+	     *
+	     * console.log(array);
+	     * // => [3, 2, 1]
+	     */
+	    function wrapperReverse() {
+	      var value = this.__wrapped__;
+	      if (value instanceof LazyWrapper) {
+	        var wrapped = value;
+	        if (this.__actions__.length) {
+	          wrapped = new LazyWrapper(this);
+	        }
+	        wrapped = wrapped.reverse();
+	        wrapped.__actions__.push({
+	          'func': thru,
+	          'args': [reverse],
+	          'thisArg': undefined
+	        });
+	        return new LodashWrapper(wrapped, this.__chain__);
+	      }
+	      return this.thru(reverse);
+	    }
+
+	    /**
+	     * Executes the chain sequence to resolve the unwrapped value.
+	     *
+	     * @name value
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @alias toJSON, valueOf
+	     * @category Seq
+	     * @returns {*} Returns the resolved unwrapped value.
+	     * @example
+	     *
+	     * _([1, 2, 3]).value();
+	     * // => [1, 2, 3]
+	     */
+	    function wrapperValue() {
+	      return baseWrapperValue(this.__wrapped__, this.__actions__);
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Creates an object composed of keys generated from the results of running
+	     * each element of `collection` thru `iteratee`. The corresponding value of
+	     * each key is the number of times the key was returned by `iteratee`. The
+	     * iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.5.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee to transform keys.
+	     * @returns {Object} Returns the composed aggregate object.
+	     * @example
+	     *
+	     * _.countBy([6.1, 4.2, 6.3], Math.floor);
+	     * // => { '4': 1, '6': 2 }
+	     *
+	     * _.countBy(['one', 'two', 'three'], 'length');
+	     * // => { '3': 2, '5': 1 }
+	     */
+	    var countBy = createAggregator(function(result, value, key) {
+	      hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1);
+	    });
+
+	    /**
+	     * Checks if `predicate` returns truthy for **all** elements of `collection`.
+	     * Iteration is stopped once `predicate` returns falsey. The predicate is
+	     * invoked with three arguments: (value, index|key, collection).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {boolean} Returns `true` if all elements pass the predicate check,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.every([true, 1, null, 'yes'], Boolean);
+	     * // => false
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36, 'active': false },
+	     *   { 'user': 'fred',   'age': 40, 'active': false }
+	     * ];
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.every(users, { 'user': 'barney', 'active': false });
+	     * // => false
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.every(users, ['active', false]);
+	     * // => true
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.every(users, 'active');
+	     * // => false
+	     */
+	    function every(collection, predicate, guard) {
+	      var func = isArray(collection) ? arrayEvery : baseEvery;
+	      if (guard && isIterateeCall(collection, predicate, guard)) {
+	        predicate = undefined;
+	      }
+	      return func(collection, getIteratee(predicate, 3));
+	    }
+
+	    /**
+	     * Iterates over elements of `collection`, returning an array of all elements
+	     * `predicate` returns truthy for. The predicate is invoked with three
+	     * arguments: (value, index|key, collection).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the new filtered array.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36, 'active': true },
+	     *   { 'user': 'fred',   'age': 40, 'active': false }
+	     * ];
+	     *
+	     * _.filter(users, function(o) { return !o.active; });
+	     * // => objects for ['fred']
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.filter(users, { 'age': 36, 'active': true });
+	     * // => objects for ['barney']
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.filter(users, ['active', false]);
+	     * // => objects for ['fred']
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.filter(users, 'active');
+	     * // => objects for ['barney']
+	     */
+	    function filter(collection, predicate) {
+	      var func = isArray(collection) ? arrayFilter : baseFilter;
+	      return func(collection, getIteratee(predicate, 3));
+	    }
+
+	    /**
+	     * Iterates over elements of `collection`, returning the first element
+	     * `predicate` returns truthy for. The predicate is invoked with three
+	     * arguments: (value, index|key, collection).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to search.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {*} Returns the matched element, else `undefined`.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'age': 36, 'active': true },
+	     *   { 'user': 'fred',    'age': 40, 'active': false },
+	     *   { 'user': 'pebbles', 'age': 1,  'active': true }
+	     * ];
+	     *
+	     * _.find(users, function(o) { return o.age < 40; });
+	     * // => object for 'barney'
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.find(users, { 'age': 1, 'active': true });
+	     * // => object for 'pebbles'
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.find(users, ['active', false]);
+	     * // => object for 'fred'
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.find(users, 'active');
+	     * // => object for 'barney'
+	     */
+	    function find(collection, predicate) {
+	      predicate = getIteratee(predicate, 3);
+	      if (isArray(collection)) {
+	        var index = baseFindIndex(collection, predicate);
+	        return index > -1 ? collection[index] : undefined;
+	      }
+	      return baseFind(collection, predicate, baseEach);
+	    }
+
+	    /**
+	     * This method is like `_.find` except that it iterates over elements of
+	     * `collection` from right to left.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to search.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {*} Returns the matched element, else `undefined`.
+	     * @example
+	     *
+	     * _.findLast([1, 2, 3, 4], function(n) {
+	     *   return n % 2 == 1;
+	     * });
+	     * // => 3
+	     */
+	    function findLast(collection, predicate) {
+	      predicate = getIteratee(predicate, 3);
+	      if (isArray(collection)) {
+	        var index = baseFindIndex(collection, predicate, true);
+	        return index > -1 ? collection[index] : undefined;
+	      }
+	      return baseFind(collection, predicate, baseEachRight);
+	    }
+
+	    /**
+	     * Creates a flattened array of values by running each element in `collection`
+	     * thru `iteratee` and flattening the mapped results. The iteratee is invoked
+	     * with three arguments: (value, index|key, collection).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the new flattened array.
+	     * @example
+	     *
+	     * function duplicate(n) {
+	     *   return [n, n];
+	     * }
+	     *
+	     * _.flatMap([1, 2], duplicate);
+	     * // => [1, 1, 2, 2]
+	     */
+	    function flatMap(collection, iteratee) {
+	      return baseFlatten(map(collection, iteratee), 1);
+	    }
+
+	    /**
+	     * This method is like `_.flatMap` except that it recursively flattens the
+	     * mapped results.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.7.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the new flattened array.
+	     * @example
+	     *
+	     * function duplicate(n) {
+	     *   return [[[n, n]]];
+	     * }
+	     *
+	     * _.flatMapDeep([1, 2], duplicate);
+	     * // => [1, 1, 2, 2]
+	     */
+	    function flatMapDeep(collection, iteratee) {
+	      return baseFlatten(map(collection, iteratee), INFINITY);
+	    }
+
+	    /**
+	     * This method is like `_.flatMap` except that it recursively flattens the
+	     * mapped results up to `depth` times.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.7.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The function invoked per iteration.
+	     * @param {number} [depth=1] The maximum recursion depth.
+	     * @returns {Array} Returns the new flattened array.
+	     * @example
+	     *
+	     * function duplicate(n) {
+	     *   return [[[n, n]]];
+	     * }
+	     *
+	     * _.flatMapDepth([1, 2], duplicate, 2);
+	     * // => [[1, 1], [2, 2]]
+	     */
+	    function flatMapDepth(collection, iteratee, depth) {
+	      depth = depth === undefined ? 1 : toInteger(depth);
+	      return baseFlatten(map(collection, iteratee), depth);
+	    }
+
+	    /**
+	     * Iterates over elements of `collection` and invokes `iteratee` for each element.
+	     * The iteratee is invoked with three arguments: (value, index|key, collection).
+	     * Iteratee functions may exit iteration early by explicitly returning `false`.
+	     *
+	     * **Note:** As with other "Collections" methods, objects with a "length"
+	     * property are iterated like arrays. To avoid this behavior use `_.forIn`
+	     * or `_.forOwn` for object iteration.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @alias each
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Array|Object} Returns `collection`.
+	     * @example
+	     *
+	     * _([1, 2]).forEach(function(value) {
+	     *   console.log(value);
+	     * });
+	     * // => Logs `1` then `2`.
+	     *
+	     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
+	     *   console.log(key);
+	     * });
+	     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
+	     */
+	    function forEach(collection, iteratee) {
+	      return (typeof iteratee == 'function' && isArray(collection))
+	        ? arrayEach(collection, iteratee)
+	        : baseEach(collection, getIteratee(iteratee));
+	    }
+
+	    /**
+	     * This method is like `_.forEach` except that it iterates over elements of
+	     * `collection` from right to left.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @alias eachRight
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Array|Object} Returns `collection`.
+	     * @example
+	     *
+	     * _.forEachRight([1, 2], function(value) {
+	     *   console.log(value);
+	     * });
+	     * // => Logs `2` then `1`.
+	     */
+	    function forEachRight(collection, iteratee) {
+	      return (typeof iteratee == 'function' && isArray(collection))
+	        ? arrayEachRight(collection, iteratee)
+	        : baseEachRight(collection, getIteratee(iteratee));
+	    }
+
+	    /**
+	     * Creates an object composed of keys generated from the results of running
+	     * each element of `collection` thru `iteratee`. The order of grouped values
+	     * is determined by the order they occur in `collection`. The corresponding
+	     * value of each key is an array of elements responsible for generating the
+	     * key. The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee to transform keys.
+	     * @returns {Object} Returns the composed aggregate object.
+	     * @example
+	     *
+	     * _.groupBy([6.1, 4.2, 6.3], Math.floor);
+	     * // => { '4': [4.2], '6': [6.1, 6.3] }
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.groupBy(['one', 'two', 'three'], 'length');
+	     * // => { '3': ['one', 'two'], '5': ['three'] }
+	     */
+	    var groupBy = createAggregator(function(result, value, key) {
+	      if (hasOwnProperty.call(result, key)) {
+	        result[key].push(value);
+	      } else {
+	        result[key] = [value];
+	      }
+	    });
+
+	    /**
+	     * Checks if `value` is in `collection`. If `collection` is a string, it's
+	     * checked for a substring of `value`, otherwise
+	     * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * is used for equality comparisons. If `fromIndex` is negative, it's used as
+	     * the offset from the end of `collection`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object|string} collection The collection to search.
+	     * @param {*} value The value to search for.
+	     * @param {number} [fromIndex=0] The index to search from.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
+	     * @returns {boolean} Returns `true` if `value` is found, else `false`.
+	     * @example
+	     *
+	     * _.includes([1, 2, 3], 1);
+	     * // => true
+	     *
+	     * _.includes([1, 2, 3], 1, 2);
+	     * // => false
+	     *
+	     * _.includes({ 'user': 'fred', 'age': 40 }, 'fred');
+	     * // => true
+	     *
+	     * _.includes('pebbles', 'eb');
+	     * // => true
+	     */
+	    function includes(collection, value, fromIndex, guard) {
+	      collection = isArrayLike(collection) ? collection : values(collection);
+	      fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;
+
+	      var length = collection.length;
+	      if (fromIndex < 0) {
+	        fromIndex = nativeMax(length + fromIndex, 0);
+	      }
+	      return isString(collection)
+	        ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)
+	        : (!!length && baseIndexOf(collection, value, fromIndex) > -1);
+	    }
+
+	    /**
+	     * Invokes the method at `path` of each element in `collection`, returning
+	     * an array of the results of each invoked method. Any additional arguments
+	     * are provided to each invoked method. If `methodName` is a function, it's
+	     * invoked for and `this` bound to, each element in `collection`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|string} path The path of the method to invoke or
+	     *  the function invoked per iteration.
+	     * @param {...*} [args] The arguments to invoke each method with.
+	     * @returns {Array} Returns the array of results.
+	     * @example
+	     *
+	     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');
+	     * // => [[1, 5, 7], [1, 2, 3]]
+	     *
+	     * _.invokeMap([123, 456], String.prototype.split, '');
+	     * // => [['1', '2', '3'], ['4', '5', '6']]
+	     */
+	    var invokeMap = rest(function(collection, path, args) {
+	      var index = -1,
+	          isFunc = typeof path == 'function',
+	          isProp = isKey(path),
+	          result = isArrayLike(collection) ? Array(collection.length) : [];
+
+	      baseEach(collection, function(value) {
+	        var func = isFunc ? path : ((isProp && value != null) ? value[path] : undefined);
+	        result[++index] = func ? apply(func, value, args) : baseInvoke(value, path, args);
+	      });
+	      return result;
+	    });
+
+	    /**
+	     * Creates an object composed of keys generated from the results of running
+	     * each element of `collection` thru `iteratee`. The corresponding value of
+	     * each key is the last element responsible for generating the key. The
+	     * iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee to transform keys.
+	     * @returns {Object} Returns the composed aggregate object.
+	     * @example
+	     *
+	     * var array = [
+	     *   { 'dir': 'left', 'code': 97 },
+	     *   { 'dir': 'right', 'code': 100 }
+	     * ];
+	     *
+	     * _.keyBy(array, function(o) {
+	     *   return String.fromCharCode(o.code);
+	     * });
+	     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
+	     *
+	     * _.keyBy(array, 'dir');
+	     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }
+	     */
+	    var keyBy = createAggregator(function(result, value, key) {
+	      result[key] = value;
+	    });
+
+	    /**
+	     * Creates an array of values by running each element in `collection` thru
+	     * `iteratee`. The iteratee is invoked with three arguments:
+	     * (value, index|key, collection).
+	     *
+	     * Many lodash methods are guarded to work as iteratees for methods like
+	     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
+	     *
+	     * The guarded methods are:
+	     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
+	     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
+	     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
+	     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the new mapped array.
+	     * @example
+	     *
+	     * function square(n) {
+	     *   return n * n;
+	     * }
+	     *
+	     * _.map([4, 8], square);
+	     * // => [16, 64]
+	     *
+	     * _.map({ 'a': 4, 'b': 8 }, square);
+	     * // => [16, 64] (iteration order is not guaranteed)
+	     *
+	     * var users = [
+	     *   { 'user': 'barney' },
+	     *   { 'user': 'fred' }
+	     * ];
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.map(users, 'user');
+	     * // => ['barney', 'fred']
+	     */
+	    function map(collection, iteratee) {
+	      var func = isArray(collection) ? arrayMap : baseMap;
+	      return func(collection, getIteratee(iteratee, 3));
+	    }
+
+	    /**
+	     * This method is like `_.sortBy` except that it allows specifying the sort
+	     * orders of the iteratees to sort by. If `orders` is unspecified, all values
+	     * are sorted in ascending order. Otherwise, specify an order of "desc" for
+	     * descending or "asc" for ascending sort order of corresponding values.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]
+	     *  The iteratees to sort by.
+	     * @param {string[]} [orders] The sort orders of `iteratees`.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
+	     * @returns {Array} Returns the new sorted array.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'fred',   'age': 48 },
+	     *   { 'user': 'barney', 'age': 34 },
+	     *   { 'user': 'fred',   'age': 40 },
+	     *   { 'user': 'barney', 'age': 36 }
+	     * ];
+	     *
+	     * // Sort by `user` in ascending order and by `age` in descending order.
+	     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
+	     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
+	     */
+	    function orderBy(collection, iteratees, orders, guard) {
+	      if (collection == null) {
+	        return [];
+	      }
+	      if (!isArray(iteratees)) {
+	        iteratees = iteratees == null ? [] : [iteratees];
+	      }
+	      orders = guard ? undefined : orders;
+	      if (!isArray(orders)) {
+	        orders = orders == null ? [] : [orders];
+	      }
+	      return baseOrderBy(collection, iteratees, orders);
+	    }
+
+	    /**
+	     * Creates an array of elements split into two groups, the first of which
+	     * contains elements `predicate` returns truthy for, the second of which
+	     * contains elements `predicate` returns falsey for. The predicate is
+	     * invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the array of grouped elements.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney',  'age': 36, 'active': false },
+	     *   { 'user': 'fred',    'age': 40, 'active': true },
+	     *   { 'user': 'pebbles', 'age': 1,  'active': false }
+	     * ];
+	     *
+	     * _.partition(users, function(o) { return o.active; });
+	     * // => objects for [['fred'], ['barney', 'pebbles']]
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.partition(users, { 'age': 1, 'active': false });
+	     * // => objects for [['pebbles'], ['barney', 'fred']]
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.partition(users, ['active', false]);
+	     * // => objects for [['barney', 'pebbles'], ['fred']]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.partition(users, 'active');
+	     * // => objects for [['fred'], ['barney', 'pebbles']]
+	     */
+	    var partition = createAggregator(function(result, value, key) {
+	      result[key ? 0 : 1].push(value);
+	    }, function() { return [[], []]; });
+
+	    /**
+	     * Reduces `collection` to a value which is the accumulated result of running
+	     * each element in `collection` thru `iteratee`, where each successive
+	     * invocation is supplied the return value of the previous. If `accumulator`
+	     * is not given, the first element of `collection` is used as the initial
+	     * value. The iteratee is invoked with four arguments:
+	     * (accumulator, value, index|key, collection).
+	     *
+	     * Many lodash methods are guarded to work as iteratees for methods like
+	     * `_.reduce`, `_.reduceRight`, and `_.transform`.
+	     *
+	     * The guarded methods are:
+	     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
+	     * and `sortBy`
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @param {*} [accumulator] The initial value.
+	     * @returns {*} Returns the accumulated value.
+	     * @example
+	     *
+	     * _.reduce([1, 2], function(sum, n) {
+	     *   return sum + n;
+	     * }, 0);
+	     * // => 3
+	     *
+	     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
+	     *   (result[value] || (result[value] = [])).push(key);
+	     *   return result;
+	     * }, {});
+	     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
+	     */
+	    function reduce(collection, iteratee, accumulator) {
+	      var func = isArray(collection) ? arrayReduce : baseReduce,
+	          initAccum = arguments.length < 3;
+
+	      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);
+	    }
+
+	    /**
+	     * This method is like `_.reduce` except that it iterates over elements of
+	     * `collection` from right to left.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @param {*} [accumulator] The initial value.
+	     * @returns {*} Returns the accumulated value.
+	     * @example
+	     *
+	     * var array = [[0, 1], [2, 3], [4, 5]];
+	     *
+	     * _.reduceRight(array, function(flattened, other) {
+	     *   return flattened.concat(other);
+	     * }, []);
+	     * // => [4, 5, 2, 3, 0, 1]
+	     */
+	    function reduceRight(collection, iteratee, accumulator) {
+	      var func = isArray(collection) ? arrayReduceRight : baseReduce,
+	          initAccum = arguments.length < 3;
+
+	      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);
+	    }
+
+	    /**
+	     * The opposite of `_.filter`; this method returns the elements of `collection`
+	     * that `predicate` does **not** return truthy for.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Array} Returns the new filtered array.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36, 'active': false },
+	     *   { 'user': 'fred',   'age': 40, 'active': true }
+	     * ];
+	     *
+	     * _.reject(users, function(o) { return !o.active; });
+	     * // => objects for ['fred']
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.reject(users, { 'age': 40, 'active': true });
+	     * // => objects for ['barney']
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.reject(users, ['active', false]);
+	     * // => objects for ['fred']
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.reject(users, 'active');
+	     * // => objects for ['barney']
+	     */
+	    function reject(collection, predicate) {
+	      var func = isArray(collection) ? arrayFilter : baseFilter;
+	      predicate = getIteratee(predicate, 3);
+	      return func(collection, function(value, index, collection) {
+	        return !predicate(value, index, collection);
+	      });
+	    }
+
+	    /**
+	     * Gets a random element from `collection`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to sample.
+	     * @returns {*} Returns the random element.
+	     * @example
+	     *
+	     * _.sample([1, 2, 3, 4]);
+	     * // => 2
+	     */
+	    function sample(collection) {
+	      var array = isArrayLike(collection) ? collection : values(collection),
+	          length = array.length;
+
+	      return length > 0 ? array[baseRandom(0, length - 1)] : undefined;
+	    }
+
+	    /**
+	     * Gets `n` random elements at unique keys from `collection` up to the
+	     * size of `collection`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to sample.
+	     * @param {number} [n=1] The number of elements to sample.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the random elements.
+	     * @example
+	     *
+	     * _.sampleSize([1, 2, 3], 2);
+	     * // => [3, 1]
+	     *
+	     * _.sampleSize([1, 2, 3], 4);
+	     * // => [2, 3, 1]
+	     */
+	    function sampleSize(collection, n, guard) {
+	      var index = -1,
+	          result = toArray(collection),
+	          length = result.length,
+	          lastIndex = length - 1;
+
+	      if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
+	        n = 1;
+	      } else {
+	        n = baseClamp(toInteger(n), 0, length);
+	      }
+	      while (++index < n) {
+	        var rand = baseRandom(index, lastIndex),
+	            value = result[rand];
+
+	        result[rand] = result[index];
+	        result[index] = value;
+	      }
+	      result.length = n;
+	      return result;
+	    }
+
+	    /**
+	     * Creates an array of shuffled values, using a version of the
+	     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to shuffle.
+	     * @returns {Array} Returns the new shuffled array.
+	     * @example
+	     *
+	     * _.shuffle([1, 2, 3, 4]);
+	     * // => [4, 1, 3, 2]
+	     */
+	    function shuffle(collection) {
+	      return sampleSize(collection, MAX_ARRAY_LENGTH);
+	    }
+
+	    /**
+	     * Gets the size of `collection` by returning its length for array-like
+	     * values or the number of own enumerable string keyed properties for objects.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to inspect.
+	     * @returns {number} Returns the collection size.
+	     * @example
+	     *
+	     * _.size([1, 2, 3]);
+	     * // => 3
+	     *
+	     * _.size({ 'a': 1, 'b': 2 });
+	     * // => 2
+	     *
+	     * _.size('pebbles');
+	     * // => 7
+	     */
+	    function size(collection) {
+	      if (collection == null) {
+	        return 0;
+	      }
+	      if (isArrayLike(collection)) {
+	        var result = collection.length;
+	        return (result && isString(collection)) ? stringSize(collection) : result;
+	      }
+	      if (isObjectLike(collection)) {
+	        var tag = getTag(collection);
+	        if (tag == mapTag || tag == setTag) {
+	          return collection.size;
+	        }
+	      }
+	      return keys(collection).length;
+	    }
+
+	    /**
+	     * Checks if `predicate` returns truthy for **any** element of `collection`.
+	     * Iteration is stopped once `predicate` returns truthy. The predicate is
+	     * invoked with three arguments: (value, index|key, collection).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {boolean} Returns `true` if any element passes the predicate check,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.some([null, 0, 'yes', false], Boolean);
+	     * // => true
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'active': true },
+	     *   { 'user': 'fred',   'active': false }
+	     * ];
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.some(users, { 'user': 'barney', 'active': false });
+	     * // => false
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.some(users, ['active', false]);
+	     * // => true
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.some(users, 'active');
+	     * // => true
+	     */
+	    function some(collection, predicate, guard) {
+	      var func = isArray(collection) ? arraySome : baseSome;
+	      if (guard && isIterateeCall(collection, predicate, guard)) {
+	        predicate = undefined;
+	      }
+	      return func(collection, getIteratee(predicate, 3));
+	    }
+
+	    /**
+	     * Creates an array of elements, sorted in ascending order by the results of
+	     * running each element in a collection thru each iteratee. This method
+	     * performs a stable sort, that is, it preserves the original sort order of
+	     * equal elements. The iteratees are invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Collection
+	     * @param {Array|Object} collection The collection to iterate over.
+	     * @param {...(Array|Array[]|Function|Function[]|Object|Object[]|string|string[])}
+	     *  [iteratees=[_.identity]] The iteratees to sort by.
+	     * @returns {Array} Returns the new sorted array.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'fred',   'age': 48 },
+	     *   { 'user': 'barney', 'age': 36 },
+	     *   { 'user': 'fred',   'age': 40 },
+	     *   { 'user': 'barney', 'age': 34 }
+	     * ];
+	     *
+	     * _.sortBy(users, function(o) { return o.user; });
+	     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
+	     *
+	     * _.sortBy(users, ['user', 'age']);
+	     * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
+	     *
+	     * _.sortBy(users, 'user', function(o) {
+	     *   return Math.floor(o.age / 10);
+	     * });
+	     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
+	     */
+	    var sortBy = rest(function(collection, iteratees) {
+	      if (collection == null) {
+	        return [];
+	      }
+	      var length = iteratees.length;
+	      if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
+	        iteratees = [];
+	      } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
+	        iteratees = [iteratees[0]];
+	      }
+	      iteratees = (iteratees.length == 1 && isArray(iteratees[0]))
+	        ? iteratees[0]
+	        : baseFlatten(iteratees, 1, isFlattenableIteratee);
+
+	      return baseOrderBy(collection, iteratees, []);
+	    });
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Gets the timestamp of the number of milliseconds that have elapsed since
+	     * the Unix epoch (1 January 1970 00:00:00 UTC).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.4.0
+	     * @type {Function}
+	     * @category Date
+	     * @returns {number} Returns the timestamp.
+	     * @example
+	     *
+	     * _.defer(function(stamp) {
+	     *   console.log(_.now() - stamp);
+	     * }, _.now());
+	     * // => Logs the number of milliseconds it took for the deferred function to be invoked.
+	     */
+	    var now = Date.now;
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * The opposite of `_.before`; this method creates a function that invokes
+	     * `func` once it's called `n` or more times.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {number} n The number of calls before `func` is invoked.
+	     * @param {Function} func The function to restrict.
+	     * @returns {Function} Returns the new restricted function.
+	     * @example
+	     *
+	     * var saves = ['profile', 'settings'];
+	     *
+	     * var done = _.after(saves.length, function() {
+	     *   console.log('done saving!');
+	     * });
+	     *
+	     * _.forEach(saves, function(type) {
+	     *   asyncSave({ 'type': type, 'complete': done });
+	     * });
+	     * // => Logs 'done saving!' after the two async saves have completed.
+	     */
+	    function after(n, func) {
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      n = toInteger(n);
+	      return function() {
+	        if (--n < 1) {
+	          return func.apply(this, arguments);
+	        }
+	      };
+	    }
+
+	    /**
+	     * Creates a function that invokes `func`, with up to `n` arguments,
+	     * ignoring any additional arguments.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Function
+	     * @param {Function} func The function to cap arguments for.
+	     * @param {number} [n=func.length] The arity cap.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * _.map(['6', '8', '10'], _.ary(parseInt, 1));
+	     * // => [6, 8, 10]
+	     */
+	    function ary(func, n, guard) {
+	      n = guard ? undefined : n;
+	      n = (func && n == null) ? func.length : n;
+	      return createWrapper(func, ARY_FLAG, undefined, undefined, undefined, undefined, n);
+	    }
+
+	    /**
+	     * Creates a function that invokes `func`, with the `this` binding and arguments
+	     * of the created function, while it's called less than `n` times. Subsequent
+	     * calls to the created function return the result of the last `func` invocation.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Function
+	     * @param {number} n The number of calls at which `func` is no longer invoked.
+	     * @param {Function} func The function to restrict.
+	     * @returns {Function} Returns the new restricted function.
+	     * @example
+	     *
+	     * jQuery(element).on('click', _.before(5, addContactToList));
+	     * // => allows adding up to 4 contacts to the list
+	     */
+	    function before(n, func) {
+	      var result;
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      n = toInteger(n);
+	      return function() {
+	        if (--n > 0) {
+	          result = func.apply(this, arguments);
+	        }
+	        if (n <= 1) {
+	          func = undefined;
+	        }
+	        return result;
+	      };
+	    }
+
+	    /**
+	     * Creates a function that invokes `func` with the `this` binding of `thisArg`
+	     * and `partials` prepended to the arguments it receives.
+	     *
+	     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
+	     * may be used as a placeholder for partially applied arguments.
+	     *
+	     * **Note:** Unlike native `Function#bind` this method doesn't set the "length"
+	     * property of bound functions.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to bind.
+	     * @param {*} thisArg The `this` binding of `func`.
+	     * @param {...*} [partials] The arguments to be partially applied.
+	     * @returns {Function} Returns the new bound function.
+	     * @example
+	     *
+	     * var greet = function(greeting, punctuation) {
+	     *   return greeting + ' ' + this.user + punctuation;
+	     * };
+	     *
+	     * var object = { 'user': 'fred' };
+	     *
+	     * var bound = _.bind(greet, object, 'hi');
+	     * bound('!');
+	     * // => 'hi fred!'
+	     *
+	     * // Bound with placeholders.
+	     * var bound = _.bind(greet, object, _, '!');
+	     * bound('hi');
+	     * // => 'hi fred!'
+	     */
+	    var bind = rest(function(func, thisArg, partials) {
+	      var bitmask = BIND_FLAG;
+	      if (partials.length) {
+	        var holders = replaceHolders(partials, getPlaceholder(bind));
+	        bitmask |= PARTIAL_FLAG;
+	      }
+	      return createWrapper(func, bitmask, thisArg, partials, holders);
+	    });
+
+	    /**
+	     * Creates a function that invokes the method at `object[key]` with `partials`
+	     * prepended to the arguments it receives.
+	     *
+	     * This method differs from `_.bind` by allowing bound functions to reference
+	     * methods that may be redefined or don't yet exist. See
+	     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)
+	     * for more details.
+	     *
+	     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic
+	     * builds, may be used as a placeholder for partially applied arguments.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.10.0
+	     * @category Function
+	     * @param {Object} object The object to invoke the method on.
+	     * @param {string} key The key of the method.
+	     * @param {...*} [partials] The arguments to be partially applied.
+	     * @returns {Function} Returns the new bound function.
+	     * @example
+	     *
+	     * var object = {
+	     *   'user': 'fred',
+	     *   'greet': function(greeting, punctuation) {
+	     *     return greeting + ' ' + this.user + punctuation;
+	     *   }
+	     * };
+	     *
+	     * var bound = _.bindKey(object, 'greet', 'hi');
+	     * bound('!');
+	     * // => 'hi fred!'
+	     *
+	     * object.greet = function(greeting, punctuation) {
+	     *   return greeting + 'ya ' + this.user + punctuation;
+	     * };
+	     *
+	     * bound('!');
+	     * // => 'hiya fred!'
+	     *
+	     * // Bound with placeholders.
+	     * var bound = _.bindKey(object, 'greet', _, '!');
+	     * bound('hi');
+	     * // => 'hiya fred!'
+	     */
+	    var bindKey = rest(function(object, key, partials) {
+	      var bitmask = BIND_FLAG | BIND_KEY_FLAG;
+	      if (partials.length) {
+	        var holders = replaceHolders(partials, getPlaceholder(bindKey));
+	        bitmask |= PARTIAL_FLAG;
+	      }
+	      return createWrapper(key, bitmask, object, partials, holders);
+	    });
+
+	    /**
+	     * Creates a function that accepts arguments of `func` and either invokes
+	     * `func` returning its result, if at least `arity` number of arguments have
+	     * been provided, or returns a function that accepts the remaining `func`
+	     * arguments, and so on. The arity of `func` may be specified if `func.length`
+	     * is not sufficient.
+	     *
+	     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
+	     * may be used as a placeholder for provided arguments.
+	     *
+	     * **Note:** This method doesn't set the "length" property of curried functions.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Function
+	     * @param {Function} func The function to curry.
+	     * @param {number} [arity=func.length] The arity of `func`.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Function} Returns the new curried function.
+	     * @example
+	     *
+	     * var abc = function(a, b, c) {
+	     *   return [a, b, c];
+	     * };
+	     *
+	     * var curried = _.curry(abc);
+	     *
+	     * curried(1)(2)(3);
+	     * // => [1, 2, 3]
+	     *
+	     * curried(1, 2)(3);
+	     * // => [1, 2, 3]
+	     *
+	     * curried(1, 2, 3);
+	     * // => [1, 2, 3]
+	     *
+	     * // Curried with placeholders.
+	     * curried(1)(_, 3)(2);
+	     * // => [1, 2, 3]
+	     */
+	    function curry(func, arity, guard) {
+	      arity = guard ? undefined : arity;
+	      var result = createWrapper(func, CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
+	      result.placeholder = curry.placeholder;
+	      return result;
+	    }
+
+	    /**
+	     * This method is like `_.curry` except that arguments are applied to `func`
+	     * in the manner of `_.partialRight` instead of `_.partial`.
+	     *
+	     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
+	     * builds, may be used as a placeholder for provided arguments.
+	     *
+	     * **Note:** This method doesn't set the "length" property of curried functions.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Function
+	     * @param {Function} func The function to curry.
+	     * @param {number} [arity=func.length] The arity of `func`.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Function} Returns the new curried function.
+	     * @example
+	     *
+	     * var abc = function(a, b, c) {
+	     *   return [a, b, c];
+	     * };
+	     *
+	     * var curried = _.curryRight(abc);
+	     *
+	     * curried(3)(2)(1);
+	     * // => [1, 2, 3]
+	     *
+	     * curried(2, 3)(1);
+	     * // => [1, 2, 3]
+	     *
+	     * curried(1, 2, 3);
+	     * // => [1, 2, 3]
+	     *
+	     * // Curried with placeholders.
+	     * curried(3)(1, _)(2);
+	     * // => [1, 2, 3]
+	     */
+	    function curryRight(func, arity, guard) {
+	      arity = guard ? undefined : arity;
+	      var result = createWrapper(func, CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
+	      result.placeholder = curryRight.placeholder;
+	      return result;
+	    }
+
+	    /**
+	     * Creates a debounced function that delays invoking `func` until after `wait`
+	     * milliseconds have elapsed since the last time the debounced function was
+	     * invoked. The debounced function comes with a `cancel` method to cancel
+	     * delayed `func` invocations and a `flush` method to immediately invoke them.
+	     * Provide an options object to indicate whether `func` should be invoked on
+	     * the leading and/or trailing edge of the `wait` timeout. The `func` is invoked
+	     * with the last arguments provided to the debounced function. Subsequent calls
+	     * to the debounced function return the result of the last `func` invocation.
+	     *
+	     * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked
+	     * on the trailing edge of the timeout only if the debounced function is
+	     * invoked more than once during the `wait` timeout.
+	     *
+	     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
+	     * for details over the differences between `_.debounce` and `_.throttle`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to debounce.
+	     * @param {number} [wait=0] The number of milliseconds to delay.
+	     * @param {Object} [options={}] The options object.
+	     * @param {boolean} [options.leading=false]
+	     *  Specify invoking on the leading edge of the timeout.
+	     * @param {number} [options.maxWait]
+	     *  The maximum time `func` is allowed to be delayed before it's invoked.
+	     * @param {boolean} [options.trailing=true]
+	     *  Specify invoking on the trailing edge of the timeout.
+	     * @returns {Function} Returns the new debounced function.
+	     * @example
+	     *
+	     * // Avoid costly calculations while the window size is in flux.
+	     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
+	     *
+	     * // Invoke `sendMail` when clicked, debouncing subsequent calls.
+	     * jQuery(element).on('click', _.debounce(sendMail, 300, {
+	     *   'leading': true,
+	     *   'trailing': false
+	     * }));
+	     *
+	     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
+	     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
+	     * var source = new EventSource('/stream');
+	     * jQuery(source).on('message', debounced);
+	     *
+	     * // Cancel the trailing debounced invocation.
+	     * jQuery(window).on('popstate', debounced.cancel);
+	     */
+	    function debounce(func, wait, options) {
+	      var lastArgs,
+	          lastThis,
+	          maxWait,
+	          result,
+	          timerId,
+	          lastCallTime = 0,
+	          lastInvokeTime = 0,
+	          leading = false,
+	          maxing = false,
+	          trailing = true;
+
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      wait = toNumber(wait) || 0;
+	      if (isObject(options)) {
+	        leading = !!options.leading;
+	        maxing = 'maxWait' in options;
+	        maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
+	        trailing = 'trailing' in options ? !!options.trailing : trailing;
+	      }
+
+	      function invokeFunc(time) {
+	        var args = lastArgs,
+	            thisArg = lastThis;
+
+	        lastArgs = lastThis = undefined;
+	        lastInvokeTime = time;
+	        result = func.apply(thisArg, args);
+	        return result;
+	      }
+
+	      function leadingEdge(time) {
+	        // Reset any `maxWait` timer.
+	        lastInvokeTime = time;
+	        // Start the timer for the trailing edge.
+	        timerId = setTimeout(timerExpired, wait);
+	        // Invoke the leading edge.
+	        return leading ? invokeFunc(time) : result;
+	      }
+
+	      function remainingWait(time) {
+	        var timeSinceLastCall = time - lastCallTime,
+	            timeSinceLastInvoke = time - lastInvokeTime,
+	            result = wait - timeSinceLastCall;
+
+	        return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
+	      }
+
+	      function shouldInvoke(time) {
+	        var timeSinceLastCall = time - lastCallTime,
+	            timeSinceLastInvoke = time - lastInvokeTime;
+
+	        // Either this is the first call, activity has stopped and we're at the
+	        // trailing edge, the system time has gone backwards and we're treating
+	        // it as the trailing edge, or we've hit the `maxWait` limit.
+	        return (!lastCallTime || (timeSinceLastCall >= wait) ||
+	          (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
+	      }
+
+	      function timerExpired() {
+	        var time = now();
+	        if (shouldInvoke(time)) {
+	          return trailingEdge(time);
+	        }
+	        // Restart the timer.
+	        timerId = setTimeout(timerExpired, remainingWait(time));
+	      }
+
+	      function trailingEdge(time) {
+	        clearTimeout(timerId);
+	        timerId = undefined;
+
+	        // Only invoke if we have `lastArgs` which means `func` has been
+	        // debounced at least once.
+	        if (trailing && lastArgs) {
+	          return invokeFunc(time);
+	        }
+	        lastArgs = lastThis = undefined;
+	        return result;
+	      }
+
+	      function cancel() {
+	        if (timerId !== undefined) {
+	          clearTimeout(timerId);
+	        }
+	        lastCallTime = lastInvokeTime = 0;
+	        lastArgs = lastThis = timerId = undefined;
+	      }
+
+	      function flush() {
+	        return timerId === undefined ? result : trailingEdge(now());
+	      }
+
+	      function debounced() {
+	        var time = now(),
+	            isInvoking = shouldInvoke(time);
+
+	        lastArgs = arguments;
+	        lastThis = this;
+	        lastCallTime = time;
+
+	        if (isInvoking) {
+	          if (timerId === undefined) {
+	            return leadingEdge(lastCallTime);
+	          }
+	          if (maxing) {
+	            // Handle invocations in a tight loop.
+	            clearTimeout(timerId);
+	            timerId = setTimeout(timerExpired, wait);
+	            return invokeFunc(lastCallTime);
+	          }
+	        }
+	        if (timerId === undefined) {
+	          timerId = setTimeout(timerExpired, wait);
+	        }
+	        return result;
+	      }
+	      debounced.cancel = cancel;
+	      debounced.flush = flush;
+	      return debounced;
+	    }
+
+	    /**
+	     * Defers invoking the `func` until the current call stack has cleared. Any
+	     * additional arguments are provided to `func` when it's invoked.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to defer.
+	     * @param {...*} [args] The arguments to invoke `func` with.
+	     * @returns {number} Returns the timer id.
+	     * @example
+	     *
+	     * _.defer(function(text) {
+	     *   console.log(text);
+	     * }, 'deferred');
+	     * // => Logs 'deferred' after one or more milliseconds.
+	     */
+	    var defer = rest(function(func, args) {
+	      return baseDelay(func, 1, args);
+	    });
+
+	    /**
+	     * Invokes `func` after `wait` milliseconds. Any additional arguments are
+	     * provided to `func` when it's invoked.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to delay.
+	     * @param {number} wait The number of milliseconds to delay invocation.
+	     * @param {...*} [args] The arguments to invoke `func` with.
+	     * @returns {number} Returns the timer id.
+	     * @example
+	     *
+	     * _.delay(function(text) {
+	     *   console.log(text);
+	     * }, 1000, 'later');
+	     * // => Logs 'later' after one second.
+	     */
+	    var delay = rest(function(func, wait, args) {
+	      return baseDelay(func, toNumber(wait) || 0, args);
+	    });
+
+	    /**
+	     * Creates a function that invokes `func` with arguments reversed.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Function
+	     * @param {Function} func The function to flip arguments for.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var flipped = _.flip(function() {
+	     *   return _.toArray(arguments);
+	     * });
+	     *
+	     * flipped('a', 'b', 'c', 'd');
+	     * // => ['d', 'c', 'b', 'a']
+	     */
+	    function flip(func) {
+	      return createWrapper(func, FLIP_FLAG);
+	    }
+
+	    /**
+	     * Creates a function that memoizes the result of `func`. If `resolver` is
+	     * provided, it determines the cache key for storing the result based on the
+	     * arguments provided to the memoized function. By default, the first argument
+	     * provided to the memoized function is used as the map cache key. The `func`
+	     * is invoked with the `this` binding of the memoized function.
+	     *
+	     * **Note:** The cache is exposed as the `cache` property on the memoized
+	     * function. Its creation may be customized by replacing the `_.memoize.Cache`
+	     * constructor with one whose instances implement the
+	     * [`Map`](http://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-map-prototype-object)
+	     * method interface of `delete`, `get`, `has`, and `set`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to have its output memoized.
+	     * @param {Function} [resolver] The function to resolve the cache key.
+	     * @returns {Function} Returns the new memoizing function.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': 2 };
+	     * var other = { 'c': 3, 'd': 4 };
+	     *
+	     * var values = _.memoize(_.values);
+	     * values(object);
+	     * // => [1, 2]
+	     *
+	     * values(other);
+	     * // => [3, 4]
+	     *
+	     * object.a = 2;
+	     * values(object);
+	     * // => [1, 2]
+	     *
+	     * // Modify the result cache.
+	     * values.cache.set(object, ['a', 'b']);
+	     * values(object);
+	     * // => ['a', 'b']
+	     *
+	     * // Replace `_.memoize.Cache`.
+	     * _.memoize.Cache = WeakMap;
+	     */
+	    function memoize(func, resolver) {
+	      if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      var memoized = function() {
+	        var args = arguments,
+	            key = resolver ? resolver.apply(this, args) : args[0],
+	            cache = memoized.cache;
+
+	        if (cache.has(key)) {
+	          return cache.get(key);
+	        }
+	        var result = func.apply(this, args);
+	        memoized.cache = cache.set(key, result);
+	        return result;
+	      };
+	      memoized.cache = new (memoize.Cache || MapCache);
+	      return memoized;
+	    }
+
+	    // Assign cache to `_.memoize`.
+	    memoize.Cache = MapCache;
+
+	    /**
+	     * Creates a function that negates the result of the predicate `func`. The
+	     * `func` predicate is invoked with the `this` binding and arguments of the
+	     * created function.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Function
+	     * @param {Function} predicate The predicate to negate.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * function isEven(n) {
+	     *   return n % 2 == 0;
+	     * }
+	     *
+	     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
+	     * // => [1, 3, 5]
+	     */
+	    function negate(predicate) {
+	      if (typeof predicate != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      return function() {
+	        return !predicate.apply(this, arguments);
+	      };
+	    }
+
+	    /**
+	     * Creates a function that is restricted to invoking `func` once. Repeat calls
+	     * to the function return the value of the first invocation. The `func` is
+	     * invoked with the `this` binding and arguments of the created function.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to restrict.
+	     * @returns {Function} Returns the new restricted function.
+	     * @example
+	     *
+	     * var initialize = _.once(createApplication);
+	     * initialize();
+	     * initialize();
+	     * // `initialize` invokes `createApplication` once
+	     */
+	    function once(func) {
+	      return before(2, func);
+	    }
+
+	    /**
+	     * Creates a function that invokes `func` with arguments transformed by
+	     * corresponding `transforms`.
+	     *
+	     * @static
+	     * @since 4.0.0
+	     * @memberOf _
+	     * @category Function
+	     * @param {Function} func The function to wrap.
+	     * @param {...(Array|Array[]|Function|Function[]|Object|Object[]|string|string[])}
+	     *  [transforms[_.identity]] The functions to transform.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * function doubled(n) {
+	     *   return n * 2;
+	     * }
+	     *
+	     * function square(n) {
+	     *   return n * n;
+	     * }
+	     *
+	     * var func = _.overArgs(function(x, y) {
+	     *   return [x, y];
+	     * }, square, doubled);
+	     *
+	     * func(9, 3);
+	     * // => [81, 6]
+	     *
+	     * func(10, 5);
+	     * // => [100, 10]
+	     */
+	    var overArgs = rest(function(func, transforms) {
+	      transforms = (transforms.length == 1 && isArray(transforms[0]))
+	        ? arrayMap(transforms[0], baseUnary(getIteratee()))
+	        : arrayMap(baseFlatten(transforms, 1, isFlattenableIteratee), baseUnary(getIteratee()));
+
+	      var funcsLength = transforms.length;
+	      return rest(function(args) {
+	        var index = -1,
+	            length = nativeMin(args.length, funcsLength);
+
+	        while (++index < length) {
+	          args[index] = transforms[index].call(this, args[index]);
+	        }
+	        return apply(func, this, args);
+	      });
+	    });
+
+	    /**
+	     * Creates a function that invokes `func` with `partials` prepended to the
+	     * arguments it receives. This method is like `_.bind` except it does **not**
+	     * alter the `this` binding.
+	     *
+	     * The `_.partial.placeholder` value, which defaults to `_` in monolithic
+	     * builds, may be used as a placeholder for partially applied arguments.
+	     *
+	     * **Note:** This method doesn't set the "length" property of partially
+	     * applied functions.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.2.0
+	     * @category Function
+	     * @param {Function} func The function to partially apply arguments to.
+	     * @param {...*} [partials] The arguments to be partially applied.
+	     * @returns {Function} Returns the new partially applied function.
+	     * @example
+	     *
+	     * var greet = function(greeting, name) {
+	     *   return greeting + ' ' + name;
+	     * };
+	     *
+	     * var sayHelloTo = _.partial(greet, 'hello');
+	     * sayHelloTo('fred');
+	     * // => 'hello fred'
+	     *
+	     * // Partially applied with placeholders.
+	     * var greetFred = _.partial(greet, _, 'fred');
+	     * greetFred('hi');
+	     * // => 'hi fred'
+	     */
+	    var partial = rest(function(func, partials) {
+	      var holders = replaceHolders(partials, getPlaceholder(partial));
+	      return createWrapper(func, PARTIAL_FLAG, undefined, partials, holders);
+	    });
+
+	    /**
+	     * This method is like `_.partial` except that partially applied arguments
+	     * are appended to the arguments it receives.
+	     *
+	     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
+	     * builds, may be used as a placeholder for partially applied arguments.
+	     *
+	     * **Note:** This method doesn't set the "length" property of partially
+	     * applied functions.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.0.0
+	     * @category Function
+	     * @param {Function} func The function to partially apply arguments to.
+	     * @param {...*} [partials] The arguments to be partially applied.
+	     * @returns {Function} Returns the new partially applied function.
+	     * @example
+	     *
+	     * var greet = function(greeting, name) {
+	     *   return greeting + ' ' + name;
+	     * };
+	     *
+	     * var greetFred = _.partialRight(greet, 'fred');
+	     * greetFred('hi');
+	     * // => 'hi fred'
+	     *
+	     * // Partially applied with placeholders.
+	     * var sayHelloTo = _.partialRight(greet, 'hello', _);
+	     * sayHelloTo('fred');
+	     * // => 'hello fred'
+	     */
+	    var partialRight = rest(function(func, partials) {
+	      var holders = replaceHolders(partials, getPlaceholder(partialRight));
+	      return createWrapper(func, PARTIAL_RIGHT_FLAG, undefined, partials, holders);
+	    });
+
+	    /**
+	     * Creates a function that invokes `func` with arguments arranged according
+	     * to the specified `indexes` where the argument value at the first index is
+	     * provided as the first argument, the argument value at the second index is
+	     * provided as the second argument, and so on.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Function
+	     * @param {Function} func The function to rearrange arguments for.
+	     * @param {...(number|number[])} indexes The arranged argument indexes.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var rearged = _.rearg(function(a, b, c) {
+	     *   return [a, b, c];
+	     * }, 2, 0, 1);
+	     *
+	     * rearged('b', 'c', 'a')
+	     * // => ['a', 'b', 'c']
+	     */
+	    var rearg = rest(function(func, indexes) {
+	      return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes, 1));
+	    });
+
+	    /**
+	     * Creates a function that invokes `func` with the `this` binding of the
+	     * created function and arguments from `start` and beyond provided as
+	     * an array.
+	     *
+	     * **Note:** This method is based on the
+	     * [rest parameter](https://mdn.io/rest_parameters).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Function
+	     * @param {Function} func The function to apply a rest parameter to.
+	     * @param {number} [start=func.length-1] The start position of the rest parameter.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var say = _.rest(function(what, names) {
+	     *   return what + ' ' + _.initial(names).join(', ') +
+	     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);
+	     * });
+	     *
+	     * say('hello', 'fred', 'barney', 'pebbles');
+	     * // => 'hello fred, barney, & pebbles'
+	     */
+	    function rest(func, start) {
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      start = nativeMax(start === undefined ? (func.length - 1) : toInteger(start), 0);
+	      return function() {
+	        var args = arguments,
+	            index = -1,
+	            length = nativeMax(args.length - start, 0),
+	            array = Array(length);
+
+	        while (++index < length) {
+	          array[index] = args[start + index];
+	        }
+	        switch (start) {
+	          case 0: return func.call(this, array);
+	          case 1: return func.call(this, args[0], array);
+	          case 2: return func.call(this, args[0], args[1], array);
+	        }
+	        var otherArgs = Array(start + 1);
+	        index = -1;
+	        while (++index < start) {
+	          otherArgs[index] = args[index];
+	        }
+	        otherArgs[start] = array;
+	        return apply(func, this, otherArgs);
+	      };
+	    }
+
+	    /**
+	     * Creates a function that invokes `func` with the `this` binding of the
+	     * create function and an array of arguments much like
+	     * [`Function#apply`](http://www.ecma-international.org/ecma-262/6.0/#sec-function.prototype.apply).
+	     *
+	     * **Note:** This method is based on the
+	     * [spread operator](https://mdn.io/spread_operator).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.2.0
+	     * @category Function
+	     * @param {Function} func The function to spread arguments over.
+	     * @param {number} [start=0] The start position of the spread.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var say = _.spread(function(who, what) {
+	     *   return who + ' says ' + what;
+	     * });
+	     *
+	     * say(['fred', 'hello']);
+	     * // => 'fred says hello'
+	     *
+	     * var numbers = Promise.all([
+	     *   Promise.resolve(40),
+	     *   Promise.resolve(36)
+	     * ]);
+	     *
+	     * numbers.then(_.spread(function(x, y) {
+	     *   return x + y;
+	     * }));
+	     * // => a Promise of 76
+	     */
+	    function spread(func, start) {
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      start = start === undefined ? 0 : nativeMax(toInteger(start), 0);
+	      return rest(function(args) {
+	        var array = args[start],
+	            otherArgs = castSlice(args, 0, start);
+
+	        if (array) {
+	          arrayPush(otherArgs, array);
+	        }
+	        return apply(func, this, otherArgs);
+	      });
+	    }
+
+	    /**
+	     * Creates a throttled function that only invokes `func` at most once per
+	     * every `wait` milliseconds. The throttled function comes with a `cancel`
+	     * method to cancel delayed `func` invocations and a `flush` method to
+	     * immediately invoke them. Provide an options object to indicate whether
+	     * `func` should be invoked on the leading and/or trailing edge of the `wait`
+	     * timeout. The `func` is invoked with the last arguments provided to the
+	     * throttled function. Subsequent calls to the throttled function return the
+	     * result of the last `func` invocation.
+	     *
+	     * **Note:** If `leading` and `trailing` options are `true`, `func` is
+	     * invoked on the trailing edge of the timeout only if the throttled function
+	     * is invoked more than once during the `wait` timeout.
+	     *
+	     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
+	     * for details over the differences between `_.throttle` and `_.debounce`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {Function} func The function to throttle.
+	     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
+	     * @param {Object} [options={}] The options object.
+	     * @param {boolean} [options.leading=true]
+	     *  Specify invoking on the leading edge of the timeout.
+	     * @param {boolean} [options.trailing=true]
+	     *  Specify invoking on the trailing edge of the timeout.
+	     * @returns {Function} Returns the new throttled function.
+	     * @example
+	     *
+	     * // Avoid excessively updating the position while scrolling.
+	     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
+	     *
+	     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
+	     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
+	     * jQuery(element).on('click', throttled);
+	     *
+	     * // Cancel the trailing throttled invocation.
+	     * jQuery(window).on('popstate', throttled.cancel);
+	     */
+	    function throttle(func, wait, options) {
+	      var leading = true,
+	          trailing = true;
+
+	      if (typeof func != 'function') {
+	        throw new TypeError(FUNC_ERROR_TEXT);
+	      }
+	      if (isObject(options)) {
+	        leading = 'leading' in options ? !!options.leading : leading;
+	        trailing = 'trailing' in options ? !!options.trailing : trailing;
+	      }
+	      return debounce(func, wait, {
+	        'leading': leading,
+	        'maxWait': wait,
+	        'trailing': trailing
+	      });
+	    }
+
+	    /**
+	     * Creates a function that accepts up to one argument, ignoring any
+	     * additional arguments.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Function
+	     * @param {Function} func The function to cap arguments for.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * _.map(['6', '8', '10'], _.unary(parseInt));
+	     * // => [6, 8, 10]
+	     */
+	    function unary(func) {
+	      return ary(func, 1);
+	    }
+
+	    /**
+	     * Creates a function that provides `value` to the wrapper function as its
+	     * first argument. Any additional arguments provided to the function are
+	     * appended to those provided to the wrapper function. The wrapper is invoked
+	     * with the `this` binding of the created function.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Function
+	     * @param {*} value The value to wrap.
+	     * @param {Function} [wrapper=identity] The wrapper function.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var p = _.wrap(_.escape, function(func, text) {
+	     *   return '<p>' + func(text) + '</p>';
+	     * });
+	     *
+	     * p('fred, barney, & pebbles');
+	     * // => '<p>fred, barney, &amp; pebbles</p>'
+	     */
+	    function wrap(value, wrapper) {
+	      wrapper = wrapper == null ? identity : wrapper;
+	      return partial(wrapper, value);
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Casts `value` as an array if it's not one.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.4.0
+	     * @category Lang
+	     * @param {*} value The value to inspect.
+	     * @returns {Array} Returns the cast array.
+	     * @example
+	     *
+	     * _.castArray(1);
+	     * // => [1]
+	     *
+	     * _.castArray({ 'a': 1 });
+	     * // => [{ 'a': 1 }]
+	     *
+	     * _.castArray('abc');
+	     * // => ['abc']
+	     *
+	     * _.castArray(null);
+	     * // => [null]
+	     *
+	     * _.castArray(undefined);
+	     * // => [undefined]
+	     *
+	     * _.castArray();
+	     * // => []
+	     *
+	     * var array = [1, 2, 3];
+	     * console.log(_.castArray(array) === array);
+	     * // => true
+	     */
+	    function castArray() {
+	      if (!arguments.length) {
+	        return [];
+	      }
+	      var value = arguments[0];
+	      return isArray(value) ? value : [value];
+	    }
+
+	    /**
+	     * Creates a shallow clone of `value`.
+	     *
+	     * **Note:** This method is loosely based on the
+	     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
+	     * and supports cloning arrays, array buffers, booleans, date objects, maps,
+	     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
+	     * arrays. The own enumerable properties of `arguments` objects are cloned
+	     * as plain objects. An empty object is returned for uncloneable values such
+	     * as error objects, functions, DOM nodes, and WeakMaps.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to clone.
+	     * @returns {*} Returns the cloned value.
+	     * @example
+	     *
+	     * var objects = [{ 'a': 1 }, { 'b': 2 }];
+	     *
+	     * var shallow = _.clone(objects);
+	     * console.log(shallow[0] === objects[0]);
+	     * // => true
+	     */
+	    function clone(value) {
+	      return baseClone(value, false, true);
+	    }
+
+	    /**
+	     * This method is like `_.clone` except that it accepts `customizer` which
+	     * is invoked to produce the cloned value. If `customizer` returns `undefined`,
+	     * cloning is handled by the method instead. The `customizer` is invoked with
+	     * up to four arguments; (value [, index|key, object, stack]).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to clone.
+	     * @param {Function} [customizer] The function to customize cloning.
+	     * @returns {*} Returns the cloned value.
+	     * @example
+	     *
+	     * function customizer(value) {
+	     *   if (_.isElement(value)) {
+	     *     return value.cloneNode(false);
+	     *   }
+	     * }
+	     *
+	     * var el = _.cloneWith(document.body, customizer);
+	     *
+	     * console.log(el === document.body);
+	     * // => false
+	     * console.log(el.nodeName);
+	     * // => 'BODY'
+	     * console.log(el.childNodes.length);
+	     * // => 0
+	     */
+	    function cloneWith(value, customizer) {
+	      return baseClone(value, false, true, customizer);
+	    }
+
+	    /**
+	     * This method is like `_.clone` except that it recursively clones `value`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.0.0
+	     * @category Lang
+	     * @param {*} value The value to recursively clone.
+	     * @returns {*} Returns the deep cloned value.
+	     * @example
+	     *
+	     * var objects = [{ 'a': 1 }, { 'b': 2 }];
+	     *
+	     * var deep = _.cloneDeep(objects);
+	     * console.log(deep[0] === objects[0]);
+	     * // => false
+	     */
+	    function cloneDeep(value) {
+	      return baseClone(value, true, true);
+	    }
+
+	    /**
+	     * This method is like `_.cloneWith` except that it recursively clones `value`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to recursively clone.
+	     * @param {Function} [customizer] The function to customize cloning.
+	     * @returns {*} Returns the deep cloned value.
+	     * @example
+	     *
+	     * function customizer(value) {
+	     *   if (_.isElement(value)) {
+	     *     return value.cloneNode(true);
+	     *   }
+	     * }
+	     *
+	     * var el = _.cloneDeepWith(document.body, customizer);
+	     *
+	     * console.log(el === document.body);
+	     * // => false
+	     * console.log(el.nodeName);
+	     * // => 'BODY'
+	     * console.log(el.childNodes.length);
+	     * // => 20
+	     */
+	    function cloneDeepWith(value, customizer) {
+	      return baseClone(value, true, true, customizer);
+	    }
+
+	    /**
+	     * Performs a
+	     * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
+	     * comparison between two values to determine if they are equivalent.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
+	     * @example
+	     *
+	     * var object = { 'user': 'fred' };
+	     * var other = { 'user': 'fred' };
+	     *
+	     * _.eq(object, object);
+	     * // => true
+	     *
+	     * _.eq(object, other);
+	     * // => false
+	     *
+	     * _.eq('a', 'a');
+	     * // => true
+	     *
+	     * _.eq('a', Object('a'));
+	     * // => false
+	     *
+	     * _.eq(NaN, NaN);
+	     * // => true
+	     */
+	    function eq(value, other) {
+	      return value === other || (value !== value && other !== other);
+	    }
+
+	    /**
+	     * Checks if `value` is greater than `other`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.9.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @returns {boolean} Returns `true` if `value` is greater than `other`,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.gt(3, 1);
+	     * // => true
+	     *
+	     * _.gt(3, 3);
+	     * // => false
+	     *
+	     * _.gt(1, 3);
+	     * // => false
+	     */
+	    function gt(value, other) {
+	      return value > other;
+	    }
+
+	    /**
+	     * Checks if `value` is greater than or equal to `other`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.9.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @returns {boolean} Returns `true` if `value` is greater than or equal to
+	     *  `other`, else `false`.
+	     * @example
+	     *
+	     * _.gte(3, 1);
+	     * // => true
+	     *
+	     * _.gte(3, 3);
+	     * // => true
+	     *
+	     * _.gte(1, 3);
+	     * // => false
+	     */
+	    function gte(value, other) {
+	      return value >= other;
+	    }
+
+	    /**
+	     * Checks if `value` is likely an `arguments` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isArguments(function() { return arguments; }());
+	     * // => true
+	     *
+	     * _.isArguments([1, 2, 3]);
+	     * // => false
+	     */
+	    function isArguments(value) {
+	      // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.
+	      return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
+	        (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
+	    }
+
+	    /**
+	     * Checks if `value` is classified as an `Array` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @type {Function}
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isArray([1, 2, 3]);
+	     * // => true
+	     *
+	     * _.isArray(document.body.children);
+	     * // => false
+	     *
+	     * _.isArray('abc');
+	     * // => false
+	     *
+	     * _.isArray(_.noop);
+	     * // => false
+	     */
+	    var isArray = Array.isArray;
+
+	    /**
+	     * Checks if `value` is classified as an `ArrayBuffer` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.3.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isArrayBuffer(new ArrayBuffer(2));
+	     * // => true
+	     *
+	     * _.isArrayBuffer(new Array(2));
+	     * // => false
+	     */
+	    function isArrayBuffer(value) {
+	      return isObjectLike(value) && objectToString.call(value) == arrayBufferTag;
+	    }
+
+	    /**
+	     * Checks if `value` is array-like. A value is considered array-like if it's
+	     * not a function and has a `value.length` that's an integer greater than or
+	     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
+	     * @example
+	     *
+	     * _.isArrayLike([1, 2, 3]);
+	     * // => true
+	     *
+	     * _.isArrayLike(document.body.children);
+	     * // => true
+	     *
+	     * _.isArrayLike('abc');
+	     * // => true
+	     *
+	     * _.isArrayLike(_.noop);
+	     * // => false
+	     */
+	    function isArrayLike(value) {
+	      return value != null && isLength(getLength(value)) && !isFunction(value);
+	    }
+
+	    /**
+	     * This method is like `_.isArrayLike` except that it also checks if `value`
+	     * is an object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is an array-like object,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isArrayLikeObject([1, 2, 3]);
+	     * // => true
+	     *
+	     * _.isArrayLikeObject(document.body.children);
+	     * // => true
+	     *
+	     * _.isArrayLikeObject('abc');
+	     * // => false
+	     *
+	     * _.isArrayLikeObject(_.noop);
+	     * // => false
+	     */
+	    function isArrayLikeObject(value) {
+	      return isObjectLike(value) && isArrayLike(value);
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a boolean primitive or object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isBoolean(false);
+	     * // => true
+	     *
+	     * _.isBoolean(null);
+	     * // => false
+	     */
+	    function isBoolean(value) {
+	      return value === true || value === false ||
+	        (isObjectLike(value) && objectToString.call(value) == boolTag);
+	    }
+
+	    /**
+	     * Checks if `value` is a buffer.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.3.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
+	     * @example
+	     *
+	     * _.isBuffer(new Buffer(2));
+	     * // => true
+	     *
+	     * _.isBuffer(new Uint8Array(2));
+	     * // => false
+	     */
+	    var isBuffer = !Buffer ? constant(false) : function(value) {
+	      return value instanceof Buffer;
+	    };
+
+	    /**
+	     * Checks if `value` is classified as a `Date` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isDate(new Date);
+	     * // => true
+	     *
+	     * _.isDate('Mon April 23 2012');
+	     * // => false
+	     */
+	    function isDate(value) {
+	      return isObjectLike(value) && objectToString.call(value) == dateTag;
+	    }
+
+	    /**
+	     * Checks if `value` is likely a DOM element.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a DOM element,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isElement(document.body);
+	     * // => true
+	     *
+	     * _.isElement('<body>');
+	     * // => false
+	     */
+	    function isElement(value) {
+	      return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);
+	    }
+
+	    /**
+	     * Checks if `value` is an empty object, collection, map, or set.
+	     *
+	     * Objects are considered empty if they have no own enumerable string keyed
+	     * properties.
+	     *
+	     * Array-like values such as `arguments` objects, arrays, buffers, strings, or
+	     * jQuery-like collections are considered empty if they have a `length` of `0`.
+	     * Similarly, maps and sets are considered empty if they have a `size` of `0`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is empty, else `false`.
+	     * @example
+	     *
+	     * _.isEmpty(null);
+	     * // => true
+	     *
+	     * _.isEmpty(true);
+	     * // => true
+	     *
+	     * _.isEmpty(1);
+	     * // => true
+	     *
+	     * _.isEmpty([1, 2, 3]);
+	     * // => false
+	     *
+	     * _.isEmpty({ 'a': 1 });
+	     * // => false
+	     */
+	    function isEmpty(value) {
+	      if (isArrayLike(value) &&
+	          (isArray(value) || isString(value) || isFunction(value.splice) ||
+	            isArguments(value) || isBuffer(value))) {
+	        return !value.length;
+	      }
+	      if (isObjectLike(value)) {
+	        var tag = getTag(value);
+	        if (tag == mapTag || tag == setTag) {
+	          return !value.size;
+	        }
+	      }
+	      for (var key in value) {
+	        if (hasOwnProperty.call(value, key)) {
+	          return false;
+	        }
+	      }
+	      return !(nonEnumShadows && keys(value).length);
+	    }
+
+	    /**
+	     * Performs a deep comparison between two values to determine if they are
+	     * equivalent.
+	     *
+	     * **Note:** This method supports comparing arrays, array buffers, booleans,
+	     * date objects, error objects, maps, numbers, `Object` objects, regexes,
+	     * sets, strings, symbols, and typed arrays. `Object` objects are compared
+	     * by their own, not inherited, enumerable properties. Functions and DOM
+	     * nodes are **not** supported.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @returns {boolean} Returns `true` if the values are equivalent,
+	     *  else `false`.
+	     * @example
+	     *
+	     * var object = { 'user': 'fred' };
+	     * var other = { 'user': 'fred' };
+	     *
+	     * _.isEqual(object, other);
+	     * // => true
+	     *
+	     * object === other;
+	     * // => false
+	     */
+	    function isEqual(value, other) {
+	      return baseIsEqual(value, other);
+	    }
+
+	    /**
+	     * This method is like `_.isEqual` except that it accepts `customizer` which
+	     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
+	     * are handled by the method instead. The `customizer` is invoked with up to
+	     * six arguments: (objValue, othValue [, index|key, object, other, stack]).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @param {Function} [customizer] The function to customize comparisons.
+	     * @returns {boolean} Returns `true` if the values are equivalent,
+	     *  else `false`.
+	     * @example
+	     *
+	     * function isGreeting(value) {
+	     *   return /^h(?:i|ello)$/.test(value);
+	     * }
+	     *
+	     * function customizer(objValue, othValue) {
+	     *   if (isGreeting(objValue) && isGreeting(othValue)) {
+	     *     return true;
+	     *   }
+	     * }
+	     *
+	     * var array = ['hello', 'goodbye'];
+	     * var other = ['hi', 'goodbye'];
+	     *
+	     * _.isEqualWith(array, other, customizer);
+	     * // => true
+	     */
+	    function isEqualWith(value, other, customizer) {
+	      customizer = typeof customizer == 'function' ? customizer : undefined;
+	      var result = customizer ? customizer(value, other) : undefined;
+	      return result === undefined ? baseIsEqual(value, other, customizer) : !!result;
+	    }
+
+	    /**
+	     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
+	     * `SyntaxError`, `TypeError`, or `URIError` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is an error object,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isError(new Error);
+	     * // => true
+	     *
+	     * _.isError(Error);
+	     * // => false
+	     */
+	    function isError(value) {
+	      if (!isObjectLike(value)) {
+	        return false;
+	      }
+	      return (objectToString.call(value) == errorTag) ||
+	        (typeof value.message == 'string' && typeof value.name == 'string');
+	    }
+
+	    /**
+	     * Checks if `value` is a finite primitive number.
+	     *
+	     * **Note:** This method is based on
+	     * [`Number.isFinite`](https://mdn.io/Number/isFinite).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a finite number,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isFinite(3);
+	     * // => true
+	     *
+	     * _.isFinite(Number.MAX_VALUE);
+	     * // => true
+	     *
+	     * _.isFinite(3.14);
+	     * // => true
+	     *
+	     * _.isFinite(Infinity);
+	     * // => false
+	     */
+	    function isFinite(value) {
+	      return typeof value == 'number' && nativeIsFinite(value);
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `Function` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isFunction(_);
+	     * // => true
+	     *
+	     * _.isFunction(/abc/);
+	     * // => false
+	     */
+	    function isFunction(value) {
+	      // The use of `Object#toString` avoids issues with the `typeof` operator
+	      // in Safari 8 which returns 'object' for typed array and weak map constructors,
+	      // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.
+	      var tag = isObject(value) ? objectToString.call(value) : '';
+	      return tag == funcTag || tag == genTag;
+	    }
+
+	    /**
+	     * Checks if `value` is an integer.
+	     *
+	     * **Note:** This method is based on
+	     * [`Number.isInteger`](https://mdn.io/Number/isInteger).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
+	     * @example
+	     *
+	     * _.isInteger(3);
+	     * // => true
+	     *
+	     * _.isInteger(Number.MIN_VALUE);
+	     * // => false
+	     *
+	     * _.isInteger(Infinity);
+	     * // => false
+	     *
+	     * _.isInteger('3');
+	     * // => false
+	     */
+	    function isInteger(value) {
+	      return typeof value == 'number' && value == toInteger(value);
+	    }
+
+	    /**
+	     * Checks if `value` is a valid array-like length.
+	     *
+	     * **Note:** This function is loosely based on
+	     * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a valid length,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isLength(3);
+	     * // => true
+	     *
+	     * _.isLength(Number.MIN_VALUE);
+	     * // => false
+	     *
+	     * _.isLength(Infinity);
+	     * // => false
+	     *
+	     * _.isLength('3');
+	     * // => false
+	     */
+	    function isLength(value) {
+	      return typeof value == 'number' &&
+	        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
+	    }
+
+	    /**
+	     * Checks if `value` is the
+	     * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types)
+	     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+	     * @example
+	     *
+	     * _.isObject({});
+	     * // => true
+	     *
+	     * _.isObject([1, 2, 3]);
+	     * // => true
+	     *
+	     * _.isObject(_.noop);
+	     * // => true
+	     *
+	     * _.isObject(null);
+	     * // => false
+	     */
+	    function isObject(value) {
+	      var type = typeof value;
+	      return !!value && (type == 'object' || type == 'function');
+	    }
+
+	    /**
+	     * Checks if `value` is object-like. A value is object-like if it's not `null`
+	     * and has a `typeof` result of "object".
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+	     * @example
+	     *
+	     * _.isObjectLike({});
+	     * // => true
+	     *
+	     * _.isObjectLike([1, 2, 3]);
+	     * // => true
+	     *
+	     * _.isObjectLike(_.noop);
+	     * // => false
+	     *
+	     * _.isObjectLike(null);
+	     * // => false
+	     */
+	    function isObjectLike(value) {
+	      return !!value && typeof value == 'object';
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `Map` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.3.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isMap(new Map);
+	     * // => true
+	     *
+	     * _.isMap(new WeakMap);
+	     * // => false
+	     */
+	    function isMap(value) {
+	      return isObjectLike(value) && getTag(value) == mapTag;
+	    }
+
+	    /**
+	     * Performs a partial deep comparison between `object` and `source` to
+	     * determine if `object` contains equivalent property values. This method is
+	     * equivalent to a `_.matches` function when `source` is partially applied.
+	     *
+	     * **Note:** This method supports comparing the same values as `_.isEqual`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Lang
+	     * @param {Object} object The object to inspect.
+	     * @param {Object} source The object of property values to match.
+	     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
+	     * @example
+	     *
+	     * var object = { 'user': 'fred', 'age': 40 };
+	     *
+	     * _.isMatch(object, { 'age': 40 });
+	     * // => true
+	     *
+	     * _.isMatch(object, { 'age': 36 });
+	     * // => false
+	     */
+	    function isMatch(object, source) {
+	      return object === source || baseIsMatch(object, source, getMatchData(source));
+	    }
+
+	    /**
+	     * This method is like `_.isMatch` except that it accepts `customizer` which
+	     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
+	     * are handled by the method instead. The `customizer` is invoked with five
+	     * arguments: (objValue, srcValue, index|key, object, source).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {Object} object The object to inspect.
+	     * @param {Object} source The object of property values to match.
+	     * @param {Function} [customizer] The function to customize comparisons.
+	     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
+	     * @example
+	     *
+	     * function isGreeting(value) {
+	     *   return /^h(?:i|ello)$/.test(value);
+	     * }
+	     *
+	     * function customizer(objValue, srcValue) {
+	     *   if (isGreeting(objValue) && isGreeting(srcValue)) {
+	     *     return true;
+	     *   }
+	     * }
+	     *
+	     * var object = { 'greeting': 'hello' };
+	     * var source = { 'greeting': 'hi' };
+	     *
+	     * _.isMatchWith(object, source, customizer);
+	     * // => true
+	     */
+	    function isMatchWith(object, source, customizer) {
+	      customizer = typeof customizer == 'function' ? customizer : undefined;
+	      return baseIsMatch(object, source, getMatchData(source), customizer);
+	    }
+
+	    /**
+	     * Checks if `value` is `NaN`.
+	     *
+	     * **Note:** This method is based on
+	     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
+	     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
+	     * `undefined` and other non-number values.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
+	     * @example
+	     *
+	     * _.isNaN(NaN);
+	     * // => true
+	     *
+	     * _.isNaN(new Number(NaN));
+	     * // => true
+	     *
+	     * isNaN(undefined);
+	     * // => true
+	     *
+	     * _.isNaN(undefined);
+	     * // => false
+	     */
+	    function isNaN(value) {
+	      // An `NaN` primitive is the only value that is not equal to itself.
+	      // Perform the `toStringTag` check first to avoid errors with some
+	      // ActiveX objects in IE.
+	      return isNumber(value) && value != +value;
+	    }
+
+	    /**
+	     * Checks if `value` is a native function.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a native function,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isNative(Array.prototype.push);
+	     * // => true
+	     *
+	     * _.isNative(_);
+	     * // => false
+	     */
+	    function isNative(value) {
+	      if (!isObject(value)) {
+	        return false;
+	      }
+	      var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
+	      return pattern.test(toSource(value));
+	    }
+
+	    /**
+	     * Checks if `value` is `null`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
+	     * @example
+	     *
+	     * _.isNull(null);
+	     * // => true
+	     *
+	     * _.isNull(void 0);
+	     * // => false
+	     */
+	    function isNull(value) {
+	      return value === null;
+	    }
+
+	    /**
+	     * Checks if `value` is `null` or `undefined`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
+	     * @example
+	     *
+	     * _.isNil(null);
+	     * // => true
+	     *
+	     * _.isNil(void 0);
+	     * // => true
+	     *
+	     * _.isNil(NaN);
+	     * // => false
+	     */
+	    function isNil(value) {
+	      return value == null;
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `Number` primitive or object.
+	     *
+	     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
+	     * classified as numbers, use the `_.isFinite` method.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isNumber(3);
+	     * // => true
+	     *
+	     * _.isNumber(Number.MIN_VALUE);
+	     * // => true
+	     *
+	     * _.isNumber(Infinity);
+	     * // => true
+	     *
+	     * _.isNumber('3');
+	     * // => false
+	     */
+	    function isNumber(value) {
+	      return typeof value == 'number' ||
+	        (isObjectLike(value) && objectToString.call(value) == numberTag);
+	    }
+
+	    /**
+	     * Checks if `value` is a plain object, that is, an object created by the
+	     * `Object` constructor or one with a `[[Prototype]]` of `null`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.8.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a plain object,
+	     *  else `false`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     * }
+	     *
+	     * _.isPlainObject(new Foo);
+	     * // => false
+	     *
+	     * _.isPlainObject([1, 2, 3]);
+	     * // => false
+	     *
+	     * _.isPlainObject({ 'x': 0, 'y': 0 });
+	     * // => true
+	     *
+	     * _.isPlainObject(Object.create(null));
+	     * // => true
+	     */
+	    function isPlainObject(value) {
+	      if (!isObjectLike(value) ||
+	          objectToString.call(value) != objectTag || isHostObject(value)) {
+	        return false;
+	      }
+	      var proto = getPrototype(value);
+	      if (proto === null) {
+	        return true;
+	      }
+	      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
+	      return (typeof Ctor == 'function' &&
+	        Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `RegExp` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.1.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isRegExp(/abc/);
+	     * // => true
+	     *
+	     * _.isRegExp('/abc/');
+	     * // => false
+	     */
+	    function isRegExp(value) {
+	      return isObject(value) && objectToString.call(value) == regexpTag;
+	    }
+
+	    /**
+	     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
+	     * double precision number which isn't the result of a rounded unsafe integer.
+	     *
+	     * **Note:** This method is based on
+	     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is a safe integer,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isSafeInteger(3);
+	     * // => true
+	     *
+	     * _.isSafeInteger(Number.MIN_VALUE);
+	     * // => false
+	     *
+	     * _.isSafeInteger(Infinity);
+	     * // => false
+	     *
+	     * _.isSafeInteger('3');
+	     * // => false
+	     */
+	    function isSafeInteger(value) {
+	      return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `Set` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.3.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isSet(new Set);
+	     * // => true
+	     *
+	     * _.isSet(new WeakSet);
+	     * // => false
+	     */
+	    function isSet(value) {
+	      return isObjectLike(value) && getTag(value) == setTag;
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `String` primitive or object.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isString('abc');
+	     * // => true
+	     *
+	     * _.isString(1);
+	     * // => false
+	     */
+	    function isString(value) {
+	      return typeof value == 'string' ||
+	        (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `Symbol` primitive or object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isSymbol(Symbol.iterator);
+	     * // => true
+	     *
+	     * _.isSymbol('abc');
+	     * // => false
+	     */
+	    function isSymbol(value) {
+	      return typeof value == 'symbol' ||
+	        (isObjectLike(value) && objectToString.call(value) == symbolTag);
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a typed array.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isTypedArray(new Uint8Array);
+	     * // => true
+	     *
+	     * _.isTypedArray([]);
+	     * // => false
+	     */
+	    function isTypedArray(value) {
+	      return isObjectLike(value) &&
+	        isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
+	    }
+
+	    /**
+	     * Checks if `value` is `undefined`.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
+	     * @example
+	     *
+	     * _.isUndefined(void 0);
+	     * // => true
+	     *
+	     * _.isUndefined(null);
+	     * // => false
+	     */
+	    function isUndefined(value) {
+	      return value === undefined;
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `WeakMap` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.3.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isWeakMap(new WeakMap);
+	     * // => true
+	     *
+	     * _.isWeakMap(new Map);
+	     * // => false
+	     */
+	    function isWeakMap(value) {
+	      return isObjectLike(value) && getTag(value) == weakMapTag;
+	    }
+
+	    /**
+	     * Checks if `value` is classified as a `WeakSet` object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.3.0
+	     * @category Lang
+	     * @param {*} value The value to check.
+	     * @returns {boolean} Returns `true` if `value` is correctly classified,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.isWeakSet(new WeakSet);
+	     * // => true
+	     *
+	     * _.isWeakSet(new Set);
+	     * // => false
+	     */
+	    function isWeakSet(value) {
+	      return isObjectLike(value) && objectToString.call(value) == weakSetTag;
+	    }
+
+	    /**
+	     * Checks if `value` is less than `other`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.9.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @returns {boolean} Returns `true` if `value` is less than `other`,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.lt(1, 3);
+	     * // => true
+	     *
+	     * _.lt(3, 3);
+	     * // => false
+	     *
+	     * _.lt(3, 1);
+	     * // => false
+	     */
+	    function lt(value, other) {
+	      return value < other;
+	    }
+
+	    /**
+	     * Checks if `value` is less than or equal to `other`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.9.0
+	     * @category Lang
+	     * @param {*} value The value to compare.
+	     * @param {*} other The other value to compare.
+	     * @returns {boolean} Returns `true` if `value` is less than or equal to
+	     *  `other`, else `false`.
+	     * @example
+	     *
+	     * _.lte(1, 3);
+	     * // => true
+	     *
+	     * _.lte(3, 3);
+	     * // => true
+	     *
+	     * _.lte(3, 1);
+	     * // => false
+	     */
+	    function lte(value, other) {
+	      return value <= other;
+	    }
+
+	    /**
+	     * Converts `value` to an array.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Lang
+	     * @param {*} value The value to convert.
+	     * @returns {Array} Returns the converted array.
+	     * @example
+	     *
+	     * _.toArray({ 'a': 1, 'b': 2 });
+	     * // => [1, 2]
+	     *
+	     * _.toArray('abc');
+	     * // => ['a', 'b', 'c']
+	     *
+	     * _.toArray(1);
+	     * // => []
+	     *
+	     * _.toArray(null);
+	     * // => []
+	     */
+	    function toArray(value) {
+	      if (!value) {
+	        return [];
+	      }
+	      if (isArrayLike(value)) {
+	        return isString(value) ? stringToArray(value) : copyArray(value);
+	      }
+	      if (iteratorSymbol && value[iteratorSymbol]) {
+	        return iteratorToArray(value[iteratorSymbol]());
+	      }
+	      var tag = getTag(value),
+	          func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);
+
+	      return func(value);
+	    }
+
+	    /**
+	     * Converts `value` to an integer.
+	     *
+	     * **Note:** This function is loosely based on
+	     * [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to convert.
+	     * @returns {number} Returns the converted integer.
+	     * @example
+	     *
+	     * _.toInteger(3);
+	     * // => 3
+	     *
+	     * _.toInteger(Number.MIN_VALUE);
+	     * // => 0
+	     *
+	     * _.toInteger(Infinity);
+	     * // => 1.7976931348623157e+308
+	     *
+	     * _.toInteger('3');
+	     * // => 3
+	     */
+	    function toInteger(value) {
+	      if (!value) {
+	        return value === 0 ? value : 0;
+	      }
+	      value = toNumber(value);
+	      if (value === INFINITY || value === -INFINITY) {
+	        var sign = (value < 0 ? -1 : 1);
+	        return sign * MAX_INTEGER;
+	      }
+	      var remainder = value % 1;
+	      return value === value ? (remainder ? value - remainder : value) : 0;
+	    }
+
+	    /**
+	     * Converts `value` to an integer suitable for use as the length of an
+	     * array-like object.
+	     *
+	     * **Note:** This method is based on
+	     * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to convert.
+	     * @returns {number} Returns the converted integer.
+	     * @example
+	     *
+	     * _.toLength(3);
+	     * // => 3
+	     *
+	     * _.toLength(Number.MIN_VALUE);
+	     * // => 0
+	     *
+	     * _.toLength(Infinity);
+	     * // => 4294967295
+	     *
+	     * _.toLength('3');
+	     * // => 3
+	     */
+	    function toLength(value) {
+	      return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
+	    }
+
+	    /**
+	     * Converts `value` to a number.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to process.
+	     * @returns {number} Returns the number.
+	     * @example
+	     *
+	     * _.toNumber(3);
+	     * // => 3
+	     *
+	     * _.toNumber(Number.MIN_VALUE);
+	     * // => 5e-324
+	     *
+	     * _.toNumber(Infinity);
+	     * // => Infinity
+	     *
+	     * _.toNumber('3');
+	     * // => 3
+	     */
+	    function toNumber(value) {
+	      if (typeof value == 'number') {
+	        return value;
+	      }
+	      if (isSymbol(value)) {
+	        return NAN;
+	      }
+	      if (isObject(value)) {
+	        var other = isFunction(value.valueOf) ? value.valueOf() : value;
+	        value = isObject(other) ? (other + '') : other;
+	      }
+	      if (typeof value != 'string') {
+	        return value === 0 ? value : +value;
+	      }
+	      value = value.replace(reTrim, '');
+	      var isBinary = reIsBinary.test(value);
+	      return (isBinary || reIsOctal.test(value))
+	        ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
+	        : (reIsBadHex.test(value) ? NAN : +value);
+	    }
+
+	    /**
+	     * Converts `value` to a plain object flattening inherited enumerable string
+	     * keyed properties of `value` to own properties of the plain object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Lang
+	     * @param {*} value The value to convert.
+	     * @returns {Object} Returns the converted plain object.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.assign({ 'a': 1 }, new Foo);
+	     * // => { 'a': 1, 'b': 2 }
+	     *
+	     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
+	     * // => { 'a': 1, 'b': 2, 'c': 3 }
+	     */
+	    function toPlainObject(value) {
+	      return copyObject(value, keysIn(value));
+	    }
+
+	    /**
+	     * Converts `value` to a safe integer. A safe integer can be compared and
+	     * represented correctly.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to convert.
+	     * @returns {number} Returns the converted integer.
+	     * @example
+	     *
+	     * _.toSafeInteger(3);
+	     * // => 3
+	     *
+	     * _.toSafeInteger(Number.MIN_VALUE);
+	     * // => 0
+	     *
+	     * _.toSafeInteger(Infinity);
+	     * // => 9007199254740991
+	     *
+	     * _.toSafeInteger('3');
+	     * // => 3
+	     */
+	    function toSafeInteger(value) {
+	      return baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER);
+	    }
+
+	    /**
+	     * Converts `value` to a string. An empty string is returned for `null`
+	     * and `undefined` values. The sign of `-0` is preserved.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Lang
+	     * @param {*} value The value to process.
+	     * @returns {string} Returns the string.
+	     * @example
+	     *
+	     * _.toString(null);
+	     * // => ''
+	     *
+	     * _.toString(-0);
+	     * // => '-0'
+	     *
+	     * _.toString([1, 2, 3]);
+	     * // => '1,2,3'
+	     */
+	    function toString(value) {
+	      // Exit early for strings to avoid a performance hit in some environments.
+	      if (typeof value == 'string') {
+	        return value;
+	      }
+	      if (value == null) {
+	        return '';
+	      }
+	      if (isSymbol(value)) {
+	        return symbolToString ? symbolToString.call(value) : '';
+	      }
+	      var result = (value + '');
+	      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Assigns own enumerable string keyed properties of source objects to the
+	     * destination object. Source objects are applied from left to right.
+	     * Subsequent sources overwrite property assignments of previous sources.
+	     *
+	     * **Note:** This method mutates `object` and is loosely based on
+	     * [`Object.assign`](https://mdn.io/Object/assign).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.10.0
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} [sources] The source objects.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.c = 3;
+	     * }
+	     *
+	     * function Bar() {
+	     *   this.e = 5;
+	     * }
+	     *
+	     * Foo.prototype.d = 4;
+	     * Bar.prototype.f = 6;
+	     *
+	     * _.assign({ 'a': 1 }, new Foo, new Bar);
+	     * // => { 'a': 1, 'c': 3, 'e': 5 }
+	     */
+	    var assign = createAssigner(function(object, source) {
+	      if (nonEnumShadows || isPrototype(source) || isArrayLike(source)) {
+	        copyObject(source, keys(source), object);
+	        return;
+	      }
+	      for (var key in source) {
+	        if (hasOwnProperty.call(source, key)) {
+	          assignValue(object, key, source[key]);
+	        }
+	      }
+	    });
+
+	    /**
+	     * This method is like `_.assign` except that it iterates over own and
+	     * inherited source properties.
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @alias extend
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} [sources] The source objects.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.b = 2;
+	     * }
+	     *
+	     * function Bar() {
+	     *   this.d = 4;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     * Bar.prototype.e = 5;
+	     *
+	     * _.assignIn({ 'a': 1 }, new Foo, new Bar);
+	     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 }
+	     */
+	    var assignIn = createAssigner(function(object, source) {
+	      if (nonEnumShadows || isPrototype(source) || isArrayLike(source)) {
+	        copyObject(source, keysIn(source), object);
+	        return;
+	      }
+	      for (var key in source) {
+	        assignValue(object, key, source[key]);
+	      }
+	    });
+
+	    /**
+	     * This method is like `_.assignIn` except that it accepts `customizer`
+	     * which is invoked to produce the assigned values. If `customizer` returns
+	     * `undefined`, assignment is handled by the method instead. The `customizer`
+	     * is invoked with five arguments: (objValue, srcValue, key, object, source).
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @alias extendWith
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} sources The source objects.
+	     * @param {Function} [customizer] The function to customize assigned values.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function customizer(objValue, srcValue) {
+	     *   return _.isUndefined(objValue) ? srcValue : objValue;
+	     * }
+	     *
+	     * var defaults = _.partialRight(_.assignInWith, customizer);
+	     *
+	     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
+	     * // => { 'a': 1, 'b': 2 }
+	     */
+	    var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
+	      copyObject(source, keysIn(source), object, customizer);
+	    });
+
+	    /**
+	     * This method is like `_.assign` except that it accepts `customizer`
+	     * which is invoked to produce the assigned values. If `customizer` returns
+	     * `undefined`, assignment is handled by the method instead. The `customizer`
+	     * is invoked with five arguments: (objValue, srcValue, key, object, source).
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} sources The source objects.
+	     * @param {Function} [customizer] The function to customize assigned values.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function customizer(objValue, srcValue) {
+	     *   return _.isUndefined(objValue) ? srcValue : objValue;
+	     * }
+	     *
+	     * var defaults = _.partialRight(_.assignWith, customizer);
+	     *
+	     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
+	     * // => { 'a': 1, 'b': 2 }
+	     */
+	    var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
+	      copyObject(source, keys(source), object, customizer);
+	    });
+
+	    /**
+	     * Creates an array of values corresponding to `paths` of `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.0.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {...(string|string[])} [paths] The property paths of elements to pick.
+	     * @returns {Array} Returns the new array of picked elements.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
+	     *
+	     * _.at(object, ['a[0].b.c', 'a[1]']);
+	     * // => [3, 4]
+	     *
+	     * _.at(['a', 'b', 'c'], 0, 2);
+	     * // => ['a', 'c']
+	     */
+	    var at = rest(function(object, paths) {
+	      return baseAt(object, baseFlatten(paths, 1));
+	    });
+
+	    /**
+	     * Creates an object that inherits from the `prototype` object. If a
+	     * `properties` object is given, its own enumerable string keyed properties
+	     * are assigned to the created object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.3.0
+	     * @category Object
+	     * @param {Object} prototype The object to inherit from.
+	     * @param {Object} [properties] The properties to assign to the object.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * function Shape() {
+	     *   this.x = 0;
+	     *   this.y = 0;
+	     * }
+	     *
+	     * function Circle() {
+	     *   Shape.call(this);
+	     * }
+	     *
+	     * Circle.prototype = _.create(Shape.prototype, {
+	     *   'constructor': Circle
+	     * });
+	     *
+	     * var circle = new Circle;
+	     * circle instanceof Circle;
+	     * // => true
+	     *
+	     * circle instanceof Shape;
+	     * // => true
+	     */
+	    function create(prototype, properties) {
+	      var result = baseCreate(prototype);
+	      return properties ? baseAssign(result, properties) : result;
+	    }
+
+	    /**
+	     * Assigns own and inherited enumerable string keyed properties of source
+	     * objects to the destination object for all destination properties that
+	     * resolve to `undefined`. Source objects are applied from left to right.
+	     * Once a property is set, additional values of the same property are ignored.
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} [sources] The source objects.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });
+	     * // => { 'user': 'barney', 'age': 36 }
+	     */
+	    var defaults = rest(function(args) {
+	      args.push(undefined, assignInDefaults);
+	      return apply(assignInWith, undefined, args);
+	    });
+
+	    /**
+	     * This method is like `_.defaults` except that it recursively assigns
+	     * default properties.
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.10.0
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} [sources] The source objects.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * _.defaultsDeep({ 'user': { 'name': 'barney' } }, { 'user': { 'name': 'fred', 'age': 36 } });
+	     * // => { 'user': { 'name': 'barney', 'age': 36 } }
+	     *
+	     */
+	    var defaultsDeep = rest(function(args) {
+	      args.push(undefined, mergeDefaults);
+	      return apply(mergeWith, undefined, args);
+	    });
+
+	    /**
+	     * This method is like `_.find` except that it returns the key of the first
+	     * element `predicate` returns truthy for instead of the element itself.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.1.0
+	     * @category Object
+	     * @param {Object} object The object to search.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {string|undefined} Returns the key of the matched element,
+	     *  else `undefined`.
+	     * @example
+	     *
+	     * var users = {
+	     *   'barney':  { 'age': 36, 'active': true },
+	     *   'fred':    { 'age': 40, 'active': false },
+	     *   'pebbles': { 'age': 1,  'active': true }
+	     * };
+	     *
+	     * _.findKey(users, function(o) { return o.age < 40; });
+	     * // => 'barney' (iteration order is not guaranteed)
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.findKey(users, { 'age': 1, 'active': true });
+	     * // => 'pebbles'
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.findKey(users, ['active', false]);
+	     * // => 'fred'
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.findKey(users, 'active');
+	     * // => 'barney'
+	     */
+	    function findKey(object, predicate) {
+	      return baseFind(object, getIteratee(predicate, 3), baseForOwn, true);
+	    }
+
+	    /**
+	     * This method is like `_.findKey` except that it iterates over elements of
+	     * a collection in the opposite order.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Object
+	     * @param {Object} object The object to search.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {string|undefined} Returns the key of the matched element,
+	     *  else `undefined`.
+	     * @example
+	     *
+	     * var users = {
+	     *   'barney':  { 'age': 36, 'active': true },
+	     *   'fred':    { 'age': 40, 'active': false },
+	     *   'pebbles': { 'age': 1,  'active': true }
+	     * };
+	     *
+	     * _.findLastKey(users, function(o) { return o.age < 40; });
+	     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.findLastKey(users, { 'age': 36, 'active': true });
+	     * // => 'barney'
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.findLastKey(users, ['active', false]);
+	     * // => 'fred'
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.findLastKey(users, 'active');
+	     * // => 'pebbles'
+	     */
+	    function findLastKey(object, predicate) {
+	      return baseFind(object, getIteratee(predicate, 3), baseForOwnRight, true);
+	    }
+
+	    /**
+	     * Iterates over own and inherited enumerable string keyed properties of an
+	     * object and invokes `iteratee` for each property. The iteratee is invoked
+	     * with three arguments: (value, key, object). Iteratee functions may exit
+	     * iteration early by explicitly returning `false`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.3.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.forIn(new Foo, function(value, key) {
+	     *   console.log(key);
+	     * });
+	     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
+	     */
+	    function forIn(object, iteratee) {
+	      return object == null
+	        ? object
+	        : baseFor(object, getIteratee(iteratee), keysIn);
+	    }
+
+	    /**
+	     * This method is like `_.forIn` except that it iterates over properties of
+	     * `object` in the opposite order.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.forInRight(new Foo, function(value, key) {
+	     *   console.log(key);
+	     * });
+	     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
+	     */
+	    function forInRight(object, iteratee) {
+	      return object == null
+	        ? object
+	        : baseForRight(object, getIteratee(iteratee), keysIn);
+	    }
+
+	    /**
+	     * Iterates over own enumerable string keyed properties of an object and
+	     * invokes `iteratee` for each property. The iteratee is invoked with three
+	     * arguments: (value, key, object). Iteratee functions may exit iteration
+	     * early by explicitly returning `false`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.3.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.forOwn(new Foo, function(value, key) {
+	     *   console.log(key);
+	     * });
+	     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
+	     */
+	    function forOwn(object, iteratee) {
+	      return object && baseForOwn(object, getIteratee(iteratee));
+	    }
+
+	    /**
+	     * This method is like `_.forOwn` except that it iterates over properties of
+	     * `object` in the opposite order.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.0.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.forOwnRight(new Foo, function(value, key) {
+	     *   console.log(key);
+	     * });
+	     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
+	     */
+	    function forOwnRight(object, iteratee) {
+	      return object && baseForOwnRight(object, getIteratee(iteratee));
+	    }
+
+	    /**
+	     * Creates an array of function property names from own enumerable properties
+	     * of `object`.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The object to inspect.
+	     * @returns {Array} Returns the new array of property names.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = _.constant('a');
+	     *   this.b = _.constant('b');
+	     * }
+	     *
+	     * Foo.prototype.c = _.constant('c');
+	     *
+	     * _.functions(new Foo);
+	     * // => ['a', 'b']
+	     */
+	    function functions(object) {
+	      return object == null ? [] : baseFunctions(object, keys(object));
+	    }
+
+	    /**
+	     * Creates an array of function property names from own and inherited
+	     * enumerable properties of `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The object to inspect.
+	     * @returns {Array} Returns the new array of property names.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = _.constant('a');
+	     *   this.b = _.constant('b');
+	     * }
+	     *
+	     * Foo.prototype.c = _.constant('c');
+	     *
+	     * _.functionsIn(new Foo);
+	     * // => ['a', 'b', 'c']
+	     */
+	    function functionsIn(object) {
+	      return object == null ? [] : baseFunctions(object, keysIn(object));
+	    }
+
+	    /**
+	     * Gets the value at `path` of `object`. If the resolved value is
+	     * `undefined`, the `defaultValue` is used in its place.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.7.0
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the property to get.
+	     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
+	     * @returns {*} Returns the resolved value.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
+	     *
+	     * _.get(object, 'a[0].b.c');
+	     * // => 3
+	     *
+	     * _.get(object, ['a', '0', 'b', 'c']);
+	     * // => 3
+	     *
+	     * _.get(object, 'a.b.c', 'default');
+	     * // => 'default'
+	     */
+	    function get(object, path, defaultValue) {
+	      var result = object == null ? undefined : baseGet(object, path);
+	      return result === undefined ? defaultValue : result;
+	    }
+
+	    /**
+	     * Checks if `path` is a direct property of `object`.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path to check.
+	     * @returns {boolean} Returns `true` if `path` exists, else `false`.
+	     * @example
+	     *
+	     * var object = { 'a': { 'b': 2 } };
+	     * var other = _.create({ 'a': _.create({ 'b': 2 }) });
+	     *
+	     * _.has(object, 'a');
+	     * // => true
+	     *
+	     * _.has(object, 'a.b');
+	     * // => true
+	     *
+	     * _.has(object, ['a', 'b']);
+	     * // => true
+	     *
+	     * _.has(other, 'a');
+	     * // => false
+	     */
+	    function has(object, path) {
+	      return object != null && hasPath(object, path, baseHas);
+	    }
+
+	    /**
+	     * Checks if `path` is a direct or inherited property of `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path to check.
+	     * @returns {boolean} Returns `true` if `path` exists, else `false`.
+	     * @example
+	     *
+	     * var object = _.create({ 'a': _.create({ 'b': 2 }) });
+	     *
+	     * _.hasIn(object, 'a');
+	     * // => true
+	     *
+	     * _.hasIn(object, 'a.b');
+	     * // => true
+	     *
+	     * _.hasIn(object, ['a', 'b']);
+	     * // => true
+	     *
+	     * _.hasIn(object, 'b');
+	     * // => false
+	     */
+	    function hasIn(object, path) {
+	      return object != null && hasPath(object, path, baseHasIn);
+	    }
+
+	    /**
+	     * Creates an object composed of the inverted keys and values of `object`.
+	     * If `object` contains duplicate values, subsequent values overwrite
+	     * property assignments of previous values.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.7.0
+	     * @category Object
+	     * @param {Object} object The object to invert.
+	     * @returns {Object} Returns the new inverted object.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': 2, 'c': 1 };
+	     *
+	     * _.invert(object);
+	     * // => { '1': 'c', '2': 'b' }
+	     */
+	    var invert = createInverter(function(result, value, key) {
+	      result[value] = key;
+	    }, constant(identity));
+
+	    /**
+	     * This method is like `_.invert` except that the inverted object is generated
+	     * from the results of running each element of `object` thru `iteratee`. The
+	     * corresponding inverted value of each inverted key is an array of keys
+	     * responsible for generating the inverted value. The iteratee is invoked
+	     * with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.1.0
+	     * @category Object
+	     * @param {Object} object The object to invert.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {Object} Returns the new inverted object.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': 2, 'c': 1 };
+	     *
+	     * _.invertBy(object);
+	     * // => { '1': ['a', 'c'], '2': ['b'] }
+	     *
+	     * _.invertBy(object, function(value) {
+	     *   return 'group' + value;
+	     * });
+	     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }
+	     */
+	    var invertBy = createInverter(function(result, value, key) {
+	      if (hasOwnProperty.call(result, value)) {
+	        result[value].push(key);
+	      } else {
+	        result[value] = [key];
+	      }
+	    }, getIteratee);
+
+	    /**
+	     * Invokes the method at `path` of `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the method to invoke.
+	     * @param {...*} [args] The arguments to invoke the method with.
+	     * @returns {*} Returns the result of the invoked method.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
+	     *
+	     * _.invoke(object, 'a[0].b.c.slice', 1, 3);
+	     * // => [2, 3]
+	     */
+	    var invoke = rest(baseInvoke);
+
+	    /**
+	     * Creates an array of the own enumerable property names of `object`.
+	     *
+	     * **Note:** Non-object values are coerced to objects. See the
+	     * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)
+	     * for more details.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property names.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.keys(new Foo);
+	     * // => ['a', 'b'] (iteration order is not guaranteed)
+	     *
+	     * _.keys('hi');
+	     * // => ['0', '1']
+	     */
+	    function keys(object) {
+	      var isProto = isPrototype(object);
+	      if (!(isProto || isArrayLike(object))) {
+	        return baseKeys(object);
+	      }
+	      var indexes = indexKeys(object),
+	          skipIndexes = !!indexes,
+	          result = indexes || [],
+	          length = result.length;
+
+	      for (var key in object) {
+	        if (baseHas(object, key) &&
+	            !(skipIndexes && (key == 'length' || isIndex(key, length))) &&
+	            !(isProto && key == 'constructor')) {
+	          result.push(key);
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Creates an array of the own and inherited enumerable property names of `object`.
+	     *
+	     * **Note:** Non-object values are coerced to objects.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property names.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.keysIn(new Foo);
+	     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
+	     */
+	    function keysIn(object) {
+	      var index = -1,
+	          isProto = isPrototype(object),
+	          props = baseKeysIn(object),
+	          propsLength = props.length,
+	          indexes = indexKeys(object),
+	          skipIndexes = !!indexes,
+	          result = indexes || [],
+	          length = result.length;
+
+	      while (++index < propsLength) {
+	        var key = props[index];
+	        if (!(skipIndexes && (key == 'length' || isIndex(key, length))) &&
+	            !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
+	          result.push(key);
+	        }
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * The opposite of `_.mapValues`; this method creates an object with the
+	     * same values as `object` and keys generated by running each own enumerable
+	     * string keyed property of `object` thru `iteratee`. The iteratee is invoked
+	     * with three arguments: (value, key, object).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.8.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Object} Returns the new mapped object.
+	     * @example
+	     *
+	     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
+	     *   return key + value;
+	     * });
+	     * // => { 'a1': 1, 'b2': 2 }
+	     */
+	    function mapKeys(object, iteratee) {
+	      var result = {};
+	      iteratee = getIteratee(iteratee, 3);
+
+	      baseForOwn(object, function(value, key, object) {
+	        result[iteratee(value, key, object)] = value;
+	      });
+	      return result;
+	    }
+
+	    /**
+	     * Creates an object with the same keys as `object` and values generated
+	     * by running each own enumerable string keyed property of `object` thru
+	     * `iteratee`. The iteratee is invoked with three arguments:
+	     * (value, key, object).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.4.0
+	     * @category Object
+	     * @param {Object} object The object to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The function invoked per iteration.
+	     * @returns {Object} Returns the new mapped object.
+	     * @example
+	     *
+	     * var users = {
+	     *   'fred':    { 'user': 'fred',    'age': 40 },
+	     *   'pebbles': { 'user': 'pebbles', 'age': 1 }
+	     * };
+	     *
+	     * _.mapValues(users, function(o) { return o.age; });
+	     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.mapValues(users, 'age');
+	     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
+	     */
+	    function mapValues(object, iteratee) {
+	      var result = {};
+	      iteratee = getIteratee(iteratee, 3);
+
+	      baseForOwn(object, function(value, key, object) {
+	        result[key] = iteratee(value, key, object);
+	      });
+	      return result;
+	    }
+
+	    /**
+	     * This method is like `_.assign` except that it recursively merges own and
+	     * inherited enumerable string keyed properties of source objects into the
+	     * destination object. Source properties that resolve to `undefined` are
+	     * skipped if a destination value exists. Array and plain object properties
+	     * are merged recursively.Other objects and value types are overridden by
+	     * assignment. Source objects are applied from left to right. Subsequent
+	     * sources overwrite property assignments of previous sources.
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.5.0
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} [sources] The source objects.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * var users = {
+	     *   'data': [{ 'user': 'barney' }, { 'user': 'fred' }]
+	     * };
+	     *
+	     * var ages = {
+	     *   'data': [{ 'age': 36 }, { 'age': 40 }]
+	     * };
+	     *
+	     * _.merge(users, ages);
+	     * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }
+	     */
+	    var merge = createAssigner(function(object, source, srcIndex) {
+	      baseMerge(object, source, srcIndex);
+	    });
+
+	    /**
+	     * This method is like `_.merge` except that it accepts `customizer` which
+	     * is invoked to produce the merged values of the destination and source
+	     * properties. If `customizer` returns `undefined`, merging is handled by the
+	     * method instead. The `customizer` is invoked with seven arguments:
+	     * (objValue, srcValue, key, object, source, stack).
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The destination object.
+	     * @param {...Object} sources The source objects.
+	     * @param {Function} customizer The function to customize assigned values.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * function customizer(objValue, srcValue) {
+	     *   if (_.isArray(objValue)) {
+	     *     return objValue.concat(srcValue);
+	     *   }
+	     * }
+	     *
+	     * var object = {
+	     *   'fruits': ['apple'],
+	     *   'vegetables': ['beet']
+	     * };
+	     *
+	     * var other = {
+	     *   'fruits': ['banana'],
+	     *   'vegetables': ['carrot']
+	     * };
+	     *
+	     * _.mergeWith(object, other, customizer);
+	     * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }
+	     */
+	    var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
+	      baseMerge(object, source, srcIndex, customizer);
+	    });
+
+	    /**
+	     * The opposite of `_.pick`; this method creates an object composed of the
+	     * own and inherited enumerable string keyed properties of `object` that are
+	     * not omitted.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The source object.
+	     * @param {...(string|string[])} [props] The property identifiers to omit.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': '2', 'c': 3 };
+	     *
+	     * _.omit(object, ['a', 'c']);
+	     * // => { 'b': '2' }
+	     */
+	    var omit = rest(function(object, props) {
+	      if (object == null) {
+	        return {};
+	      }
+	      props = arrayMap(baseFlatten(props, 1), toKey);
+	      return basePick(object, baseDifference(getAllKeysIn(object), props));
+	    });
+
+	    /**
+	     * The opposite of `_.pickBy`; this method creates an object composed of
+	     * the own and inherited enumerable string keyed properties of `object` that
+	     * `predicate` doesn't return truthy for. The predicate is invoked with two
+	     * arguments: (value, key).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The source object.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per property.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': '2', 'c': 3 };
+	     *
+	     * _.omitBy(object, _.isNumber);
+	     * // => { 'b': '2' }
+	     */
+	    function omitBy(object, predicate) {
+	      predicate = getIteratee(predicate);
+	      return basePickBy(object, function(value, key) {
+	        return !predicate(value, key);
+	      });
+	    }
+
+	    /**
+	     * Creates an object composed of the picked `object` properties.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The source object.
+	     * @param {...(string|string[])} [props] The property identifiers to pick.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': '2', 'c': 3 };
+	     *
+	     * _.pick(object, ['a', 'c']);
+	     * // => { 'a': 1, 'c': 3 }
+	     */
+	    var pick = rest(function(object, props) {
+	      return object == null ? {} : basePick(object, baseFlatten(props, 1));
+	    });
+
+	    /**
+	     * Creates an object composed of the `object` properties `predicate` returns
+	     * truthy for. The predicate is invoked with two arguments: (value, key).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The source object.
+	     * @param {Array|Function|Object|string} [predicate=_.identity]
+	     *  The function invoked per property.
+	     * @returns {Object} Returns the new object.
+	     * @example
+	     *
+	     * var object = { 'a': 1, 'b': '2', 'c': 3 };
+	     *
+	     * _.pickBy(object, _.isNumber);
+	     * // => { 'a': 1, 'c': 3 }
+	     */
+	    function pickBy(object, predicate) {
+	      return object == null ? {} : basePickBy(object, getIteratee(predicate));
+	    }
+
+	    /**
+	     * This method is like `_.get` except that if the resolved value is a
+	     * function it's invoked with the `this` binding of its parent object and
+	     * its result is returned.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @param {Array|string} path The path of the property to resolve.
+	     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
+	     * @returns {*} Returns the resolved value.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
+	     *
+	     * _.result(object, 'a[0].b.c1');
+	     * // => 3
+	     *
+	     * _.result(object, 'a[0].b.c2');
+	     * // => 4
+	     *
+	     * _.result(object, 'a[0].b.c3', 'default');
+	     * // => 'default'
+	     *
+	     * _.result(object, 'a[0].b.c3', _.constant('default'));
+	     * // => 'default'
+	     */
+	    function result(object, path, defaultValue) {
+	      path = isKey(path, object) ? [path] : castPath(path);
+
+	      var index = -1,
+	          length = path.length;
+
+	      // Ensure the loop is entered when path is empty.
+	      if (!length) {
+	        object = undefined;
+	        length = 1;
+	      }
+	      while (++index < length) {
+	        var value = object == null ? undefined : object[path[index]];
+	        if (value === undefined) {
+	          index = length;
+	          value = defaultValue;
+	        }
+	        object = isFunction(value) ? value.call(object) : value;
+	      }
+	      return object;
+	    }
+
+	    /**
+	     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
+	     * it's created. Arrays are created for missing index properties while objects
+	     * are created for all other missing properties. Use `_.setWith` to customize
+	     * `path` creation.
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.7.0
+	     * @category Object
+	     * @param {Object} object The object to modify.
+	     * @param {Array|string} path The path of the property to set.
+	     * @param {*} value The value to set.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
+	     *
+	     * _.set(object, 'a[0].b.c', 4);
+	     * console.log(object.a[0].b.c);
+	     * // => 4
+	     *
+	     * _.set(object, ['x', '0', 'y', 'z'], 5);
+	     * console.log(object.x[0].y.z);
+	     * // => 5
+	     */
+	    function set(object, path, value) {
+	      return object == null ? object : baseSet(object, path, value);
+	    }
+
+	    /**
+	     * This method is like `_.set` except that it accepts `customizer` which is
+	     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
+	     * path creation is handled by the method instead. The `customizer` is invoked
+	     * with three arguments: (nsValue, key, nsObject).
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The object to modify.
+	     * @param {Array|string} path The path of the property to set.
+	     * @param {*} value The value to set.
+	     * @param {Function} [customizer] The function to customize assigned values.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * var object = {};
+	     *
+	     * _.setWith(object, '[0][1]', 'a', Object);
+	     * // => { '0': { '1': 'a' } }
+	     */
+	    function setWith(object, path, value, customizer) {
+	      customizer = typeof customizer == 'function' ? customizer : undefined;
+	      return object == null ? object : baseSet(object, path, value, customizer);
+	    }
+
+	    /**
+	     * Creates an array of own enumerable string keyed-value pairs for `object`
+	     * which can be consumed by `_.fromPairs`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @alias entries
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the new array of key-value pairs.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.toPairs(new Foo);
+	     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
+	     */
+	    function toPairs(object) {
+	      return baseToPairs(object, keys(object));
+	    }
+
+	    /**
+	     * Creates an array of own and inherited enumerable string keyed-value pairs
+	     * for `object` which can be consumed by `_.fromPairs`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @alias entriesIn
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the new array of key-value pairs.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.toPairsIn(new Foo);
+	     * // => [['a', 1], ['b', 2], ['c', 1]] (iteration order is not guaranteed)
+	     */
+	    function toPairsIn(object) {
+	      return baseToPairs(object, keysIn(object));
+	    }
+
+	    /**
+	     * An alternative to `_.reduce`; this method transforms `object` to a new
+	     * `accumulator` object which is the result of running each of its own
+	     * enumerable string keyed properties thru `iteratee`, with each invocation
+	     * potentially mutating the `accumulator` object. The iteratee is invoked
+	     * with four arguments: (accumulator, value, key, object). Iteratee functions
+	     * may exit iteration early by explicitly returning `false`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.3.0
+	     * @category Object
+	     * @param {Array|Object} object The object to iterate over.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @param {*} [accumulator] The custom accumulator value.
+	     * @returns {*} Returns the accumulated value.
+	     * @example
+	     *
+	     * _.transform([2, 3, 4], function(result, n) {
+	     *   result.push(n *= n);
+	     *   return n % 2 == 0;
+	     * }, []);
+	     * // => [4, 9]
+	     *
+	     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
+	     *   (result[value] || (result[value] = [])).push(key);
+	     * }, {});
+	     * // => { '1': ['a', 'c'], '2': ['b'] }
+	     */
+	    function transform(object, iteratee, accumulator) {
+	      var isArr = isArray(object) || isTypedArray(object);
+	      iteratee = getIteratee(iteratee, 4);
+
+	      if (accumulator == null) {
+	        if (isArr || isObject(object)) {
+	          var Ctor = object.constructor;
+	          if (isArr) {
+	            accumulator = isArray(object) ? new Ctor : [];
+	          } else {
+	            accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
+	          }
+	        } else {
+	          accumulator = {};
+	        }
+	      }
+	      (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {
+	        return iteratee(accumulator, value, index, object);
+	      });
+	      return accumulator;
+	    }
+
+	    /**
+	     * Removes the property at `path` of `object`.
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Object
+	     * @param {Object} object The object to modify.
+	     * @param {Array|string} path The path of the property to unset.
+	     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': 7 } }] };
+	     * _.unset(object, 'a[0].b.c');
+	     * // => true
+	     *
+	     * console.log(object);
+	     * // => { 'a': [{ 'b': {} }] };
+	     *
+	     * _.unset(object, ['a', '0', 'b', 'c']);
+	     * // => true
+	     *
+	     * console.log(object);
+	     * // => { 'a': [{ 'b': {} }] };
+	     */
+	    function unset(object, path) {
+	      return object == null ? true : baseUnset(object, path);
+	    }
+
+	    /**
+	     * This method is like `_.set` except that accepts `updater` to produce the
+	     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`
+	     * is invoked with one argument: (value).
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.6.0
+	     * @category Object
+	     * @param {Object} object The object to modify.
+	     * @param {Array|string} path The path of the property to set.
+	     * @param {Function} updater The function to produce the updated value.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
+	     *
+	     * _.update(object, 'a[0].b.c', function(n) { return n * n; });
+	     * console.log(object.a[0].b.c);
+	     * // => 9
+	     *
+	     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });
+	     * console.log(object.x[0].y.z);
+	     * // => 0
+	     */
+	    function update(object, path, updater) {
+	      return object == null ? object : baseUpdate(object, path, castFunction(updater));
+	    }
+
+	    /**
+	     * This method is like `_.update` except that it accepts `customizer` which is
+	     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
+	     * path creation is handled by the method instead. The `customizer` is invoked
+	     * with three arguments: (nsValue, key, nsObject).
+	     *
+	     * **Note:** This method mutates `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.6.0
+	     * @category Object
+	     * @param {Object} object The object to modify.
+	     * @param {Array|string} path The path of the property to set.
+	     * @param {Function} updater The function to produce the updated value.
+	     * @param {Function} [customizer] The function to customize assigned values.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * var object = {};
+	     *
+	     * _.updateWith(object, '[0][1]', _.constant('a'), Object);
+	     * // => { '0': { '1': 'a' } }
+	     */
+	    function updateWith(object, path, updater, customizer) {
+	      customizer = typeof customizer == 'function' ? customizer : undefined;
+	      return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
+	    }
+
+	    /**
+	     * Creates an array of the own enumerable string keyed property values of `object`.
+	     *
+	     * **Note:** Non-object values are coerced to objects.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property values.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.values(new Foo);
+	     * // => [1, 2] (iteration order is not guaranteed)
+	     *
+	     * _.values('hi');
+	     * // => ['h', 'i']
+	     */
+	    function values(object) {
+	      return object ? baseValues(object, keys(object)) : [];
+	    }
+
+	    /**
+	     * Creates an array of the own and inherited enumerable string keyed property
+	     * values of `object`.
+	     *
+	     * **Note:** Non-object values are coerced to objects.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Object
+	     * @param {Object} object The object to query.
+	     * @returns {Array} Returns the array of property values.
+	     * @example
+	     *
+	     * function Foo() {
+	     *   this.a = 1;
+	     *   this.b = 2;
+	     * }
+	     *
+	     * Foo.prototype.c = 3;
+	     *
+	     * _.valuesIn(new Foo);
+	     * // => [1, 2, 3] (iteration order is not guaranteed)
+	     */
+	    function valuesIn(object) {
+	      return object == null ? [] : baseValues(object, keysIn(object));
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Clamps `number` within the inclusive `lower` and `upper` bounds.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Number
+	     * @param {number} number The number to clamp.
+	     * @param {number} [lower] The lower bound.
+	     * @param {number} upper The upper bound.
+	     * @returns {number} Returns the clamped number.
+	     * @example
+	     *
+	     * _.clamp(-10, -5, 5);
+	     * // => -5
+	     *
+	     * _.clamp(10, -5, 5);
+	     * // => 5
+	     */
+	    function clamp(number, lower, upper) {
+	      if (upper === undefined) {
+	        upper = lower;
+	        lower = undefined;
+	      }
+	      if (upper !== undefined) {
+	        upper = toNumber(upper);
+	        upper = upper === upper ? upper : 0;
+	      }
+	      if (lower !== undefined) {
+	        lower = toNumber(lower);
+	        lower = lower === lower ? lower : 0;
+	      }
+	      return baseClamp(toNumber(number), lower, upper);
+	    }
+
+	    /**
+	     * Checks if `n` is between `start` and up to but not including, `end`. If
+	     * `end` is not specified, it's set to `start` with `start` then set to `0`.
+	     * If `start` is greater than `end` the params are swapped to support
+	     * negative ranges.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.3.0
+	     * @category Number
+	     * @param {number} number The number to check.
+	     * @param {number} [start=0] The start of the range.
+	     * @param {number} end The end of the range.
+	     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
+	     * @example
+	     *
+	     * _.inRange(3, 2, 4);
+	     * // => true
+	     *
+	     * _.inRange(4, 8);
+	     * // => true
+	     *
+	     * _.inRange(4, 2);
+	     * // => false
+	     *
+	     * _.inRange(2, 2);
+	     * // => false
+	     *
+	     * _.inRange(1.2, 2);
+	     * // => true
+	     *
+	     * _.inRange(5.2, 4);
+	     * // => false
+	     *
+	     * _.inRange(-3, -2, -6);
+	     * // => true
+	     */
+	    function inRange(number, start, end) {
+	      start = toNumber(start) || 0;
+	      if (end === undefined) {
+	        end = start;
+	        start = 0;
+	      } else {
+	        end = toNumber(end) || 0;
+	      }
+	      number = toNumber(number);
+	      return baseInRange(number, start, end);
+	    }
+
+	    /**
+	     * Produces a random number between the inclusive `lower` and `upper` bounds.
+	     * If only one argument is provided a number between `0` and the given number
+	     * is returned. If `floating` is `true`, or either `lower` or `upper` are
+	     * floats, a floating-point number is returned instead of an integer.
+	     *
+	     * **Note:** JavaScript follows the IEEE-754 standard for resolving
+	     * floating-point values which can produce unexpected results.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.7.0
+	     * @category Number
+	     * @param {number} [lower=0] The lower bound.
+	     * @param {number} [upper=1] The upper bound.
+	     * @param {boolean} [floating] Specify returning a floating-point number.
+	     * @returns {number} Returns the random number.
+	     * @example
+	     *
+	     * _.random(0, 5);
+	     * // => an integer between 0 and 5
+	     *
+	     * _.random(5);
+	     * // => also an integer between 0 and 5
+	     *
+	     * _.random(5, true);
+	     * // => a floating-point number between 0 and 5
+	     *
+	     * _.random(1.2, 5.2);
+	     * // => a floating-point number between 1.2 and 5.2
+	     */
+	    function random(lower, upper, floating) {
+	      if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
+	        upper = floating = undefined;
+	      }
+	      if (floating === undefined) {
+	        if (typeof upper == 'boolean') {
+	          floating = upper;
+	          upper = undefined;
+	        }
+	        else if (typeof lower == 'boolean') {
+	          floating = lower;
+	          lower = undefined;
+	        }
+	      }
+	      if (lower === undefined && upper === undefined) {
+	        lower = 0;
+	        upper = 1;
+	      }
+	      else {
+	        lower = toNumber(lower) || 0;
+	        if (upper === undefined) {
+	          upper = lower;
+	          lower = 0;
+	        } else {
+	          upper = toNumber(upper) || 0;
+	        }
+	      }
+	      if (lower > upper) {
+	        var temp = lower;
+	        lower = upper;
+	        upper = temp;
+	      }
+	      if (floating || lower % 1 || upper % 1) {
+	        var rand = nativeRandom();
+	        return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
+	      }
+	      return baseRandom(lower, upper);
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the camel cased string.
+	     * @example
+	     *
+	     * _.camelCase('Foo Bar');
+	     * // => 'fooBar'
+	     *
+	     * _.camelCase('--foo-bar--');
+	     * // => 'fooBar'
+	     *
+	     * _.camelCase('__FOO_BAR__');
+	     * // => 'fooBar'
+	     */
+	    var camelCase = createCompounder(function(result, word, index) {
+	      word = word.toLowerCase();
+	      return result + (index ? capitalize(word) : word);
+	    });
+
+	    /**
+	     * Converts the first character of `string` to upper case and the remaining
+	     * to lower case.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to capitalize.
+	     * @returns {string} Returns the capitalized string.
+	     * @example
+	     *
+	     * _.capitalize('FRED');
+	     * // => 'Fred'
+	     */
+	    function capitalize(string) {
+	      return upperFirst(toString(string).toLowerCase());
+	    }
+
+	    /**
+	     * Deburrs `string` by converting
+	     * [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
+	     * to basic latin letters and removing
+	     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to deburr.
+	     * @returns {string} Returns the deburred string.
+	     * @example
+	     *
+	     * _.deburr('déjà vu');
+	     * // => 'deja vu'
+	     */
+	    function deburr(string) {
+	      string = toString(string);
+	      return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, '');
+	    }
+
+	    /**
+	     * Checks if `string` ends with the given target string.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to search.
+	     * @param {string} [target] The string to search for.
+	     * @param {number} [position=string.length] The position to search from.
+	     * @returns {boolean} Returns `true` if `string` ends with `target`,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.endsWith('abc', 'c');
+	     * // => true
+	     *
+	     * _.endsWith('abc', 'b');
+	     * // => false
+	     *
+	     * _.endsWith('abc', 'b', 2);
+	     * // => true
+	     */
+	    function endsWith(string, target, position) {
+	      string = toString(string);
+	      target = typeof target == 'string' ? target : (target + '');
+
+	      var length = string.length;
+	      position = position === undefined
+	        ? length
+	        : baseClamp(toInteger(position), 0, length);
+
+	      position -= target.length;
+	      return position >= 0 && string.indexOf(target, position) == position;
+	    }
+
+	    /**
+	     * Converts the characters "&", "<", ">", '"', "'", and "\`" in `string` to
+	     * their corresponding HTML entities.
+	     *
+	     * **Note:** No other characters are escaped. To escape additional
+	     * characters use a third-party library like [_he_](https://mths.be/he).
+	     *
+	     * Though the ">" character is escaped for symmetry, characters like
+	     * ">" and "/" don't need escaping in HTML and have no special meaning
+	     * unless they're part of a tag or unquoted attribute value. See
+	     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
+	     * (under "semi-related fun fact") for more details.
+	     *
+	     * Backticks are escaped because in IE < 9, they can break out of
+	     * attribute values or HTML comments. See [#59](https://html5sec.org/#59),
+	     * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and
+	     * [#133](https://html5sec.org/#133) of the
+	     * [HTML5 Security Cheatsheet](https://html5sec.org/) for more details.
+	     *
+	     * When working with HTML you should always
+	     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
+	     * XSS vectors.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category String
+	     * @param {string} [string=''] The string to escape.
+	     * @returns {string} Returns the escaped string.
+	     * @example
+	     *
+	     * _.escape('fred, barney, & pebbles');
+	     * // => 'fred, barney, &amp; pebbles'
+	     */
+	    function escape(string) {
+	      string = toString(string);
+	      return (string && reHasUnescapedHtml.test(string))
+	        ? string.replace(reUnescapedHtml, escapeHtmlChar)
+	        : string;
+	    }
+
+	    /**
+	     * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
+	     * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to escape.
+	     * @returns {string} Returns the escaped string.
+	     * @example
+	     *
+	     * _.escapeRegExp('[lodash](https://lodash.com/)');
+	     * // => '\[lodash\]\(https://lodash\.com/\)'
+	     */
+	    function escapeRegExp(string) {
+	      string = toString(string);
+	      return (string && reHasRegExpChar.test(string))
+	        ? string.replace(reRegExpChar, '\\$&')
+	        : string;
+	    }
+
+	    /**
+	     * Converts `string` to
+	     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the kebab cased string.
+	     * @example
+	     *
+	     * _.kebabCase('Foo Bar');
+	     * // => 'foo-bar'
+	     *
+	     * _.kebabCase('fooBar');
+	     * // => 'foo-bar'
+	     *
+	     * _.kebabCase('__FOO_BAR__');
+	     * // => 'foo-bar'
+	     */
+	    var kebabCase = createCompounder(function(result, word, index) {
+	      return result + (index ? '-' : '') + word.toLowerCase();
+	    });
+
+	    /**
+	     * Converts `string`, as space separated words, to lower case.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the lower cased string.
+	     * @example
+	     *
+	     * _.lowerCase('--Foo-Bar--');
+	     * // => 'foo bar'
+	     *
+	     * _.lowerCase('fooBar');
+	     * // => 'foo bar'
+	     *
+	     * _.lowerCase('__FOO_BAR__');
+	     * // => 'foo bar'
+	     */
+	    var lowerCase = createCompounder(function(result, word, index) {
+	      return result + (index ? ' ' : '') + word.toLowerCase();
+	    });
+
+	    /**
+	     * Converts the first character of `string` to lower case.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the converted string.
+	     * @example
+	     *
+	     * _.lowerFirst('Fred');
+	     * // => 'fred'
+	     *
+	     * _.lowerFirst('FRED');
+	     * // => 'fRED'
+	     */
+	    var lowerFirst = createCaseFirst('toLowerCase');
+
+	    /**
+	     * Pads `string` on the left and right sides if it's shorter than `length`.
+	     * Padding characters are truncated if they can't be evenly divided by `length`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to pad.
+	     * @param {number} [length=0] The padding length.
+	     * @param {string} [chars=' '] The string used as padding.
+	     * @returns {string} Returns the padded string.
+	     * @example
+	     *
+	     * _.pad('abc', 8);
+	     * // => '  abc   '
+	     *
+	     * _.pad('abc', 8, '_-');
+	     * // => '_-abc_-_'
+	     *
+	     * _.pad('abc', 3);
+	     * // => 'abc'
+	     */
+	    function pad(string, length, chars) {
+	      string = toString(string);
+	      length = toInteger(length);
+
+	      var strLength = length ? stringSize(string) : 0;
+	      if (!length || strLength >= length) {
+	        return string;
+	      }
+	      var mid = (length - strLength) / 2;
+	      return (
+	        createPadding(nativeFloor(mid), chars) +
+	        string +
+	        createPadding(nativeCeil(mid), chars)
+	      );
+	    }
+
+	    /**
+	     * Pads `string` on the right side if it's shorter than `length`. Padding
+	     * characters are truncated if they exceed `length`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to pad.
+	     * @param {number} [length=0] The padding length.
+	     * @param {string} [chars=' '] The string used as padding.
+	     * @returns {string} Returns the padded string.
+	     * @example
+	     *
+	     * _.padEnd('abc', 6);
+	     * // => 'abc   '
+	     *
+	     * _.padEnd('abc', 6, '_-');
+	     * // => 'abc_-_'
+	     *
+	     * _.padEnd('abc', 3);
+	     * // => 'abc'
+	     */
+	    function padEnd(string, length, chars) {
+	      string = toString(string);
+	      length = toInteger(length);
+
+	      var strLength = length ? stringSize(string) : 0;
+	      return (length && strLength < length)
+	        ? (string + createPadding(length - strLength, chars))
+	        : string;
+	    }
+
+	    /**
+	     * Pads `string` on the left side if it's shorter than `length`. Padding
+	     * characters are truncated if they exceed `length`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to pad.
+	     * @param {number} [length=0] The padding length.
+	     * @param {string} [chars=' '] The string used as padding.
+	     * @returns {string} Returns the padded string.
+	     * @example
+	     *
+	     * _.padStart('abc', 6);
+	     * // => '   abc'
+	     *
+	     * _.padStart('abc', 6, '_-');
+	     * // => '_-_abc'
+	     *
+	     * _.padStart('abc', 3);
+	     * // => 'abc'
+	     */
+	    function padStart(string, length, chars) {
+	      string = toString(string);
+	      length = toInteger(length);
+
+	      var strLength = length ? stringSize(string) : 0;
+	      return (length && strLength < length)
+	        ? (createPadding(length - strLength, chars) + string)
+	        : string;
+	    }
+
+	    /**
+	     * Converts `string` to an integer of the specified radix. If `radix` is
+	     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
+	     * hexadecimal, in which case a `radix` of `16` is used.
+	     *
+	     * **Note:** This method aligns with the
+	     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 1.1.0
+	     * @category String
+	     * @param {string} string The string to convert.
+	     * @param {number} [radix=10] The radix to interpret `value` by.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {number} Returns the converted integer.
+	     * @example
+	     *
+	     * _.parseInt('08');
+	     * // => 8
+	     *
+	     * _.map(['6', '08', '10'], _.parseInt);
+	     * // => [6, 8, 10]
+	     */
+	    function parseInt(string, radix, guard) {
+	      // Chrome fails to trim leading <BOM> whitespace characters.
+	      // See https://bugs.chromium.org/p/v8/issues/detail?id=3109 for more details.
+	      if (guard || radix == null) {
+	        radix = 0;
+	      } else if (radix) {
+	        radix = +radix;
+	      }
+	      string = toString(string).replace(reTrim, '');
+	      return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));
+	    }
+
+	    /**
+	     * Repeats the given string `n` times.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to repeat.
+	     * @param {number} [n=1] The number of times to repeat the string.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {string} Returns the repeated string.
+	     * @example
+	     *
+	     * _.repeat('*', 3);
+	     * // => '***'
+	     *
+	     * _.repeat('abc', 2);
+	     * // => 'abcabc'
+	     *
+	     * _.repeat('abc', 0);
+	     * // => ''
+	     */
+	    function repeat(string, n, guard) {
+	      if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {
+	        n = 1;
+	      } else {
+	        n = toInteger(n);
+	      }
+	      return baseRepeat(toString(string), n);
+	    }
+
+	    /**
+	     * Replaces matches for `pattern` in `string` with `replacement`.
+	     *
+	     * **Note:** This method is based on
+	     * [`String#replace`](https://mdn.io/String/replace).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to modify.
+	     * @param {RegExp|string} pattern The pattern to replace.
+	     * @param {Function|string} replacement The match replacement.
+	     * @returns {string} Returns the modified string.
+	     * @example
+	     *
+	     * _.replace('Hi Fred', 'Fred', 'Barney');
+	     * // => 'Hi Barney'
+	     */
+	    function replace() {
+	      var args = arguments,
+	          string = toString(args[0]);
+
+	      return args.length < 3 ? string : nativeReplace.call(string, args[1], args[2]);
+	    }
+
+	    /**
+	     * Converts `string` to
+	     * [snake case](https://en.wikipedia.org/wiki/Snake_case).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the snake cased string.
+	     * @example
+	     *
+	     * _.snakeCase('Foo Bar');
+	     * // => 'foo_bar'
+	     *
+	     * _.snakeCase('fooBar');
+	     * // => 'foo_bar'
+	     *
+	     * _.snakeCase('--FOO-BAR--');
+	     * // => 'foo_bar'
+	     */
+	    var snakeCase = createCompounder(function(result, word, index) {
+	      return result + (index ? '_' : '') + word.toLowerCase();
+	    });
+
+	    /**
+	     * Splits `string` by `separator`.
+	     *
+	     * **Note:** This method is based on
+	     * [`String#split`](https://mdn.io/String/split).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to split.
+	     * @param {RegExp|string} separator The separator pattern to split by.
+	     * @param {number} [limit] The length to truncate results to.
+	     * @returns {Array} Returns the new array of string segments.
+	     * @example
+	     *
+	     * _.split('a-b-c', '-', 2);
+	     * // => ['a', 'b']
+	     */
+	    function split(string, separator, limit) {
+	      if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {
+	        separator = limit = undefined;
+	      }
+	      limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;
+	      if (!limit) {
+	        return [];
+	      }
+	      string = toString(string);
+	      if (string && (
+	            typeof separator == 'string' ||
+	            (separator != null && !isRegExp(separator))
+	          )) {
+	        separator += '';
+	        if (separator == '' && reHasComplexSymbol.test(string)) {
+	          return castSlice(stringToArray(string), 0, limit);
+	        }
+	      }
+	      return nativeSplit.call(string, separator, limit);
+	    }
+
+	    /**
+	     * Converts `string` to
+	     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.1.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the start cased string.
+	     * @example
+	     *
+	     * _.startCase('--foo-bar--');
+	     * // => 'Foo Bar'
+	     *
+	     * _.startCase('fooBar');
+	     * // => 'Foo Bar'
+	     *
+	     * _.startCase('__FOO_BAR__');
+	     * // => 'FOO BAR'
+	     */
+	    var startCase = createCompounder(function(result, word, index) {
+	      return result + (index ? ' ' : '') + upperFirst(word);
+	    });
+
+	    /**
+	     * Checks if `string` starts with the given target string.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to search.
+	     * @param {string} [target] The string to search for.
+	     * @param {number} [position=0] The position to search from.
+	     * @returns {boolean} Returns `true` if `string` starts with `target`,
+	     *  else `false`.
+	     * @example
+	     *
+	     * _.startsWith('abc', 'a');
+	     * // => true
+	     *
+	     * _.startsWith('abc', 'b');
+	     * // => false
+	     *
+	     * _.startsWith('abc', 'b', 1);
+	     * // => true
+	     */
+	    function startsWith(string, target, position) {
+	      string = toString(string);
+	      position = baseClamp(toInteger(position), 0, string.length);
+	      return string.lastIndexOf(target, position) == position;
+	    }
+
+	    /**
+	     * Creates a compiled template function that can interpolate data properties
+	     * in "interpolate" delimiters, HTML-escape interpolated data properties in
+	     * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data
+	     * properties may be accessed as free variables in the template. If a setting
+	     * object is given, it takes precedence over `_.templateSettings` values.
+	     *
+	     * **Note:** In the development build `_.template` utilizes
+	     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
+	     * for easier debugging.
+	     *
+	     * For more information on precompiling templates see
+	     * [lodash's custom builds documentation](https://lodash.com/custom-builds).
+	     *
+	     * For more information on Chrome extension sandboxes see
+	     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category String
+	     * @param {string} [string=''] The template string.
+	     * @param {Object} [options={}] The options object.
+	     * @param {RegExp} [options.escape=_.templateSettings.escape]
+	     *  The HTML "escape" delimiter.
+	     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]
+	     *  The "evaluate" delimiter.
+	     * @param {Object} [options.imports=_.templateSettings.imports]
+	     *  An object to import into the template as free variables.
+	     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]
+	     *  The "interpolate" delimiter.
+	     * @param {string} [options.sourceURL='lodash.templateSources[n]']
+	     *  The sourceURL of the compiled template.
+	     * @param {string} [options.variable='obj']
+	     *  The data object variable name.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Function} Returns the compiled template function.
+	     * @example
+	     *
+	     * // Use the "interpolate" delimiter to create a compiled template.
+	     * var compiled = _.template('hello <%= user %>!');
+	     * compiled({ 'user': 'fred' });
+	     * // => 'hello fred!'
+	     *
+	     * // Use the HTML "escape" delimiter to escape data property values.
+	     * var compiled = _.template('<b><%- value %></b>');
+	     * compiled({ 'value': '<script>' });
+	     * // => '<b>&lt;script&gt;</b>'
+	     *
+	     * // Use the "evaluate" delimiter to execute JavaScript and generate HTML.
+	     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');
+	     * compiled({ 'users': ['fred', 'barney'] });
+	     * // => '<li>fred</li><li>barney</li>'
+	     *
+	     * // Use the internal `print` function in "evaluate" delimiters.
+	     * var compiled = _.template('<% print("hello " + user); %>!');
+	     * compiled({ 'user': 'barney' });
+	     * // => 'hello barney!'
+	     *
+	     * // Use the ES delimiter as an alternative to the default "interpolate" delimiter.
+	     * var compiled = _.template('hello ${ user }!');
+	     * compiled({ 'user': 'pebbles' });
+	     * // => 'hello pebbles!'
+	     *
+	     * // Use custom template delimiters.
+	     * _.templateSettings.interpolate = /{{([\s\S]+?)}}/g;
+	     * var compiled = _.template('hello {{ user }}!');
+	     * compiled({ 'user': 'mustache' });
+	     * // => 'hello mustache!'
+	     *
+	     * // Use backslashes to treat delimiters as plain text.
+	     * var compiled = _.template('<%= "\\<%- value %\\>" %>');
+	     * compiled({ 'value': 'ignored' });
+	     * // => '<%- value %>'
+	     *
+	     * // Use the `imports` option to import `jQuery` as `jq`.
+	     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';
+	     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });
+	     * compiled({ 'users': ['fred', 'barney'] });
+	     * // => '<li>fred</li><li>barney</li>'
+	     *
+	     * // Use the `sourceURL` option to specify a custom sourceURL for the template.
+	     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });
+	     * compiled(data);
+	     * // => Find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector.
+	     *
+	     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.
+	     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });
+	     * compiled.source;
+	     * // => function(data) {
+	     * //   var __t, __p = '';
+	     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
+	     * //   return __p;
+	     * // }
+	     *
+	     * // Use the `source` property to inline compiled templates for meaningful
+	     * // line numbers in error messages and stack traces.
+	     * fs.writeFileSync(path.join(cwd, 'jst.js'), '\
+	     *   var JST = {\
+	     *     "main": ' + _.template(mainText).source + '\
+	     *   };\
+	     * ');
+	     */
+	    function template(string, options, guard) {
+	      // Based on John Resig's `tmpl` implementation
+	      // (http://ejohn.org/blog/javascript-micro-templating/)
+	      // and Laura Doktorova's doT.js (https://github.com/olado/doT).
+	      var settings = lodash.templateSettings;
+
+	      if (guard && isIterateeCall(string, options, guard)) {
+	        options = undefined;
+	      }
+	      string = toString(string);
+	      options = assignInWith({}, options, settings, assignInDefaults);
+
+	      var imports = assignInWith({}, options.imports, settings.imports, assignInDefaults),
+	          importsKeys = keys(imports),
+	          importsValues = baseValues(imports, importsKeys);
+
+	      var isEscaping,
+	          isEvaluating,
+	          index = 0,
+	          interpolate = options.interpolate || reNoMatch,
+	          source = "__p += '";
+
+	      // Compile the regexp to match each delimiter.
+	      var reDelimiters = RegExp(
+	        (options.escape || reNoMatch).source + '|' +
+	        interpolate.source + '|' +
+	        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +
+	        (options.evaluate || reNoMatch).source + '|$'
+	      , 'g');
+
+	      // Use a sourceURL for easier debugging.
+	      var sourceURL = '//# sourceURL=' +
+	        ('sourceURL' in options
+	          ? options.sourceURL
+	          : ('lodash.templateSources[' + (++templateCounter) + ']')
+	        ) + '\n';
+
+	      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
+	        interpolateValue || (interpolateValue = esTemplateValue);
+
+	        // Escape characters that can't be included in string literals.
+	        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
+
+	        // Replace delimiters with snippets.
+	        if (escapeValue) {
+	          isEscaping = true;
+	          source += "' +\n__e(" + escapeValue + ") +\n'";
+	        }
+	        if (evaluateValue) {
+	          isEvaluating = true;
+	          source += "';\n" + evaluateValue + ";\n__p += '";
+	        }
+	        if (interpolateValue) {
+	          source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
+	        }
+	        index = offset + match.length;
+
+	        // The JS engine embedded in Adobe products needs `match` returned in
+	        // order to produce the correct `offset` value.
+	        return match;
+	      });
+
+	      source += "';\n";
+
+	      // If `variable` is not specified wrap a with-statement around the generated
+	      // code to add the data object to the top of the scope chain.
+	      var variable = options.variable;
+	      if (!variable) {
+	        source = 'with (obj) {\n' + source + '\n}\n';
+	      }
+	      // Cleanup code by stripping empty strings.
+	      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)
+	        .replace(reEmptyStringMiddle, '$1')
+	        .replace(reEmptyStringTrailing, '$1;');
+
+	      // Frame code as the function body.
+	      source = 'function(' + (variable || 'obj') + ') {\n' +
+	        (variable
+	          ? ''
+	          : 'obj || (obj = {});\n'
+	        ) +
+	        "var __t, __p = ''" +
+	        (isEscaping
+	           ? ', __e = _.escape'
+	           : ''
+	        ) +
+	        (isEvaluating
+	          ? ', __j = Array.prototype.join;\n' +
+	            "function print() { __p += __j.call(arguments, '') }\n"
+	          : ';\n'
+	        ) +
+	        source +
+	        'return __p\n}';
+
+	      var result = attempt(function() {
+	        return Function(importsKeys, sourceURL + 'return ' + source)
+	          .apply(undefined, importsValues);
+	      });
+
+	      // Provide the compiled function's source by its `toString` method or
+	      // the `source` property as a convenience for inlining compiled templates.
+	      result.source = source;
+	      if (isError(result)) {
+	        throw result;
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Converts `string`, as a whole, to lower case just like
+	     * [String#toLowerCase](https://mdn.io/toLowerCase).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the lower cased string.
+	     * @example
+	     *
+	     * _.toLower('--Foo-Bar--');
+	     * // => '--foo-bar--'
+	     *
+	     * _.toLower('fooBar');
+	     * // => 'foobar'
+	     *
+	     * _.toLower('__FOO_BAR__');
+	     * // => '__foo_bar__'
+	     */
+	    function toLower(value) {
+	      return toString(value).toLowerCase();
+	    }
+
+	    /**
+	     * Converts `string`, as a whole, to upper case just like
+	     * [String#toUpperCase](https://mdn.io/toUpperCase).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the upper cased string.
+	     * @example
+	     *
+	     * _.toUpper('--foo-bar--');
+	     * // => '--FOO-BAR--'
+	     *
+	     * _.toUpper('fooBar');
+	     * // => 'FOOBAR'
+	     *
+	     * _.toUpper('__foo_bar__');
+	     * // => '__FOO_BAR__'
+	     */
+	    function toUpper(value) {
+	      return toString(value).toUpperCase();
+	    }
+
+	    /**
+	     * Removes leading and trailing whitespace or specified characters from `string`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to trim.
+	     * @param {string} [chars=whitespace] The characters to trim.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {string} Returns the trimmed string.
+	     * @example
+	     *
+	     * _.trim('  abc  ');
+	     * // => 'abc'
+	     *
+	     * _.trim('-_-abc-_-', '_-');
+	     * // => 'abc'
+	     *
+	     * _.map(['  foo  ', '  bar  '], _.trim);
+	     * // => ['foo', 'bar']
+	     */
+	    function trim(string, chars, guard) {
+	      string = toString(string);
+	      if (!string) {
+	        return string;
+	      }
+	      if (guard || chars === undefined) {
+	        return string.replace(reTrim, '');
+	      }
+	      if (!(chars += '')) {
+	        return string;
+	      }
+	      var strSymbols = stringToArray(string),
+	          chrSymbols = stringToArray(chars),
+	          start = charsStartIndex(strSymbols, chrSymbols),
+	          end = charsEndIndex(strSymbols, chrSymbols) + 1;
+
+	      return castSlice(strSymbols, start, end).join('');
+	    }
+
+	    /**
+	     * Removes trailing whitespace or specified characters from `string`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to trim.
+	     * @param {string} [chars=whitespace] The characters to trim.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {string} Returns the trimmed string.
+	     * @example
+	     *
+	     * _.trimEnd('  abc  ');
+	     * // => '  abc'
+	     *
+	     * _.trimEnd('-_-abc-_-', '_-');
+	     * // => '-_-abc'
+	     */
+	    function trimEnd(string, chars, guard) {
+	      string = toString(string);
+	      if (!string) {
+	        return string;
+	      }
+	      if (guard || chars === undefined) {
+	        return string.replace(reTrimEnd, '');
+	      }
+	      if (!(chars += '')) {
+	        return string;
+	      }
+	      var strSymbols = stringToArray(string),
+	          end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;
+
+	      return castSlice(strSymbols, 0, end).join('');
+	    }
+
+	    /**
+	     * Removes leading whitespace or specified characters from `string`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to trim.
+	     * @param {string} [chars=whitespace] The characters to trim.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {string} Returns the trimmed string.
+	     * @example
+	     *
+	     * _.trimStart('  abc  ');
+	     * // => 'abc  '
+	     *
+	     * _.trimStart('-_-abc-_-', '_-');
+	     * // => 'abc-_-'
+	     */
+	    function trimStart(string, chars, guard) {
+	      string = toString(string);
+	      if (!string) {
+	        return string;
+	      }
+	      if (guard || chars === undefined) {
+	        return string.replace(reTrimStart, '');
+	      }
+	      if (!(chars += '')) {
+	        return string;
+	      }
+	      var strSymbols = stringToArray(string),
+	          start = charsStartIndex(strSymbols, stringToArray(chars));
+
+	      return castSlice(strSymbols, start).join('');
+	    }
+
+	    /**
+	     * Truncates `string` if it's longer than the given maximum string length.
+	     * The last characters of the truncated string are replaced with the omission
+	     * string which defaults to "...".
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to truncate.
+	     * @param {Object} [options={}] The options object.
+	     * @param {number} [options.length=30] The maximum string length.
+	     * @param {string} [options.omission='...'] The string to indicate text is omitted.
+	     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.
+	     * @returns {string} Returns the truncated string.
+	     * @example
+	     *
+	     * _.truncate('hi-diddly-ho there, neighborino');
+	     * // => 'hi-diddly-ho there, neighbo...'
+	     *
+	     * _.truncate('hi-diddly-ho there, neighborino', {
+	     *   'length': 24,
+	     *   'separator': ' '
+	     * });
+	     * // => 'hi-diddly-ho there,...'
+	     *
+	     * _.truncate('hi-diddly-ho there, neighborino', {
+	     *   'length': 24,
+	     *   'separator': /,? +/
+	     * });
+	     * // => 'hi-diddly-ho there...'
+	     *
+	     * _.truncate('hi-diddly-ho there, neighborino', {
+	     *   'omission': ' [...]'
+	     * });
+	     * // => 'hi-diddly-ho there, neig [...]'
+	     */
+	    function truncate(string, options) {
+	      var length = DEFAULT_TRUNC_LENGTH,
+	          omission = DEFAULT_TRUNC_OMISSION;
+
+	      if (isObject(options)) {
+	        var separator = 'separator' in options ? options.separator : separator;
+	        length = 'length' in options ? toInteger(options.length) : length;
+	        omission = 'omission' in options ? toString(options.omission) : omission;
+	      }
+	      string = toString(string);
+
+	      var strLength = string.length;
+	      if (reHasComplexSymbol.test(string)) {
+	        var strSymbols = stringToArray(string);
+	        strLength = strSymbols.length;
+	      }
+	      if (length >= strLength) {
+	        return string;
+	      }
+	      var end = length - stringSize(omission);
+	      if (end < 1) {
+	        return omission;
+	      }
+	      var result = strSymbols
+	        ? castSlice(strSymbols, 0, end).join('')
+	        : string.slice(0, end);
+
+	      if (separator === undefined) {
+	        return result + omission;
+	      }
+	      if (strSymbols) {
+	        end += (result.length - end);
+	      }
+	      if (isRegExp(separator)) {
+	        if (string.slice(end).search(separator)) {
+	          var match,
+	              substring = result;
+
+	          if (!separator.global) {
+	            separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
+	          }
+	          separator.lastIndex = 0;
+	          while ((match = separator.exec(substring))) {
+	            var newEnd = match.index;
+	          }
+	          result = result.slice(0, newEnd === undefined ? end : newEnd);
+	        }
+	      } else if (string.indexOf(separator, end) != end) {
+	        var index = result.lastIndexOf(separator);
+	        if (index > -1) {
+	          result = result.slice(0, index);
+	        }
+	      }
+	      return result + omission;
+	    }
+
+	    /**
+	     * The inverse of `_.escape`; this method converts the HTML entities
+	     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, `&#39;`, and `&#96;` in `string` to
+	     * their corresponding characters.
+	     *
+	     * **Note:** No other HTML entities are unescaped. To unescape additional
+	     * HTML entities use a third-party library like [_he_](https://mths.be/he).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 0.6.0
+	     * @category String
+	     * @param {string} [string=''] The string to unescape.
+	     * @returns {string} Returns the unescaped string.
+	     * @example
+	     *
+	     * _.unescape('fred, barney, &amp; pebbles');
+	     * // => 'fred, barney, & pebbles'
+	     */
+	    function unescape(string) {
+	      string = toString(string);
+	      return (string && reHasEscapedHtml.test(string))
+	        ? string.replace(reEscapedHtml, unescapeHtmlChar)
+	        : string;
+	    }
+
+	    /**
+	     * Converts `string`, as space separated words, to upper case.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the upper cased string.
+	     * @example
+	     *
+	     * _.upperCase('--foo-bar');
+	     * // => 'FOO BAR'
+	     *
+	     * _.upperCase('fooBar');
+	     * // => 'FOO BAR'
+	     *
+	     * _.upperCase('__foo_bar__');
+	     * // => 'FOO BAR'
+	     */
+	    var upperCase = createCompounder(function(result, word, index) {
+	      return result + (index ? ' ' : '') + word.toUpperCase();
+	    });
+
+	    /**
+	     * Converts the first character of `string` to upper case.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to convert.
+	     * @returns {string} Returns the converted string.
+	     * @example
+	     *
+	     * _.upperFirst('fred');
+	     * // => 'Fred'
+	     *
+	     * _.upperFirst('FRED');
+	     * // => 'FRED'
+	     */
+	    var upperFirst = createCaseFirst('toUpperCase');
+
+	    /**
+	     * Splits `string` into an array of its words.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category String
+	     * @param {string} [string=''] The string to inspect.
+	     * @param {RegExp|string} [pattern] The pattern to match words.
+	     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
+	     * @returns {Array} Returns the words of `string`.
+	     * @example
+	     *
+	     * _.words('fred, barney, & pebbles');
+	     * // => ['fred', 'barney', 'pebbles']
+	     *
+	     * _.words('fred, barney, & pebbles', /[^, ]+/g);
+	     * // => ['fred', 'barney', '&', 'pebbles']
+	     */
+	    function words(string, pattern, guard) {
+	      string = toString(string);
+	      pattern = guard ? undefined : pattern;
+
+	      if (pattern === undefined) {
+	        pattern = reHasComplexWord.test(string) ? reComplexWord : reBasicWord;
+	      }
+	      return string.match(pattern) || [];
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Attempts to invoke `func`, returning either the result or the caught error
+	     * object. Any additional arguments are provided to `func` when it's invoked.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Util
+	     * @param {Function} func The function to attempt.
+	     * @param {...*} [args] The arguments to invoke `func` with.
+	     * @returns {*} Returns the `func` result or error object.
+	     * @example
+	     *
+	     * // Avoid throwing errors for invalid selectors.
+	     * var elements = _.attempt(function(selector) {
+	     *   return document.querySelectorAll(selector);
+	     * }, '>_>');
+	     *
+	     * if (_.isError(elements)) {
+	     *   elements = [];
+	     * }
+	     */
+	    var attempt = rest(function(func, args) {
+	      try {
+	        return apply(func, undefined, args);
+	      } catch (e) {
+	        return isError(e) ? e : new Error(e);
+	      }
+	    });
+
+	    /**
+	     * Binds methods of an object to the object itself, overwriting the existing
+	     * method.
+	     *
+	     * **Note:** This method doesn't set the "length" property of bound functions.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {Object} object The object to bind and assign the bound methods to.
+	     * @param {...(string|string[])} methodNames The object method names to bind.
+	     * @returns {Object} Returns `object`.
+	     * @example
+	     *
+	     * var view = {
+	     *   'label': 'docs',
+	     *   'onClick': function() {
+	     *     console.log('clicked ' + this.label);
+	     *   }
+	     * };
+	     *
+	     * _.bindAll(view, 'onClick');
+	     * jQuery(element).on('click', view.onClick);
+	     * // => Logs 'clicked docs' when clicked.
+	     */
+	    var bindAll = rest(function(object, methodNames) {
+	      arrayEach(baseFlatten(methodNames, 1), function(key) {
+	        object[key] = bind(object[key], object);
+	      });
+	      return object;
+	    });
+
+	    /**
+	     * Creates a function that iterates over `pairs` and invokes the corresponding
+	     * function of the first predicate to return truthy. The predicate-function
+	     * pairs are invoked with the `this` binding and arguments of the created
+	     * function.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {Array} pairs The predicate-function pairs.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var func = _.cond([
+	     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],
+	     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
+	     *   [_.constant(true),                _.constant('no match')]
+	     * ]);
+	     *
+	     * func({ 'a': 1, 'b': 2 });
+	     * // => 'matches A'
+	     *
+	     * func({ 'a': 0, 'b': 1 });
+	     * // => 'matches B'
+	     *
+	     * func({ 'a': '1', 'b': '2' });
+	     * // => 'no match'
+	     */
+	    function cond(pairs) {
+	      var length = pairs ? pairs.length : 0,
+	          toIteratee = getIteratee();
+
+	      pairs = !length ? [] : arrayMap(pairs, function(pair) {
+	        if (typeof pair[1] != 'function') {
+	          throw new TypeError(FUNC_ERROR_TEXT);
+	        }
+	        return [toIteratee(pair[0]), pair[1]];
+	      });
+
+	      return rest(function(args) {
+	        var index = -1;
+	        while (++index < length) {
+	          var pair = pairs[index];
+	          if (apply(pair[0], this, args)) {
+	            return apply(pair[1], this, args);
+	          }
+	        }
+	      });
+	    }
+
+	    /**
+	     * Creates a function that invokes the predicate properties of `source` with
+	     * the corresponding property values of a given object, returning `true` if
+	     * all predicates return truthy, else `false`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {Object} source The object of property predicates to conform to.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36 },
+	     *   { 'user': 'fred',   'age': 40 }
+	     * ];
+	     *
+	     * _.filter(users, _.conforms({ 'age': _.partial(_.gt, _, 38) }));
+	     * // => [{ 'user': 'fred', 'age': 40 }]
+	     */
+	    function conforms(source) {
+	      return baseConforms(baseClone(source, true));
+	    }
+
+	    /**
+	     * Creates a function that returns `value`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.4.0
+	     * @category Util
+	     * @param {*} value The value to return from the new function.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var object = { 'user': 'fred' };
+	     * var getter = _.constant(object);
+	     *
+	     * getter() === object;
+	     * // => true
+	     */
+	    function constant(value) {
+	      return function() {
+	        return value;
+	      };
+	    }
+
+	    /**
+	     * Creates a function that returns the result of invoking the given functions
+	     * with the `this` binding of the created function, where each successive
+	     * invocation is supplied the return value of the previous.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Util
+	     * @param {...(Function|Function[])} [funcs] Functions to invoke.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * function square(n) {
+	     *   return n * n;
+	     * }
+	     *
+	     * var addSquare = _.flow(_.add, square);
+	     * addSquare(1, 2);
+	     * // => 9
+	     */
+	    var flow = createFlow();
+
+	    /**
+	     * This method is like `_.flow` except that it creates a function that
+	     * invokes the given functions from right to left.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {...(Function|Function[])} [funcs] Functions to invoke.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * function square(n) {
+	     *   return n * n;
+	     * }
+	     *
+	     * var addSquare = _.flowRight(square, _.add);
+	     * addSquare(1, 2);
+	     * // => 9
+	     */
+	    var flowRight = createFlow(true);
+
+	    /**
+	     * This method returns the first argument given to it.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {*} value Any value.
+	     * @returns {*} Returns `value`.
+	     * @example
+	     *
+	     * var object = { 'user': 'fred' };
+	     *
+	     * _.identity(object) === object;
+	     * // => true
+	     */
+	    function identity(value) {
+	      return value;
+	    }
+
+	    /**
+	     * Creates a function that invokes `func` with the arguments of the created
+	     * function. If `func` is a property name, the created function returns the
+	     * property value for a given element. If `func` is an array or object, the
+	     * created function returns `true` for elements that contain the equivalent
+	     * source properties, otherwise it returns `false`.
+	     *
+	     * @static
+	     * @since 4.0.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {*} [func=_.identity] The value to convert to a callback.
+	     * @returns {Function} Returns the callback.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36, 'active': true },
+	     *   { 'user': 'fred',   'age': 40, 'active': false }
+	     * ];
+	     *
+	     * // The `_.matches` iteratee shorthand.
+	     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
+	     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]
+	     *
+	     * // The `_.matchesProperty` iteratee shorthand.
+	     * _.filter(users, _.iteratee(['user', 'fred']));
+	     * // => [{ 'user': 'fred', 'age': 40 }]
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.map(users, _.iteratee('user'));
+	     * // => ['barney', 'fred']
+	     *
+	     * // Create custom iteratee shorthands.
+	     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
+	     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {
+	     *     return func.test(string);
+	     *   };
+	     * });
+	     *
+	     * _.filter(['abc', 'def'], /ef/);
+	     * // => ['def']
+	     */
+	    function iteratee(func) {
+	      return baseIteratee(typeof func == 'function' ? func : baseClone(func, true));
+	    }
+
+	    /**
+	     * Creates a function that performs a partial deep comparison between a given
+	     * object and `source`, returning `true` if the given object has equivalent
+	     * property values, else `false`. The created function is equivalent to
+	     * `_.isMatch` with a `source` partially applied.
+	     *
+	     * **Note:** This method supports comparing the same values as `_.isEqual`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Util
+	     * @param {Object} source The object of property values to match.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney', 'age': 36, 'active': true },
+	     *   { 'user': 'fred',   'age': 40, 'active': false }
+	     * ];
+	     *
+	     * _.filter(users, _.matches({ 'age': 40, 'active': false }));
+	     * // => [{ 'user': 'fred', 'age': 40, 'active': false }]
+	     */
+	    function matches(source) {
+	      return baseMatches(baseClone(source, true));
+	    }
+
+	    /**
+	     * Creates a function that performs a partial deep comparison between the
+	     * value at `path` of a given object to `srcValue`, returning `true` if the
+	     * object value is equivalent, else `false`.
+	     *
+	     * **Note:** This method supports comparing the same values as `_.isEqual`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.2.0
+	     * @category Util
+	     * @param {Array|string} path The path of the property to get.
+	     * @param {*} srcValue The value to match.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var users = [
+	     *   { 'user': 'barney' },
+	     *   { 'user': 'fred' }
+	     * ];
+	     *
+	     * _.find(users, _.matchesProperty('user', 'fred'));
+	     * // => { 'user': 'fred' }
+	     */
+	    function matchesProperty(path, srcValue) {
+	      return baseMatchesProperty(path, baseClone(srcValue, true));
+	    }
+
+	    /**
+	     * Creates a function that invokes the method at `path` of a given object.
+	     * Any additional arguments are provided to the invoked method.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.7.0
+	     * @category Util
+	     * @param {Array|string} path The path of the method to invoke.
+	     * @param {...*} [args] The arguments to invoke the method with.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var objects = [
+	     *   { 'a': { 'b': _.constant(2) } },
+	     *   { 'a': { 'b': _.constant(1) } }
+	     * ];
+	     *
+	     * _.map(objects, _.method('a.b'));
+	     * // => [2, 1]
+	     *
+	     * _.map(objects, _.method(['a', 'b']));
+	     * // => [2, 1]
+	     */
+	    var method = rest(function(path, args) {
+	      return function(object) {
+	        return baseInvoke(object, path, args);
+	      };
+	    });
+
+	    /**
+	     * The opposite of `_.method`; this method creates a function that invokes
+	     * the method at a given path of `object`. Any additional arguments are
+	     * provided to the invoked method.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.7.0
+	     * @category Util
+	     * @param {Object} object The object to query.
+	     * @param {...*} [args] The arguments to invoke the method with.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var array = _.times(3, _.constant),
+	     *     object = { 'a': array, 'b': array, 'c': array };
+	     *
+	     * _.map(['a[2]', 'c[0]'], _.methodOf(object));
+	     * // => [2, 0]
+	     *
+	     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));
+	     * // => [2, 0]
+	     */
+	    var methodOf = rest(function(object, args) {
+	      return function(path) {
+	        return baseInvoke(object, path, args);
+	      };
+	    });
+
+	    /**
+	     * Adds all own enumerable string keyed function properties of a source
+	     * object to the destination object. If `object` is a function, then methods
+	     * are added to its prototype as well.
+	     *
+	     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to
+	     * avoid conflicts caused by modifying the original.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {Function|Object} [object=lodash] The destination object.
+	     * @param {Object} source The object of functions to add.
+	     * @param {Object} [options={}] The options object.
+	     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.
+	     * @returns {Function|Object} Returns `object`.
+	     * @example
+	     *
+	     * function vowels(string) {
+	     *   return _.filter(string, function(v) {
+	     *     return /[aeiou]/i.test(v);
+	     *   });
+	     * }
+	     *
+	     * _.mixin({ 'vowels': vowels });
+	     * _.vowels('fred');
+	     * // => ['e']
+	     *
+	     * _('fred').vowels().value();
+	     * // => ['e']
+	     *
+	     * _.mixin({ 'vowels': vowels }, { 'chain': false });
+	     * _('fred').vowels();
+	     * // => ['e']
+	     */
+	    function mixin(object, source, options) {
+	      var props = keys(source),
+	          methodNames = baseFunctions(source, props);
+
+	      if (options == null &&
+	          !(isObject(source) && (methodNames.length || !props.length))) {
+	        options = source;
+	        source = object;
+	        object = this;
+	        methodNames = baseFunctions(source, keys(source));
+	      }
+	      var chain = !(isObject(options) && 'chain' in options) || !!options.chain,
+	          isFunc = isFunction(object);
+
+	      arrayEach(methodNames, function(methodName) {
+	        var func = source[methodName];
+	        object[methodName] = func;
+	        if (isFunc) {
+	          object.prototype[methodName] = function() {
+	            var chainAll = this.__chain__;
+	            if (chain || chainAll) {
+	              var result = object(this.__wrapped__),
+	                  actions = result.__actions__ = copyArray(this.__actions__);
+
+	              actions.push({ 'func': func, 'args': arguments, 'thisArg': object });
+	              result.__chain__ = chainAll;
+	              return result;
+	            }
+	            return func.apply(object, arrayPush([this.value()], arguments));
+	          };
+	        }
+	      });
+
+	      return object;
+	    }
+
+	    /**
+	     * Reverts the `_` variable to its previous value and returns a reference to
+	     * the `lodash` function.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @returns {Function} Returns the `lodash` function.
+	     * @example
+	     *
+	     * var lodash = _.noConflict();
+	     */
+	    function noConflict() {
+	      if (root._ === this) {
+	        root._ = oldDash;
+	      }
+	      return this;
+	    }
+
+	    /**
+	     * A no-operation function that returns `undefined` regardless of the
+	     * arguments it receives.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.3.0
+	     * @category Util
+	     * @example
+	     *
+	     * var object = { 'user': 'fred' };
+	     *
+	     * _.noop(object) === undefined;
+	     * // => true
+	     */
+	    function noop() {
+	      // No operation performed.
+	    }
+
+	    /**
+	     * Creates a function that returns its nth argument. If `n` is negative,
+	     * the nth argument from the end is returned.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {number} [n=0] The index of the argument to return.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var func = _.nthArg(1);
+	     * func('a', 'b', 'c', 'd');
+	     * // => 'b'
+	     *
+	     * var func = _.nthArg(-2);
+	     * func('a', 'b', 'c', 'd');
+	     * // => 'c'
+	     */
+	    function nthArg(n) {
+	      n = toInteger(n);
+	      return rest(function(args) {
+	        return baseNth(args, n);
+	      });
+	    }
+
+	    /**
+	     * Creates a function that invokes `iteratees` with the arguments it receives
+	     * and returns their results.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {...(Array|Array[]|Function|Function[]|Object|Object[]|string|string[])}
+	     *  [iteratees=[_.identity]] The iteratees to invoke.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var func = _.over(Math.max, Math.min);
+	     *
+	     * func(1, 2, 3, 4);
+	     * // => [4, 1]
+	     */
+	    var over = createOver(arrayMap);
+
+	    /**
+	     * Creates a function that checks if **all** of the `predicates` return
+	     * truthy when invoked with the arguments it receives.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {...(Array|Array[]|Function|Function[]|Object|Object[]|string|string[])}
+	     *  [predicates=[_.identity]] The predicates to check.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var func = _.overEvery(Boolean, isFinite);
+	     *
+	     * func('1');
+	     * // => true
+	     *
+	     * func(null);
+	     * // => false
+	     *
+	     * func(NaN);
+	     * // => false
+	     */
+	    var overEvery = createOver(arrayEvery);
+
+	    /**
+	     * Creates a function that checks if **any** of the `predicates` return
+	     * truthy when invoked with the arguments it receives.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {...(Array|Array[]|Function|Function[]|Object|Object[]|string|string[])}
+	     *  [predicates=[_.identity]] The predicates to check.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var func = _.overSome(Boolean, isFinite);
+	     *
+	     * func('1');
+	     * // => true
+	     *
+	     * func(null);
+	     * // => true
+	     *
+	     * func(NaN);
+	     * // => false
+	     */
+	    var overSome = createOver(arraySome);
+
+	    /**
+	     * Creates a function that returns the value at `path` of a given object.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 2.4.0
+	     * @category Util
+	     * @param {Array|string} path The path of the property to get.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var objects = [
+	     *   { 'a': { 'b': 2 } },
+	     *   { 'a': { 'b': 1 } }
+	     * ];
+	     *
+	     * _.map(objects, _.property('a.b'));
+	     * // => [2, 1]
+	     *
+	     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
+	     * // => [1, 2]
+	     */
+	    function property(path) {
+	      return isKey(path) ? baseProperty(path) : basePropertyDeep(path);
+	    }
+
+	    /**
+	     * The opposite of `_.property`; this method creates a function that returns
+	     * the value at a given path of `object`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.0.0
+	     * @category Util
+	     * @param {Object} object The object to query.
+	     * @returns {Function} Returns the new function.
+	     * @example
+	     *
+	     * var array = [0, 1, 2],
+	     *     object = { 'a': array, 'b': array, 'c': array };
+	     *
+	     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));
+	     * // => [2, 0]
+	     *
+	     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
+	     * // => [2, 0]
+	     */
+	    function propertyOf(object) {
+	      return function(path) {
+	        return object == null ? undefined : baseGet(object, path);
+	      };
+	    }
+
+	    /**
+	     * Creates an array of numbers (positive and/or negative) progressing from
+	     * `start` up to, but not including, `end`. A step of `-1` is used if a negative
+	     * `start` is specified without an `end` or `step`. If `end` is not specified,
+	     * it's set to `start` with `start` then set to `0`.
+	     *
+	     * **Note:** JavaScript follows the IEEE-754 standard for resolving
+	     * floating-point values which can produce unexpected results.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {number} [start=0] The start of the range.
+	     * @param {number} end The end of the range.
+	     * @param {number} [step=1] The value to increment or decrement by.
+	     * @returns {Array} Returns the new array of numbers.
+	     * @example
+	     *
+	     * _.range(4);
+	     * // => [0, 1, 2, 3]
+	     *
+	     * _.range(-4);
+	     * // => [0, -1, -2, -3]
+	     *
+	     * _.range(1, 5);
+	     * // => [1, 2, 3, 4]
+	     *
+	     * _.range(0, 20, 5);
+	     * // => [0, 5, 10, 15]
+	     *
+	     * _.range(0, -4, -1);
+	     * // => [0, -1, -2, -3]
+	     *
+	     * _.range(1, 4, 0);
+	     * // => [1, 1, 1]
+	     *
+	     * _.range(0);
+	     * // => []
+	     */
+	    var range = createRange();
+
+	    /**
+	     * This method is like `_.range` except that it populates values in
+	     * descending order.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {number} [start=0] The start of the range.
+	     * @param {number} end The end of the range.
+	     * @param {number} [step=1] The value to increment or decrement by.
+	     * @returns {Array} Returns the new array of numbers.
+	     * @example
+	     *
+	     * _.rangeRight(4);
+	     * // => [3, 2, 1, 0]
+	     *
+	     * _.rangeRight(-4);
+	     * // => [-3, -2, -1, 0]
+	     *
+	     * _.rangeRight(1, 5);
+	     * // => [4, 3, 2, 1]
+	     *
+	     * _.rangeRight(0, 20, 5);
+	     * // => [15, 10, 5, 0]
+	     *
+	     * _.rangeRight(0, -4, -1);
+	     * // => [-3, -2, -1, 0]
+	     *
+	     * _.rangeRight(1, 4, 0);
+	     * // => [1, 1, 1]
+	     *
+	     * _.rangeRight(0);
+	     * // => []
+	     */
+	    var rangeRight = createRange(true);
+
+	    /**
+	     * Invokes the iteratee `n` times, returning an array of the results of
+	     * each invocation. The iteratee is invoked with one argument; (index).
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {number} n The number of times to invoke `iteratee`.
+	     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
+	     * @returns {Array} Returns the array of results.
+	     * @example
+	     *
+	     * _.times(3, String);
+	     * // => ['0', '1', '2']
+	     *
+	     *  _.times(4, _.constant(true));
+	     * // => [true, true, true, true]
+	     */
+	    function times(n, iteratee) {
+	      n = toInteger(n);
+	      if (n < 1 || n > MAX_SAFE_INTEGER) {
+	        return [];
+	      }
+	      var index = MAX_ARRAY_LENGTH,
+	          length = nativeMin(n, MAX_ARRAY_LENGTH);
+
+	      iteratee = getIteratee(iteratee);
+	      n -= MAX_ARRAY_LENGTH;
+
+	      var result = baseTimes(length, iteratee);
+	      while (++index < n) {
+	        iteratee(index);
+	      }
+	      return result;
+	    }
+
+	    /**
+	     * Converts `value` to a property path array.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Util
+	     * @param {*} value The value to convert.
+	     * @returns {Array} Returns the new property path array.
+	     * @example
+	     *
+	     * _.toPath('a.b.c');
+	     * // => ['a', 'b', 'c']
+	     *
+	     * _.toPath('a[0].b.c');
+	     * // => ['a', '0', 'b', 'c']
+	     *
+	     * var path = ['a', 'b', 'c'],
+	     *     newPath = _.toPath(path);
+	     *
+	     * console.log(newPath);
+	     * // => ['a', 'b', 'c']
+	     *
+	     * console.log(path === newPath);
+	     * // => false
+	     */
+	    function toPath(value) {
+	      if (isArray(value)) {
+	        return arrayMap(value, toKey);
+	      }
+	      return isSymbol(value) ? [value] : copyArray(stringToPath(value));
+	    }
+
+	    /**
+	     * Generates a unique ID. If `prefix` is given, the ID is appended to it.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Util
+	     * @param {string} [prefix=''] The value to prefix the ID with.
+	     * @returns {string} Returns the unique ID.
+	     * @example
+	     *
+	     * _.uniqueId('contact_');
+	     * // => 'contact_104'
+	     *
+	     * _.uniqueId();
+	     * // => '105'
+	     */
+	    function uniqueId(prefix) {
+	      var id = ++idCounter;
+	      return toString(prefix) + id;
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * Adds two numbers.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.4.0
+	     * @category Math
+	     * @param {number} augend The first number in an addition.
+	     * @param {number} addend The second number in an addition.
+	     * @returns {number} Returns the total.
+	     * @example
+	     *
+	     * _.add(6, 4);
+	     * // => 10
+	     */
+	    var add = createMathOperation(function(augend, addend) {
+	      return augend + addend;
+	    });
+
+	    /**
+	     * Computes `number` rounded up to `precision`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.10.0
+	     * @category Math
+	     * @param {number} number The number to round up.
+	     * @param {number} [precision=0] The precision to round up to.
+	     * @returns {number} Returns the rounded up number.
+	     * @example
+	     *
+	     * _.ceil(4.006);
+	     * // => 5
+	     *
+	     * _.ceil(6.004, 2);
+	     * // => 6.01
+	     *
+	     * _.ceil(6040, -2);
+	     * // => 6100
+	     */
+	    var ceil = createRound('ceil');
+
+	    /**
+	     * Divide two numbers.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.7.0
+	     * @category Math
+	     * @param {number} dividend The first number in a division.
+	     * @param {number} divisor The second number in a division.
+	     * @returns {number} Returns the quotient.
+	     * @example
+	     *
+	     * _.divide(6, 4);
+	     * // => 1.5
+	     */
+	    var divide = createMathOperation(function(dividend, divisor) {
+	      return dividend / divisor;
+	    });
+
+	    /**
+	     * Computes `number` rounded down to `precision`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.10.0
+	     * @category Math
+	     * @param {number} number The number to round down.
+	     * @param {number} [precision=0] The precision to round down to.
+	     * @returns {number} Returns the rounded down number.
+	     * @example
+	     *
+	     * _.floor(4.006);
+	     * // => 4
+	     *
+	     * _.floor(0.046, 2);
+	     * // => 0.04
+	     *
+	     * _.floor(4060, -2);
+	     * // => 4000
+	     */
+	    var floor = createRound('floor');
+
+	    /**
+	     * Computes the maximum value of `array`. If `array` is empty or falsey,
+	     * `undefined` is returned.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @returns {*} Returns the maximum value.
+	     * @example
+	     *
+	     * _.max([4, 2, 8, 6]);
+	     * // => 8
+	     *
+	     * _.max([]);
+	     * // => undefined
+	     */
+	    function max(array) {
+	      return (array && array.length)
+	        ? baseExtremum(array, identity, gt)
+	        : undefined;
+	    }
+
+	    /**
+	     * This method is like `_.max` except that it accepts `iteratee` which is
+	     * invoked for each element in `array` to generate the criterion by which
+	     * the value is ranked. The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {*} Returns the maximum value.
+	     * @example
+	     *
+	     * var objects = [{ 'n': 1 }, { 'n': 2 }];
+	     *
+	     * _.maxBy(objects, function(o) { return o.n; });
+	     * // => { 'n': 2 }
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.maxBy(objects, 'n');
+	     * // => { 'n': 2 }
+	     */
+	    function maxBy(array, iteratee) {
+	      return (array && array.length)
+	        ? baseExtremum(array, getIteratee(iteratee), gt)
+	        : undefined;
+	    }
+
+	    /**
+	     * Computes the mean of the values in `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @returns {number} Returns the mean.
+	     * @example
+	     *
+	     * _.mean([4, 2, 8, 6]);
+	     * // => 5
+	     */
+	    function mean(array) {
+	      return baseMean(array, identity);
+	    }
+
+	    /**
+	     * This method is like `_.mean` except that it accepts `iteratee` which is
+	     * invoked for each element in `array` to generate the value to be averaged.
+	     * The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.7.0
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {number} Returns the mean.
+	     * @example
+	     *
+	     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
+	     *
+	     * _.meanBy(objects, function(o) { return o.n; });
+	     * // => 5
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.meanBy(objects, 'n');
+	     * // => 5
+	     */
+	    function meanBy(array, iteratee) {
+	      return baseMean(array, getIteratee(iteratee));
+	    }
+
+	    /**
+	     * Computes the minimum value of `array`. If `array` is empty or falsey,
+	     * `undefined` is returned.
+	     *
+	     * @static
+	     * @since 0.1.0
+	     * @memberOf _
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @returns {*} Returns the minimum value.
+	     * @example
+	     *
+	     * _.min([4, 2, 8, 6]);
+	     * // => 2
+	     *
+	     * _.min([]);
+	     * // => undefined
+	     */
+	    function min(array) {
+	      return (array && array.length)
+	        ? baseExtremum(array, identity, lt)
+	        : undefined;
+	    }
+
+	    /**
+	     * This method is like `_.min` except that it accepts `iteratee` which is
+	     * invoked for each element in `array` to generate the criterion by which
+	     * the value is ranked. The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {*} Returns the minimum value.
+	     * @example
+	     *
+	     * var objects = [{ 'n': 1 }, { 'n': 2 }];
+	     *
+	     * _.minBy(objects, function(o) { return o.n; });
+	     * // => { 'n': 1 }
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.minBy(objects, 'n');
+	     * // => { 'n': 1 }
+	     */
+	    function minBy(array, iteratee) {
+	      return (array && array.length)
+	        ? baseExtremum(array, getIteratee(iteratee), lt)
+	        : undefined;
+	    }
+
+	    /**
+	     * Multiply two numbers.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.7.0
+	     * @category Math
+	     * @param {number} multiplier The first number in a multiplication.
+	     * @param {number} multiplicand The second number in a multiplication.
+	     * @returns {number} Returns the product.
+	     * @example
+	     *
+	     * _.multiply(6, 4);
+	     * // => 24
+	     */
+	    var multiply = createMathOperation(function(multiplier, multiplicand) {
+	      return multiplier * multiplicand;
+	    });
+
+	    /**
+	     * Computes `number` rounded to `precision`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.10.0
+	     * @category Math
+	     * @param {number} number The number to round.
+	     * @param {number} [precision=0] The precision to round to.
+	     * @returns {number} Returns the rounded number.
+	     * @example
+	     *
+	     * _.round(4.006);
+	     * // => 4
+	     *
+	     * _.round(4.006, 2);
+	     * // => 4.01
+	     *
+	     * _.round(4060, -2);
+	     * // => 4100
+	     */
+	    var round = createRound('round');
+
+	    /**
+	     * Subtract two numbers.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Math
+	     * @param {number} minuend The first number in a subtraction.
+	     * @param {number} subtrahend The second number in a subtraction.
+	     * @returns {number} Returns the difference.
+	     * @example
+	     *
+	     * _.subtract(6, 4);
+	     * // => 2
+	     */
+	    var subtract = createMathOperation(function(minuend, subtrahend) {
+	      return minuend - subtrahend;
+	    });
+
+	    /**
+	     * Computes the sum of the values in `array`.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 3.4.0
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @returns {number} Returns the sum.
+	     * @example
+	     *
+	     * _.sum([4, 2, 8, 6]);
+	     * // => 20
+	     */
+	    function sum(array) {
+	      return (array && array.length)
+	        ? baseSum(array, identity)
+	        : 0;
+	    }
+
+	    /**
+	     * This method is like `_.sum` except that it accepts `iteratee` which is
+	     * invoked for each element in `array` to generate the value to be summed.
+	     * The iteratee is invoked with one argument: (value).
+	     *
+	     * @static
+	     * @memberOf _
+	     * @since 4.0.0
+	     * @category Math
+	     * @param {Array} array The array to iterate over.
+	     * @param {Array|Function|Object|string} [iteratee=_.identity]
+	     *  The iteratee invoked per element.
+	     * @returns {number} Returns the sum.
+	     * @example
+	     *
+	     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
+	     *
+	     * _.sumBy(objects, function(o) { return o.n; });
+	     * // => 20
+	     *
+	     * // The `_.property` iteratee shorthand.
+	     * _.sumBy(objects, 'n');
+	     * // => 20
+	     */
+	    function sumBy(array, iteratee) {
+	      return (array && array.length)
+	        ? baseSum(array, getIteratee(iteratee))
+	        : 0;
+	    }
+
+	    /*------------------------------------------------------------------------*/
+
+	    // Add methods that return wrapped values in chain sequences.
+	    lodash.after = after;
+	    lodash.ary = ary;
+	    lodash.assign = assign;
+	    lodash.assignIn = assignIn;
+	    lodash.assignInWith = assignInWith;
+	    lodash.assignWith = assignWith;
+	    lodash.at = at;
+	    lodash.before = before;
+	    lodash.bind = bind;
+	    lodash.bindAll = bindAll;
+	    lodash.bindKey = bindKey;
+	    lodash.castArray = castArray;
+	    lodash.chain = chain;
+	    lodash.chunk = chunk;
+	    lodash.compact = compact;
+	    lodash.concat = concat;
+	    lodash.cond = cond;
+	    lodash.conforms = conforms;
+	    lodash.constant = constant;
+	    lodash.countBy = countBy;
+	    lodash.create = create;
+	    lodash.curry = curry;
+	    lodash.curryRight = curryRight;
+	    lodash.debounce = debounce;
+	    lodash.defaults = defaults;
+	    lodash.defaultsDeep = defaultsDeep;
+	    lodash.defer = defer;
+	    lodash.delay = delay;
+	    lodash.difference = difference;
+	    lodash.differenceBy = differenceBy;
+	    lodash.differenceWith = differenceWith;
+	    lodash.drop = drop;
+	    lodash.dropRight = dropRight;
+	    lodash.dropRightWhile = dropRightWhile;
+	    lodash.dropWhile = dropWhile;
+	    lodash.fill = fill;
+	    lodash.filter = filter;
+	    lodash.flatMap = flatMap;
+	    lodash.flatMapDeep = flatMapDeep;
+	    lodash.flatMapDepth = flatMapDepth;
+	    lodash.flatten = flatten;
+	    lodash.flattenDeep = flattenDeep;
+	    lodash.flattenDepth = flattenDepth;
+	    lodash.flip = flip;
+	    lodash.flow = flow;
+	    lodash.flowRight = flowRight;
+	    lodash.fromPairs = fromPairs;
+	    lodash.functions = functions;
+	    lodash.functionsIn = functionsIn;
+	    lodash.groupBy = groupBy;
+	    lodash.initial = initial;
+	    lodash.intersection = intersection;
+	    lodash.intersectionBy = intersectionBy;
+	    lodash.intersectionWith = intersectionWith;
+	    lodash.invert = invert;
+	    lodash.invertBy = invertBy;
+	    lodash.invokeMap = invokeMap;
+	    lodash.iteratee = iteratee;
+	    lodash.keyBy = keyBy;
+	    lodash.keys = keys;
+	    lodash.keysIn = keysIn;
+	    lodash.map = map;
+	    lodash.mapKeys = mapKeys;
+	    lodash.mapValues = mapValues;
+	    lodash.matches = matches;
+	    lodash.matchesProperty = matchesProperty;
+	    lodash.memoize = memoize;
+	    lodash.merge = merge;
+	    lodash.mergeWith = mergeWith;
+	    lodash.method = method;
+	    lodash.methodOf = methodOf;
+	    lodash.mixin = mixin;
+	    lodash.negate = negate;
+	    lodash.nthArg = nthArg;
+	    lodash.omit = omit;
+	    lodash.omitBy = omitBy;
+	    lodash.once = once;
+	    lodash.orderBy = orderBy;
+	    lodash.over = over;
+	    lodash.overArgs = overArgs;
+	    lodash.overEvery = overEvery;
+	    lodash.overSome = overSome;
+	    lodash.partial = partial;
+	    lodash.partialRight = partialRight;
+	    lodash.partition = partition;
+	    lodash.pick = pick;
+	    lodash.pickBy = pickBy;
+	    lodash.property = property;
+	    lodash.propertyOf = propertyOf;
+	    lodash.pull = pull;
+	    lodash.pullAll = pullAll;
+	    lodash.pullAllBy = pullAllBy;
+	    lodash.pullAllWith = pullAllWith;
+	    lodash.pullAt = pullAt;
+	    lodash.range = range;
+	    lodash.rangeRight = rangeRight;
+	    lodash.rearg = rearg;
+	    lodash.reject = reject;
+	    lodash.remove = remove;
+	    lodash.rest = rest;
+	    lodash.reverse = reverse;
+	    lodash.sampleSize = sampleSize;
+	    lodash.set = set;
+	    lodash.setWith = setWith;
+	    lodash.shuffle = shuffle;
+	    lodash.slice = slice;
+	    lodash.sortBy = sortBy;
+	    lodash.sortedUniq = sortedUniq;
+	    lodash.sortedUniqBy = sortedUniqBy;
+	    lodash.split = split;
+	    lodash.spread = spread;
+	    lodash.tail = tail;
+	    lodash.take = take;
+	    lodash.takeRight = takeRight;
+	    lodash.takeRightWhile = takeRightWhile;
+	    lodash.takeWhile = takeWhile;
+	    lodash.tap = tap;
+	    lodash.throttle = throttle;
+	    lodash.thru = thru;
+	    lodash.toArray = toArray;
+	    lodash.toPairs = toPairs;
+	    lodash.toPairsIn = toPairsIn;
+	    lodash.toPath = toPath;
+	    lodash.toPlainObject = toPlainObject;
+	    lodash.transform = transform;
+	    lodash.unary = unary;
+	    lodash.union = union;
+	    lodash.unionBy = unionBy;
+	    lodash.unionWith = unionWith;
+	    lodash.uniq = uniq;
+	    lodash.uniqBy = uniqBy;
+	    lodash.uniqWith = uniqWith;
+	    lodash.unset = unset;
+	    lodash.unzip = unzip;
+	    lodash.unzipWith = unzipWith;
+	    lodash.update = update;
+	    lodash.updateWith = updateWith;
+	    lodash.values = values;
+	    lodash.valuesIn = valuesIn;
+	    lodash.without = without;
+	    lodash.words = words;
+	    lodash.wrap = wrap;
+	    lodash.xor = xor;
+	    lodash.xorBy = xorBy;
+	    lodash.xorWith = xorWith;
+	    lodash.zip = zip;
+	    lodash.zipObject = zipObject;
+	    lodash.zipObjectDeep = zipObjectDeep;
+	    lodash.zipWith = zipWith;
+
+	    // Add aliases.
+	    lodash.entries = toPairs;
+	    lodash.entriesIn = toPairsIn;
+	    lodash.extend = assignIn;
+	    lodash.extendWith = assignInWith;
+
+	    // Add methods to `lodash.prototype`.
+	    mixin(lodash, lodash);
+
+	    /*------------------------------------------------------------------------*/
+
+	    // Add methods that return unwrapped values in chain sequences.
+	    lodash.add = add;
+	    lodash.attempt = attempt;
+	    lodash.camelCase = camelCase;
+	    lodash.capitalize = capitalize;
+	    lodash.ceil = ceil;
+	    lodash.clamp = clamp;
+	    lodash.clone = clone;
+	    lodash.cloneDeep = cloneDeep;
+	    lodash.cloneDeepWith = cloneDeepWith;
+	    lodash.cloneWith = cloneWith;
+	    lodash.deburr = deburr;
+	    lodash.divide = divide;
+	    lodash.endsWith = endsWith;
+	    lodash.eq = eq;
+	    lodash.escape = escape;
+	    lodash.escapeRegExp = escapeRegExp;
+	    lodash.every = every;
+	    lodash.find = find;
+	    lodash.findIndex = findIndex;
+	    lodash.findKey = findKey;
+	    lodash.findLast = findLast;
+	    lodash.findLastIndex = findLastIndex;
+	    lodash.findLastKey = findLastKey;
+	    lodash.floor = floor;
+	    lodash.forEach = forEach;
+	    lodash.forEachRight = forEachRight;
+	    lodash.forIn = forIn;
+	    lodash.forInRight = forInRight;
+	    lodash.forOwn = forOwn;
+	    lodash.forOwnRight = forOwnRight;
+	    lodash.get = get;
+	    lodash.gt = gt;
+	    lodash.gte = gte;
+	    lodash.has = has;
+	    lodash.hasIn = hasIn;
+	    lodash.head = head;
+	    lodash.identity = identity;
+	    lodash.includes = includes;
+	    lodash.indexOf = indexOf;
+	    lodash.inRange = inRange;
+	    lodash.invoke = invoke;
+	    lodash.isArguments = isArguments;
+	    lodash.isArray = isArray;
+	    lodash.isArrayBuffer = isArrayBuffer;
+	    lodash.isArrayLike = isArrayLike;
+	    lodash.isArrayLikeObject = isArrayLikeObject;
+	    lodash.isBoolean = isBoolean;
+	    lodash.isBuffer = isBuffer;
+	    lodash.isDate = isDate;
+	    lodash.isElement = isElement;
+	    lodash.isEmpty = isEmpty;
+	    lodash.isEqual = isEqual;
+	    lodash.isEqualWith = isEqualWith;
+	    lodash.isError = isError;
+	    lodash.isFinite = isFinite;
+	    lodash.isFunction = isFunction;
+	    lodash.isInteger = isInteger;
+	    lodash.isLength = isLength;
+	    lodash.isMap = isMap;
+	    lodash.isMatch = isMatch;
+	    lodash.isMatchWith = isMatchWith;
+	    lodash.isNaN = isNaN;
+	    lodash.isNative = isNative;
+	    lodash.isNil = isNil;
+	    lodash.isNull = isNull;
+	    lodash.isNumber = isNumber;
+	    lodash.isObject = isObject;
+	    lodash.isObjectLike = isObjectLike;
+	    lodash.isPlainObject = isPlainObject;
+	    lodash.isRegExp = isRegExp;
+	    lodash.isSafeInteger = isSafeInteger;
+	    lodash.isSet = isSet;
+	    lodash.isString = isString;
+	    lodash.isSymbol = isSymbol;
+	    lodash.isTypedArray = isTypedArray;
+	    lodash.isUndefined = isUndefined;
+	    lodash.isWeakMap = isWeakMap;
+	    lodash.isWeakSet = isWeakSet;
+	    lodash.join = join;
+	    lodash.kebabCase = kebabCase;
+	    lodash.last = last;
+	    lodash.lastIndexOf = lastIndexOf;
+	    lodash.lowerCase = lowerCase;
+	    lodash.lowerFirst = lowerFirst;
+	    lodash.lt = lt;
+	    lodash.lte = lte;
+	    lodash.max = max;
+	    lodash.maxBy = maxBy;
+	    lodash.mean = mean;
+	    lodash.meanBy = meanBy;
+	    lodash.min = min;
+	    lodash.minBy = minBy;
+	    lodash.multiply = multiply;
+	    lodash.nth = nth;
+	    lodash.noConflict = noConflict;
+	    lodash.noop = noop;
+	    lodash.now = now;
+	    lodash.pad = pad;
+	    lodash.padEnd = padEnd;
+	    lodash.padStart = padStart;
+	    lodash.parseInt = parseInt;
+	    lodash.random = random;
+	    lodash.reduce = reduce;
+	    lodash.reduceRight = reduceRight;
+	    lodash.repeat = repeat;
+	    lodash.replace = replace;
+	    lodash.result = result;
+	    lodash.round = round;
+	    lodash.runInContext = runInContext;
+	    lodash.sample = sample;
+	    lodash.size = size;
+	    lodash.snakeCase = snakeCase;
+	    lodash.some = some;
+	    lodash.sortedIndex = sortedIndex;
+	    lodash.sortedIndexBy = sortedIndexBy;
+	    lodash.sortedIndexOf = sortedIndexOf;
+	    lodash.sortedLastIndex = sortedLastIndex;
+	    lodash.sortedLastIndexBy = sortedLastIndexBy;
+	    lodash.sortedLastIndexOf = sortedLastIndexOf;
+	    lodash.startCase = startCase;
+	    lodash.startsWith = startsWith;
+	    lodash.subtract = subtract;
+	    lodash.sum = sum;
+	    lodash.sumBy = sumBy;
+	    lodash.template = template;
+	    lodash.times = times;
+	    lodash.toInteger = toInteger;
+	    lodash.toLength = toLength;
+	    lodash.toLower = toLower;
+	    lodash.toNumber = toNumber;
+	    lodash.toSafeInteger = toSafeInteger;
+	    lodash.toString = toString;
+	    lodash.toUpper = toUpper;
+	    lodash.trim = trim;
+	    lodash.trimEnd = trimEnd;
+	    lodash.trimStart = trimStart;
+	    lodash.truncate = truncate;
+	    lodash.unescape = unescape;
+	    lodash.uniqueId = uniqueId;
+	    lodash.upperCase = upperCase;
+	    lodash.upperFirst = upperFirst;
+
+	    // Add aliases.
+	    lodash.each = forEach;
+	    lodash.eachRight = forEachRight;
+	    lodash.first = head;
+
+	    mixin(lodash, (function() {
+	      var source = {};
+	      baseForOwn(lodash, function(func, methodName) {
+	        if (!hasOwnProperty.call(lodash.prototype, methodName)) {
+	          source[methodName] = func;
+	        }
+	      });
+	      return source;
+	    }()), { 'chain': false });
+
+	    /*------------------------------------------------------------------------*/
+
+	    /**
+	     * The semantic version number.
+	     *
+	     * @static
+	     * @memberOf _
+	     * @type {string}
+	     */
+	    lodash.VERSION = VERSION;
+
+	    // Assign default placeholders.
+	    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {
+	      lodash[methodName].placeholder = lodash;
+	    });
+
+	    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.
+	    arrayEach(['drop', 'take'], function(methodName, index) {
+	      LazyWrapper.prototype[methodName] = function(n) {
+	        var filtered = this.__filtered__;
+	        if (filtered && !index) {
+	          return new LazyWrapper(this);
+	        }
+	        n = n === undefined ? 1 : nativeMax(toInteger(n), 0);
+
+	        var result = this.clone();
+	        if (filtered) {
+	          result.__takeCount__ = nativeMin(n, result.__takeCount__);
+	        } else {
+	          result.__views__.push({
+	            'size': nativeMin(n, MAX_ARRAY_LENGTH),
+	            'type': methodName + (result.__dir__ < 0 ? 'Right' : '')
+	          });
+	        }
+	        return result;
+	      };
+
+	      LazyWrapper.prototype[methodName + 'Right'] = function(n) {
+	        return this.reverse()[methodName](n).reverse();
+	      };
+	    });
+
+	    // Add `LazyWrapper` methods that accept an `iteratee` value.
+	    arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {
+	      var type = index + 1,
+	          isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;
+
+	      LazyWrapper.prototype[methodName] = function(iteratee) {
+	        var result = this.clone();
+	        result.__iteratees__.push({
+	          'iteratee': getIteratee(iteratee, 3),
+	          'type': type
+	        });
+	        result.__filtered__ = result.__filtered__ || isFilter;
+	        return result;
+	      };
+	    });
+
+	    // Add `LazyWrapper` methods for `_.head` and `_.last`.
+	    arrayEach(['head', 'last'], function(methodName, index) {
+	      var takeName = 'take' + (index ? 'Right' : '');
+
+	      LazyWrapper.prototype[methodName] = function() {
+	        return this[takeName](1).value()[0];
+	      };
+	    });
+
+	    // Add `LazyWrapper` methods for `_.initial` and `_.tail`.
+	    arrayEach(['initial', 'tail'], function(methodName, index) {
+	      var dropName = 'drop' + (index ? '' : 'Right');
+
+	      LazyWrapper.prototype[methodName] = function() {
+	        return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
+	      };
+	    });
+
+	    LazyWrapper.prototype.compact = function() {
+	      return this.filter(identity);
+	    };
+
+	    LazyWrapper.prototype.find = function(predicate) {
+	      return this.filter(predicate).head();
+	    };
+
+	    LazyWrapper.prototype.findLast = function(predicate) {
+	      return this.reverse().find(predicate);
+	    };
+
+	    LazyWrapper.prototype.invokeMap = rest(function(path, args) {
+	      if (typeof path == 'function') {
+	        return new LazyWrapper(this);
+	      }
+	      return this.map(function(value) {
+	        return baseInvoke(value, path, args);
+	      });
+	    });
+
+	    LazyWrapper.prototype.reject = function(predicate) {
+	      predicate = getIteratee(predicate, 3);
+	      return this.filter(function(value) {
+	        return !predicate(value);
+	      });
+	    };
+
+	    LazyWrapper.prototype.slice = function(start, end) {
+	      start = toInteger(start);
+
+	      var result = this;
+	      if (result.__filtered__ && (start > 0 || end < 0)) {
+	        return new LazyWrapper(result);
+	      }
+	      if (start < 0) {
+	        result = result.takeRight(-start);
+	      } else if (start) {
+	        result = result.drop(start);
+	      }
+	      if (end !== undefined) {
+	        end = toInteger(end);
+	        result = end < 0 ? result.dropRight(-end) : result.take(end - start);
+	      }
+	      return result;
+	    };
+
+	    LazyWrapper.prototype.takeRightWhile = function(predicate) {
+	      return this.reverse().takeWhile(predicate).reverse();
+	    };
+
+	    LazyWrapper.prototype.toArray = function() {
+	      return this.take(MAX_ARRAY_LENGTH);
+	    };
+
+	    // Add `LazyWrapper` methods to `lodash.prototype`.
+	    baseForOwn(LazyWrapper.prototype, function(func, methodName) {
+	      var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),
+	          isTaker = /^(?:head|last)$/.test(methodName),
+	          lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],
+	          retUnwrapped = isTaker || /^find/.test(methodName);
+
+	      if (!lodashFunc) {
+	        return;
+	      }
+	      lodash.prototype[methodName] = function() {
+	        var value = this.__wrapped__,
+	            args = isTaker ? [1] : arguments,
+	            isLazy = value instanceof LazyWrapper,
+	            iteratee = args[0],
+	            useLazy = isLazy || isArray(value);
+
+	        var interceptor = function(value) {
+	          var result = lodashFunc.apply(lodash, arrayPush([value], args));
+	          return (isTaker && chainAll) ? result[0] : result;
+	        };
+
+	        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {
+	          // Avoid lazy use if the iteratee has a "length" value other than `1`.
+	          isLazy = useLazy = false;
+	        }
+	        var chainAll = this.__chain__,
+	            isHybrid = !!this.__actions__.length,
+	            isUnwrapped = retUnwrapped && !chainAll,
+	            onlyLazy = isLazy && !isHybrid;
+
+	        if (!retUnwrapped && useLazy) {
+	          value = onlyLazy ? value : new LazyWrapper(this);
+	          var result = func.apply(value, args);
+	          result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });
+	          return new LodashWrapper(result, chainAll);
+	        }
+	        if (isUnwrapped && onlyLazy) {
+	          return func.apply(this, args);
+	        }
+	        result = this.thru(interceptor);
+	        return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;
+	      };
+	    });
+
+	    // Add `Array` methods to `lodash.prototype`.
+	    arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {
+	      var func = arrayProto[methodName],
+	          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',
+	          retUnwrapped = /^(?:pop|shift)$/.test(methodName);
+
+	      lodash.prototype[methodName] = function() {
+	        var args = arguments;
+	        if (retUnwrapped && !this.__chain__) {
+	          var value = this.value();
+	          return func.apply(isArray(value) ? value : [], args);
+	        }
+	        return this[chainName](function(value) {
+	          return func.apply(isArray(value) ? value : [], args);
+	        });
+	      };
+	    });
+
+	    // Map minified method names to their real names.
+	    baseForOwn(LazyWrapper.prototype, function(func, methodName) {
+	      var lodashFunc = lodash[methodName];
+	      if (lodashFunc) {
+	        var key = (lodashFunc.name + ''),
+	            names = realNames[key] || (realNames[key] = []);
+
+	        names.push({ 'name': methodName, 'func': lodashFunc });
+	      }
+	    });
+
+	    realNames[createHybridWrapper(undefined, BIND_KEY_FLAG).name] = [{
+	      'name': 'wrapper',
+	      'func': undefined
+	    }];
+
+	    // Add methods to `LazyWrapper`.
+	    LazyWrapper.prototype.clone = lazyClone;
+	    LazyWrapper.prototype.reverse = lazyReverse;
+	    LazyWrapper.prototype.value = lazyValue;
+
+	    // Add chain sequence methods to the `lodash` wrapper.
+	    lodash.prototype.at = wrapperAt;
+	    lodash.prototype.chain = wrapperChain;
+	    lodash.prototype.commit = wrapperCommit;
+	    lodash.prototype.next = wrapperNext;
+	    lodash.prototype.plant = wrapperPlant;
+	    lodash.prototype.reverse = wrapperReverse;
+	    lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;
+
+	    if (iteratorSymbol) {
+	      lodash.prototype[iteratorSymbol] = wrapperToIterator;
+	    }
+	    return lodash;
+	  }
+
+	  /*--------------------------------------------------------------------------*/
+
+	  // Export lodash.
+	  var _ = runInContext();
+
+	  // Expose lodash on the free variable `window` or `self` when available. This
+	  // prevents errors in cases where lodash is loaded by a script tag in the presence
+	  // of an AMD loader. See http://requirejs.org/docs/errors.html#mismatch for more details.
+	  (freeWindow || freeSelf || {})._ = _;
+
+	  // Some AMD build optimizers like r.js check for condition patterns like the following:
+	  if (true) {
+	    // Define as an anonymous module so, through path mapping, it can be
+	    // referenced as the "underscore" module.
+	    !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
+	      return _;
+	    }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	  }
+	  // Check for `exports` after `define` in case a build optimizer adds an `exports` object.
+	  else if (freeExports && freeModule) {
+	    // Export for Node.js.
+	    if (moduleExports) {
+	      (freeModule.exports = _)._ = _;
+	    }
+	    // Export for CommonJS support.
+	    freeExports._ = _;
+	  }
+	  else {
+	    // Export to the global object.
+	    root._ = _;
+	  }
+	}.call(this));
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)(module), (function() { return this; }())))
+
+/***/ },
+/* 391 */
+/***/ function(module, exports, __webpack_require__) {
+
+	var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {/*
+	 * @name Lazy.js
+	 *
+	 * @fileOverview
+	 * Lazy.js is a lazy evaluation library for JavaScript.
+	 *
+	 * This has been done before. For examples see:
+	 *
+	 * - [wu.js](http://fitzgen.github.io/wu.js/)
+	 * - [Linq.js](http://linqjs.codeplex.com/)
+	 * - [from.js](https://github.com/suckgamoni/fromjs/)
+	 * - [IxJS](http://rx.codeplex.com/)
+	 * - [sloth.js](http://rfw.name/sloth.js/)
+	 *
+	 * However, at least at present, Lazy.js is faster (on average) than any of
+	 * those libraries. It is also more complete, with nearly all of the
+	 * functionality of [Underscore](http://underscorejs.org/) and
+	 * [Lo-Dash](http://lodash.com/).
+	 *
+	 * Finding your way around the code
+	 * --------------------------------
+	 *
+	 * At the heart of Lazy.js is the {@link Sequence} object. You create an initial
+	 * sequence using {@link Lazy}, which can accept an array, object, or string.
+	 * You can then "chain" together methods from this sequence, creating a new
+	 * sequence with each call.
+	 *
+	 * Here's an example:
+	 *
+	 *     var data = getReallyBigArray();
+	 *
+	 *     var statistics = Lazy(data)
+	 *       .map(transform)
+	 *       .filter(validate)
+	 *       .reduce(aggregate);
+	 *
+	 * {@link Sequence} is the foundation of other, more specific sequence types.
+	 *
+	 * An {@link ArrayLikeSequence} provides indexed access to its elements.
+	 *
+	 * An {@link ObjectLikeSequence} consists of key/value pairs.
+	 *
+	 * A {@link StringLikeSequence} is like a string (duh): actually, it is an
+	 * {@link ArrayLikeSequence} whose elements happen to be characters.
+	 *
+	 * An {@link AsyncSequence} is special: it iterates over its elements
+	 * asynchronously (so calling `each` generally begins an asynchronous loop and
+	 * returns immediately).
+	 *
+	 * For more information
+	 * --------------------
+	 *
+	 * I wrote a blog post that explains a little bit more about Lazy.js, which you
+	 * can read [here](http://philosopherdeveloper.com/posts/introducing-lazy-js.html).
+	 *
+	 * You can also [create an issue on GitHub](https://github.com/dtao/lazy.js/issues)
+	 * if you have any issues with the library. I work through them eventually.
+	 *
+	 * [@dtao](https://github.com/dtao)
+	 */
+
+	(function(root, factory) {
+	  if (true) {
+	    !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	  } else if (typeof exports === 'object') {
+	    module.exports = factory();
+	  } else {
+	    root.Lazy = factory();
+	  }
+	})(this, function(context) {
+	  /**
+	   * Wraps an object and returns a {@link Sequence}. For `null` or `undefined`,
+	   * simply returns an empty sequence (see {@link Lazy.strict} for a stricter
+	   * implementation).
+	   *
+	   * - For **arrays**, Lazy will create a sequence comprising the elements in
+	   *   the array (an {@link ArrayLikeSequence}).
+	   * - For **objects**, Lazy will create a sequence of key/value pairs
+	   *   (an {@link ObjectLikeSequence}).
+	   * - For **strings**, Lazy will create a sequence of characters (a
+	   *   {@link StringLikeSequence}).
+	   *
+	   * @public
+	   * @param {Array|Object|string} source An array, object, or string to wrap.
+	   * @returns {Sequence} The wrapped lazy object.
+	   *
+	   * @exampleHelpers
+	   * // Utility functions to provide to all examples
+	   * function increment(x) { return x + 1; }
+	   * function isEven(x) { return x % 2 === 0; }
+	   * function isPositive(x) { return x > 0; }
+	   * function isNegative(x) { return x < 0; }
+	   *
+	   * @examples
+	   * Lazy([1, 2, 4])       // instanceof Lazy.ArrayLikeSequence
+	   * Lazy({ foo: "bar" })  // instanceof Lazy.ObjectLikeSequence
+	   * Lazy("hello, world!") // instanceof Lazy.StringLikeSequence
+	   * Lazy()                // sequence: []
+	   * Lazy(null)            // sequence: []
+	   */
+	  function Lazy(source) {
+	    if (source instanceof Array) {
+	      return new ArrayWrapper(source);
+
+	    } else if (typeof source === "string") {
+	      return new StringWrapper(source);
+
+	    } else if (source instanceof Sequence) {
+	      return source;
+	    }
+
+	    if (Lazy.extensions) {
+	      var extensions = Lazy.extensions, length = extensions.length, result;
+	      while (!result && length--) {
+	        result = extensions[length](source);
+	      }
+	      if (result) {
+	        return result;
+	      }
+	    }
+
+	    return new ObjectWrapper(source);
+	  }
+
+	  Lazy.VERSION = '0.4.2';
+
+	  /*** Utility methods of questionable value ***/
+
+	  Lazy.noop = function noop() {};
+	  Lazy.identity = function identity(x) { return x; };
+
+	  /**
+	   * Provides a stricter version of {@link Lazy} which throws an error when
+	   * attempting to wrap `null`, `undefined`, or numeric or boolean values as a
+	   * sequence.
+	   *
+	   * @public
+	   * @returns {Function} A stricter version of the {@link Lazy} helper function.
+	   *
+	   * @examples
+	   * var Strict = Lazy.strict();
+	   *
+	   * Strict()                  // throws
+	   * Strict(null)              // throws
+	   * Strict(true)              // throws
+	   * Strict(5)                 // throws
+	   * Strict([1, 2, 3])         // instanceof Lazy.ArrayLikeSequence
+	   * Strict({ foo: "bar" })    // instanceof Lazy.ObjectLikeSequence
+	   * Strict("hello, world!")   // instanceof Lazy.StringLikeSequence
+	   *
+	   * // Let's also ensure the static functions are still there.
+	   * Strict.range(3)           // sequence: [0, 1, 2]
+	   * Strict.generate(Date.now) // instanceof Lazy.GeneratedSequence
+	   */
+	  Lazy.strict = function strict() {
+	    function StrictLazy(source) {
+	      if (source == null) {
+	        throw new Error("You cannot wrap null or undefined using Lazy.");
+	      }
+
+	      if (typeof source === "number" || typeof source === "boolean") {
+	        throw new Error("You cannot wrap primitive values using Lazy.");
+	      }
+
+	      return Lazy(source);
+	    };
+
+	    Lazy(Lazy).each(function(property, name) {
+	      StrictLazy[name] = property;
+	    });
+
+	    return StrictLazy;
+	  };
+
+	  /**
+	   * The `Sequence` object provides a unified API encapsulating the notion of
+	   * zero or more consecutive elements in a collection, stream, etc.
+	   *
+	   * Lazy evaluation
+	   * ---------------
+	   *
+	   * Generally speaking, creating a sequence should not be an expensive operation,
+	   * and should not iterate over an underlying source or trigger any side effects.
+	   * This means that chaining together methods that return sequences incurs only
+	   * the cost of creating the `Sequence` objects themselves and not the cost of
+	   * iterating an underlying data source multiple times.
+	   *
+	   * The following code, for example, creates 4 sequences and does nothing with
+	   * `source`:
+	   *
+	   *     var seq = Lazy(source) // 1st sequence
+	   *       .map(func)           // 2nd
+	   *       .filter(pred)        // 3rd
+	   *       .reverse();          // 4th
+	   *
+	   * Lazy's convention is to hold off on iterating or otherwise *doing* anything
+	   * (aside from creating `Sequence` objects) until you call `each`:
+	   *
+	   *     seq.each(function(x) { console.log(x); });
+	   *
+	   * Defining custom sequences
+	   * -------------------------
+	   *
+	   * Defining your own type of sequence is relatively simple:
+	   *
+	   * 1. Pass a *method name* and an object containing *function overrides* to
+	   *    {@link Sequence.define}. If the object includes a function called `init`,
+	   *    this function will be called upon initialization.
+	   * 2. The object should include at least either a `getIterator` method or an
+	   *    `each` method. The former supports both asynchronous and synchronous
+	   *    iteration, but is slightly more cumbersome to implement. The latter
+	   *    supports synchronous iteration and can be automatically implemented in
+	   *    terms of the former. You can also implement both if you want, e.g. to
+	   *    optimize performance. For more info, see {@link Iterator} and
+	   *    {@link AsyncSequence}.
+	   *
+	   * As a trivial example, the following code defines a new method, `sample`,
+	   * which randomly may or may not include each element from its parent.
+	   *
+	   *     Lazy.Sequence.define("sample", {
+	   *       each: function(fn) {
+	   *         return this.parent.each(function(e) {
+	   *           // 50/50 chance of including this element.
+	   *           if (Math.random() > 0.5) {
+	   *             return fn(e);
+	   *           }
+	   *         });
+	   *       }
+	   *     });
+	   *
+	   * (Of course, the above could also easily have been implemented using
+	   * {@link #filter} instead of creating a custom sequence. But I *did* say this
+	   * was a trivial example, to be fair.)
+	   *
+	   * Now it will be possible to create this type of sequence from any parent
+	   * sequence by calling the method name you specified. In other words, you can
+	   * now do this:
+	   *
+	   *     Lazy(arr).sample();
+	   *     Lazy(arr).map(func).sample();
+	   *     Lazy(arr).map(func).filter(pred).sample();
+	   *
+	   * Etc., etc.
+	   *
+	   * @public
+	   * @constructor
+	   */
+	  function Sequence() {}
+
+	  /**
+	   * Create a new constructor function for a type inheriting from `Sequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `Sequence` prototype so that it can be chained with any other
+	   *     sequence methods, like {@link #map}, {@link #filter}, etc.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. **Must** include either `getIterator` or `each` (or
+	   *     both). *May* include an `init` method as well. For these overrides,
+	   *     `this` will be the new sequence, and `this.parent` will be the base
+	   *     sequence from which the new sequence was constructed.
+	   * @returns {Function} A constructor for a new type inheriting from `Sequence`.
+	   *
+	   * @examples
+	   * // This sequence type logs every element to the specified logger as it
+	   * // iterates over it.
+	   * Lazy.Sequence.define("verbose", {
+	   *   init: function(logger) {
+	   *     this.logger = logger;
+	   *   },
+	   *
+	   *   each: function(fn) {
+	   *     var logger = this.logger;
+	   *     return this.parent.each(function(e, i) {
+	   *       logger(e);
+	   *       return fn(e, i);
+	   *     });
+	   *   }
+	   * });
+	   *
+	   * Lazy([1, 2, 3]).verbose(logger).each(Lazy.noop) // calls logger 3 times
+	   */
+	  Sequence.define = function define(methodName, overrides) {
+	    if (!overrides || (!overrides.getIterator && !overrides.each)) {
+	      throw new Error("A custom sequence must implement *at least* getIterator or each!");
+	    }
+
+	    return defineSequenceType(Sequence, methodName, overrides);
+	  };
+
+	  /**
+	   * Gets the number of elements in the sequence. In some cases, this may
+	   * require eagerly evaluating the sequence.
+	   *
+	   * @public
+	   * @returns {number} The number of elements in the sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).size();                 // => 3
+	   * Lazy([1, 2]).map(Lazy.identity).size(); // => 2
+	   * Lazy([1, 2, 3]).reject(isEven).size();  // => 2
+	   * Lazy([1, 2, 3]).take(1).size();         // => 1
+	   * Lazy({ foo: 1, bar: 2 }).size();        // => 2
+	   * Lazy('hello').size();                   // => 5
+	   */
+	  Sequence.prototype.size = function size() {
+	    return this.getIndex().length();
+	  };
+
+	  /**
+	   * Creates an {@link Iterator} object with two methods, `moveNext` -- returning
+	   * true or false -- and `current` -- returning the current value.
+	   *
+	   * This method is used when asynchronously iterating over sequences. Any type
+	   * inheriting from `Sequence` must implement this method or it can't support
+	   * asynchronous iteration.
+	   *
+	   * Note that **this method is not intended to be used directly by application
+	   * code.** Rather, it is intended as a means for implementors to potentially
+	   * define custom sequence types that support either synchronous or
+	   * asynchronous iteration.
+	   *
+	   * @public
+	   * @returns {Iterator} An iterator object.
+	   *
+	   * @examples
+	   * var iterator = Lazy([1, 2]).getIterator();
+	   *
+	   * iterator.moveNext(); // => true
+	   * iterator.current();  // => 1
+	   * iterator.moveNext(); // => true
+	   * iterator.current();  // => 2
+	   * iterator.moveNext(); // => false
+	   */
+	  Sequence.prototype.getIterator = function getIterator() {
+	    return new Iterator(this);
+	  };
+
+	  /**
+	   * Gets the root sequence underlying the current chain of sequences.
+	   */
+	  Sequence.prototype.root = function root() {
+	    return this.parent.root();
+	  };
+
+	  /**
+	   * Whether or not the current sequence is an asynchronous one. This is more
+	   * accurate than checking `instanceof {@link AsyncSequence}` because, for
+	   * example, `Lazy([1, 2, 3]).async().map(Lazy.identity)` returns a sequence
+	   * that iterates asynchronously even though it's not an instance of
+	   * `AsyncSequence`.
+	   *
+	   * @returns {boolean} Whether or not the current sequence is an asynchronous one.
+	   */
+	  Sequence.prototype.isAsync = function isAsync() {
+	    return this.parent ? this.parent.isAsync() : false;
+	  };
+
+	  /**
+	   * Evaluates the sequence and produces the appropriate value (an array in most
+	   * cases, an object for {@link ObjectLikeSequence}s or a string for
+	   * {@link StringLikeSequence}s).
+	   *
+	   * @returns {Array|string|Object} The value resulting from fully evaluating
+	   *     the sequence.
+	   */
+	  Sequence.prototype.value = function value() {
+	    return this.toArray();
+	  };
+
+	  /**
+	   * Applies the current transformation chain to a given source, returning the
+	   * resulting value.
+	   *
+	   * @examples
+	   * var sequence = Lazy([])
+	   *   .map(function(x) { return x * -1; })
+	   *   .filter(function(x) { return x % 2 === 0; });
+	   *
+	   * sequence.apply([1, 2, 3, 4]); // => [-2, -4]
+	   */
+	  Sequence.prototype.apply = function apply(source) {
+	    var root = this.root(),
+	        previousSource = root.source,
+	        result;
+
+	    try {
+	      root.source = source;
+	      result = this.value();
+	    } finally {
+	      root.source = previousSource;
+	    }
+
+	    return result;
+	  };
+
+	  /**
+	   * The Iterator object provides an API for iterating over a sequence.
+	   *
+	   * The purpose of the `Iterator` type is mainly to offer an agnostic way of
+	   * iterating over a sequence -- either synchronous (i.e. with a `while` loop)
+	   * or asynchronously (with recursive calls to either `setTimeout` or --- if
+	   * available --- `setImmediate`). It is not intended to be used directly by
+	   * application code.
+	   *
+	   * @public
+	   * @constructor
+	   * @param {Sequence} sequence The sequence to iterate over.
+	   */
+	  function Iterator(sequence) {
+	    this.sequence = sequence;
+	    this.index    = -1;
+	  }
+
+	  /**
+	   * Gets the current item this iterator is pointing to.
+	   *
+	   * @public
+	   * @returns {*} The current item.
+	   */
+	  Iterator.prototype.current = function current() {
+	    return this.cachedIndex && this.cachedIndex.get(this.index);
+	  };
+
+	  /**
+	   * Moves the iterator to the next item in a sequence, if possible.
+	   *
+	   * @public
+	   * @returns {boolean} True if the iterator is able to move to a new item, or else
+	   *     false.
+	   */
+	  Iterator.prototype.moveNext = function moveNext() {
+	    var cachedIndex = this.cachedIndex;
+
+	    if (!cachedIndex) {
+	      cachedIndex = this.cachedIndex = this.sequence.getIndex();
+	    }
+
+	    if (this.index >= cachedIndex.length() - 1) {
+	      return false;
+	    }
+
+	    ++this.index;
+	    return true;
+	  };
+
+	  /**
+	   * Creates an array snapshot of a sequence.
+	   *
+	   * Note that for indefinite sequences, this method may raise an exception or
+	   * (worse) cause the environment to hang.
+	   *
+	   * @public
+	   * @returns {Array} An array containing the current contents of the sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).toArray() // => [1, 2, 3]
+	   */
+	  Sequence.prototype.toArray = function toArray() {
+	    return this.reduce(function(arr, element) {
+	      arr.push(element);
+	      return arr;
+	    }, []);
+	  };
+
+	  /**
+	   * Provides an indexed view into the sequence.
+	   *
+	   * For sequences that are already indexed, this will simply return the
+	   * sequence. For non-indexed sequences, this will eagerly evaluate the
+	   * sequence.
+	   *
+	   * @returns {ArrayLikeSequence} A sequence containing the current contents of
+	   *     the sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).filter(isEven)            // instanceof Lazy.Sequence
+	   * Lazy([1, 2, 3]).filter(isEven).getIndex() // instanceof Lazy.ArrayLikeSequence
+	   */
+	  Sequence.prototype.getIndex = function getIndex() {
+	    return new ArrayWrapper(this.toArray());
+	  };
+
+	  /**
+	   * Returns the element at the specified index. Note that, for sequences that
+	   * are not {@link ArrayLikeSequence}s, this may require partially evaluating
+	   * the sequence, iterating to reach the result. (In other words for such
+	   * sequences this method is not O(1).)
+	   *
+	   * @public
+	   * @param {number} i The index to access.
+	   * @returns {*} The element.
+	   *
+	   */
+	  Sequence.prototype.get = function get(i) {
+	    var element;
+	    this.each(function(e, index) {
+	      if (index === i) {
+	        element = e;
+	        return false;
+	      }
+	    });
+	    return element;
+	  };
+
+	  /**
+	   * Provides an indexed, memoized view into the sequence. This will cache the
+	   * result whenever the sequence is first iterated, so that subsequent
+	   * iterations will access the same element objects.
+	   *
+	   * @public
+	   * @returns {ArrayLikeSequence} An indexed, memoized sequence containing this
+	   *     sequence's elements, cached after the first iteration.
+	   *
+	   * @example
+	   * function createObject() { return new Object(); }
+	   *
+	   * var plain    = Lazy.generate(createObject, 10),
+	   *     memoized = Lazy.generate(createObject, 10).memoize();
+	   *
+	   * plain.toArray()[0] === plain.toArray()[0];       // => false
+	   * memoized.toArray()[0] === memoized.toArray()[0]; // => true
+	   */
+	  Sequence.prototype.memoize = function memoize() {
+	    return new MemoizedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MemoizedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  // MemoizedSequence needs to have its prototype set up after ArrayLikeSequence
+
+	  /**
+	   * Creates an object from a sequence of key/value pairs.
+	   *
+	   * @public
+	   * @returns {Object} An object with keys and values corresponding to the pairs
+	   *     of elements in the sequence.
+	   *
+	   * @examples
+	   * var details = [
+	   *   ["first", "Dan"],
+	   *   ["last", "Tao"],
+	   *   ["age", 29]
+	   * ];
+	   *
+	   * Lazy(details).toObject() // => { first: "Dan", last: "Tao", age: 29 }
+	   */
+	  Sequence.prototype.toObject = function toObject() {
+	    return this.reduce(function(object, pair) {
+	      object[pair[0]] = pair[1];
+	      return object;
+	    }, {});
+	  };
+
+	  /**
+	   * Iterates over this sequence and executes a function for every element.
+	   *
+	   * @public
+	   * @aka forEach
+	   * @param {Function} fn The function to call on each element in the sequence.
+	   *     Return false from the function to end the iteration.
+	   * @returns {boolean} `true` if the iteration evaluated the entire sequence,
+	   *     or `false` if iteration was ended early.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4]).each(fn) // calls fn 4 times
+	   */
+	  Sequence.prototype.each = function each(fn) {
+	    var iterator = this.getIterator(),
+	        i = -1;
+
+	    while (iterator.moveNext()) {
+	      if (fn(iterator.current(), ++i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  Sequence.prototype.forEach = function forEach(fn) {
+	    return this.each(fn);
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are calculated by passing this sequence's
+	   * elements through some mapping function.
+	   *
+	   * @public
+	   * @aka collect
+	   * @param {Function} mapFn The mapping function used to project this sequence's
+	   *     elements onto a new sequence. This function takes up to two arguments:
+	   *     the element, and the current index.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function addIndexToValue(e, i) { return e + i; }
+	   *
+	   * Lazy([]).map(increment)              // sequence: []
+	   * Lazy([1, 2, 3]).map(increment)       // sequence: [2, 3, 4]
+	   * Lazy([1, 2, 3]).map(addIndexToValue) // sequence: [1, 3, 5]
+	   *
+	   * @benchmarks
+	   * function increment(x) { return x + 1; }
+	   *
+	   * var smArr = Lazy.range(10).toArray(),
+	   *     lgArr = Lazy.range(100).toArray();
+	   *
+	   * Lazy(smArr).map(increment).each(Lazy.noop) // lazy - 10 elements
+	   * Lazy(lgArr).map(increment).each(Lazy.noop) // lazy - 100 elements
+	   * _.each(_.map(smArr, increment), _.noop)    // lodash - 10 elements
+	   * _.each(_.map(lgArr, increment), _.noop)    // lodash - 100 elements
+	   */
+	  Sequence.prototype.map = function map(mapFn) {
+	    return new MappedSequence(this, createCallback(mapFn));
+	  };
+
+	  Sequence.prototype.collect = function collect(mapFn) {
+	    return this.map(mapFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappedSequence(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  MappedSequence.prototype = new Sequence();
+
+	  MappedSequence.prototype.getIterator = function getIterator() {
+	    return new MappingIterator(this.parent, this.mapFn);
+	  };
+
+	  MappedSequence.prototype.each = function each(fn) {
+	    var mapFn = this.mapFn;
+	    return this.parent.each(function(e, i) {
+	      return fn(mapFn(e, i), i);
+	    });
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappingIterator(sequence, mapFn) {
+	    this.iterator = sequence.getIterator();
+	    this.mapFn    = mapFn;
+	    this.index    = -1;
+	  }
+
+	  MappingIterator.prototype.current = function current() {
+	    return this.mapFn(this.iterator.current(), this.index);
+	  };
+
+	  MappingIterator.prototype.moveNext = function moveNext() {
+	    if (this.iterator.moveNext()) {
+	      ++this.index;
+	      return true;
+	    }
+
+	    return false;
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are calculated by accessing the specified
+	   * property from each element in this sequence.
+	   *
+	   * @public
+	   * @param {string} propertyName The name of the property to access for every
+	   *     element in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var people = [
+	   *   { first: "Dan", last: "Tao" },
+	   *   { first: "Bob", last: "Smith" }
+	   * ];
+	   *
+	   * Lazy(people).pluck("last") // sequence: ["Tao", "Smith"]
+	   */
+	  Sequence.prototype.pluck = function pluck(property) {
+	    return this.map(property);
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are calculated by invoking the specified
+	   * function on each element in this sequence.
+	   *
+	   * @public
+	   * @param {string} methodName The name of the method to invoke for every element
+	   *     in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function Person(first, last) {
+	   *   this.fullName = function fullName() {
+	   *     return first + " " + last;
+	   *   };
+	   * }
+	   *
+	   * var people = [
+	   *   new Person("Dan", "Tao"),
+	   *   new Person("Bob", "Smith")
+	   * ];
+	   *
+	   * Lazy(people).invoke("fullName") // sequence: ["Dan Tao", "Bob Smith"]
+	   */
+	  Sequence.prototype.invoke = function invoke(methodName) {
+	    return this.map(function(e) {
+	      return e[methodName]();
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are the elements of this sequence which
+	   * satisfy the specified predicate.
+	   *
+	   * @public
+	   * @aka select
+	   * @param {Function} filterFn The predicate to call on each element in this
+	   *     sequence, which returns true if the element should be included.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5, 6];
+	   *
+	   * Lazy(numbers).filter(isEven) // sequence: [2, 4, 6]
+	   *
+	   * @benchmarks
+	   * function isEven(x) { return x % 2 === 0; }
+	   *
+	   * var smArr = Lazy.range(10).toArray(),
+	   *     lgArr = Lazy.range(100).toArray();
+	   *
+	   * Lazy(smArr).filter(isEven).each(Lazy.noop) // lazy - 10 elements
+	   * Lazy(lgArr).filter(isEven).each(Lazy.noop) // lazy - 100 elements
+	   * _.each(_.filter(smArr, isEven), _.noop)    // lodash - 10 elements
+	   * _.each(_.filter(lgArr, isEven), _.noop)    // lodash - 100 elements
+	   */
+	  Sequence.prototype.filter = function filter(filterFn) {
+	    return new FilteredSequence(this, createCallback(filterFn));
+	  };
+
+	  Sequence.prototype.select = function select(filterFn) {
+	    return this.filter(filterFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FilteredSequence(parent, filterFn) {
+	    this.parent   = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  FilteredSequence.prototype = new Sequence();
+
+	  FilteredSequence.prototype.getIterator = function getIterator() {
+	    return new FilteringIterator(this.parent, this.filterFn);
+	  };
+
+	  FilteredSequence.prototype.each = function each(fn) {
+	    var filterFn = this.filterFn,
+	        j = 0;
+
+	    return this.parent.each(function(e, i) {
+	      if (filterFn(e, i)) {
+	        return fn(e, j++);
+	      }
+	    });
+	  };
+
+	  FilteredSequence.prototype.reverse = function reverse() {
+	    return this.parent.reverse().filter(this.filterFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FilteringIterator(sequence, filterFn) {
+	    this.iterator = sequence.getIterator();
+	    this.filterFn = filterFn;
+	    this.index    = 0;
+	  }
+
+	  FilteringIterator.prototype.current = function current() {
+	    return this.value;
+	  };
+
+	  FilteringIterator.prototype.moveNext = function moveNext() {
+	    var iterator = this.iterator,
+	        filterFn = this.filterFn,
+	        value;
+
+	    while (iterator.moveNext()) {
+	      value = iterator.current();
+	      if (filterFn(value, this.index++)) {
+	        this.value = value;
+	        return true;
+	      }
+	    }
+
+	    this.value = undefined;
+	    return false;
+	  };
+
+	  /**
+	   * Creates a new sequence whose values exclude the elements of this sequence
+	   * identified by the specified predicate.
+	   *
+	   * @public
+	   * @param {Function} rejectFn The predicate to call on each element in this
+	   *     sequence, which returns true if the element should be omitted.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).reject(isEven)              // sequence: [1, 3, 5]
+	   * Lazy([{ foo: 1 }, { bar: 2 }]).reject('foo')      // sequence: [{ bar: 2 }]
+	   * Lazy([{ foo: 1 }, { foo: 2 }]).reject({ foo: 2 }) // sequence: [{ foo: 1 }]
+	   */
+	  Sequence.prototype.reject = function reject(rejectFn) {
+	    rejectFn = createCallback(rejectFn);
+	    return this.filter(function(e) { return !rejectFn(e); });
+	  };
+
+	  /**
+	   * Creates a new sequence whose values have the specified type, as determined
+	   * by the `typeof` operator.
+	   *
+	   * @public
+	   * @param {string} type The type of elements to include from the underlying
+	   *     sequence, i.e. where `typeof [element] === [type]`.
+	   * @returns {Sequence} The new sequence, comprising elements of the specified
+	   *     type.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 'foo', 'bar']).ofType('number')  // sequence: [1, 2]
+	   * Lazy([1, 2, 'foo', 'bar']).ofType('string')  // sequence: ['foo', 'bar']
+	   * Lazy([1, 2, 'foo', 'bar']).ofType('boolean') // sequence: []
+	   */
+	  Sequence.prototype.ofType = function ofType(type) {
+	    return this.filter(function(e) { return typeof e === type; });
+	  };
+
+	  /**
+	   * Creates a new sequence whose values are the elements of this sequence with
+	   * property names and values matching those of the specified object.
+	   *
+	   * @public
+	   * @param {Object} properties The properties that should be found on every
+	   *     element that is to be included in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var people = [
+	   *   { first: "Dan", last: "Tao" },
+	   *   { first: "Bob", last: "Smith" }
+	   * ];
+	   *
+	   * Lazy(people).where({ first: "Dan" }) // sequence: [{ first: "Dan", last: "Tao" }]
+	   *
+	   * @benchmarks
+	   * var animals = ["dog", "cat", "mouse", "horse", "pig", "snake"];
+	   *
+	   * Lazy(animals).where({ length: 3 }).each(Lazy.noop) // lazy
+	   * _.each(_.where(animals, { length: 3 }), _.noop)    // lodash
+	   */
+	  Sequence.prototype.where = function where(properties) {
+	    return this.filter(properties);
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, but to be iterated
+	   * in the opposite order.
+	   *
+	   * Note that in some (but not all) cases, the only way to create such a sequence
+	   * may require iterating the entire underlying source when `each` is called.
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).reverse() // sequence: [3, 2, 1]
+	   * Lazy([]).reverse()        // sequence: []
+	   */
+	  Sequence.prototype.reverse = function reverse() {
+	    return new ReversedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ReversedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  ReversedSequence.prototype = new Sequence();
+
+	  ReversedSequence.prototype.getIterator = function getIterator() {
+	    return new ReversedIterator(this.parent);
+	  };
+
+	  /**
+	   * @constuctor
+	   */
+	  function ReversedIterator(sequence) {
+	    this.sequence = sequence;
+	  }
+
+	  ReversedIterator.prototype.current = function current() {
+	    return this.getIndex().get(this.index);
+	  };
+
+	  ReversedIterator.prototype.moveNext = function moveNext() {
+	    var index  = this.getIndex(),
+	        length = index.length();
+
+	    if (typeof this.index === "undefined") {
+	      this.index = length;
+	    }
+
+	    return (--this.index >= 0);
+	  };
+
+	  ReversedIterator.prototype.getIndex = function getIndex() {
+	    if (!this.cachedIndex) {
+	      this.cachedIndex = this.sequence.getIndex();
+	    }
+
+	    return this.cachedIndex;
+	  };
+
+	  /**
+	   * Creates a new sequence with all of the elements of this one, plus those of
+	   * the given array(s).
+	   *
+	   * @public
+	   * @param {...*} var_args One or more values (or arrays of values) to use for
+	   *     additional items after this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var left  = [1, 2, 3];
+	   * var right = [4, 5, 6];
+	   *
+	   * Lazy(left).concat(right)         // sequence: [1, 2, 3, 4, 5, 6]
+	   * Lazy(left).concat(Lazy(right))   // sequence: [1, 2, 3, 4, 5, 6]
+	   * Lazy(left).concat(right, [7, 8]) // sequence: [1, 2, 3, 4, 5, 6, 7, 8]
+	   */
+	  Sequence.prototype.concat = function concat(var_args) {
+	    return new ConcatenatedSequence(this, arraySlice.call(arguments, 0));
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ConcatenatedSequence(parent, arrays) {
+	    this.parent = parent;
+	    this.arrays = arrays;
+	  }
+
+	  ConcatenatedSequence.prototype = new Sequence();
+
+	  ConcatenatedSequence.prototype.each = function each(fn) {
+	    var done = false,
+	        i = 0;
+
+	    this.parent.each(function(e) {
+	      if (fn(e, i++) === false) {
+	        done = true;
+	        return false;
+	      }
+	    });
+
+	    if (!done) {
+	      Lazy(this.arrays).flatten().each(function(e) {
+	        if (fn(e, i++) === false) {
+	          return false;
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the first N elements from this sequence, OR
+	   * (if N is `undefined`) simply returns the first element of this sequence.
+	   *
+	   * @public
+	   * @aka head, take
+	   * @param {number=} count The number of elements to take from this sequence. If
+	   *     this value exceeds the length of the sequence, the resulting sequence
+	   *     will be essentially the same as this one.
+	   * @returns {*} The new sequence (or the first element from this sequence if
+	   *     no count was given).
+	   *
+	   * @examples
+	   * function powerOfTwo(exp) {
+	   *   return Math.pow(2, exp);
+	   * }
+	   *
+	   * Lazy.generate(powerOfTwo).first()          // => 1
+	   * Lazy.generate(powerOfTwo).first(5)         // sequence: [1, 2, 4, 8, 16]
+	   * Lazy.generate(powerOfTwo).skip(2).first()  // => 4
+	   * Lazy.generate(powerOfTwo).skip(2).first(2) // sequence: [4, 8]
+	   */
+	  Sequence.prototype.first = function first(count) {
+	    if (typeof count === "undefined") {
+	      return getFirst(this);
+	    }
+	    return new TakeSequence(this, count);
+	  };
+
+	  Sequence.prototype.head =
+	  Sequence.prototype.take = function (count) {
+	    return this.first(count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TakeSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = count;
+	  }
+
+	  TakeSequence.prototype = new Sequence();
+
+	  TakeSequence.prototype.getIterator = function getIterator() {
+	    return new TakeIterator(this.parent, this.count);
+	  };
+
+	  TakeSequence.prototype.each = function each(fn) {
+	    var count = this.count,
+	        i     = 0;
+
+	    var result;
+	    var handle = this.parent.each(function(e) {
+	      if (i < count) { result = fn(e, i++); }
+	      if (i >= count) { return false; }
+	      return result;
+	    });
+
+	    if (handle instanceof AsyncHandle) {
+	      return handle;
+	    }
+
+	    return i === count && result !== false;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TakeIterator(sequence, count) {
+	    this.iterator = sequence.getIterator();
+	    this.count    = count;
+	  }
+
+	  TakeIterator.prototype.current = function current() {
+	    return this.iterator.current();
+	  };
+
+	  TakeIterator.prototype.moveNext = function moveNext() {
+	    return ((--this.count >= 0) && this.iterator.moveNext());
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the elements from the head of this sequence
+	   * that satisfy some predicate. Once an element is encountered that doesn't
+	   * satisfy the predicate, iteration will stop.
+	   *
+	   * @public
+	   * @param {Function} predicate
+	   * @returns {Sequence} The new sequence
+	   *
+	   * @examples
+	   * function lessThan(x) {
+	   *   return function(y) {
+	   *     return y < x;
+	   *   };
+	   * }
+	   *
+	   * Lazy([1, 2, 3, 4]).takeWhile(lessThan(3)) // sequence: [1, 2]
+	   * Lazy([1, 2, 3, 4]).takeWhile(lessThan(0)) // sequence: []
+	   */
+	  Sequence.prototype.takeWhile = function takeWhile(predicate) {
+	    return new TakeWhileSequence(this, predicate);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TakeWhileSequence(parent, predicate) {
+	    this.parent    = parent;
+	    this.predicate = predicate;
+	  }
+
+	  TakeWhileSequence.prototype = new Sequence();
+
+	  TakeWhileSequence.prototype.each = function each(fn) {
+	    var predicate = this.predicate,
+	        finished = false,
+	        j = 0;
+
+	    var result = this.parent.each(function(e, i) {
+	      if (!predicate(e, i)) {
+	        finished = true;
+	        return false;
+	      }
+
+	      return fn(e, j++);
+	    });
+
+	    if (result instanceof AsyncHandle) {
+	      return result;
+	    }
+
+	    return finished;
+	  };
+
+	  /**
+	   * Creates a new sequence comprising all but the last N elements of this
+	   * sequence.
+	   *
+	   * @public
+	   * @param {number=} count The number of items to omit from the end of the
+	   *     sequence (defaults to 1).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4]).initial()                    // sequence: [1, 2, 3]
+	   * Lazy([1, 2, 3, 4]).initial(2)                   // sequence: [1, 2]
+	   * Lazy([1, 2, 3]).filter(Lazy.identity).initial() // sequence: [1, 2]
+	   */
+	  Sequence.prototype.initial = function initial(count) {
+	    return new InitialSequence(this, count);
+	  };
+
+	  function InitialSequence(parent, count) {
+	    this.parent = parent;
+	    this.count = typeof count === "number" ? count : 1;
+	  }
+
+	  InitialSequence.prototype = new Sequence();
+
+	  InitialSequence.prototype.each = function each(fn) {
+	    var index = this.parent.getIndex();
+	    return index.take(index.length() - this.count).each(fn);
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the last N elements of this sequence, OR
+	   * (if N is `undefined`) simply returns the last element of this sequence.
+	   *
+	   * @public
+	   * @param {number=} count The number of items to take from the end of the
+	   *     sequence.
+	   * @returns {*} The new sequence (or the last element from this sequence
+	   *     if no count was given).
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).last()                 // => 3
+	   * Lazy([1, 2, 3]).last(2)                // sequence: [2, 3]
+	   * Lazy([1, 2, 3]).filter(isEven).last(2) // sequence: [2]
+	   */
+	  Sequence.prototype.last = function last(count) {
+	    if (typeof count === "undefined") {
+	      return this.reverse().first();
+	    }
+	    return this.reverse().take(count).reverse();
+	  };
+
+	  /**
+	   * Returns the first element in this sequence with property names and values
+	   * matching those of the specified object.
+	   *
+	   * @public
+	   * @param {Object} properties The properties that should be found on some
+	   *     element in this sequence.
+	   * @returns {*} The found element, or `undefined` if none exists in this
+	   *     sequence.
+	   *
+	   * @examples
+	   * var words = ["foo", "bar"];
+	   *
+	   * Lazy(words).findWhere({ 0: "f" }); // => "foo"
+	   * Lazy(words).findWhere({ 0: "z" }); // => undefined
+	   */
+	  Sequence.prototype.findWhere = function findWhere(properties) {
+	    return this.where(properties).first();
+	  };
+
+	  /**
+	   * Creates a new sequence comprising all but the first N elements of this
+	   * sequence.
+	   *
+	   * @public
+	   * @aka skip, tail, rest
+	   * @param {number=} count The number of items to omit from the beginning of the
+	   *     sequence (defaults to 1).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4]).rest()  // sequence: [2, 3, 4]
+	   * Lazy([1, 2, 3, 4]).rest(0) // sequence: [1, 2, 3, 4]
+	   * Lazy([1, 2, 3, 4]).rest(2) // sequence: [3, 4]
+	   * Lazy([1, 2, 3, 4]).rest(5) // sequence: []
+	   */
+	  Sequence.prototype.rest = function rest(count) {
+	    return new DropSequence(this, count);
+	  };
+
+	  Sequence.prototype.skip =
+	  Sequence.prototype.tail =
+	  Sequence.prototype.drop = function drop(count) {
+	    return this.rest(count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function DropSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = typeof count === "number" ? count : 1;
+	  }
+
+	  DropSequence.prototype = new Sequence();
+
+	  DropSequence.prototype.each = function each(fn) {
+	    var count   = this.count,
+	        dropped = 0,
+	        i       = 0;
+
+	    return this.parent.each(function(e) {
+	      if (dropped++ < count) { return; }
+	      return fn(e, i++);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence comprising the elements from this sequence *after*
+	   * those that satisfy some predicate. The sequence starts with the first
+	   * element that does not match the predicate.
+	   *
+	   * @public
+	   * @aka skipWhile
+	   * @param {Function} predicate
+	   * @returns {Sequence} The new sequence
+	   */
+	  Sequence.prototype.dropWhile = function dropWhile(predicate) {
+	    return new DropWhileSequence(this, predicate);
+	  };
+
+	  Sequence.prototype.skipWhile = function skipWhile(predicate) {
+	    return this.dropWhile(predicate);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function DropWhileSequence(parent, predicate) {
+	    this.parent    = parent;
+	    this.predicate = predicate;
+	  }
+
+	  DropWhileSequence.prototype = new Sequence();
+
+	  DropWhileSequence.prototype.each = function each(fn) {
+	    var predicate = this.predicate,
+	        done      = false;
+
+	    return this.parent.each(function(e) {
+	      if (!done) {
+	        if (predicate(e)) {
+	          return;
+	        }
+
+	        done = true;
+	      }
+
+	      return fn(e);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, but ordered
+	   * using the specified comparison function.
+	   *
+	   * This has essentially the same behavior as calling
+	   * [`Array#sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort),
+	   * but obviously instead of modifying the collection it returns a new
+	   * {@link Sequence} object.
+	   *
+	   * @public
+	   * @param {Function=} sortFn The function used to compare elements in the
+	   *     sequence. The function will be passed two elements and should return:
+	   *     - 1 if the first is greater
+	   *     - -1 if the second is greater
+	   *     - 0 if the two values are the same
+	   * @param {boolean} descending Whether or not the resulting sequence should be
+	   *     in descending order (defaults to `false`).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([5, 10, 1]).sort()                // sequence: [1, 5, 10]
+	   * Lazy(['foo', 'bar']).sort()            // sequence: ['bar', 'foo']
+	   * Lazy(['b', 'c', 'a']).sort(null, true) // sequence: ['c', 'b', 'a']
+	   * Lazy([5, 10, 1]).sort(null, true)      // sequence: [10, 5, 1]
+	   *
+	   * // Sorting w/ custom comparison function
+	   * Lazy(['a', 'ab', 'aa', 'ba', 'b', 'abc']).sort(function compare(x, y) {
+	   *   if (x.length && (x.length !== y.length)) { return compare(x.length, y.length); }
+	   *   if (x === y) { return 0; }
+	   *   return x > y ? 1 : -1;
+	   * });
+	   * // => sequence: ['a', 'b', 'aa', 'ab', 'ba', 'abc']
+	   */
+	  Sequence.prototype.sort = function sort(sortFn, descending) {
+	    sortFn || (sortFn = compare);
+	    if (descending) { sortFn = reverseArguments(sortFn); }
+	    return new SortedSequence(this, sortFn);
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, but ordered by
+	   * the results of the given function.
+	   *
+	   * You can pass:
+	   *
+	   * - a *string*, to sort by the named property
+	   * - a function, to sort by the result of calling the function on each element
+	   *
+	   * @public
+	   * @param {Function} sortFn The function to call on the elements in this
+	   *     sequence, in order to sort them.
+	   * @param {boolean} descending Whether or not the resulting sequence should be
+	   *     in descending order (defaults to `false`).
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function population(country) {
+	   *   return country.pop;
+	   * }
+	   *
+	   * function area(country) {
+	   *   return country.sqkm;
+	   * }
+	   *
+	   * var countries = [
+	   *   { name: "USA", pop: 320000000, sqkm: 9600000 },
+	   *   { name: "Brazil", pop: 194000000, sqkm: 8500000 },
+	   *   { name: "Nigeria", pop: 174000000, sqkm: 924000 },
+	   *   { name: "China", pop: 1350000000, sqkm: 9700000 },
+	   *   { name: "Russia", pop: 143000000, sqkm: 17000000 },
+	   *   { name: "Australia", pop: 23000000, sqkm: 7700000 }
+	   * ];
+	   *
+	   * Lazy(countries).sortBy(population).last(3).pluck('name') // sequence: ["Brazil", "USA", "China"]
+	   * Lazy(countries).sortBy(area).last(3).pluck('name')       // sequence: ["USA", "China", "Russia"]
+	   * Lazy(countries).sortBy(area, true).first(3).pluck('name') // sequence: ["Russia", "China", "USA"]
+	   *
+	   * @benchmarks
+	   * var randoms = Lazy.generate(Math.random).take(100).toArray();
+	   *
+	   * Lazy(randoms).sortBy(Lazy.identity).each(Lazy.noop) // lazy
+	   * _.each(_.sortBy(randoms, Lazy.identity), _.noop)    // lodash
+	   */
+	  Sequence.prototype.sortBy = function sortBy(sortFn, descending) {
+	    sortFn = createComparator(sortFn);
+	    if (descending) { sortFn = reverseArguments(sortFn); }
+	    return new SortedSequence(this, sortFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SortedSequence(parent, sortFn) {
+	    this.parent = parent;
+	    this.sortFn = sortFn;
+	  }
+
+	  SortedSequence.prototype = new Sequence();
+
+	  SortedSequence.prototype.each = function each(fn) {
+	    var sortFn = this.sortFn,
+	        result = this.parent.toArray();
+
+	    result.sort(sortFn);
+
+	    return forEach(result, fn);
+	  };
+
+	  /**
+	   * @examples
+	   * var items = [{ a: 4 }, { a: 3 }, { a: 5 }];
+	   *
+	   * Lazy(items).sortBy('a').reverse();
+	   * // => sequence: [{ a: 5 }, { a: 4 }, { a: 3 }]
+	   *
+	   * Lazy(items).sortBy('a').reverse().reverse();
+	   * // => sequence: [{ a: 3 }, { a: 4 }, { a: 5 }]
+	   */
+	  SortedSequence.prototype.reverse = function reverse() {
+	    return new SortedSequence(this.parent, reverseArguments(this.sortFn));
+	  };
+
+	  /**
+	   * Creates a new {@link ObjectLikeSequence} comprising the elements in this
+	   * one, grouped together according to some key. The value associated with each
+	   * key in the resulting object-like sequence is an array containing all of
+	   * the elements in this sequence with that key.
+	   *
+	   * @public
+	   * @param {Function|string} keyFn The function to call on the elements in this
+	   *     sequence to obtain a key by which to group them, or a string representing
+	   *     a parameter to read from all the elements in this sequence.
+	   * @param {Function|string} valFn (Optional) The function to call on the elements
+	   *     in this sequence to assign to the value for each instance to appear in the
+	   *     group, or a string representing a parameter to read from all the elements
+	   *     in this sequence.
+	   * @returns {ObjectLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * function oddOrEven(x) {
+	   *   return x % 2 === 0 ? 'even' : 'odd';
+	   * }
+	   * function square(x) {
+	   *   return x*x;
+	   * }
+	   *
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).groupBy(oddOrEven)                     // sequence: { odd: [1, 3, 5], even: [2, 4] }
+	   * Lazy(numbers).groupBy(oddOrEven).get("odd")          // => [1, 3, 5]
+	   * Lazy(numbers).groupBy(oddOrEven).get("foo")          // => undefined
+	   * Lazy(numbers).groupBy(oddOrEven, square).get("even") // => [4, 16]
+	   *
+	   * Lazy([
+	   *   { name: 'toString' },
+	   *   { name: 'toString' }
+	   * ]).groupBy('name');
+	   * // => sequence: {
+	   *   'toString': [
+	   *     { name: 'toString' },
+	   *     { name: 'toString' }
+	   *   ]
+	   * }
+	   */
+	  Sequence.prototype.groupBy = function groupBy(keyFn, valFn) {
+	    return new GroupedSequence(this, keyFn, valFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function GroupedSequence(parent, keyFn, valFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	    this.valFn  = valFn;
+	  }
+
+	  // GroupedSequence must have its prototype set after ObjectLikeSequence has
+	  // been fully initialized.
+
+	  /**
+	   * Creates a new {@link ObjectLikeSequence} comprising the elements in this
+	   * one, indexed according to some key.
+	   *
+	   * @public
+	   * @param {Function|string} keyFn The function to call on the elements in this
+	   *     sequence to obtain a key by which to index them, or a string
+	   *     representing a property to read from all the elements in this sequence.
+	   * @param {Function|string} valFn (Optional) The function to call on the elements
+	   *     in this sequence to assign to the value of the indexed object, or a string
+	   *     representing a parameter to read from all the elements in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var people = [
+	   *   { name: 'Bob', age: 25 },
+	   *   { name: 'Fred', age: 34 }
+	   * ];
+	   *
+	   * var bob  = people[0],
+	   *     fred = people[1];
+	   *
+	   * Lazy(people).indexBy('name')        // sequence: { 'Bob': bob, 'Fred': fred }
+	   * Lazy(people).indexBy('name', 'age') // sequence: { 'Bob': 25, 'Fred': 34 }
+	   */
+	  Sequence.prototype.indexBy = function(keyFn, valFn) {
+	    return new IndexedSequence(this, keyFn, valFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedSequence(parent, keyFn, valFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	    this.valFn  = valFn;
+	  }
+
+	  // IndexedSequence must have its prototype set after ObjectLikeSequence has
+	  // been fully initialized.
+
+	  /**
+	   * Creates a new {@link ObjectLikeSequence} containing the unique keys of all
+	   * the elements in this sequence, each paired with the number of elements
+	   * in this sequence having that key.
+	   *
+	   * @public
+	   * @param {Function|string} keyFn The function to call on the elements in this
+	   *     sequence to obtain a key by which to count them, or a string representing
+	   *     a parameter to read from all the elements in this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * function oddOrEven(x) {
+	   *   return x % 2 === 0 ? 'even' : 'odd';
+	   * }
+	   *
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).countBy(oddOrEven)            // sequence: { odd: 3, even: 2 }
+	   * Lazy(numbers).countBy(oddOrEven).get("odd") // => 3
+	   * Lazy(numbers).countBy(oddOrEven).get("foo") // => undefined
+	   */
+	  Sequence.prototype.countBy = function countBy(keyFn) {
+	    return new CountedSequence(this, keyFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function CountedSequence(parent, keyFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	  }
+
+	  // CountedSequence, like GroupedSequence, must have its prototype set after
+	  // ObjectLikeSequence has been fully initialized.
+
+	  /**
+	   * Creates a new sequence with every unique element from this one appearing
+	   * exactly once (i.e., with duplicates removed).
+	   *
+	   * @public
+	   * @aka unique
+	   * @param {Function} keyFn An optional function to produce the key for each
+	   *     object. This key is then tested for uniqueness as  opposed to the
+	   *     object reference.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 2, 3, 3, 3]).uniq() // sequence: [1, 2, 3]
+	   * Lazy([{ name: 'mike' }, 
+	   * 	{ name: 'sarah' }, 
+	   * 	{ name: 'mike' }
+	   * ]).uniq('name')
+	   * // sequence: [{ name: 'mike' }, { name: 'sarah' }]
+	   *
+	   * @benchmarks
+	   * function randomOf(array) {
+	   *   return function() {
+	   *     return array[Math.floor(Math.random() * array.length)];
+	   *   };
+	   * }
+	   *
+	   * var mostUnique = Lazy.generate(randomOf(_.range(100)), 100).toArray(),
+	   *     someUnique = Lazy.generate(randomOf(_.range(50)), 100).toArray(),
+	   *     mostDupes  = Lazy.generate(randomOf(_.range(5)), 100).toArray();
+	   *
+	   * Lazy(mostUnique).uniq().each(Lazy.noop) // lazy - mostly unique elements
+	   * Lazy(someUnique).uniq().each(Lazy.noop) // lazy - some unique elements
+	   * Lazy(mostDupes).uniq().each(Lazy.noop)  // lazy - mostly duplicate elements
+	   * _.each(_.uniq(mostUnique), _.noop)      // lodash - mostly unique elements
+	   * _.each(_.uniq(someUnique), _.noop)      // lodash - some unique elements
+	   * _.each(_.uniq(mostDupes), _.noop)       // lodash - mostly duplicate elements
+	   */
+	  Sequence.prototype.uniq = function uniq(keyFn) {
+	    return new UniqueSequence(this, keyFn);
+	  };
+
+	  Sequence.prototype.unique = function unique(keyFn) {
+	    return this.uniq(keyFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function UniqueSequence(parent, keyFn) {
+	    this.parent = parent;
+	    this.keyFn  = keyFn;
+	  }
+
+	  UniqueSequence.prototype = new Sequence();
+
+	  UniqueSequence.prototype.each = function each(fn) {
+	    var cache = new Set(),
+	        keyFn = this.keyFn,
+	        i     = 0;
+
+	    if (keyFn) {
+	      keyFn = createCallback(keyFn);
+	      return this.parent.each(function(e) {
+	        if (cache.add(keyFn(e))) {
+	          return fn(e, i++);
+	        }
+	      });
+
+	    } else {
+	      return this.parent.each(function(e) {
+	        if (cache.add(e)) {
+	          return fn(e, i++);
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Creates a new sequence by combining the elements from this sequence with
+	   * corresponding elements from the specified array(s).
+	   *
+	   * @public
+	   * @param {...Array} var_args One or more arrays of elements to combine with
+	   *     those of this sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2]).zip([3, 4]) // sequence: [[1, 3], [2, 4]]
+	   *
+	   * @benchmarks
+	   * var smArrL = Lazy.range(10).toArray(),
+	   *     smArrR = Lazy.range(10, 20).toArray(),
+	   *     lgArrL = Lazy.range(100).toArray(),
+	   *     lgArrR = Lazy.range(100, 200).toArray();
+	   *
+	   * Lazy(smArrL).zip(smArrR).each(Lazy.noop) // lazy - zipping 10-element arrays
+	   * Lazy(lgArrL).zip(lgArrR).each(Lazy.noop) // lazy - zipping 100-element arrays
+	   * _.each(_.zip(smArrL, smArrR), _.noop)    // lodash - zipping 10-element arrays
+	   * _.each(_.zip(lgArrL, lgArrR), _.noop)    // lodash - zipping 100-element arrays
+	   */
+	  Sequence.prototype.zip = function zip(var_args) {
+	    if (arguments.length === 1) {
+	      return new SimpleZippedSequence(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return new ZippedSequence(this, arraySlice.call(arguments, 0));
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ZippedSequence(parent, arrays) {
+	    this.parent = parent;
+	    this.arrays = arrays;
+	  }
+
+	  ZippedSequence.prototype = new Sequence();
+
+	  ZippedSequence.prototype.each = function each(fn) {
+	    var arrays = this.arrays,
+	        i = 0;
+	    this.parent.each(function(e) {
+	      var group = [e];
+	      for (var j = 0; j < arrays.length; ++j) {
+	        if (arrays[j].length > i) {
+	          group.push(arrays[j][i]);
+	        }
+	      }
+	      return fn(group, i++);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, in a randomized
+	   * order.
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).shuffle().value() // =~ [1, 2, 3, 4, 5]
+	   */
+	  Sequence.prototype.shuffle = function shuffle() {
+	    return new ShuffledSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ShuffledSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  ShuffledSequence.prototype = new Sequence();
+
+	  ShuffledSequence.prototype.each = function each(fn) {
+	    var shuffled = this.parent.toArray(),
+	        floor = Math.floor,
+	        random = Math.random,
+	        j = 0;
+
+	    for (var i = shuffled.length - 1; i > 0; --i) {
+	      swap(shuffled, i, floor(random() * (i + 1)));
+	      if (fn(shuffled[i], j++) === false) {
+	        return;
+	      }
+	    }
+	    fn(shuffled[0], j);
+	  };
+
+	  /**
+	   * Creates a new sequence with every element from this sequence, and with arrays
+	   * exploded so that a sequence of arrays (of arrays) becomes a flat sequence of
+	   * values.
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, [2, 3], [4, [5]]]).flatten() // sequence: [1, 2, 3, 4, 5]
+	   * Lazy([1, Lazy([2, 3])]).flatten()     // sequence: [1, 2, 3]
+	   */
+	  Sequence.prototype.flatten = function flatten() {
+	    return new FlattenedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FlattenedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  FlattenedSequence.prototype = new Sequence();
+
+	  FlattenedSequence.prototype.each = function each(fn) {
+	    var index = 0;
+
+	    return this.parent.each(function recurseVisitor(e) {
+	      if (e instanceof Array) {
+	        return forEach(e, recurseVisitor);
+	      }
+
+	      if (e instanceof Sequence) {
+	        return e.each(recurseVisitor);
+	      }
+
+	      return fn(e, index++);
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with the same elements as this one, except for all
+	   * falsy values (`false`, `0`, `""`, `null`, and `undefined`).
+	   *
+	   * @public
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy(["foo", null, "bar", undefined]).compact() // sequence: ["foo", "bar"]
+	   */
+	  Sequence.prototype.compact = function compact() {
+	    return this.filter(function(e) { return !!e; });
+	  };
+
+	  /**
+	   * Creates a new sequence with all the elements of this sequence that are not
+	   * also among the specified arguments.
+	   *
+	   * @public
+	   * @aka difference
+	   * @param {...*} var_args The values, or array(s) of values, to be excluded from the
+	   *     resulting sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).without(2, 3)   // sequence: [1, 4, 5]
+	   * Lazy([1, 2, 3, 4, 5]).without([4, 5]) // sequence: [1, 2, 3]
+	   */
+	  Sequence.prototype.without = function without(var_args) {
+	    return new WithoutSequence(this, arraySlice.call(arguments, 0));
+	  };
+
+	  Sequence.prototype.difference = function difference(var_args) {
+	    return this.without.apply(this, arguments);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function WithoutSequence(parent, values) {
+	    this.parent = parent;
+	    this.values = values;
+	  }
+
+	  WithoutSequence.prototype = new Sequence();
+
+	  WithoutSequence.prototype.each = function each(fn) {
+	    var set = createSet(this.values),
+	        i = 0;
+	    return this.parent.each(function(e) {
+	      if (!set.contains(e)) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Creates a new sequence with all the unique elements either in this sequence
+	   * or among the specified arguments.
+	   *
+	   * @public
+	   * @param {...*} var_args The values, or array(s) of values, to be additionally
+	   *     included in the resulting sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy(["foo", "bar"]).union([])             // sequence: ["foo", "bar"]
+	   * Lazy(["foo", "bar"]).union(["bar", "baz"]) // sequence: ["foo", "bar", "baz"]
+	   */
+	  Sequence.prototype.union = function union(var_args) {
+	    return this.concat(var_args).uniq();
+	  };
+
+	  /**
+	   * Creates a new sequence with all the elements of this sequence that also
+	   * appear among the specified arguments.
+	   *
+	   * @public
+	   * @param {...*} var_args The values, or array(s) of values, in which elements
+	   *     from this sequence must also be included to end up in the resulting sequence.
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy(["foo", "bar"]).intersection([])             // sequence: []
+	   * Lazy(["foo", "bar"]).intersection(["bar", "baz"]) // sequence: ["bar"]
+	   */
+	  Sequence.prototype.intersection = function intersection(var_args) {
+	    if (arguments.length === 1 && arguments[0] instanceof Array) {
+	      return new SimpleIntersectionSequence(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return new IntersectionSequence(this, arraySlice.call(arguments, 0));
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IntersectionSequence(parent, arrays) {
+	    this.parent = parent;
+	    this.arrays = arrays;
+	  }
+
+	  IntersectionSequence.prototype = new Sequence();
+
+	  IntersectionSequence.prototype.each = function each(fn) {
+	    var sets = Lazy(this.arrays).map(function(values) {
+	      return new UniqueMemoizer(Lazy(values).getIterator());
+	    });
+
+	    var setIterator = new UniqueMemoizer(sets.getIterator()),
+	        i = 0;
+
+	    return this.parent.each(function(e) {
+	      var includedInAll = true;
+	      setIterator.each(function(set) {
+	        if (!set.contains(e)) {
+	          includedInAll = false;
+	          return false;
+	        }
+	      });
+
+	      if (includedInAll) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function UniqueMemoizer(iterator) {
+	    this.iterator     = iterator;
+	    this.set          = new Set();
+	    this.memo         = [];
+	    this.currentValue = undefined;
+	  }
+
+	  UniqueMemoizer.prototype.current = function current() {
+	    return this.currentValue;
+	  };
+
+	  UniqueMemoizer.prototype.moveNext = function moveNext() {
+	    var iterator = this.iterator,
+	        set = this.set,
+	        memo = this.memo,
+	        current;
+
+	    while (iterator.moveNext()) {
+	      current = iterator.current();
+	      if (set.add(current)) {
+	        memo.push(current);
+	        this.currentValue = current;
+	        return true;
+	      }
+	    }
+	    return false;
+	  };
+
+	  UniqueMemoizer.prototype.each = function each(fn) {
+	    var memo = this.memo,
+	        length = memo.length,
+	        i = -1;
+
+	    while (++i < length) {
+	      if (fn(memo[i], i) === false) {
+	        return false;
+	      }
+	    }
+
+	    while (this.moveNext()) {
+	      if (fn(this.currentValue, i++) === false) {
+	        break;
+	      }
+	    }
+	  };
+
+	  UniqueMemoizer.prototype.contains = function contains(e) {
+	    if (this.set.contains(e)) {
+	      return true;
+	    }
+
+	    while (this.moveNext()) {
+	      if (this.currentValue === e) {
+	        return true;
+	      }
+	    }
+
+	    return false;
+	  };
+
+	  /**
+	   * Checks whether every element in this sequence satisfies a given predicate.
+	   *
+	   * @public
+	   * @aka all
+	   * @param {Function} predicate A function to call on (potentially) every element
+	   *     in this sequence.
+	   * @returns {boolean} True if `predicate` returns true for every element in the
+	   *     sequence (or the sequence is empty). False if `predicate` returns false
+	   *     for at least one element.
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * var objects = [{ foo: true }, { foo: false, bar: true }];
+	   *
+	   * Lazy(numbers).every(isEven)     // => false
+	   * Lazy(numbers).every(isPositive) // => true
+	   * Lazy(objects).all('foo')        // => false
+	   * Lazy(objects).all('bar')        // => false
+	   */
+	  Sequence.prototype.every = function every(predicate) {
+	    predicate = createCallback(predicate);
+
+	    return this.each(function(e, i) {
+	      return !!predicate(e, i);
+	    });
+	  };
+
+	  Sequence.prototype.all = function all(predicate) {
+	    return this.every(predicate);
+	  };
+
+	  /**
+	   * Checks whether at least one element in this sequence satisfies a given
+	   * predicate (or, if no predicate is specified, whether the sequence contains at
+	   * least one element).
+	   *
+	   * @public
+	   * @aka any
+	   * @param {Function=} predicate A function to call on (potentially) every element
+	   *     in this sequence.
+	   * @returns {boolean} True if `predicate` returns true for at least one element
+	   *     in the sequence. False if `predicate` returns false for every element (or
+	   *     the sequence is empty).
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).some()           // => true
+	   * Lazy(numbers).some(isEven)     // => true
+	   * Lazy(numbers).some(isNegative) // => false
+	   * Lazy([]).some()                // => false
+	   */
+	  Sequence.prototype.some = function some(predicate) {
+	    predicate = createCallback(predicate, true);
+
+	    var success = false;
+	    this.each(function(e) {
+	      if (predicate(e)) {
+	        success = true;
+	        return false;
+	      }
+	    });
+	    return success;
+	  };
+
+	  Sequence.prototype.any = function any(predicate) {
+	    return this.some(predicate);
+	  };
+
+	  /**
+	   * Checks whether NO elements in this sequence satisfy the given predicate
+	   * (the opposite of {@link Sequence#all}, basically).
+	   *
+	   * @public
+	   * @param {Function=} predicate A function to call on (potentially) every element
+	   *     in this sequence.
+	   * @returns {boolean} True if `predicate` does not return true for any element
+	   *     in the sequence. False if `predicate` returns true for at least one
+	   *     element.
+	   *
+	   * @examples
+	   * var numbers = [1, 2, 3, 4, 5];
+	   *
+	   * Lazy(numbers).none()           // => false
+	   * Lazy(numbers).none(isEven)     // => false
+	   * Lazy(numbers).none(isNegative) // => true
+	   * Lazy([]).none(isEven)          // => true
+	   * Lazy([]).none(isNegative)      // => true
+	   * Lazy([]).none()                // => true
+	   */
+	  Sequence.prototype.none = function none(predicate) {
+	    return !this.any(predicate);
+	  };
+
+	  /**
+	   * Checks whether the sequence has no elements.
+	   *
+	   * @public
+	   * @returns {boolean} True if the sequence is empty, false if it contains at
+	   *     least one element.
+	   *
+	   * @examples
+	   * Lazy([]).isEmpty()        // => true
+	   * Lazy([1, 2, 3]).isEmpty() // => false
+	   */
+	  Sequence.prototype.isEmpty = function isEmpty() {
+	    return !this.any();
+	  };
+
+	  /**
+	   * Performs (at worst) a linear search from the head of this sequence,
+	   * returning the first index at which the specified value is found.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {number} The index within this sequence where the given value is
+	   *     located, or -1 if the sequence doesn't contain the value.
+	   *
+	   * @examples
+	   * function reciprocal(x) { return 1 / x; }
+	   *
+	   * Lazy(["foo", "bar", "baz"]).indexOf("bar")   // => 1
+	   * Lazy([1, 2, 3]).indexOf(4)                   // => -1
+	   * Lazy([1, 2, 3]).map(reciprocal).indexOf(0.5) // => 1
+	   */
+	  Sequence.prototype.indexOf = function indexOf(value) {
+	    var foundIndex = -1;
+	    this.each(function(e, i) {
+	      if (e === value) {
+	        foundIndex = i;
+	        return false;
+	      }
+	    });
+	    return foundIndex;
+	  };
+
+	  /**
+	   * Performs (at worst) a linear search from the tail of this sequence,
+	   * returning the last index at which the specified value is found.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {number} The last index within this sequence where the given value
+	   *     is located, or -1 if the sequence doesn't contain the value.
+	   *
+	   * @examples
+	   * Lazy(["a", "b", "c", "b", "a"]).lastIndexOf("b")    // => 3
+	   * Lazy([1, 2, 3]).lastIndexOf(0)                      // => -1
+	   * Lazy([2, 2, 1, 2, 4]).filter(isEven).lastIndexOf(2) // 2
+	   */
+	  Sequence.prototype.lastIndexOf = function lastIndexOf(value) {
+	    var reversed = this.getIndex().reverse(),
+	        index    = reversed.indexOf(value);
+	    if (index !== -1) {
+	      index = reversed.length() - index - 1;
+	    }
+	    return index;
+	  };
+
+	  /**
+	   * Performs a binary search of this sequence, returning the lowest index where
+	   * the given value is either found, or where it belongs (if it is not already
+	   * in the sequence).
+	   *
+	   * This method assumes the sequence is in sorted order and will fail otherwise.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {number} An index within this sequence where the given value is
+	   *     located, or where it belongs in sorted order.
+	   *
+	   * @examples
+	   * Lazy([1, 3, 6, 9]).sortedIndex(3)                    // => 1
+	   * Lazy([1, 3, 6, 9]).sortedIndex(7)                    // => 3
+	   * Lazy([5, 10, 15, 20]).filter(isEven).sortedIndex(10) // => 0
+	   * Lazy([5, 10, 15, 20]).filter(isEven).sortedIndex(12) // => 1
+	   */
+	  Sequence.prototype.sortedIndex = function sortedIndex(value) {
+	    var indexed = this.getIndex(),
+	        lower   = 0,
+	        upper   = indexed.length(),
+	        i;
+
+	    while (lower < upper) {
+	      i = (lower + upper) >>> 1;
+	      if (compare(indexed.get(i), value) === -1) {
+	        lower = i + 1;
+	      } else {
+	        upper = i;
+	      }
+	    }
+	    return lower;
+	  };
+
+	  /**
+	   * Checks whether the given value is in this sequence.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {boolean} True if the sequence contains the value, false if not.
+	   *
+	   * @examples
+	   * var numbers = [5, 10, 15, 20];
+	   *
+	   * Lazy(numbers).contains(15) // => true
+	   * Lazy(numbers).contains(13) // => false
+	   */
+	  Sequence.prototype.contains = function contains(value) {
+	    return this.indexOf(value) !== -1;
+	  };
+
+	  /**
+	   * Aggregates a sequence into a single value according to some accumulator
+	   * function.
+	   *
+	   * For an asynchronous sequence, instead of immediately returning a result
+	   * (which it can't, obviously), this method returns an {@link AsyncHandle}
+	   * whose `onComplete` method can be called to supply a callback to handle the
+	   * final result once iteration has completed.
+	   *
+	   * @public
+	   * @aka inject, foldl
+	   * @param {Function} aggregator The function through which to pass every element
+	   *     in the sequence. For every element, the function will be passed the total
+	   *     aggregated result thus far and the element itself, and should return a
+	   *     new aggregated result.
+	   * @param {*=} memo The starting value to use for the aggregated result
+	   *     (defaults to the first element in the sequence).
+	   * @returns {*} The result of the aggregation, or, for asynchronous sequences,
+	   *     an {@link AsyncHandle} whose `onComplete` method accepts a callback to
+	   *     handle the final result.
+	   *
+	   * @examples
+	   * function multiply(x, y) { return x * y; }
+	   *
+	   * var numbers = [1, 2, 3, 4];
+	   *
+	   * Lazy(numbers).reduce(multiply)    // => 24
+	   * Lazy(numbers).reduce(multiply, 5) // => 120
+	   */
+	  Sequence.prototype.reduce = function reduce(aggregator, memo) {
+	    if (arguments.length < 2) {
+	      return this.tail().reduce(aggregator, this.head());
+	    }
+
+	    var eachResult = this.each(function(e, i) {
+	      memo = aggregator(memo, e, i);
+	    });
+
+	    // TODO: Think of a way more efficient solution to this problem.
+	    if (eachResult instanceof AsyncHandle) {
+	      return eachResult.then(function() { return memo; });
+	    }
+
+	    return memo;
+	  };
+
+	  Sequence.prototype.inject =
+	  Sequence.prototype.foldl = function foldl(aggregator, memo) {
+	    return this.reduce(aggregator, memo);
+	  };
+
+	  /**
+	   * Aggregates a sequence, from the tail, into a single value according to some
+	   * accumulator function.
+	   *
+	   * @public
+	   * @aka foldr
+	   * @param {Function} aggregator The function through which to pass every element
+	   *     in the sequence. For every element, the function will be passed the total
+	   *     aggregated result thus far and the element itself, and should return a
+	   *     new aggregated result.
+	   * @param {*} memo The starting value to use for the aggregated result.
+	   * @returns {*} The result of the aggregation.
+	   *
+	   * @examples
+	   * function append(s1, s2) {
+	   *   return s1 + s2;
+	   * }
+	   *
+	   * function isVowel(str) {
+	   *   return "aeiou".indexOf(str) !== -1;
+	   * }
+	   *
+	   * Lazy("abcde").reduceRight(append)                 // => "edcba"
+	   * Lazy("abcde").filter(isVowel).reduceRight(append) // => "ea"
+	   */
+	  Sequence.prototype.reduceRight = function reduceRight(aggregator, memo) {
+	    if (arguments.length < 2) {
+	      return this.initial(1).reduceRight(aggregator, this.last());
+	    }
+
+	    // This bothers me... but frankly, calling reverse().reduce() is potentially
+	    // going to eagerly evaluate the sequence anyway; so it's really not an issue.
+	    var indexed = this.getIndex(),
+	        i = indexed.length() - 1;
+	    return indexed.reverse().reduce(function(m, e) {
+	      return aggregator(m, e, i--);
+	    }, memo);
+	  };
+
+	  Sequence.prototype.foldr = function foldr(aggregator, memo) {
+	    return this.reduceRight(aggregator, memo);
+	  };
+
+	  /**
+	   * Groups this sequence into consecutive (overlapping) segments of a specified
+	   * length. If the underlying sequence has fewer elements than the specfied
+	   * length, then this sequence will be empty.
+	   *
+	   * @public
+	   * @param {number} length The length of each consecutive segment.
+	   * @returns {Sequence} The resulting sequence of consecutive segments.
+	   *
+	   * @examples
+	   * Lazy([]).consecutive(2)        // => sequence: []
+	   * Lazy([1]).consecutive(2)       // => sequence: []
+	   * Lazy([1, 2]).consecutive(2)    // => sequence: [[1, 2]]
+	   * Lazy([1, 2, 3]).consecutive(2) // => sequence: [[1, 2], [2, 3]]
+	   * Lazy([1, 2, 3]).consecutive(0) // => sequence: [[]]
+	   * Lazy([1, 2, 3]).consecutive(1) // => sequence: [[1], [2], [3]]
+	   */
+	  Sequence.prototype.consecutive = function consecutive(count) {
+	    var queue    = new Queue(count);
+	    var segments = this.map(function(element) {
+	      if (queue.add(element).count === count) {
+	        return queue.toArray();
+	      }
+	    });
+	    return segments.compact();
+	  };
+
+	  /**
+	   * Breaks this sequence into chunks (arrays) of a specified length.
+	   *
+	   * @public
+	   * @param {number} size The size of each chunk.
+	   * @returns {Sequence} The resulting sequence of chunks.
+	   *
+	   * @examples
+	   * Lazy([]).chunk(2)        // sequence: []
+	   * Lazy([1, 2, 3]).chunk(2) // sequence: [[1, 2], [3]]
+	   * Lazy([1, 2, 3]).chunk(1) // sequence: [[1], [2], [3]]
+	   * Lazy([1, 2, 3]).chunk(4) // sequence: [[1, 2, 3]]
+	   * Lazy([1, 2, 3]).chunk(0) // throws
+	   */
+	  Sequence.prototype.chunk = function chunk(size) {
+	    if (size < 1) {
+	      throw new Error("You must specify a positive chunk size.");
+	    }
+
+	    return new ChunkedSequence(this, size);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ChunkedSequence(parent, size) {
+	    this.parent    = parent;
+	    this.chunkSize = size;
+	  }
+
+	  ChunkedSequence.prototype = new Sequence();
+
+	  ChunkedSequence.prototype.getIterator = function getIterator() {
+	    return new ChunkedIterator(this.parent, this.chunkSize);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ChunkedIterator(sequence, size) {
+	    this.iterator = sequence.getIterator();
+	    this.size     = size;
+	  }
+
+	  ChunkedIterator.prototype.current = function current() {
+	    return this.currentChunk;
+	  };
+
+	  ChunkedIterator.prototype.moveNext = function moveNext() {
+	    var iterator  = this.iterator,
+	        chunkSize = this.size,
+	        chunk     = [];
+
+	    while (chunk.length < chunkSize && iterator.moveNext()) {
+	      chunk.push(iterator.current());
+	    }
+
+	    if (chunk.length === 0) {
+	      return false;
+	    }
+
+	    this.currentChunk = chunk;
+	    return true;
+	  };
+
+	  /**
+	   * Passes each element in the sequence to the specified callback during
+	   * iteration. This is like {@link Sequence#each}, except that it can be
+	   * inserted anywhere in the middle of a chain of methods to "intercept" the
+	   * values in the sequence at that point.
+	   *
+	   * @public
+	   * @param {Function} callback A function to call on every element in the
+	   *     sequence during iteration. The return value of this function does not
+	   *     matter.
+	   * @returns {Sequence} A sequence comprising the same elements as this one.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).tap(fn).each(Lazy.noop); // calls fn 3 times
+	   */
+	  Sequence.prototype.tap = function tap(callback) {
+	    return new TappedSequence(this, callback);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function TappedSequence(parent, callback) {
+	    this.parent = parent;
+	    this.callback = callback;
+	  }
+
+	  TappedSequence.prototype = new Sequence();
+
+	  TappedSequence.prototype.each = function each(fn) {
+	    var callback = this.callback;
+	    return this.parent.each(function(e, i) {
+	      callback(e, i);
+	      return fn(e, i);
+	    });
+	  };
+
+	  /**
+	   * Seaches for the first element in the sequence satisfying a given predicate.
+	   *
+	   * @public
+	   * @aka detect
+	   * @param {Function} predicate A function to call on (potentially) every element
+	   *     in the sequence.
+	   * @returns {*} The first element in the sequence for which `predicate` returns
+	   *     `true`, or `undefined` if no such element is found.
+	   *
+	   * @examples
+	   * function divisibleBy3(x) {
+	   *   return x % 3 === 0;
+	   * }
+	   *
+	   * var numbers = [5, 6, 7, 8, 9, 10];
+	   *
+	   * Lazy(numbers).find(divisibleBy3) // => 6
+	   * Lazy(numbers).find(isNegative)   // => undefined
+	   */
+	  Sequence.prototype.find = function find(predicate) {
+	    return this.filter(predicate).first();
+	  };
+
+	  Sequence.prototype.detect = function detect(predicate) {
+	    return this.find(predicate);
+	  };
+
+	  /**
+	   * Gets the minimum value in the sequence.
+	   *
+	   * @public
+	   * @param {Function=} valueFn The function by which the value for comparison is
+	   *     calculated for each element in the sequence.
+	   * @returns {*} The element with the lowest value in the sequence, or
+	   *     `Infinity` if the sequence is empty.
+	   *
+	   * @examples
+	   * function negate(x) { return x * -1; }
+	   *
+	   * Lazy([]).min()                       // => Infinity
+	   * Lazy([6, 18, 2, 49, 34]).min()       // => 2
+	   * Lazy([6, 18, 2, 49, 34]).min(negate) // => 49
+	   */
+	  Sequence.prototype.min = function min(valueFn) {
+	    if (typeof valueFn !== "undefined") {
+	      return this.minBy(valueFn);
+	    }
+
+	    return this.reduce(function(x, y) { return y < x ? y : x; }, Infinity);
+	  };
+
+	  Sequence.prototype.minBy = function minBy(valueFn) {
+	    valueFn = createCallback(valueFn);
+	    return this.reduce(function(x, y) { return valueFn(y) < valueFn(x) ? y : x; });
+	  };
+
+	  /**
+	   * Gets the maximum value in the sequence.
+	   *
+	   * @public
+	   * @param {Function=} valueFn The function by which the value for comparison is
+	   *     calculated for each element in the sequence.
+	   * @returns {*} The element with the highest value in the sequence, or
+	   *     `-Infinity` if the sequence is empty.
+	   *
+	   * @examples
+	   * function reverseDigits(x) {
+	   *   return Number(String(x).split('').reverse().join(''));
+	   * }
+	   *
+	   * Lazy([]).max()                              // => -Infinity
+	   * Lazy([6, 18, 2, 48, 29]).max()              // => 48
+	   * Lazy([6, 18, 2, 48, 29]).max(reverseDigits) // => 29
+	   */
+	  Sequence.prototype.max = function max(valueFn) {
+	    if (typeof valueFn !== "undefined") {
+	      return this.maxBy(valueFn);
+	    }
+
+	    return this.reduce(function(x, y) { return y > x ? y : x; }, -Infinity);
+	  };
+
+	  Sequence.prototype.maxBy = function maxBy(valueFn) {
+	    valueFn = createCallback(valueFn);
+	    return this.reduce(function(x, y) { return valueFn(y) > valueFn(x) ? y : x; });
+	  };
+
+	  /**
+	   * Gets the sum of the values in the sequence.
+	   *
+	   * @public
+	   * @param {Function=} valueFn The function used to select the values that will
+	   *     be summed up.
+	   * @returns {*} The sum.
+	   *
+	   * @examples
+	   * Lazy([]).sum()                     // => 0
+	   * Lazy([1, 2, 3, 4]).sum()           // => 10
+	   * Lazy([1.2, 3.4]).sum(Math.floor)   // => 4
+	   * Lazy(['foo', 'bar']).sum('length') // => 6
+	   */
+	  Sequence.prototype.sum = function sum(valueFn) {
+	    if (typeof valueFn !== "undefined") {
+	      return this.sumBy(valueFn);
+	    }
+
+	    return this.reduce(function(x, y) { return x + y; }, 0);
+	  };
+
+	  Sequence.prototype.sumBy = function sumBy(valueFn) {
+	    valueFn = createCallback(valueFn);
+	    return this.reduce(function(x, y) { return x + valueFn(y); }, 0);
+	  };
+
+	  /**
+	   * Creates a string from joining together all of the elements in this sequence,
+	   * separated by the given delimiter.
+	   *
+	   * @public
+	   * @aka toString
+	   * @param {string=} delimiter The separator to insert between every element from
+	   *     this sequence in the resulting string (defaults to `","`).
+	   * @returns {string} The delimited string.
+	   *
+	   * @examples
+	   * Lazy([6, 29, 1984]).join("/")  // => "6/29/1984"
+	   * Lazy(["a", "b", "c"]).join()   // => "a,b,c"
+	   * Lazy(["a", "b", "c"]).join("") // => "abc"
+	   * Lazy([1, 2, 3]).join()         // => "1,2,3"
+	   * Lazy([1, 2, 3]).join("")       // => "123"
+	   * Lazy(["", "", ""]).join(",")   // => ",,"
+	   */
+	  Sequence.prototype.join = function join(delimiter) {
+	    delimiter = typeof delimiter === "string" ? delimiter : ",";
+
+	    return this.reduce(function(str, e, i) {
+	      if (i > 0) {
+	        str += delimiter;
+	      }
+	      return str + e;
+	    }, "");
+	  };
+
+	  Sequence.prototype.toString = function toString(delimiter) {
+	    return this.join(delimiter);
+	  };
+
+	  /**
+	   * Creates a sequence, with the same elements as this one, that will be iterated
+	   * over asynchronously when calling `each`.
+	   *
+	   * @public
+	   * @param {number=} interval The approximate period, in milliseconds, that
+	   *     should elapse between each element in the resulting sequence. Omitting
+	   *     this argument will result in the fastest possible asynchronous iteration.
+	   * @returns {AsyncSequence} The new asynchronous sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).async(100).each(fn) // calls fn 3 times asynchronously
+	   */
+	  Sequence.prototype.async = function async(interval) {
+	    return new AsyncSequence(this, interval);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SimpleIntersectionSequence(parent, array) {
+	    this.parent = parent;
+	    this.array  = array;
+	    this.each   = getEachForIntersection(array);
+	  }
+
+	  SimpleIntersectionSequence.prototype = new Sequence();
+
+	  SimpleIntersectionSequence.prototype.eachMemoizerCache = function eachMemoizerCache(fn) {
+	    var iterator = new UniqueMemoizer(Lazy(this.array).getIterator()),
+	        i = 0;
+
+	    return this.parent.each(function(e) {
+	      if (iterator.contains(e)) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  SimpleIntersectionSequence.prototype.eachArrayCache = function eachArrayCache(fn) {
+	    var array = this.array,
+	        find  = arrayContains,
+	        i = 0;
+
+	    return this.parent.each(function(e) {
+	      if (find(array, e)) {
+	        return fn(e, i++);
+	      }
+	    });
+	  };
+
+	  function getEachForIntersection(source) {
+	    if (source.length < 40) {
+	      return SimpleIntersectionSequence.prototype.eachArrayCache;
+	    } else {
+	      return SimpleIntersectionSequence.prototype.eachMemoizerCache;
+	    }
+	  }
+
+	  /**
+	   * An optimized version of {@link ZippedSequence}, when zipping a sequence with
+	   * only one array.
+	   *
+	   * @param {Sequence} parent The underlying sequence.
+	   * @param {Array} array The array with which to zip the sequence.
+	   * @constructor
+	   */
+	  function SimpleZippedSequence(parent, array) {
+	    this.parent = parent;
+	    this.array  = array;
+	  }
+
+	  SimpleZippedSequence.prototype = new Sequence();
+
+	  SimpleZippedSequence.prototype.each = function each(fn) {
+	    var array = this.array;
+	    return this.parent.each(function(e, i) {
+	      return fn([e, array[i]], i);
+	    });
+	  };
+
+	  /**
+	   * An `ArrayLikeSequence` is a {@link Sequence} that provides random access to
+	   * its elements. This extends the API for iterating with the additional methods
+	   * {@link #get} and {@link #length}, allowing a sequence to act as a "view" into
+	   * a collection or other indexed data source.
+	   *
+	   * The initial sequence created by wrapping an array with `Lazy(array)` is an
+	   * `ArrayLikeSequence`.
+	   *
+	   * All methods of `ArrayLikeSequence` that conceptually should return
+	   * something like a array (with indexed access) return another
+	   * `ArrayLikeSequence`, for example:
+	   *
+	   * - {@link Sequence#map}
+	   * - {@link ArrayLikeSequence#slice}
+	   * - {@link Sequence#take} and {@link Sequence#drop}
+	   * - {@link Sequence#reverse}
+	   *
+	   * The above is not an exhaustive list. There are also certain other cases
+	   * where it might be possible to return an `ArrayLikeSequence` (e.g., calling
+	   * {@link Sequence#concat} with a single array argument), but this is not
+	   * guaranteed by the API.
+	   *
+	   * Note that in many cases, it is not possible to provide indexed access
+	   * without first performing at least a partial iteration of the underlying
+	   * sequence. In these cases an `ArrayLikeSequence` will not be returned:
+	   *
+	   * - {@link Sequence#filter}
+	   * - {@link Sequence#uniq}
+	   * - {@link Sequence#union}
+	   * - {@link Sequence#intersect}
+	   *
+	   * etc. The above methods only return ordinary {@link Sequence} objects.
+	   *
+	   * Defining custom array-like sequences
+	   * ------------------------------------
+	   *
+	   * Creating a custom `ArrayLikeSequence` is essentially the same as creating a
+	   * custom {@link Sequence}. You just have a couple more methods you need to
+	   * implement: `get` and (optionally) `length`.
+	   *
+	   * Here's an example. Let's define a sequence type called `OffsetSequence` that
+	   * offsets each of its parent's elements by a set distance, and circles back to
+	   * the beginning after reaching the end. **Remember**: the initialization
+	   * function you pass to {@link #define} should always accept a `parent` as its
+	   * first parameter.
+	   *
+	   *     ArrayLikeSequence.define("offset", {
+	   *       init: function(parent, offset) {
+	   *         this.offset = offset;
+	   *       },
+	   *
+	   *       get: function(i) {
+	   *         return this.parent.get((i + this.offset) % this.parent.length());
+	   *       }
+	   *     });
+	   *
+	   * It's worth noting a couple of things here.
+	   *
+	   * First, Lazy's default implementation of `length` simply returns the parent's
+	   * length. In this case, since an `OffsetSequence` will always have the same
+	   * number of elements as its parent, that implementation is fine; so we don't
+	   * need to override it.
+	   *
+	   * Second, the default implementation of `each` uses `get` and `length` to
+	   * essentially create a `for` loop, which is fine here. If you want to implement
+	   * `each` your own way, you can do that; but in most cases (as here), you can
+	   * probably just stick with the default.
+	   *
+	   * So we're already done, after only implementing `get`! Pretty easy, huh?
+	   *
+	   * Now the `offset` method will be chainable from any `ArrayLikeSequence`. So
+	   * for example:
+	   *
+	   *     Lazy([1, 2, 3]).map(mapFn).offset(3);
+	   *
+	   * ...will work, but:
+	   *
+	   *     Lazy([1, 2, 3]).filter(mapFn).offset(3);
+	   *
+	   * ...will not (because `filter` does not return an `ArrayLikeSequence`).
+	   *
+	   * (Also, as with the example provided for defining custom {@link Sequence}
+	   * types, this example really could have been implemented using a function
+	   * already available as part of Lazy.js: in this case, {@link Sequence#map}.)
+	   *
+	   * @public
+	   * @constructor
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3])                    // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).map(Lazy.identity) // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).take(2)            // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).drop(2)            // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).reverse()          // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2, 3]).slice(1, 2)        // instanceof Lazy.ArrayLikeSequence
+	   */
+	  function ArrayLikeSequence() {}
+
+	  ArrayLikeSequence.prototype = new Sequence();
+
+	  /**
+	   * Create a new constructor function for a type inheriting from
+	   * `ArrayLikeSequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `ArrayLikeSequence` prototype so that it can be chained with any other
+	   *     methods that return array-like sequences.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. **Must** include `get`. *May* include `init`,
+	   *     `length`, `getIterator`, and `each`. For each function, `this` will be
+	   *     the new sequence and `this.parent` will be the source sequence.
+	   * @returns {Function} A constructor for a new type inheriting from
+	   *     `ArrayLikeSequence`.
+	   *
+	   * @examples
+	   * Lazy.ArrayLikeSequence.define("offset", {
+	   *   init: function(offset) {
+	   *     this.offset = offset;
+	   *   },
+	   *
+	   *   get: function(i) {
+	   *     return this.parent.get((i + this.offset) % this.parent.length());
+	   *   }
+	   * });
+	   *
+	   * Lazy([1, 2, 3]).offset(1) // sequence: [2, 3, 1]
+	   */
+	  ArrayLikeSequence.define = function define(methodName, overrides) {
+	    if (!overrides || typeof overrides.get !== 'function') {
+	      throw new Error("A custom array-like sequence must implement *at least* get!");
+	    }
+
+	    return defineSequenceType(ArrayLikeSequence, methodName, overrides);
+	  };
+
+	  /**
+	   * Returns the element at the specified index.
+	   *
+	   * @public
+	   * @param {number} i The index to access.
+	   * @returns {*} The element.
+	   *
+	   * @examples
+	   * function increment(x) { return x + 1; }
+	   *
+	   * Lazy([1, 2, 3]).get(1)                // => 2
+	   * Lazy([1, 2, 3]).get(-1)               // => undefined
+	   * Lazy([1, 2, 3]).map(increment).get(1) // => 3
+	   */
+	  ArrayLikeSequence.prototype.get = function get(i) {
+	    return this.parent.get(i);
+	  };
+
+	  /**
+	   * Returns the length of the sequence.
+	   *
+	   * @public
+	   * @returns {number} The length.
+	   *
+	   * @examples
+	   * function increment(x) { return x + 1; }
+	   *
+	   * Lazy([]).length()                       // => 0
+	   * Lazy([1, 2, 3]).length()                // => 3
+	   * Lazy([1, 2, 3]).map(increment).length() // => 3
+	   */
+	  ArrayLikeSequence.prototype.length = function length() {
+	    return this.parent.length();
+	  };
+
+	  /**
+	   * Returns the current sequence (since it is already indexed).
+	   */
+	  ArrayLikeSequence.prototype.getIndex = function getIndex() {
+	    return this;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#getIterator}.
+	   */
+	  ArrayLikeSequence.prototype.getIterator = function getIterator() {
+	    return new IndexedIterator(this);
+	  };
+
+	  /**
+	   * An optimized version of {@link Iterator} meant to work with already-indexed
+	   * sequences.
+	   *
+	   * @param {ArrayLikeSequence} sequence The sequence to iterate over.
+	   * @constructor
+	   */
+	  function IndexedIterator(sequence) {
+	    this.sequence = sequence;
+	    this.index    = -1;
+	  }
+
+	  IndexedIterator.prototype.current = function current() {
+	    return this.sequence.get(this.index);
+	  };
+
+	  IndexedIterator.prototype.moveNext = function moveNext() {
+	    if (this.index >= this.sequence.length() - 1) {
+	      return false;
+	    }
+
+	    ++this.index;
+	    return true;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#each}.
+	   */
+	  ArrayLikeSequence.prototype.each = function each(fn) {
+	    var length = this.length(),
+	        i = -1;
+
+	    while (++i < length) {
+	      if (fn(this.get(i), i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * Returns a new sequence with the same elements as this one, minus the last
+	   * element.
+	   *
+	   * @public
+	   * @returns {ArrayLikeSequence} The new array-like sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).pop() // sequence: [1, 2]
+	   * Lazy([]).pop()        // sequence: []
+	   */
+	  ArrayLikeSequence.prototype.pop = function pop() {
+	    return this.initial();
+	  };
+
+	  /**
+	   * Returns a new sequence with the same elements as this one, minus the first
+	   * element.
+	   *
+	   * @public
+	   * @returns {ArrayLikeSequence} The new array-like sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).shift() // sequence: [2, 3]
+	   * Lazy([]).shift()        // sequence: []
+	   */
+	  ArrayLikeSequence.prototype.shift = function shift() {
+	    return this.drop();
+	  };
+
+	  /**
+	   * Returns a new sequence comprising the portion of this sequence starting
+	   * from the specified starting index and continuing until the specified ending
+	   * index or to the end of the sequence.
+	   *
+	   * @public
+	   * @param {number} begin The index at which the new sequence should start.
+	   * @param {number=} end The index at which the new sequence should end.
+	   * @returns {ArrayLikeSequence} The new array-like sequence.
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3, 4, 5]).slice(0)     // sequence: [1, 2, 3, 4, 5]
+	   * Lazy([1, 2, 3, 4, 5]).slice(2)     // sequence: [3, 4, 5]
+	   * Lazy([1, 2, 3, 4, 5]).slice(2, 4)  // sequence: [3, 4]
+	   * Lazy([1, 2, 3, 4, 5]).slice(-1)    // sequence: [5]
+	   * Lazy([1, 2, 3, 4, 5]).slice(1, -1) // sequence: [2, 3, 4]
+	   * Lazy([1, 2, 3, 4, 5]).slice(0, 10) // sequence: [1, 2, 3, 4, 5]
+	   */
+	  ArrayLikeSequence.prototype.slice = function slice(begin, end) {
+	    var length = this.length();
+
+	    if (begin < 0) {
+	      begin = length + begin;
+	    }
+
+	    var result = this.drop(begin);
+
+	    if (typeof end === "number") {
+	      if (end < 0) {
+	        end = length + end;
+	      }
+	      result = result.take(end - begin);
+	    }
+
+	    return result;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#map}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).map(Lazy.identity) // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.map = function map(mapFn) {
+	    return new IndexedMappedSequence(this, createCallback(mapFn));
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedMappedSequence(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  IndexedMappedSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedMappedSequence.prototype.get = function get(i) {
+	    if (i < 0 || i >= this.parent.length()) {
+	      return undefined;
+	    }
+
+	    return this.mapFn(this.parent.get(i), i);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#filter}.
+	   */
+	  ArrayLikeSequence.prototype.filter = function filter(filterFn) {
+	    return new IndexedFilteredSequence(this, createCallback(filterFn));
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedFilteredSequence(parent, filterFn) {
+	    this.parent   = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  IndexedFilteredSequence.prototype = new FilteredSequence();
+
+	  IndexedFilteredSequence.prototype.each = function each(fn) {
+	    var parent = this.parent,
+	        filterFn = this.filterFn,
+	        length = this.parent.length(),
+	        i = -1,
+	        j = 0,
+	        e;
+
+	    while (++i < length) {
+	      e = parent.get(i);
+	      if (filterFn(e, i) && fn(e, j++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#reverse}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).reverse() // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.reverse = function reverse() {
+	    return new IndexedReversedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedReversedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  IndexedReversedSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedReversedSequence.prototype.get = function get(i) {
+	    return this.parent.get(this.length() - i - 1);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#first}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).first(2) // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.first = function first(count) {
+	    if (typeof count === "undefined") {
+	      return this.get(0);
+	    }
+
+	    return new IndexedTakeSequence(this, count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedTakeSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = count;
+	  }
+
+	  IndexedTakeSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedTakeSequence.prototype.length = function length() {
+	    var parentLength = this.parent.length();
+	    return this.count <= parentLength ? this.count : parentLength;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#rest}, which creates an
+	   * {@link ArrayLikeSequence} so that the result still provides random access.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy([1, 2, 3]).rest() // instanceof Lazy.ArrayLikeSequence
+	   */
+	  ArrayLikeSequence.prototype.rest = function rest(count) {
+	    return new IndexedDropSequence(this, count);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedDropSequence(parent, count) {
+	    this.parent = parent;
+	    this.count  = typeof count === "number" ? count : 1;
+	  }
+
+	  IndexedDropSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedDropSequence.prototype.get = function get(i) {
+	    return this.parent.get(this.count + i);
+	  };
+
+	  IndexedDropSequence.prototype.length = function length() {
+	    var parentLength = this.parent.length();
+	    return this.count <= parentLength ? parentLength - this.count : 0;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#concat} that returns another
+	   * {@link ArrayLikeSequence} *if* the argument is an array.
+	   *
+	   * @public
+	   * @param {...*} var_args
+	   *
+	   * @examples
+	   * Lazy([1, 2]).concat([3, 4]) // instanceof Lazy.ArrayLikeSequence
+	   * Lazy([1, 2]).concat([3, 4]) // sequence: [1, 2, 3, 4]
+	   */
+	  ArrayLikeSequence.prototype.concat = function concat(var_args) {
+	    if (arguments.length === 1 && arguments[0] instanceof Array) {
+	      return new IndexedConcatenatedSequence(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return Sequence.prototype.concat.apply(this, arguments);
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function IndexedConcatenatedSequence(parent, other) {
+	    this.parent = parent;
+	    this.other  = other;
+	  }
+
+	  IndexedConcatenatedSequence.prototype = new ArrayLikeSequence();
+
+	  IndexedConcatenatedSequence.prototype.get = function get(i) {
+	    var parentLength = this.parent.length();
+	    if (i < parentLength) {
+	      return this.parent.get(i);
+	    } else {
+	      return this.other[i - parentLength];
+	    }
+	  };
+
+	  IndexedConcatenatedSequence.prototype.length = function length() {
+	    return this.parent.length() + this.other.length;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#uniq}.
+	   */
+	  ArrayLikeSequence.prototype.uniq = function uniq(keyFn) {
+	    return new IndexedUniqueSequence(this, createCallback(keyFn));
+	  };
+
+	  /**
+	   * @param {ArrayLikeSequence} parent
+	   * @constructor
+	   */
+	  function IndexedUniqueSequence(parent, keyFn) {
+	    this.parent = parent;
+	    this.each   = getEachForParent(parent);
+	    this.keyFn  = keyFn;
+	  }
+
+	  IndexedUniqueSequence.prototype = new Sequence();
+
+	  IndexedUniqueSequence.prototype.eachArrayCache = function eachArrayCache(fn) {
+	    // Basically the same implementation as w/ the set, but using an array because
+	    // it's cheaper for smaller sequences.
+	    var parent = this.parent,
+	        keyFn  = this.keyFn,
+	        length = parent.length(),
+	        cache  = [],
+	        find   = arrayContains,
+	        key, value,
+	        i = -1,
+	        j = 0;
+
+	    while (++i < length) {
+	      value = parent.get(i);
+	      key = keyFn(value);
+	      if (!find(cache, key)) {
+	        cache.push(key);
+	        if (fn(value, j++) === false) {
+	          return false;
+	        }
+	      }
+	    }
+	  };
+
+	  IndexedUniqueSequence.prototype.eachSetCache = UniqueSequence.prototype.each;
+
+	  function getEachForParent(parent) {
+	    if (parent.length() < 100) {
+	      return IndexedUniqueSequence.prototype.eachArrayCache;
+	    } else {
+	      return UniqueSequence.prototype.each;
+	    }
+	  }
+
+	  // Now that we've fully initialized the ArrayLikeSequence prototype, we can
+	  // set the prototype for MemoizedSequence.
+
+	  MemoizedSequence.prototype = new ArrayLikeSequence();
+
+	  MemoizedSequence.prototype.cache = function cache() {
+	    return this.cachedResult || (this.cachedResult = this.parent.toArray());
+	  };
+
+	  MemoizedSequence.prototype.get = function get(i) {
+	    return this.cache()[i];
+	  };
+
+	  MemoizedSequence.prototype.length = function length() {
+	    return this.cache().length;
+	  };
+
+	  MemoizedSequence.prototype.slice = function slice(begin, end) {
+	    return this.cache().slice(begin, end);
+	  };
+
+	  MemoizedSequence.prototype.toArray = function toArray() {
+	    return this.cache().slice(0);
+	  };
+
+	  /**
+	   * ArrayWrapper is the most basic {@link Sequence}. It directly wraps an array
+	   * and implements the same methods as {@link ArrayLikeSequence}, but more
+	   * efficiently.
+	   *
+	   * @constructor
+	   */
+	  function ArrayWrapper(source) {
+	    this.source = source;
+	  }
+
+	  ArrayWrapper.prototype = new ArrayLikeSequence();
+
+	  ArrayWrapper.prototype.root = function root() {
+	    return this;
+	  };
+
+	  ArrayWrapper.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  /**
+	   * Returns the element at the specified index in the source array.
+	   *
+	   * @param {number} i The index to access.
+	   * @returns {*} The element.
+	   */
+	  ArrayWrapper.prototype.get = function get(i) {
+	    return this.source[i];
+	  };
+
+	  /**
+	   * Returns the length of the source array.
+	   *
+	   * @returns {number} The length.
+	   */
+	  ArrayWrapper.prototype.length = function length() {
+	    return this.source.length;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#each}.
+	   */
+	  ArrayWrapper.prototype.each = function each(fn) {
+	    return forEach(this.source, fn);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#map}.
+	   */
+	  ArrayWrapper.prototype.map = function map(mapFn) {
+	    return new MappedArrayWrapper(this, createCallback(mapFn));
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#filter}.
+	   */
+	  ArrayWrapper.prototype.filter = function filter(filterFn) {
+	    return new FilteredArrayWrapper(this, createCallback(filterFn));
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#uniq}.
+	   */
+	  ArrayWrapper.prototype.uniq = function uniq(keyFn) {
+	    return new UniqueArrayWrapper(this, keyFn);
+	  };
+
+	  /**
+	   * An optimized version of {@link ArrayLikeSequence#concat}.
+	   *
+	   * @param {...*} var_args
+	   */
+	  ArrayWrapper.prototype.concat = function concat(var_args) {
+	    if (arguments.length === 1 && arguments[0] instanceof Array) {
+	      return new ConcatArrayWrapper(this, (/** @type {Array} */ var_args));
+	    } else {
+	      return ArrayLikeSequence.prototype.concat.apply(this, arguments);
+	    }
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#toArray}.
+	   */
+	  ArrayWrapper.prototype.toArray = function toArray() {
+	    return this.source.slice(0);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappedArrayWrapper(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  MappedArrayWrapper.prototype = new ArrayLikeSequence();
+
+	  MappedArrayWrapper.prototype.get = function get(i) {
+	    var source = this.parent.source;
+
+	    if (i < 0 || i >= source.length) {
+	      return undefined;
+	    }
+
+	    return this.mapFn(source[i]);
+	  };
+
+	  MappedArrayWrapper.prototype.length = function length() {
+	    return this.parent.source.length;
+	  };
+
+	  MappedArrayWrapper.prototype.each = function each(fn) {
+	    var source = this.parent.source,
+	        length = source.length,
+	        mapFn  = this.mapFn,
+	        i = -1;
+
+	    while (++i < length) {
+	      if (fn(mapFn(source[i], i), i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function FilteredArrayWrapper(parent, filterFn) {
+	    this.parent   = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  FilteredArrayWrapper.prototype = new FilteredSequence();
+
+	  FilteredArrayWrapper.prototype.each = function each(fn) {
+	    var source = this.parent.source,
+	        filterFn = this.filterFn,
+	        length = source.length,
+	        i = -1,
+	        j = 0,
+	        e;
+
+	    while (++i < length) {
+	      e = source[i];
+	      if (filterFn(e, i) && fn(e, j++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function UniqueArrayWrapper(parent, keyFn) {
+	    this.parent = parent;
+	    this.each   = getEachForSource(parent.source);
+	    this.keyFn  = keyFn;
+	  }
+
+	  UniqueArrayWrapper.prototype = new Sequence();
+
+	  UniqueArrayWrapper.prototype.eachNoCache = function eachNoCache(fn) {
+	    var source = this.parent.source,
+	        keyFn  = this.keyFn,
+	        length = source.length,
+	        find   = arrayContainsBefore,
+	        value,
+
+	        // Yes, this is hideous.
+	        // Trying to get performance first, will refactor next!
+	        i = -1,
+	        k = 0;
+
+	    while (++i < length) {
+	      value = source[i];
+	      if (!find(source, value, i, keyFn) && fn(value, k++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  UniqueArrayWrapper.prototype.eachArrayCache = function eachArrayCache(fn) {
+	    // Basically the same implementation as w/ the set, but using an array because
+	    // it's cheaper for smaller sequences.
+	    var source = this.parent.source,
+	        keyFn  = this.keyFn,
+	        length = source.length,
+	        cache  = [],
+	        find   = arrayContains,
+	        key, value,
+	        i = -1,
+	        j = 0;
+
+	    if (keyFn) {
+	      keyFn = createCallback(keyFn);
+	      while (++i < length) {
+	        value = source[i];
+	        key = keyFn(value);
+	        if (!find(cache, key)) {
+	          cache.push(key);
+	          if (fn(value, j++) === false) {
+	            return false;
+	          }
+	        }
+	      }
+
+	    } else {
+	      while (++i < length) {
+	        value = source[i];
+	        if (!find(cache, value)) {
+	          cache.push(value);
+	          if (fn(value, j++) === false) {
+	            return false;
+	          }
+	        }
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  UniqueArrayWrapper.prototype.eachSetCache = UniqueSequence.prototype.each;
+
+	  /**
+	   * My latest findings here...
+	   *
+	   * So I hadn't really given the set-based approach enough credit. The main issue
+	   * was that my Set implementation was totally not optimized at all. After pretty
+	   * heavily optimizing it (just take a look; it's a monstrosity now!), it now
+	   * becomes the fastest option for much smaller values of N.
+	   */
+	  function getEachForSource(source) {
+	    if (source.length < 40) {
+	      return UniqueArrayWrapper.prototype.eachNoCache;
+	    } else if (source.length < 100) {
+	      return UniqueArrayWrapper.prototype.eachArrayCache;
+	    } else {
+	      return UniqueArrayWrapper.prototype.eachSetCache;
+	    }
+	  }
+
+	  /**
+	   * @constructor
+	   */
+	  function ConcatArrayWrapper(parent, other) {
+	    this.parent = parent;
+	    this.other  = other;
+	  }
+
+	  ConcatArrayWrapper.prototype = new ArrayLikeSequence();
+
+	  ConcatArrayWrapper.prototype.get = function get(i) {
+	    var source = this.parent.source,
+	        sourceLength = source.length;
+
+	    if (i < sourceLength) {
+	      return source[i];
+	    } else {
+	      return this.other[i - sourceLength];
+	    }
+	  };
+
+	  ConcatArrayWrapper.prototype.length = function length() {
+	    return this.parent.source.length + this.other.length;
+	  };
+
+	  ConcatArrayWrapper.prototype.each = function each(fn) {
+	    var source = this.parent.source,
+	        sourceLength = source.length,
+	        other = this.other,
+	        otherLength = other.length,
+	        i = 0,
+	        j = -1;
+
+	    while (++j < sourceLength) {
+	      if (fn(source[j], i++) === false) {
+	        return false;
+	      }
+	    }
+
+	    j = -1;
+	    while (++j < otherLength) {
+	      if (fn(other[j], i++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * An `ObjectLikeSequence` object represents a sequence of key/value pairs.
+	   *
+	   * The initial sequence you get by wrapping an object with `Lazy(object)` is
+	   * an `ObjectLikeSequence`.
+	   *
+	   * All methods of `ObjectLikeSequence` that conceptually should return
+	   * something like an object return another `ObjectLikeSequence`.
+	   *
+	   * @public
+	   * @constructor
+	   *
+	   * @examples
+	   * var obj = { foo: 'bar' };
+	   *
+	   * Lazy(obj).assign({ bar: 'baz' })   // instanceof Lazy.ObjectLikeSequence
+	   * Lazy(obj).defaults({ bar: 'baz' }) // instanceof Lazy.ObjectLikeSequence
+	   * Lazy(obj).invert()                 // instanceof Lazy.ObjectLikeSequence
+	   */
+	  function ObjectLikeSequence() {}
+
+	  ObjectLikeSequence.prototype = new Sequence();
+
+	  /**
+	   * Create a new constructor function for a type inheriting from
+	   * `ObjectLikeSequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `ObjectLikeSequence` prototype so that it can be chained with any other
+	   *     methods that return object-like sequences.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. **Must** include `each`. *May* include `init` and
+	   *     `get` (for looking up an element by key).
+	   * @returns {Function} A constructor for a new type inheriting from
+	   *     `ObjectLikeSequence`.
+	   *
+	   * @examples
+	   * function downcaseKey(value, key) {
+	   *   return [key.toLowerCase(), value];
+	   * }
+	   *
+	   * Lazy.ObjectLikeSequence.define("caseInsensitive", {
+	   *   init: function() {
+	   *     var downcased = this.parent
+	   *       .map(downcaseKey)
+	   *       .toObject();
+	   *     this.downcased = Lazy(downcased);
+	   *   },
+	   *
+	   *   get: function(key) {
+	   *     return this.downcased.get(key.toLowerCase());
+	   *   },
+	   *
+	   *   each: function(fn) {
+	   *     return this.downcased.each(fn);
+	   *   }
+	   * });
+	   *
+	   * Lazy({ Foo: 'bar' }).caseInsensitive()            // sequence: { foo: 'bar' }
+	   * Lazy({ FOO: 'bar' }).caseInsensitive().get('foo') // => 'bar'
+	   * Lazy({ FOO: 'bar' }).caseInsensitive().get('FOO') // => 'bar'
+	   */
+	  ObjectLikeSequence.define = function define(methodName, overrides) {
+	    if (!overrides || typeof overrides.each !== 'function') {
+	      throw new Error("A custom object-like sequence must implement *at least* each!");
+	    }
+
+	    return defineSequenceType(ObjectLikeSequence, methodName, overrides);
+	  };
+
+	  ObjectLikeSequence.prototype.value = function value() {
+	    return this.toObject();
+	  };
+
+	  /**
+	   * Gets the element at the specified key in this sequence.
+	   *
+	   * @public
+	   * @param {string} key The key.
+	   * @returns {*} The element.
+	   *
+	   * @examples
+	   * Lazy({ foo: "bar" }).get("foo")                          // => "bar"
+	   * Lazy({ foo: "bar" }).extend({ foo: "baz" }).get("foo")   // => "baz"
+	   * Lazy({ foo: "bar" }).defaults({ bar: "baz" }).get("bar") // => "baz"
+	   * Lazy({ foo: "bar" }).invert().get("bar")                 // => "foo"
+	   * Lazy({ foo: 1, bar: 2 }).pick(["foo"]).get("foo")        // => 1
+	   * Lazy({ foo: 1, bar: 2 }).pick(["foo"]).get("bar")        // => undefined
+	   * Lazy({ foo: 1, bar: 2 }).omit(["foo"]).get("bar")        // => 2
+	   * Lazy({ foo: 1, bar: 2 }).omit(["foo"]).get("foo")        // => undefined
+	   */
+	  ObjectLikeSequence.prototype.get = function get(key) {
+	    var pair = this.pairs().find(function(pair) {
+	      return pair[0] === key;
+	    });
+
+	    return pair ? pair[1] : undefined;
+	  };
+
+	  /**
+	   * Returns a {@link Sequence} whose elements are the keys of this object-like
+	   * sequence.
+	   *
+	   * @public
+	   * @returns {Sequence} The sequence based on this sequence's keys.
+	   *
+	   * @examples
+	   * Lazy({ hello: "hola", goodbye: "hasta luego" }).keys() // sequence: ["hello", "goodbye"]
+	   */
+	  ObjectLikeSequence.prototype.keys = function keys() {
+	    return this.map(function(v, k) { return k; });
+	  };
+
+	  /**
+	   * Returns a {@link Sequence} whose elements are the values of this object-like
+	   * sequence.
+	   *
+	   * @public
+	   * @returns {Sequence} The sequence based on this sequence's values.
+	   *
+	   * @examples
+	   * Lazy({ hello: "hola", goodbye: "hasta luego" }).values() // sequence: ["hola", "hasta luego"]
+	   */
+	  ObjectLikeSequence.prototype.values = function values() {
+	    return this.map(function(v, k) { return v; });
+	  };
+
+	  /**
+	   * Throws an exception. Asynchronous iteration over object-like sequences is
+	   * not supported.
+	   *
+	   * @public
+	   * @examples
+	   * Lazy({ foo: 'bar' }).async() // throws
+	   */
+	  ObjectLikeSequence.prototype.async = function async() {
+	    throw new Error('An ObjectLikeSequence does not support asynchronous iteration.');
+	  };
+
+	  ObjectLikeSequence.prototype.filter = function filter(filterFn) {
+	    return new FilteredObjectLikeSequence(this, createCallback(filterFn));
+	  };
+
+	  function FilteredObjectLikeSequence(parent, filterFn) {
+	    this.parent = parent;
+	    this.filterFn = filterFn;
+	  }
+
+	  FilteredObjectLikeSequence.prototype = new ObjectLikeSequence();
+
+	  FilteredObjectLikeSequence.prototype.each = function each(fn) {
+	    var filterFn = this.filterFn;
+
+	    return this.parent.each(function(v, k) {
+	      if (filterFn(v, k)) {
+	        return fn(v, k);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Returns this same sequence. (Reversing an object-like sequence doesn't make
+	   * any sense.)
+	   */
+	  ObjectLikeSequence.prototype.reverse = function reverse() {
+	    return this;
+	  };
+
+	  /**
+	   * Returns an {@link ObjectLikeSequence} whose elements are the combination of
+	   * this sequence and another object. In the case of a key appearing in both this
+	   * sequence and the given object, the other object's value will override the
+	   * one in this sequence.
+	   *
+	   * @public
+	   * @aka extend
+	   * @param {Object} other The other object to assign to this sequence.
+	   * @returns {ObjectLikeSequence} A new sequence comprising elements from this
+	   *     sequence plus the contents of `other`.
+	   *
+	   * @examples
+	   * Lazy({ "uno": 1, "dos": 2 }).assign({ "tres": 3 }) // sequence: { uno: 1, dos: 2, tres: 3 }
+	   * Lazy({ foo: "bar" }).assign({ foo: "baz" });       // sequence: { foo: "baz" }
+	   */
+	  ObjectLikeSequence.prototype.assign = function assign(other) {
+	    return new AssignSequence(this, other);
+	  };
+
+	  ObjectLikeSequence.prototype.extend = function extend(other) {
+	    return this.assign(other);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function AssignSequence(parent, other) {
+	    this.parent = parent;
+	    this.other  = other;
+	  }
+
+	  AssignSequence.prototype = new ObjectLikeSequence();
+
+	  AssignSequence.prototype.get = function get(key) {
+	    return this.other[key] || this.parent.get(key);
+	  };
+
+	  AssignSequence.prototype.each = function each(fn) {
+	    var merged = new Set(),
+	        done   = false;
+
+	    Lazy(this.other).each(function(value, key) {
+	      if (fn(value, key) === false) {
+	        done = true;
+	        return false;
+	      }
+
+	      merged.add(key);
+	    });
+
+	    if (!done) {
+	      return this.parent.each(function(value, key) {
+	        if (!merged.contains(key) && fn(value, key) === false) {
+	          return false;
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Returns an {@link ObjectLikeSequence} whose elements are the combination of
+	   * this sequence and a 'default' object. In the case of a key appearing in both
+	   * this sequence and the given object, this sequence's value will override the
+	   * default object's.
+	   *
+	   * @public
+	   * @param {Object} defaults The 'default' object to use for missing keys in this
+	   *     sequence.
+	   * @returns {ObjectLikeSequence} A new sequence comprising elements from this
+	   *     sequence supplemented by the contents of `defaults`.
+	   *
+	   * @examples
+	   * Lazy({ name: "Dan" }).defaults({ name: "User", password: "passw0rd" }) // sequence: { name: "Dan", password: "passw0rd" }
+	   */
+	  ObjectLikeSequence.prototype.defaults = function defaults(defaults) {
+	    return new DefaultsSequence(this, defaults);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function DefaultsSequence(parent, defaults) {
+	    this.parent   = parent;
+	    this.defaults = defaults;
+	  }
+
+	  DefaultsSequence.prototype = new ObjectLikeSequence();
+
+	  DefaultsSequence.prototype.get = function get(key) {
+	    return this.parent.get(key) || this.defaults[key];
+	  };
+
+	  DefaultsSequence.prototype.each = function each(fn) {
+	    var merged = new Set(),
+	        done   = false;
+
+	    this.parent.each(function(value, key) {
+	      if (fn(value, key) === false) {
+	        done = true;
+	        return false;
+	      }
+
+	      if (typeof value !== "undefined") {
+	        merged.add(key);
+	      }
+	    });
+
+	    if (!done) {
+	      Lazy(this.defaults).each(function(value, key) {
+	        if (!merged.contains(key) && fn(value, key) === false) {
+	          return false;
+	        }
+	      });
+	    }
+	  };
+
+	  /**
+	   * Returns an {@link ObjectLikeSequence} whose values are this sequence's keys,
+	   * and whose keys are this sequence's values.
+	   *
+	   * @public
+	   * @returns {ObjectLikeSequence} A new sequence comprising the inverted keys and
+	   *     values from this sequence.
+	   *
+	   * @examples
+	   * Lazy({ first: "Dan", last: "Tao" }).invert() // sequence: { Dan: "first", Tao: "last" }
+	   */
+	  ObjectLikeSequence.prototype.invert = function invert() {
+	    return new InvertedSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function InvertedSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  InvertedSequence.prototype = new ObjectLikeSequence();
+
+	  InvertedSequence.prototype.each = function each(fn) {
+	    this.parent.each(function(value, key) {
+	      return fn(key, value);
+	    });
+	  };
+
+	  /**
+	   * Produces an {@link ObjectLikeSequence} consisting of all the recursively
+	   * merged values from this and the given object(s) or sequence(s).
+	   *
+	   * Note that by default this method only merges "vanilla" objects (bags of
+	   * key/value pairs), not arrays or any other custom object types. To customize
+	   * how merging works, you can provide the mergeFn argument, e.g. to handling
+	   * merging arrays, strings, or other types of objects.
+	   *
+	   * @public
+	   * @param {...Object|ObjectLikeSequence} others The other object(s) or
+	   *     sequence(s) whose values will be merged into this one.
+	   * @param {Function=} mergeFn An optional function used to customize merging
+	   *     behavior. The function should take two values as parameters and return
+	   *     whatever the "merged" form of those values is. If the function returns
+	   *     undefined then the new value will simply replace the old one in the
+	   *     final result.
+	   * @returns {ObjectLikeSequence} The new sequence consisting of merged values.
+	   *
+	   * @examples
+	   * // These examples are completely stolen from Lo-Dash's documentation:
+	   * // lodash.com/docs#merge
+	   *
+	   * var names = {
+	   *   'characters': [
+	   *     { 'name': 'barney' },
+	   *     { 'name': 'fred' }
+	   *   ]
+	   * };
+	   *
+	   * var ages = {
+	   *   'characters': [
+	   *     { 'age': 36 },
+	   *     { 'age': 40 }
+	   *   ]
+	   * };
+	   *
+	   * var food = {
+	   *   'fruits': ['apple'],
+	   *   'vegetables': ['beet']
+	   * };
+	   *
+	   * var otherFood = {
+	   *   'fruits': ['banana'],
+	   *   'vegetables': ['carrot']
+	   * };
+	   *
+	   * function mergeArrays(a, b) {
+	   *   return Array.isArray(a) ? a.concat(b) : undefined;
+	   * }
+	   *
+	   * Lazy(names).merge(ages); // => sequence: { 'characters': [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }] }
+	   * Lazy(food).merge(otherFood, mergeArrays); // => sequence: { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }
+	   *
+	   * // ----- Now for my own tests: -----
+	   *
+	   * // merges objects
+	   * Lazy({ foo: 1 }).merge({ foo: 2 }); // => sequence: { foo: 2 }
+	   * Lazy({ foo: 1 }).merge({ bar: 2 }); // => sequence: { foo: 1, bar: 2 }
+	   *
+	   * // goes deep
+	   * Lazy({ foo: { bar: 1 } }).merge({ foo: { bar: 2 } }); // => sequence: { foo: { bar: 2 } }
+	   * Lazy({ foo: { bar: 1 } }).merge({ foo: { baz: 2 } }); // => sequence: { foo: { bar: 1, baz: 2 } }
+	   * Lazy({ foo: { bar: 1 } }).merge({ foo: { baz: 2 } }); // => sequence: { foo: { bar: 1, baz: 2 } }
+	   *
+	   * // gives precedence to later sources
+	   * Lazy({ foo: 1 }).merge({ bar: 2 }, { bar: 3 }); // => sequence: { foo: 1, bar: 3 }
+	   *
+	   * // undefined gets passed over
+	   * Lazy({ foo: 1 }).merge({ foo: undefined }); // => sequence: { foo: 1 }
+	   *
+	   * // null doesn't get passed over
+	   * Lazy({ foo: 1 }).merge({ foo: null }); // => sequence: { foo: null }
+	   *
+	   * // array contents get merged as well
+	   * Lazy({ foo: [{ bar: 1 }] }).merge({ foo: [{ baz: 2 }] }); // => sequence: { foo: [{ bar: 1, baz: 2}] }
+	   */
+	  ObjectLikeSequence.prototype.merge = function merge(var_args) {
+	    var mergeFn = arguments.length > 1 && typeof arguments[arguments.length - 1] === "function" ?
+	      arrayPop.call(arguments) : null;
+	    return new MergedSequence(this, arraySlice.call(arguments, 0), mergeFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MergedSequence(parent, others, mergeFn) {
+	    this.parent  = parent;
+	    this.others  = others;
+	    this.mergeFn = mergeFn;
+	  }
+
+	  MergedSequence.prototype = new ObjectLikeSequence();
+
+	  MergedSequence.prototype.each = function each(fn) {
+	    var others  = this.others,
+	        mergeFn = this.mergeFn || mergeObjects,
+	        keys    = {};
+
+	    var iteratedFullSource = this.parent.each(function(value, key) {
+	      var merged = value;
+
+	      forEach(others, function(other) {
+	        if (key in other) {
+	          merged = mergeFn(merged, other[key]);
+	        }
+	      });
+
+	      keys[key] = true;
+
+	      return fn(merged, key);
+	    });
+
+	    if (iteratedFullSource === false) {
+	      return false;
+	    }
+
+	    var remaining = {};
+
+	    forEach(others, function(other) {
+	      for (var k in other) {
+	        if (!keys[k]) {
+	          remaining[k] = mergeFn(remaining[k], other[k]);
+	        }
+	      }
+	    });
+
+	    return Lazy(remaining).each(fn);
+	  };
+
+	  /**
+	   * @private
+	   * @examples
+	   * mergeObjects({ foo: 1 }, { bar: 2 }); // => { foo: 1, bar: 2 }
+	   * mergeObjects({ foo: { bar: 1 } }, { foo: { baz: 2 } }); // => { foo: { bar: 1, baz: 2 } }
+	   * mergeObjects({ foo: { bar: 1 } }, { foo: undefined }); // => { foo: { bar: 1 } }
+	   * mergeObjects({ foo: { bar: 1 } }, { foo: null }); // => { foo: null }
+	   * mergeObjects({ array: [0, 1, 2] }, { array: [3, 4, 5] }).array; // instanceof Array
+	   * mergeObjects({ date: new Date() }, { date: new Date() }).date; // instanceof Date
+	   * mergeObjects([{ foo: 1 }], [{ bar: 2 }]); // => [{ foo: 1, bar: 2 }]
+	   */
+	  function mergeObjects(a, b) {
+	    var merged, prop;
+
+	    if (typeof b === 'undefined') {
+	      return a;
+	    }
+
+	    // Check that we're dealing with two objects or two arrays.
+	    if (isVanillaObject(a) && isVanillaObject(b)) {
+	      merged = {};
+	    } else if (a instanceof Array && b instanceof Array) {
+	      merged = [];
+	    } else {
+	      // Otherwise there's no merging to do -- just replace a w/ b.
+	      return b;
+	    }
+
+	    for (prop in a) {
+	      merged[prop] = mergeObjects(a[prop], b[prop]);
+	    }
+	    for (prop in b) {
+	      if (!merged[prop]) {
+	        merged[prop] = b[prop];
+	      }
+	    }
+	    return merged;
+	  }
+
+	  /**
+	   * Checks whether an object is a "vanilla" object, i.e. {'foo': 'bar'} as
+	   * opposed to an array, date, etc.
+	   *
+	   * @private
+	   * @examples
+	   * isVanillaObject({foo: 'bar'}); // => true
+	   * isVanillaObject(new Date());   // => false
+	   * isVanillaObject([1, 2, 3]);    // => false
+	   */
+	  function isVanillaObject(object) {
+	    return object && object.constructor === Object;
+	  }
+
+	  /**
+	   * Creates a {@link Sequence} consisting of the keys from this sequence whose
+	   *     values are functions.
+	   *
+	   * @public
+	   * @aka methods
+	   * @returns {Sequence} The new sequence.
+	   *
+	   * @examples
+	   * var dog = {
+	   *   name: "Fido",
+	   *   breed: "Golden Retriever",
+	   *   bark: function() { console.log("Woof!"); },
+	   *   wagTail: function() { console.log("TODO: implement robotic dog interface"); }
+	   * };
+	   *
+	   * Lazy(dog).functions() // sequence: ["bark", "wagTail"]
+	   */
+	  ObjectLikeSequence.prototype.functions = function functions() {
+	    return this
+	      .filter(function(v, k) { return typeof(v) === "function"; })
+	      .map(function(v, k) { return k; });
+	  };
+
+	  ObjectLikeSequence.prototype.methods = function methods() {
+	    return this.functions();
+	  };
+
+	  /**
+	   * Creates an {@link ObjectLikeSequence} consisting of the key/value pairs from
+	   * this sequence whose keys are included in the given array of property names.
+	   *
+	   * @public
+	   * @param {Array} properties An array of the properties to "pick" from this
+	   *     sequence.
+	   * @returns {ObjectLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * var players = {
+	   *   "who": "first",
+	   *   "what": "second",
+	   *   "i don't know": "third"
+	   * };
+	   *
+	   * Lazy(players).pick(["who", "what"]) // sequence: { who: "first", what: "second" }
+	   */
+	  ObjectLikeSequence.prototype.pick = function pick(properties) {
+	    return new PickSequence(this, properties);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function PickSequence(parent, properties) {
+	    this.parent     = parent;
+	    this.properties = properties;
+	  }
+
+	  PickSequence.prototype = new ObjectLikeSequence();
+
+	  PickSequence.prototype.get = function get(key) {
+	    return arrayContains(this.properties, key) ? this.parent.get(key) : undefined;
+	  };
+
+	  PickSequence.prototype.each = function each(fn) {
+	    var inArray    = arrayContains,
+	        properties = this.properties;
+
+	    return this.parent.each(function(value, key) {
+	      if (inArray(properties, key)) {
+	        return fn(value, key);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Creates an {@link ObjectLikeSequence} consisting of the key/value pairs from
+	   * this sequence excluding those with the specified keys.
+	   *
+	   * @public
+	   * @param {Array} properties An array of the properties to *omit* from this
+	   *     sequence.
+	   * @returns {ObjectLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * var players = {
+	   *   "who": "first",
+	   *   "what": "second",
+	   *   "i don't know": "third"
+	   * };
+	   *
+	   * Lazy(players).omit(["who", "what"]) // sequence: { "i don't know": "third" }
+	   */
+	  ObjectLikeSequence.prototype.omit = function omit(properties) {
+	    return new OmitSequence(this, properties);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function OmitSequence(parent, properties) {
+	    this.parent     = parent;
+	    this.properties = properties;
+	  }
+
+	  OmitSequence.prototype = new ObjectLikeSequence();
+
+	  OmitSequence.prototype.get = function get(key) {
+	    return arrayContains(this.properties, key) ? undefined : this.parent.get(key);
+	  };
+
+	  OmitSequence.prototype.each = function each(fn) {
+	    var inArray    = arrayContains,
+	        properties = this.properties;
+
+	    return this.parent.each(function(value, key) {
+	      if (!inArray(properties, key)) {
+	        return fn(value, key);
+	      }
+	    });
+	  };
+
+	  /**
+	   * Maps the key/value pairs in this sequence to arrays.
+	   *
+	   * @public
+	   * @aka toArray
+	   * @returns {Sequence} An sequence of `[key, value]` pairs.
+	   *
+	   * @examples
+	   * var colorCodes = {
+	   *   red: "#f00",
+	   *   green: "#0f0",
+	   *   blue: "#00f"
+	   * };
+	   *
+	   * Lazy(colorCodes).pairs() // sequence: [["red", "#f00"], ["green", "#0f0"], ["blue", "#00f"]]
+	   */
+	  ObjectLikeSequence.prototype.pairs = function pairs() {
+	    return this.map(function(v, k) { return [k, v]; });
+	  };
+
+	  /**
+	   * Creates an array from the key/value pairs in this sequence.
+	   *
+	   * @public
+	   * @returns {Array} An array of `[key, value]` elements.
+	   *
+	   * @examples
+	   * var colorCodes = {
+	   *   red: "#f00",
+	   *   green: "#0f0",
+	   *   blue: "#00f"
+	   * };
+	   *
+	   * Lazy(colorCodes).toArray() // => [["red", "#f00"], ["green", "#0f0"], ["blue", "#00f"]]
+	   */
+	  ObjectLikeSequence.prototype.toArray = function toArray() {
+	    return this.pairs().toArray();
+	  };
+
+	  /**
+	   * Creates an object with the key/value pairs from this sequence.
+	   *
+	   * @public
+	   * @returns {Object} An object with the same key/value pairs as this sequence.
+	   *
+	   * @examples
+	   * var colorCodes = {
+	   *   red: "#f00",
+	   *   green: "#0f0",
+	   *   blue: "#00f"
+	   * };
+	   *
+	   * Lazy(colorCodes).toObject() // => { red: "#f00", green: "#0f0", blue: "#00f" }
+	   */
+	  ObjectLikeSequence.prototype.toObject = function toObject() {
+	    return this.reduce(function(object, value, key) {
+	      object[key] = value;
+	      return object;
+	    }, {});
+	  };
+
+	  // Now that we've fully initialized the ObjectLikeSequence prototype, we can
+	  // actually set the prototypes for GroupedSequence, IndexedSequence, and
+	  // CountedSequence.
+
+	  GroupedSequence.prototype = new ObjectLikeSequence();
+
+	  GroupedSequence.prototype.each = function each(fn) {
+	    var keyFn   = createCallback(this.keyFn),
+	        valFn   = createCallback(this.valFn),
+	        result;
+
+	    result = this.parent.reduce(function(grouped,e) {
+	      var key = keyFn(e),
+	          val = valFn(e);
+	      if (!(grouped[key] instanceof Array)) {
+	        grouped[key] = [val];
+	      } else {
+	        grouped[key].push(val);
+	      }
+	      return grouped;
+	    },{});
+
+	    return transform(function(grouped) {
+	      for (var key in grouped) {
+	        if (fn(grouped[key], key) === false) {
+	          return false;
+	        }
+	      }
+	    }, result);
+	  };
+
+	  IndexedSequence.prototype = new ObjectLikeSequence();
+
+	  IndexedSequence.prototype.each = function each(fn) {
+	    var keyFn   = createCallback(this.keyFn),
+	        valFn   = createCallback(this.valFn),
+	        indexed = {};
+
+	    return this.parent.each(function(e) {
+	      var key = keyFn(e),
+	          val = valFn(e);
+
+	      if (!indexed[key]) {
+	        indexed[key] = val;
+	        return fn(val, key);
+	      }
+	    });
+	  };
+
+	  CountedSequence.prototype = new ObjectLikeSequence();
+
+	  CountedSequence.prototype.each = function each(fn) {
+	    var keyFn   = createCallback(this.keyFn),
+	        counted = {};
+
+	    this.parent.each(function(e) {
+	      var key = keyFn(e);
+	      if (!counted[key]) {
+	        counted[key] = 1;
+	      } else {
+	        counted[key] += 1;
+	      }
+	    });
+
+	    for (var key in counted) {
+	      if (fn(counted[key], key) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * Watches for all changes to a specified property (or properties) of an
+	   * object and produces a sequence whose elements have the properties
+	   * `{ property, value }` indicating which property changed and what it was
+	   * changed to.
+	   *
+	   * Note that this method **only works on directly wrapped objects**; it will
+	   * *not* work on any arbitrary {@link ObjectLikeSequence}.
+	   *
+	   * @public
+	   * @param {(string|Array)=} propertyNames A property name or array of property
+	   *     names to watch. If this parameter is `undefined`, all of the object's
+	   *     current (enumerable) properties will be watched.
+	   * @returns {Sequence} A sequence comprising `{ property, value }` objects
+	   *     describing each change to the specified property/properties.
+	   *
+	   * @examples
+	   * var obj = {},
+	   *     changes = [];
+	   *
+	   * Lazy(obj).watch('foo').each(function(change) {
+	   *   changes.push(change);
+	   * });
+	   *
+	   * obj.foo = 1;
+	   * obj.bar = 2;
+	   * obj.foo = 3;
+	   *
+	   * obj.foo; // => 3
+	   * changes; // => [{ property: 'foo', value: 1 }, { property: 'foo', value: 3 }]
+	   */
+	  ObjectLikeSequence.prototype.watch = function watch(propertyNames) {
+	    throw new Error('You can only call #watch on a directly wrapped object.');
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ObjectWrapper(source) {
+	    this.source = source;
+	  }
+
+	  ObjectWrapper.prototype = new ObjectLikeSequence();
+
+	  ObjectWrapper.prototype.root = function root() {
+	    return this;
+	  };
+
+	  ObjectWrapper.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  ObjectWrapper.prototype.get = function get(key) {
+	    return this.source[key];
+	  };
+
+	  ObjectWrapper.prototype.each = function each(fn) {
+	    var source = this.source,
+	        key;
+
+	    for (key in source) {
+	      if (fn(source[key], key) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  /**
+	   * A `StringLikeSequence` represents a sequence of characters.
+	   *
+	   * The initial sequence you get by wrapping a string with `Lazy(string)` is a
+	   * `StringLikeSequence`.
+	   *
+	   * All methods of `StringLikeSequence` that conceptually should return
+	   * something like a string return another `StringLikeSequence`.
+	   *
+	   * @public
+	   * @constructor
+	   *
+	   * @examples
+	   * function upcase(str) { return str.toUpperCase(); }
+	   *
+	   * Lazy('foo')               // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').toUpperCase() // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').reverse()     // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').take(2)       // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').drop(1)       // instanceof Lazy.StringLikeSequence
+	   * Lazy('foo').substring(1)  // instanceof Lazy.StringLikeSequence
+	   *
+	   * // Note that `map` does not create a `StringLikeSequence` because there's
+	   * // no guarantee the mapping function will return characters. In the event
+	   * // you do want to map a string onto a string-like sequence, use
+	   * // `mapString`:
+	   * Lazy('foo').map(Lazy.identity)       // instanceof Lazy.ArrayLikeSequence
+	   * Lazy('foo').mapString(Lazy.identity) // instanceof Lazy.StringLikeSequence
+	   */
+	  function StringLikeSequence() {}
+
+	  StringLikeSequence.prototype = new ArrayLikeSequence();
+
+	  /**
+	   * Create a new constructor function for a type inheriting from
+	   * `StringLikeSequence`.
+	   *
+	   * @public
+	   * @param {string|Array.<string>} methodName The name(s) of the method(s) to be
+	   *     used for constructing the new sequence. The method will be attached to
+	   *     the `StringLikeSequence` prototype so that it can be chained with any other
+	   *     methods that return string-like sequences.
+	   * @param {Object} overrides An object containing function overrides for this
+	   *     new sequence type. Has the same requirements as
+	   *     {@link ArrayLikeSequence.define}.
+	   * @returns {Function} A constructor for a new type inheriting from
+	   *     `StringLikeSequence`.
+	   *
+	   * @examples
+	   * Lazy.StringLikeSequence.define("zomg", {
+	   *   length: function() {
+	   *     return this.parent.length() + "!!ZOMG!!!1".length;
+	   *   },
+	   *
+	   *   get: function(i) {
+	   *     if (i < this.parent.length()) {
+	   *       return this.parent.get(i);
+	   *     }
+	   *     return "!!ZOMG!!!1".charAt(i - this.parent.length());
+	   *   }
+	   * });
+	   *
+	   * Lazy('foo').zomg() // sequence: "foo!!ZOMG!!!1"
+	   */
+	  StringLikeSequence.define = function define(methodName, overrides) {
+	    if (!overrides || typeof overrides.get !== 'function') {
+	      throw new Error("A custom string-like sequence must implement *at least* get!");
+	    }
+
+	    return defineSequenceType(StringLikeSequence, methodName, overrides);
+	  };
+
+	  StringLikeSequence.prototype.value = function value() {
+	    return this.toString();
+	  };
+
+	  /**
+	   * Returns an {@link IndexedIterator} that will step over each character in this
+	   * sequence one by one.
+	   *
+	   * @returns {IndexedIterator} The iterator.
+	   */
+	  StringLikeSequence.prototype.getIterator = function getIterator() {
+	    return new CharIterator(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function CharIterator(source) {
+	    this.source = Lazy(source);
+	    this.index = -1;
+	  }
+
+	  CharIterator.prototype.current = function current() {
+	    return this.source.charAt(this.index);
+	  };
+
+	  CharIterator.prototype.moveNext = function moveNext() {
+	    return (++this.index < this.source.length());
+	  };
+
+	  /**
+	   * Returns the character at the given index of this sequence, or the empty
+	   * string if the specified index lies outside the bounds of the sequence.
+	   *
+	   * @public
+	   * @param {number} i The index of this sequence.
+	   * @returns {string} The character at the specified index.
+	   *
+	   * @examples
+	   * Lazy("foo").charAt(0)  // => "f"
+	   * Lazy("foo").charAt(-1) // => ""
+	   * Lazy("foo").charAt(10) // => ""
+	   */
+	  StringLikeSequence.prototype.charAt = function charAt(i) {
+	    return this.get(i);
+	  };
+
+	  /**
+	   * Returns the character code at the given index of this sequence, or `NaN` if
+	   * the index lies outside the bounds of the sequence.
+	   *
+	   * @public
+	   * @param {number} i The index of the character whose character code you want.
+	   * @returns {number} The character code.
+	   *
+	   * @examples
+	   * Lazy("abc").charCodeAt(0)  // => 97
+	   * Lazy("abc").charCodeAt(-1) // => NaN
+	   * Lazy("abc").charCodeAt(10) // => NaN
+	   */
+	  StringLikeSequence.prototype.charCodeAt = function charCodeAt(i) {
+	    var char = this.charAt(i);
+	    if (!char) { return NaN; }
+
+	    return char.charCodeAt(0);
+	  };
+
+	  /**
+	   * Returns a {@link StringLikeSequence} comprising the characters from *this*
+	   * sequence starting at `start` and ending at `stop` (exclusive), or---if
+	   * `stop` is `undefined`, including the rest of the sequence.
+	   *
+	   * @public
+	   * @param {number} start The index where this sequence should begin.
+	   * @param {number=} stop The index (exclusive) where this sequence should end.
+	   * @returns {StringLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * Lazy("foo").substring(1)      // sequence: "oo"
+	   * Lazy("foo").substring(-1)     // sequence: "foo"
+	   * Lazy("hello").substring(1, 3) // sequence: "el"
+	   * Lazy("hello").substring(1, 9) // sequence: "ello"
+	   */
+	  StringLikeSequence.prototype.substring = function substring(start, stop) {
+	    return new StringSegment(this, start, stop);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function StringSegment(parent, start, stop) {
+	    this.parent = parent;
+	    this.start  = Math.max(0, start);
+	    this.stop   = stop;
+	  }
+
+	  StringSegment.prototype = new StringLikeSequence();
+
+	  StringSegment.prototype.get = function get(i) {
+	    return this.parent.get(i + this.start);
+	  };
+
+	  StringSegment.prototype.length = function length() {
+	    return (typeof this.stop === "number" ? this.stop : this.parent.length()) - this.start;
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#first} that returns another
+	   * {@link StringLikeSequence} (or just the first character, if `count` is
+	   * undefined).
+	   *
+	   * @public
+	   * @examples
+	   * Lazy('foo').first()                // => 'f'
+	   * Lazy('fo').first(2)                // sequence: 'fo'
+	   * Lazy('foo').first(10)              // sequence: 'foo'
+	   * Lazy('foo').toUpperCase().first()  // => 'F'
+	   * Lazy('foo').toUpperCase().first(2) // sequence: 'FO'
+	   */
+	  StringLikeSequence.prototype.first = function first(count) {
+	    if (typeof count === "undefined") {
+	      return this.charAt(0);
+	    }
+
+	    return this.substring(0, count);
+	  };
+
+	  /**
+	   * An optimized version of {@link Sequence#last} that returns another
+	   * {@link StringLikeSequence} (or just the last character, if `count` is
+	   * undefined).
+	   *
+	   * @public
+	   * @examples
+	   * Lazy('foo').last()                // => 'o'
+	   * Lazy('foo').last(2)               // sequence: 'oo'
+	   * Lazy('foo').last(10)              // sequence: 'foo'
+	   * Lazy('foo').toUpperCase().last()  // => 'O'
+	   * Lazy('foo').toUpperCase().last(2) // sequence: 'OO'
+	   */
+	  StringLikeSequence.prototype.last = function last(count) {
+	    if (typeof count === "undefined") {
+	      return this.charAt(this.length() - 1);
+	    }
+
+	    return this.substring(this.length() - count);
+	  };
+
+	  StringLikeSequence.prototype.drop = function drop(count) {
+	    return this.substring(count);
+	  };
+
+	  /**
+	   * Finds the index of the first occurrence of the given substring within this
+	   * sequence, starting from the specified index (or the beginning of the
+	   * sequence).
+	   *
+	   * @public
+	   * @param {string} substring The substring to search for.
+	   * @param {number=} startIndex The index from which to start the search.
+	   * @returns {number} The first index where the given substring is found, or
+	   *     -1 if it isn't in the sequence.
+	   *
+	   * @examples
+	   * Lazy('canal').indexOf('a')    // => 1
+	   * Lazy('canal').indexOf('a', 2) // => 3
+	   * Lazy('canal').indexOf('ana')  // => 1
+	   * Lazy('canal').indexOf('andy') // => -1
+	   * Lazy('canal').indexOf('x')    // => -1
+	   */
+	  StringLikeSequence.prototype.indexOf = function indexOf(substring, startIndex) {
+	    return this.toString().indexOf(substring, startIndex);
+	  };
+
+	  /**
+	   * Finds the index of the last occurrence of the given substring within this
+	   * sequence, starting from the specified index (or the end of the sequence)
+	   * and working backwards.
+	   *
+	   * @public
+	   * @param {string} substring The substring to search for.
+	   * @param {number=} startIndex The index from which to start the search.
+	   * @returns {number} The last index where the given substring is found, or
+	   *     -1 if it isn't in the sequence.
+	   *
+	   * @examples
+	   * Lazy('canal').lastIndexOf('a')    // => 3
+	   * Lazy('canal').lastIndexOf('a', 2) // => 1
+	   * Lazy('canal').lastIndexOf('ana')  // => 1
+	   * Lazy('canal').lastIndexOf('andy') // => -1
+	   * Lazy('canal').lastIndexOf('x')    // => -1
+	   */
+	  StringLikeSequence.prototype.lastIndexOf = function lastIndexOf(substring, startIndex) {
+	    return this.toString().lastIndexOf(substring, startIndex);
+	  };
+
+	  /**
+	   * Checks if this sequence contains a given substring.
+	   *
+	   * @public
+	   * @param {string} substring The substring to check for.
+	   * @returns {boolean} Whether or not this sequence contains `substring`.
+	   *
+	   * @examples
+	   * Lazy('hello').contains('ell') // => true
+	   * Lazy('hello').contains('')    // => true
+	   * Lazy('hello').contains('abc') // => false
+	   */
+	  StringLikeSequence.prototype.contains = function contains(substring) {
+	    return this.indexOf(substring) !== -1;
+	  };
+
+	  /**
+	   * Checks if this sequence ends with a given suffix.
+	   *
+	   * @public
+	   * @param {string} suffix The suffix to check for.
+	   * @returns {boolean} Whether or not this sequence ends with `suffix`.
+	   *
+	   * @examples
+	   * Lazy('foo').endsWith('oo')  // => true
+	   * Lazy('foo').endsWith('')    // => true
+	   * Lazy('foo').endsWith('abc') // => false
+	   */
+	  StringLikeSequence.prototype.endsWith = function endsWith(suffix) {
+	    return this.substring(this.length() - suffix.length).toString() === suffix;
+	  };
+
+	  /**
+	   * Checks if this sequence starts with a given prefix.
+	   *
+	   * @public
+	   * @param {string} prefix The prefix to check for.
+	   * @returns {boolean} Whether or not this sequence starts with `prefix`.
+	   *
+	   * @examples
+	   * Lazy('foo').startsWith('fo')  // => true
+	   * Lazy('foo').startsWith('')    // => true
+	   * Lazy('foo').startsWith('abc') // => false
+	   */
+	  StringLikeSequence.prototype.startsWith = function startsWith(prefix) {
+	    return this.substring(0, prefix.length).toString() === prefix;
+	  };
+
+	  /**
+	   * Converts all of the characters in this string to uppercase.
+	   *
+	   * @public
+	   * @returns {StringLikeSequence} A new sequence with the same characters as
+	   *     this sequence, all uppercase.
+	   *
+	   * @examples
+	   * function nextLetter(a) {
+	   *   return String.fromCharCode(a.charCodeAt(0) + 1);
+	   * }
+	   *
+	   * Lazy('foo').toUpperCase()                       // sequence: 'FOO'
+	   * Lazy('foo').substring(1).toUpperCase()          // sequence: 'OO'
+	   * Lazy('abc').mapString(nextLetter).toUpperCase() // sequence: 'BCD'
+	   */
+	  StringLikeSequence.prototype.toUpperCase = function toUpperCase() {
+	    return this.mapString(function(char) { return char.toUpperCase(); });
+	  };
+
+	  /**
+	   * Converts all of the characters in this string to lowercase.
+	   *
+	   * @public
+	   * @returns {StringLikeSequence} A new sequence with the same characters as
+	   *     this sequence, all lowercase.
+	   *
+	   * @examples
+	   * function nextLetter(a) {
+	   *   return String.fromCharCode(a.charCodeAt(0) + 1);
+	   * }
+	   *
+	   * Lazy('FOO').toLowerCase()                       // sequence: 'foo'
+	   * Lazy('FOO').substring(1).toLowerCase()          // sequence: 'oo'
+	   * Lazy('ABC').mapString(nextLetter).toLowerCase() // sequence: 'bcd'
+	   */
+	  StringLikeSequence.prototype.toLowerCase = function toLowerCase() {
+	    return this.mapString(function(char) { return char.toLowerCase(); });
+	  };
+
+	  /**
+	   * Maps the characters of this sequence onto a new {@link StringLikeSequence}.
+	   *
+	   * @public
+	   * @param {Function} mapFn The function used to map characters from this
+	   *     sequence onto the new sequence.
+	   * @returns {StringLikeSequence} The new sequence.
+	   *
+	   * @examples
+	   * function upcase(char) { return char.toUpperCase(); }
+	   *
+	   * Lazy("foo").mapString(upcase)               // sequence: "FOO"
+	   * Lazy("foo").mapString(upcase).charAt(0)     // => "F"
+	   * Lazy("foo").mapString(upcase).charCodeAt(0) // => 70
+	   * Lazy("foo").mapString(upcase).substring(1)  // sequence: "OO"
+	   */
+	  StringLikeSequence.prototype.mapString = function mapString(mapFn) {
+	    return new MappedStringLikeSequence(this, mapFn);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MappedStringLikeSequence(parent, mapFn) {
+	    this.parent = parent;
+	    this.mapFn  = mapFn;
+	  }
+
+	  MappedStringLikeSequence.prototype = new StringLikeSequence();
+	  MappedStringLikeSequence.prototype.get = IndexedMappedSequence.prototype.get;
+	  MappedStringLikeSequence.prototype.length = IndexedMappedSequence.prototype.length;
+
+	  /**
+	   * Returns a copy of this sequence that reads back to front.
+	   *
+	   * @public
+	   *
+	   * @examples
+	   * Lazy("abcdefg").reverse() // sequence: "gfedcba"
+	   */
+	  StringLikeSequence.prototype.reverse = function reverse() {
+	    return new ReversedStringLikeSequence(this);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function ReversedStringLikeSequence(parent) {
+	    this.parent = parent;
+	  }
+
+	  ReversedStringLikeSequence.prototype = new StringLikeSequence();
+	  ReversedStringLikeSequence.prototype.get = IndexedReversedSequence.prototype.get;
+	  ReversedStringLikeSequence.prototype.length = IndexedReversedSequence.prototype.length;
+
+	  StringLikeSequence.prototype.toString = function toString() {
+	    return this.join("");
+	  };
+
+	  /**
+	   * Creates a {@link Sequence} comprising all of the matches for the specified
+	   * pattern in the underlying string.
+	   *
+	   * @public
+	   * @param {RegExp} pattern The pattern to match.
+	   * @returns {Sequence} A sequence of all the matches.
+	   *
+	   * @examples
+	   * Lazy("abracadabra").match(/a[bcd]/) // sequence: ["ab", "ac", "ad", "ab"]
+	   * Lazy("fee fi fo fum").match(/\w+/)  // sequence: ["fee", "fi", "fo", "fum"]
+	   * Lazy("hello").match(/xyz/)          // sequence: []
+	   */
+	  StringLikeSequence.prototype.match = function match(pattern) {
+	    return new StringMatchSequence(this, pattern);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function StringMatchSequence(parent, pattern) {
+	    this.parent = parent;
+	    this.pattern = pattern;
+	  }
+
+	  StringMatchSequence.prototype = new Sequence();
+
+	  StringMatchSequence.prototype.getIterator = function getIterator() {
+	    return new StringMatchIterator(this.parent.toString(), this.pattern);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function StringMatchIterator(source, pattern) {
+	    this.source  = source;
+	    this.pattern = cloneRegex(pattern);
+	  }
+
+	  StringMatchIterator.prototype.current = function current() {
+	    return this.match[0];
+	  };
+
+	  StringMatchIterator.prototype.moveNext = function moveNext() {
+	    return !!(this.match = this.pattern.exec(this.source));
+	  };
+
+	  /**
+	   * Creates a {@link Sequence} comprising all of the substrings of this string
+	   * separated by the given delimiter, which can be either a string or a regular
+	   * expression.
+	   *
+	   * @public
+	   * @param {string|RegExp} delimiter The delimiter to use for recognizing
+	   *     substrings.
+	   * @returns {Sequence} A sequence of all the substrings separated by the given
+	   *     delimiter.
+	   *
+	   * @examples
+	   * Lazy("foo").split("")                      // sequence: ["f", "o", "o"]
+	   * Lazy("yo dawg").split(" ")                 // sequence: ["yo", "dawg"]
+	   * Lazy("bah bah\tblack  sheep").split(/\s+/) // sequence: ["bah", "bah", "black", "sheep"]
+	   */
+	  StringLikeSequence.prototype.split = function split(delimiter) {
+	    return new SplitStringSequence(this, delimiter);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitStringSequence(parent, pattern) {
+	    this.parent = parent;
+	    this.pattern = pattern;
+	  }
+
+	  SplitStringSequence.prototype = new Sequence();
+
+	  SplitStringSequence.prototype.getIterator = function getIterator() {
+	    var source = this.parent.toString();
+
+	    if (this.pattern instanceof RegExp) {
+	      if (this.pattern.source === "" || this.pattern.source === "(?:)") {
+	        return new CharIterator(source);
+	      } else {
+	        return new SplitWithRegExpIterator(source, this.pattern);
+	      }
+	    } else if (this.pattern === "") {
+	      return new CharIterator(source);
+	    } else {
+	      return new SplitWithStringIterator(source, this.pattern);
+	    }
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitWithRegExpIterator(source, pattern) {
+	    this.source  = source;
+	    this.pattern = cloneRegex(pattern);
+	  }
+
+	  SplitWithRegExpIterator.prototype.current = function current() {
+	    return this.source.substring(this.start, this.end);
+	  };
+
+	  SplitWithRegExpIterator.prototype.moveNext = function moveNext() {
+	    if (!this.pattern) {
+	      return false;
+	    }
+
+	    var match = this.pattern.exec(this.source);
+
+	    if (match) {
+	      this.start = this.nextStart ? this.nextStart : 0;
+	      this.end = match.index;
+	      this.nextStart = match.index + match[0].length;
+	      return true;
+
+	    } else if (this.pattern) {
+	      this.start = this.nextStart;
+	      this.end = undefined;
+	      this.nextStart = undefined;
+	      this.pattern = undefined;
+	      return true;
+	    }
+
+	    return false;
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitWithStringIterator(source, delimiter) {
+	    this.source = source;
+	    this.delimiter = delimiter;
+	  }
+
+	  SplitWithStringIterator.prototype.current = function current() {
+	    return this.source.substring(this.leftIndex, this.rightIndex);
+	  };
+
+	  SplitWithStringIterator.prototype.moveNext = function moveNext() {
+	    if (!this.finished) {
+	      this.leftIndex = typeof this.leftIndex !== "undefined" ?
+	        this.rightIndex + this.delimiter.length :
+	        0;
+	      this.rightIndex = this.source.indexOf(this.delimiter, this.leftIndex);
+	    }
+
+	    if (this.rightIndex === -1) {
+	      this.finished = true;
+	      this.rightIndex = undefined;
+	      return true;
+	    }
+
+	    return !this.finished;
+	  };
+
+	  /**
+	   * Wraps a string exposing {@link #match} and {@link #split} methods that return
+	   * {@link Sequence} objects instead of arrays, improving on the efficiency of
+	   * JavaScript's built-in `String#split` and `String.match` methods and
+	   * supporting asynchronous iteration.
+	   *
+	   * @param {string} source The string to wrap.
+	   * @constructor
+	   */
+	  function StringWrapper(source) {
+	    this.source = source;
+	  }
+
+	  StringWrapper.prototype = new StringLikeSequence();
+
+	  StringWrapper.prototype.root = function root() {
+	    return this;
+	  };
+
+	  StringWrapper.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  StringWrapper.prototype.get = function get(i) {
+	    return this.source.charAt(i);
+	  };
+
+	  StringWrapper.prototype.length = function length() {
+	    return this.source.length;
+	  };
+
+	  StringWrapper.prototype.toString = function toString() {
+	    return this.source;
+	  };
+
+	  /**
+	   * A `GeneratedSequence` does not wrap an in-memory colllection but rather
+	   * determines its elements on-the-fly during iteration according to a generator
+	   * function.
+	   *
+	   * You create a `GeneratedSequence` by calling {@link Lazy.generate}.
+	   *
+	   * @public
+	   * @constructor
+	   * @param {function(number):*} generatorFn A function which accepts an index
+	   *     and returns a value for the element at that position in the sequence.
+	   * @param {number=} length The length of the sequence. If this argument is
+	   *     omitted, the sequence will go on forever.
+	   */
+	  function GeneratedSequence(generatorFn, length) {
+	    this.get = generatorFn;
+	    this.fixedLength = length;
+	  }
+
+	  GeneratedSequence.prototype = new Sequence();
+
+	  GeneratedSequence.prototype.isAsync = function isAsync() {
+	    return false;
+	  };
+
+	  /**
+	   * Returns the length of this sequence.
+	   *
+	   * @public
+	   * @returns {number} The length, or `undefined` if this is an indefinite
+	   *     sequence.
+	   */
+	  GeneratedSequence.prototype.length = function length() {
+	    return this.fixedLength;
+	  };
+
+	  /**
+	   * Iterates over the sequence produced by invoking this sequence's generator
+	   * function up to its specified length, or, if length is `undefined`,
+	   * indefinitely (in which case the sequence will go on forever--you would need
+	   * to call, e.g., {@link Sequence#take} to limit iteration).
+	   *
+	   * @public
+	   * @param {Function} fn The function to call on each output from the generator
+	   *     function.
+	   */
+	  GeneratedSequence.prototype.each = function each(fn) {
+	    var generatorFn = this.get,
+	        length = this.fixedLength,
+	        i = 0;
+
+	    while (typeof length === "undefined" || i < length) {
+	      if (fn(generatorFn(i), i++) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  };
+
+	  GeneratedSequence.prototype.getIterator = function getIterator() {
+	    return new GeneratedIterator(this);
+	  };
+
+	  /**
+	   * Iterates over a generated sequence. (This allows generated sequences to be
+	   * iterated asynchronously.)
+	   *
+	   * @param {GeneratedSequence} sequence The generated sequence to iterate over.
+	   * @constructor
+	   */
+	  function GeneratedIterator(sequence) {
+	    this.sequence     = sequence;
+	    this.index        = 0;
+	    this.currentValue = null;
+	  }
+
+	  GeneratedIterator.prototype.current = function current() {
+	    return this.currentValue;
+	  };
+
+	  GeneratedIterator.prototype.moveNext = function moveNext() {
+	    var sequence = this.sequence;
+
+	    if (typeof sequence.fixedLength === "number" && this.index >= sequence.fixedLength) {
+	      return false;
+	    }
+
+	    this.currentValue = sequence.get(this.index++);
+	    return true;
+	  };
+
+	  /**
+	   * An `AsyncSequence` iterates over its elements asynchronously when
+	   * {@link #each} is called.
+	   *
+	   * You get an `AsyncSequence` by calling {@link Sequence#async} on any
+	   * sequence. Note that some sequence types may not support asynchronous
+	   * iteration.
+	   *
+	   * Returning values
+	   * ----------------
+	   *
+	   * Because of its asynchronous nature, an `AsyncSequence` cannot be used in the
+	   * same way as other sequences for functions that return values directly (e.g.,
+	   * `reduce`, `max`, `any`, even `toArray`).
+	   *
+	   * Instead, these methods return an `AsyncHandle` whose `onComplete` method
+	   * accepts a callback that will be called with the final result once iteration
+	   * has finished.
+	   *
+	   * Defining custom asynchronous sequences
+	   * --------------------------------------
+	   *
+	   * There are plenty of ways to define an asynchronous sequence. Here's one.
+	   *
+	   * 1. First, implement an {@link Iterator}. This is an object whose prototype
+	   *    has the methods {@link Iterator#moveNext} (which returns a `boolean`) and
+	   *    {@link current} (which returns the current value).
+	   * 2. Next, create a simple wrapper that inherits from `AsyncSequence`, whose
+	   *    `getIterator` function returns an instance of the iterator type you just
+	   *    defined.
+	   *
+	   * The default implementation for {@link #each} on an `AsyncSequence` is to
+	   * create an iterator and then asynchronously call {@link Iterator#moveNext}
+	   * (using `setImmediate`, if available, otherwise `setTimeout`) until the iterator
+	   * can't move ahead any more.
+	   *
+	   * @public
+	   * @constructor
+	   * @param {Sequence} parent A {@link Sequence} to wrap, to expose asynchronous
+	   *     iteration.
+	   * @param {number=} interval How many milliseconds should elapse between each
+	   *     element when iterating over this sequence. If this argument is omitted,
+	   *     asynchronous iteration will be executed as fast as possible.
+	   */
+	  function AsyncSequence(parent, interval) {
+	    if (parent instanceof AsyncSequence) {
+	      throw new Error("Sequence is already asynchronous!");
+	    }
+
+	    this.parent         = parent;
+	    this.interval       = interval;
+	    this.onNextCallback = getOnNextCallback(interval);
+	    this.cancelCallback = getCancelCallback(interval);
+	  }
+
+	  AsyncSequence.prototype = new Sequence();
+
+	  AsyncSequence.prototype.isAsync = function isAsync() {
+	    return true;
+	  };
+
+	  /**
+	   * Throws an exception. You cannot manually iterate over an asynchronous
+	   * sequence.
+	   *
+	   * @public
+	   * @example
+	   * Lazy([1, 2, 3]).async().getIterator() // throws
+	   */
+	  AsyncSequence.prototype.getIterator = function getIterator() {
+	    throw new Error('An AsyncSequence does not support synchronous iteration.');
+	  };
+
+	  /**
+	   * An asynchronous version of {@link Sequence#each}.
+	   *
+	   * @public
+	   * @param {Function} fn The function to invoke asynchronously on each element in
+	   *     the sequence one by one.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} providing the ability to
+	   *     cancel the asynchronous iteration (by calling `cancel()`) as well as
+	   *     supply callback(s) for when an error is encountered (`onError`) or when
+	   *     iteration is complete (`onComplete`).
+	   */
+	  AsyncSequence.prototype.each = function each(fn) {
+	    var iterator = this.parent.getIterator(),
+	        onNextCallback = this.onNextCallback,
+	        cancelCallback = this.cancelCallback,
+	        i = 0;
+
+	    var handle = new AsyncHandle(function cancel() {
+	      if (cancellationId) {
+	        cancelCallback(cancellationId);
+	      }
+	    });
+
+	    var cancellationId = onNextCallback(function iterate() {
+	      cancellationId = null;
+
+	      try {
+	        if (iterator.moveNext() && fn(iterator.current(), i++) !== false) {
+	          cancellationId = onNextCallback(iterate);
+
+	        } else {
+	          handle._resolve();
+	        }
+
+	      } catch (e) {
+	        handle._reject(e);
+	      }
+	    });
+
+	    return handle;
+	  };
+
+	  /**
+	   * An `AsyncHandle` provides a [Promises/A+](http://promises-aplus.github.io/promises-spec/)
+	   * compliant interface for an {@link AsyncSequence} that is currently (or was)
+	   * iterating over its elements.
+	   *
+	   * In addition to behaving as a promise, an `AsyncHandle` provides the ability
+	   * to {@link AsyncHandle#cancel} iteration (if `cancelFn` is provided)
+	   * and also offers convenient {@link AsyncHandle#onComplete} and
+	   * {@link AsyncHandle#onError} methods to attach listeners for when iteration
+	   * is complete or an error is thrown during iteration.
+	   *
+	   * @public
+	   * @param {Function} cancelFn A function to cancel asynchronous iteration.
+	   *     This is passed in to support different cancellation mechanisms for
+	   *     different forms of asynchronous sequences (e.g., timeout-based
+	   *     sequences, sequences based on I/O, etc.).
+	   * @constructor
+	   *
+	   * @example
+	   * // Create a sequence of 100,000 random numbers, in chunks of 100.
+	   * var sequence = Lazy.generate(Math.random)
+	   *   .chunk(100)
+	   *   .async()
+	   *   .take(1000);
+	   *
+	   * // Reduce-style operations -- i.e., operations that return a *value* (as
+	   * // opposed to a *sequence*) -- return an AsyncHandle for async sequences.
+	   * var handle = sequence.toArray();
+	   *
+	   * handle.onComplete(function(array) {
+	   *   // Do something w/ 1,000-element array.
+	   * });
+	   *
+	   * // Since an AsyncHandle is a promise, you can also use it to create
+	   * // subsequent promises using `then` (see the Promises/A+ spec for more
+	   * // info).
+	   * var flattened = handle.then(function(array) {
+	   *   return Lazy(array).flatten();
+	   * });
+	   */
+	  function AsyncHandle(cancelFn) {
+	    this.resolveListeners = [];
+	    this.rejectListeners = [];
+	    this.state = PENDING;
+	    this.cancelFn = cancelFn;
+	  }
+
+	  // Async handle states
+	  var PENDING  = 1,
+	      RESOLVED = 2,
+	      REJECTED = 3;
+
+	  AsyncHandle.prototype.then = function then(onFulfilled, onRejected) {
+	    var promise = new AsyncHandle(this.cancelFn);
+
+	    this.resolveListeners.push(function(value) {
+	      try {
+	        if (typeof onFulfilled !== 'function') {
+	          resolve(promise, value);
+	          return;
+	        }
+
+	        resolve(promise, onFulfilled(value));
+
+	      } catch (e) {
+	        promise._reject(e);
+	      }
+	    });
+
+	    this.rejectListeners.push(function(reason) {
+	      try {
+	        if (typeof onRejected !== 'function') {
+	          promise._reject(reason);
+	          return;
+	        }
+
+	        resolve(promise, onRejected(reason));
+
+	      } catch (e) {
+	        promise._reject(e);
+	      }
+	    });
+
+	    if (this.state === RESOLVED) {
+	      this._resolve(this.value);
+	    }
+
+	    if (this.state === REJECTED) {
+	      this._reject(this.reason);
+	    }
+
+	    return promise;
+	  };
+
+	  AsyncHandle.prototype._resolve = function _resolve(value) {
+	    if (this.state === REJECTED) {
+	      return;
+	    }
+
+	    if (this.state === PENDING) {
+	      this.state = RESOLVED;
+	      this.value = value;
+	    }
+
+	    consumeListeners(this.resolveListeners, this.value);
+	  };
+
+	  AsyncHandle.prototype._reject = function _reject(reason) {
+	    if (this.state === RESOLVED) {
+	      return;
+	    }
+
+	    if (this.state === PENDING) {
+	      this.state = REJECTED;
+	      this.reason = reason;
+	    }
+
+	    consumeListeners(this.rejectListeners, this.reason);
+	  };
+
+	  /**
+	   * Cancels asynchronous iteration.
+	   *
+	   * @public
+	   */
+	  AsyncHandle.prototype.cancel = function cancel() {
+	    if (this.cancelFn) {
+	      this.cancelFn();
+	      this.cancelFn = null;
+	      this._resolve(false);
+	    }
+	  };
+
+	  /**
+	   * Updates the handle with a callback to execute when iteration is completed.
+	   *
+	   * @public
+	   * @param {Function} callback The function to call when the asynchronous
+	   *     iteration is completed.
+	   * @return {AsyncHandle} A reference to the handle (for chaining).
+	   */
+	  AsyncHandle.prototype.onComplete = function onComplete(callback) {
+	    this.resolveListeners.push(callback);
+	    return this;
+	  };
+
+	  /**
+	   * Updates the handle with a callback to execute if/when any error is
+	   * encountered during asynchronous iteration.
+	   *
+	   * @public
+	   * @param {Function} callback The function to call, with any associated error
+	   *     object, when an error occurs.
+	   * @return {AsyncHandle} A reference to the handle (for chaining).
+	   */
+	  AsyncHandle.prototype.onError = function onError(callback) {
+	    this.rejectListeners.push(callback);
+	    return this;
+	  };
+
+	  /**
+	   * Promise resolution procedure:
+	   * http://promises-aplus.github.io/promises-spec/#the_promise_resolution_procedure
+	   */
+	  function resolve(promise, x) {
+	    if (promise === x) {
+	      promise._reject(new TypeError('Cannot resolve a promise to itself'));
+	      return;
+	    }
+
+	    if (x instanceof AsyncHandle) {
+	      x.then(
+	        function(value) { resolve(promise, value); },
+	        function(reason) { promise._reject(reason); }
+	      );
+	      return;
+	    }
+
+	    var then;
+	    try {
+	      then = (/function|object/).test(typeof x) && x != null && x.then;
+	    } catch (e) {
+	      promise._reject(e);
+	      return;
+	    }
+
+	    var thenableState = PENDING;
+	    if (typeof then === 'function') {
+	      try {
+	        then.call(
+	          x,
+	          function resolvePromise(value) {
+	            if (thenableState !== PENDING) {
+	              return;
+	            }
+	            thenableState = RESOLVED;
+	            resolve(promise, value);
+	          },
+	          function rejectPromise(reason) {
+	            if (thenableState !== PENDING) {
+	              return;
+	            }
+	            thenableState = REJECTED;
+	            promise._reject(reason);
+	          }
+	        );
+	      } catch (e) {
+	        if (thenableState !== PENDING) {
+	          return;
+	        }
+
+	        promise._reject(e);
+	      }
+
+	      return;
+	    }
+
+	    promise._resolve(x);
+	  }
+
+	  function consumeListeners(listeners, value, callback) {
+	    callback || (callback = getOnNextCallback());
+
+	    callback(function() {
+	      if (listeners.length > 0) {
+	        listeners.shift()(value);
+	        consumeListeners(listeners, value, callback);
+	      }
+	    });
+	  }
+
+	  function getOnNextCallback(interval) {
+	    if (typeof interval === "undefined") {
+	      if (typeof setImmediate === "function") {
+	        return setImmediate;
+	      }
+	    }
+
+	    interval = interval || 0;
+	    return function(fn) {
+	      return setTimeout(fn, interval);
+	    };
+	  }
+
+	  function getCancelCallback(interval) {
+	    if (typeof interval === "undefined") {
+	      if (typeof clearImmediate === "function") {
+	        return clearImmediate;
+	      }
+	    }
+
+	    return clearTimeout;
+	  }
+
+	  /**
+	   * Transform a value, whether the value is retrieved asynchronously or directly.
+	   *
+	   * @private
+	   * @param {Function} fn The function that transforms the value.
+	   * @param {*} value The value to be transformed. This can be an {@link AsyncHandle} when the value
+	   *     is retrieved asynchronously, otherwise it can be anything.
+	   * @returns {*} An {@link AsyncHandle} when `value` is also an {@link AsyncHandle}, otherwise
+	   *     whatever `fn` resulted in.
+	   */
+	  function transform(fn, value) {
+	    if (value instanceof AsyncHandle) {
+	      return value.then(function() { fn(value); });
+	    }
+	    return fn(value);
+	  }
+
+	  /**
+	   * An async version of {@link Sequence#reverse}.
+	   */
+	  AsyncSequence.prototype.reverse = function reverse() {
+	    return this.parent.reverse().async();
+	  };
+
+	  /**
+	   * A version of {@link Sequence#find} which returns an {@link AsyncHandle}.
+	   *
+	   * @public
+	   * @param {Function} predicate A function to call on (potentially) every element
+	   *     in the sequence.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} (promise) which resolves to
+	   *     the found element, once it is detected, or else `undefined`.
+	   */
+	  AsyncSequence.prototype.find = function find(predicate) {
+	    var found;
+
+	    var handle = this.each(function(e, i) {
+	      if (predicate(e, i)) {
+	        found = e;
+	        return false;
+	      }
+	    });
+
+	    return handle.then(function() { return found; });
+	  };
+
+	  /**
+	   * A version of {@link Sequence#indexOf} which returns an {@link AsyncHandle}.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} (promise) which resolves to
+	   *     the found index, once it is detected, or -1.
+	   */
+	  AsyncSequence.prototype.indexOf = function indexOf(value) {
+	    var foundIndex = -1;
+
+	    var handle = this.each(function(e, i) {
+	      if (e === value) {
+	        foundIndex = i;
+	        return false;
+	      }
+	    });
+
+	    return handle.then(function() {
+	      return foundIndex;
+	    });
+	  };
+
+	  /**
+	   * A version of {@link Sequence#contains} which returns an {@link AsyncHandle}.
+	   *
+	   * @public
+	   * @param {*} value The element to search for in the sequence.
+	   * @returns {AsyncHandle} An {@link AsyncHandle} (promise) which resolves to
+	   *     either `true` or `false` to indicate whether the element was found.
+	   */
+	  AsyncSequence.prototype.contains = function contains(value) {
+	    var found = false;
+
+	    var handle = this.each(function(e) {
+	      if (e === value) {
+	        found = true;
+	        return false;
+	      }
+	    });
+
+	    return handle.then(function() {
+	      return found;
+	    });
+	  };
+
+	  /**
+	   * Just return the same sequence for `AsyncSequence#async` (I see no harm in this).
+	   */
+	  AsyncSequence.prototype.async = function async() {
+	    return this;
+	  };
+
+	  /**
+	   * See {@link ObjectLikeSequence#watch} for docs.
+	   */
+	  ObjectWrapper.prototype.watch = function watch(propertyNames) {
+	    return new WatchedPropertySequence(this.source, propertyNames);
+	  };
+
+	  function WatchedPropertySequence(object, propertyNames) {
+	    this.listeners = [];
+
+	    if (!propertyNames) {
+	      propertyNames = Lazy(object).keys().toArray();
+	    } else if (!(propertyNames instanceof Array)) {
+	      propertyNames = [propertyNames];
+	    }
+
+	    var listeners = this.listeners,
+	        index     = 0;
+
+	    Lazy(propertyNames).each(function(propertyName) {
+	      var propertyValue = object[propertyName];
+
+	      Object.defineProperty(object, propertyName, {
+	        get: function() {
+	          return propertyValue;
+	        },
+
+	        set: function(value) {
+	          for (var i = listeners.length - 1; i >= 0; --i) {
+	            if (listeners[i]({ property: propertyName, value: value }, index) === false) {
+	              listeners.splice(i, 1);
+	            }
+	          }
+	          propertyValue = value;
+	          ++index;
+	        }
+	      });
+	    });
+	  }
+
+	  WatchedPropertySequence.prototype = new AsyncSequence();
+
+	  WatchedPropertySequence.prototype.each = function each(fn) {
+	    this.listeners.push(fn);
+	  };
+
+	  /**
+	   * A StreamLikeSequence comprises a sequence of 'chunks' of data, which are
+	   * typically multiline strings.
+	   *
+	   * @constructor
+	   */
+	  function StreamLikeSequence() {}
+
+	  StreamLikeSequence.prototype = new AsyncSequence();
+
+	  StreamLikeSequence.prototype.isAsync = function isAsync() {
+	    return true;
+	  };
+
+	  StreamLikeSequence.prototype.split = function split(delimiter) {
+	    return new SplitStreamSequence(this, delimiter);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function SplitStreamSequence(parent, delimiter) {
+	    this.parent    = parent;
+	    this.delimiter = delimiter;
+	    this.each      = this.getEachForDelimiter(delimiter);
+	  }
+
+	  SplitStreamSequence.prototype = new Sequence();
+
+	  SplitStreamSequence.prototype.getEachForDelimiter = function getEachForDelimiter(delimiter) {
+	    if (delimiter instanceof RegExp) {
+	      return this.regexEach;
+	    }
+
+	    return this.stringEach;
+	  };
+
+	  SplitStreamSequence.prototype.regexEach = function each(fn) {
+	    var delimiter = cloneRegex(this.delimiter),
+	        buffer = '',
+	        start = 0, end,
+	        index = 0;
+
+	    var handle = this.parent.each(function(chunk) {
+	      buffer += chunk;
+
+	      var match;
+	      while (match = delimiter.exec(buffer)) {
+	        end = match.index;
+	        if (fn(buffer.substring(start, end), index++) === false) {
+	          return false;
+	        }
+	        start = end + match[0].length;
+	      }
+
+	      buffer = buffer.substring(start);
+	      start = 0;
+	    });
+
+	    handle.onComplete(function() {
+	      if (buffer.length > 0) {
+	        fn(buffer, index++);
+	      }
+	    });
+
+	    return handle;
+	  };
+
+	  SplitStreamSequence.prototype.stringEach = function each(fn) {
+	    var delimiter  = this.delimiter,
+	        pieceIndex = 0,
+	        buffer = '',
+	        bufferIndex = 0;
+
+	    var handle = this.parent.each(function(chunk) {
+	      buffer += chunk;
+	      var delimiterIndex;
+	      while ((delimiterIndex = buffer.indexOf(delimiter)) >= 0) {
+	        var piece = buffer.substr(0,delimiterIndex);
+	        buffer = buffer.substr(delimiterIndex+delimiter.length);
+	        if (fn(piece,pieceIndex++) === false) {
+	          return false;
+	        }
+	      }
+	      return true;
+	    });
+
+	    handle.onComplete(function() {
+	      fn(buffer, pieceIndex++);
+	    });
+
+	    return handle;
+	  };
+
+	  StreamLikeSequence.prototype.lines = function lines() {
+	    return this.split("\n");
+	  };
+
+	  StreamLikeSequence.prototype.match = function match(pattern) {
+	    return new MatchedStreamSequence(this, pattern);
+	  };
+
+	  /**
+	   * @constructor
+	   */
+	  function MatchedStreamSequence(parent, pattern) {
+	    this.parent  = parent;
+	    this.pattern = cloneRegex(pattern);
+	  }
+
+	  MatchedStreamSequence.prototype = new AsyncSequence();
+
+	  MatchedStreamSequence.prototype.each = function each(fn) {
+	    var pattern = this.pattern,
+	        done      = false,
+	        i         = 0;
+
+	    return this.parent.each(function(chunk) {
+	      Lazy(chunk).match(pattern).each(function(match) {
+	        if (fn(match, i++) === false) {
+	          done = true;
+	          return false;
+	        }
+	      });
+
+	      return !done;
+	    });
+	  };
+
+	  /**
+	   * Defines a wrapper for custom {@link StreamLikeSequence}s. This is useful
+	   * if you want a way to handle a stream of events as a sequence, but you can't
+	   * use Lazy's existing interface (i.e., you're wrapping an object from a
+	   * library with its own custom events).
+	   *
+	   * This method defines a *factory*: that is, it produces a function that can
+	   * be used to wrap objects and return a {@link Sequence}. Hopefully the
+	   * example will make this clear.
+	   *
+	   * @public
+	   * @param {Function} initializer An initialization function called on objects
+	   *     created by this factory. `this` will be bound to the created object,
+	   *     which is an instance of {@link StreamLikeSequence}. Use `emit` to
+	   *     generate data for the sequence.
+	   * @returns {Function} A function that creates a new {@link StreamLikeSequence},
+	   *     initializes it using the specified function, and returns it.
+	   *
+	   * @example
+	   * var factory = Lazy.createWrapper(function(eventSource) {
+	   *   var sequence = this;
+	   *
+	   *   eventSource.handleEvent(function(data) {
+	   *     sequence.emit(data);
+	   *   });
+	   * });
+	   *
+	   * var eventEmitter = {
+	   *   triggerEvent: function(data) {
+	   *     eventEmitter.eventHandler(data);
+	   *   },
+	   *   handleEvent: function(handler) {
+	   *     eventEmitter.eventHandler = handler;
+	   *   },
+	   *   eventHandler: function() {}
+	   * };
+	   *
+	   * var events = [];
+	   *
+	   * factory(eventEmitter).each(function(e) {
+	   *   events.push(e);
+	   * });
+	   *
+	   * eventEmitter.triggerEvent('foo');
+	   * eventEmitter.triggerEvent('bar');
+	   *
+	   * events // => ['foo', 'bar']
+	   */
+	  Lazy.createWrapper = function createWrapper(initializer) {
+	    var ctor = function() {
+	      this.listeners = [];
+	    };
+
+	    ctor.prototype = new StreamLikeSequence();
+
+	    ctor.prototype.each = function(listener) {
+	      this.listeners.push(listener);
+	    };
+
+	    ctor.prototype.emit = function(data) {
+	      var listeners = this.listeners;
+
+	      for (var len = listeners.length, i = len - 1; i >= 0; --i) {
+	        if (listeners[i](data) === false) {
+	          listeners.splice(i, 1);
+	        }
+	      }
+	    };
+
+	    return function() {
+	      var sequence = new ctor();
+	      initializer.apply(sequence, arguments);
+	      return sequence;
+	    };
+	  };
+
+	  /**
+	   * Creates a {@link GeneratedSequence} using the specified generator function
+	   * and (optionally) length.
+	   *
+	   * @public
+	   * @param {function(number):*} generatorFn The function used to generate the
+	   *     sequence. This function accepts an index as a parameter and should return
+	   *     a value for that index in the resulting sequence.
+	   * @param {number=} length The length of the sequence, for sequences with a
+	   *     definite length.
+	   * @returns {GeneratedSequence} The generated sequence.
+	   *
+	   * @examples
+	   * var randomNumbers = Lazy.generate(Math.random);
+	   * var countingNumbers = Lazy.generate(function(i) { return i + 1; }, 5);
+	   *
+	   * randomNumbers          // instanceof Lazy.GeneratedSequence
+	   * randomNumbers.length() // => undefined
+	   * countingNumbers          // sequence: [1, 2, 3, 4, 5]
+	   * countingNumbers.length() // => 5
+	   */
+	  Lazy.generate = function generate(generatorFn, length) {
+	    return new GeneratedSequence(generatorFn, length);
+	  };
+
+	  /**
+	   * Creates a sequence from a given starting value, up to a specified stopping
+	   * value, incrementing by a given step. Invalid values for any of these
+	   * arguments (e.g., a step of 0) result in an empty sequence.
+	   *
+	   * @public
+	   * @returns {GeneratedSequence} The sequence defined by the given ranges.
+	   *
+	   * @examples
+	   * Lazy.range(3)         // sequence: [0, 1, 2]
+	   * Lazy.range(1, 4)      // sequence: [1, 2, 3]
+	   * Lazy.range(2, 10, 2)  // sequence: [2, 4, 6, 8]
+	   * Lazy.range(5, 1, 2)   // sequence: []
+	   * Lazy.range(5, 15, -2) // sequence: []
+	   * Lazy.range(3, 10, 3)  // sequence: [3, 6, 9]
+	   * Lazy.range(5, 2)      // sequence: [5, 4, 3]
+	   * Lazy.range(7, 2, -2)  // sequence: [7, 5, 3]
+	   * Lazy.range(3, 5, 0)   // sequence: []
+	   */
+	  Lazy.range = function range() {
+	    var start = arguments.length > 1 ? arguments[0] : 0,
+	        stop  = arguments.length > 1 ? arguments[1] : arguments[0],
+	        step  = arguments.length > 2 && arguments[2];
+
+	    if (step === false) {
+	      step = stop > start ? 1 : -1;
+	    }
+
+	    if (step === 0) {
+	      return Lazy([]);
+	    }
+
+	    return Lazy.generate(function(i) { return start + (step * i); })
+	      .take(Math.ceil((stop - start) / step));
+	  };
+
+	  /**
+	   * Creates a sequence consisting of the given value repeated a specified number
+	   * of times.
+	   *
+	   * @public
+	   * @param {*} value The value to repeat.
+	   * @param {number=} count The number of times the value should be repeated in
+	   *     the sequence. If this argument is omitted, the value will repeat forever.
+	   * @returns {GeneratedSequence} The sequence containing the repeated value.
+	   *
+	   * @examples
+	   * Lazy.repeat("hi", 3)          // sequence: ["hi", "hi", "hi"]
+	   * Lazy.repeat("young")          // instanceof Lazy.GeneratedSequence
+	   * Lazy.repeat("young").length() // => undefined
+	   * Lazy.repeat("young").take(3)  // sequence: ["young", "young", "young"]
+	   */
+	  Lazy.repeat = function repeat(value, count) {
+	    return Lazy.generate(function() { return value; }, count);
+	  };
+
+	  Lazy.Sequence           = Sequence;
+	  Lazy.ArrayLikeSequence  = ArrayLikeSequence;
+	  Lazy.ObjectLikeSequence = ObjectLikeSequence;
+	  Lazy.StringLikeSequence = StringLikeSequence;
+	  Lazy.StreamLikeSequence = StreamLikeSequence;
+	  Lazy.GeneratedSequence  = GeneratedSequence;
+	  Lazy.AsyncSequence      = AsyncSequence;
+	  Lazy.AsyncHandle        = AsyncHandle;
+
+	  /*** Useful utility methods ***/
+
+	  /**
+	   * Creates a shallow copy of an array or object.
+	   *
+	   * @examples
+	   * var array  = [1, 2, 3], clonedArray,
+	   *     object = { foo: 1, bar: 2 }, clonedObject;
+	   *
+	   * clonedArray = Lazy.clone(array); // => [1, 2, 3]
+	   * clonedArray.push(4); // clonedArray == [1, 2, 3, 4]
+	   * array; // => [1, 2, 3]
+	   *
+	   * clonedObject = Lazy.clone(object); // => { foo: 1, bar: 2 }
+	   * clonedObject.baz = 3; // clonedObject == { foo: 1, bar: 2, baz: 3 }
+	   * object; // => { foo: 1, bar: 2 }
+	   */
+	  Lazy.clone = function clone(target) {
+	    return Lazy(target).value();
+	  };
+
+	  /**
+	   * Marks a method as deprecated, so calling it will issue a console warning.
+	   */
+	  Lazy.deprecate = function deprecate(message, fn) {
+	    return function() {
+	      console.warn(message);
+	      return fn.apply(this, arguments);
+	    };
+	  };
+
+	  var arrayPop   = Array.prototype.pop,
+	      arraySlice = Array.prototype.slice;
+
+	  /**
+	   * Creates a callback... you know, Lo-Dash style.
+	   *
+	   * - for functions, just returns the function
+	   * - for strings, returns a pluck-style callback
+	   * - for objects, returns a where-style callback
+	   *
+	   * @private
+	   * @param {Function|string|Object} callback A function, string, or object to
+	   *     convert to a callback.
+	   * @param {*} defaultReturn If the callback is undefined, a default return
+	   *     value to use for the function.
+	   * @returns {Function} The callback function.
+	   *
+	   * @examples
+	   * createCallback(function() {})                  // instanceof Function
+	   * createCallback('foo')                          // instanceof Function
+	   * createCallback('foo')({ foo: 'bar'})           // => 'bar'
+	   * createCallback({ foo: 'bar' })({ foo: 'bar' }) // => true
+	   * createCallback({ foo: 'bar' })({ foo: 'baz' }) // => false
+	   */
+	  function createCallback(callback, defaultValue) {
+	    switch (typeof callback) {
+	      case "function":
+	        return callback;
+
+	      case "string":
+	        return function(e) {
+	          return e[callback];
+	        };
+
+	      case "object":
+	        return function(e) {
+	          return Lazy(callback).all(function(value, key) {
+	            return e[key] === value;
+	          });
+	        };
+
+	      case "undefined":
+	        return defaultValue ?
+	          function() { return defaultValue; } :
+	          Lazy.identity;
+
+	      default:
+	        throw new Error("Don't know how to make a callback from a " + typeof callback + "!");
+	    }
+	  }
+
+	  /**
+	   * Takes a function that returns a value for one argument and produces a
+	   * function that compares two arguments.
+	   *
+	   * @private
+	   * @param {Function|string|Object} callback A function, string, or object to
+	   *     convert to a callback using `createCallback`.
+	   * @returns {Function} A function that accepts two values and returns 1 if
+	   *     the first is greater, -1 if the second is greater, or 0 if they are
+	   *     equivalent.
+	   *
+	   * @examples
+	   * createComparator('a')({ a: 1 }, { a: 2 });       // => -1
+	   * createComparator('a')({ a: 6 }, { a: 2 });       // => 1
+	   * createComparator('a')({ a: 1 }, { a: 1 });       // => 0
+	   * createComparator()(3, 5);                        // => -1
+	   * createComparator()(7, 5);                        // => 1
+	   * createComparator()(3, 3);                        // => 0
+	   */
+	  function createComparator(callback, descending) {
+	    if (!callback) { return compare; }
+
+	    callback = createCallback(callback);
+
+	    return function(x, y) {
+	      return compare(callback(x), callback(y));
+	    };
+	  }
+
+	  /**
+	   * Takes a function and returns a function with the same logic but the
+	   * arguments reversed. Only applies to functions w/ arity=2 as this is private
+	   * and I can do what I want.
+	   *
+	   * @private
+	   * @param {Function} fn The function to "reverse"
+	   * @returns {Function} The "reversed" function
+	   *
+	   * @examples
+	   * reverseArguments(function(x, y) { return x + y; })('a', 'b'); // => 'ba'
+	   */
+	  function reverseArguments(fn) {
+	    return function(x, y) { return fn(y, x); };
+	  }
+
+	  /**
+	   * Creates a Set containing the specified values.
+	   *
+	   * @param {...Array} values One or more array(s) of values used to populate the
+	   *     set.
+	   * @returns {Set} A new set containing the values passed in.
+	   */
+	  function createSet(values) {
+	    var set = new Set();
+	    Lazy(values || []).flatten().each(function(e) {
+	      set.add(e);
+	    });
+	    return set;
+	  }
+
+	  /**
+	   * Compares two elements for sorting purposes.
+	   *
+	   * @private
+	   * @param {*} x The left element to compare.
+	   * @param {*} y The right element to compare.
+	   * @returns {number} 1 if x > y, -1 if x < y, or 0 if x and y are equal.
+	   *
+	   * @examples
+	   * compare(1, 2)     // => -1
+	   * compare(1, 1)     // => 0
+	   * compare(2, 1)     // => 1
+	   * compare('a', 'b') // => -1
+	   */
+	  function compare(x, y) {
+	    if (x === y) {
+	      return 0;
+	    }
+
+	    return x > y ? 1 : -1;
+	  }
+
+	  /**
+	   * Iterates over every element in an array.
+	   *
+	   * @param {Array} array The array.
+	   * @param {Function} fn The function to call on every element, which can return
+	   *     false to stop the iteration early.
+	   * @returns {boolean} True if every element in the entire sequence was iterated,
+	   *     otherwise false.
+	   */
+	  function forEach(array, fn) {
+	    var i = -1,
+	        len = array.length;
+
+	    while (++i < len) {
+	      if (fn(array[i], i) === false) {
+	        return false;
+	      }
+	    }
+
+	    return true;
+	  }
+
+	  function getFirst(sequence) {
+	    var result;
+	    sequence.each(function(e) {
+	      result = e;
+	      return false;
+	    });
+	    return result;
+	  }
+
+	  /**
+	   * Checks if an element exists in an array.
+	   *
+	   * @private
+	   * @param {Array} array
+	   * @param {*} element
+	   * @returns {boolean} Whether or not the element exists in the array.
+	   *
+	   * @examples
+	   * arrayContains([1, 2], 2)              // => true
+	   * arrayContains([1, 2], 3)              // => false
+	   * arrayContains([undefined], undefined) // => true
+	   * arrayContains([NaN], NaN)             // => true
+	   */
+	  function arrayContains(array, element) {
+	    var i = -1,
+	        length = array.length;
+
+	    // Special handling for NaN
+	    if (element !== element) {
+	      while (++i < length) {
+	        if (array[i] !== array[i]) {
+	          return true;
+	        }
+	      }
+	      return false;
+	    }
+
+	    while (++i < length) {
+	      if (array[i] === element) {
+	        return true;
+	      }
+	    }
+	    return false;
+	  }
+
+	  /**
+	   * Checks if an element exists in an array before a given index.
+	   *
+	   * @private
+	   * @param {Array} array
+	   * @param {*} element
+	   * @param {number} index
+	   * @param {Function} keyFn
+	   * @returns {boolean}
+	   *
+	   * @examples
+	   * arrayContainsBefore([1, 2, 3], 3, 2) // => false
+	   * arrayContainsBefore([1, 2, 3], 3, 3) // => true
+	   */
+	  function arrayContainsBefore(array, element, index, keyFn) {
+	    var i = -1;
+
+	    if (keyFn) {
+	      keyFn = createCallback(keyFn);
+	      while (++i < index) {
+	        if (keyFn(array[i]) === keyFn(element)) {
+	          return true;
+	        }
+	      }
+
+	    } else {
+	      while (++i < index) {
+	        if (array[i] === element) {
+	          return true;
+	        }
+	      }
+	    }
+
+	    return false;
+	  }
+
+	  /**
+	   * Swaps the elements at two specified positions of an array.
+	   *
+	   * @private
+	   * @param {Array} array
+	   * @param {number} i
+	   * @param {number} j
+	   *
+	   * @examples
+	   * var array = [1, 2, 3, 4, 5];
+	   *
+	   * swap(array, 2, 3) // array == [1, 2, 4, 3, 5]
+	   */
+	  function swap(array, i, j) {
+	    var temp = array[i];
+	    array[i] = array[j];
+	    array[j] = temp;
+	  }
+
+	  /**
+	   * "Clones" a regular expression (but makes it always global).
+	   *
+	   * @private
+	   * @param {RegExp|string} pattern
+	   * @returns {RegExp}
+	   */
+	  function cloneRegex(pattern) {
+	    return eval("" + pattern + (!pattern.global ? "g" : ""));
+	  };
+
+	  /**
+	   * A collection of unique elements.
+	   *
+	   * @private
+	   * @constructor
+	   *
+	   * @examples
+	   * var set  = new Set(),
+	   *     obj1 = {},
+	   *     obj2 = {},
+	   *     fn1 = function fn1() {},
+	   *     fn2 = function fn2() {};
+	   *
+	   * set.add('foo')            // => true
+	   * set.add('foo')            // => false
+	   * set.add(1)                // => true
+	   * set.add(1)                // => false
+	   * set.add('1')              // => true
+	   * set.add('1')              // => false
+	   * set.add(obj1)             // => true
+	   * set.add(obj1)             // => false
+	   * set.add(obj2)             // => true
+	   * set.add(fn1)              // => true
+	   * set.add(fn2)              // => true
+	   * set.add(fn2)              // => false
+	   * set.contains('__proto__') // => false
+	   * set.add('__proto__')      // => true
+	   * set.add('__proto__')      // => false
+	   * set.contains('add')       // => false
+	   * set.add('add')            // => true
+	   * set.add('add')            // => false
+	   * set.contains(undefined)   // => false
+	   * set.add(undefined)        // => true
+	   * set.contains(undefined)   // => true
+	   * set.contains('undefined') // => false
+	   * set.add('undefined')      // => true
+	   * set.contains('undefined') // => true
+	   * set.contains(NaN)         // => false
+	   * set.add(NaN)              // => true
+	   * set.contains(NaN)         // => true
+	   * set.contains('NaN')       // => false
+	   * set.add('NaN')            // => true
+	   * set.contains('NaN')       // => true
+	   * set.contains('@foo')      // => false
+	   * set.add('@foo')           // => true
+	   * set.contains('@foo')      // => true
+	   */
+	  function Set() {
+	    this.table   = {};
+	    this.objects = [];
+	  }
+
+	  /**
+	   * Attempts to add a unique value to the set.
+	   *
+	   * @param {*} value The value to add.
+	   * @returns {boolean} True if the value was added to the set (meaning an equal
+	   *     value was not already present), or else false.
+	   */
+	  Set.prototype.add = function add(value) {
+	    var table = this.table,
+	        type  = typeof value,
+
+	        // only applies for strings
+	        firstChar,
+
+	        // only applies for objects
+	        objects;
+
+	    switch (type) {
+	      case "number":
+	      case "boolean":
+	      case "undefined":
+	        if (!table[value]) {
+	          table[value] = true;
+	          return true;
+	        }
+	        return false;
+
+	      case "string":
+	        // Essentially, escape the first character if it could possibly collide
+	        // with a number, boolean, or undefined (or a string that happens to start
+	        // with the escape character!), OR if it could override a special property
+	        // such as '__proto__' or 'constructor'.
+	        switch (value.charAt(0)) {
+	          case "_": // e.g., __proto__
+	          case "f": // for 'false'
+	          case "t": // for 'true'
+	          case "c": // for 'constructor'
+	          case "u": // for 'undefined'
+	          case "@": // escaped
+	          case "0":
+	          case "1":
+	          case "2":
+	          case "3":
+	          case "4":
+	          case "5":
+	          case "6":
+	          case "7":
+	          case "8":
+	          case "9":
+	          case "N": // for NaN
+	            value = "@" + value;
+	        }
+	        if (!table[value]) {
+	          table[value] = true;
+	          return true;
+	        }
+	        return false;
+
+	      default:
+	        // For objects and functions, we can't really do anything other than store
+	        // them in an array and do a linear search for reference equality.
+	        objects = this.objects;
+	        if (!arrayContains(objects, value)) {
+	          objects.push(value);
+	          return true;
+	        }
+	        return false;
+	    }
+	  };
+
+	  /**
+	   * Checks whether the set contains a value.
+	   *
+	   * @param {*} value The value to check for.
+	   * @returns {boolean} True if the set contains the value, or else false.
+	   */
+	  Set.prototype.contains = function contains(value) {
+	    var type = typeof value,
+
+	        // only applies for strings
+	        firstChar;
+
+	    switch (type) {
+	      case "number":
+	      case "boolean":
+	      case "undefined":
+	        return !!this.table[value];
+
+	      case "string":
+	        // Essentially, escape the first character if it could possibly collide
+	        // with a number, boolean, or undefined (or a string that happens to start
+	        // with the escape character!), OR if it could override a special property
+	        // such as '__proto__' or 'constructor'.
+	        switch (value.charAt(0)) {
+	          case "_": // e.g., __proto__
+	          case "f": // for 'false'
+	          case "t": // for 'true'
+	          case "c": // for 'constructor'
+	          case "u": // for 'undefined'
+	          case "@": // escaped
+	          case "0":
+	          case "1":
+	          case "2":
+	          case "3":
+	          case "4":
+	          case "5":
+	          case "6":
+	          case "7":
+	          case "8":
+	          case "9":
+	          case "N": // for NaN
+	            value = "@" + value;
+	        }
+	        return !!this.table[value];
+
+	      default:
+	        // For objects and functions, we can't really do anything other than store
+	        // them in an array and do a linear search for reference equality.
+	        return arrayContains(this.objects, value);
+	    }
+	  };
+
+	  /**
+	   * A "rolling" queue, with a fixed capacity. As items are added to the head,
+	   * excess items are dropped from the tail.
+	   *
+	   * @private
+	   * @constructor
+	   *
+	   * @examples
+	   * var queue = new Queue(3);
+	   *
+	   * queue.add(1).toArray()        // => [1]
+	   * queue.add(2).toArray()        // => [1, 2]
+	   * queue.add(3).toArray()        // => [1, 2, 3]
+	   * queue.add(4).toArray()        // => [2, 3, 4]
+	   * queue.add(5).add(6).toArray() // => [4, 5, 6]
+	   * queue.add(7).add(8).toArray() // => [6, 7, 8]
+	   *
+	   * // also want to check corner cases
+	   * new Queue(1).add('foo').add('bar').toArray() // => ['bar']
+	   * new Queue(0).add('foo').toArray()            // => []
+	   * new Queue(-1)                                // throws
+	   *
+	   * @benchmarks
+	   * function populateQueue(count, capacity) {
+	   *   var q = new Queue(capacity);
+	   *   for (var i = 0; i < count; ++i) {
+	   *     q.add(i);
+	   *   }
+	   * }
+	   *
+	   * function populateArray(count, capacity) {
+	   *   var arr = [];
+	   *   for (var i = 0; i < count; ++i) {
+	   *     if (arr.length === capacity) { arr.shift(); }
+	   *     arr.push(i);
+	   *   }
+	   * }
+	   *
+	   * populateQueue(100, 10); // populating a Queue
+	   * populateArray(100, 10); // populating an Array
+	   */
+	  function Queue(capacity) {
+	    this.contents = new Array(capacity);
+	    this.start    = 0;
+	    this.count    = 0;
+	  }
+
+	  /**
+	   * Adds an item to the queue, and returns the queue.
+	   */
+	  Queue.prototype.add = function add(element) {
+	    var contents = this.contents,
+	        capacity = contents.length,
+	        start    = this.start;
+
+	    if (this.count === capacity) {
+	      contents[start] = element;
+	      this.start = (start + 1) % capacity;
+
+	    } else {
+	      contents[this.count++] = element;
+	    }
+
+	    return this;
+	  };
+
+	  /**
+	   * Returns an array containing snapshot of the queue's contents.
+	   */
+	  Queue.prototype.toArray = function toArray() {
+	    var contents = this.contents,
+	        start    = this.start,
+	        count    = this.count;
+
+	    var snapshot = contents.slice(start, start + count);
+	    if (snapshot.length < count) {
+	      snapshot = snapshot.concat(contents.slice(0, count - snapshot.length));
+	    }
+
+	    return snapshot;
+	  };
+
+	  /**
+	   * Shared base method for defining new sequence types.
+	   */
+	  function defineSequenceType(base, name, overrides) {
+	    /** @constructor */
+	    var ctor = function ctor() {};
+
+	    // Make this type inherit from the specified base.
+	    ctor.prototype = new base();
+
+	    // Attach overrides to the new sequence type's prototype.
+	    for (var override in overrides) {
+	      ctor.prototype[override] = overrides[override];
+	    }
+
+	    // Define a factory method that sets the new sequence's parent to the caller
+	    // and (optionally) applies any additional initialization logic.
+	    // Expose this as a chainable method so that we can do:
+	    // Lazy(...).map(...).filter(...).blah(...);
+	    var factory = function factory() {
+	      var sequence = new ctor();
+
+	      // Every sequence needs a reference to its parent in order to work.
+	      sequence.parent = this;
+
+	      // If a custom init function was supplied, call it now.
+	      if (sequence.init) {
+	        sequence.init.apply(sequence, arguments);
+	      }
+
+	      return sequence;
+	    };
+
+	    var methodNames = typeof name === 'string' ? [name] : name;
+	    for (var i = 0; i < methodNames.length; ++i) {
+	      base.prototype[methodNames[i]] = factory;
+	    }
+
+	    return ctor;
+	  }
+
+	  return Lazy;
+	});
+
+	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(322).setImmediate, __webpack_require__(322).clearImmediate))
+
+/***/ },
+/* 392 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _stringify = __webpack_require__(329);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _promise = __webpack_require__(332);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _assign = __webpack_require__(393);
+
+	var _assign2 = _interopRequireDefault(_assign);
+
+	var _classCallCheck2 = __webpack_require__(386);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(387);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Buffer = __webpack_require__(325).Buffer;
+
+	var Node = function () {
+	  function Node(payload, next) {
+	    (0, _classCallCheck3.default)(this, Node);
+
+	    this.payload = payload || null;
+	    this.hash = null;
+	    this.next = next ? next instanceof Array ? next : [next] : [];
+
+	    // Convert instances of Node to its hash
+	    this.next = this.next.map(function (f) {
+	      if (f instanceof Node) return f.hash;
+	      return f;
+	    });
+	  }
+
+	  (0, _createClass3.default)(Node, [{
+	    key: 'hasChild',
+	    value: function hasChild(a) {
+	      for (var i = 0; i < this.next.length; i++) {
+	        if (this.next[i] === a.hash) return true;
+	      }
+	      return false;
+	    }
+	  }, {
+	    key: 'asJson',
+	    get: function get() {
+	      var res = { payload: this.payload };
+	      var next = this.next.map(function (f) {
+	        if (f instanceof Node) return f.hash;
+	        return f;
+	      });
+	      (0, _assign2.default)(res, { next: next });
+	      return res;
+	    }
+	  }], [{
+	    key: 'create',
+	    value: function create(ipfs, data, next) {
+	      if (!ipfs) throw new Error("Node requires ipfs instance");
+	      return new _promise2.default(function (resolve, reject) {
+	        var node = new Node(data, next);
+	        Node.getIpfsHash(ipfs, node).then(function (hash) {
+	          node.hash = hash;
+	          resolve(node);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'fromIpfsHash',
+	    value: function fromIpfsHash(ipfs, hash) {
+	      if (!ipfs) throw new Error("Node requires ipfs instance");
+	      if (!hash) throw new Error("Invalid hash: " + hash);
+	      return new _promise2.default(function (resolve, reject) {
+	        ipfs.object.get(hash).then(function (obj) {
+	          var f = JSON.parse(obj.Data);
+	          Node.create(ipfs, f.payload, f.next).then(resolve).catch(reject);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'getIpfsHash',
+	    value: function getIpfsHash(ipfs, node) {
+	      if (!ipfs) throw new Error("Node requires ipfs instance");
+	      return new _promise2.default(function (resolve, reject) {
+	        ipfs.object.put(new Buffer((0, _stringify2.default)({ Data: (0, _stringify2.default)(node.asJson) }))).then(function (res) {
+	          return resolve(res.Hash);
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'equals',
+	    value: function equals(a, b) {
+	      return a.hash === b.hash;
+	    }
+	  }]);
+	  return Node;
+	}();
+
+	module.exports = Node;
+
+/***/ },
+/* 393 */
+/***/ function(module, exports, __webpack_require__) {
+
+	module.exports = { "default": __webpack_require__(394), __esModule: true };
+
+/***/ },
+/* 394 */
+/***/ function(module, exports, __webpack_require__) {
+
+	__webpack_require__(395);
+	module.exports = __webpack_require__(331).Object.assign;
+
+/***/ },
+/* 395 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.3.1 Object.assign(target, source)
+	var $export = __webpack_require__(341);
+
+	$export($export.S + $export.F, 'Object', {assign: __webpack_require__(396)});
+
+/***/ },
+/* 396 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 19.1.2.1 Object.assign(target, source, ...)
+	var $        = __webpack_require__(347)
+	  , toObject = __webpack_require__(397)
+	  , IObject  = __webpack_require__(363);
+
+	// should work with symbols and should have deterministic property order (V8 bug)
+	module.exports = __webpack_require__(350)(function(){
+	  var a = Object.assign
+	    , A = {}
+	    , B = {}
+	    , S = Symbol()
+	    , K = 'abcdefghijklmnopqrst';
+	  A[S] = 7;
+	  K.split('').forEach(function(k){ B[k] = k; });
+	  return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
+	}) ? function assign(target, source){ // eslint-disable-line no-unused-vars
+	  var T     = toObject(target)
+	    , $$    = arguments
+	    , $$len = $$.length
+	    , index = 1
+	    , getKeys    = $.getKeys
+	    , getSymbols = $.getSymbols
+	    , isEnum     = $.isEnum;
+	  while($$len > index){
+	    var S      = IObject($$[index++])
+	      , keys   = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
+	      , length = keys.length
+	      , j      = 0
+	      , key;
+	    while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
+	  }
+	  return T;
+	} : Object.assign;
+
+/***/ },
+/* 397 */
+/***/ function(module, exports, __webpack_require__) {
+
+	// 7.1.13 ToObject(argument)
+	var defined = __webpack_require__(338);
+	module.exports = function(it){
+	  return Object(defined(it));
+	};
+
+/***/ },
+/* 398 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _promise = __webpack_require__(238);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(259);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var OpTypes = __webpack_require__(399);
+	var OrbitDBItem = __webpack_require__(400);
+	var Post = __webpack_require__(404);
+
+	var Operation = function () {
+	  function Operation() {
+	    (0, _classCallCheck3.default)(this, Operation);
+	  }
+
+	  (0, _createClass3.default)(Operation, null, [{
+	    key: 'create',
+	    value: function create(ipfs, log, user, operation, key, value, data) {
+	      return new _promise2.default(function (resolve, reject) {
+	        var post = void 0;
+	        Operation._createOperation(ipfs, user, operation, key, value).then(function (op) {
+	          post = op.Post;
+	          return log.add(op.Hash);
+	        }).then(function (node) {
+	          return resolve({ node: node, op: post });
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: '_createOperation',
+	    value: function _createOperation(ipfs, user, operation, key, value) {
+	      return new _promise2.default(function (resolve, reject) {
+	        var data = {
+	          operation: operation,
+	          key: key,
+	          value: value
+	        };
+	        Post.create(ipfs, Post.Types.OrbitDBItem, data).then(resolve).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'Types',
+	    get: function get() {
+	      return OpTypes;
+	    }
+	  }]);
+	  return Operation;
+	}();
+
+	module.exports = Operation;
+
+/***/ },
+/* 399 */
+/***/ function(module, exports) {
+
+	'use strict';
+
+	var OpTypes = {
+	  Add: "ADD",
+	  Put: "PUT",
+	  Delete: "DELETE",
+	  isInsert: function isInsert(op) {
+	    return op === "ADD" || op === "PUT";
+	  },
+	  isDelete: function isDelete(op) {
+	    return op === "DELETE";
+	  }
+	};
+
+	module.exports = OpTypes;
+
+/***/ },
+/* 400 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _getPrototypeOf = __webpack_require__(88);
+
+	var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _possibleConstructorReturn2 = __webpack_require__(401);
+
+	var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
+
+	var _inherits2 = __webpack_require__(402);
+
+	var _inherits3 = _interopRequireDefault(_inherits2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Post = __webpack_require__(403);
+
+	var OrbitDBItem = function (_Post) {
+	  (0, _inherits3.default)(OrbitDBItem, _Post);
+
+	  function OrbitDBItem(operation, key, value) {
+	    (0, _classCallCheck3.default)(this, OrbitDBItem);
+
+	    var _this = (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(OrbitDBItem).call(this, "orbit-db-op"));
+
+	    _this.op = operation;
+	    _this.key = key;
+	    _this.value = value;
+	    return _this;
+	  }
+
+	  return OrbitDBItem;
+	}(Post);
+
+	/*
+	class HashCacheItem {
+	  constructor(operation, key, sequenceNumber, targetHash, metaInfo, next) {
+	    this.op     = operation;
+	    this.seq    = sequenceNumber;
+	    this.key    = key;
+	    this.target = targetHash;
+	    this.meta   = metaInfo;
+	    this.next   = next;
+	  }
+	}
+
+	class EncryptedHashCacheItem extends HashCacheItem {
+	  constructor(operation, key, sequenceNumber, targetHash, metaInfo, next, publicKey, privateKey, salt) {
+	    if(key)
+	      key = Encryption.encrypt(key, privateKey, publicKey);
+
+	    super(operation, key, sequenceNumber, targetHash, metaInfo, next);
+
+	    try {
+	      this.pubkey = publicKey;
+	      this.target = Encryption.encrypt(targetHash, privateKey, publicKey);
+	      this.meta   = Encryption.encrypt(JSON.stringify(metaInfo), privateKey, publicKey);
+	      this.sig    = Encryption.sign(this.target, privateKey, this.seq, salt || "");
+	    } catch(e) {
+	      console.log("Failed to create HashCacheItem:", e);
+	    }
+	  }
+
+	  static fromEncrypted(encryptedItem, publicKey, privateKey, salt) {
+	    let data = JSON.parse(encryptedItem.Data);
+
+	    // verify signature
+	    const verified = Encryption.verify(data.target, data.pubkey, data.sig, data.seq, salt);
+	    if(!verified) throw "Invalid signature"
+
+	    // link to the next item
+	    const next = encryptedItem.Links[0] ? encryptedItem.Links[0].Hash : null;
+
+	    // decrypt data structure
+	    const targetDec = Encryption.decrypt(data.target, privateKey, 'TODO: pubkey');
+	    const metaDec   = Encryption.decrypt(data.meta, privateKey, 'TODO: pubkey');
+	    data.target     = targetDec;
+	    data.meta       = JSON.parse(metaDec);
+
+	    if(data.key)
+	      data.key = Encryption.decrypt(data.key, privateKey, 'TODO: pubkey');
+
+	    const item = new HashCacheItem(data.op, data.key, data.seq, data.target, data.meta, next, publicKey, privateKey, salt);
+	    return item;
+	  }
+	}
+	*/
+
+
+	module.exports = OrbitDBItem;
+
+/***/ },
+/* 401 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	exports.__esModule = true;
+
+	var _typeof2 = __webpack_require__(91);
+
+	var _typeof3 = _interopRequireDefault(_typeof2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	exports.default = function (self, call) {
+	  if (!self) {
+	    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
+	  }
+
+	  return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
+	};
+
+/***/ },
+/* 402 */
+/***/ function(module, exports, __webpack_require__) {
+
+	"use strict";
+
+	var _Object$create = __webpack_require__(86)["default"];
+
+	var _Object$setPrototypeOf = __webpack_require__(130)["default"];
+
+	exports["default"] = function (subClass, superClass) {
+	  if (typeof superClass !== "function" && superClass !== null) {
+	    throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
+	  }
+
+	  subClass.prototype = _Object$create(superClass && superClass.prototype, {
+	    constructor: {
+	      value: subClass,
+	      enumerable: false,
+	      writable: true,
+	      configurable: true
+	    }
+	  });
+	  if (superClass) _Object$setPrototypeOf ? _Object$setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
+	};
+
+	exports.__esModule = true;
+
+/***/ },
+/* 403 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	// Base class
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Post = function Post(type) {
+	  (0, _classCallCheck3.default)(this, Post);
+
+	  this.type = type;
+	};
+
+	module.exports = Post;
+
+/***/ },
+/* 404 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _stringify = __webpack_require__(71);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _promise = __webpack_require__(238);
+
+	var _promise2 = _interopRequireDefault(_promise);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(259);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Buffer = __webpack_require__(2).Buffer;
+	var Post = __webpack_require__(403);
+	var TextPost = __webpack_require__(405);
+	var FilePost = __webpack_require__(406);
+	var DirectoryPost = __webpack_require__(407);
+	var OrbitDBItem = __webpack_require__(400);
+	var MetaInfo = __webpack_require__(408);
+	var Poll = __webpack_require__(409);
+
+	var PostTypes = {
+	  Message: TextPost,
+	  Snippet: "snippet",
+	  File: FilePost,
+	  Directory: DirectoryPost,
+	  Link: "link",
+	  OrbitDBItem: OrbitDBItem,
+	  Poll: Poll
+	};
+
+	// Factory
+
+	var Posts = function () {
+	  function Posts() {
+	    (0, _classCallCheck3.default)(this, Posts);
+	  }
+
+	  (0, _createClass3.default)(Posts, null, [{
+	    key: 'create',
+	    value: function create(ipfs, type, data) {
+	      return new _promise2.default(function (resolve, reject) {
+	        var post = void 0;
+
+	        if (type === PostTypes.Message) {
+	          post = new PostTypes.Message(data.content);
+	        } else if (type === PostTypes.File) {
+	          post = new PostTypes.File(data.name, data.hash, data.size);
+	        } else if (type == PostTypes.Directory) {
+	          post = new PostTypes.Directory(data.name, data.hash, data.size);
+	        } else if (type == PostTypes.OrbitDBItem) {
+	          post = new PostTypes.OrbitDBItem(data.operation, data.key, data.value);
+	        } else if (type == PostTypes.Poll) {
+	          post = new PostTypes.Poll(data.question, data.options);
+	        }
+
+	        var size = data.size ? data.size : Buffer.byteLength(data, 'utf8');
+	        post.meta = new MetaInfo(post.type, size, new Date().getTime(), data.from);
+	        if (post.type) delete post.type;
+	        ipfs.object.put(new Buffer((0, _stringify2.default)({ Data: (0, _stringify2.default)(post) })), "json").then(function (res) {
+	          return resolve({ Post: post, Hash: res.Hash });
+	        }).catch(reject);
+	      });
+	    }
+	  }, {
+	    key: 'Types',
+	    get: function get() {
+	      return PostTypes;
+	    }
+	  }]);
+	  return Posts;
+	}();
+
+	module.exports = Posts;
+
+/***/ },
+/* 405 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _getPrototypeOf = __webpack_require__(88);
+
+	var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _possibleConstructorReturn2 = __webpack_require__(401);
+
+	var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
+
+	var _inherits2 = __webpack_require__(402);
+
+	var _inherits3 = _interopRequireDefault(_inherits2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Post = __webpack_require__(403);
+	// const Encryption = require('orbit-common/lib/Encryption');
+
+	// Simplest type of post: a string
+
+	var TextPost = function (_Post) {
+	  (0, _inherits3.default)(TextPost, _Post);
+
+	  function TextPost(content) {
+	    (0, _classCallCheck3.default)(this, TextPost);
+
+	    var _this = (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(TextPost).call(this, "text"));
+
+	    _this.content = content;
+	    return _this;
+	  }
+
+	  // encrypt(privkey, pubkey) {
+	  //   this.content = Encryption.encrypt(this.content, privkey, pubkey);
+	  // }
+
+
+	  return TextPost;
+	}(Post);
+
+	module.exports = TextPost;
+
+/***/ },
+/* 406 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _getPrototypeOf = __webpack_require__(88);
+
+	var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _possibleConstructorReturn2 = __webpack_require__(401);
+
+	var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
+
+	var _inherits2 = __webpack_require__(402);
+
+	var _inherits3 = _interopRequireDefault(_inherits2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Post = __webpack_require__(403);
+
+	// A reference to a file
+
+	var FilePost = function (_Post) {
+	  (0, _inherits3.default)(FilePost, _Post);
+
+	  function FilePost(name, hash, size) {
+	    (0, _classCallCheck3.default)(this, FilePost);
+
+	    var _this = (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(FilePost).call(this, "file"));
+
+	    _this.name = name;
+	    _this.hash = hash;
+	    _this.size = size;
+	    return _this;
+	  }
+
+	  return FilePost;
+	}(Post);
+
+	module.exports = FilePost;
+
+/***/ },
+/* 407 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _getPrototypeOf = __webpack_require__(88);
+
+	var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _possibleConstructorReturn2 = __webpack_require__(401);
+
+	var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
+
+	var _inherits2 = __webpack_require__(402);
+
+	var _inherits3 = _interopRequireDefault(_inherits2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Post = __webpack_require__(403);
+
+	// A reference to a file
+
+	var DirectoryPost = function (_Post) {
+	  (0, _inherits3.default)(DirectoryPost, _Post);
+
+	  function DirectoryPost(name, hash, size) {
+	    (0, _classCallCheck3.default)(this, DirectoryPost);
+
+	    var _this = (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(DirectoryPost).call(this, "directory"));
+
+	    _this.name = name;
+	    _this.hash = hash;
+	    _this.size = size;
+	    return _this;
+	  }
+
+	  return DirectoryPost;
+	}(Post);
+
+	module.exports = DirectoryPost;
+
+/***/ },
+/* 408 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var MetaInfo = function MetaInfo(type, size, ts, from) {
+	  (0, _classCallCheck3.default)(this, MetaInfo);
+
+	  this.type = type;
+	  this.size = size;
+	  this.ts = ts;
+	  this.from = from || '';
+	};
+
+	module.exports = MetaInfo;
+
+/***/ },
+/* 409 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _getPrototypeOf = __webpack_require__(88);
+
+	var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _possibleConstructorReturn2 = __webpack_require__(401);
+
+	var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
+
+	var _inherits2 = __webpack_require__(402);
+
+	var _inherits3 = _interopRequireDefault(_inherits2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var Post = __webpack_require__(403);
+
+	// A poll / vote
+
+	var Poll = function (_Post) {
+	  (0, _inherits3.default)(Poll, _Post);
+
+	  function Poll(question, options) {
+	    (0, _classCallCheck3.default)(this, Poll);
+
+	    var _this = (0, _possibleConstructorReturn3.default)(this, (0, _getPrototypeOf2.default)(Poll).call(this, "poll"));
+
+	    _this.question = question;
+	    _this.options = options;
+	    return _this;
+	  }
+
+	  return Poll;
+	}(Post);
+
+	module.exports = Poll;
+
+/***/ },
+/* 410 */
+/***/ function(module, exports, __webpack_require__) {
+
+	'use strict';
+
+	var _stringify = __webpack_require__(71);
+
+	var _stringify2 = _interopRequireDefault(_stringify);
+
+	var _classCallCheck2 = __webpack_require__(258);
+
+	var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
+
+	var _createClass2 = __webpack_require__(259);
+
+	var _createClass3 = _interopRequireDefault(_createClass2);
+
+	function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+
+	var fs = __webpack_require__(186);
+	var path = __webpack_require__(28);
+	var logger = __webpack_require__(199).create("orbit-db.Cache");
+
+	var defaultFilepath = path.resolve('./orbit-db-cache.json');
+	var filePath = defaultFilepath;
+	var cache = {};
+
+	var Cache = function () {
+	  function Cache() {
+	    (0, _classCallCheck3.default)(this, Cache);
+	  }
+
+	  (0, _createClass3.default)(Cache, null, [{
+	    key: 'set',
+	    value: function set(key, value) {
+	      cache[key] = value;
+	      fs.writeFileSync(filePath, (0, _stringify2.default)(cache, null, 2) + "\n");
+	    }
+	  }, {
+	    key: 'get',
+	    value: function get(key) {
+	      return cache[key];
+	    }
+	  }, {
+	    key: 'loadCache',
+	    value: function loadCache(cacheFile) {
+	      filePath = cacheFile ? cacheFile : defaultFilepath;
+	      if (fs.existsSync(filePath)) {
+	        logger.debug('Load cache from', filePath);
+	        cache = JSON.parse(fs.readFileSync(filePath));
+	      }
+	    }
+	  }]);
+	  return Cache;
+	}();
+
+	module.exports = Cache;
+
+/***/ }
+/******/ ]);
\ No newline at end of file
diff --git a/examples/index.html b/examples/index.html
new file mode 100644
index 0000000..1d22b41
--- /dev/null
+++ b/examples/index.html
@@ -0,0 +1,8 @@
+<html>
+  <head>
+    <meta charset="utf-8">
+  </head>
+  <body>
+    <script type="text/javascript" src="bundle.js" charset="utf-8"></script>
+  </body>
+</html>
diff --git a/package.json b/package.json
index c53bea1..e39a3d4 100644
--- a/package.json
+++ b/package.json
@@ -13,20 +13,33 @@
   },
   "main": "src/Client.js",
   "dependencies": {
+    "buffer": "^4.5.1",
     "ipfs-log": "^1.1.5",
     "lazy.js": "^0.4.2",
     "logplease": "^1.2.2",
-    "orbit-common": "^0.2.4",
     "socket.io-client": "^1.4.5"
   },
   "devDependencies": {
     "asyncawait": "^1.0.1",
+    "babel-core": "^6.7.6",
+    "babel-loader": "^6.2.4",
+    "babel-plugin-transform-runtime": "^6.7.5",
+    "babel-preset-es2015": "^6.6.0",
     "eslint": "^2.3.0",
+    "ipfs-api": "^3.0.0",
+    "ipfsd-ctl": "^0.10.1",
+    "json-loader": "^0.5.4",
     "lodash": "^4.3.0",
-    "mocha": "^2.3.4"
+    "logplease": "^1.2.2",
+    "mocha": "^2.4.5",
+    "stream-http": "^2.2.1",
+    "webpack": "^1.12.15"
   },
   "scripts": {
     "test": "mocha",
-    "lint": "$(npm bin)/eslint ./src || true"
+    "lint": "$(npm bin)/eslint ./src || true",
+    "build": "npm run build:dist && npm run build:examples",
+    "build:dist": "./node_modules/.bin/webpack --config webpack.config.js",
+    "build:examples": "./node_modules/.bin/webpack --config webpack.example.config.js"
   }
 }
diff --git a/src/post/Post.js b/src/post/Post.js
index c7c83aa..04952d2 100644
--- a/src/post/Post.js
+++ b/src/post/Post.js
@@ -1,5 +1,6 @@
 'use strict';
 
+const Buffer        = require('buffer').Buffer;
 const Post          = require('./BasePost');
 const TextPost      = require('./TextPost');
 const FilePost      = require('./FilePost');
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100644
index 0000000..c6c600d
--- /dev/null
+++ b/webpack.config.js
@@ -0,0 +1,59 @@
+const webpack = require('webpack');
+
+module.exports = {
+  entry: './src/Client.js',
+  output: {
+    libraryTarget: 'var',
+    library: 'OrbitDB',
+    filename: './dist/orbitdb.min.js'
+  },
+  node: {
+    console: false,
+    process: 'mock',
+    Buffer: 'buffer'
+  },
+  plugins: [
+    new webpack.optimize.UglifyJsPlugin({
+      mangle: true,
+      compress: { warnings: false }
+    })
+  ],
+  resolve: {
+    modulesDirectories: [
+      'node_modules'
+    ],
+    alias: {
+      fs: require.resolve('./node_modules/logplease/src/fs-mock'),
+      http: 'stream-http',
+      https: 'https-browserify',
+      Buffer: 'buffer'
+    }
+  },
+  module: {
+    loaders: [{
+      test: /\.js$/,
+      exclude: /node_modules/,
+      loader: 'babel',
+      query: {
+        presets: ['es2015'],
+        plugins: ['transform-runtime']
+      }
+    }, {
+      test: /\.js$/,
+      include: /node_modules\/(hoek|qs|wreck|boom)/,
+      loader: 'babel',
+      query: {
+        presets: ['es2015'],
+        plugins: ['transform-runtime']
+      }
+    }, {
+      test: /\.json$/,
+      loader: 'json'
+    }]
+  },
+  externals: {
+    net: '{}',
+    tls: '{}',
+    'require-dir': '{}'
+  }
+};
diff --git a/webpack.example.config.js b/webpack.example.config.js
new file mode 100644
index 0000000..4f8dd72
--- /dev/null
+++ b/webpack.example.config.js
@@ -0,0 +1,51 @@
+const webpack = require('webpack');
+
+module.exports = {
+  entry: './examples/browser.js',
+  output: {
+    filename: './examples/bundle.js'
+  },
+  node: {
+    console: false,
+    process: 'mock',
+    Buffer: 'buffer'
+  },
+  resolve: {
+    modulesDirectories: [
+      'node_modules'
+    ],
+    alias: {
+      fs: require.resolve('./node_modules/logplease/src/fs-mock'),
+      http: 'stream-http',
+      https: 'https-browserify',
+      Buffer: 'buffer'
+    }
+  },
+  module: {
+    loaders: [{
+      test: /\.js$/,
+      exclude: /node_modules/,
+      loader: 'babel',
+      query: {
+        presets: ['es2015'],
+        plugins: ['transform-runtime']
+      }
+    }, {
+      test: /\.js$/,
+      include: /node_modules\/(hoek|qs|wreck|boom)/,
+      loader: 'babel',
+      query: {
+        presets: ['es2015'],
+        plugins: ['transform-runtime']
+      }
+    }, {
+      test: /\.json$/,
+      loader: 'json'
+    }]
+  },
+  externals: {
+    net: '{}',
+    tls: '{}',
+    'require-dir': '{}'
+  }
+};