Skip to content

Instantly share code, notes, and snippets.

@joyrexus
Forked from max-mapper/index.js
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joyrexus/a5913593e6b1d12683ea to your computer and use it in GitHub Desktop.
Save joyrexus/a5913593e6b1d12683ea to your computer and use it in GitHub Desktop.
Load and render a remote CSV
var bcsv = require('binary-csv')
var xhr = require('xhr')
var bops = require('bops')
var through = require('through')
var url = require('url')
var createTable = require('data-table')
var insertCSS = require('insert-css')
var concat = require('concat-stream')
var Buffer = require('buffer').Buffer
insertCSS(createTable.css)
var parsedURL = url.parse(window.location.href, true)
var csv = parsedURL.query.csv || 'http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.csv'
xhr({ responseType: 'arraybuffer', url: 'http://cors.maxogden.com/' + csv }, response)
function response(err, resp, data) {
if (err) throw err
var buff = new Buffer(new Uint8Array(data))
var parser = bcsv({json: true})
parser.pipe(concat(render))
parser.write(buff)
parser.end()
}
function render(rows) {
var table = createTable(rows)
table.appendTo(document.body)
}
function response(e,t,n){if(e)throw e;var r=new Buffer(new Uint8Array(n)),i=bcsv({json:!0});i.pipe(concat(render)),i.write(r),i.end()}function render(e){var t=createTable(e);t.appendTo(document.body)}require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({1:[function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(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,i,s,u,f;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw t=arguments[1],t instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(n=this._events[e],a(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:for(i=arguments.length,s=Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];n.apply(this,s)}else if(o(n)){for(i=arguments.length,s=Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];for(f=n.slice(),i=f.length,u=0;i>u;u++)f[u].apply(this,s)}return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned){var i;i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(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),console.trace())}return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(s=a;s-->0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(0>i)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,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 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.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?r(e._events[t])?1:e._events[t].length:0}},{}],2:[function(e,t){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],3:[function(e,t){var n=t.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw Error("process.chdir is not supported")}},{}],4:[function(e,t,n){function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);var i=typeof e;if("base64"===t&&"string"===i)for(e=S(e);0!==e.length%4;)e+="=";var o;if("number"===i)o=x(e);else if("string"===i)o=r.byteLength(e,t);else{if("object"!==i)throw Error("First argument needs to be a number, array or string.");o=x(e.length)}var a;r._useTypedArrays?a=B(new Uint8Array(o)):(a=this,a.length=o,a._isBuffer=!0);var s;if(r._useTypedArrays&&"function"==typeof Uint8Array&&e instanceof Uint8Array)a._set(e);else if(k(e))for(s=0;o>s;s++)a[s]=r.isBuffer(e)?e.readUInt8(s):e[s];else if("string"===i)a.write(e,0,t);else if("number"===i&&!r._useTypedArrays&&!n)for(s=0;o>s;s++)a[s]=0;return a}function i(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i),i>o&&(i=o)):i=o;var a=t.length;P(0===a%2,"Invalid hex string"),i>a/2&&(i=a/2);for(var s=0;i>s;s++){var u=parseInt(t.substr(2*s,2),16);P(!isNaN(u),"Invalid hex string"),e[n+s]=u}return r._charsWritten=2*s,s}function o(e,t,n,i){var o=r._charsWritten=O(T(t),e,n,i);return o}function a(e,t,n,i){var o=r._charsWritten=O(C(t),e,n,i);return o}function s(e,t,n,r){return a(e,t,n,r)}function u(e,t,n,i){var o=r._charsWritten=O(R(t),e,n,i);return o}function f(e,t,n){return 0===t&&n===e.length?q.fromByteArray(e):q.fromByteArray(e.slice(t,n))}function h(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;n>o;o++)127>=e[o]?(r+=N(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+N(i)}function l(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function c(e,t,n){return l(e,t,n)}function d(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=M(e[o]);return i}function p(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function g(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(i>t+2&&(o=e[t+2]<<16),i>t+1&&(o|=e[t+1]<<8),o|=e[t],i>t+3&&(o+=e[t+3]<<24>>>0)):(i>t+1&&(o=e[t+1]<<16),i>t+2&&(o|=e[t+2]<<8),i>t+3&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}}function v(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=p(e,t,n,!0),a=32768&o;return a?-1*(65535-o+1):o}}function b(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=g(e,t,n,!0),a=2147483648&o;return a?-1*(4294967295-o+1):o}}function y(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(e.length>t+3,"Trying to read beyond buffer length")),z.read(e,t,n,23,4)}function m(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(e.length>t+7,"Trying to read beyond buffer length")),z.read(e,t,n,52,8)}function w(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+1,"trying to write beyond buffer length"),D(t,65535));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,2);s>a;a++)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function E(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+3,"trying to write beyond buffer length"),D(t,4294967295));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,4);s>a;a++)e[n+a]=255&t>>>8*(r?a:3-a)}function _(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+1,"Trying to write beyond buffer length"),F(t,32767,-32768));var o=e.length;n>=o||(t>=0?w(e,t,n,r,i):w(e,65535+t+1,n,r,i))}function L(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+3,"Trying to write beyond buffer length"),F(t,2147483647,-2147483648));var o=e.length;n>=o||(t>=0?E(e,t,n,r,i):E(e,4294967295+t+1,n,r,i))}function I(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+3,"Trying to write beyond buffer length"),W(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;n>=o||z.write(e,t,n,r,23,4)}function A(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+7,"Trying to write beyond buffer length"),W(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;n>=o||z.write(e,t,n,r,52,8)}function S(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function B(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=H.get,e.set=H.set,e.write=H.write,e.toString=H.toString,e.toLocaleString=H.toString,e.toJSON=H.toJSON,e.copy=H.copy,e.slice=H.slice,e.readUInt8=H.readUInt8,e.readUInt16LE=H.readUInt16LE,e.readUInt16BE=H.readUInt16BE,e.readUInt32LE=H.readUInt32LE,e.readUInt32BE=H.readUInt32BE,e.readInt8=H.readInt8,e.readInt16LE=H.readInt16LE,e.readInt16BE=H.readInt16BE,e.readInt32LE=H.readInt32LE,e.readInt32BE=H.readInt32BE,e.readFloatLE=H.readFloatLE,e.readFloatBE=H.readFloatBE,e.readDoubleLE=H.readDoubleLE,e.readDoubleBE=H.readDoubleBE,e.writeUInt8=H.writeUInt8,e.writeUInt16LE=H.writeUInt16LE,e.writeUInt16BE=H.writeUInt16BE,e.writeUInt32LE=H.writeUInt32LE,e.writeUInt32BE=H.writeUInt32BE,e.writeInt8=H.writeInt8,e.writeInt16LE=H.writeInt16LE,e.writeInt16BE=H.writeInt16BE,e.writeInt32LE=H.writeInt32LE,e.writeInt32BE=H.writeInt32BE,e.writeFloatLE=H.writeFloatLE,e.writeFloatBE=H.writeFloatBE,e.writeDoubleLE=H.writeDoubleLE,e.writeDoubleBE=H.writeDoubleBE,e.fill=H.fill,e.inspect=H.inspect,e.toArrayBuffer=H.toArrayBuffer,e}function j(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function x(e){return e=~~Math.ceil(+e),0>e?0:e}function U(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function k(e){return U(e)||r.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function M(e){return 16>e?"0"+e.toString(16):e.toString(16)}function T(e){for(var t=[],n=0;e.length>n;n++){var r=e.charCodeAt(n);if(127>=r)t.push(e.charCodeAt(n));else{var i=n;r>=55296&&57343>=r&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),a=0;o.length>a;a++)t.push(parseInt(o[a],16))}}return t}function C(e){for(var t=[],n=0;e.length>n;n++)t.push(255&e.charCodeAt(n));return t}function R(e){return q.toByteArray(e)}function O(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function N(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function D(e,t){P("number"==typeof e,"cannot write a non-number as a number"),P(e>=0,"specified a negative value for writing an unsigned value"),P(t>=e,"value is larger than maximum value for type"),P(Math.floor(e)===e,"value has a fractional component")}function F(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=n,"value smaller than minimum allowed value"),P(Math.floor(e)===e,"value has a fractional component")}function W(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=n,"value smaller than minimum allowed value")}function P(e,t){if(!e)throw Error(t||"Failed assertion")}var q=e("base64-js"),z=e("ieee754");n.Buffer=r,n.SlowBuffer=r,n.INSPECT_MAX_BYTES=50,r.poolSize=8192,r._useTypedArrays=function(){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer)return!1;try{var e=new Uint8Array(0);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),r.isEncoding=function(e){switch((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}},r.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},r.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=T(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=R(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n},r.concat=function(e,t){if(P(U(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new r(0);if(1===e.length)return e[0];var n;if("number"!=typeof t)for(t=0,n=0;e.length>n;n++)t+=e[n].length;var i=new r(t),o=0;for(n=0;e.length>n;n++){var a=e[n];a.copy(i,o),o+=a.length}return i},r.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var f=r;r=t,t=n,n=f}t=Number(t)||0;var h=this.length-t;switch(n?(n=Number(n),n>h&&(n=h)):n=h,r=((r||"utf8")+"").toLowerCase()){case"hex":return i(this,e,t,n);case"utf8":case"utf-8":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o(this,e,t,n);case"ascii":return a(this,e,t,n);case"binary":return s(this,e,t,n);case"base64":return u(this,e,t,n);default:throw Error("Unknown encoding")}},r.prototype.toString=function(e,t,n){var r=this;if(e=((e||"utf8")+"").toLowerCase(),t=Number(t)||0,n=void 0!==n?Number(n):n=r.length,n===t)return"";switch(e){case"hex":return d(r,t,n);case"utf8":case"utf-8":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(r,t,n);case"ascii":return l(r,t,n);case"binary":return c(r,t,n);case"base64":return f(r,t,n);default:throw Error("Unknown encoding")}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},r.prototype.copy=function(e,t,n,r){var i=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==i.length){P(r>=n,"sourceEnd < sourceStart"),P(t>=0&&e.length>t,"targetStart out of bounds"),P(n>=0&&i.length>n,"sourceStart out of bounds"),P(r>=0&&i.length>=r,"sourceEnd out of bounds"),r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);for(var o=0;r-n>o;o++)e[o+t]=this[o+n]}},r.prototype.slice=function(e,t){var n=this.length;if(e=j(e,n,0),t=j(t,n,n),r._useTypedArrays)return B(this.subarray(e,t));for(var i=t-e,o=new r(i,void 0,!0),a=0;i>a;a++)o[a]=this[a+e];return o},r.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},r.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},r.prototype.readUInt8=function(e,t){return t||(P(void 0!==e&&null!==e,"missing offset"),P(this.length>e,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},r.prototype.readUInt16LE=function(e,t){return p(this,e,!0,t)},r.prototype.readUInt16BE=function(e,t){return p(this,e,!1,t)},r.prototype.readUInt32LE=function(e,t){return g(this,e,!0,t)},r.prototype.readUInt32BE=function(e,t){return g(this,e,!1,t)},r.prototype.readInt8=function(e,t){if(t||(P(void 0!==e&&null!==e,"missing offset"),P(this.length>e,"Trying to read beyond buffer length")),!(e>=this.length)){var n=128&this[e];return n?-1*(255-this[e]+1):this[e]}},r.prototype.readInt16LE=function(e,t){return v(this,e,!0,t)},r.prototype.readInt16BE=function(e,t){return v(this,e,!1,t)},r.prototype.readInt32LE=function(e,t){return b(this,e,!0,t)},r.prototype.readInt32BE=function(e,t){return b(this,e,!1,t)},r.prototype.readFloatLE=function(e,t){return y(this,e,!0,t)},r.prototype.readFloatBE=function(e,t){return y(this,e,!1,t)},r.prototype.readDoubleLE=function(e,t){return m(this,e,!0,t)},r.prototype.readDoubleBE=function(e,t){return m(this,e,!1,t)},r.prototype.writeUInt8=function(e,t,n){n||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(this.length>t,"trying to write beyond buffer length"),D(e,255)),t>=this.length||(this[t]=e)},r.prototype.writeUInt16LE=function(e,t,n){w(this,e,t,!0,n)},r.prototype.writeUInt16BE=function(e,t,n){w(this,e,t,!1,n)},r.prototype.writeUInt32LE=function(e,t,n){E(this,e,t,!0,n)},r.prototype.writeUInt32BE=function(e,t,n){E(this,e,t,!1,n)},r.prototype.writeInt8=function(e,t,n){n||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(this.length>t,"Trying to write beyond buffer length"),F(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},r.prototype.writeInt16LE=function(e,t,n){_(this,e,t,!0,n)},r.prototype.writeInt16BE=function(e,t,n){_(this,e,t,!1,n)},r.prototype.writeInt32LE=function(e,t,n){L(this,e,t,!0,n)},r.prototype.writeInt32BE=function(e,t,n){L(this,e,t,!1,n)},r.prototype.writeFloatLE=function(e,t,n){I(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){I(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){A(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){A(this,e,t,!1,n)},r.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),P("number"==typeof e&&!isNaN(e),"value is not a number"),P(n>=t,"end < start"),n!==t&&0!==this.length){P(t>=0&&this.length>t,"start out of bounds"),P(n>=0&&this.length>=n,"end out of bounds");for(var r=t;n>r;r++)this[r]=e}},r.prototype.inspect=function(){for(var e=[],t=this.length,r=0;t>r;r++)if(e[r]=M(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},r.prototype.toArrayBuffer=function(){if("function"==typeof Uint8Array){if(r._useTypedArrays)return new r(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser")};var H=r.prototype},{"base64-js":5,ieee754:6}],5:[function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(){"use strict";function e(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:h+26>t?t-h:f+26>t?t-f+26:void 0}function r(t){function n(e){f[l++]=e}var r,i,a,s,u,f;if(t.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");var h=t.length;u="="===t.charAt(h-2)?2:"="===t.charAt(h-1)?1:0,f=new o(3*t.length/4-u),a=u>0?t.length-4:t.length;var l=0;for(r=0,i=0;a>r;r+=4,i+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(255&s>>8),n(255&s)),f}function i(e){function t(e){return n.charAt(e)}function r(e){return t(63&e>>18)+t(63&e>>12)+t(63&e>>6)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(63&o<<4),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(63&o>>4),u+=t(63&o<<2),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array;"0".charCodeAt(0);var a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),f="a".charCodeAt(0),h="A".charCodeAt(0);t.exports.toByteArray=r,t.exports.fromByteArray=i})()},{}],6:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,f=u>>1,h=-7,l=n?i-1:0,c=n?-1:1,d=e[t+l];for(l+=c,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+e[t+l],l+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=r;h>0;a=256*a+e[t+l],l+=c,h-=8);if(0===o)o=1-f;else{if(o===u)return a?0/0:1/0*(d?-1:1);a+=Math.pow(2,r),o-=f}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,l=h>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),1>t*(u=Math.pow(2,-a))&&(a--,u*=2),t+=a+l>=1?c/u:c*Math.pow(2,1-l),t*u>=2&&(a++,u/=2),a+l>=h?(s=0,a=h):a+l>=1?(s=(t*u-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;e[n+d]=255&a,d+=p,a/=256,f-=8);e[n+d-p]|=128*g}},{}],7:[function(e,t){function n(e){return this instanceof n?(a.call(this,e),s.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",r),void 0):new n(e)}function r(){if(!this.allowHalfOpen&&!this._writableState.ended){var e=this;o(function(){e.end()})}}t.exports=n;var i=e("inherits"),o=e("process/browser.js").nextTick,a=e("./readable.js"),s=e("./writable.js");i(n,a),n.prototype.write=s.prototype.write,n.prototype.end=s.prototype.end,n.prototype._write=s.prototype._write},{"./readable.js":11,"./writable.js":13,inherits:2,"process/browser.js":9}],8:[function(e,t){function n(){r.call(this)}t.exports=n;var r=e("events").EventEmitter,i=e("inherits");i(n,r),n.Readable=e("./readable.js"),n.Writable=e("./writable.js"),n.Duplex=e("./duplex.js"),n.Transform=e("./transform.js"),n.PassThrough=e("./passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&f.pause&&f.pause()}function i(){f.readable&&f.resume&&f.resume()}function o(){h||(h=!0,e.end())}function a(){h||(h=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){f.removeListener("data",n),e.removeListener("drain",i),f.removeListener("end",o),f.removeListener("close",a),f.removeListener("error",s),e.removeListener("error",s),f.removeListener("end",u),f.removeListener("close",u),e.removeListener("close",u)}var f=this;f.on("data",n),e.on("drain",i),e._isStdio||t&&t.end===!1||(f.on("end",o),f.on("close",a));var h=!1;return f.on("error",s),e.on("error",s),f.on("end",u),f.on("close",u),e.on("close",u),e.emit("pipe",f),e}},{"./duplex.js":7,"./passthrough.js":10,"./readable.js":11,"./transform.js":12,"./writable.js":13,events:1,inherits:2}],9:[function(e,t){t.exports=e(3)},{}],10:[function(e,t){function n(e){return this instanceof n?(r.call(this,e),void 0):new n(e)}t.exports=n;var r=e("./transform.js"),i=e("inherits");i(n,r),n.prototype._transform=function(e,t,n){n(null,e)}},{"./transform.js":12,inherits:2}],11:[function(e,t){(function(n){function r(t){t=t||{};var n=t.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(L||(L=e("string_decoder").StringDecoder),this.decoder=new L(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,A.call(this),void 0):new i(e)}function o(e,t,n,r,i){var o=f(t,n);if(o)e.emit("error",o);else if(null===n||void 0===n)t.reading=!1,t.ended||h(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=x)e=x;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||null===e?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function f(e,t){var n=null;return S.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||n||(n=new TypeError("Invalid non-string/buffer chunk")),n}function h(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):w(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?B(function(){c(e)}):c(e))}function c(e){e.emit("readable")}function d(e,t){t.readingMore||(t.readingMore=!0,B(function(){p(e,t)}))}function p(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e){var t=e.write(n);!1===t&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):E(r.pipes,t),e.emit("data",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,I.listenerCount(e,"data")>0&&y(e),void 0):(r.ranOut=!0,void 0)}function b(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw Error("Cannot switch to old mode now.");var r=t||!1,i=!1;e.readable=!0,e.pipe=A.prototype.pipe,e.on=e.addListener=A.prototype.on,e.on("readable",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit("data",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit("pause")},e.resume=function(){r=!1,i?B(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function m(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(""):S.concat(r,i),r.length=0;else if(r[0].length>e){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?"":new S(e);for(var u=0,f=0,h=r.length;h>f&&e>u;f++){var s=r[0],l=Math.min(e-u,s.length);o?n+=s.slice(0,l):s.copy(n,u,0,l),s.length>l?r[0]=s.slice(l):r.shift(),u+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,B(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function E(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i,i.ReadableState=r;var L,I=e("events").EventEmitter,A=e("./index.js"),S=e("buffer").Buffer,B=e("process/browser.js").nextTick,j=e("inherits");j(i,A),i.prototype.push=function(e,t){var n=this._readableState;return"string"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new S(e,t),t="")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,"",!0)},i.prototype.setEncoding=function(t){L||(L=e("string_decoder").StringDecoder),this._readableState.decoder=new L(t),this._readableState.encoding=t};var x=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;t.length-e<=t.highWaterMark&&(r=!0),(t.ended||t.reading)&&(r=!1),r&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=u(n,t));var i;return i=e>0?m(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&w(this),i},i.prototype._read=function(){this.emit("error",Error("not implemented"))},i.prototype.pipe=function(e,t){function r(e){e===h&&o()}function i(){e.end()}function o(){e.removeListener("close",s),e.removeListener("finish",u),e.removeListener("drain",p),e.removeListener("error",a),e.removeListener("unpipe",r),h.removeListener("end",i),h.removeListener("end",o),(!e._writableState||e._writableState.needDrain)&&p()}function a(t){f(),0===y&&0===I.listenerCount(e,"error")&&e.emit("error",t)}function s(){e.removeListener("finish",u),f()}function u(){e.removeListener("close",s),f()}function f(){h.unpipe(e)}var h=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1;var c=(!t||t.end!==!1)&&e!==n.stdout&&e!==n.stderr,d=c?i:o;l.endEmitted?B(d):h.once("end",d),e.on("unpipe",r);var p=g(h);e.on("drain",p);var y=I.listenerCount(e,"error");return e.once("error",a),e.once("close",s),e.once("finish",u),e.emit("pipe",h),l.flowing||(this.on("readable",b),l.flowing=!0,B(function(){v(h)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||y(this),"readable"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit("resume")},i.prototype.pause=function(){y(this,!0),this.emit("pause")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){if(t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)"function"==typeof e[i]&&this[i]===void 0&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return E(o,function(t){e.on(t,function(e){return r.emit.apply(r,t,e)})}),r._read=function(){n&&(n=!1,e.resume())},r},i._fromList=m}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
},{"./index.js":8,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":3,buffer:4,events:1,inherits:2,"process/browser.js":9,string_decoder:14}],12:[function(e,t){function n(e,t){this.afterTransform=function(e,n){return r(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function r(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);a.call(this,e),this._transformState=new n(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var n=e._writableState;e._readableState;var r=e._transformState;if(n.length)throw Error("calling transform done when ws.length != 0");if(r.transforming)throw Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var a=e("./duplex.js"),s=e("inherits");s(i,a),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw Error("not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./duplex.js":7,inherits:2}],13:[function(e,t){function n(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function r(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){c(t,e)},this.writecb=null,this.writelen=0,this.buffer=[]}function i(e){return this instanceof i||this instanceof _.Duplex?(this._writableState=new r(e,this),this.writable=!0,_.call(this),void 0):new i(e)}function o(e,t,n){var r=Error("write after end");e.emit("error",r),L(function(){n(r)})}function a(e,t,n,r){var i=!0;if(!I.isBuffer(n)&&"string"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),L(function(){r(o)}),i=!1}return i}function s(e,t,n){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new I(t,n)),t}function u(e,t,r,i,o){r=s(t,r,i);var a=t.objectMode?1:r.length;t.length+=a;var u=t.length<t.highWaterMark;return t.needDrain=!u,t.writing?t.buffer.push(new n(r,i,o)):f(e,t,a,r,i,o),u}function f(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function h(e,t,n,r,i){n?L(function(){i(r)}):i(r),e.emit("error",r)}function l(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function c(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(l(n),t)h(e,n,r,t,i);else{var o=v(e,n);o||n.bufferProcessing||!n.buffer.length||g(e,n),r?L(function(){d(e,n,o,i)}):d(e,n,o,i)}}function d(e,t,n,r){n||p(e,t),r(),n&&b(e,t)}function p(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function g(e,t){t.bufferProcessing=!0;for(var n=0;t.buffer.length>n;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(f(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,t.buffer.length>n?t.buffer=t.buffer.slice(n):t.buffer.length=0}function v(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function b(e,t){var n=v(e,t);return n&&(t.finished=!0,e.emit("finish")),n}function y(e,t,n){t.ending=!0,b(e,t),n&&(t.finished?L(n):e.once("finish",n)),t.ended=!0}t.exports=i,i.WritableState=r;var m="undefined"!=typeof Uint8Array?function(e){return e instanceof Uint8Array}:function(e){return e&&e.constructor&&"Uint8Array"===e.constructor.name},w="undefined"!=typeof ArrayBuffer?function(e){return e instanceof ArrayBuffer}:function(e){return e&&e.constructor&&"ArrayBuffer"===e.constructor.name},E=e("inherits"),_=e("./index.js"),L=e("process/browser.js").nextTick,I=e("buffer").Buffer;E(i,_),i.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},i.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),!I.isBuffer(e)&&m(e)&&(e=new I(e)),w(e)&&"undefined"!=typeof Uint8Array&&(e=new I(new Uint8Array(e))),I.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=function(){}),r.ended?o(this,r,n):a(this,r,e,n)&&(i=u(this,r,e,t,n)),i},i.prototype._write=function(e,t,n){n(Error("not implemented"))},i.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),e!==void 0&&null!==e&&this.write(e,t),r.ending||r.finished||y(this,r,n)}},{"./index.js":8,buffer:4,inherits:2,"process/browser.js":9}],14:[function(e,t,n){function r(e){if(e&&!s.isEncoding(e))throw Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){var t=this.charReceived=e.length%2;return this.charLength=t?2:0,t}function a(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var s=e("buffer").Buffer,u=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return this.write=i,void 0}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="",n=0;this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,n,r),this.charReceived+=r-n,n=r,this.charReceived<this.charLength)return"";t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,r==e.length)return t;e=e.slice(r,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,a),this.charReceived=o,a-=o),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,a)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&6==n>>5){this.charLength=2;break}if(2>=t&&14==n>>4){this.charLength=3;break}if(3>=t&&30==n>>3){this.charLength=4;break}}return t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:4}],"binary-csv":[function(e,t){t.exports=e("5G5m2q")},{}],"5G5m2q":[function(e,t){(function(n){function r(e){function t(e){v=!1;var t=0;if(p&&(e=n.concat([p,e]),p=void 0),!d)for(var r=0;e.length>r;r++){if(13===e[r]){if(r===e.length)return;if(10===e[r+1]){d=new n("\r\n");break}d=new n("\r");break}if(10===e[r]){if(r===e.length)return;d=new n("\n");break}}for(;e;){var i;if(d&&(i=h(e,t)),i){var o=e.slice(t,i);i===e.length?(p=o,e=void 0,t=i):(u(o),t=i+d.length)}else p=t>=e.length?void 0:e.slice(t,e.length),e=void 0}}function s(){p&&u(p),u(null)}function u(t){if(e.json&&t){for(var n=l(t),r=0;n.length>r;r++)n[r]=""+c(n[r]);if(!g)return g=n;t=f(g,n)}m.queue(t)}function f(e,t){for(var n={},r=0;e.length>r;r++)n[e[r]]=t[r];return n}function h(e,t){var n=t;if(t>=e.length)return!1;for(var n=t;e.length>n;n++)if(e[n]!==a){if(e[n]===d[0])if(d.length>1){for(var r=!0,i=n,o=0;n+d.length>i;i++,o++)if(e[i]!==d[o]){r=!1;break}if(r&&!v)return i-d.length}else if(!v)break}else e[n+1]===a?n++:v=!v;var s=n+d.length-1;return s>e.length?!1:s}function l(e){for(var t=[],r=!1,i=0,o=0;e.length>o;o++)if(e[o]!==a){if(e[o]===y&&!r){var s=e.slice(i,o);t.push(s),i=o+1}}else e[o+1]===a?o++:r=!r;return e.length>i&&t.push(e.slice(i,e.length)),e[e.length-1]===y&&t.push(new n(0)),t}function c(e){e[0]===a&&e[e.length-1]===a&&(e=e.slice(1,e.length-1));var t=0,r=e.length;e[t]===a&&e[r-1]===a&&(t++,r--);for(var i=0,o=t;r>o;o++)e[o]===a&&e[o+1]===a&&o++,i++;for(var s=new n(i),o=t,u=0;r>o;o++)e[o]===a&&e[o+1]===a&&o++,s[u]=e[o],u++;return s}if(!(this instanceof r))return new r(e);e||(e={});var d,p,g,v,b={separator:",",newline:"\n",detectNewlines:!0,json:!1};e=o(b,e),e.detectNewlines?delete e.newline:d=new n(e.newline);var y=new n(e.separator||",")[0],m=i(t,s);return m.line=l,m.cell=c,m.options=e,m}var i=e("through"),o=e("extend");t.exports=r;var a=new n('"')[0]}).call(this,e("buffer").Buffer)},{buffer:4,extend:17,through:18}],17:[function(e,t){function n(e){if(!e||"[object Object]"!==i.call(e)||e.nodeType||e.setInterval)return!1;var t=r.call(e,"constructor"),n=r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return void 0===o||r.call(e,o)}var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function o(){var e,t,r,i,a,s,u=arguments[0]||{},f=1,h=arguments.length,l=!1;for("boolean"==typeof u&&(l=u,u=arguments[1]||{},f=2),"object"!=typeof u&&"function"!=typeof u&&(u={});h>f;f++)if(null!=(e=arguments[f]))for(t in e)r=u[t],i=e[t],u!==i&&(l&&i&&(n(i)||(a=Array.isArray(i)))?(a?(a=!1,s=r&&Array.isArray(r)?r:[]):s=r&&n(r)?r:{},u[t]=o(l,s,i)):void 0!==i&&(u[t]=i));return u}},{}],18:[function(e,t,n){(function(r){function i(e,t,n){function i(){for(;f.length&&!l.paused;){var e=f.shift();if(null===e)return l.emit("end");l.emit("data",e)}}function a(){l.writable=!1,t.call(l),!l.readable&&l.autoDestroy&&l.destroy()}e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var s=!1,u=!1,f=[],h=!1,l=new o;return l.readable=l.writable=!0,l.paused=!1,l.autoDestroy=!(n&&n.autoDestroy===!1),l.write=function(t){return e.call(this,t),!l.paused},l.queue=l.push=function(e){return h?l:(null==e&&(h=!0),f.push(e),i(),l)},l.on("end",function(){l.readable=!1,!l.writable&&l.autoDestroy&&r.nextTick(function(){l.destroy()})}),l.end=function(e){return s?void 0:(s=!0,arguments.length&&l.write(e),a(),l)},l.destroy=function(){return u?void 0:(u=!0,s=!0,f.length=0,l.writable=l.readable=!1,l.emit("close"),l)},l.pause=function(){return l.paused?void 0:(l.paused=!0,l)},l.resume=function(){return l.paused&&(l.paused=!1,l.emit("resume")),i(),l.paused||l.emit("drain"),l},l}var o=e("stream");n=t.exports=i,i.through=i}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":3,stream:8}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({o4EXtA:[function(e,t){function n(e,t){function n(){4===h.readyState&&i()}function i(){var e=null,n=h.statusCode=h.status,r=h.body=h.response||h.responseText||h.responseXML;if(0===n||n>=400&&600>n){var i=h.responseText||a[(h.status+"").charAt(0)];e=Error(i),e.statusCode=h.status}if(v)try{r=h.body=JSON.parse(r)}catch(o){}t(e,h,r)}function f(e){t(e,h)}"string"==typeof e&&(e={uri:e}),e=e||{},t=o(t);var h=e.xhr||null;!h&&e.cors?h=new u:h||(h=new s);var l=h.url=e.uri||e.url,c=h.method=e.method||"GET",d=e.body||e.data,p=h.headers=e.headers||{},g=!!e.sync,v=!1;return"json"in e&&(v=!0,p["Content-Type"]="application/json",d=JSON.stringify(e.json)),h.onreadystatechange=n,h.onload=i,h.onerror=f,h.onprogress=function(){},h.ontimeout=r,h.open(c,l,!g),e.cors&&(h.withCredentials=!0),g||(h.timeout="timeout"in e?e.timeout:5e3),h.setRequestHeader&&Object.keys(p).forEach(function(e){h.setRequestHeader(e,p[e])}),"responseType"in e&&(h.responseType=e.responseType),h.send(d),h}function r(){}var i=e("global/window"),o=e("once"),a={0:"Internal XMLHttpRequest Error",4:"4xx Client Error",5:"5xx Server Error"},s=i.XMLHttpRequest||r,u="withCredentials"in new s?i.XMLHttpRequest:i.XDomainRequest;t.exports=n},{"global/window":3,once:4}],xhr:[function(e,t){t.exports=e("o4EXtA")},{}],3:[function(e,t){(function(e){t.exports="undefined"!=typeof window?window:e!==void 0?e:{}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t){function n(e){var t=!1;return function(){return t?void 0:(t=!0,e.apply(this,arguments))}}t.exports=n,n.proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({mw09q3:[function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}var r={};t.exports=r,r.from=e("./from.js"),r.to=e("./to.js"),r.is=e("./is.js"),r.subarray=e("./subarray.js"),r.join=e("./join.js"),r.copy=e("./copy.js"),r.create=e("./create.js"),n(e("./read.js"),r),n(e("./write.js"),r)},{"./copy.js":5,"./create.js":6,"./from.js":7,"./is.js":8,"./join.js":9,"./read.js":11,"./subarray.js":12,"./to.js":13,"./write.js":14}],bops:[function(e,t){t.exports=e("mw09q3")},{}],3:[function(e,t){(function(){"use strict";function e(e){var t,n,i,o,a,s;if(e.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(a=e.indexOf("="),a=a>0?e.length-a:0,s=[],i=a>0?e.length-4:e.length,t=0,n=0;i>t;t+=4,n+=3)o=r.indexOf(e[t])<<18|r.indexOf(e[t+1])<<12|r.indexOf(e[t+2])<<6|r.indexOf(e[t+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=r.indexOf(e[t])<<2|r.indexOf(e[t+1])>>4,s.push(255&o)):1===a&&(o=r.indexOf(e[t])<<10|r.indexOf(e[t+1])<<4|r.indexOf(e[t+2])>>2,s.push(255&o>>8),s.push(255&o)),s}function n(e){function t(e){return r[63&e>>18]+r[63&e>>12]+r[63&e>>6]+r[63&e]}var n,i,o,a=e.length%3,s="";for(n=0,o=e.length-a;o>n;n+=3)i=(e[n]<<16)+(e[n+1]<<8)+e[n+2],s+=t(i);switch(a){case 1:i=e[e.length-1],s+=r[i>>2],s+=r[63&i<<4],s+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],s+=r[i>>10],s+=r[63&i>>4],s+=r[63&i<<2],s+="="}return s}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";t.exports.toByteArray=e,t.exports.fromByteArray=n})()},{}],4:[function(e,t){function n(e,t,n){t=void 0===t?0:t,n=void 0===n?e.length:n;var u,h,l=0,c=128,d=0;for(a.length=o.length=0;e.length>l;)h=e[l],!d&&h&c?(u=r(h),d+=u,8>u&&(a[a.length]=h&f[6-u])):d?(a[a.length]=h&f[6],--d,!d&&a.length&&(o[o.length]=s(i(a,u)),a.length=0)):o[o.length]=s(h),++l;return a.length&&!d&&(o[o.length]=s(i(a,u)),a.length=0),o.join("")}function r(e){for(var t=0;7>t&&e&u[t];++t);return t}function i(e){for(var t=0,n=0,r=e.length;r>n;++n)t|=e[n]<<6*(r-n-1);return t}t.exports=n;var o=[],a=[],s=String.fromCharCode,u=[64,32,16,8,4,2,1],f=[0,1,3,7,15,31,63,127]},{}],5:[function(e,t){function n(e,t,n,o,a){return n=3>arguments.length?0:n,o=4>arguments.length?0:o,a=5>arguments.length?e.length:a,a!==o&&0!==t.length&&0!==e.length?(a>e.length&&(a=e.length),a-o>t.length-n&&(a=t.length-n+o),e.buffer!==t.buffer?r(e,t,n,o,a):i(e,t,n,o,a)):void 0}function r(e,t,n,r,i){for(var o=i-r+n,a=n,s=r;o>a;++a,++s)t[a]=e[s]}function i(e,t,n,r,i){for(var a=i+r,s=new Uint8Array(o.call(e,r,a)),u=0;a>r;++r,++u)t[n++]=s[u]}t.exports=n;var o=[].slice},{}],6:[function(e,t){t.exports=function(e){return new Uint8Array(e)}},{}],7:[function(e,t){function n(e,t){return Array.isArray(e)?new Uint8Array(e):f[t||"utf8"](e)}function r(e){for(var t=e.length/2,n=new Uint8Array(t),r="",i=0,o=e.length;o>i;++i)r+=e.charAt(i),i>0&&1===i%2&&(n[i>>>1]=parseInt(r,16),r="");return n}function i(e){for(var t,n=[],r=0,i=e.length;i>r;++r)t=a(e,r),t!==!1&&(128>t?n[n.length]=t:o(n,t));return new Uint8Array(n)}function o(e,t){var n,r,i,o,a=t,s=0;do++s;while(a>>>=1);for(n=0|Math.ceil((s-1)/5),r=[0,0,192,224,240,248,252][n],o=[0,0,3,4,5,6,7][n],i|=r,s=7-o+6*(n-1);s;)i|=+!!(t&1<<s)<<7-o,++o,0===o%8&&(e[e.length]=i,i=128,o=2),--s;o&&(i|=+!!(1&t)<<7-o,e[e.length]=i)}function a(e,t){t=t||0;var n,r,i=e.charCodeAt(t);if(i>=55296&&56319>=i){if(n=e.charCodeAt(t+1),r=i,isNaN(n))throw Error("High surrogate not followed by low surrogate");return 1024*(r-55296)+(n-56320)+65536}return i>=56320&&57343>=i?!1:i}function s(e){return new Uint8Array(u.toByteArray(e))}t.exports=n;var u=e("base64-js"),f={hex:r,utf8:i,base64:s}},{"base64-js":3}],8:[function(e,t){t.exports=function(e){return e instanceof Uint8Array}},{}],9:[function(e,t){function n(e,t){if(!e.length)return new Uint8Array(0);for(var n=void 0!==t?t:r(e),i=new Uint8Array(n),o=e[0],a=o.length,s=0,u=0,f=0;n>f;)u!==a?i[f++]=o[u++]:(u=0,++s,o=e[s],a=o&&o.length);return i}function r(e){for(var t=0,n=0,r=e.length;r>n;++n)t+=e[n].byteLength;return t}t.exports=n},{}],10:[function(e,t){function n(e){return new DataView(e.buffer,0)}function r(e){var t=o.get(e.buffer);return t||o.set(e.buffer,t=new DataView(e.buffer,0)),t}var i,o;t.exports=i={},o="undefined"==typeof WeakMap?null:new WeakMap,i.get=o?r:n},{}],11:[function(e,t){function n(e,t){return e[t]}function r(e,t){var n=e[t];return 128>n?n:n-256}function i(e,t){var n=v.get(e);return n.getUint16(t+e.byteOffset,!0)}function o(e,t){var n=v.get(e);return n.getUint32(t+e.byteOffset,!0)}function a(e,t){var n=v.get(e);return n.getInt16(t+e.byteOffset,!0)}function s(e,t){var n=v.get(e);return n.getInt32(t+e.byteOffset,!0)}function u(e,t){var n=v.get(e);return n.getFloat32(t+e.byteOffset,!0)}function f(e,t){var n=v.get(e);return n.getFloat64(t+e.byteOffset,!0)}function h(e,t){var n=v.get(e);return n.getUint16(t+e.byteOffset,!1)}function l(e,t){var n=v.get(e);return n.getUint32(t+e.byteOffset,!1)}function c(e,t){var n=v.get(e);return n.getInt16(t+e.byteOffset,!1)}function d(e,t){var n=v.get(e);return n.getInt32(t+e.byteOffset,!1)}function p(e,t){var n=v.get(e);return n.getFloat32(t+e.byteOffset,!1)}function g(e,t){var n=v.get(e);return n.getFloat64(t+e.byteOffset,!1)}t.exports={readUInt8:n,readInt8:r,readUInt16LE:i,readUInt32LE:o,readInt16LE:a,readInt32LE:s,readFloatLE:u,readDoubleLE:f,readUInt16BE:h,readUInt32BE:l,readInt16BE:c,readInt32BE:d,readFloatBE:p,readDoubleBE:g};var v=e("./mapped.js")},{"./mapped.js":10}],12:[function(e,t){function n(e,t,n){return e.subarray(t||0,n||e.length)}t.exports=n},{}],13:[function(e,t){function n(e,t){return u[t||"utf8"](e)}function r(e){for(var t,n="",r=0,i=e.length;i>r;++r)t=e[r],n+=((240&t)>>>4).toString(16),n+=(15&t).toString(16);return n}function i(e){return s(e)}function o(e){return a.fromByteArray(e)}t.exports=n;var a=e("base64-js"),s=e("to-utf8"),u={hex:r,utf8:i,base64:o}},{"base64-js":3,"to-utf8":4}],14:[function(e,t){function n(e,t,n){return e[n]=t}function r(e,t,n){return e[n]=0>t?t+256:t}function i(e,t,n){var r=v.get(e);return r.setUint16(n+e.byteOffset,t,!0)}function o(e,t,n){var r=v.get(e);return r.setUint32(n+e.byteOffset,t,!0)}function a(e,t,n){var r=v.get(e);return r.setInt16(n+e.byteOffset,t,!0)}function s(e,t,n){var r=v.get(e);return r.setInt32(n+e.byteOffset,t,!0)}function u(e,t,n){var r=v.get(e);return r.setFloat32(n+e.byteOffset,t,!0)}function f(e,t,n){var r=v.get(e);return r.setFloat64(n+e.byteOffset,t,!0)}function h(e,t,n){var r=v.get(e);return r.setUint16(n+e.byteOffset,t,!1)}function l(e,t,n){var r=v.get(e);return r.setUint32(n+e.byteOffset,t,!1)}function c(e,t,n){var r=v.get(e);return r.setInt16(n+e.byteOffset,t,!1)}function d(e,t,n){var r=v.get(e);return r.setInt32(n+e.byteOffset,t,!1)}function p(e,t,n){var r=v.get(e);return r.setFloat32(n+e.byteOffset,t,!1)}function g(e,t,n){var r=v.get(e);return r.setFloat64(n+e.byteOffset,t,!1)}t.exports={writeUInt8:n,writeInt8:r,writeUInt16LE:i,writeUInt32LE:o,writeInt16LE:a,writeInt32LE:s,writeFloatLE:u,writeDoubleLE:f,writeUInt16BE:h,writeUInt32BE:l,writeInt16BE:c,writeInt32BE:d,writeFloatBE:p,writeDoubleBE:g};var v=e("./mapped.js")},{"./mapped.js":10}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({1:[function(e,t,n){function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);var i=typeof e;if("base64"===t&&"string"===i)for(e=j(e);0!==e.length%4;)e+="=";var o;if("number"===i)o=k(e);else if("string"===i)o=r.byteLength(e,t);else{if("object"!==i)throw Error("First argument needs to be a number, array or string.");o=k(e.length)}var a;r._useTypedArrays?a=x(new Uint8Array(o)):(a=this,a.length=o,a._isBuffer=!0);var s;if(r._useTypedArrays&&"function"==typeof Uint8Array&&e instanceof Uint8Array)a._set(e);else if(T(e))for(s=0;o>s;s++)a[s]=r.isBuffer(e)?e.readUInt8(s):e[s];else if("string"===i)a.write(e,0,t);else if("number"===i&&!r._useTypedArrays&&!n)for(s=0;o>s;s++)a[s]=0;return a}function i(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i),i>o&&(i=o)):i=o;var a=t.length;H(0===a%2,"Invalid hex string"),i>a/2&&(i=a/2);for(var s=0;i>s;s++){var u=parseInt(t.substr(2*s,2),16);H(!isNaN(u),"Invalid hex string"),e[n+s]=u}return r._charsWritten=2*s,s}function o(e,t,n,i){var o=r._charsWritten=F(R(t),e,n,i);return o}function a(e,t,n,i){var o=r._charsWritten=F(O(t),e,n,i);return o}function s(e,t,n,r){return a(e,t,n,r)}function u(e,t,n,i){var o=r._charsWritten=F(D(t),e,n,i);return o}function f(e,t,n,i){var o=r._charsWritten=F(N(t),e,n,i);return o}function h(e,t,n){return 0===t&&n===e.length?Y.fromByteArray(e):Y.fromByteArray(e.slice(t,n))}function l(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;n>o;o++)127>=e[o]?(r+=W(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+W(i)}function c(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function d(e,t,n){return c(e,t,n)}function p(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=C(e[o]);return i}function g(e,t,n){for(var r=e.slice(t,n),i="",o=0;r.length>o;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function v(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function b(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(i>t+2&&(o=e[t+2]<<16),i>t+1&&(o|=e[t+1]<<8),o|=e[t],i>t+3&&(o+=e[t+3]<<24>>>0)):(i>t+1&&(o=e[t+1]<<16),i>t+2&&(o|=e[t+2]<<8),i>t+3&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}}function y(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=v(e,t,n,!0),a=32768&o;return a?-1*(65535-o+1):o}}function m(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=b(e,t,n,!0),a=2147483648&o;return a?-1*(4294967295-o+1):o}}function w(e,t,n,r){return r||(H("boolean"==typeof n,"missing or invalid endian"),H(e.length>t+3,"Trying to read beyond buffer length")),G.read(e,t,n,23,4)}function E(e,t,n,r){return r||(H("boolean"==typeof n,"missing or invalid endian"),H(e.length>t+7,"Trying to read beyond buffer length")),G.read(e,t,n,52,8)}function _(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+1,"trying to write beyond buffer length"),P(t,65535));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,2);s>a;a++)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function L(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"trying to write beyond buffer length"),P(t,4294967295));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,4);s>a;a++)e[n+a]=255&t>>>8*(r?a:3-a)}function I(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+1,"Trying to write beyond buffer length"),q(t,32767,-32768));var o=e.length;n>=o||(t>=0?_(e,t,n,r,i):_(e,65535+t+1,n,r,i))}function A(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"Trying to write beyond buffer length"),q(t,2147483647,-2147483648));var o=e.length;n>=o||(t>=0?L(e,t,n,r,i):L(e,4294967295+t+1,n,r,i))}function S(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"Trying to write beyond buffer length"),z(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;n>=o||G.write(e,t,n,r,23,4)}function B(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+7,"Trying to write beyond buffer length"),z(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;n>=o||G.write(e,t,n,r,52,8)}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=J.get,e.set=J.set,e.write=J.write,e.toString=J.toString,e.toLocaleString=J.toString,e.toJSON=J.toJSON,e.copy=J.copy,e.slice=J.slice,e.readUInt8=J.readUInt8,e.readUInt16LE=J.readUInt16LE,e.readUInt16BE=J.readUInt16BE,e.readUInt32LE=J.readUInt32LE,e.readUInt32BE=J.readUInt32BE,e.readInt8=J.readInt8,e.readInt16LE=J.readInt16LE,e.readInt16BE=J.readInt16BE,e.readInt32LE=J.readInt32LE,e.readInt32BE=J.readInt32BE,e.readFloatLE=J.readFloatLE,e.readFloatBE=J.readFloatBE,e.readDoubleLE=J.readDoubleLE,e.readDoubleBE=J.readDoubleBE,e.writeUInt8=J.writeUInt8,e.writeUInt16LE=J.writeUInt16LE,e.writeUInt16BE=J.writeUInt16BE,e.writeUInt32LE=J.writeUInt32LE,e.writeUInt32BE=J.writeUInt32BE,e.writeInt8=J.writeInt8,e.writeInt16LE=J.writeInt16LE,e.writeInt16BE=J.writeInt16BE,e.writeInt32LE=J.writeInt32LE,e.writeInt32BE=J.writeInt32BE,e.writeFloatLE=J.writeFloatLE,e.writeFloatBE=J.writeFloatBE,e.writeDoubleLE=J.writeDoubleLE,e.writeDoubleBE=J.writeDoubleBE,e.fill=J.fill,e.inspect=J.inspect,e.toArrayBuffer=J.toArrayBuffer,e}function U(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function k(e){return e=~~Math.ceil(+e),0>e?0:e}function M(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function T(e){return M(e)||r.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function C(e){return 16>e?"0"+e.toString(16):e.toString(16)}function R(e){for(var t=[],n=0;e.length>n;n++){var r=e.charCodeAt(n);if(127>=r)t.push(e.charCodeAt(n));else{var i=n;r>=55296&&57343>=r&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),a=0;o.length>a;a++)t.push(parseInt(o[a],16))}}return t}function O(e){for(var t=[],n=0;e.length>n;n++)t.push(255&e.charCodeAt(n));return t}function N(e){for(var t,n,r,i=[],o=0;e.length>o;o++)t=e.charCodeAt(o),n=t>>8,r=t%256,i.push(r),i.push(n);return i}function D(e){return Y.toByteArray(e)}function F(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function W(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function P(e,t){H("number"==typeof e,"cannot write a non-number as a number"),H(e>=0,"specified a negative value for writing an unsigned value"),H(t>=e,"value is larger than maximum value for type"),H(Math.floor(e)===e,"value has a fractional component")}function q(e,t,n){H("number"==typeof e,"cannot write a non-number as a number"),H(t>=e,"value larger than maximum allowed value"),H(e>=n,"value smaller than minimum allowed value"),H(Math.floor(e)===e,"value has a fractional component")}function z(e,t,n){H("number"==typeof e,"cannot write a non-number as a number"),H(t>=e,"value larger than maximum allowed value"),H(e>=n,"value smaller than minimum allowed value")}function H(e,t){if(!e)throw Error(t||"Failed assertion")}var Y=e("base64-js"),G=e("ieee754");n.Buffer=r,n.SlowBuffer=r,n.INSPECT_MAX_BYTES=50,r.poolSize=8192,r._useTypedArrays=function(){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer)return!1;try{var e=new Uint8Array(0);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),r.isEncoding=function(e){switch((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}},r.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},r.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=R(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=D(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n},r.concat=function(e,t){if(H(M(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new r(0);if(1===e.length)return e[0];var n;if("number"!=typeof t)for(t=0,n=0;e.length>n;n++)t+=e[n].length;var i=new r(t),o=0;for(n=0;e.length>n;n++){var a=e[n];a.copy(i,o),o+=a.length}return i},r.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var h=r;r=t,t=n,n=h}t=Number(t)||0;var l=this.length-t;n?(n=Number(n),n>l&&(n=l)):n=l,r=((r||"utf8")+"").toLowerCase();var c;switch(r){case"hex":c=i(this,e,t,n);break;case"utf8":case"utf-8":c=o(this,e,t,n);break;case"ascii":c=a(this,e,t,n);break;case"binary":c=s(this,e,t,n);break;case"base64":c=u(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":c=f(this,e,t,n);break;default:throw Error("Unknown encoding")}return c},r.prototype.toString=function(e,t,n){var r=this;if(e=((e||"utf8")+"").toLowerCase(),t=Number(t)||0,n=void 0!==n?Number(n):n=r.length,n===t)return"";var i;switch(e){case"hex":i=p(r,t,n);break;case"utf8":case"utf-8":i=l(r,t,n);break;case"ascii":i=c(r,t,n);break;case"binary":i=d(r,t,n);break;case"base64":i=h(r,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=g(r,t,n);break;default:throw Error("Unknown encoding")
}return i},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},r.prototype.copy=function(e,t,n,r){var i=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==i.length){H(r>=n,"sourceEnd < sourceStart"),H(t>=0&&e.length>t,"targetStart out of bounds"),H(n>=0&&i.length>n,"sourceStart out of bounds"),H(r>=0&&i.length>=r,"sourceEnd out of bounds"),r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);for(var o=0;r-n>o;o++)e[o+t]=this[o+n]}},r.prototype.slice=function(e,t){var n=this.length;if(e=U(e,n,0),t=U(t,n,n),r._useTypedArrays)return x(this.subarray(e,t));for(var i=t-e,o=new r(i,void 0,!0),a=0;i>a;a++)o[a]=this[a+e];return o},r.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},r.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},r.prototype.readUInt8=function(e,t){return t||(H(void 0!==e&&null!==e,"missing offset"),H(this.length>e,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},r.prototype.readUInt16LE=function(e,t){return v(this,e,!0,t)},r.prototype.readUInt16BE=function(e,t){return v(this,e,!1,t)},r.prototype.readUInt32LE=function(e,t){return b(this,e,!0,t)},r.prototype.readUInt32BE=function(e,t){return b(this,e,!1,t)},r.prototype.readInt8=function(e,t){if(t||(H(void 0!==e&&null!==e,"missing offset"),H(this.length>e,"Trying to read beyond buffer length")),!(e>=this.length)){var n=128&this[e];return n?-1*(255-this[e]+1):this[e]}},r.prototype.readInt16LE=function(e,t){return y(this,e,!0,t)},r.prototype.readInt16BE=function(e,t){return y(this,e,!1,t)},r.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},r.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},r.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)},r.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},r.prototype.readDoubleLE=function(e,t){return E(this,e,!0,t)},r.prototype.readDoubleBE=function(e,t){return E(this,e,!1,t)},r.prototype.writeUInt8=function(e,t,n){n||(H(void 0!==e&&null!==e,"missing value"),H(void 0!==t&&null!==t,"missing offset"),H(this.length>t,"trying to write beyond buffer length"),P(e,255)),t>=this.length||(this[t]=e)},r.prototype.writeUInt16LE=function(e,t,n){_(this,e,t,!0,n)},r.prototype.writeUInt16BE=function(e,t,n){_(this,e,t,!1,n)},r.prototype.writeUInt32LE=function(e,t,n){L(this,e,t,!0,n)},r.prototype.writeUInt32BE=function(e,t,n){L(this,e,t,!1,n)},r.prototype.writeInt8=function(e,t,n){n||(H(void 0!==e&&null!==e,"missing value"),H(void 0!==t&&null!==t,"missing offset"),H(this.length>t,"Trying to write beyond buffer length"),q(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},r.prototype.writeInt16LE=function(e,t,n){I(this,e,t,!0,n)},r.prototype.writeInt16BE=function(e,t,n){I(this,e,t,!1,n)},r.prototype.writeInt32LE=function(e,t,n){A(this,e,t,!0,n)},r.prototype.writeInt32BE=function(e,t,n){A(this,e,t,!1,n)},r.prototype.writeFloatLE=function(e,t,n){S(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){S(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){B(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){B(this,e,t,!1,n)},r.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),H("number"==typeof e&&!isNaN(e),"value is not a number"),H(n>=t,"end < start"),n!==t&&0!==this.length){H(t>=0&&this.length>t,"start out of bounds"),H(n>=0&&this.length>=n,"end out of bounds");for(var r=t;n>r;r++)this[r]=e}},r.prototype.inspect=function(){for(var e=[],t=this.length,r=0;t>r;r++)if(e[r]=C(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},r.prototype.toArrayBuffer=function(){if("function"==typeof Uint8Array){if(r._useTypedArrays)return new r(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser")};var J=r.prototype},{"base64-js":2,ieee754:3}],2:[function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(){"use strict";function e(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:h+26>t?t-h:f+26>t?t-f+26:void 0}function r(t){function n(e){f[l++]=e}var r,i,a,s,u,f;if(t.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");var h=t.length;u="="===t.charAt(h-2)?2:"="===t.charAt(h-1)?1:0,f=new o(3*t.length/4-u),a=u>0?t.length-4:t.length;var l=0;for(r=0,i=0;a>r;r+=4,i+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(255&s>>8),n(255&s)),f}function i(e){function t(e){return n.charAt(e)}function r(e){return t(63&e>>18)+t(63&e>>12)+t(63&e>>6)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(63&o<<4),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(63&o>>4),u+=t(63&o<<2),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array;"0".charCodeAt(0);var a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),f="a".charCodeAt(0),h="A".charCodeAt(0);t.exports.toByteArray=r,t.exports.fromByteArray=i})()},{}],3:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,f=u>>1,h=-7,l=n?i-1:0,c=n?-1:1,d=e[t+l];for(l+=c,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+e[t+l],l+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=r;h>0;a=256*a+e[t+l],l+=c,h-=8);if(0===o)o=1-f;else{if(o===u)return a?0/0:1/0*(d?-1:1);a+=Math.pow(2,r),o-=f}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,l=h>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),1>t*(u=Math.pow(2,-a))&&(a--,u*=2),t+=a+l>=1?c/u:c*Math.pow(2,1-l),t*u>=2&&(a++,u/=2),a+l>=h?(s=0,a=h):a+l>=1?(s=(t*u-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;e[n+d]=255&a,d+=p,a/=256,f-=8);e[n+d-p]|=128*g}},{}],4:[function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(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,i,s,u,f;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw t=arguments[1],t instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(n=this._events[e],a(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:for(i=arguments.length,s=Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];n.apply(this,s)}else if(o(n)){for(i=arguments.length,s=Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];for(f=n.slice(),i=f.length,u=0;i>u;u++)f[u].apply(this,s)}return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned){var i;i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(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),console.trace())}return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(s=a;s-->0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(0>i)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,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 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.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?r(e._events[t])?1:e._events[t].length:0}},{}],5:[function(e,t){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],6:[function(e,t){var n=t.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw Error("process.chdir is not supported")}},{}],7:[function(e,t){function n(e){return this instanceof n?(a.call(this,e),s.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",r),void 0):new n(e)}function r(){if(!this.allowHalfOpen&&!this._writableState.ended){var e=this;o(function(){e.end()})}}t.exports=n;var i=e("inherits"),o=e("process/browser.js").nextTick,a=e("./readable.js"),s=e("./writable.js");i(n,a),n.prototype.write=s.prototype.write,n.prototype.end=s.prototype.end,n.prototype._write=s.prototype._write},{"./readable.js":11,"./writable.js":13,inherits:5,"process/browser.js":9}],8:[function(e,t){function n(){r.call(this)}t.exports=n;var r=e("events").EventEmitter,i=e("inherits");i(n,r),n.Readable=e("./readable.js"),n.Writable=e("./writable.js"),n.Duplex=e("./duplex.js"),n.Transform=e("./transform.js"),n.PassThrough=e("./passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&f.pause&&f.pause()}function i(){f.readable&&f.resume&&f.resume()}function o(){h||(h=!0,e.end())}function a(){h||(h=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){f.removeListener("data",n),e.removeListener("drain",i),f.removeListener("end",o),f.removeListener("close",a),f.removeListener("error",s),e.removeListener("error",s),f.removeListener("end",u),f.removeListener("close",u),e.removeListener("close",u)}var f=this;f.on("data",n),e.on("drain",i),e._isStdio||t&&t.end===!1||(f.on("end",o),f.on("close",a));var h=!1;return f.on("error",s),e.on("error",s),f.on("end",u),f.on("close",u),e.on("close",u),e.emit("pipe",f),e}},{"./duplex.js":7,"./passthrough.js":10,"./readable.js":11,"./transform.js":12,"./writable.js":13,events:4,inherits:5}],9:[function(e,t){t.exports=e(6)},{}],10:[function(e,t){function n(e){return this instanceof n?(r.call(this,e),void 0):new n(e)}t.exports=n;var r=e("./transform.js"),i=e("inherits");i(n,r),n.prototype._transform=function(e,t,n){n(null,e)}},{"./transform.js":12,inherits:5}],11:[function(e,t){(function(n){function r(t){t=t||{};var n=t.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(L||(L=e("string_decoder").StringDecoder),this.decoder=new L(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,A.call(this),void 0):new i(e)}function o(e,t,n,r,i){var o=f(t,n);if(o)e.emit("error",o);else if(null===n||void 0===n)t.reading=!1,t.ended||h(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=x)e=x;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||null===e?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function f(e,t){var n=null;return S.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||n||(n=new TypeError("Invalid non-string/buffer chunk")),n}function h(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):w(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?B(function(){c(e)}):c(e))}function c(e){e.emit("readable")}function d(e,t){t.readingMore||(t.readingMore=!0,B(function(){p(e,t)}))}function p(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e){var t=e.write(n);!1===t&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):E(r.pipes,t),e.emit("data",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,I.listenerCount(e,"data")>0&&y(e),void 0):(r.ranOut=!0,void 0)}function b(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw Error("Cannot switch to old mode now.");var r=t||!1,i=!1;e.readable=!0,e.pipe=A.prototype.pipe,e.on=e.addListener=A.prototype.on,e.on("readable",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit("data",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit("pause")},e.resume=function(){r=!1,i?B(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function m(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(""):S.concat(r,i),r.length=0;else if(r[0].length>e){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?"":new S(e);for(var u=0,f=0,h=r.length;h>f&&e>u;f++){var s=r[0],l=Math.min(e-u,s.length);o?n+=s.slice(0,l):s.copy(n,u,0,l),s.length>l?r[0]=s.slice(l):r.shift(),u+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,B(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function E(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i,i.ReadableState=r;var L,I=e("events").EventEmitter,A=e("./index.js"),S=e("buffer").Buffer,B=e("process/browser.js").nextTick,j=e("inherits");j(i,A),i.prototype.push=function(e,t){var n=this._readableState;return"string"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new S(e,t),t="")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,"",!0)},i.prototype.setEncoding=function(t){L||(L=e("string_decoder").StringDecoder),this._readableState.decoder=new L(t),this._readableState.encoding=t};var x=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;t.length-e<=t.highWaterMark&&(r=!0),(t.ended||t.reading)&&(r=!1),r&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=u(n,t));var i;return i=e>0?m(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&w(this),i},i.prototype._read=function(){this.emit("error",Error("not implemented"))},i.prototype.pipe=function(e,t){function r(e){e===h&&o()}function i(){e.end()}function o(){e.removeListener("close",s),e.removeListener("finish",u),e.removeListener("drain",p),e.removeListener("error",a),e.removeListener("unpipe",r),h.removeListener("end",i),h.removeListener("end",o),(!e._writableState||e._writableState.needDrain)&&p()}function a(t){f(),0===y&&0===I.listenerCount(e,"error")&&e.emit("error",t)}function s(){e.removeListener("finish",u),f()}function u(){e.removeListener("close",s),f()}function f(){h.unpipe(e)}var h=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1;var c=(!t||t.end!==!1)&&e!==n.stdout&&e!==n.stderr,d=c?i:o;l.endEmitted?B(d):h.once("end",d),e.on("unpipe",r);var p=g(h);e.on("drain",p);var y=I.listenerCount(e,"error");return e.once("error",a),e.once("close",s),e.once("finish",u),e.emit("pipe",h),l.flowing||(this.on("readable",b),l.flowing=!0,B(function(){v(h)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||y(this),"readable"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit("resume")},i.prototype.pause=function(){y(this,!0),this.emit("pause")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){if(t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)"function"==typeof e[i]&&this[i]===void 0&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return E(o,function(t){e.on(t,function(e){return r.emit.apply(r,t,e)})}),r._read=function(){n&&(n=!1,e.resume())},r},i._fromList=m}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"./index.js":8,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,buffer:1,events:4,inherits:5,"process/browser.js":9,string_decoder:14}],12:[function(e,t){function n(e,t){this.afterTransform=function(e,n){return r(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function r(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);a.call(this,e),this._transformState=new n(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var n=e._writableState;e._readableState;var r=e._transformState;if(n.length)throw Error("calling transform done when ws.length != 0");if(r.transforming)throw Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var a=e("./duplex.js"),s=e("inherits");s(i,a),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw Error("not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./duplex.js":7,inherits:5}],13:[function(e,t){function n(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function r(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){c(t,e)},this.writecb=null,this.writelen=0,this.buffer=[]}function i(e){return this instanceof i||this instanceof _.Duplex?(this._writableState=new r(e,this),this.writable=!0,_.call(this),void 0):new i(e)}function o(e,t,n){var r=Error("write after end");e.emit("error",r),L(function(){n(r)})}function a(e,t,n,r){var i=!0;if(!I.isBuffer(n)&&"string"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),L(function(){r(o)}),i=!1}return i}function s(e,t,n){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new I(t,n)),t}function u(e,t,r,i,o){r=s(t,r,i);var a=t.objectMode?1:r.length;t.length+=a;var u=t.length<t.highWaterMark;return t.needDrain=!u,t.writing?t.buffer.push(new n(r,i,o)):f(e,t,a,r,i,o),u}function f(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function h(e,t,n,r,i){n?L(function(){i(r)}):i(r),e.emit("error",r)}function l(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function c(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(l(n),t)h(e,n,r,t,i);else{var o=v(e,n);o||n.bufferProcessing||!n.buffer.length||g(e,n),r?L(function(){d(e,n,o,i)}):d(e,n,o,i)}}function d(e,t,n,r){n||p(e,t),r(),n&&b(e,t)}function p(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function g(e,t){t.bufferProcessing=!0;for(var n=0;t.buffer.length>n;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(f(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,t.buffer.length>n?t.buffer=t.buffer.slice(n):t.buffer.length=0}function v(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function b(e,t){var n=v(e,t);return n&&(t.finished=!0,e.emit("finish")),n}function y(e,t,n){t.ending=!0,b(e,t),n&&(t.finished?L(n):e.once("finish",n)),t.ended=!0}t.exports=i,i.WritableState=r;var m="undefined"!=typeof Uint8Array?function(e){return e instanceof Uint8Array}:function(e){return e&&e.constructor&&"Uint8Array"===e.constructor.name},w="undefined"!=typeof ArrayBuffer?function(e){return e instanceof ArrayBuffer}:function(e){return e&&e.constructor&&"ArrayBuffer"===e.constructor.name},E=e("inherits"),_=e("./index.js"),L=e("process/browser.js").nextTick,I=e("buffer").Buffer;E(i,_),i.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},i.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),!I.isBuffer(e)&&m(e)&&(e=new I(e)),w(e)&&"undefined"!=typeof Uint8Array&&(e=new I(new Uint8Array(e))),I.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=function(){}),r.ended?o(this,r,n):a(this,r,e,n)&&(i=u(this,r,e,t,n)),i},i.prototype._write=function(e,t,n){n(Error("not implemented"))},i.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),e!==void 0&&null!==e&&this.write(e,t),r.ending||r.finished||y(this,r,n)}},{"./index.js":8,buffer:1,inherits:5,"process/browser.js":9}],14:[function(e,t,n){function r(e){if(e&&!s.isEncoding(e))throw Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){var t=this.charReceived=e.length%2;return this.charLength=t?2:0,t}function a(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var s=e("buffer").Buffer,u=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return this.write=i,void 0}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="",n=0;this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,n,r),this.charReceived+=r-n,n=r,this.charReceived<this.charLength)return"";t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,r==e.length)return t;e=e.slice(r,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,a),this.charReceived=o,a-=o),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,a)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&6==n>>5){this.charLength=2;break}if(2>=t&&14==n>>4){this.charLength=3;break}if(3>=t&&30==n>>3){this.charLength=4;break}}return t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:1}],MIlwAv:[function(e,t,n){(function(r){function i(e,t,n){function i(){for(;f.length&&!l.paused;){var e=f.shift();if(null===e)return l.emit("end");l.emit("data",e)}}function a(){l.writable=!1,t.call(l),!l.readable&&l.autoDestroy&&l.destroy()}e=e||function(e){this.queue(e)},t=t||function(){this.queue(null)};var s=!1,u=!1,f=[],h=!1,l=new o;return l.readable=l.writable=!0,l.paused=!1,l.autoDestroy=!(n&&n.autoDestroy===!1),l.write=function(t){return e.call(this,t),!l.paused},l.queue=l.push=function(e){return h?l:(null==e&&(h=!0),f.push(e),i(),l)},l.on("end",function(){l.readable=!1,!l.writable&&l.autoDestroy&&r.nextTick(function(){l.destroy()})}),l.end=function(e){return s?void 0:(s=!0,arguments.length&&l.write(e),a(),l)},l.destroy=function(){return u?void 0:(u=!0,s=!0,f.length=0,l.writable=l.readable=!1,l.emit("close"),l)},l.pause=function(){return l.paused?void 0:(l.paused=!0,l)},l.resume=function(){return l.paused&&(l.paused=!1,l.emit("resume")),i(),l.paused||l.emit("drain"),l},l}var o=e("stream");n=t.exports=i,i.through=i}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,stream:8}],through:[function(e,t){t.exports=e("MIlwAv")},{}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({1:[function(e,t,n){(function(e){(function(r){function i(e){throw RangeError(T[e])}function o(e,t){for(var n=e.length;n--;)e[n]=t(e[n]);return e}function a(e,t){return o(e.split(M),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;o>i;)t=e.charCodeAt(i++),t>=55296&&56319>=t&&o>i?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function u(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=O(55296|1023&e>>>10),e=56320|1023&e),t+=O(e)}).join("")}function f(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:_}function h(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function l(e,t,n){var r=0;for(e=n?R(e/S):e>>1,e+=R(e/t);e>C*I>>1;r+=_)e=R(e/C);return R(r+(C+1)*e/(e+A))}function c(e){var t,n,r,o,a,s,h,c,d,p,g=[],v=e.length,b=0,y=j,m=B;for(n=e.lastIndexOf(x),0>n&&(n=0),r=0;n>r;++r)e.charCodeAt(r)>=128&&i("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;v>o;){for(a=b,s=1,h=_;o>=v&&i("invalid-input"),c=f(e.charCodeAt(o++)),(c>=_||c>R((E-b)/s))&&i("overflow"),b+=c*s,d=m>=h?L:h>=m+I?I:h-m,!(d>c);h+=_)p=_-d,s>R(E/p)&&i("overflow"),s*=p;t=g.length+1,m=l(b-a,t,0==a),R(b/t)>E-y&&i("overflow"),y+=R(b/t),b%=t,g.splice(b++,0,y)
}return u(g)}function d(e){var t,n,r,o,a,u,f,c,d,p,g,v,b,y,m,w=[];for(e=s(e),v=e.length,t=j,n=0,a=B,u=0;v>u;++u)g=e[u],128>g&&w.push(O(g));for(r=o=w.length,o&&w.push(x);v>r;){for(f=E,u=0;v>u;++u)g=e[u],g>=t&&f>g&&(f=g);for(b=r+1,f-t>R((E-n)/b)&&i("overflow"),n+=(f-t)*b,t=f,u=0;v>u;++u)if(g=e[u],t>g&&++n>E&&i("overflow"),g==t){for(c=n,d=_;p=a>=d?L:d>=a+I?I:d-a,!(p>c);d+=_)m=c-p,y=_-p,w.push(O(h(p+m%y,0))),c=R(m/y);w.push(O(h(c,0))),a=l(n,b,r==o),n=0,++r}++n,++t}return w.join("")}function p(e){return a(e,function(e){return U.test(e)?c(e.slice(4).toLowerCase()):e})}function g(e){return a(e,function(e){return k.test(e)?"xn--"+d(e):e})}var v="object"==typeof n&&n,b="object"==typeof t&&t&&t.exports==v&&t,y="object"==typeof e&&e;(y.global===y||y.window===y)&&(r=y);var m,w,E=2147483647,_=36,L=1,I=26,A=38,S=700,B=72,j=128,x="-",U=/^xn--/,k=/[^ -~]/,M=/\x2E|\u3002|\uFF0E|\uFF61/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=_-L,R=Math.floor,O=String.fromCharCode;if(m={version:"1.2.4",ucs2:{decode:s,encode:u},decode:c,encode:d,toASCII:g,toUnicode:p},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return m});else if(v&&!v.nodeType)if(b)b.exports=m;else for(w in m)m.hasOwnProperty(w)&&(v[w]=m[w]);else r.punycode=m})(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,i,o){t=t||"&",i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var f=e.length;u>0&&f>u&&(f=u);for(var h=0;f>h;++h){var l,c,d,p,g=e[h].replace(s,"%20"),v=g.indexOf(i);v>=0?(l=g.substr(0,v),c=g.substr(v+1)):(l=g,c=""),d=decodeURIComponent(l),p=decodeURIComponent(c),n(a,d)?r(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],3:[function(e,t){"use strict";function n(e,t){if(e.map)return e.map(t);for(var n=[],r=0;e.length>r;r++)n.push(t(e[r],r));return n}var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,a,s){return t=t||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e?n(o(e),function(n){var o=encodeURIComponent(r(n))+a;return i(e[n])?e[n].map(function(e){return o+encodeURIComponent(r(e))}).join(t):o+encodeURIComponent(r(e[n]))}).join(t):s?encodeURIComponent(r(s))+a+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],4:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":2,"./encode":3}],"7gdW4k":[function(e,t,n){(function(){"use strict";function t(e,t,n){if(e&&"object"==typeof e&&e.href)return e;if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i={},o=e;o=o.trim();var f=u.exec(o);if(f){f=f[0];var h=f.toLowerCase();i.protocol=h,o=o.substr(f.length)}if(n||f||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var l="//"===o.substr(0,2);!l||f&&m[f]||(o=o.substr(2),i.slashes=!0)}if(!m[f]&&(l||f&&!w[f])){var _=o.indexOf("@");if(-1!==_){for(var L=o.slice(0,_),I=!0,A=0,S=p.length;S>A;A++)if(-1!==L.indexOf(p[A])){I=!1;break}I&&(i.auth=decodeURIComponent(L),o=o.substr(_+1))}for(var B=-1,A=0,S=d.length;S>A;A++){var j=o.indexOf(d[A]);-1!==j&&(0>B||B>j)&&(B=j)}-1!==B?(i.host=o.substr(0,B),o=o.substr(B)):(i.host=o,o="");for(var x=a(i.host),U=Object.keys(x),A=0,S=U.length;S>A;A++){var k=U[A];i[k]=x[k]}i.hostname=i.hostname||"";var M="["===i.hostname[0]&&"]"===i.hostname[i.hostname.length-1];if(i.hostname.length>g)i.hostname="";else if(!M)for(var T=i.hostname.split(/\./),A=0,S=T.length;S>A;A++){var C=T[A];if(C&&!C.match(v)){for(var R="",O=0,N=C.length;N>O;O++)R+=C.charCodeAt(O)>127?"x":C[O];if(!R.match(v)){var D=T.slice(0,A),F=T.slice(A+1),W=C.match(b);W&&(D.push(W[1]),F.unshift(W[2])),F.length&&(o="/"+F.join(".")+o),i.hostname=D.join(".");break}}}if(i.hostname=i.hostname.toLowerCase(),!M){for(var P=i.hostname.split("."),q=[],A=0;P.length>A;++A){var z=P[A];q.push(z.match(/[^A-Za-z0-9_-]/)?"xn--"+s.encode(z):z)}i.hostname=q.join(".")}i.host=(i.hostname||"")+(i.port?":"+i.port:""),i.href+=i.host,M&&(i.hostname=i.hostname.substr(1,i.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!y[h])for(var A=0,S=c.length;S>A;A++){var H=c[A],Y=encodeURIComponent(H);Y===H&&(Y=escape(H)),o=o.split(H).join(Y)}var G=o.indexOf("#");-1!==G&&(i.hash=o.substr(G),o=o.slice(0,G));var J=o.indexOf("?");return-1!==J?(i.search=o.substr(J),i.query=o.substr(J+1),t&&(i.query=E.parse(i.query)),o=o.slice(0,J)):t&&(i.search="",i.query={}),o&&(i.pathname=o),w[f]&&i.hostname&&!i.pathname&&(i.pathname="/"),(i.pathname||i.search)&&(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.href=r(i),i}function r(e){"string"==typeof e&&(e=t(e));var n=e.auth||"";n&&(n=encodeURIComponent(n),n=n.replace(/%3A/i,":"),n+="@");var r=e.protocol||"",i=e.pathname||"",o=e.hash||"",a=!1,s="";void 0!==e.host?a=n+e.host:void 0!==e.hostname&&(a=n+(-1===e.hostname.indexOf(":")?e.hostname:"["+e.hostname+"]"),e.port&&(a+=":"+e.port)),e.query&&"object"==typeof e.query&&Object.keys(e.query).length&&(s=E.stringify(e.query));var u=e.search||s&&"?"+s||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||w[r])&&a!==!1?(a="//"+(a||""),i&&"/"!==i.charAt(0)&&(i="/"+i)):a||(a=""),o&&"#"!==o.charAt(0)&&(o="#"+o),u&&"?"!==u.charAt(0)&&(u="?"+u),r+a+i+u+o}function i(e,t){return r(o(e,t))}function o(e,n){if(!e)return n;if(e=t(r(e),!1,!0),n=t(r(n),!1,!0),e.hash=n.hash,""===n.href)return e.href=r(e),e;if(n.slashes&&!n.protocol)return n.protocol=e.protocol,w[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=r(n),n;if(n.protocol&&n.protocol!==e.protocol){if(!w[n.protocol])return n.href=r(n),n;if(e.protocol=n.protocol,!n.host&&!m[n.protocol]){for(var i=(n.pathname||"").split("/");i.length&&!(n.host=i.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),""!==i[0]&&i.unshift(""),2>i.length&&i.unshift(""),n.pathname=i.join("/")}return e.pathname=n.pathname,e.search=n.search,e.query=n.query,e.host=n.host||"",e.auth=n.auth,e.hostname=n.hostname||n.host,e.port=n.port,(void 0!==e.pathname||void 0!==e.search)&&(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.slashes=e.slashes||n.slashes,e.href=r(e),e}var o=e.pathname&&"/"===e.pathname.charAt(0),a=void 0!==n.host||n.pathname&&"/"===n.pathname.charAt(0),s=a||o||e.host&&n.pathname,u=s,f=e.pathname&&e.pathname.split("/")||[],i=n.pathname&&n.pathname.split("/")||[],h=e.protocol&&!w[e.protocol];if(h&&(delete e.hostname,delete e.port,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),delete e.host,n.protocol&&(delete n.hostname,delete n.port,n.host&&(""===i[0]?i[0]=n.host:i.unshift(n.host)),delete n.host),s=s&&(""===i[0]||""===f[0])),a)e.host=n.host||""===n.host?n.host:e.host,e.hostname=n.hostname||""===n.hostname?n.hostname:e.hostname,e.search=n.search,e.query=n.query,f=i;else if(i.length)f||(f=[]),f.pop(),f=f.concat(i),e.search=n.search,e.query=n.query;else if("search"in n){if(h){e.hostname=e.host=f.shift();var l=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;l&&(e.auth=l.shift(),e.host=e.hostname=l.shift())}return e.search=n.search,e.query=n.query,(void 0!==e.pathname||void 0!==e.search)&&(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=r(e),e}if(!f.length)return delete e.pathname,e.search?delete e.path:e.path="/"+e.search,e.href=r(e),e;for(var c=f.slice(-1)[0],d=(e.host||n.host)&&("."===c||".."===c)||""===c,p=0,g=f.length;g>=0;g--)c=f[g],"."==c?f.splice(g,1):".."===c?(f.splice(g,1),p++):p&&(f.splice(g,1),p--);if(!s&&!u)for(;p--;p)f.unshift("..");!s||""===f[0]||f[0]&&"/"===f[0].charAt(0)||f.unshift(""),d&&"/"!==f.join("/").substr(-1)&&f.push("");var v=""===f[0]||f[0]&&"/"===f[0].charAt(0);if(h){e.hostname=e.host=v?"":f.length?f.shift():"";var l=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;l&&(e.auth=l.shift(),e.host=e.hostname=l.shift())}return s=s||e.host&&f.length,s&&!v&&f.unshift(""),e.pathname=f.join("/"),(void 0!==e.pathname||void 0!==e.search)&&(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=n.auth||e.auth,e.slashes=e.slashes||n.slashes,e.href=r(e),e}function a(e){var t={},n=f.exec(e);return n&&(n=n[0],":"!==n&&(t.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(t.hostname=e),t}var s=e("punycode");n.parse=t,n.resolve=i,n.resolveObject=o,n.format=r;var u=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,h=["<",">",'"',"`"," ","\r","\n"," "],l=["{","}","|","\\","^","~","`"].concat(h),c=["'"].concat(h),d=["%","/","?",";","#"].concat(l).concat(c),p=["/","@","?","#"].concat(h),g=255,v=/^[a-zA-Z0-9][a-z0-9A-Z_-]{0,62}$/,b=/^([a-zA-Z0-9][a-z0-9A-Z_-]{0,62})(.*)$/,y={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},E=e("querystring")})()},{punycode:1,querystring:4}],url:[function(e,t){t.exports=e("7gdW4k")},{}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({1:[function(){},{}],CxFzpK:[function(e,t){function n(e,t){this.rows=e,this.headers=this.getHeaders(e),this.editable=t}e("fs");var r=e("mustache"),i='<div class="data-table-container">\n <table class="data-table" cellspacing="0">\n <tbody class="data-table-body">\n <tr class="table-row">\n {{#editable}}<td class="column-header"></td>{{/editable}}\n {{#headers}}\n <td class="table-data column-header {{state}}">\n <div class="column-header-title {{state}}">\n {{#editable}}<a class="column-header-menu"></a>{{/editable}}\n <span class="column-header-name{{^editable}} slim{{/editable}}">{{header}}</span>\n </div>\n </td>\n {{/headers}}\n </tr>\n {{#rows}}\n <tr class="table-row" data-id="{{id}}">\n {{#editable}}<td class="table-data"><a class="row-header-menu"></a></td>{{/editable}}\n {{#cells}}\n <td data-header="{{header}}" class="table-data {{state}}">\n <div class="data-table-cell-content {{state}}">\n {{#editable}}<a href="javascript:{}" class="data-table-cell-edit" title="Edit this cell">&nbsp;</a>{{/editable}}\n <div class="data-table-cell-value {{state}}">{{value}}</div>\n </div>\n </td>\n {{/cells}}\n </tr>\n {{/rows}}\n {{^rows}}\n <!-- show nothing -->\n {{/rows}}\n </tbody>\n </table>\n</div>';t.exports=function(e){return new n(e)},t.exports.css='/*\n\nSome CSS Copyright 2010, Google Inc.\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, \nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY \nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n*/\n\nbody {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-size: 100%;\n vertical-align: baseline;\n background: transparent;\n font-size: 11px;\n font-family: Arial, sans-serif;\n background: #fff;\n}\n\n.data-table-container {\n display: block;\n border-top: 1px solid #E1EEEC;\n}\n\n.data-table {\n border-spacing: 0;\n margin: 0;\n padding: 0;\n border-collapse: collapse;\n}\n\n.table-row {\n background: #fff;\n}\n\n.table-data {\n padding: 2px 5px;\n border-bottom: 1px dotted #ddd;\n border-right: 1px solid #ddd;\n}\n\n.column-header {\n vertical-align: top;\n white-space: nowrap;\n background: #ffe;\n cursor: pointer;\n padding: 2px 6px 2px 4px;\n border-right: 1px solid #ddd;\n font-weight: bold;\n}\n\n.column-header-name {\n margin: 0 0 0 21px;\n padding: 2px 0 0 0;\n display: block;\n}\n\n.column-header-name.slim {\n margin: 0;\n padding: 2px 0 0 0;\n display: block;\n}\n\n.data-table-cell-content {\n line-height: 1.2;\n color: #222;\n position: relative;\n}\n',n.prototype.appendTo=function(e){if("object"==typeof e){var t=this.render();e.innerHTML=t}else document.querySelector(e).appendChild(this.render())},n.prototype.isEditable=function(){return this.editable},n.prototype.getHeaders=function(){var e={};return this.rows.forEach(function(t){for(var n in t)e[n]=!0}),Object.keys(e)},n.prototype.domify=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes},n.prototype.render=function(){var e=this,t=this.rows;if(1>t.length)return r.render(i,{});var n=[];t.map(function(t){var r=[];e.headers.map(function(e){var n="";t[e]&&(n=t[e],"object"==typeof n&&(n=JSON.stringify(n)));var i={header:e,value:n};r.push(i)}),n.push({id:t.id,cells:r})});var o=this.headers.map(function(e){var e={header:e};return e}),a=r.render(i,{rows:n,headers:o,notEmpty:function(){return e.headers.length>0},editable:e.isEditable()});return a}},{fs:1,mustache:4}],"data-table":[function(e,t){t.exports=e("CxFzpK")},{}],4:[function(e,t,n){(function(e,t){if("object"==typeof n&&n)t(n);else{var r={};t(r),"function"==typeof define&&define.amd?define(r):e.Mustache=r}})(this,function(e){function t(e,t){return w.call(e,t)}function n(e){return!t(v,e)}function r(e){return"function"==typeof e}function i(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(e){return(e+"").replace(/[&<>"'\/]/g,function(e){return L[e]})}function a(e){this.string=e,this.tail=e,this.pos=0}function s(e,t){this.view=null==e?{}:e,this.parent=t,this._cache={".":this.view}}function u(){this.clearCache()}function f(t,n,i,o){function a(e){return n.render(e,i)}for(var s,u,h,l="",c=0,d=t.length;d>c;++c)switch(s=t[c],u=s[1],s[0]){case"#":if(h=i.lookup(u),"object"==typeof h||"string"==typeof h)if(_(h))for(var p=0,g=h.length;g>p;++p)l+=f(s[4],n,i.push(h[p]),o);else h&&(l+=f(s[4],n,i.push(h),o));else if(r(h)){var v=null==o?null:o.slice(s[3],s[5]);h=h.call(i.view,v,a),null!=h&&(l+=h)}else h&&(l+=f(s[4],n,i,o));break;case"^":h=i.lookup(u),(!h||_(h)&&0===h.length)&&(l+=f(s[4],n,i,o));break;case">":h=n.getPartial(u),r(h)&&(l+=h(i));break;case"&":h=i.lookup(u),null!=h&&(l+=h);break;case"name":h=i.lookup(u),null!=h&&(l+=e.escape(h));break;case"text":l+=u}return l}function h(e){for(var t,n=[],r=n,i=[],o=0,a=e.length;a>o;++o)switch(t=e[o],t[0]){case"#":case"^":i.push(t),r.push(t),r=t[4]=[];break;case"/":var s=i.pop();s[5]=t[2],r=i.length>0?i[i.length-1][4]:n;break;default:r.push(t)}return n}function l(e){for(var t,n,r=[],i=0,o=e.length;o>i;++i)t=e[i],t&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(n=t,r.push(t)));return r}function c(e){return[RegExp(i(e[0])+"\\s*"),RegExp("\\s*"+i(e[1]))]}function d(t,r){function o(){if(S&&!B)for(;A.length;)delete I[A.pop()];else A=[];S=!1,B=!1}if(t=t||"",r=r||e.tags,"string"==typeof r&&(r=r.split(g)),2!==r.length)throw Error("Invalid tags: "+r.join(", "));for(var s,u,f,d,v,w,E=c(r),_=new a(t),L=[],I=[],A=[],S=!1,B=!1;!_.eos();){if(s=_.pos,f=_.scanUntil(E[0]))for(var j=0,x=f.length;x>j;++j)d=f.charAt(j),n(d)?A.push(I.length):B=!0,I.push(["text",d,s,s+1]),s+=1,"\n"==d&&o();if(!_.scan(E[0]))break;if(S=!0,u=_.scan(m)||"name",_.scan(p),"="===u?(f=_.scanUntil(b),_.scan(b),_.scanUntil(E[1])):"{"===u?(f=_.scanUntil(RegExp("\\s*"+i("}"+r[1]))),_.scan(y),_.scanUntil(E[1]),u="&"):f=_.scanUntil(E[1]),!_.scan(E[1]))throw Error("Unclosed tag at "+_.pos);if(v=[u,f,s,_.pos],I.push(v),"#"===u||"^"===u)L.push(v);else if("/"===u){if(w=L.pop(),!w)throw Error('Unopened section "'+f+'" at '+s);if(w[1]!==f)throw Error('Unclosed section "'+w[1]+'" at '+s)}else if("name"===u||"{"===u||"&"===u)B=!0;else if("="===u){if(r=f.split(g),2!==r.length)throw Error("Invalid tags at "+s+": "+r.join(", "));E=c(r)}}if(w=L.pop())throw Error('Unclosed section "'+w[1]+'" at '+_.pos);return h(l(I))}var p=/\s*/,g=/\s+/,v=/\S/,b=/\s*=/,y=/\s*\}/,m=/#|\^|\/|>|\{|&|=|!/,w=RegExp.prototype.test,E=Object.prototype.toString,_=Array.isArray||function(e){return"[object Array]"===E.call(e)},L={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};a.prototype.eos=function(){return""===this.tail},a.prototype.scan=function(e){var t=this.tail.match(e);if(t&&0===t.index){var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n}return""},a.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},s.make=function(e){return e instanceof s?e:new s(e)},s.prototype.push=function(e){return new s(e,this)},s.prototype.lookup=function(e){var t;if(e in this._cache)t=this._cache[e];else{for(var n=this;n;){if(e.indexOf(".")>0){t=n.view;for(var i=e.split("."),o=0;null!=t&&i.length>o;)t=t[i[o++]]}else t=n.view[e];if(null!=t)break;n=n.parent}this._cache[e]=t}return r(t)&&(t=t.call(this.view)),t},u.prototype.clearCache=function(){this._cache={},this._partialCache={}},u.prototype.compile=function(t,n){var r=this._cache[t];if(!r){var i=e.parse(t,n);r=this._cache[t]=this.compileTokens(i,t)}return r},u.prototype.compilePartial=function(e,t,n){var r=this.compile(t,n);return this._partialCache[e]=r,r},u.prototype.getPartial=function(e){return e in this._partialCache||!this._loadPartial||this.compilePartial(e,this._loadPartial(e)),this._partialCache[e]},u.prototype.compileTokens=function(e,t){var n=this;return function(i,o){if(o)if(r(o))n._loadPartial=o;else for(var a in o)n.compilePartial(a,o[a]);return f(e,n,s.make(i),t)}},u.prototype.render=function(e,t,n){return this.compile(e)(t,n)},e.name="mustache.js",e.version="0.7.3",e.tags=["{{","}}"],e.Scanner=a,e.Context=s,e.Writer=u,e.parse=d,e.escape=o;var I=new u;e.clearCache=function(){return I.clearCache()},e.compile=function(e,t){return I.compile(e,t)},e.compilePartial=function(e,t,n){return I.compilePartial(e,t,n)},e.compileTokens=function(e,t){return I.compileTokens(e,t)},e.render=function(e,t,n){return I.render(e,t,n)},e.to_html=function(t,n,i,o){var a=e.render(t,n,i);return r(o)?(o(a),void 0):a}})},{}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({XxGlWs:[function(e,t){var n={};t.exports=function(e){if(!n[e]){n[e]=!0;var t=document.createElement("style");t.setAttribute("type","text/css"),"textContent"in t?t.textContent=e:t.styleSheet.cssText=e;var r=document.getElementsByTagName("head")[0];r.appendChild(t)}}},{}],"insert-css":[function(e,t){t.exports=e("XxGlWs")},{}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({1:[function(e,t,n){function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);var i=typeof e;if("base64"===t&&"string"===i)for(e=j(e);0!==e.length%4;)e+="=";var o;if("number"===i)o=k(e);else if("string"===i)o=r.byteLength(e,t);else{if("object"!==i)throw Error("First argument needs to be a number, array or string.");o=k(e.length)}var a;r._useTypedArrays?a=x(new Uint8Array(o)):(a=this,a.length=o,a._isBuffer=!0);var s;if(r._useTypedArrays&&"function"==typeof Uint8Array&&e instanceof Uint8Array)a._set(e);else if(T(e))for(s=0;o>s;s++)a[s]=r.isBuffer(e)?e.readUInt8(s):e[s];else if("string"===i)a.write(e,0,t);else if("number"===i&&!r._useTypedArrays&&!n)for(s=0;o>s;s++)a[s]=0;return a}function i(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i),i>o&&(i=o)):i=o;var a=t.length;H(0===a%2,"Invalid hex string"),i>a/2&&(i=a/2);for(var s=0;i>s;s++){var u=parseInt(t.substr(2*s,2),16);H(!isNaN(u),"Invalid hex string"),e[n+s]=u}return r._charsWritten=2*s,s}function o(e,t,n,i){var o=r._charsWritten=F(R(t),e,n,i);return o}function a(e,t,n,i){var o=r._charsWritten=F(O(t),e,n,i);return o}function s(e,t,n,r){return a(e,t,n,r)}function u(e,t,n,i){var o=r._charsWritten=F(D(t),e,n,i);return o}function f(e,t,n,i){var o=r._charsWritten=F(N(t),e,n,i);return o}function h(e,t,n){return 0===t&&n===e.length?Y.fromByteArray(e):Y.fromByteArray(e.slice(t,n))}function l(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;n>o;o++)127>=e[o]?(r+=W(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+W(i)}function c(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function d(e,t,n){return c(e,t,n)}function p(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=C(e[o]);return i}function g(e,t,n){for(var r=e.slice(t,n),i="",o=0;r.length>o;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function v(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function b(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(i>t+2&&(o=e[t+2]<<16),i>t+1&&(o|=e[t+1]<<8),o|=e[t],i>t+3&&(o+=e[t+3]<<24>>>0)):(i>t+1&&(o=e[t+1]<<16),i>t+2&&(o|=e[t+2]<<8),i>t+3&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}}function y(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=v(e,t,n,!0),a=32768&o;return a?-1*(65535-o+1):o}}function m(e,t,n,r){r||(H("boolean"==typeof n,"missing or invalid endian"),H(void 0!==t&&null!==t,"missing offset"),H(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=b(e,t,n,!0),a=2147483648&o;return a?-1*(4294967295-o+1):o}}function w(e,t,n,r){return r||(H("boolean"==typeof n,"missing or invalid endian"),H(e.length>t+3,"Trying to read beyond buffer length")),G.read(e,t,n,23,4)}function E(e,t,n,r){return r||(H("boolean"==typeof n,"missing or invalid endian"),H(e.length>t+7,"Trying to read beyond buffer length")),G.read(e,t,n,52,8)}function _(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+1,"trying to write beyond buffer length"),P(t,65535));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,2);s>a;a++)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function L(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"trying to write beyond buffer length"),P(t,4294967295));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,4);s>a;a++)e[n+a]=255&t>>>8*(r?a:3-a)}function I(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+1,"Trying to write beyond buffer length"),q(t,32767,-32768));var o=e.length;n>=o||(t>=0?_(e,t,n,r,i):_(e,65535+t+1,n,r,i))}function A(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"Trying to write beyond buffer length"),q(t,2147483647,-2147483648));var o=e.length;n>=o||(t>=0?L(e,t,n,r,i):L(e,4294967295+t+1,n,r,i))}function S(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+3,"Trying to write beyond buffer length"),z(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;n>=o||G.write(e,t,n,r,23,4)}function B(e,t,n,r,i){i||(H(void 0!==t&&null!==t,"missing value"),H("boolean"==typeof r,"missing or invalid endian"),H(void 0!==n&&null!==n,"missing offset"),H(e.length>n+7,"Trying to write beyond buffer length"),z(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;n>=o||G.write(e,t,n,r,52,8)}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=J.get,e.set=J.set,e.write=J.write,e.toString=J.toString,e.toLocaleString=J.toString,e.toJSON=J.toJSON,e.copy=J.copy,e.slice=J.slice,e.readUInt8=J.readUInt8,e.readUInt16LE=J.readUInt16LE,e.readUInt16BE=J.readUInt16BE,e.readUInt32LE=J.readUInt32LE,e.readUInt32BE=J.readUInt32BE,e.readInt8=J.readInt8,e.readInt16LE=J.readInt16LE,e.readInt16BE=J.readInt16BE,e.readInt32LE=J.readInt32LE,e.readInt32BE=J.readInt32BE,e.readFloatLE=J.readFloatLE,e.readFloatBE=J.readFloatBE,e.readDoubleLE=J.readDoubleLE,e.readDoubleBE=J.readDoubleBE,e.writeUInt8=J.writeUInt8,e.writeUInt16LE=J.writeUInt16LE,e.writeUInt16BE=J.writeUInt16BE,e.writeUInt32LE=J.writeUInt32LE,e.writeUInt32BE=J.writeUInt32BE,e.writeInt8=J.writeInt8,e.writeInt16LE=J.writeInt16LE,e.writeInt16BE=J.writeInt16BE,e.writeInt32LE=J.writeInt32LE,e.writeInt32BE=J.writeInt32BE,e.writeFloatLE=J.writeFloatLE,e.writeFloatBE=J.writeFloatBE,e.writeDoubleLE=J.writeDoubleLE,e.writeDoubleBE=J.writeDoubleBE,e.fill=J.fill,e.inspect=J.inspect,e.toArrayBuffer=J.toArrayBuffer,e}function U(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function k(e){return e=~~Math.ceil(+e),0>e?0:e}function M(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function T(e){return M(e)||r.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function C(e){return 16>e?"0"+e.toString(16):e.toString(16)}function R(e){for(var t=[],n=0;e.length>n;n++){var r=e.charCodeAt(n);if(127>=r)t.push(e.charCodeAt(n));else{var i=n;r>=55296&&57343>=r&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),a=0;o.length>a;a++)t.push(parseInt(o[a],16))}}return t}function O(e){for(var t=[],n=0;e.length>n;n++)t.push(255&e.charCodeAt(n));return t}function N(e){for(var t,n,r,i=[],o=0;e.length>o;o++)t=e.charCodeAt(o),n=t>>8,r=t%256,i.push(r),i.push(n);return i}function D(e){return Y.toByteArray(e)}function F(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function W(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function P(e,t){H("number"==typeof e,"cannot write a non-number as a number"),H(e>=0,"specified a negative value for writing an unsigned value"),H(t>=e,"value is larger than maximum value for type"),H(Math.floor(e)===e,"value has a fractional component")}function q(e,t,n){H("number"==typeof e,"cannot write a non-number as a number"),H(t>=e,"value larger than maximum allowed value"),H(e>=n,"value smaller than minimum allowed value"),H(Math.floor(e)===e,"value has a fractional component")}function z(e,t,n){H("number"==typeof e,"cannot write a non-number as a number"),H(t>=e,"value larger than maximum allowed value"),H(e>=n,"value smaller than minimum allowed value")}function H(e,t){if(!e)throw Error(t||"Failed assertion")}var Y=e("base64-js"),G=e("ieee754");n.Buffer=r,n.SlowBuffer=r,n.INSPECT_MAX_BYTES=50,r.poolSize=8192,r._useTypedArrays=function(){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer)return!1;try{var e=new Uint8Array(0);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),r.isEncoding=function(e){switch((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}},r.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},r.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=R(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=D(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n},r.concat=function(e,t){if(H(M(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new r(0);if(1===e.length)return e[0];var n;if("number"!=typeof t)for(t=0,n=0;e.length>n;n++)t+=e[n].length;var i=new r(t),o=0;for(n=0;e.length>n;n++){var a=e[n];a.copy(i,o),o+=a.length}return i},r.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var h=r;r=t,t=n,n=h}t=Number(t)||0;var l=this.length-t;n?(n=Number(n),n>l&&(n=l)):n=l,r=((r||"utf8")+"").toLowerCase();var c;switch(r){case"hex":c=i(this,e,t,n);break;case"utf8":case"utf-8":c=o(this,e,t,n);break;case"ascii":c=a(this,e,t,n);break;case"binary":c=s(this,e,t,n);break;case"base64":c=u(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":c=f(this,e,t,n);break;default:throw Error("Unknown encoding")}return c},r.prototype.toString=function(e,t,n){var r=this;if(e=((e||"utf8")+"").toLowerCase(),t=Number(t)||0,n=void 0!==n?Number(n):n=r.length,n===t)return"";var i;switch(e){case"hex":i=p(r,t,n);break;case"utf8":case"utf-8":i=l(r,t,n);break;case"ascii":i=c(r,t,n);break;case"binary":i=d(r,t,n);break;case"base64":i=h(r,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=g(r,t,n);break;default:throw Error("Unknown encoding")}return i},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},r.prototype.copy=function(e,t,n,r){var i=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==i.length){H(r>=n,"sourceEnd < sourceStart"),H(t>=0&&e.length>t,"targetStart out of bounds"),H(n>=0&&i.length>n,"sourceStart out of bounds"),H(r>=0&&i.length>=r,"sourceEnd out of bounds"),r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);for(var o=0;r-n>o;o++)e[o+t]=this[o+n]}},r.prototype.slice=function(e,t){var n=this.length;
if(e=U(e,n,0),t=U(t,n,n),r._useTypedArrays)return x(this.subarray(e,t));for(var i=t-e,o=new r(i,void 0,!0),a=0;i>a;a++)o[a]=this[a+e];return o},r.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},r.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},r.prototype.readUInt8=function(e,t){return t||(H(void 0!==e&&null!==e,"missing offset"),H(this.length>e,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},r.prototype.readUInt16LE=function(e,t){return v(this,e,!0,t)},r.prototype.readUInt16BE=function(e,t){return v(this,e,!1,t)},r.prototype.readUInt32LE=function(e,t){return b(this,e,!0,t)},r.prototype.readUInt32BE=function(e,t){return b(this,e,!1,t)},r.prototype.readInt8=function(e,t){if(t||(H(void 0!==e&&null!==e,"missing offset"),H(this.length>e,"Trying to read beyond buffer length")),!(e>=this.length)){var n=128&this[e];return n?-1*(255-this[e]+1):this[e]}},r.prototype.readInt16LE=function(e,t){return y(this,e,!0,t)},r.prototype.readInt16BE=function(e,t){return y(this,e,!1,t)},r.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},r.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},r.prototype.readFloatLE=function(e,t){return w(this,e,!0,t)},r.prototype.readFloatBE=function(e,t){return w(this,e,!1,t)},r.prototype.readDoubleLE=function(e,t){return E(this,e,!0,t)},r.prototype.readDoubleBE=function(e,t){return E(this,e,!1,t)},r.prototype.writeUInt8=function(e,t,n){n||(H(void 0!==e&&null!==e,"missing value"),H(void 0!==t&&null!==t,"missing offset"),H(this.length>t,"trying to write beyond buffer length"),P(e,255)),t>=this.length||(this[t]=e)},r.prototype.writeUInt16LE=function(e,t,n){_(this,e,t,!0,n)},r.prototype.writeUInt16BE=function(e,t,n){_(this,e,t,!1,n)},r.prototype.writeUInt32LE=function(e,t,n){L(this,e,t,!0,n)},r.prototype.writeUInt32BE=function(e,t,n){L(this,e,t,!1,n)},r.prototype.writeInt8=function(e,t,n){n||(H(void 0!==e&&null!==e,"missing value"),H(void 0!==t&&null!==t,"missing offset"),H(this.length>t,"Trying to write beyond buffer length"),q(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},r.prototype.writeInt16LE=function(e,t,n){I(this,e,t,!0,n)},r.prototype.writeInt16BE=function(e,t,n){I(this,e,t,!1,n)},r.prototype.writeInt32LE=function(e,t,n){A(this,e,t,!0,n)},r.prototype.writeInt32BE=function(e,t,n){A(this,e,t,!1,n)},r.prototype.writeFloatLE=function(e,t,n){S(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){S(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){B(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){B(this,e,t,!1,n)},r.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),H("number"==typeof e&&!isNaN(e),"value is not a number"),H(n>=t,"end < start"),n!==t&&0!==this.length){H(t>=0&&this.length>t,"start out of bounds"),H(n>=0&&this.length>=n,"end out of bounds");for(var r=t;n>r;r++)this[r]=e}},r.prototype.inspect=function(){for(var e=[],t=this.length,r=0;t>r;r++)if(e[r]=C(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},r.prototype.toArrayBuffer=function(){if("function"==typeof Uint8Array){if(r._useTypedArrays)return new r(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser")};var J=r.prototype},{"base64-js":2,ieee754:3}],2:[function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(){"use strict";function e(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:h+26>t?t-h:f+26>t?t-f+26:void 0}function r(t){function n(e){f[l++]=e}var r,i,a,s,u,f;if(t.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");var h=t.length;u="="===t.charAt(h-2)?2:"="===t.charAt(h-1)?1:0,f=new o(3*t.length/4-u),a=u>0?t.length-4:t.length;var l=0;for(r=0,i=0;a>r;r+=4,i+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(255&s>>8),n(255&s)),f}function i(e){function t(e){return n.charAt(e)}function r(e){return t(63&e>>18)+t(63&e>>12)+t(63&e>>6)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(63&o<<4),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(63&o>>4),u+=t(63&o<<2),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array;"0".charCodeAt(0);var a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),f="a".charCodeAt(0),h="A".charCodeAt(0);t.exports.toByteArray=r,t.exports.fromByteArray=i})()},{}],3:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,f=u>>1,h=-7,l=n?i-1:0,c=n?-1:1,d=e[t+l];for(l+=c,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+e[t+l],l+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=r;h>0;a=256*a+e[t+l],l+=c,h-=8);if(0===o)o=1-f;else{if(o===u)return a?0/0:1/0*(d?-1:1);a+=Math.pow(2,r),o-=f}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,l=h>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),1>t*(u=Math.pow(2,-a))&&(a--,u*=2),t+=a+l>=1?c/u:c*Math.pow(2,1-l),t*u>=2&&(a++,u/=2),a+l>=h?(s=0,a=h):a+l>=1?(s=(t*u-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;e[n+d]=255&a,d+=p,a/=256,f-=8);e[n+d-p]|=128*g}},{}],4:[function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function a(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(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,i,s,u,f;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length))throw t=arguments[1],t instanceof Error?t:TypeError('Uncaught, unspecified "error" event.');if(n=this._events[e],a(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:for(i=arguments.length,s=Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];n.apply(this,s)}else if(o(n)){for(i=arguments.length,s=Array(i-1),u=1;i>u;u++)s[u-1]=arguments[u];for(f=n.slice(),i=f.length,u=0;i>u;u++)f[u].apply(this,s)}return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned){var i;i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(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),console.trace())}return this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(s=a;s-->0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(0>i)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,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 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.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?r(e._events[t])?1:e._events[t].length:0}},{}],5:[function(e,t){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],6:[function(e,t){var n=t.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw Error("process.chdir is not supported")}},{}],7:[function(e,t){function n(e){return this instanceof n?(a.call(this,e),s.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",r),void 0):new n(e)}function r(){if(!this.allowHalfOpen&&!this._writableState.ended){var e=this;o(function(){e.end()})}}t.exports=n;var i=e("inherits"),o=e("process/browser.js").nextTick,a=e("./readable.js"),s=e("./writable.js");i(n,a),n.prototype.write=s.prototype.write,n.prototype.end=s.prototype.end,n.prototype._write=s.prototype._write},{"./readable.js":11,"./writable.js":13,inherits:5,"process/browser.js":9}],8:[function(e,t){function n(){r.call(this)}t.exports=n;var r=e("events").EventEmitter,i=e("inherits");i(n,r),n.Readable=e("./readable.js"),n.Writable=e("./writable.js"),n.Duplex=e("./duplex.js"),n.Transform=e("./transform.js"),n.PassThrough=e("./passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&f.pause&&f.pause()}function i(){f.readable&&f.resume&&f.resume()}function o(){h||(h=!0,e.end())}function a(){h||(h=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){f.removeListener("data",n),e.removeListener("drain",i),f.removeListener("end",o),f.removeListener("close",a),f.removeListener("error",s),e.removeListener("error",s),f.removeListener("end",u),f.removeListener("close",u),e.removeListener("close",u)}var f=this;f.on("data",n),e.on("drain",i),e._isStdio||t&&t.end===!1||(f.on("end",o),f.on("close",a));var h=!1;return f.on("error",s),e.on("error",s),f.on("end",u),f.on("close",u),e.on("close",u),e.emit("pipe",f),e}},{"./duplex.js":7,"./passthrough.js":10,"./readable.js":11,"./transform.js":12,"./writable.js":13,events:4,inherits:5}],9:[function(e,t){t.exports=e(6)},{}],10:[function(e,t){function n(e){return this instanceof n?(r.call(this,e),void 0):new n(e)}t.exports=n;var r=e("./transform.js"),i=e("inherits");i(n,r),n.prototype._transform=function(e,t,n){n(null,e)}},{"./transform.js":12,inherits:5}],11:[function(e,t){(function(n){function r(t){t=t||{};var n=t.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(L||(L=e("string_decoder").StringDecoder),this.decoder=new L(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,A.call(this),void 0):new i(e)}function o(e,t,n,r,i){var o=f(t,n);if(o)e.emit("error",o);else if(null===n||void 0===n)t.reading=!1,t.ended||h(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=Error("stream.unshift() after end event");e.emit("error",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=x)e=x;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||null===e?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function f(e,t){var n=null;return S.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||n||(n=new TypeError("Invalid non-string/buffer chunk")),n}function h(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):w(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?B(function(){c(e)}):c(e))}function c(e){e.emit("readable")}function d(e,t){t.readingMore||(t.readingMore=!0,B(function(){p(e,t)}))}function p(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e){var t=e.write(n);!1===t&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):E(r.pipes,t),e.emit("data",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,I.listenerCount(e,"data")>0&&y(e),void 0):(r.ranOut=!0,void 0)}function b(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw Error("Cannot switch to old mode now.");var r=t||!1,i=!1;e.readable=!0,e.pipe=A.prototype.pipe,e.on=e.addListener=A.prototype.on,e.on("readable",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit("data",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit("pause")},e.resume=function(){r=!1,i?B(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}function m(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(""):S.concat(r,i),r.length=0;else if(r[0].length>e){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?"":new S(e);for(var u=0,f=0,h=r.length;h>f&&e>u;f++){var s=r[0],l=Math.min(e-u,s.length);o?n+=s.slice(0,l):s.copy(n,u,0,l),s.length>l?r[0]=s.slice(l):r.shift(),u+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,B(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function E(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i,i.ReadableState=r;var L,I=e("events").EventEmitter,A=e("./index.js"),S=e("buffer").Buffer,B=e("process/browser.js").nextTick,j=e("inherits");j(i,A),i.prototype.push=function(e,t){var n=this._readableState;return"string"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new S(e,t),t="")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,"",!0)},i.prototype.setEncoding=function(t){L||(L=e("string_decoder").StringDecoder),this._readableState.decoder=new L(t),this._readableState.encoding=t};var x=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;t.length-e<=t.highWaterMark&&(r=!0),(t.ended||t.reading)&&(r=!1),r&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=u(n,t));var i;return i=e>0?m(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&w(this),i},i.prototype._read=function(){this.emit("error",Error("not implemented"))},i.prototype.pipe=function(e,t){function r(e){e===h&&o()}function i(){e.end()}function o(){e.removeListener("close",s),e.removeListener("finish",u),e.removeListener("drain",p),e.removeListener("error",a),e.removeListener("unpipe",r),h.removeListener("end",i),h.removeListener("end",o),(!e._writableState||e._writableState.needDrain)&&p()}function a(t){f(),0===y&&0===I.listenerCount(e,"error")&&e.emit("error",t)}function s(){e.removeListener("finish",u),f()}function u(){e.removeListener("close",s),f()}function f(){h.unpipe(e)}var h=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1;var c=(!t||t.end!==!1)&&e!==n.stdout&&e!==n.stderr,d=c?i:o;l.endEmitted?B(d):h.once("end",d),e.on("unpipe",r);var p=g(h);e.on("drain",p);var y=I.listenerCount(e,"error");return e.once("error",a),e.once("close",s),e.once("finish",u),e.emit("pipe",h),l.flowing||(this.on("readable",b),l.flowing=!0,B(function(){v(h)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",b),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if("data"!==e||this._readableState.flowing||y(this),"readable"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit("resume")},i.prototype.pause=function(){y(this,!0),this.emit("pause")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){if(t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)"function"==typeof e[i]&&this[i]===void 0&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return E(o,function(t){e.on(t,function(e){return r.emit.apply(r,t,e)})}),r._read=function(){n&&(n=!1,e.resume())},r},i._fromList=m}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"./index.js":8,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,buffer:1,events:4,inherits:5,"process/browser.js":9,string_decoder:14}],12:[function(e,t){function n(e,t){this.afterTransform=function(e,n){return r(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function r(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);a.call(this,e),this._transformState=new n(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var n=e._writableState;e._readableState;var r=e._transformState;if(n.length)throw Error("calling transform done when ws.length != 0");if(r.transforming)throw Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var a=e("./duplex.js"),s=e("inherits");s(i,a),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw Error("not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},{"./duplex.js":7,inherits:5}],13:[function(e,t){function n(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function r(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){c(t,e)},this.writecb=null,this.writelen=0,this.buffer=[]}function i(e){return this instanceof i||this instanceof _.Duplex?(this._writableState=new r(e,this),this.writable=!0,_.call(this),void 0):new i(e)}function o(e,t,n){var r=Error("write after end");e.emit("error",r),L(function(){n(r)})}function a(e,t,n,r){var i=!0;if(!I.isBuffer(n)&&"string"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),L(function(){r(o)}),i=!1}return i}function s(e,t,n){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=new I(t,n)),t}function u(e,t,r,i,o){r=s(t,r,i);var a=t.objectMode?1:r.length;t.length+=a;var u=t.length<t.highWaterMark;return t.needDrain=!u,t.writing?t.buffer.push(new n(r,i,o)):f(e,t,a,r,i,o),u}function f(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function h(e,t,n,r,i){n?L(function(){i(r)}):i(r),e.emit("error",r)}function l(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function c(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(l(n),t)h(e,n,r,t,i);else{var o=v(e,n);o||n.bufferProcessing||!n.buffer.length||g(e,n),r?L(function(){d(e,n,o,i)}):d(e,n,o,i)}}function d(e,t,n,r){n||p(e,t),r(),n&&b(e,t)}function p(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function g(e,t){t.bufferProcessing=!0;for(var n=0;t.buffer.length>n;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(f(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,t.buffer.length>n?t.buffer=t.buffer.slice(n):t.buffer.length=0}function v(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function b(e,t){var n=v(e,t);return n&&(t.finished=!0,e.emit("finish")),n}function y(e,t,n){t.ending=!0,b(e,t),n&&(t.finished?L(n):e.once("finish",n)),t.ended=!0}t.exports=i,i.WritableState=r;var m="undefined"!=typeof Uint8Array?function(e){return e instanceof Uint8Array}:function(e){return e&&e.constructor&&"Uint8Array"===e.constructor.name},w="undefined"!=typeof ArrayBuffer?function(e){return e instanceof ArrayBuffer}:function(e){return e&&e.constructor&&"ArrayBuffer"===e.constructor.name},E=e("inherits"),_=e("./index.js"),L=e("process/browser.js").nextTick,I=e("buffer").Buffer;E(i,_),i.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},i.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),!I.isBuffer(e)&&m(e)&&(e=new I(e)),w(e)&&"undefined"!=typeof Uint8Array&&(e=new I(new Uint8Array(e))),I.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=function(){}),r.ended?o(this,r,n):a(this,r,e,n)&&(i=u(this,r,e,t,n)),i},i.prototype._write=function(e,t,n){n(Error("not implemented"))},i.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),e!==void 0&&null!==e&&this.write(e,t),r.ending||r.finished||y(this,r,n)}},{"./index.js":8,buffer:1,inherits:5,"process/browser.js":9}],14:[function(e,t,n){function r(e){if(e&&!s.isEncoding(e))throw Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){var t=this.charReceived=e.length%2;return this.charLength=t?2:0,t}function a(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var s=e("buffer").Buffer,u=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return this.write=i,void 0}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="",n=0;this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,n,r),this.charReceived+=r-n,n=r,this.charReceived<this.charLength)return"";t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,r==e.length)return t;e=e.slice(r,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,a),this.charReceived=o,a-=o),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,a)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&6==n>>5){this.charLength=2;break}if(2>=t&&14==n>>4){this.charLength=3;break}if(3>=t&&30==n>>3){this.charLength=4;break}}return t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:1}],15:[function(e,t){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],16:[function(e,t,n){(function(t,r){function i(e,t){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),g(t)?r.showHidden=t:t&&n._extend(r,t),E(r.showHidden)&&(r.showHidden=!1),E(r.depth)&&(r.depth=2),E(r.colors)&&(r.colors=!1),E(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function a(e){return e}function s(e){var t={};return e.forEach(function(e){t[e]=!0}),t}function u(e,t,r){if(e.customInspect&&t&&S(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return m(i)||(i=u(e,i,r)),i}var o=f(e,t);if(o)return o;var a=Object.keys(t),g=s(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),A(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(t);if(0===a.length){if(S(t)){var v=t.name?": "+t.name:"";return e.stylize("[Function"+v+"]","special")}if(_(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(I(t))return e.stylize(Date.prototype.toString.call(t),"date");if(A(t))return h(t)}var b="",y=!1,w=["{","}"];if(p(t)&&(y=!0,w=["[","]"]),S(t)){var E=t.name?": "+t.name:"";b=" [Function"+E+"]"}if(_(t)&&(b=" "+RegExp.prototype.toString.call(t)),I(t)&&(b=" "+Date.prototype.toUTCString.call(t)),A(t)&&(b=" "+h(t)),0===a.length&&(!y||0==t.length))return w[0]+b+w[1];if(0>r)return _(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var L;return L=y?l(e,t,r,g,a):a.map(function(n){return c(e,t,r,g,n,y)}),e.seen.pop(),d(L,b,w)}function f(e,t){if(E(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,n,r,i){for(var o=[],a=0,s=t.length;s>a;++a)k(t,a+"")?o.push(c(e,t,n,r,a+"",!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(c(e,t,n,r,i,!0))}),o}function c(e,t,n,r,i,o){var a,s,f;if(f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},f.get?s=f.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):f.set&&(s=e.stylize("[Setter]","special")),k(r,i)||(a="["+i+"]"),s||(0>e.seen.indexOf(f.value)?(s=v(n)?u(e,f.value,null):u(e,f.value,n-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function p(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function v(e){return null===e}function b(e){return null==e
}function y(e){return"number"==typeof e}function m(e){return"string"==typeof e}function w(e){return"symbol"==typeof e}function E(e){return void 0===e}function _(e){return L(e)&&"[object RegExp]"===j(e)}function L(e){return"object"==typeof e&&null!==e}function I(e){return L(e)&&"[object Date]"===j(e)}function A(e){return L(e)&&("[object Error]"===j(e)||e instanceof Error)}function S(e){return"function"==typeof e}function B(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||e===void 0}function j(e){return Object.prototype.toString.call(e)}function x(e){return 10>e?"0"+e.toString(10):e.toString(10)}function U(){var e=new Date,t=[x(e.getHours()),x(e.getMinutes()),x(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var M=/%[sdj%]/g;n.format=function(e){if(!m(e)){for(var t=[],n=0;arguments.length>n;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,a=(e+"").replace(M,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return r[n++]+"";case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),s=r[n];o>n;s=r[++n])a+=v(s)||!L(s)?" "+s:" "+i(s);return a},n.deprecate=function(e,i){function o(){if(!a){if(t.throwDeprecation)throw Error(i);t.traceDeprecation?console.trace(i):console.error(i),a=!0}return e.apply(this,arguments)}if(E(r.process))return function(){return n.deprecate(e,i).apply(this,arguments)};if(t.noDeprecation===!0)return e;var a=!1;return o};var T,C={};n.debuglog=function(e){if(E(T)&&(T=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!C[e])if(RegExp("\\b"+e+"\\b","i").test(T)){var r=t.pid;C[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else C[e]=function(){};return C[e]},n.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=p,n.isBoolean=g,n.isNull=v,n.isNullOrUndefined=b,n.isNumber=y,n.isString=m,n.isSymbol=w,n.isUndefined=E,n.isRegExp=_,n.isObject=L,n.isDate=I,n.isError=A,n.isFunction=S,n.isPrimitive=B,n.isBuffer=e("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];n.log=function(){console.log("%s - %s",U(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!L(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":15,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,inherits:5}],"concat-stream":[function(e,t){t.exports=e("mDm0dw")},{}],mDm0dw:[function(e,t){(function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);"function"==typeof e&&(t=e,e={}),e||(e={});var n=e.encoding,i=!1;n?(n=(n+"").toLowerCase(),("u8"===n||"uint8"===n)&&(n="uint8array")):i=!0,f.call(this,{objectMode:!0}),this.encoding=n,this.shouldInferEncoding=i,t&&this.on("finish",function(){t(this.getBody())}),this.body=[]}function i(e){return/Array\]$/.test(Object.prototype.toString.call(e))}function o(e){for(var t=[],r=0;e.length>r;r++){var i=e[r];"string"==typeof i?t.push(i):n.isBuffer(i)?t.push(i):t.push(n(i))}return n.isBuffer(e[0])?(t=n.concat(t),t=t.toString("utf8")):t=t.join(""),t}function a(e){for(var t=[],r=0;e.length>r;r++){var o=e[r];n.isBuffer(o)?t.push(o):"string"==typeof o||i(o)||o&&"function"==typeof o.subarray?t.push(n(o)):t.push(n(o+""))}return n.concat(t)}function s(e){for(var t=[],n=0;e.length>n;n++)t.push.apply(t,e[n]);return t}function u(e){for(var t=0,r=0;e.length>r;r++)"string"==typeof e[r]&&(e[r]=n(e[r])),t+=e[r].length;for(var i=new c(t),r=0,o=0;e.length>r;r++)for(var a=e[r],s=0;a.length>s;s++)i[o++]=a[s];return i}var f=e("readable-stream").Writable,h=e("inherits"),l=e("typedarray"),c="undefined"!=typeof Uint8Array?Uint8Array:l.Uint8Array;t.exports=r,h(r,f),r.prototype._write=function(e,t,n){this.body.push(e),n()},r.prototype.inferEncoding=function(e){var t=e||this.body[0];return t?n.isBuffer(t)?"buffer":t instanceof Uint8Array?"uint8array":Array.isArray(t)?"array":"string"==typeof t?"string":"[object Object]"===Object.prototype.toString.call(t)?"object":"buffer":"buffer"},r.prototype.getBody=function(){return this.encoding||0!==this.body.length?(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),"array"===this.encoding?s(this.body):"string"===this.encoding?o(this.body):"buffer"===this.encoding?a(this.body):"uint8array"===this.encoding?u(this.body):this.body):[]},Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}}).call(this,e("buffer").Buffer)},{buffer:1,inherits:19,"readable-stream":28,typedarray:29}],19:[function(e,t){t.exports=e(5)},{}],20:[function(e,t){(function(n){function r(e){return this instanceof r?(u.call(this,e),f.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",i),void 0):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||n.nextTick(this.end.bind(this))}t.exports=r;var o=e("util");if(!o.isUndefined){var a=e("core-util-is");for(var s in a)o[s]=a[s]}var u=e("./_stream_readable"),f=e("./_stream_writable");o.inherits(r,u),Object.keys(f.prototype).forEach(function(e){r.prototype[e]||(r.prototype[e]=f.prototype[e])})}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"./_stream_readable":22,"./_stream_writable":24,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,"core-util-is":25,util:16}],21:[function(e,t){function n(e){return this instanceof n?(r.call(this,e),void 0):new n(e)}t.exports=n;var r=e("./_stream_transform"),i=e("util");if(!i.isUndefined){var o=e("core-util-is");for(var a in o)i[a]=o[a]}i.inherits(n,r),n.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":23,"core-util-is":25,util:16}],22:[function(e,t){(function(n,r){function i(t){t=t||{};var n=t.highWaterMark,r=t.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(j||(j=e("string_decoder/").StringDecoder),this.decoder=new j(t.encoding),this.encoding=t.encoding)}function o(e){return this instanceof o?(this._readableState=new i(e,this),this.readable=!0,L.call(this),void 0):new o(e)}function a(e,t,n,r,i){var o=h(t,n);if(o)e.emit("error",o);else if(I.isNullOrUndefined(n))t.reading=!1,t.ended||l(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var a=Error("stream.unshift() after end event");e.emit("error",a)}else!t.decoder||i||r||(n=t.decoder.write(n)),i||(t.reading=!1),t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&c(e)),p(e,t);else i||(t.reading=!1);return s(t)}function s(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function u(e){if(e>=k)e=k;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function f(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||I.isNull(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=u(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function h(e,t){var n=null;return I.isBuffer(t)||I.isString(t)||I.isNullOrUndefined(t)||e.objectMode||n||(n=new TypeError("Invalid non-string/buffer chunk")),n}function l(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,c(e)}function c(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(x("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(function(){d(e)}):d(e))}function d(e){x("emit readable"),e.emit("readable"),m(e)}function p(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(function(){g(e,t)}))}function g(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(x("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function v(e){return function(){var t=e._readableState;x("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&_.listenerCount(e,"data")&&(t.flowing=!0,m(e))}}function b(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(function(){y(e,t)}))}function y(e,t){t.resumeScheduled=!1,e.emit("resume"),m(e),t.flowing&&!t.reading&&e.read(0)}function m(e){var t=e._readableState;if(x("flow",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function w(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(""):A.concat(r,i),r.length=0;else if(r[0].length>e){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?"":new A(e);for(var u=0,f=0,h=r.length;h>f&&e>u;f++){var s=r[0],l=Math.min(e-u,s.length);o?n+=s.slice(0,l):s.copy(n,u,0,l),s.length>l?r[0]=s.slice(l):r.shift(),u+=l}}return n}function E(e){var t=e._readableState;if(t.length>0)throw Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,n.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}t.exports=o,o.ReadableState=i;var _=e("events").EventEmitter;_.listenerCount||(_.listenerCount=function(e,t){return e.listeners(t).length}),r.setImmediate||(r.setImmediate=function(e){return setTimeout(e,0)}),r.clearImmediate||(r.clearImmediate=function(e){return clearTimeout(e)});var L=e("stream"),I=e("util"),A=e("buffer").Buffer;if(!I.isUndefined){var S=e("core-util-is");for(var B in S)I[B]=S[B]}var j,x;if(I.debuglog)x=I.debuglog("stream");else try{x=e("debuglog")("stream")}catch(U){x=function(){}}I.inherits(o,L),o.prototype.push=function(e,t){var n=this._readableState;return I.isString(e)&&!n.objectMode&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=new A(e,t),t="")),a(this,n,e,t,!1)},o.prototype.unshift=function(e){var t=this._readableState;return a(this,t,e,"",!0)},o.prototype.setEncoding=function(t){return j||(j=e("string_decoder/").StringDecoder),this._readableState.decoder=new j(t),this._readableState.encoding=t,this};var k=8388608;o.prototype.read=function(e){x("read",e);var t=this._readableState,n=e;if((!I.isNumber(e)||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return x("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?E(this):c(this),null;if(e=f(e,t),0===e&&t.ended)return 0===t.length&&E(this),null;var r=t.needReadable;x("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,x("length less than watermark",r)),(t.ended||t.reading)&&(r=!1,x("reading or ended",r)),r&&(x("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=f(n,t));var i;return i=e>0?w(e,t):null,I.isNull(i)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&E(this),I.isNull(i)||this.emit("data",i),i},o.prototype._read=function(){this.emit("error",Error("not implemented"))},o.prototype.pipe=function(e,t){function r(e){x("onunpipe"),e===l&&o()}function i(){x("onend"),e.end()}function o(){x("cleanup"),e.removeListener("close",u),e.removeListener("finish",f),e.removeListener("drain",g),e.removeListener("error",s),e.removeListener("unpipe",r),l.removeListener("end",i),l.removeListener("end",o),l.removeListener("data",a),!c.awaitDrain||e._writableState&&!e._writableState.needDrain||g()}function a(t){x("ondata");var n=e.write(t);!1===n&&(x("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++,l.pause())}function s(t){x("onerror",t),h(),e.removeListener("error",s),0===_.listenerCount(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",f),h()}function f(){x("onfinish"),e.removeListener("close",u),h()}function h(){x("unpipe"),l.unpipe(e)}var l=this,c=this._readableState;switch(c.pipesCount){case 0:c.pipes=e;break;case 1:c.pipes=[c.pipes,e];break;default:c.pipes.push(e)}c.pipesCount+=1,x("pipe count=%d opts=%j",c.pipesCount,t);var d=(!t||t.end!==!1)&&e!==n.stdout&&e!==n.stderr,p=d?i:o;c.endEmitted?n.nextTick(p):l.once("end",p),e.on("unpipe",r);var g=v(l);return e.on("drain",g),l.on("data",a),e._events&&e._events.error?Array.isArray(e._events.error)?e._events.error.unshift(s):e._events.error=[s,e._events.error]:e.on("error",s),e.once("close",u),e.once("finish",f),e.emit("pipe",l),c.flowing||(x("pipe resume"),l.resume()),e},o.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var i=t.pipes.indexOf(e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},o.prototype.on=function(e,t){var r=L.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&this.readable){var i=this._readableState;if(!i.readableListening)if(i.readableListening=!0,i.emittedReadable=!1,i.needReadable=!0,i.reading)i.length&&c(this,i);else{var o=this;n.nextTick(function(){x("readable nexttick read 0"),o.read(0)})}}return r},o.prototype.addListener=o.prototype.on,o.prototype.resume=function(){var e=this._readableState;return e.flowing||(x("resume"),e.flowing=!0,e.reading||(x("resume read 0"),this.read(0)),b(this,e)),this},o.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this},o.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(x("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){if(x("wrapped data"),t.decoder&&(i=t.decoder.write(i)),i&&(t.objectMode||i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)I.isFunction(e[i])&&I.isUndefined(this[i])&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=["error","close","destroy","pause","resume"];return o.forEach(function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){x("wrapped _read",t),n&&(n=!1,e.resume())},r},o._fromList=w}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,buffer:1,"core-util-is":25,debuglog:26,events:4,stream:8,"string_decoder/":27,util:16}],23:[function(e,t){function n(e,t){this.afterTransform=function(e,n){return r(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function r(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,s.isNullOrUndefined(n)||e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);a.call(this,e),this._transformState=new n(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("prefinish",function(){s.isFunction(this._flush)?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var n=e._writableState,r=e._transformState;if(n.length)throw Error("calling transform done when ws.length != 0");if(r.transforming)throw Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var a=e("./_stream_duplex"),s=e("util");if(!s.isUndefined){var u=e("core-util-is");for(var f in u)s[f]=u[f]}s.inherits(i,a),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},i.prototype._transform=function(){throw Error("not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(){var e=this._transformState;s.isNull(e.writechunk)||!e.writecb||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))}},{"./_stream_duplex":20,"core-util-is":25,util:16}],24:[function(e,t){(function(n){function r(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function i(e,t){e=e||{};var n=e.highWaterMark,r=e.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.pendingcb=0,this.prefinished=!1,this._errorEmitted=!1}function o(t){return this instanceof o||this instanceof e("./_stream_duplex")?(this._writableState=new i(t,this),this.writable=!0,A.call(this),void 0):new o(t)}function a(e,t,r){var i=Error("write after end");e.emit("error",i),n.nextTick(function(){r(i)})}function s(e,t,r,i){var o=!0;if(!(E.isBuffer(r)||E.isString(r)||E.isNullOrUndefined(r)||t.objectMode)){var a=new TypeError("Invalid non-string/buffer chunk");e.emit("error",a),n.nextTick(function(){i(a)}),o=!1}return o}function u(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&E.isString(t)&&(t=new _(t,n)),t}function f(e,t,n,i,o){n=u(t,n,i),E.isBuffer(n)&&(i="buffer");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing||t.corked?t.buffer.push(new r(n,i,o)):h(e,t,!1,a,n,i,o),s}function h(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function l(e,t,r,i,o){r?n.nextTick(function(){t.pendingcb--,o(i)}):(t.pendingcb--,o(i)),e.emit("error",i),e._errorEmitted=!0}function c(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if(c(r),t)l(e,r,i,t,o);else{var a=b(e,r);a||r.corked||r.bufferProcessing||!r.buffer.length||v(e,r),i?n.nextTick(function(){p(e,r,a,o)}):p(e,r,a,o)}}function p(e,t,n,r){n||g(e,t),t.pendingcb--,r(),m(e,t)}function g(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function v(e,t){if(t.bufferProcessing=!0,e._writev&&t.buffer.length>1){for(var n=[],r=0;t.buffer.length>r;r++)n.push(t.buffer[r].callback);t.pendingcb++,h(e,t,!0,t.length,t.buffer,"",function(e){for(var r=0;n.length>r;r++)t.pendingcb--,n[r](e)}),t.buffer=[]}else{for(var r=0;t.buffer.length>r;r++){var i=t.buffer[r],o=i.chunk,a=i.encoding,s=i.callback,u=t.objectMode?1:o.length;if(h(e,t,!1,u,o,a,s),t.writing){r++;break}}t.buffer.length>r?t.buffer=t.buffer.slice(r):t.buffer.length=0}t.bufferProcessing=!1}function b(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function y(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function m(e,t){var n=b(e,t);return n&&(0===t.pendingcb?(y(e,t),t.finished=!0,e.emit("finish")):y(e,t)),n}function w(e,t,r){t.ending=!0,m(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r)),t.ended=!0}t.exports=o,o.WritableState=i;var E=e("util"),_=e("buffer").Buffer;if(!E.isUndefined){var L=e("core-util-is");for(var I in L)E[I]=L[I]}var A=e("stream");E.inherits(o,A),o.prototype.pipe=function(){this.emit("error",Error("Cannot pipe. Not readable."))},o.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return E.isFunction(t)&&(n=t,t=null),E.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),E.isFunction(n)||(n=function(){}),r.ended?a(this,r,n):s(this,r,e,n)&&(r.pendingcb++,i=f(this,r,e,t,n)),i},o.prototype.cork=function(){var e=this._writableState;e.corked++},o.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.buffer.length||v(this,e))},o.prototype._write=function(e,t,n){n(Error("not implemented"))},o.prototype._writev=null,o.prototype.end=function(e,t,n){var r=this._writableState;E.isFunction(e)?(n=e,e=null,t=null):E.isFunction(t)&&(n=t,t=null),E.isNullOrUndefined(e)||this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"./_stream_duplex":20,"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,buffer:1,"core-util-is":25,stream:8,util:16}],25:[function(e,t,n){(function(e){function t(e){return Array.isArray(e)}function r(e){return"boolean"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return"number"==typeof e}function s(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function f(e){return void 0===e}function h(e){return l(e)&&"[object RegExp]"===b(e)}function l(e){return"object"==typeof e&&null!==e}function c(e){return l(e)&&"[object Date]"===b(e)}function d(e){return l(e)&&("[object Error]"===b(e)||e instanceof Error)}function p(e){return"function"==typeof e}function g(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||e===void 0}function v(t){return e.isBuffer(t)}function b(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=i,n.isNullOrUndefined=o,n.isNumber=a,n.isString=s,n.isSymbol=u,n.isUndefined=f,n.isRegExp=h,n.isObject=l,n.isDate=c,n.isError=d,n.isFunction=p,n.isPrimitive=g,n.isBuffer=v}).call(this,e("buffer").Buffer)},{buffer:1}],26:[function(e,t,n){(function(r){function i(e){if(e=e.toUpperCase(),!a[e])if(RegExp("\\b"+e+"\\b","i").test(s)){var t=r.pid;a[e]=function(){var r=o.format.apply(n,arguments);console.error("%s %d: %s",e,t,r)}}else a[e]=function(){};return a[e]}var o=e("util");t.exports=o.debuglog||i;var a={},s=r.env.NODE_DEBUG||""}).call(this,e("/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/home/admin/browserify-cdn/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":6,util:16}],27:[function(e,t,n){function r(e){if(e&&!u(e))throw Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function o(e){var t=this.charReceived=e.length%2;return this.charLength=t?2:0,t}function a(e){var t=this.charReceived=e.length%3;return this.charLength=t?3:0,t}var s=e("buffer").Buffer,u=s.isEncoding||function(e){switch(e&&e.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!0;default:return!1}},f=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return this.write=i,void 0}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};f.prototype.write=function(e){for(var t="",n=0;this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,n,r),this.charReceived+=r-n,n=r,this.charReceived<this.charLength)return"";t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,r==e.length)return t;e=e.slice(r,e.length);break}this.charLength+=this.surrogateSize,t=""}var o=this.detectIncompleteChar(e),a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-o,a),this.charReceived=o,a-=o),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),this.charBuffer.write(t.charAt(t.length-1),this.encoding),t.substring(0,a)}return t},f.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&6==n>>5){this.charLength=2;break}if(2>=t&&14==n>>4){this.charLength=3;break}if(3>=t&&30==n>>3){this.charLength=4;break}}return t},f.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:1}],28:[function(e,t,n){n=t.exports=e("./lib/_stream_readable.js"),n.Stream=e("stream"),n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":20,"./lib/_stream_passthrough.js":21,"./lib/_stream_readable.js":22,"./lib/_stream_transform.js":23,"./lib/_stream_writable.js":24,stream:8}],29:[function(e,t,n){function r(e){if(N&&S){var t,n=N(e);for(t=0;n.length>t;t+=1)S(e,n[t],{value:e[n[t]],writable:!1,enumerable:!1,configurable:!1})}}function i(e){function t(t){S(e,t,{get:function(){return e._getter(t)},set:function(n){e._setter(t,n)},enumerable:!0,configurable:!1})}if(S){if(e.length>j)throw new RangeError("Array too large for polyfill");var n;for(n=0;e.length>n;n+=1)t(n)}}function o(e,t){var n=32-t;return e<<n>>n}function a(e,t){var n=32-t;return e<<n>>>n}function s(e){return[255&e]}function u(e){return o(e[0],8)}function f(e){return[255&e]}function h(e){return a(e[0],8)}function l(e){return e=O(Number(e)),[0>e?0:e>255?255:255&e]}function c(e){return[255&e>>8,255&e]}function d(e){return o(e[0]<<8|e[1],16)}function p(e){return[255&e>>8,255&e]}function g(e){return a(e[0]<<8|e[1],16)}function v(e){return[255&e>>24,255&e>>16,255&e>>8,255&e]}function b(e){return o(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function y(e){return[255&e>>24,255&e>>16,255&e>>8,255&e]}function m(e){return a(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function w(e,t,n){function r(e){var t=M(e),n=e-t;return.5>n?t:n>.5?t+1:t%2?t+1:t}var i,o,a,s,u,f,h,l=(1<<t-1)-1;for(e!==e?(o=(1<<t)-1,a=R(2,n-1),i=0):1/0===e||e===-1/0?(o=(1<<t)-1,a=0,i=0>e?1:0):0===e?(o=0,a=0,i=1/e===-1/0?1:0):(i=0>e,e=k(e),e>=R(2,1-l)?(o=C(M(T(e)/U),1023),a=r(e/R(2,o)*R(2,n)),a/R(2,n)>=2&&(o+=1,a=1),o>l?(o=(1<<t)-1,a=0):(o+=l,a-=R(2,n))):(o=0,a=r(e/R(2,1-l-n)))),u=[],s=n;s;s-=1)u.push(a%2?1:0),a=M(a/2);for(s=t;s;s-=1)u.push(o%2?1:0),o=M(o/2);for(u.push(i?1:0),u.reverse(),f=u.join(""),h=[];f.length;)h.push(parseInt(f.substring(0,8),2)),f=f.substring(8);return h}function E(e,t,n){var r,i,o,a,s,u,f,h,l=[];for(r=e.length;r;r-=1)for(o=e[r-1],i=8;i;i-=1)l.push(o%2?1:0),o>>=1;return l.reverse(),a=l.join(""),s=(1<<t-1)-1,u=parseInt(a.substring(0,1),2)?-1:1,f=parseInt(a.substring(1,1+t),2),h=parseInt(a.substring(1+t),2),f===(1<<t)-1?0!==h?0/0:1/0*u:f>0?u*R(2,f-s)*(1+h/R(2,n)):0!==h?u*R(2,-(s-1))*(h/R(2,n)):0>u?-0:0}function _(e){return E(e,11,52)}function L(e){return w(e,11,52)}function I(e){return E(e,8,23)}function A(e){return w(e,8,23)}var S,B=void 0,j=1e5,x=function(){var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;return{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,n){return t.call(e,n)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}}(),U=Math.LN2,k=Math.abs,M=Math.floor,T=Math.log,C=Math.min,R=Math.pow,O=Math.round;S=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,n){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return x.HasProperty(n,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,n.get),x.HasProperty(n,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,n.set),x.HasProperty(n,"value")&&(e[t]=n.value),e};var N=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,n=[];for(t in e)x.HasOwnProperty(e,t)&&n.push(t);return n};(function(){function e(e,n,a){var s;return s=function(e,n,o){var a,u,f,h;if(arguments.length&&"number"!=typeof arguments[0])if("object"==typeof arguments[0]&&arguments[0].constructor===s)for(a=arguments[0],this.length=a.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,f=0;this.length>f;f+=1)this._setter(f,a._getter(f));else if("object"!=typeof arguments[0]||arguments[0]instanceof t||"ArrayBuffer"===x.Class(arguments[0])){if("object"!=typeof arguments[0]||!(arguments[0]instanceof t||"ArrayBuffer"===x.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=x.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(3>arguments.length){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=x.ToUint32(o),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=x.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,f=0;this.length>f;f+=1)h=u[f],this._setter(f,Number(h));else{if(this.length=x.ToInt32(arguments[0]),0>o)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=s,r(this),i(this)},s.prototype=new o,s.prototype.BYTES_PER_ELEMENT=e,s.prototype._pack=n,s.prototype._unpack=a,s.BYTES_PER_ELEMENT=e,s.prototype._getter=function(e){if(1>arguments.length)throw new SyntaxError("Not enough arguments");if(e=x.ToUint32(e),e>=this.length)return B;
var t,n,r=[];for(t=0,n=this.byteOffset+e*this.BYTES_PER_ELEMENT;this.BYTES_PER_ELEMENT>t;t+=1,n+=1)r.push(this.buffer._bytes[n]);return this._unpack(r)},s.prototype.get=s.prototype._getter,s.prototype._setter=function(e,t){if(2>arguments.length)throw new SyntaxError("Not enough arguments");if(e=x.ToUint32(e),e>=this.length)return B;var n,r,i=this._pack(t);for(n=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;this.BYTES_PER_ELEMENT>n;n+=1,r+=1)this.buffer._bytes[r]=i[n]},s.prototype.set=function(){if(1>arguments.length)throw new SyntaxError("Not enough arguments");var e,t,n,r,i,o,a,s,u,f;if("object"==typeof arguments[0]&&arguments[0].constructor===this.constructor){if(e=arguments[0],n=x.ToUint32(arguments[1]),n+e.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(s=this.byteOffset+n*this.BYTES_PER_ELEMENT,u=e.length*this.BYTES_PER_ELEMENT,e.buffer===this.buffer){for(f=[],i=0,o=e.byteOffset;u>i;i+=1,o+=1)f[i]=e.buffer._bytes[o];for(i=0,a=s;u>i;i+=1,a+=1)this.buffer._bytes[a]=f[i]}else for(i=0,o=e.byteOffset,a=s;u>i;i+=1,o+=1,a+=1)this.buffer._bytes[a]=e.buffer._bytes[o]}else{if("object"!=typeof arguments[0]||arguments[0].length===B)throw new TypeError("Unexpected argument type(s)");if(t=arguments[0],r=x.ToUint32(t.length),n=x.ToUint32(arguments[1]),n+r>this.length)throw new RangeError("Offset plus length of array is out of range");for(i=0;r>i;i+=1)o=t[i],this._setter(n+i,Number(o))}},s.prototype.subarray=function(e,t){function n(e,t,n){return t>e?t:e>n?n:e}e=x.ToInt32(e),t=x.ToInt32(t),1>arguments.length&&(e=0),2>arguments.length&&(t=this.length),0>e&&(e=this.length+e),0>t&&(t=this.length+t),e=n(e,0,this.length),t=n(t,0,this.length);var r=t-e;return 0>r&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},s}var t=function t(e){if(e=x.ToInt32(e),0>e)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=e,this._bytes=[],this._bytes.length=e;var t;for(t=0;this.byteLength>t;t+=1)this._bytes[t]=0;r(this)};n.ArrayBuffer=n.ArrayBuffer||t;var o=function o(){},a=e(1,s,u),w=e(1,f,h),E=e(1,l,h),S=e(2,c,d),j=e(2,p,g),U=e(4,v,b),k=e(4,y,m),M=e(4,A,I),T=e(8,L,_);n.Int8Array=n.Int8Array||a,n.Uint8Array=n.Uint8Array||w,n.Uint8ClampedArray=n.Uint8ClampedArray||E,n.Int16Array=n.Int16Array||S,n.Uint16Array=n.Uint16Array||j,n.Int32Array=n.Int32Array||U,n.Uint32Array=n.Uint32Array||k,n.Float32Array=n.Float32Array||M,n.Float64Array=n.Float64Array||T})(),function(){function e(e,t){return x.IsCallable(e.get)?e.get(t):e[t]}function t(t){return function(r,i){if(r=x.ToUint32(r),r+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");r+=this.byteOffset;var a,s=new n.Uint8Array(this.buffer,r,t.BYTES_PER_ELEMENT),u=[];for(a=0;t.BYTES_PER_ELEMENT>a;a+=1)u.push(e(s,a));return Boolean(i)===Boolean(o)&&u.reverse(),e(new t(new n.Uint8Array(u).buffer),0)}}function i(t){return function(r,i,a){if(r=x.ToUint32(r),r+t.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,u,f=new t([i]),h=new n.Uint8Array(f.buffer),l=[];for(s=0;t.BYTES_PER_ELEMENT>s;s+=1)l.push(e(h,s));Boolean(a)===Boolean(o)&&l.reverse(),u=new n.Uint8Array(this.buffer,r,t.BYTES_PER_ELEMENT),u.set(l)}}var o=function(){var t=new n.Uint16Array([4660]),r=new n.Uint8Array(t.buffer);return 18===e(r,0)}(),a=function a(e,t,i){if(0===arguments.length)e=new n.ArrayBuffer(0);else if(!(e instanceof n.ArrayBuffer||"ArrayBuffer"===x.Class(e)))throw new TypeError("TypeError");if(this.buffer=e||new n.ArrayBuffer(0),this.byteOffset=x.ToUint32(t),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=3>arguments.length?this.buffer.byteLength-this.byteOffset:x.ToUint32(i),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");r(this)};a.prototype.getUint8=t(n.Uint8Array),a.prototype.getInt8=t(n.Int8Array),a.prototype.getUint16=t(n.Uint16Array),a.prototype.getInt16=t(n.Int16Array),a.prototype.getUint32=t(n.Uint32Array),a.prototype.getInt32=t(n.Int32Array),a.prototype.getFloat32=t(n.Float32Array),a.prototype.getFloat64=t(n.Float64Array),a.prototype.setUint8=i(n.Uint8Array),a.prototype.setInt8=i(n.Int8Array),a.prototype.setUint16=i(n.Uint16Array),a.prototype.setInt16=i(n.Int16Array),a.prototype.setUint32=i(n.Uint32Array),a.prototype.setInt32=i(n.Int32Array),a.prototype.setFloat32=i(n.Float32Array),a.prototype.setFloat64=i(n.Float64Array),n.DataView=n.DataView||a}()},{}]},{},[]),require=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return i(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;r.length>a;a++)i(r[a]);return i}({"FD/xUg":[function(e,t,n){function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);var i=typeof e;if("base64"===t&&"string"===i)for(e=S(e);0!==e.length%4;)e+="=";var o;if("number"===i)o=x(e);else if("string"===i)o=r.byteLength(e,t);else{if("object"!==i)throw Error("First argument needs to be a number, array or string.");o=x(e.length)}var a;r._useTypedArrays?a=B(new Uint8Array(o)):(a=this,a.length=o,a._isBuffer=!0);var s;if(r._useTypedArrays&&"function"==typeof Uint8Array&&e instanceof Uint8Array)a._set(e);else if(k(e))for(s=0;o>s;s++)a[s]=r.isBuffer(e)?e.readUInt8(s):e[s];else if("string"===i)a.write(e,0,t);else if("number"===i&&!r._useTypedArrays&&!n)for(s=0;o>s;s++)a[s]=0;return a}function i(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i),i>o&&(i=o)):i=o;var a=t.length;P(0===a%2,"Invalid hex string"),i>a/2&&(i=a/2);for(var s=0;i>s;s++){var u=parseInt(t.substr(2*s,2),16);P(!isNaN(u),"Invalid hex string"),e[n+s]=u}return r._charsWritten=2*s,s}function o(e,t,n,i){var o=r._charsWritten=O(T(t),e,n,i);return o}function a(e,t,n,i){var o=r._charsWritten=O(C(t),e,n,i);return o}function s(e,t,n,r){return a(e,t,n,r)}function u(e,t,n,i){var o=r._charsWritten=O(R(t),e,n,i);return o}function f(e,t,n){return 0===t&&n===e.length?q.fromByteArray(e):q.fromByteArray(e.slice(t,n))}function h(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;n>o;o++)127>=e[o]?(r+=N(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+N(i)}function l(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function c(e,t,n){return l(e,t,n)}function d(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=M(e[o]);return i}function p(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(o=e[t],i>t+1&&(o|=e[t+1]<<8)):(o=e[t]<<8,i>t+1&&(o|=e[t+1])),o}}function g(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o;return n?(i>t+2&&(o=e[t+2]<<16),i>t+1&&(o|=e[t+1]<<8),o|=e[t],i>t+3&&(o+=e[t+3]<<24>>>0)):(i>t+1&&(o=e[t+1]<<16),i>t+2&&(o|=e[t+2]<<8),i>t+3&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}}function v(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+1,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=p(e,t,n,!0),a=32768&o;return a?-1*(65535-o+1):o}}function b(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(e.length>t+3,"Trying to read beyond buffer length"));var i=e.length;if(!(t>=i)){var o=g(e,t,n,!0),a=2147483648&o;return a?-1*(4294967295-o+1):o}}function y(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(e.length>t+3,"Trying to read beyond buffer length")),z.read(e,t,n,23,4)}function m(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(e.length>t+7,"Trying to read beyond buffer length")),z.read(e,t,n,52,8)}function w(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+1,"trying to write beyond buffer length"),D(t,65535));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,2);s>a;a++)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function E(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+3,"trying to write beyond buffer length"),D(t,4294967295));var o=e.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,4);s>a;a++)e[n+a]=255&t>>>8*(r?a:3-a)}function _(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+1,"Trying to write beyond buffer length"),F(t,32767,-32768));var o=e.length;n>=o||(t>=0?w(e,t,n,r,i):w(e,65535+t+1,n,r,i))}function L(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+3,"Trying to write beyond buffer length"),F(t,2147483647,-2147483648));var o=e.length;n>=o||(t>=0?E(e,t,n,r,i):E(e,4294967295+t+1,n,r,i))}function I(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+3,"Trying to write beyond buffer length"),W(t,3.4028234663852886e38,-3.4028234663852886e38));var o=e.length;n>=o||z.write(e,t,n,r,23,4)}function A(e,t,n,r,i){i||(P(void 0!==t&&null!==t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==n&&null!==n,"missing offset"),P(e.length>n+7,"Trying to write beyond buffer length"),W(t,1.7976931348623157e308,-1.7976931348623157e308));var o=e.length;n>=o||z.write(e,t,n,r,52,8)}function S(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function B(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=H.get,e.set=H.set,e.write=H.write,e.toString=H.toString,e.toLocaleString=H.toString,e.toJSON=H.toJSON,e.copy=H.copy,e.slice=H.slice,e.readUInt8=H.readUInt8,e.readUInt16LE=H.readUInt16LE,e.readUInt16BE=H.readUInt16BE,e.readUInt32LE=H.readUInt32LE,e.readUInt32BE=H.readUInt32BE,e.readInt8=H.readInt8,e.readInt16LE=H.readInt16LE,e.readInt16BE=H.readInt16BE,e.readInt32LE=H.readInt32LE,e.readInt32BE=H.readInt32BE,e.readFloatLE=H.readFloatLE,e.readFloatBE=H.readFloatBE,e.readDoubleLE=H.readDoubleLE,e.readDoubleBE=H.readDoubleBE,e.writeUInt8=H.writeUInt8,e.writeUInt16LE=H.writeUInt16LE,e.writeUInt16BE=H.writeUInt16BE,e.writeUInt32LE=H.writeUInt32LE,e.writeUInt32BE=H.writeUInt32BE,e.writeInt8=H.writeInt8,e.writeInt16LE=H.writeInt16LE,e.writeInt16BE=H.writeInt16BE,e.writeInt32LE=H.writeInt32LE,e.writeInt32BE=H.writeInt32BE,e.writeFloatLE=H.writeFloatLE,e.writeFloatBE=H.writeFloatBE,e.writeDoubleLE=H.writeDoubleLE,e.writeDoubleBE=H.writeDoubleBE,e.fill=H.fill,e.inspect=H.inspect,e.toArrayBuffer=H.toArrayBuffer,e}function j(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function x(e){return e=~~Math.ceil(+e),0>e?0:e}function U(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function k(e){return U(e)||r.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function M(e){return 16>e?"0"+e.toString(16):e.toString(16)}function T(e){for(var t=[],n=0;e.length>n;n++){var r=e.charCodeAt(n);if(127>=r)t.push(e.charCodeAt(n));else{var i=n;r>=55296&&57343>=r&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),a=0;o.length>a;a++)t.push(parseInt(o[a],16))}}return t}function C(e){for(var t=[],n=0;e.length>n;n++)t.push(255&e.charCodeAt(n));return t}function R(e){return q.toByteArray(e)}function O(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function N(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function D(e,t){P("number"==typeof e,"cannot write a non-number as a number"),P(e>=0,"specified a negative value for writing an unsigned value"),P(t>=e,"value is larger than maximum value for type"),P(Math.floor(e)===e,"value has a fractional component")}function F(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=n,"value smaller than minimum allowed value"),P(Math.floor(e)===e,"value has a fractional component")}function W(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(t>=e,"value larger than maximum allowed value"),P(e>=n,"value smaller than minimum allowed value")}function P(e,t){if(!e)throw Error(t||"Failed assertion")}var q=e("base64-js"),z=e("ieee754");n.Buffer=r,n.SlowBuffer=r,n.INSPECT_MAX_BYTES=50,r.poolSize=8192,r._useTypedArrays=function(){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer)return!1;try{var e=new Uint8Array(0);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),r.isEncoding=function(e){switch((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}},r.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},r.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=T(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=R(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n},r.concat=function(e,t){if(P(U(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new r(0);if(1===e.length)return e[0];var n;if("number"!=typeof t)for(t=0,n=0;e.length>n;n++)t+=e[n].length;var i=new r(t),o=0;for(n=0;e.length>n;n++){var a=e[n];a.copy(i,o),o+=a.length}return i},r.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var f=r;r=t,t=n,n=f}t=Number(t)||0;var h=this.length-t;switch(n?(n=Number(n),n>h&&(n=h)):n=h,r=((r||"utf8")+"").toLowerCase()){case"hex":return i(this,e,t,n);case"utf8":case"utf-8":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o(this,e,t,n);case"ascii":return a(this,e,t,n);case"binary":return s(this,e,t,n);case"base64":return u(this,e,t,n);default:throw Error("Unknown encoding")}},r.prototype.toString=function(e,t,n){var r=this;if(e=((e||"utf8")+"").toLowerCase(),t=Number(t)||0,n=void 0!==n?Number(n):n=r.length,n===t)return"";switch(e){case"hex":return d(r,t,n);case"utf8":case"utf-8":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(r,t,n);case"ascii":return l(r,t,n);case"binary":return c(r,t,n);case"base64":return f(r,t,n);default:throw Error("Unknown encoding")}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},r.prototype.copy=function(e,t,n,r){var i=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==i.length){P(r>=n,"sourceEnd < sourceStart"),P(t>=0&&e.length>t,"targetStart out of bounds"),P(n>=0&&i.length>n,"sourceStart out of bounds"),P(r>=0&&i.length>=r,"sourceEnd out of bounds"),r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);for(var o=0;r-n>o;o++)e[o+t]=this[o+n]}},r.prototype.slice=function(e,t){var n=this.length;if(e=j(e,n,0),t=j(t,n,n),r._useTypedArrays)return B(this.subarray(e,t));for(var i=t-e,o=new r(i,void 0,!0),a=0;i>a;a++)o[a]=this[a+e];return o},r.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},r.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},r.prototype.readUInt8=function(e,t){return t||(P(void 0!==e&&null!==e,"missing offset"),P(this.length>e,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},r.prototype.readUInt16LE=function(e,t){return p(this,e,!0,t)},r.prototype.readUInt16BE=function(e,t){return p(this,e,!1,t)},r.prototype.readUInt32LE=function(e,t){return g(this,e,!0,t)},r.prototype.readUInt32BE=function(e,t){return g(this,e,!1,t)},r.prototype.readInt8=function(e,t){if(t||(P(void 0!==e&&null!==e,"missing offset"),P(this.length>e,"Trying to read beyond buffer length")),!(e>=this.length)){var n=128&this[e];return n?-1*(255-this[e]+1):this[e]}},r.prototype.readInt16LE=function(e,t){return v(this,e,!0,t)},r.prototype.readInt16BE=function(e,t){return v(this,e,!1,t)},r.prototype.readInt32LE=function(e,t){return b(this,e,!0,t)},r.prototype.readInt32BE=function(e,t){return b(this,e,!1,t)},r.prototype.readFloatLE=function(e,t){return y(this,e,!0,t)},r.prototype.readFloatBE=function(e,t){return y(this,e,!1,t)},r.prototype.readDoubleLE=function(e,t){return m(this,e,!0,t)},r.prototype.readDoubleBE=function(e,t){return m(this,e,!1,t)},r.prototype.writeUInt8=function(e,t,n){n||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(this.length>t,"trying to write beyond buffer length"),D(e,255)),t>=this.length||(this[t]=e)},r.prototype.writeUInt16LE=function(e,t,n){w(this,e,t,!0,n)},r.prototype.writeUInt16BE=function(e,t,n){w(this,e,t,!1,n)},r.prototype.writeUInt32LE=function(e,t,n){E(this,e,t,!0,n)},r.prototype.writeUInt32BE=function(e,t,n){E(this,e,t,!1,n)},r.prototype.writeInt8=function(e,t,n){n||(P(void 0!==e&&null!==e,"missing value"),P(void 0!==t&&null!==t,"missing offset"),P(this.length>t,"Trying to write beyond buffer length"),F(e,127,-128)),t>=this.length||(e>=0?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},r.prototype.writeInt16LE=function(e,t,n){_(this,e,t,!0,n)},r.prototype.writeInt16BE=function(e,t,n){_(this,e,t,!1,n)},r.prototype.writeInt32LE=function(e,t,n){L(this,e,t,!0,n)},r.prototype.writeInt32BE=function(e,t,n){L(this,e,t,!1,n)},r.prototype.writeFloatLE=function(e,t,n){I(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){I(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){A(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){A(this,e,t,!1,n)},r.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),P("number"==typeof e&&!isNaN(e),"value is not a number"),P(n>=t,"end < start"),n!==t&&0!==this.length){P(t>=0&&this.length>t,"start out of bounds"),P(n>=0&&this.length>=n,"end out of bounds");for(var r=t;n>r;r++)this[r]=e}},r.prototype.inspect=function(){for(var e=[],t=this.length,r=0;t>r;r++)if(e[r]=M(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},r.prototype.toArrayBuffer=function(){if("function"==typeof Uint8Array){if(r._useTypedArrays)return new r(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw Error("Buffer.toArrayBuffer not supported in this browser")};var H=r.prototype},{"base64-js":3,ieee754:4}],buffer:[function(e,t){t.exports=e("FD/xUg")},{}],3:[function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(){"use strict";function e(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:h+26>t?t-h:f+26>t?t-f+26:void 0}function r(t){function n(e){f[l++]=e}var r,i,a,s,u,f;if(t.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");var h=t.length;u="="===t.charAt(h-2)?2:"="===t.charAt(h-1)?1:0,f=new o(3*t.length/4-u),a=u>0?t.length-4:t.length;var l=0;for(r=0,i=0;a>r;r+=4,i+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(255&s>>8),n(255&s)),f}function i(e){function t(e){return n.charAt(e)}function r(e){return t(63&e>>18)+t(63&e>>12)+t(63&e>>6)+t(63&e)}var i,o,a,s=e.length%3,u="";for(i=0,a=e.length-s;a>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u+=r(o);switch(s){case 1:o=e[e.length-1],u+=t(o>>2),u+=t(63&o<<4),u+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],u+=t(o>>10),u+=t(63&o>>4),u+=t(63&o<<2),u+="="}return u}var o="undefined"!=typeof Uint8Array?Uint8Array:Array;"0".charCodeAt(0);var a="+".charCodeAt(0),s="/".charCodeAt(0),u="0".charCodeAt(0),f="a".charCodeAt(0),h="A".charCodeAt(0);t.exports.toByteArray=r,t.exports.fromByteArray=i})()},{}],4:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,f=u>>1,h=-7,l=n?i-1:0,c=n?-1:1,d=e[t+l];for(l+=c,o=d&(1<<-h)-1,d>>=-h,h+=s;h>0;o=256*o+e[t+l],l+=c,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=r;h>0;a=256*a+e[t+l],l+=c,h-=8);if(0===o)o=1-f;else{if(o===u)return a?0/0:1/0*(d?-1:1);a+=Math.pow(2,r),o-=f}return(d?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,f=8*o-i-1,h=(1<<f)-1,l=h>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=h):(a=Math.floor(Math.log(t)/Math.LN2),1>t*(u=Math.pow(2,-a))&&(a--,u*=2),t+=a+l>=1?c/u:c*Math.pow(2,1-l),t*u>=2&&(a++,u/=2),a+l>=h?(s=0,a=h):a+l>=1?(s=(t*u-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,f+=i;f>0;e[n+d]=255&a,d+=p,a/=256,f-=8);e[n+d-p]|=128*g}},{}]},{},[]);var bcsv=require("binary-csv"),xhr=require("xhr"),bops=require("bops"),through=require("through"),url=require("url"),createTable=require("data-table"),insertCSS=require("insert-css"),concat=require("concat-stream"),Buffer=require("buffer").Buffer;insertCSS(createTable.css);var parsedURL=url.parse(window.location.href,!0),csv=parsedURL.query.csv||"http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.csv";xhr({responseType:"arraybuffer",url:"http://cors.maxogden.com/"+csv},response);
{
"name": "requirebin-sketch",
"version": "1.0.0",
"dependencies": {
"binary-csv": "0.1.7",
"xhr": "1.5.0",
"bops": "0.1.1",
"through": "2.3.4",
"data-table": "0.0.8",
"insert-css": "0.1.1",
"concat-stream": "1.4.4"
}
}
<style type='text/css'>html, body { margin: 0; padding: 0; border: 0; }
body, html { height: 100%; width: 100%; }</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment