Skip to content

Instantly share code, notes, and snippets.

@kirbysayshi kirbysayshi/index.js forked from maxogden/index.js
Created Mar 29, 2014

Embed
What would you like to do?
var bcsv = require('binary-csv')
var bxhr = require('binary-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')
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'
bxhr('http://cors.maxogden.com/' + csv, response)
function response(err, data) {
if (err) throw err
var buff = 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(n,t){if(n)throw n;var e=new Uint8Array(t),r=bcsv({json:!0});r.pipe(concat(render)),r.write(e),r.end()}function render(n){var t=createTable(n);t.appendTo(document.body)}require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({url:[function(n,t){t.exports=n("nq9I9C")},{}],nq9I9C:[function(n,t,e){function r(n,t){for(var e=0,r=n.length;r>e;e++)if(n[e]==t)return e;return-1}function i(n,t,e){if(n&&"object"==typeof n&&n.href)return n;if("string"!=typeof n)throw new TypeError("Parameter 'url' must be a string, not "+typeof n);for(var i={},a=n,s=0,d=a.length;d>s&&-1!==r(f,a.charAt(s));s++);0!==s&&(a=a.substr(s));var h=l.exec(a);if(h){h=h[0];var k=h.toLowerCase();i.protocol=k,a=a.substr(h.length)}if(e||h||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var A="//"===a.substr(0,2);!A||h&&E[h]||(a=a.substr(2),i.slashes=!0)}if(!E[h]&&(A||h&&!I[h])){var T=r(a,"@");if(-1!==T){for(var S=!0,s=0,d=x.length;d>s;s++){var _=r(a,x[s]);if(-1!==_&&T>_){S=!1;break}}S&&(i.auth=a.substr(0,T),a=a.substr(T+1))}for(var R=-1,s=0,d=b.length;d>s;s++){var _=r(a,b[s]);-1!==_&&(0>R||R>_)&&(R=_)}-1!==R?(i.host=a.substr(0,R),a=a.substr(R)):(i.host=a,a="");for(var N=u(i.host),L=p(N),s=0,d=L.length;d>s;s++){var C=L[s];i[C]=N[C]}if(i.hostname=i.hostname||"",i.hostname.length>m)i.hostname="";else for(var j=i.hostname.split(/\./),s=0,d=j.length;d>s;s++){var U=j[s];if(U&&!U.match(v)){for(var D="",F=0,H=U.length;H>F;F++)D+=U.charCodeAt(F)>127?"x":U[F];if(!D.match(v)){var B=j.slice(0,s),z=j.slice(s+1),P=U.match(y);P&&(B.push(P[1]),z.unshift(P[2])),z.length&&(a="/"+z.join(".")+a),i.hostname=B.join(".");break}}}i.hostname=i.hostname.toLowerCase();for(var G=i.hostname.split("."),q=[],s=0;G.length>s;++s){var M=G[s];q.push(M.match(/[^A-Za-z0-9_-]/)?"xn--"+c.encode(M):M)}i.hostname=q.join("."),i.host=(i.hostname||"")+(i.port?":"+i.port:""),i.href+=i.host}if(!w[k]){for(var s=0,d=g.length;d>s;s++){var Y=g[s],W=encodeURIComponent(Y);W===Y&&(W=escape(Y)),a=a.split(Y).join(W)}for(var V=a.length,s=0,d=f.length;d>s;s++){var X=r(a,f[s]);-1!==X&&(V=Math.min(X,V))}a=a.substr(0,V)}var J=r(a,"#");-1!==J&&(i.hash=a.substr(J),a=a.slice(0,J));var $=r(a,"?");return-1!==$?(i.search=a.substr($),i.query=a.substr($+1),t&&(i.query=O.parse(i.query)),a=a.slice(0,$)):t&&(i.search="",i.query={}),a&&(i.pathname=a),I[h]&&i.hostname&&!i.pathname&&(i.pathname="/"),(i.pathname||i.search)&&(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.href=o(i),i}function o(n){"string"==typeof n&&(n=i(n));var t=n.auth||"";if(t){t=t.split("@").join("%40");for(var e=0,r=x.length;r>e;e++){var o=x[e];t=t.split(o).join(encodeURIComponent(o))}t+="@"}var a=n.protocol||"",s=void 0!==n.host?t+n.host:void 0!==n.hostname?t+n.hostname+(n.port?":"+n.port:""):!1,u=n.pathname||"",c=n.query&&("object"==typeof n.query&&p(n.query).length?O.stringify(n.query):"")||"",l=n.search||c&&"?"+c||"",d=n.hash||"";return a&&":"!==a.substr(-1)&&(a+=":"),n.slashes||(!a||I[a])&&s!==!1?(s="//"+(s||""),u&&"/"!==u.charAt(0)&&(u="/"+u)):s||(s=""),d&&"#"!==d.charAt(0)&&(d="#"+d),l&&"?"!==l.charAt(0)&&(l="?"+l),a+s+u+l+d}function a(n,t){return o(s(n,t))}function s(n,t){if(!n)return t;if(n=i(o(n),!1,!0),t=i(o(t),!1,!0),n.hash=t.hash,""===t.href)return n.href=o(n),n;if(t.slashes&&!t.protocol)return t.protocol=n.protocol,I[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=o(t),t;if(t.protocol&&t.protocol!==n.protocol){if(!I[t.protocol])return t.href=o(t),t;if(n.protocol=t.protocol,!t.host&&!E[t.protocol]){for(var e=(t.pathname||"").split("/");e.length&&!(t.host=e.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==e[0]&&e.unshift(""),2>e.length&&e.unshift(""),t.pathname=e.join("/")}return n.pathname=t.pathname,n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,(void 0!==n.pathname||void 0!==n.search)&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.slashes=n.slashes||t.slashes,n.href=o(n),n}var a=n.pathname&&"/"===n.pathname.charAt(0),s=void 0!==t.host||t.pathname&&"/"===t.pathname.charAt(0),u=s||a||n.host&&t.pathname,c=u,p=n.pathname&&n.pathname.split("/")||[],e=t.pathname&&t.pathname.split("/")||[],l=n.protocol&&!I[n.protocol];if(l&&(delete n.hostname,delete n.port,n.host&&(""===p[0]?p[0]=n.host:p.unshift(n.host)),delete n.host,t.protocol&&(delete t.hostname,delete t.port,t.host&&(""===e[0]?e[0]=t.host:e.unshift(t.host)),delete t.host),u=u&&(""===e[0]||""===p[0])),s)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,p=e;else if(e.length)p||(p=[]),p.pop(),p=p.concat(e),n.search=t.search,n.query=t.query;else if("search"in t){if(l){n.hostname=n.host=p.shift();var d=n.host&&r(n.host,"@")>0?n.host.split("@"):!1;d&&(n.auth=d.shift(),n.host=n.hostname=d.shift())}return n.search=t.search,n.query=t.query,(void 0!==n.pathname||void 0!==n.search)&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=o(n),n}if(!p.length)return delete n.pathname,n.search?delete n.path:n.path="/"+n.search,n.href=o(n),n;for(var f=p.slice(-1)[0],h=(n.host||t.host)&&("."===f||".."===f)||""===f,g=0,b=p.length;b>=0;b--)f=p[b],"."==f?p.splice(b,1):".."===f?(p.splice(b,1),g++):g&&(p.splice(b,1),g--);if(!u&&!c)for(;g--;g)p.unshift("..");!u||""===p[0]||p[0]&&"/"===p[0].charAt(0)||p.unshift(""),h&&"/"!==p.join("/").substr(-1)&&p.push("");var x=""===p[0]||p[0]&&"/"===p[0].charAt(0);if(l){n.hostname=n.host=x?"":p.length?p.shift():"";var d=n.host&&r(n.host,"@")>0?n.host.split("@"):!1;d&&(n.auth=d.shift(),n.host=n.hostname=d.shift())}return u=u||n.host&&p.length,u&&!x&&p.unshift(""),n.pathname=p.join("/"),(void 0!==n.pathname||void 0!==n.search)&&(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=o(n),n}function u(n){var t={},e=d.exec(n);return e&&(e=e[0],t.port=e.substr(1),n=n.substr(0,n.length-e.length)),n&&(t.hostname=n),t}var c={encode:function(n){return n}};e.parse=i,e.resolve=a,e.resolveObject=s,e.format=o;var p=Object.keys||function p(n){if(n!==Object(n))throw new TypeError("Invalid object");var t=[];for(var e in n)n.hasOwnProperty(e)&&(t[t.length]=e);return t},l=/^([a-z0-9.+-]+:)/i,d=/:[0-9]+$/,f=["<",">",'"',"`"," ","\r","\n"," "],h=["{","}","|","\\","^","~","[","]","`"].concat(f),g=["'"],b=["%","/","?",";","#"].concat(h).concat(g),x=["/","@","?","#"].concat(f),m=255,v=/^[a-zA-Z0-9][a-z0-9A-Z_-]{0,62}$/,y=/^([a-zA-Z0-9][a-z0-9A-Z_-]{0,62})(.*)$/,w={javascript:!0,"javascript:":!0},E={javascript:!0,"javascript:":!0},I={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=n("querystring")},{querystring:1}],1:[function(n,t,e){function r(n,t){if(0==n[t].length)return n[t]={};var e={};for(var r in n[t])e[r]=n[t][r];return n[t]=e,e}function i(n,t,e,o){var a=n.shift();if(a){var s=t[e]=t[e]||[];"]"==a?b(s)?""!=o&&s.push(o):"object"==typeof s?s[x(s).length]=o:s=t[e]=[t[e],o]:~g(a,"]")?(a=a.substr(0,a.length-1),!y.test(a)&&b(s)&&(s=r(t,e)),i(n,s,a,o)):(!y.test(a)&&b(s)&&(s=r(t,e)),i(n,s,a,o))}else b(t[e])?t[e].push(o):t[e]="object"==typeof t[e]?o:t[e]===void 0?o:[t[e],o]}function o(n,t,e){if(~g(t,"]")){var r=t.split("[");r.length,i(r,n,"base",e)}else{if(!y.test(t)&&b(n.base)){var o={};for(var a in n.base)o[a]=n.base[a];n.base=o}l(n.base,t,e)}return n}function a(n){var t={base:{}};return m(x(n),function(e){o(t,e,n[e])}),t.base}function s(n){return v((n+"").split("&"),function(n,t){var e=g(t,"="),r=d(t),i=t.substr(0,r||e),a=t.substr(r||e,t.length),a=a.substr(g(a,"=")+1,a.length);return""==i&&(i=t,a=""),""==i?n:o(n,f(i),f(a))},{base:{}}).base}function u(n,t){if(!t)throw new TypeError("stringify expects an object");return t+"="+encodeURIComponent(n)}function c(n,t){var e=[];if(!t)throw new TypeError("stringify expects an object");for(var r=0;n.length>r;r++)e.push(w(n[r],t+"["+r+"]"));return e.join("&")}function p(n,t){for(var e,r=[],i=x(n),o=0,a=i.length;a>o;++o)e=i[o],null==n[e]?r.push(encodeURIComponent(e)+"="):r.push(w(n[e],t?t+"["+encodeURIComponent(e)+"]":encodeURIComponent(e)));return r.join("&")}function l(n,t,e){var r=n[t];void 0===r?n[t]=e:b(r)?r.push(e):n[t]=[r,e]}function d(n){for(var t,e,r=n.length,i=0;r>i;++i)if(e=n[i],"]"==e&&(t=!1),"["==e&&(t=!0),"="==e&&!t)return i}function f(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch(t){return n}}var h=Object.prototype.toString,g="function"==typeof Array.prototype.indexOf?function(n,t){return n.indexOf(t)}:function(n,t){for(var e=0;n.length>e;e++)if(n[e]===t)return e;return-1},b=Array.isArray||function(n){return"[object Array]"==h.call(n)},x=Object.keys||function(n){var t=[];for(var e in n)t.push(e);return t},m="function"==typeof Array.prototype.forEach?function(n,t){return n.forEach(t)}:function(n,t){for(var e=0;n.length>e;e++)t(n[e])},v=function(n,t,e){if("function"==typeof n.reduce)return n.reduce(t,e);for(var r=e,i=0;n.length>i;i++)r=t(r,n[i]);return r},y=/^[0-9]+$/;e.parse=function(n){return null==n||""==n?{}:"object"==typeof n?a(n):s(n)};var w=e.stringify=function(n,t){return b(n)?c(n,t):"[object Object]"==h.call(n)?p(n,t):"string"==typeof n?u(n,t):t+"="+encodeURIComponent(n+"")}},{}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({"binary-xhr":[function(n,t){t.exports=n("BtnXqt")},{}],BtnXqt:[function(n,t){function e(n,t){var e=this,r=new XMLHttpRequest;this.xhr=r,r.responseType="arraybuffer",r.open("GET",n,!0),r.onreadystatechange=function(){if(4===e.xhr.readyState)if(e.xhr.response&&e.xhr.response.byteLength>0)t(!1,e.xhr.response);else{if(e.xhr.response&&0===e.xhr.response.byteLength)return t("response length 0");t("no response")}},r.send(null)}n("inherits"),t.exports=function(n,t){return new e(n,t)}},{inherits:1}],1:[function(n,t){function e(n,t,e){e=e||{};var r={};[n.prototype,e].forEach(function(n){Object.getOwnPropertyNames(n).forEach(function(t){r[t]=Object.getOwnPropertyDescriptor(n,t)})}),n.prototype=Object.create(t.prototype,r),n.super=t}t.exports=e},{}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({"binary-csv":[function(n,t){t.exports=n("XXvNKn")},{}],XXvNKn:[function(n,t){function e(n){function t(n){b=!1;var t=0;if(h&&(n=i.join([h,n]),h=void 0),!f)for(var e=0;n.length>e;e++){if(13===n[e]){if(e===n.length)return;if(10===n[e+1]){f=i.from("\r\n");break}f=i.from("\r");break}if(10===n[e]){if(e===n.length)return;f=i.from("\n");break}}for(;n;){var r=p(n,t);if(r){var o=i.subarray(n,t,r);r===n.length?(h=o,n=void 0,t=r):(u(o),t=r+f.length)}else h=t>=n.length?void 0:n,n=void 0}}function s(){h&&u(h),u(null)}function u(t){if(n.json&&t){for(var e=l(t),r=0;e.length>r;r++)e[r]=i.to(d(e[r]));if(!g)return g=e;t=c(g,e)}v.queue(t)}function c(n,t){for(var e={},r=0;n.length>r;r++)e[n[r]]=t[r];return e}function p(n,t){var e=t;if(t>=n.length)return!1;for(var e=t;n.length>e;e++)if(n[e]!==a){if(n[e]===f[0])if(f.length>1){for(var r=!0,i=e,o=0;e+f.length>i;i++,o++)if(n[i]!==f[o]){r=!1;break}if(r&&!b)return i-f.length}else if(!b)break}else n[e+1]===a?e++:b=!b;var s=e+f.length-1;return s}function l(n){for(var t=[],e=!1,r=0,o=0;n.length>o;o++)if(n[o]!==a){if(n[o]===m&&!e){var s=i.subarray(n,r,o);t.push(s),r=o+1}}else n[o+1]===a?o++:e=!e;return n.length>r&&t.push(i.subarray(n,r,n.length)),n[n.length-1]===m&&t.push(i.create(0)),t}function d(n){n[0]===a&&n[n.length-1]===a&&(n=i.subarray(n,1,n.length-1));var t=0,e=n.length;n[t]===a&&n[e-1]===a&&(t++,e--);for(var r=0,o=t;e>o;o++)n[o]===a&&n[o+1]===a&&o++,r++;for(var s=i.create(r),o=t,u=0;e>o;o++)n[o]===a&&n[o+1]===a&&o++,s[u]=n[o],u++;return s}if(!(this instanceof e))return new e(n);n||(n={});var f,h,g,b,x={separator:",",newline:"\n",detectNewlines:!0,json:!1};n=o(x,n),n.detectNewlines?delete n.newline:f=i.from(n.newline);var m=i.from(n.separator||",")[0],v=r(t,s);return v.line=l,v.cell=d,v.options=n,v}var r=n("through"),i=n("bops"),o=n("extend");t.exports=e;var a=i.from('"')[0]},{through:1,bops:2,extend:3}],3:[function(n,t){function e(n){if(!n||"[object Object]"!==i.call(n)||n.nodeType||n.setInterval)return!1;var t=r.call(n,"constructor"),e=r.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!e)return!1;var o;for(o in n);return void 0===o||r.call(n,o)}var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function o(){var n,t,r,i,a,s,u=arguments[0]||{},c=1,p=arguments.length,l=!1;for("boolean"==typeof u&&(l=u,u=arguments[1]||{},c=2),"object"!=typeof u&&"function"!=typeof u&&(u={});p>c;c++)if(null!=(n=arguments[c]))for(t in n)r=u[t],i=n[t],u!==i&&(l&&i&&(e(i)||(a=Array.isArray(i)))?(a?(a=!1,s=r&&Array.isArray(r)?r:[]):s=r&&e(r)?r:{},u[t]=o(l,s,i)):void 0!==i&&(u[t]=i));return u}},{}],4:[function(n,t){var e=t.exports={};e.nextTick=function(){var n="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(n)return function(n){return window.setImmediate(n)};if(t){var e=[];return window.addEventListener("message",function(n){if(n.source===window&&"process-tick"===n.data&&(n.stopPropagation(),e.length>0)){var t=e.shift();t()}},!0),function(n){e.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.binding=function(){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(){throw Error("process.chdir is not supported")}},{}],1:[function(n,t,e){(function(r){function i(n,t,e){function i(){for(;c.length&&!l.paused;){var n=c.shift();if(null===n)return l.emit("end");l.emit("data",n)}}function a(){l.writable=!1,t.call(l),!l.readable&&l.autoDestroy&&l.destroy()}n=n||function(n){this.queue(n)},t=t||function(){this.queue(null)};var s=!1,u=!1,c=[],p=!1,l=new o;return l.readable=l.writable=!0,l.paused=!1,l.autoDestroy=!(e&&e.autoDestroy===!1),l.write=function(t){return n.call(this,t),!l.paused},l.queue=l.push=function(n){return p?l:(null==n&&(p=!0),c.push(n),i(),l)},l.on("end",function(){l.readable=!1,!l.writable&&l.autoDestroy&&r.nextTick(function(){l.destroy()})}),l.end=function(n){return s?void 0:(s=!0,arguments.length&&l.write(n),a(),l)},l.destroy=function(){return u?void 0:(u=!0,s=!0,c.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=n("stream");e=t.exports=i,i.through=i})(n("__browserify_process"))},{stream:5,__browserify_process:4}],2:[function(n,t){function e(n,t){for(var e in n)t[e]=n[e]}var r={};t.exports=r,r.from=n("./from.js"),r.to=n("./to.js"),r.is=n("./is.js"),r.subarray=n("./subarray.js"),r.join=n("./join.js"),r.copy=n("./copy.js"),r.create=n("./create.js"),e(n("./read.js"),r),e(n("./write.js"),r)},{"./from.js":6,"./to.js":7,"./is.js":8,"./subarray.js":9,"./join.js":10,"./copy.js":11,"./create.js":12,"./read.js":13,"./write.js":14}],8:[function(n,t){t.exports=function(n){return n instanceof Uint8Array}},{}],9:[function(n,t){function e(n,t,e){return n.subarray(t||0,e||n.length)}t.exports=e},{}],10:[function(n,t){function e(n,t){if(!n.length)return new Uint8Array(0);for(var e=void 0!==t?t:r(n),i=new Uint8Array(e),o=n[0],a=o.length,s=0,u=0,c=0;e>c;)u!==a?i[c++]=o[u++]:(u=0,++s,o=n[s],a=o&&o.length);return i}function r(n){for(var t=0,e=0,r=n.length;r>e;++e)t+=n[e].byteLength;return t}t.exports=e},{}],11:[function(n,t){function e(n,t,e,o,a){return e=3>arguments.length?0:e,o=4>arguments.length?0:o,a=5>arguments.length?n.length:a,a!==o&&0!==t.length&&0!==n.length?(a>n.length&&(a=n.length),a-o>t.length-e&&(a=t.length-e+o),n.buffer!==t.buffer?r(n,t,e,o,a):i(n,t,e,o,a)):void 0}function r(n,t,e,r,i){for(var o=i-r+e,a=e,s=r;o>a;++a,++s)t[a]=n[s]}function i(n,t,e,r,i){for(var a=i+r,s=new Uint8Array(o.call(n,r,a)),u=0;a>r;++r,++u)t[e++]=s[u]}t.exports=e;var o=[].slice},{}],12:[function(n,t){t.exports=function(n){return new Uint8Array(n)}},{}],5:[function(n,t){function e(){r.EventEmitter.call(this)}var r=n("events"),i=n("util");i.inherits(e,r.EventEmitter),t.exports=e,e.Stream=e,e.prototype.pipe=function(n,t){function e(t){n.writable&&!1===n.write(t)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function i(){c||(c=!0,n._pipeCount--,s(),n._pipeCount>0||n.end())}function o(){c||(c=!0,n._pipeCount--,s(),n._pipeCount>0||n.destroy())}function a(n){if(s(),0===this.listeners("error").length)throw n}function s(){u.removeListener("data",e),n.removeListener("drain",r),u.removeListener("end",i),u.removeListener("close",o),u.removeListener("error",a),n.removeListener("error",a),u.removeListener("end",s),u.removeListener("close",s),n.removeListener("end",s),n.removeListener("close",s)}var u=this;u.on("data",e),n.on("drain",r),n._isStdio||t&&t.end===!1||(n._pipeCount=n._pipeCount||0,n._pipeCount++,u.on("end",i),u.on("close",o));var c=!1;return u.on("error",a),n.on("error",a),u.on("end",s),u.on("close",s),n.on("end",s),n.on("close",s),n.emit("pipe",u),n}},{events:15,util:16}],15:[function(n,t,e){(function(n){function t(n,t){if(n.indexOf)return n.indexOf(t);for(var e=0;n.length>e;e++)if(t===n[e])return e;return-1}n.EventEmitter||(n.EventEmitter=function(){});var r=e.EventEmitter=n.EventEmitter,i="function"==typeof Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},o=10;r.prototype.setMaxListeners=function(n){this._events||(this._events={}),this._events.maxListeners=n},r.prototype.emit=function(n){if("error"===n&&(!this._events||!this._events.error||i(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var t=this._events[n];if(!t)return!1;if("function"==typeof t){switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:var e=Array.prototype.slice.call(arguments,1);t.apply(this,e)}return!0}if(i(t)){for(var e=Array.prototype.slice.call(arguments,1),r=t.slice(),o=0,a=r.length;a>o;o++)r[o].apply(this,e);return!0}return!1},r.prototype.addListener=function(n,t){if("function"!=typeof t)throw Error("addListener only takes instances of Function");if(this._events||(this._events={}),this.emit("newListener",n,t),this._events[n])if(i(this._events[n])){if(!this._events[n].warned){var e;e=void 0!==this._events.maxListeners?this._events.maxListeners:o,e&&e>0&&this._events[n].length>e&&(this._events[n].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),console.trace())}this._events[n].push(t)}else this._events[n]=[this._events[n],t];else this._events[n]=t;return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(n,t){var e=this;return e.on(n,function r(){e.removeListener(n,r),t.apply(this,arguments)}),this},r.prototype.removeListener=function(n,e){if("function"!=typeof e)throw Error("removeListener only takes instances of Function");if(!this._events||!this._events[n])return this;var r=this._events[n];if(i(r)){var o=t(r,e);if(0>o)return this;r.splice(o,1),0==r.length&&delete this._events[n]}else this._events[n]===e&&delete this._events[n];return this},r.prototype.removeAllListeners=function(n){return 0===arguments.length?(this._events={},this):(n&&this._events&&this._events[n]&&(this._events[n]=null),this)},r.prototype.listeners=function(n){return this._events||(this._events={}),this._events[n]||(this._events[n]=[]),i(this._events[n])||(this._events[n]=[this._events[n]]),this._events[n]}})(n("__browserify_process"))},{__browserify_process:4}],16:[function(n,t,e){function r(n){return n instanceof Array||Array.isArray(n)||n&&n!==Object.prototype&&r(n.__proto__)}function i(n){return n instanceof RegExp||"object"==typeof n&&"[object RegExp]"===Object.prototype.toString.call(n)}function o(n){if(n instanceof Date)return!0;if("object"!=typeof n)return!1;var t=Date.prototype&&s(Date.prototype),e=n.__proto__&&s(n.__proto__);return JSON.stringify(e)===JSON.stringify(t)}n("events"),e.isArray=r,e.isDate=function(n){return"[object Date]"===Object.prototype.toString.call(n)},e.isRegExp=function(n){return"[object RegExp]"===Object.prototype.toString.call(n)},e.print=function(){},e.puts=function(){},e.debug=function(){},e.inspect=function(n,t,u,c){function p(n,u){if(n&&"function"==typeof n.inspect&&n!==e&&(!n.constructor||n.constructor.prototype!==n))return n.inspect(u);switch(typeof n){case"undefined":return d("undefined","undefined");case"string":var c="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d(c,"string");case"number":return d(""+n,"number");case"boolean":return d(""+n,"boolean")}if(null===n)return d("null","null");var f=a(n),h=t?s(n):f;if("function"==typeof n&&0===h.length){if(i(n))return d(""+n,"regexp");var g=n.name?": "+n.name:"";return d("[Function"+g+"]","special")}if(o(n)&&0===h.length)return d(n.toUTCString(),"date");var b,x,m;if(r(n)?(x="Array",m=["[","]"]):(x="Object",m=["{","}"]),"function"==typeof n){var v=n.name?": "+n.name:"";b=i(n)?" "+n:" [Function"+v+"]"}else b="";if(o(n)&&(b=" "+n.toUTCString()),0===h.length)return m[0]+b+m[1];if(0>u)return i(n)?d(""+n,"regexp"):d("[Object]","special");l.push(n);var y=h.map(function(t){var e,i;if(n.__lookupGetter__&&(n.__lookupGetter__(t)?i=n.__lookupSetter__(t)?d("[Getter/Setter]","special"):d("[Getter]","special"):n.__lookupSetter__(t)&&(i=d("[Setter]","special"))),0>f.indexOf(t)&&(e="["+t+"]"),i||(0>l.indexOf(n[t])?(i=null===u?p(n[t]):p(n[t],u-1),i.indexOf("\n")>-1&&(i=r(n)?i.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+i.split("\n").map(function(n){return" "+n}).join("\n"))):i=d("[Circular]","special")),e===void 0){if("Array"===x&&t.match(/^\d+$/))return i;e=JSON.stringify(""+t),e.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(e=e.substr(1,e.length-2),e=d(e,"name")):(e=e.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),e=d(e,"string"))}return e+": "+i});l.pop();var w=0,E=y.reduce(function(n,t){return w++,t.indexOf("\n")>=0&&w++,n+t.length+1},0);return y=E>50?m[0]+(""===b?"":b+"\n ")+" "+y.join(",\n ")+" "+m[1]:m[0]+b+" "+y.join(", ")+" "+m[1]}var l=[],d=function(n,t){var e={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]},r={special:"cyan",number:"blue","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"}[t];return r?"["+e[r][0]+"m"+n+"["+e[r][1]+"m":n};return c||(d=function(n){return n}),p(n,u===void 0?2:u)},e.log=function(){},e.pump=null;var a=Object.keys||function(n){var t=[];for(var e in n)t.push(e);return t},s=Object.getOwnPropertyNames||function(n){var t=[];for(var e in n)Object.hasOwnProperty.call(n,e)&&t.push(e);return t},u=Object.create||function(n,t){var e;if(null===n)e={__proto__:null};else{if("object"!=typeof n)throw new TypeError("typeof prototype["+typeof n+"] != 'object'");var r=function(){};r.prototype=n,e=new r,e.__proto__=n}return t!==void 0&&Object.defineProperties&&Object.defineProperties(e,t),e};e.inherits=function(n,t){n.super_=t,n.prototype=u(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})};var c=/%[sdj%]/g;e.format=function(n){if("string"!=typeof n){for(var t=[],r=0;arguments.length>r;r++)t.push(e.inspect(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,o=i.length,a=(n+"").replace(c,function(n){if("%%"===n)return"%";if(r>=o)return n;switch(n){case"%s":return i[r++]+"";case"%d":return Number(i[r++]);case"%j":return JSON.stringify(i[r++]);default:return n}}),s=i[r];o>r;s=i[++r])a+=null===s||"object"!=typeof s?" "+s:" "+e.inspect(s);return a}},{events:15}],13:[function(n,t){function e(n,t){return n[t]}function r(n,t){var e=n[t];return 128>e?e:e-256}function i(n,t){var e=b.get(n);return e.getUint16(t+n.byteOffset,!0)}function o(n,t){var e=b.get(n);return e.getUint32(t+n.byteOffset,!0)}function a(n,t){var e=b.get(n);return e.getInt16(t+n.byteOffset,!0)}function s(n,t){var e=b.get(n);return e.getInt32(t+n.byteOffset,!0)}function u(n,t){var e=b.get(n);return e.getFloat32(t+n.byteOffset,!0)}function c(n,t){var e=b.get(n);return e.getFloat64(t+n.byteOffset,!0)}function p(n,t){var e=b.get(n);return e.getUint16(t+n.byteOffset,!1)}function l(n,t){var e=b.get(n);return e.getUint32(t+n.byteOffset,!1)}function d(n,t){var e=b.get(n);return e.getInt16(t+n.byteOffset,!1)}function f(n,t){var e=b.get(n);return e.getInt32(t+n.byteOffset,!1)}function h(n,t){var e=b.get(n);return e.getFloat32(t+n.byteOffset,!1)}function g(n,t){var e=b.get(n);return e.getFloat64(t+n.byteOffset,!1)}t.exports={readUInt8:e,readInt8:r,readUInt16LE:i,readUInt32LE:o,readInt16LE:a,readInt32LE:s,readFloatLE:u,readDoubleLE:c,readUInt16BE:p,readUInt32BE:l,readInt16BE:d,readInt32BE:f,readFloatBE:h,readDoubleBE:g};var b=n("./mapped.js")},{"./mapped.js":17}],14:[function(n,t){function e(n,t,e){return n[e]=t}function r(n,t,e){return n[e]=0>t?t+256:t}function i(n,t,e){var r=b.get(n);return r.setUint16(e+n.byteOffset,t,!0)}function o(n,t,e){var r=b.get(n);return r.setUint32(e+n.byteOffset,t,!0)}function a(n,t,e){var r=b.get(n);return r.setInt16(e+n.byteOffset,t,!0)}function s(n,t,e){var r=b.get(n);return r.setInt32(e+n.byteOffset,t,!0)}function u(n,t,e){var r=b.get(n);return r.setFloat32(e+n.byteOffset,t,!0)}function c(n,t,e){var r=b.get(n);return r.setFloat64(e+n.byteOffset,t,!0)}function p(n,t,e){var r=b.get(n);return r.setUint16(e+n.byteOffset,t,!1)}function l(n,t,e){var r=b.get(n);return r.setUint32(e+n.byteOffset,t,!1)}function d(n,t,e){var r=b.get(n);return r.setInt16(e+n.byteOffset,t,!1)}function f(n,t,e){var r=b.get(n);return r.setInt32(e+n.byteOffset,t,!1)}function h(n,t,e){var r=b.get(n);return r.setFloat32(e+n.byteOffset,t,!1)}function g(n,t,e){var r=b.get(n);return r.setFloat64(e+n.byteOffset,t,!1)}t.exports={writeUInt8:e,writeInt8:r,writeUInt16LE:i,writeUInt32LE:o,writeInt16LE:a,writeInt32LE:s,writeFloatLE:u,writeDoubleLE:c,writeUInt16BE:p,writeUInt32BE:l,writeInt16BE:d,writeInt32BE:f,writeFloatBE:h,writeDoubleBE:g};var b=n("./mapped.js")},{"./mapped.js":17}],17:[function(n,t){function e(n){return new DataView(n.buffer,0)}function r(n){var t=o.get(n.buffer);return t||o.set(n.buffer,t=new DataView(n.buffer,0)),t}var i,o;t.exports=i={},o="undefined"==typeof WeakMap?null:new WeakMap,i.get=o?r:e},{}],6:[function(n,t){function e(n,t){return Array.isArray(n)?new Uint8Array(n):c[t||"utf8"](n)}function r(n){for(var t=n.length/2,e=new Uint8Array(t),r="",i=0,o=n.length;o>i;++i)r+=n.charAt(i),i>0&&1===i%2&&(e[i>>>1]=parseInt(r,16),r="");return e}function i(n){for(var t,e=[],r=0,i=n.length;i>r;++r)t=a(n,r),t!==!1&&(128>t?e[e.length]=t:o(e,t));return new Uint8Array(e)}function o(n,t){var e,r,i,o,a=t,s=0;do++s;while(a>>>=1);for(e=0|Math.ceil((s-1)/5),r=[0,0,192,224,240,248,252][e],o=[0,0,3,4,5,6,7][e],i|=r,s=7-o+6*(e-1);s;)i|=+!!(t&1<<s)<<7-o,++o,0===o%8&&(n[n.length]=i,i=128,o=2),--s;o&&(n[n.length]=i)}function a(n,t){t=t||0;var e,r,i=n.charCodeAt(t);if(i>=55296&&56319>=i){if(e=n.charCodeAt(t+1),r=i,isNaN(e))throw Error("High surrogate not followed by low surrogate");return 1024*(r-55296)+(e-56320)+65536}return i>=56320&&57343>=i?!1:i}function s(n){return new Uint8Array(u.toByteArray(n))}t.exports=e;var u=n("base64-js"),c={hex:r,utf8:i,base64:s}},{"base64-js":18}],7:[function(n,t){function e(n,t){return u[t||"utf8"](n)}function r(n){for(var t,e="",r=0,i=n.length;i>r;++r)t=n[r],e+=((240&t)>>>4).toString(16),e+=(15&t).toString(16);return e}function i(n){return s(n)}function o(n){return a.fromByteArray(n)}t.exports=e;var a=n("base64-js"),s=n("to-utf8"),u={hex:r,utf8:i,base64:o}},{"base64-js":18,"to-utf8":19}],18:[function(n,t){(function(){"use strict";function n(n){var t,e,i,o,a,s;if(n.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(a=n.indexOf("="),a=a>0?n.length-a:0,s=[],i=a>0?n.length-4:n.length,t=0,e=0;i>t;t+=4,e+=3)o=r.indexOf(n[t])<<18|r.indexOf(n[t+1])<<12|r.indexOf(n[t+2])<<6|r.indexOf(n[t+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=r.indexOf(n[t])<<2|r.indexOf(n[t+1])>>4,s.push(255&o)):1===a&&(o=r.indexOf(n[t])<<10|r.indexOf(n[t+1])<<4|r.indexOf(n[t+2])>>2,s.push(255&o>>8),s.push(255&o)),s}function e(n){function t(n){return r[63&n>>18]+r[63&n>>12]+r[63&n>>6]+r[63&n]}var e,i,o,a=n.length%3,s="";for(e=0,o=n.length-a;o>e;e+=3)i=(n[e]<<16)+(n[e+1]<<8)+n[e+2],s+=t(i);switch(a){case 1:i=n[n.length-1],s+=r[i>>2],s+=r[63&i<<4],s+="==";break;case 2:i=(n[n.length-2]<<8)+n[n.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=n,t.exports.fromByteArray=e})()},{}],19:[function(n,t){function e(n,t,e){t=void 0===t?0:t,e=void 0===e?n.length:e;var u,p,l=0,d=128,f=0;for(a.length=o.length=0;n.length>l;)p=n[l],!f&&p&d?(u=r(p),f+=u,8>u&&(a[a.length]=p&c[6-u])):f?(a[a.length]=p&c[6],--f,!f&&a.length&&(o[o.length]=s(i(a,u)),a.length=0)):o[o.length]=s(p),++l;return a.length&&!f&&(o[o.length]=s(i(a,u)),a.length=0),o.join("")}function r(n){for(var t=0;7>t&&n&u[t];++t);return t}function i(n){for(var t=0,e=0,r=n.length;r>e;++e)t|=n[e]<<6*(r-e-1);return t}t.exports=e;var o=[],a=[],s=String.fromCharCode,u=[64,32,16,8,4,2,1],c=[0,1,3,7,15,31,63,127]},{}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({bops:[function(n,t){t.exports=n("zDDGyK")},{}],zDDGyK:[function(n,t){function e(n,t){for(var e in n)t[e]=n[e]}var r={};t.exports=r,r.from=n("./from.js"),r.to=n("./to.js"),r.is=n("./is.js"),r.subarray=n("./subarray.js"),r.join=n("./join.js"),r.copy=n("./copy.js"),r.create=n("./create.js"),e(n("./read.js"),r),e(n("./write.js"),r)},{"./from.js":1,"./to.js":2,"./is.js":3,"./subarray.js":4,"./join.js":5,"./copy.js":6,"./create.js":7,"./read.js":8,"./write.js":9}],3:[function(n,t){t.exports=function(n){return n instanceof Uint8Array}},{}],4:[function(n,t){function e(n,t,e){return n.subarray(t||0,e||n.length)}t.exports=e},{}],5:[function(n,t){function e(n,t){if(!n.length)return new Uint8Array(0);for(var e=void 0!==t?t:r(n),i=new Uint8Array(e),o=n[0],a=o.length,s=0,u=0,c=0;e>c;)u!==a?i[c++]=o[u++]:(u=0,++s,o=n[s],a=o&&o.length);return i}function r(n){for(var t=0,e=0,r=n.length;r>e;++e)t+=n[e].byteLength;return t}t.exports=e},{}],6:[function(n,t){function e(n,t,e,o,a){return e=3>arguments.length?0:e,o=4>arguments.length?0:o,a=5>arguments.length?n.length:a,a!==o&&0!==t.length&&0!==n.length?(a>n.length&&(a=n.length),a-o>t.length-e&&(a=t.length-e+o),n.buffer!==t.buffer?r(n,t,e,o,a):i(n,t,e,o,a)):void 0
}function r(n,t,e,r,i){for(var o=i-r+e,a=e,s=r;o>a;++a,++s)t[a]=n[s]}function i(n,t,e,r,i){for(var a=i+r,s=new Uint8Array(o.call(n,r,a)),u=0;a>r;++r,++u)t[e++]=s[u]}t.exports=e;var o=[].slice},{}],7:[function(n,t){t.exports=function(n){return new Uint8Array(n)}},{}],8:[function(n,t){function e(n,t){return n[t]}function r(n,t){var e=n[t];return 128>e?e:e-256}function i(n,t){var e=b.get(n);return e.getUint16(t+n.byteOffset,!0)}function o(n,t){var e=b.get(n);return e.getUint32(t+n.byteOffset,!0)}function a(n,t){var e=b.get(n);return e.getInt16(t+n.byteOffset,!0)}function s(n,t){var e=b.get(n);return e.getInt32(t+n.byteOffset,!0)}function u(n,t){var e=b.get(n);return e.getFloat32(t+n.byteOffset,!0)}function c(n,t){var e=b.get(n);return e.getFloat64(t+n.byteOffset,!0)}function p(n,t){var e=b.get(n);return e.getUint16(t+n.byteOffset,!1)}function l(n,t){var e=b.get(n);return e.getUint32(t+n.byteOffset,!1)}function d(n,t){var e=b.get(n);return e.getInt16(t+n.byteOffset,!1)}function f(n,t){var e=b.get(n);return e.getInt32(t+n.byteOffset,!1)}function h(n,t){var e=b.get(n);return e.getFloat32(t+n.byteOffset,!1)}function g(n,t){var e=b.get(n);return e.getFloat64(t+n.byteOffset,!1)}t.exports={readUInt8:e,readInt8:r,readUInt16LE:i,readUInt32LE:o,readInt16LE:a,readInt32LE:s,readFloatLE:u,readDoubleLE:c,readUInt16BE:p,readUInt32BE:l,readInt16BE:d,readInt32BE:f,readFloatBE:h,readDoubleBE:g};var b=n("./mapped.js")},{"./mapped.js":10}],9:[function(n,t){function e(n,t,e){return n[e]=t}function r(n,t,e){return n[e]=0>t?t+256:t}function i(n,t,e){var r=b.get(n);return r.setUint16(e+n.byteOffset,t,!0)}function o(n,t,e){var r=b.get(n);return r.setUint32(e+n.byteOffset,t,!0)}function a(n,t,e){var r=b.get(n);return r.setInt16(e+n.byteOffset,t,!0)}function s(n,t,e){var r=b.get(n);return r.setInt32(e+n.byteOffset,t,!0)}function u(n,t,e){var r=b.get(n);return r.setFloat32(e+n.byteOffset,t,!0)}function c(n,t,e){var r=b.get(n);return r.setFloat64(e+n.byteOffset,t,!0)}function p(n,t,e){var r=b.get(n);return r.setUint16(e+n.byteOffset,t,!1)}function l(n,t,e){var r=b.get(n);return r.setUint32(e+n.byteOffset,t,!1)}function d(n,t,e){var r=b.get(n);return r.setInt16(e+n.byteOffset,t,!1)}function f(n,t,e){var r=b.get(n);return r.setInt32(e+n.byteOffset,t,!1)}function h(n,t,e){var r=b.get(n);return r.setFloat32(e+n.byteOffset,t,!1)}function g(n,t,e){var r=b.get(n);return r.setFloat64(e+n.byteOffset,t,!1)}t.exports={writeUInt8:e,writeInt8:r,writeUInt16LE:i,writeUInt32LE:o,writeInt16LE:a,writeInt32LE:s,writeFloatLE:u,writeDoubleLE:c,writeUInt16BE:p,writeUInt32BE:l,writeInt16BE:d,writeInt32BE:f,writeFloatBE:h,writeDoubleBE:g};var b=n("./mapped.js")},{"./mapped.js":10}],10:[function(n,t){function e(n){return new DataView(n.buffer,0)}function r(n){var t=o.get(n.buffer);return t||o.set(n.buffer,t=new DataView(n.buffer,0)),t}var i,o;t.exports=i={},o="undefined"==typeof WeakMap?null:new WeakMap,i.get=o?r:e},{}],2:[function(n,t){function e(n,t){return u[t||"utf8"](n)}function r(n){for(var t,e="",r=0,i=n.length;i>r;++r)t=n[r],e+=((240&t)>>>4).toString(16),e+=(15&t).toString(16);return e}function i(n){return s(n)}function o(n){return a.fromByteArray(n)}t.exports=e;var a=n("base64-js"),s=n("to-utf8"),u={hex:r,utf8:i,base64:o}},{"base64-js":11,"to-utf8":12}],1:[function(n,t){function e(n,t){return Array.isArray(n)?new Uint8Array(n):c[t||"utf8"](n)}function r(n){for(var t=n.length/2,e=new Uint8Array(t),r="",i=0,o=n.length;o>i;++i)r+=n.charAt(i),i>0&&1===i%2&&(e[i>>>1]=parseInt(r,16),r="");return e}function i(n){for(var t,e=[],r=0,i=n.length;i>r;++r)t=a(n,r),t!==!1&&(128>t?e[e.length]=t:o(e,t));return new Uint8Array(e)}function o(n,t){var e,r,i,o,a=t,s=0;do++s;while(a>>>=1);for(e=0|Math.ceil((s-1)/5),r=[0,0,192,224,240,248,252][e],o=[0,0,3,4,5,6,7][e],i|=r,s=7-o+6*(e-1);s;)i|=+!!(t&1<<s)<<7-o,++o,0===o%8&&(n[n.length]=i,i=128,o=2),--s;o&&(n[n.length]=i)}function a(n,t){t=t||0;var e,r,i=n.charCodeAt(t);if(i>=55296&&56319>=i){if(e=n.charCodeAt(t+1),r=i,isNaN(e))throw Error("High surrogate not followed by low surrogate");return 1024*(r-55296)+(e-56320)+65536}return i>=56320&&57343>=i?!1:i}function s(n){return new Uint8Array(u.toByteArray(n))}t.exports=e;var u=n("base64-js"),c={hex:r,utf8:i,base64:s}},{"base64-js":11}],11:[function(n,t){(function(){"use strict";function n(n){var t,e,i,o,a,s;if(n.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(a=n.indexOf("="),a=a>0?n.length-a:0,s=[],i=a>0?n.length-4:n.length,t=0,e=0;i>t;t+=4,e+=3)o=r.indexOf(n[t])<<18|r.indexOf(n[t+1])<<12|r.indexOf(n[t+2])<<6|r.indexOf(n[t+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=r.indexOf(n[t])<<2|r.indexOf(n[t+1])>>4,s.push(255&o)):1===a&&(o=r.indexOf(n[t])<<10|r.indexOf(n[t+1])<<4|r.indexOf(n[t+2])>>2,s.push(255&o>>8),s.push(255&o)),s}function e(n){function t(n){return r[63&n>>18]+r[63&n>>12]+r[63&n>>6]+r[63&n]}var e,i,o,a=n.length%3,s="";for(e=0,o=n.length-a;o>e;e+=3)i=(n[e]<<16)+(n[e+1]<<8)+n[e+2],s+=t(i);switch(a){case 1:i=n[n.length-1],s+=r[i>>2],s+=r[63&i<<4],s+="==";break;case 2:i=(n[n.length-2]<<8)+n[n.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=n,t.exports.fromByteArray=e})()},{}],12:[function(n,t){function e(n,t,e){t=void 0===t?0:t,e=void 0===e?n.length:e;var u,p,l=0,d=128,f=0;for(a.length=o.length=0;n.length>l;)p=n[l],!f&&p&d?(u=r(p),f+=u,8>u&&(a[a.length]=p&c[6-u])):f?(a[a.length]=p&c[6],--f,!f&&a.length&&(o[o.length]=s(i(a,u)),a.length=0)):o[o.length]=s(p),++l;return a.length&&!f&&(o[o.length]=s(i(a,u)),a.length=0),o.join("")}function r(n){for(var t=0;7>t&&n&u[t];++t);return t}function i(n){for(var t=0,e=0,r=n.length;r>e;++e)t|=n[e]<<6*(r-e-1);return t}t.exports=e;var o=[],a=[],s=String.fromCharCode,u=[64,32,16,8,4,2,1],c=[0,1,3,7,15,31,63,127]},{}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({through:[function(n,t){t.exports=n("dJ9mfA")},{}],1:[function(n,t){var e=t.exports={};e.nextTick=function(){var n="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(n)return function(n){return window.setImmediate(n)};if(t){var e=[];return window.addEventListener("message",function(n){if(n.source===window&&"process-tick"===n.data&&(n.stopPropagation(),e.length>0)){var t=e.shift();t()}},!0),function(n){e.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.binding=function(){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(){throw Error("process.chdir is not supported")}},{}],dJ9mfA:[function(n,t,e){(function(r){function i(n,t,e){function i(){for(;c.length&&!l.paused;){var n=c.shift();if(null===n)return l.emit("end");l.emit("data",n)}}function a(){l.writable=!1,t.call(l),!l.readable&&l.autoDestroy&&l.destroy()}n=n||function(n){this.queue(n)},t=t||function(){this.queue(null)};var s=!1,u=!1,c=[],p=!1,l=new o;return l.readable=l.writable=!0,l.paused=!1,l.autoDestroy=!(e&&e.autoDestroy===!1),l.write=function(t){return n.call(this,t),!l.paused},l.queue=l.push=function(n){return p?l:(null==n&&(p=!0),c.push(n),i(),l)},l.on("end",function(){l.readable=!1,!l.writable&&l.autoDestroy&&r.nextTick(function(){l.destroy()})}),l.end=function(n){return s?void 0:(s=!0,arguments.length&&l.write(n),a(),l)},l.destroy=function(){return u?void 0:(u=!0,s=!0,c.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=n("stream");e=t.exports=i,i.through=i})(n("__browserify_process"))},{stream:2,__browserify_process:1}],2:[function(n,t){function e(){r.EventEmitter.call(this)}var r=n("events"),i=n("util");i.inherits(e,r.EventEmitter),t.exports=e,e.Stream=e,e.prototype.pipe=function(n,t){function e(t){n.writable&&!1===n.write(t)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function i(){c||(c=!0,n._pipeCount--,s(),n._pipeCount>0||n.end())}function o(){c||(c=!0,n._pipeCount--,s(),n._pipeCount>0||n.destroy())}function a(n){if(s(),0===this.listeners("error").length)throw n}function s(){u.removeListener("data",e),n.removeListener("drain",r),u.removeListener("end",i),u.removeListener("close",o),u.removeListener("error",a),n.removeListener("error",a),u.removeListener("end",s),u.removeListener("close",s),n.removeListener("end",s),n.removeListener("close",s)}var u=this;u.on("data",e),n.on("drain",r),n._isStdio||t&&t.end===!1||(n._pipeCount=n._pipeCount||0,n._pipeCount++,u.on("end",i),u.on("close",o));var c=!1;return u.on("error",a),n.on("error",a),u.on("end",s),u.on("close",s),n.on("end",s),n.on("close",s),n.emit("pipe",u),n}},{events:3,util:4}],3:[function(n,t,e){(function(n){function t(n,t){if(n.indexOf)return n.indexOf(t);for(var e=0;n.length>e;e++)if(t===n[e])return e;return-1}n.EventEmitter||(n.EventEmitter=function(){});var r=e.EventEmitter=n.EventEmitter,i="function"==typeof Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},o=10;r.prototype.setMaxListeners=function(n){this._events||(this._events={}),this._events.maxListeners=n},r.prototype.emit=function(n){if("error"===n&&(!this._events||!this._events.error||i(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var t=this._events[n];if(!t)return!1;if("function"==typeof t){switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:var e=Array.prototype.slice.call(arguments,1);t.apply(this,e)}return!0}if(i(t)){for(var e=Array.prototype.slice.call(arguments,1),r=t.slice(),o=0,a=r.length;a>o;o++)r[o].apply(this,e);return!0}return!1},r.prototype.addListener=function(n,t){if("function"!=typeof t)throw Error("addListener only takes instances of Function");if(this._events||(this._events={}),this.emit("newListener",n,t),this._events[n])if(i(this._events[n])){if(!this._events[n].warned){var e;e=void 0!==this._events.maxListeners?this._events.maxListeners:o,e&&e>0&&this._events[n].length>e&&(this._events[n].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),console.trace())}this._events[n].push(t)}else this._events[n]=[this._events[n],t];else this._events[n]=t;return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(n,t){var e=this;return e.on(n,function r(){e.removeListener(n,r),t.apply(this,arguments)}),this},r.prototype.removeListener=function(n,e){if("function"!=typeof e)throw Error("removeListener only takes instances of Function");if(!this._events||!this._events[n])return this;var r=this._events[n];if(i(r)){var o=t(r,e);if(0>o)return this;r.splice(o,1),0==r.length&&delete this._events[n]}else this._events[n]===e&&delete this._events[n];return this},r.prototype.removeAllListeners=function(n){return 0===arguments.length?(this._events={},this):(n&&this._events&&this._events[n]&&(this._events[n]=null),this)},r.prototype.listeners=function(n){return this._events||(this._events={}),this._events[n]||(this._events[n]=[]),i(this._events[n])||(this._events[n]=[this._events[n]]),this._events[n]}})(n("__browserify_process"))},{__browserify_process:1}],4:[function(n,t,e){function r(n){return n instanceof Array||Array.isArray(n)||n&&n!==Object.prototype&&r(n.__proto__)}function i(n){return n instanceof RegExp||"object"==typeof n&&"[object RegExp]"===Object.prototype.toString.call(n)}function o(n){if(n instanceof Date)return!0;if("object"!=typeof n)return!1;var t=Date.prototype&&s(Date.prototype),e=n.__proto__&&s(n.__proto__);return JSON.stringify(e)===JSON.stringify(t)}n("events"),e.isArray=r,e.isDate=function(n){return"[object Date]"===Object.prototype.toString.call(n)},e.isRegExp=function(n){return"[object RegExp]"===Object.prototype.toString.call(n)},e.print=function(){},e.puts=function(){},e.debug=function(){},e.inspect=function(n,t,u,c){function p(n,u){if(n&&"function"==typeof n.inspect&&n!==e&&(!n.constructor||n.constructor.prototype!==n))return n.inspect(u);switch(typeof n){case"undefined":return d("undefined","undefined");case"string":var c="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d(c,"string");case"number":return d(""+n,"number");case"boolean":return d(""+n,"boolean")}if(null===n)return d("null","null");var f=a(n),h=t?s(n):f;if("function"==typeof n&&0===h.length){if(i(n))return d(""+n,"regexp");var g=n.name?": "+n.name:"";return d("[Function"+g+"]","special")}if(o(n)&&0===h.length)return d(n.toUTCString(),"date");var b,x,m;if(r(n)?(x="Array",m=["[","]"]):(x="Object",m=["{","}"]),"function"==typeof n){var v=n.name?": "+n.name:"";b=i(n)?" "+n:" [Function"+v+"]"}else b="";if(o(n)&&(b=" "+n.toUTCString()),0===h.length)return m[0]+b+m[1];if(0>u)return i(n)?d(""+n,"regexp"):d("[Object]","special");l.push(n);var y=h.map(function(t){var e,i;if(n.__lookupGetter__&&(n.__lookupGetter__(t)?i=n.__lookupSetter__(t)?d("[Getter/Setter]","special"):d("[Getter]","special"):n.__lookupSetter__(t)&&(i=d("[Setter]","special"))),0>f.indexOf(t)&&(e="["+t+"]"),i||(0>l.indexOf(n[t])?(i=null===u?p(n[t]):p(n[t],u-1),i.indexOf("\n")>-1&&(i=r(n)?i.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+i.split("\n").map(function(n){return" "+n}).join("\n"))):i=d("[Circular]","special")),e===void 0){if("Array"===x&&t.match(/^\d+$/))return i;e=JSON.stringify(""+t),e.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(e=e.substr(1,e.length-2),e=d(e,"name")):(e=e.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),e=d(e,"string"))}return e+": "+i});l.pop();var w=0,E=y.reduce(function(n,t){return w++,t.indexOf("\n")>=0&&w++,n+t.length+1},0);return y=E>50?m[0]+(""===b?"":b+"\n ")+" "+y.join(",\n ")+" "+m[1]:m[0]+b+" "+y.join(", ")+" "+m[1]}var l=[],d=function(n,t){var e={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]},r={special:"cyan",number:"blue","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"}[t];return r?"["+e[r][0]+"m"+n+"["+e[r][1]+"m":n};return c||(d=function(n){return n}),p(n,u===void 0?2:u)},e.log=function(){},e.pump=null;var a=Object.keys||function(n){var t=[];for(var e in n)t.push(e);return t},s=Object.getOwnPropertyNames||function(n){var t=[];for(var e in n)Object.hasOwnProperty.call(n,e)&&t.push(e);return t},u=Object.create||function(n,t){var e;if(null===n)e={__proto__:null};else{if("object"!=typeof n)throw new TypeError("typeof prototype["+typeof n+"] != 'object'");var r=function(){};r.prototype=n,e=new r,e.__proto__=n}return t!==void 0&&Object.defineProperties&&Object.defineProperties(e,t),e};e.inherits=function(n,t){n.super_=t,n.prototype=u(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})};var c=/%[sdj%]/g;e.format=function(n){if("string"!=typeof n){for(var t=[],r=0;arguments.length>r;r++)t.push(e.inspect(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,o=i.length,a=(n+"").replace(c,function(n){if("%%"===n)return"%";if(r>=o)return n;switch(n){case"%s":return i[r++]+"";case"%d":return Number(i[r++]);case"%j":return JSON.stringify(i[r++]);default:return n}}),s=i[r];o>r;s=i[++r])a+=null===s||"object"!=typeof s?" "+s:" "+e.inspect(s);return a}},{events:3}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({1:[function(){},{}],"data-table":[function(n,t){t.exports=n("8PCeZq")},{}],"8PCeZq":[function(n,t){function e(n){this.rows=n,this.headers=this.getHeaders(n)}n("fs");var r=n("mustache"),i='<div class="data-table-container">\n <table class="data-table" cellspacing="0">\n <tbody>\n <tr>\n {{#notEmpty}}<td class="column-header"></td>{{/notEmpty}}\n {{#headers}}\n <td class="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 data-id="{{id}}">\n <td>{{#editable}}<a class="row-header-menu"></a>{{/editable}}</td>\n {{#cells}}\n <td data-header="{{header}}" class="{{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(n){return new e(n)},t.exports.css='/*custom styles up top*/\n\n/*.sidebar {height:100%;width:299px;background-color:#F1FFFD;position:relative;overflow-x: hidden}\n.sidebar hr { margin: 10px 15px 2px}\n.sidebar .title, .sidebar .title a{font-family:"Lucida Grande", "Geneva";font-size:20px;line-height:24px;font-weight: 400; color: #084354; width: 240px;}\n.sidebar .controls a, .sidebar .controls a:hover {color: #252525; text-decoration: none; background: transparent;}\n.sidebar .timestamp{opacity:0.6;font-family:"Geneva";font-size:10px;line-height:16px;width: 240px}\n.sidebar .edit {opacity:0.3;font-family:"Geneva";padding-left:12px;background-image:url(\'images/edit.png\');background-position:0 4px;background-repeat:no-repeat;}\n.sidebar .edit, .sidebar .edit a { font-size:10px; line-height:18px; }\n.sidebar .close{position:absolute;right:10px;top:15px;width:16px;height:16px;opacity:0.2;background-image:url(\'images/close.png\');}\n.sidebar .close:hover,.sidebar .edit:hover{opacity:1;cursor: pointer; cursor: hand;}\n.sidebar .top{background-color:#EBF9F7;border-bottom:1px solid #E1EEEC;padding:10px 16px 2px 16px;}\n.sidebar .top .btn { margin: 10px 30px; }\n.sidebar .description {font-family: "Lucida Grande"; font-size: 12px; color: #707070; margin: 5px 0px 0px 0px;}\n.sidebar .datasource {overflow: auto;background: url(\'images/tiny-triangle.png\') no-repeat 0px 6px;padding-left: 7px; font-family: "Lucida Grande"; font-size: 10px; color: #959595;}\n.strong {font-weight: bold; margin-right: 5px}\n.sidebar .bottom{width: 100%; overflow-x: hidden}\n.sidebar .bottom #editor { position: absolute;margin: 10px;right: 0px;left: 0px;width: auto;bottom: 10px;top: 55px; font-size: 12px;}\n.sidebar .property {padding: 10px 16px; border-bottom: 1px solid #DDEFEC; overflow: auto}\n.sidebar .key{width: 90px; float: left; font-family: "Lucida Grande"; font-size: 13px; font-weight: bold; color: #464646}\n.sidebar .value{width: 170px; float: left; color: #707070; }\n.sidebar .link{text-decoration: underline}\n.sidebar p{font-family:"Geneva";font-size:11px;line-height:12px;padding-bottom:10px;color:#252525;}\ntd.collapsed {width: 5%; overflow: auto;}\n.column-header-title.collapsed { background: url(\'images/raquo.png\') no-repeat right 8px; }\n.data-table-cell-value.collapsed {width: 60px; overflow: hidden;}*/\n/*end custom styles*/\n\n/*\n\nCopyright 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\nhtml, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n font-size: 100%;\n vertical-align: baseline;\n background: transparent;\n}\n\narticle, aside, figure, footer, header, hgroup, nav, section {\n display: block;\n}\n\nul {\n list-style-position: inside;\n}\n\na {\n margin: 0;\n padding: 0;\n font-size: 100%;\n vertical-align: baseline;\n background: transparent;\n}\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\ninput, select {\n vertical-align: middle;\n}\n\nbody {\n font-size: 62.5%;\n font-family: Arial, sans-serif;\n background: #fff;\n}\n\nh1 {\n font-size: 1.8em;\n}\n\nh2 {\n font-size: 1.3em;\n font-weight: bold;\n}\n\na {\n color: #4183C4;\n text-decoration: none;\n}\n\na:hover {\n text-decoration: underline;\n}\n\na.secondary {\n color: #4272db;\n}\n\na.action, a.selected, a.inaction {\n margin: 0 3px;\n}\n\na.selected {\n color: #000;\n font-weight: bold;\n cursor: default;\n}\n\na.inaction {\n color: #999;\n}\n\na.selected:hover, a.inaction:hover {\n cursor: default;\n text-decoration: none;\n}\n\na img {\n border: 0;\n}\n\n.form-table th, .form-table td {\n vertical-align: top;\n font-size: 1.3em;\n padding: 2px;\n}\n\n.form-table th {\n text-align: left;\n padding-top: 8px;\n font-weight: bold;\n}\n\n.list-table {\n width: 100%;\n}\n\n.list-table th, .list-table td {\n padding-top: 5px;\n text-align: left;\n vertical-align: baseline;\n padding: 3px 5px;\n font-size: 1.1em;\n color: #777;\n border-bottom: dotted 1px #ddd;\n}\n\n.list-table th {\n font-weight: bold;\n color: #444;\n background: #f2f2f2;\n}\n\n.list-table-itemname {\n font-size: 1.2em;\n}\n\n#loading-message {\n text-align: center;\n font-size: 300%;\n color: #999;\n padding: 3em .5em;\n}\n\n#loading-message img {\n position: relative;\n top: -4px;\n}\n\n#notification-container {\n width: 400px;\n left: 520px;\n display: none;\n position: fixed;\n top: 0;\n z-index: 100;\n text-align: center;\n}\n\n#notification {\n display: inline-block;\n margin: 0 auto;\n padding: 5px 8px 4px;\n text-align: left;\n font-weight: bold;\n background: #fe8;\n -moz-border-radius: 2px;\n -webkit-border-radius: 2px;\n border-radius: 2px;\n}\n\n.notification-action {\n padding-left: 10px;\n}\n\n.notification-loader {\n padding: 0 3px 0 0;\n opacity: 0.3;\n}\n\n#header {\n max-height: 40px;\n padding: 6px;\n position: relative;\n overflow: hidden;\n background: url(\'images/grid-bg.png\');\n}\n\n#app-home-button {\n position: absolute;\n top: 0;\n left: 0;\n}\n\n#body-info {\n margin: 0 40px;\n}\n\n#body-info p {\n font-size: 1.3em;\n margin: 1.3em;\n width: 50em;\n line-height: 1.3;\n}\n\n#body-info h1 {\n font-size: 3.0em;\n font-weight: normal;\n color: #777;\n}\n\n#body-info h2 {\n margin: 1.6em 0 .5em 0;\n}\n\n#body-info .license, #body-info .errorstack {\n font-family: monospace;\n font-size: 1.3em;\n white-space: pre;\n border: 1px solid #ddd;\n background: #eee;\n padding: 15px;\n width: 60em;\n overflow: auto;\n}\n\n#body-info ul {\n font-size: 1.3em;\n margin: .5em 0 2em;\n}\n\n#body-info li {\n margin: 0.4em;\n}\n\ninput[type="checkbox"], input[type="radio"], select {\n vertical-align: baseline;\n}\n\ninput.inline {\n vertical-align: middle;\n}\n\ndiv.grid-layout > table {\n border-collapse: separate;\n}\n\ndiv.grid-layout.layout-full > table {\n width: 100%;\n max-width: 100% !important;\n}\n\ndiv.grid-layout > table > tbody > tr > th, div.grid-layout > table > tbody > tr > td {\n padding: 0px;\n text-align: left;\n vertical-align: baseline;\n}\n\ndiv.grid-layout.grid-layout-for-text > table > tbody > tr > th, div.grid-layout.grid-layout-for-text > table > tbody > tr > td {\n vertical-align: middle;\n}\n\ndiv.grid-layout.grid-layout-for-ui > table > tbody > tr > th, div.grid-layout.grid-layout-for-ui > table > tbody > tr > td {\n vertical-align: top;\n}\n\ndiv.grid-layout.layout-normal {\n margin: -10px;\n}\n\ndiv.grid-layout.layout-normal > table {\n border-spacing: 10px;\n}\n\ndiv.grid-layout.layout-tight {\n margin: -7px;\n}\n\ndiv.grid-layout.layout-tight > table {\n border-spacing: 7px;\n}\n\ndiv.grid-layout.layout-tighter {\n margin: -5px;\n}\n\ndiv.grid-layout.layout-tighter > table {\n border-spacing: 5px;\n}\n\ndiv.grid-layout.layout-tightest {\n margin: -3px;\n}\n\ndiv.grid-layout.layout-tightest > table {\n border-spacing: 3px;\n}\n\ndiv.grid-layout.layout-loose {\n margin: -15px;\n}\n\ndiv.grid-layout.layout-loose > table {\n border-spacing: 15px;\n}\n\ndiv.grid-layout.layout-looser {\n margin: -20px;\n}\n\ndiv.grid-layout.layout-looser > table {\n border-spacing: 20px;\n}\n\ndiv.input-container {\n padding: 3px;\n}\n\ndiv.input-container > input, div.input-container > textarea {\n display: block;\n width: 100%;\n padding: 2px;\n border: 1px inset;\n margin-left: -3px;\n margin-top: -3px;\n vertical-align: top;\n}\n\ninput.code, textarea.code {\n font-family: monospace;\n}\n\nimg {\n vertical-align: middle;\n}\n\n.fbs-pane, .fbs-flyout-pane {\n z-index: 2000;\n}\n\n.ui-widget {\n font-family: inherit;\n font-size: inherit;\n}\n\n.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {\n font-family: inherit;\n font-size: inherit;\n}\n\np.body-text {\n margin-bottom: 1em;\n}\n\n/*\n\nCopyright 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\n#body {\n display: none;\n}\n\n.project-title {\n float: left;\n padding: 2px 0 0 0;\n font-size: 1.6em;\n}\n\n.project-controls, .project-actions {\n margin: 3px 2px 0px 0px;\n display: block;\n float: right;\n}\n\n#project-name-button {\n padding: 3px;\n border: 1px solid transparent;\n}\n\n#project-name-button:hover {\n background: #ffffd6;\n border: 1px solid #ccc;\n border-top: 1px solid #aaa;\n}\n\n#logged-in-status {\n position: relative;\n bottom: 1px;\n padding: 0 8px;\n font-size: 11px;\n line-height: 24px;\n}\n\n#logged-in-status img {\n position: relative;\n bottom: 2px;\n}\n\na#logged-in-status {\n color: black;\n font-weight: 500;\n font-family: Helvetica Neue;\n font-size: 11px;\n}\n\n.left-panel {\n position: fixed;\n overflow: hidden;\n padding: 0px;\n font-size: 1.3em;\n background: #DCF0F4;\n top: 40px;\n left: 0px;\n width: 300px;\n bottom: 0px;\n}\n\n.left-panel .ui-tabs .ui-tabs-panel {\n border-left: none;\n border-right: none;\n border-bottom: none;\n padding: 0;\n}\n\n.right-panel {\n position: fixed;\n top: 40px;\n left: 300px;\n bottom: 0px;\n right: 0px;\n overflow: auto;\n padding: 0px;\n padding-left: 5px;\n background: #D0E8F0;\n}\n\n#tool-panel {\n position: relative;\n height: 32px;\n}\n\n#summary-bar {\n position: absolute;\n top: 7px;\n left: 7px;\n font-size: 1.8em;\n font-weight: bold;\n}\n\n#summary-total {\n font-size: 0.8em;\n font-weight: normal;\n}\n\n#extension-bar {\n position: absolute;\n top: 0px;\n right: 10px;\n white-space: nowrap;\n font-size: 1.3em;\n padding: 5px 0;\n}\n\n#extension-bar .secondary {\n font-size: 0.85em;\n}\n\n#view-panel {\n background: white;\n overflow: hidden;\n}\n\n#facet-panel, #history-panel {\n overflow: auto;\n}\n\n\n/*\n\nCopyright 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\n.viewpanel-header {\n position: relative;\n background: #DCF0F4;\n padding: 7px;\n overflow: hidden;\n text-align: right;\n}\n\n.viewpanel-rowrecord, .viewpanel-pagesize, .viewpanel-sorting {\n position: absolute;\n top: 7px;\n background: #DCF0F4;\n padding: 0 10px 0 0;\n}\n\n.viewpanel-pagingcount {\n font-weight: bold\n \n}\n\n.data-table-container {\n display: block;\n border-top: 1px solid #E1EEEC;\n overflow: auto;\n position: absolute;\n top: 0px;\n bottom: 0px;\n left: 0px;\n right: 0px;\n background: url(\'images/grid-bg.png\');\n}\n\n.data-table {\n margin: 0;\n padding: 0;\n border-collapse: collapse;\n}\n\n.data-table tr {\n background: #fff;\n}\n\n.data-table td {\n padding: 2px 5px;\n border-bottom: 1px dotted #ddd;\n border-right: 1px solid #ddd;\n}\n\n.data-table td:hover .data-table-cell-edit {\n visibility: visible;\n}\n\ntable.data-table > tbody > tr.even > td {\n background: #f2f2f2;\n}\n\ntable.data-table > tbody > tr.contextual > td > div {\n opacity: 0.3;\n}\n\ntable.data-table td.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\na.column-header-menu {\n float: left;\n display: block;\n margin: 0 4px 0 0;\n width: 17px;\n height: 19px;\n background-image: url(images/menu-dropdown.png);\n background-repeat: no-repeat;\n}\n\na.row-header-menu:hover {\n background-position: -17px 0px;\n text-decoration: none;\n}\n\na.row-header-menu {\n float: left;\n display: block;\n margin: -2px 0 -4px 0;\n width: 17px;\n height: 18px;\n background-image: url(images/menu-dropdown.png);\n background-repeat: no-repeat;\n}\n\na.column-header-menu:hover {\n background-position: -17px 0px;\n text-decoration: none;\n}\n\n.column-header-recon-stats-bar {\n margin-top: 10px;\n height: 4px;\n background: #ddd;\n border: 1px solid #ccc;\n position: relative;\n width: 100%;\n}\n\n.column-header-recon-stats-matched {\n position: absolute;\n height: 100%;\n background: #282;\n}\n\n.column-header-recon-stats-blanks {\n position: absolute;\n height: 100%;\n background: #3d3;\n}\n\ndiv.data-table-cell-content {\n line-height: 1.2;\n color: #222;\n position: relative;\n}\n\ndiv.data-table-cell-content-numeric {\n text-align: right;\n}\n\na.data-table-cell-edit {\n position: absolute;\n top: 0;\n right: 0;\n display: block;\n width: 25px;\n height: 16px;\n text-decoration: none;\n background-image: url(images/edit-map.png);\n background-repeat: no-repeat;\n visibility: hidden;\n}\n\na.data-table-cell-edit:hover {\n background-position: -25px 0px;\n}\n\ndiv.data-table-cell-content-numeric > a.data-table-cell-edit {\n left: 0px;\n right: auto;\n}\n\n.data-table-value-nonstring {\n color: #282;\n}\n\n.data-table-error {\n color: red;\n}\n\ndiv.data-table-recon-candidates {\n padding: 1px 0;\n min-width: 15em;\n color: #777;\n}\n\ndiv.data-table-recon-candidate {\n padding: 1px 35px 1px;\n position: relative;\n}\n\na.data-table-recon-topic {\n color: #4272db;\n}\n\n.data-table-recon-score, .data-table-recon-new {\n color: #aaa;\n margin: 0 0.5em;\n}\n\na.data-table-recon-action, .data-table-recon-extra > a {\n text-decoration: none;\n color: #4272db;\n}\n\na.data-table-recon-action, .data-table-recon-extra {\n font-size: 0.8em;\n display: block;\n margin: 3px 0 0;\n}\n\na.data-table-recon-match, a.data-table-recon-match-similar {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n width: 16px;\n height: 16px;\n background-image: url(images/checks-map.png);\n background-repeat: no-repeat;\n background-position: -16px 0;\n text-decoration: none;\n}\n\na.data-table-recon-match:hover {\n background-position: 0 0;\n}\n\na.data-table-recon-match-similar {\n background-position: -16px -16px;\n left: 16px;\n}\n\na.data-table-recon-match-similar:hover {\n background-position: 0 -16px;\n}\n\na.data-table-star-on, a.data-table-star-off, a.data-table-flag-on, a.data-table-flag-off {\n display: block;\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n text-decoration: none;\n}\n\na.data-table-star-on {\n background-position: 0 0;\n}\n\na.data-table-star-off {\n background-position: -17px 0;\n}\n\na.data-table-flag-on {\n background-position: 0 -17px;\n}\n\na.data-table-flag-off {\n background-position: -17px -17px;\n}\n\n.data-table-cell-editor, .data-table-topic-popup {\n overflow: auto;\n border: 1px solid #E1EEEC;\n background: #DCF0F4;\n padding: 5px;\n -moz-border-radius: 5px;\n -webkit-border-radius: 5px;\n border-radius: 5px;\n}\n\n.data-table-topic-popup-header {\n padding: 0 0 5px;\n}\n\n.data-table-cell-editor-editor {\n overflow: hidden;\n display: block;\n width: 98%;\n height: 3em;\n font-family: monospace;\n margin: 3px 0;\n}\n\n.data-table-cell-copypaste-editor {\n overflow: hidden;\n display: block;\n width: 98%;\n height: 10em;\n font-family: monospace;\n margin: 3px 0;\n}\n\n.data-table-cell-editor-action {\n float: left;\n vertical-align: bottom;\n text-align: center;\n}\n\n.data-table-cell-editor-key {\n font-size: 0.8em;\n color: #999;\n}\n\nul.sorting-dialog-blank-error-positions {\n margin: 0;\n padding: 5px;\n height: 10em;\n border: 1px solid #ccc;\n -moz-border-radius: 3px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\nul.sorting-dialog-blank-error-positions > li {\n display: block;\n border: 1px solid #ccc;\n background: #eee;\n padding: 5px;\n margin: 2px;\n cursor: move;\n -moz-border-radius: 3px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n/*\n\nCopyright 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\n#expression-preview-tabs .ui-tabs-nav li a {\n padding: 0.15em 1em;\n}\n\ntextarea.expression-preview-code {\n font-family: monospace;\n height: 5em;\n vertical-align: top;\n}\n\n.expression-preview-parsing-status {\n color: #999;\n}\n\n.expression-preview-parsing-status.error {\n color: red;\n}\n\n#expression-preview-tabs-preview,\n#expression-preview-tabs-help,\n#expression-preview-tabs-history,\n#expression-preview-tabs-starred {\n padding: 5px;\n overflow: hidden;\n}\n\n#expression-preview-tabs-preview > div,\n#expression-preview-tabs-help > div,\n#expression-preview-tabs-history > div,\n#expression-preview-tabs-starred {\n height: 200px;\n overflow: auto;\n}\n\n#expression-preview-tabs-preview td, #expression-preview-tabs-preview th,\n#expression-preview-tabs-help td, #expression-preview-tabs-help th,\n#expression-preview-tabs-history td, #expression-preview-tabs-history th,\n#expression-preview-tabs-starred td, #expression-preview-tabs-starred th {\n padding: 5px;\n}\n\n.expression-preview-table-wrapper {\n padding: 7px;\n}\n\n.expression-preview-container td {\n padding: 2px 5px;\n border-top: 1px solid #ccc;\n}\n\ntd.expression-preview-heading {\n border-top: none;\n background: #ddd;\n font-weight: bold;\n}\n\ntd.expression-preview-value {\n max-width: 250px !important;\n overflow-x: hidden;\n}\n\n.expression-preview-special-value {\n color: #aaa;\n}\n\n.expression-preview-help-container h3 {\n margin-top: 15px;\n margin-bottom: 7px;\n border-bottom: 1px solid #999;\n}\n\n.expression-preview-doc-item-title {\n font-weight: bold;\n text-align: right;\n}\n\n.expression-preview-doc-item-params {\n}\n\n.expression-preview-doc-item-returns {\n}\n\n.expression-preview-doc-item-desc {\n color: #666;\n}\n\n/*\n\nCopyright 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\n.button:hover, a.button:hover {\n border: 1px solid #666;\n}\n\n.button:active, a.button:active {\n border: 1px solid #000;\n}\n\n.button-primary, a.button-primary {\n font-weight: bold;\n padding: 1px 15px;\n}\n\n.button-pill-left, a.button-pill-left {\n border-right: 1px solid #bbb;\n -webkit-border-top-right-radius: 0;\n -webkit-border-bottom-right-radius: 0;\n -moz-border-radius-topright: 0;\n -moz-border-radius-bottomright: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.button-pill-right, a.button-pill-right {\n border-left: 1px solid #fff;\n -moz-border-radius-topleft: 0;\n -moz-border-radius-bottomleft: 0;\n -webkit-border-top-left-radius: 0;\n -webkit-border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.button-disabled, a.button-disabled, .button.button-disabled, a.button.button-disabled {\n color: #666;\n border: 1px solid #ddd;\n background: #f3f3f3;\n cursor: default;\n}\n\n.button-disabled:hover, a.button-disabled:hover {\n color: #666;\n border: 1px solid #ddd;\n background: #f3f3f3;\n cursor: default;\n}\n\n.button img, a.button img {\n padding-left: 3px;\n}\n\n.button-menu, a.button-menu {\n background: url(images/down-arrow.png) no-repeat right 6px;\n padding-right: 12px;\n}\n\n.button, a.button {\n display: inline-block;\n overflow: visible;\n font-size: 1em;\n line-height: 1.4;\n color: #000;\n text-decoration: none;\n padding: 1px 6px;\n border: 1px solid #bbb;\n cursor: pointer;\n background: #eee;\n white-space: nowrap;\n font-family: Arial, Helvetica, sans-serif;\n -moz-border-radius: 3px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n.button, a.button { \n background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#e3e3e3));\n background: -moz-linear-gradient(top, #f9f9f9, #e3e3e3);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#f9f9f9\', endColorstr=\'#e3e3e3\');\n}\n\n.button:active, a.button:active { \n background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f9f9f9));\n background: -moz-linear-gradient(top, #e3e3e3, #f9f9f9);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#e3e3e3\', endColorstr=\'#f9f9f9\');\n}\n\n/*\n\nCopyright 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\n.ui-tabs {\n padding: 0;\n}\n\n.ui-widget-content, .ui-tabs .ui-widget-header {\n border: none;\n background: none;\n color: inherit;\n}\n\n.ui-tabs .ui-tabs-nav {\n padding: 0 7px;\n}\n\n.ui-tabs .ui-tabs-nav li a {\n padding: 4px 10px;\n}\n\n.ui-tabs .ui-tabs-nav .ui-state-default,\n.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-default {\n background: none;\n border: 1px solid transparent;\n border-bottom: 0;\n margin-bottom: 0;\n padding-bottom: 1px;\n}\n\n.ui-tabs .ui-tabs-nav .ui-state-default a,\n.ui-tabs .ui-tabs-nav .ui-state-default a:link,\n.ui-tabs .ui-tabs-nav .ui-state-default a:visited {\n color: #4183C4;\n font-weight: normal;\n}\n\n.ui-tabs .ui-tabs-nav li a span.count {\n color: #666;\n font-weight: normal;\n font-size: 80%;\n}\n\n.ui-tabs .ui-tabs-nav .ui-state-active,\n.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-active {\n border: 1px solid #D0E8F0;\n border-bottom: none;\n background: #EBF9F7;\n}\n\n.ui-tabs .ui-tabs-nav .ui-state-active a,\n.ui-tabs .ui-tabs-nav .ui-state-active a:link,\n.ui-tabs .ui-tabs-nav .ui-state-active a:visited {\n color: black;\n font-weight: bold;\n}\n\n.ui-tabs .ui-corner-top, .ui-tabs .ui-corner-top {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n -webkit-border-top-right-radius: 0;\n -webkit-border-top-left-radius: 0;\n -moz-border-radius-topright: 0;\n -moz-border-radius-topleft: 0;\n}\n\n.ui-tabs .ui-tabs-panel {\n margin: 0;\n padding: 7px;\n border: 1px solid #bcf;\n background: white;\n}\n\n.ui-widget-content a {\n color: #4183C4;\n}\n\n/*\n* jQuery UI CSS Framework\n* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)\n* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.\n*/\n\n/* Layout helpers\n----------------------------------*/\n.ui-helper-hidden { display: none; }\n.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }\n.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }\n.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }\n.ui-helper-clearfix { display: inline-block; }\n/* required comment for clearfix to work in Opera \\*/\n* html .ui-helper-clearfix { height:1%; }\n.ui-helper-clearfix { display:block; }\n/* end clearfix */\n.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }\n\n\n/* Interaction Cues\n----------------------------------*/\n.ui-state-disabled { cursor: default !important; }\n\n\n/* Icons\n----------------------------------*/\n\n/* states and images */\n.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }\n\n\n/* Misc visuals\n----------------------------------*/\n\n/* Overlays */\n.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }\n\n\n/*\n* jQuery UI CSS Framework\n* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)\n* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.\n* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px\n*/\n\n\n/* Component containers\n----------------------------------*/\n.ui-widget { font-size: 1.1em; }\n.ui-widget .ui-widget { font-size: 1em; }\n.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-size: 1em; }\n.ui-widget-content { border-bottom: 1px solid #D0E8F0; background: #EDF0F4 50% top repeat-x; color: #333333; }\n.ui-widget-content a { color: #333333; }\n.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 50% 50% repeat-x; color: #ffffff; font-weight: bold; }\n.ui-widget-header a { color: #ffffff; }\n\n/* Interaction states\n----------------------------------*/\n.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }\n.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }\n.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce 50% 50% repeat-x; font-weight: bold; color: #c77405; }\n.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }\n.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #fbd850; background: #ffffff 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }\n.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }\n.ui-widget :active { outline: none; }\n\n/* Interaction Cues\n----------------------------------*/\n.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c 50% top repeat-x; color: #363636; }\n.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }\n.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 50% 50% repeat; color: #ffffff; }\n.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; }\n.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; }\n.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }\n.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }\n.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }\n\n/* Icons\n----------------------------------*/\n\n/* states and images */\n.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }\n.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }\n.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }\n.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }\n.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }\n.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }\n.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }\n.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }\n\n/* positioning */\n.ui-icon-carat-1-n { background-position: 0 0; }\n.ui-icon-carat-1-ne { background-position: -16px 0; }\n.ui-icon-carat-1-e { background-position: -32px 0; }\n.ui-icon-carat-1-se { background-position: -48px 0; }\n.ui-icon-carat-1-s { background-position: -64px 0; }\n.ui-icon-carat-1-sw { background-position: -80px 0; }\n.ui-icon-carat-1-w { background-position: -96px 0; }\n.ui-icon-carat-1-nw { background-position: -112px 0; }\n.ui-icon-carat-2-n-s { background-position: -128px 0; }\n.ui-icon-carat-2-e-w { background-position: -144px 0; }\n.ui-icon-triangle-1-n { background-position: 0 -16px; }\n.ui-icon-triangle-1-ne { background-position: -16px -16px; }\n.ui-icon-triangle-1-e { background-position: -32px -16px; }\n.ui-icon-triangle-1-se { background-position: -48px -16px; }\n.ui-icon-triangle-1-s { background-position: -64px -16px; }\n.ui-icon-triangle-1-sw { background-position: -80px -16px; }\n.ui-icon-triangle-1-w { background-position: -96px -16px; }\n.ui-icon-triangle-1-nw { background-position: -112px -16px; }\n.ui-icon-triangle-2-n-s { background-position: -128px -16px; }\n.ui-icon-triangle-2-e-w { background-position: -144px -16px; }\n.ui-icon-arrow-1-n { background-position: 0 -32px; }\n.ui-icon-arrow-1-ne { background-position: -16px -32px; }\n.ui-icon-arrow-1-e { background-position: -32px -32px; }\n.ui-icon-arrow-1-se { background-position: -48px -32px; }\n.ui-icon-arrow-1-s { background-position: -64px -32px; }\n.ui-icon-arrow-1-sw { background-position: -80px -32px; }\n.ui-icon-arrow-1-w { background-position: -96px -32px; }\n.ui-icon-arrow-1-nw { background-position: -112px -32px; }\n.ui-icon-arrow-2-n-s { background-position: -128px -32px; }\n.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }\n.ui-icon-arrow-2-e-w { background-position: -160px -32px; }\n.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }\n.ui-icon-arrowstop-1-n { background-position: -192px -32px; }\n.ui-icon-arrowstop-1-e { background-position: -208px -32px; }\n.ui-icon-arrowstop-1-s { background-position: -224px -32px; }\n.ui-icon-arrowstop-1-w { background-position: -240px -32px; }\n.ui-icon-arrowthick-1-n { background-position: 0 -48px; }\n.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }\n.ui-icon-arrowthick-1-e { background-position: -32px -48px; }\n.ui-icon-arrowthick-1-se { background-position: -48px -48px; }\n.ui-icon-arrowthick-1-s { background-position: -64px -48px; }\n.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }\n.ui-icon-arrowthick-1-w { background-position: -96px -48px; }\n.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }\n.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }\n.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }\n.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }\n.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }\n.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }\n.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }\n.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }\n.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }\n.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }\n.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }\n.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }\n.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }\n.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }\n.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }\n.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }\n.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }\n.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }\n.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }\n.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }\n.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }\n.ui-icon-arrow-4 { background-position: 0 -80px; }\n.ui-icon-arrow-4-diag { background-position: -16px -80px; }\n.ui-icon-extlink { background-position: -32px -80px; }\n.ui-icon-newwin { background-position: -48px -80px; }\n.ui-icon-refresh { background-position: -64px -80px; }\n.ui-icon-shuffle { background-position: -80px -80px; }\n.ui-icon-transfer-e-w { background-position: -96px -80px; }\n.ui-icon-transferthick-e-w { background-position: -112px -80px; }\n.ui-icon-folder-collapsed { background-position: 0 -96px; }\n.ui-icon-folder-open { background-position: -16px -96px; }\n.ui-icon-document { background-position: -32px -96px; }\n.ui-icon-document-b { background-position: -48px -96px; }\n.ui-icon-note { background-position: -64px -96px; }\n.ui-icon-mail-closed { background-position: -80px -96px; }\n.ui-icon-mail-open { background-position: -96px -96px; }\n.ui-icon-suitcase { background-position: -112px -96px; }\n.ui-icon-comment { background-position: -128px -96px; }\n.ui-icon-person { background-position: -144px -96px; }\n.ui-icon-print { background-position: -160px -96px; }\n.ui-icon-trash { background-position: -176px -96px; }\n.ui-icon-locked { background-position: -192px -96px; }\n.ui-icon-unlocked { background-position: -208px -96px; }\n.ui-icon-bookmark { background-position: -224px -96px; }\n.ui-icon-tag { background-position: -240px -96px; }\n.ui-icon-home { background-position: 0 -112px; }\n.ui-icon-flag { background-position: -16px -112px; }\n.ui-icon-calendar { background-position: -32px -112px; }\n.ui-icon-cart { background-position: -48px -112px; }\n.ui-icon-pencil { background-position: -64px -112px; }\n.ui-icon-clock { background-position: -80px -112px; }\n.ui-icon-disk { background-position: -96px -112px; }\n.ui-icon-calculator { background-position: -112px -112px; }\n.ui-icon-zoomin { background-position: -128px -112px; }\n.ui-icon-zoomout { background-position: -144px -112px; }\n.ui-icon-search { background-position: -160px -112px; }\n.ui-icon-wrench { background-position: -176px -112px; }\n.ui-icon-gear { background-position: -192px -112px; }\n.ui-icon-heart { background-position: -208px -112px; }\n.ui-icon-star { background-position: -224px -112px; }\n.ui-icon-link { background-position: -240px -112px; }\n.ui-icon-cancel { background-position: 0 -128px; }\n.ui-icon-plus { background-position: -16px -128px; }\n.ui-icon-plusthick { background-position: -32px -128px; }\n.ui-icon-minus { background-position: -48px -128px; }\n.ui-icon-minusthick { background-position: -64px -128px; }\n.ui-icon-close { background-position: -80px -128px; }\n.ui-icon-closethick { background-position: -96px -128px; }\n.ui-icon-key { background-position: -112px -128px; }\n.ui-icon-lightbulb { background-position: -128px -128px; }\n.ui-icon-scissors { background-position: -144px -128px; }\n.ui-icon-clipboard { background-position: -160px -128px; }\n.ui-icon-copy { background-position: -176px -128px; }\n.ui-icon-contact { background-position: -192px -128px; }\n.ui-icon-image { background-position: -208px -128px; }\n.ui-icon-video { background-position: -224px -128px; }\n.ui-icon-script { background-position: -240px -128px; }\n.ui-icon-alert { background-position: 0 -144px; }\n.ui-icon-info { background-position: -16px -144px; }\n.ui-icon-notice { background-position: -32px -144px; }\n.ui-icon-help { background-position: -48px -144px; }\n.ui-icon-check { background-position: -64px -144px; }\n.ui-icon-bullet { background-position: -80px -144px; }\n.ui-icon-radio-off { background-position: -96px -144px; }\n.ui-icon-radio-on { background-position: -112px -144px; }\n.ui-icon-pin-w { background-position: -128px -144px; }\n.ui-icon-pin-s { background-position: -144px -144px; }\n.ui-icon-play { background-position: 0 -160px; }\n.ui-icon-pause { background-position: -16px -160px; }\n.ui-icon-seek-next { background-position: -32px -160px; }\n.ui-icon-seek-prev { background-position: -48px -160px; }\n.ui-icon-seek-end { background-position: -64px -160px; }\n.ui-icon-seek-start { background-position: -80px -160px; }\n/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */\n.ui-icon-seek-first { background-position: -80px -160px; }\n.ui-icon-stop { background-position: -96px -160px; }\n.ui-icon-eject { background-position: -112px -160px; }\n.ui-icon-volume-off { background-position: -128px -160px; }\n.ui-icon-volume-on { background-position: -144px -160px; }\n.ui-icon-power { background-position: 0 -176px; }\n.ui-icon-signal-diag { background-position: -16px -176px; }\n.ui-icon-signal { background-position: -32px -176px; }\n.ui-icon-battery-0 { background-position: -48px -176px; }\n.ui-icon-battery-1 { background-position: -64px -176px; }\n.ui-icon-battery-2 { background-position: -80px -176px; }\n.ui-icon-battery-3 { background-position: -96px -176px; }\n.ui-icon-circle-plus { background-position: 0 -192px; }\n.ui-icon-circle-minus { background-position: -16px -192px; }\n.ui-icon-circle-close { background-position: -32px -192px; }\n.ui-icon-circle-triangle-e { background-position: -48px -192px; }\n.ui-icon-circle-triangle-s { background-position: -64px -192px; }\n.ui-icon-circle-triangle-w { background-position: -80px -192px; }\n.ui-icon-circle-triangle-n { background-position: -96px -192px; }\n.ui-icon-circle-arrow-e { background-position: -112px -192px; }\n.ui-icon-circle-arrow-s { background-position: -128px -192px; }\n.ui-icon-circle-arrow-w { background-position: -144px -192px; }\n.ui-icon-circle-arrow-n { background-position: -160px -192px; }\n.ui-icon-circle-zoomin { background-position: -176px -192px; }\n.ui-icon-circle-zoomout { background-position: -192px -192px; }\n.ui-icon-circle-check { background-position: -208px -192px; }\n.ui-icon-circlesmall-plus { background-position: 0 -208px; }\n.ui-icon-circlesmall-minus { background-position: -16px -208px; }\n.ui-icon-circlesmall-close { background-position: -32px -208px; }\n.ui-icon-squaresmall-plus { background-position: -48px -208px; }\n.ui-icon-squaresmall-minus { background-position: -64px -208px; }\n.ui-icon-squaresmall-close { background-position: -80px -208px; }\n.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }\n.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }\n.ui-icon-grip-solid-vertical { background-position: -32px -224px; }\n.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }\n.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }\n.ui-icon-grip-diagonal-se { background-position: -80px -224px; }\n\n\n/* Misc visuals\n----------------------------------*/\n\n/* Corner radius */\n.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }\n.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }\n.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }\n.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }\n.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }\n.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }\n.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }\n.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }\n.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }\n\n/* Overlays */\n.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }\n.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* Resizable\n----------------------------------*/\n.ui-resizable { position: relative;}\n.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}\n.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }\n.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }\n.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }\n.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }\n.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }\n.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }\n.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }\n.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }\n.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Button\n----------------------------------*/\n\n.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */\n.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */\nbutton.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */\n.ui-button-icons-only { width: 3.4em; } \nbutton.ui-button-icons-only { width: 3.7em; } \n\n/*button text element */\n.ui-button .ui-button-text { display: block; line-height: 1.4; }\n.ui-button-text-only .ui-button-text { padding: .4em 1em; }\n.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }\n.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }\n.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }\n/* no icon support for input elements, provide padding by default */\ninput.ui-button { padding: .4em 1em; }\n\n/*button icon element(s) */\n.ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }\n.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }\n.ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }\n.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }\n\n/*button sets*/\n.ui-buttonset { margin-right: 7px; }\n.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }\n\n/* workarounds */\nbutton.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */\n\n/* Dialog\n----------------------------------*/\n.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }\n.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }\n.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } \n.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }\n.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }\n.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }\n.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }\n.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }\n.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }\n.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }\n.ui-draggable .ui-dialog-titlebar { cursor: move; }\n/* Slider\n----------------------------------*/\n.ui-slider { position: relative; text-align: left; }\n.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }\n.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }\n\n.ui-slider-horizontal { height: .8em; }\n.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }\n.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }\n.ui-slider-horizontal .ui-slider-range-min { left: 0; }\n.ui-slider-horizontal .ui-slider-range-max { right: 0; }\n\n.ui-slider-vertical { width: .8em; height: 100px; }\n.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }\n.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }\n.ui-slider-vertical .ui-slider-range-min { bottom: 0; }\n.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs\n----------------------------------*/\n.ui-tabs { position: relative; padding: .2em .2em 0 .2em;; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */\n.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }\n.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }\n.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }\n.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }\n.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }\n.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */\n.ui-tabs .ui-tabs-panel { display: block; border: 0; padding: 1em 1.4em; background: none; }\n.ui-tabs .ui-tabs-hide { display: none !important; }\n.ui-tabs-nav a { line-height: 13px; height: 13px; font-size: 13px; }\n/* Progressbar\n----------------------------------*/\n.ui-progressbar { height:2em; text-align: left; }\n.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }',e.prototype.appendTo=function(n){if("object"==typeof n){var t=this.render();
n.innerHTML=t}else document.querySelector(n).appendChild(this.render())},e.prototype.isEditable=function(){return!0},e.prototype.getHeaders=function(){var n={};return this.rows.forEach(function(t){for(var e in t)n[e]=!0}),Object.keys(n)},e.prototype.domify=function(n){var t=document.createElement("div");return t.innerHTML=n,t.childNodes},e.prototype.render=function(){var n=this,t=this.rows;if(1>t.length)return r.render(i,{});var e=[];t.map(function(t){var r=[];n.headers.map(function(n){var e="";t[n]&&(e=t[n],"object"==typeof e&&(e=JSON.stringify(e)));var i={header:n,value:e};r.push(i)}),e.push({id:t.id,cells:r})});var o=this.headers.map(function(n){var n={header:n};return n}),a=r.render(i,{rows:e,headers:o,notEmpty:function(){return n.headers.length>0},editable:n.isEditable()});return a}},{fs:1,mustache:2}],2:[function(n,t,e){(function(){(function(n,t){if("object"==typeof e&&e)t(e);else{var r={};t(r),"function"==typeof define&&define.amd?define(r):n.Mustache=r}})(this,function(n){function t(n,t){return y.call(n,t)}function e(n){return!t(b,n)}function r(n){return"function"==typeof n}function i(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(n){return(n+"").replace(/[&<>"'\/]/g,function(n){return I[n]})}function a(n){this.string=n,this.tail=n,this.pos=0}function s(n,t){this.view=null==n?{}:n,this.parent=t,this._cache={".":this.view}}function u(){this.clearCache()}function c(t,e,i,o){function a(n){return e.render(n,i)}for(var s,u,p,l="",d=0,f=t.length;f>d;++d)switch(s=t[d],u=s[1],s[0]){case"#":if(p=i.lookup(u),"object"==typeof p||"string"==typeof p)if(E(p))for(var h=0,g=p.length;g>h;++h)l+=c(s[4],e,i.push(p[h]),o);else p&&(l+=c(s[4],e,i.push(p),o));else if(r(p)){var b=null==o?null:o.slice(s[3],s[5]);p=p.call(i.view,b,a),null!=p&&(l+=p)}else p&&(l+=c(s[4],e,i,o));break;case"^":p=i.lookup(u),(!p||E(p)&&0===p.length)&&(l+=c(s[4],e,i,o));break;case">":p=e.getPartial(u),r(p)&&(l+=p(i));break;case"&":p=i.lookup(u),null!=p&&(l+=p);break;case"name":p=i.lookup(u),null!=p&&(l+=n.escape(p));break;case"text":l+=u}return l}function p(n){for(var t,e=[],r=e,i=[],o=0,a=n.length;a>o;++o)switch(t=n[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]:e;break;default:r.push(t)}return e}function l(n){for(var t,e,r=[],i=0,o=n.length;o>i;++i)t=n[i],t&&("text"===t[0]&&e&&"text"===e[0]?(e[1]+=t[1],e[3]=t[3]):(e=t,r.push(t)));return r}function d(n){return[RegExp(i(n[0])+"\\s*"),RegExp("\\s*"+i(n[1]))]}function f(t,r){function o(){if(A&&!T)for(;k.length;)delete O[k.pop()];else k=[];A=!1,T=!1}if(t=t||"",r=r||n.tags,"string"==typeof r&&(r=r.split(g)),2!==r.length)throw Error("Invalid tags: "+r.join(", "));for(var s,u,c,f,b,y,w=d(r),E=new a(t),I=[],O=[],k=[],A=!1,T=!1;!E.eos();){if(s=E.pos,c=E.scanUntil(w[0]))for(var S=0,_=c.length;_>S;++S)f=c.charAt(S),e(f)?k.push(O.length):T=!0,O.push(["text",f,s,s+1]),s+=1,"\n"==f&&o();if(!E.scan(w[0]))break;if(A=!0,u=E.scan(v)||"name",E.scan(h),"="===u?(c=E.scanUntil(x),E.scan(x),E.scanUntil(w[1])):"{"===u?(c=E.scanUntil(RegExp("\\s*"+i("}"+r[1]))),E.scan(m),E.scanUntil(w[1]),u="&"):c=E.scanUntil(w[1]),!E.scan(w[1]))throw Error("Unclosed tag at "+E.pos);if(b=[u,c,s,E.pos],O.push(b),"#"===u||"^"===u)I.push(b);else if("/"===u){if(y=I.pop(),!y)throw Error('Unopened section "'+c+'" at '+s);if(y[1]!==c)throw Error('Unclosed section "'+y[1]+'" at '+s)}else if("name"===u||"{"===u||"&"===u)T=!0;else if("="===u){if(r=c.split(g),2!==r.length)throw Error("Invalid tags at "+s+": "+r.join(", "));w=d(r)}}if(y=I.pop())throw Error('Unclosed section "'+y[1]+'" at '+E.pos);return p(l(O))}var h=/\s*/,g=/\s+/,b=/\S/,x=/\s*=/,m=/\s*\}/,v=/#|\^|\/|>|\{|&|=|!/,y=RegExp.prototype.test,w=Object.prototype.toString,E=Array.isArray||function(n){return"[object Array]"===w.call(n)},I={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};a.prototype.eos=function(){return""===this.tail},a.prototype.scan=function(n){var t=this.tail.match(n);if(t&&0===t.index){var e=t[0];return this.tail=this.tail.substring(e.length),this.pos+=e.length,e}return""},a.prototype.scanUntil=function(n){var t,e=this.tail.search(n);switch(e){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,e),this.tail=this.tail.substring(e)}return this.pos+=t.length,t},s.make=function(n){return n instanceof s?n:new s(n)},s.prototype.push=function(n){return new s(n,this)},s.prototype.lookup=function(n){var t;if(n in this._cache)t=this._cache[n];else{for(var e=this;e;){if(n.indexOf(".")>0){t=e.view;for(var i=n.split("."),o=0;null!=t&&i.length>o;)t=t[i[o++]]}else t=e.view[n];if(null!=t)break;e=e.parent}this._cache[n]=t}return r(t)&&(t=t.call(this.view)),t},u.prototype.clearCache=function(){this._cache={},this._partialCache={}},u.prototype.compile=function(t,e){var r=this._cache[t];if(!r){var i=n.parse(t,e);r=this._cache[t]=this.compileTokens(i,t)}return r},u.prototype.compilePartial=function(n,t,e){var r=this.compile(t,e);return this._partialCache[n]=r,r},u.prototype.getPartial=function(n){return n in this._partialCache||!this._loadPartial||this.compilePartial(n,this._loadPartial(n)),this._partialCache[n]},u.prototype.compileTokens=function(n,t){var e=this;return function(i,o){if(o)if(r(o))e._loadPartial=o;else for(var a in o)e.compilePartial(a,o[a]);return c(n,e,s.make(i),t)}},u.prototype.render=function(n,t,e){return this.compile(n)(t,e)},n.name="mustache.js",n.version="0.7.3",n.tags=["{{","}}"],n.Scanner=a,n.Context=s,n.Writer=u,n.parse=f,n.escape=o;var O=new u;n.clearCache=function(){return O.clearCache()},n.compile=function(n,t){return O.compile(n,t)},n.compilePartial=function(n,t,e){return O.compilePartial(n,t,e)},n.compileTokens=function(n,t){return O.compileTokens(n,t)},n.render=function(n,t,e){return O.render(n,t,e)},n.to_html=function(t,e,i,o){var a=n.render(t,e,i);return r(o)?(o(a),void 0):a}})})()},{}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({1:[function(n,t){function e(){r.EventEmitter.call(this)}var r=n("events"),i=n("util");i.inherits(e,r.EventEmitter),t.exports=e,e.Stream=e,e.prototype.pipe=function(n,t){function e(t){n.writable&&!1===n.write(t)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function i(){c||(c=!0,n._pipeCount--,s(),n._pipeCount>0||n.end())}function o(){c||(c=!0,n._pipeCount--,s(),n._pipeCount>0||n.destroy())}function a(n){if(s(),0===this.listeners("error").length)throw n}function s(){u.removeListener("data",e),n.removeListener("drain",r),u.removeListener("end",i),u.removeListener("close",o),u.removeListener("error",a),n.removeListener("error",a),u.removeListener("end",s),u.removeListener("close",s),n.removeListener("end",s),n.removeListener("close",s)}var u=this;u.on("data",e),n.on("drain",r),n._isStdio||t&&t.end===!1||(n._pipeCount=n._pipeCount||0,n._pipeCount++,u.on("end",i),u.on("close",o));var c=!1;return u.on("error",a),n.on("error",a),u.on("end",s),u.on("close",s),n.on("end",s),n.on("close",s),n.emit("pipe",u),n}},{events:2,util:3}],3:[function(n,t,e){function r(n){return n instanceof Array||Array.isArray(n)||n&&n!==Object.prototype&&r(n.__proto__)}function i(n){return n instanceof RegExp||"object"==typeof n&&"[object RegExp]"===Object.prototype.toString.call(n)}function o(n){if(n instanceof Date)return!0;if("object"!=typeof n)return!1;var t=Date.prototype&&s(Date.prototype),e=n.__proto__&&s(n.__proto__);return JSON.stringify(e)===JSON.stringify(t)}n("events"),e.isArray=r,e.isDate=function(n){return"[object Date]"===Object.prototype.toString.call(n)},e.isRegExp=function(n){return"[object RegExp]"===Object.prototype.toString.call(n)},e.print=function(){},e.puts=function(){},e.debug=function(){},e.inspect=function(n,t,u,c){function p(n,u){if(n&&"function"==typeof n.inspect&&n!==e&&(!n.constructor||n.constructor.prototype!==n))return n.inspect(u);switch(typeof n){case"undefined":return d("undefined","undefined");case"string":var c="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d(c,"string");case"number":return d(""+n,"number");case"boolean":return d(""+n,"boolean")}if(null===n)return d("null","null");var f=a(n),h=t?s(n):f;if("function"==typeof n&&0===h.length){if(i(n))return d(""+n,"regexp");var g=n.name?": "+n.name:"";return d("[Function"+g+"]","special")}if(o(n)&&0===h.length)return d(n.toUTCString(),"date");var b,x,m;if(r(n)?(x="Array",m=["[","]"]):(x="Object",m=["{","}"]),"function"==typeof n){var v=n.name?": "+n.name:"";b=i(n)?" "+n:" [Function"+v+"]"}else b="";if(o(n)&&(b=" "+n.toUTCString()),0===h.length)return m[0]+b+m[1];if(0>u)return i(n)?d(""+n,"regexp"):d("[Object]","special");l.push(n);var y=h.map(function(t){var e,i;if(n.__lookupGetter__&&(n.__lookupGetter__(t)?i=n.__lookupSetter__(t)?d("[Getter/Setter]","special"):d("[Getter]","special"):n.__lookupSetter__(t)&&(i=d("[Setter]","special"))),0>f.indexOf(t)&&(e="["+t+"]"),i||(0>l.indexOf(n[t])?(i=null===u?p(n[t]):p(n[t],u-1),i.indexOf("\n")>-1&&(i=r(n)?i.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+i.split("\n").map(function(n){return" "+n}).join("\n"))):i=d("[Circular]","special")),e===void 0){if("Array"===x&&t.match(/^\d+$/))return i;e=JSON.stringify(""+t),e.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(e=e.substr(1,e.length-2),e=d(e,"name")):(e=e.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),e=d(e,"string"))}return e+": "+i});l.pop();var w=0,E=y.reduce(function(n,t){return w++,t.indexOf("\n")>=0&&w++,n+t.length+1},0);return y=E>50?m[0]+(""===b?"":b+"\n ")+" "+y.join(",\n ")+" "+m[1]:m[0]+b+" "+y.join(", ")+" "+m[1]}var l=[],d=function(n,t){var e={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]},r={special:"cyan",number:"blue","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"}[t];return r?"["+e[r][0]+"m"+n+"["+e[r][1]+"m":n};return c||(d=function(n){return n}),p(n,u===void 0?2:u)},e.log=function(){},e.pump=null;var a=Object.keys||function(n){var t=[];for(var e in n)t.push(e);return t},s=Object.getOwnPropertyNames||function(n){var t=[];for(var e in n)Object.hasOwnProperty.call(n,e)&&t.push(e);return t},u=Object.create||function(n,t){var e;if(null===n)e={__proto__:null};else{if("object"!=typeof n)throw new TypeError("typeof prototype["+typeof n+"] != 'object'");var r=function(){};r.prototype=n,e=new r,e.__proto__=n}return t!==void 0&&Object.defineProperties&&Object.defineProperties(e,t),e};e.inherits=function(n,t){n.super_=t,n.prototype=u(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})};var c=/%[sdj%]/g;e.format=function(n){if("string"!=typeof n){for(var t=[],r=0;arguments.length>r;r++)t.push(e.inspect(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,o=i.length,a=(n+"").replace(c,function(n){if("%%"===n)return"%";if(r>=o)return n;switch(n){case"%s":return i[r++]+"";case"%d":return Number(i[r++]);case"%j":return JSON.stringify(i[r++]);default:return n}}),s=i[r];o>r;s=i[++r])a+=null===s||"object"!=typeof s?" "+s:" "+e.inspect(s);return a}},{events:2}],"concat-stream":[function(n,t){t.exports=n("RV63a6")},{}],RV63a6:[function(n,t){function e(n){r.Stream.call(this),this.writable=!0,n&&(this.cb=n),this.body=[],this.on("error",function(){})}var r=n("stream"),i=n("bops"),o=n("util");o.inherits(e,r.Stream),e.prototype.write=function(n){this.emit("data",n),this.body.push(n)},e.prototype.destroy=function(){},e.prototype.arrayConcat=function(n){return 0===n.length?[]:1===n.length?n[0]:n.reduce(function(n,t){return n.concat(t)})},e.prototype.isArray=function(n){return Array.isArray(n)},e.prototype.getBody=function(){return 0===this.body.length?i.from(0):"string"==typeof this.body[0]?this.body.join(""):this.isArray(this.body[0])?this.arrayConcat(this.body):i.is(this.body[0])?i.join(this.body):this.body},e.prototype.end=function(n){n&&this.write(n),this.emit("end"),this.cb&&this.cb(this.getBody())},t.exports=function(n){return new e(n)},t.exports.ConcatStream=e},{stream:1,util:3,bops:4}],5:[function(n,t){var e=t.exports={};e.nextTick=function(){var n="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(n)return function(n){return window.setImmediate(n)};if(t){var e=[];return window.addEventListener("message",function(n){if(n.source===window&&"process-tick"===n.data&&(n.stopPropagation(),e.length>0)){var t=e.shift();t()}},!0),function(n){e.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.binding=function(){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(){throw Error("process.chdir is not supported")}},{}],2:[function(n,t,e){(function(n){function t(n,t){if(n.indexOf)return n.indexOf(t);for(var e=0;n.length>e;e++)if(t===n[e])return e;return-1}n.EventEmitter||(n.EventEmitter=function(){});var r=e.EventEmitter=n.EventEmitter,i="function"==typeof Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},o=10;r.prototype.setMaxListeners=function(n){this._events||(this._events={}),this._events.maxListeners=n},r.prototype.emit=function(n){if("error"===n&&(!this._events||!this._events.error||i(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var t=this._events[n];if(!t)return!1;if("function"==typeof t){switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:var e=Array.prototype.slice.call(arguments,1);t.apply(this,e)}return!0}if(i(t)){for(var e=Array.prototype.slice.call(arguments,1),r=t.slice(),o=0,a=r.length;a>o;o++)r[o].apply(this,e);return!0}return!1},r.prototype.addListener=function(n,t){if("function"!=typeof t)throw Error("addListener only takes instances of Function");if(this._events||(this._events={}),this.emit("newListener",n,t),this._events[n])if(i(this._events[n])){if(!this._events[n].warned){var e;e=void 0!==this._events.maxListeners?this._events.maxListeners:o,e&&e>0&&this._events[n].length>e&&(this._events[n].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),console.trace())}this._events[n].push(t)}else this._events[n]=[this._events[n],t];else this._events[n]=t;return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(n,t){var e=this;return e.on(n,function r(){e.removeListener(n,r),t.apply(this,arguments)}),this},r.prototype.removeListener=function(n,e){if("function"!=typeof e)throw Error("removeListener only takes instances of Function");if(!this._events||!this._events[n])return this;var r=this._events[n];if(i(r)){var o=t(r,e);if(0>o)return this;r.splice(o,1),0==r.length&&delete this._events[n]}else this._events[n]===e&&delete this._events[n];return this},r.prototype.removeAllListeners=function(n){return 0===arguments.length?(this._events={},this):(n&&this._events&&this._events[n]&&(this._events[n]=null),this)},r.prototype.listeners=function(n){return this._events||(this._events={}),this._events[n]||(this._events[n]=[]),i(this._events[n])||(this._events[n]=[this._events[n]]),this._events[n]}})(n("__browserify_process"))},{__browserify_process:5}],4:[function(n,t){function e(n,t){for(var e in n)t[e]=n[e]}var r={};t.exports=r,r.from=n("./from.js"),r.to=n("./to.js"),r.is=n("./is.js"),r.subarray=n("./subarray.js"),r.join=n("./join.js"),r.copy=n("./copy.js"),r.create=n("./create.js"),e(n("./read.js"),r),e(n("./write.js"),r)},{"./from.js":6,"./to.js":7,"./is.js":8,"./subarray.js":9,"./join.js":10,"./copy.js":11,"./create.js":12,"./read.js":13,"./write.js":14}],8:[function(n,t){t.exports=function(n){return n instanceof Uint8Array}},{}],9:[function(n,t){function e(n,t,e){return n.subarray(t||0,e||n.length)}t.exports=e},{}],10:[function(n,t){function e(n,t){if(!n.length)return new Uint8Array(0);for(var e=void 0!==t?t:r(n),i=new Uint8Array(e),o=n[0],a=o.length,s=0,u=0,c=0;e>c;)u!==a?i[c++]=o[u++]:(u=0,++s,o=n[s],a=o&&o.length);return i}function r(n){for(var t=0,e=0,r=n.length;r>e;++e)t+=n[e].byteLength;return t}t.exports=e},{}],11:[function(n,t){function e(n,t,e,o,a){return e=3>arguments.length?0:e,o=4>arguments.length?0:o,a=5>arguments.length?n.length:a,a!==o&&0!==t.length&&0!==n.length?(a>n.length&&(a=n.length),a-o>t.length-e&&(a=t.length-e+start),n.buffer!==t.buffer?r(n,t,e,o,a):i(n,t,e,o,a)):void 0}function r(n,t,e,r,i){for(var o=i-r+e,a=e,s=r;o>a;++a,++s)t[a]=n[s]}function i(n,t,e,r,i){for(var a=i+r,s=new Uint8Array(o.call(n,r,a)),u=0;a>r;++r,++u)t[e++]=s[u]}t.exports=e;var o=[].slice},{}],12:[function(n,t){t.exports=function(n){return new Uint8Array(n)}},{}],13:[function(n,t){function e(n,t){return n[t]}function r(n,t){var e=n[t];return 128>e?e:e-256}function i(n,t){var e=b.get(n);return e.getUint16(t+n.byteOffset,!0)}function o(n,t){var e=b.get(n);return e.getUint32(t+n.byteOffset,!0)}function a(n,t){var e=b.get(n);return e.getInt16(t+n.byteOffset,!0)}function s(n,t){var e=b.get(n);return e.getInt32(t+n.byteOffset,!0)}function u(n,t){var e=b.get(n);return e.getFloat32(t+n.byteOffset,!0)}function c(n,t){var e=b.get(n);return e.getFloat64(t+n.byteOffset,!0)}function p(n,t){var e=b.get(n);return e.getUint16(t+n.byteOffset,!1)}function l(n,t){var e=b.get(n);return e.getUint32(t+n.byteOffset,!1)}function d(n,t){var e=b.get(n);return e.getInt16(t+n.byteOffset,!1)}function f(n,t){var e=b.get(n);return e.getInt32(t+n.byteOffset,!1)}function h(n,t){var e=b.get(n);return e.getFloat32(t+n.byteOffset,!1)}function g(n,t){var e=b.get(n);return e.getFloat64(t+n.byteOffset,!1)}t.exports={readUInt8:e,readInt8:r,readUInt16LE:i,readUInt32LE:o,readInt16LE:a,readInt32LE:s,readFloatLE:u,readDoubleLE:c,readUInt16BE:p,readUInt32BE:l,readInt16BE:d,readInt32BE:f,readFloatBE:h,readDoubleBE:g};var b=n("./mapped.js")},{"./mapped.js":15}],14:[function(n,t){function e(n,t,e){return n[e]=t}function r(n,t,e){return n[e]=0>t?t+256:t}function i(n,t,e){var r=b.get(n);return r.setUint16(e+n.byteOffset,t,!0)}function o(n,t,e){var r=b.get(n);return r.setUint32(e+n.byteOffset,t,!0)}function a(n,t,e){var r=b.get(n);return r.setInt16(e+n.byteOffset,t,!0)}function s(n,t,e){var r=b.get(n);return r.setInt32(e+n.byteOffset,t,!0)}function u(n,t,e){var r=b.get(n);return r.setFloat32(e+n.byteOffset,t,!0)}function c(n,t,e){var r=b.get(n);return r.setFloat64(e+n.byteOffset,t,!0)}function p(n,t,e){var r=b.get(n);return r.setUint16(e+n.byteOffset,t,!1)}function l(n,t,e){var r=b.get(n);return r.setUint32(e+n.byteOffset,t,!1)}function d(n,t,e){var r=b.get(n);return r.setInt16(e+n.byteOffset,t,!1)}function f(n,t,e){var r=b.get(n);return r.setInt32(e+n.byteOffset,t,!1)}function h(n,t,e){var r=b.get(n);return r.setFloat32(e+n.byteOffset,t,!1)}function g(n,t,e){var r=b.get(n);return r.setFloat64(e+n.byteOffset,t,!1)}t.exports={writeUInt8:e,writeInt8:r,writeUInt16LE:i,writeUInt32LE:o,writeInt16LE:a,writeInt32LE:s,writeFloatLE:u,writeDoubleLE:c,writeUInt16BE:p,writeUInt32BE:l,writeInt16BE:d,writeInt32BE:f,writeFloatBE:h,writeDoubleBE:g};var b=n("./mapped.js")},{"./mapped.js":15}],15:[function(n,t){function e(n){return new DataView(n.buffer,0)}function r(n){var t=o.get(n.buffer);return t||o.set(n.buffer,t=new DataView(n.buffer,0)),t}var i,o;t.exports=i={},o="undefined"==typeof WeakMap?null:new WeakMap,i.get=o?r:e},{}],6:[function(n,t){function e(n,t){return Array.isArray(n)?new Uint8Array(n):s[t||"utf8"](n)}function r(n){for(var t=n.length/2,e=new Uint8Array(t),r="",i=0,o=n.length;o>i;++i)r+=n.charAt(i),i>0&&1===i%2&&(e[i>>>1]=parseInt(r,16),r="");return e}function i(n){for(var t,e,r=[],i=0,o=n.length;o>i;++i)if(e=n.charCodeAt(i),128&e){t=encodeURIComponent(n.charAt(i)).substr(1).split("%");for(var a=0,s=t.length;s>a;++a)r[r.length]=parseInt(t[a],16)}else r[r.length]=e;return new Uint8Array(r)}function o(n){return new Uint8Array(a.toByteArray(n))}t.exports=e;var a=n("base64-js"),s={hex:r,utf8:i,base64:o}},{"base64-js":16}],7:[function(n,t){function e(n,t){return u[t||"utf8"](n)}function r(n){for(var t,e="",r=0,i=n.length;i>r;++r)t=n[r],e+=((240&t)>>>4).toString(16),e+=(15&t).toString(16);return e}function i(n){return s(n)}function o(n){return a.fromByteArray(n)}t.exports=e;var a=n("base64-js"),s=n("to-utf8"),u={hex:r,utf8:i,base64:o}},{"base64-js":16,"to-utf8":17}],16:[function(n,t){(function(){"use strict";function n(n){var t,e,i,o,a,s;if(n.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(a=n.indexOf("="),a=a>0?n.length-a:0,s=[],i=a>0?n.length-4:n.length,t=0,e=0;i>t;t+=4,e+=3)o=r.indexOf(n[t])<<18|r.indexOf(n[t+1])<<12|r.indexOf(n[t+2])<<6|r.indexOf(n[t+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=r.indexOf(n[t])<<2|r.indexOf(n[t+1])>>4,s.push(255&o)):1===a&&(o=r.indexOf(n[t])<<10|r.indexOf(n[t+1])<<4|r.indexOf(n[t+2])>>2,s.push(255&o>>8),s.push(255&o)),s}function e(n){function t(n){return r[63&n>>18]+r[63&n>>12]+r[63&n>>6]+r[63&n]}var e,i,o,a=n.length%3,s="";for(e=0,o=n.length-a;o>e;e+=3)i=(n[e]<<16)+(n[e+1]<<8)+n[e+2],s+=t(i);switch(a){case 1:i=n[n.length-1],s+=r[i>>2],s+=r[63&i<<4],s+="==";break;case 2:i=(n[n.length-2]<<8)+n[n.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=n,t.exports.fromByteArray=e})()},{}],17:[function(n,t){function e(n,t,e){t=void 0===t?0:t,e=void 0===e?n.length:e;var u,p,l=0,d=128,f=0;for(a.length=o.length=0;n.length>l;)p=n[l],!f&&p&d?(u=r(p),f+=u,8>u&&(a[a.length]=p&c[6-u])):f?(a[a.length]=p&c[6],--f,!f&&a.length&&(o[o.length]=s(i(a,u)),a.length=0)):o[o.length]=s(p),++l;return a.length&&!f&&(o[o.length]=s(i(a,u)),a.length=0),o.join("")}function r(n){for(var t=0;7>t&&n&u[t];++t);return t}function i(n){for(var t=0,e=0,r=n.length;r>e;++e)t|=n[e]<<6*(r-e-1);return t}t.exports=e;var o=[],a=[],s=String.fromCharCode,u=[64,32,16,8,4,2,1],c=[0,1,3,7,15,31,63,127]},{}]},{},[]),require=function(n,t,e){function r(e,o){if(!t[e]){if(!n[e]){var a="function"==typeof require&&require;if(!o&&a)return a(e,!0);if(i)return i(e,!0);throw Error("Cannot find module '"+e+"'")}var s=t[e]={exports:{}};n[e][0].call(s.exports,function(t){var i=n[e][1][t];return r(i?i:t)},s,s.exports)}return t[e].exports}for(var i="function"==typeof require&&require,o=0;e.length>o;o++)r(e[o]);return r}({"insert-css":[function(n,t){t.exports=n("nQc47w")},{}],nQc47w:[function(n,t){var e=[];t.exports=function(n){if(!(e.indexOf(n)>=0)){e.push(n);var t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),document.head.childNodes.length?document.head.insertBefore(t,document.head.childNodes[0]):document.head.appendChild(t)}}},{}]},{},[]);var bcsv=require("binary-csv"),bxhr=require("binary-xhr"),bops=require("bops"),through=require("through"),url=require("url"),createTable=require("data-table"),insertCSS=require("insert-css"),concat=require("concat-stream");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";bxhr("http://cors.maxogden.com/"+csv,response);
<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
You can’t perform that action at this time.