mapexplorer-rails 1.0.0.pre.alpha.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +202 -0
  3. data/README.md +1 -1
  4. data/app/assets/javascripts/mapexplorer-rails.js +16 -0
  5. data/app/assets/stylesheets/mapexplorer-rails.scss +16 -0
  6. data/app/helpers/mapexplorer_helper.rb +14 -0
  7. data/config/routes.rb +14 -0
  8. data/lib/mapexplorer/rails.rb +14 -0
  9. data/lib/mapexplorer/rails/engine.rb +14 -0
  10. data/lib/mapexplorer/rails/version.rb +15 -1
  11. data/lib/tasks/mapexplorer/rails_tasks.rake +14 -0
  12. data/vendor/assets/mapexplorer-core/LICENSE +202 -21
  13. data/vendor/assets/mapexplorer-core/LICENSE_HEADER +15 -0
  14. data/vendor/assets/mapexplorer-core/bower.json +1 -1
  15. data/vendor/assets/mapexplorer-core/dist/mapexplorer-core.js +1552 -330
  16. data/vendor/assets/mapexplorer-core/dist/mapexplorer-core.js.map +1 -1
  17. data/vendor/assets/mapexplorer-core/karma.conf.js +4 -2
  18. data/vendor/assets/mapexplorer-core/package-lock.json +3486 -0
  19. data/vendor/assets/mapexplorer-core/package.json +8 -8
  20. data/vendor/assets/mapexplorer-core/update-license-headers.sh +20 -0
  21. data/vendor/assets/stratumn-agent-client/LICENSE +202 -0
  22. data/vendor/assets/stratumn-agent-client/LICENSE_HEADER +15 -0
  23. data/vendor/assets/stratumn-agent-client/README.md +268 -0
  24. data/vendor/assets/stratumn-agent-client/bower.json +27 -0
  25. data/vendor/assets/stratumn-agent-client/dist/stratumn-agent-client.js +1449 -0
  26. data/vendor/assets/stratumn-agent-client/dist/stratumn-agent-client.js.map +1 -0
  27. data/vendor/assets/stratumn-agent-client/dist/stratumn-agent-client.min.js +2 -0
  28. data/vendor/assets/stratumn-agent-client/dist/stratumn-agent-client.min.js.map +1 -0
  29. data/vendor/assets/stratumn-agent-client/examples/browser/index.html +34 -0
  30. data/vendor/assets/stratumn-agent-client/package.json +69 -0
  31. data/vendor/assets/stratumn-agent-client/rollup.base.config.js +13 -0
  32. data/vendor/assets/stratumn-agent-client/rollup.bower.config.js +18 -0
  33. data/vendor/assets/stratumn-agent-client/rollup.bower.min.config.js +7 -0
  34. data/vendor/assets/stratumn-agent-client/rollup.es.config.js +9 -0
  35. data/vendor/assets/stratumn-agent-client/rollup.umd.config.js +10 -0
  36. data/vendor/assets/stratumn-agent-client/update-license-headers.sh +20 -0
  37. metadata +25 -7
  38. data/MIT-LICENSE +0 -20
  39. data/vendor/assets/mapexplorer-core/dist/mapexplorer-core.min.js +0 -35
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":["../src/treeUtils.js","../src/parseChainscript.js","../src/ChainTree.js","../src/compactHash.js","../node_modules/deepmerge/index.js","../node_modules/httpplease/plugins/jsonrequest.js","../node_modules/httpplease/plugins/jsonresponse.js","../node_modules/httpplease/plugins/json.js","../node_modules/httpplease/plugins/cleanurl.js","../node_modules/httpplease/lib/xhr-browser.js","../node_modules/httpplease/lib/utils/delay.js","../node_modules/httpplease/lib/request.js","../node_modules/httpplease/node_modules/xtend/index.js","../node_modules/httpplease/lib/utils/extractResponseProps.js","../node_modules/httpplease/lib/response.js","../node_modules/httpplease/lib/error.js","../node_modules/httpplease/lib/utils/once.js","../node_modules/httpplease/lib/index.js","../node_modules/stratumn-sdk/lib/stratumn-sdk.mjs","../src/resolveLinks.js","../src/wrap.js","../src/parseIfJson.js","../src/flatten.js","../src/tagsSet.js","../src/ChainTreeBuilder.js","../node_modules/canonical-json/index.js","../node_modules/js-sha256/src/sha256.js","../src/hashJson.js","../node_modules/rollup-plugin-node-globals/dist/buffer.js","../src/computeMerkleParent.js","../src/SegmentValidator.js","../src/ChainValidator.js","../src/MerklePathTree.js"],"sourcesContent":["export function makeLink(source, target, margin = 0) {\n const finalTarget = target || source;\n const targetX = finalTarget.x;\n const targetY = finalTarget.y - margin;\n return `M${source.y},${source.x}\n C${(source.y + targetY) / 2},${source.x} ${(source.y + targetY) / 2},\n ${targetX} ${targetY},${targetX}`;\n}\n\nexport function finalLink(d, margin) {\n return makeLink(d.source, d.target, margin);\n}\n\nexport function translate(x, y) {\n return `translate(${y}, ${x})`;\n}\n\nexport function stashPositions(nodes) {\n // Stash the old positions for transition.\n nodes.forEach(d => {\n d.x0 = d.x;\n d.y0 = d.y;\n });\n}\n","import { stratify } from 'd3-hierarchy';\n\nexport default function parseChainscript(chainscript) {\n return stratify()\n .id(d => d.meta.linkHash)\n .parentId(d => d.link.meta.prevLinkHash)(chainscript);\n}\n","import { makeLink, finalLink, translate } from './treeUtils';\nimport parseChainscript from './parseChainscript';\nimport { tree } from 'd3-hierarchy';\nimport { transition } from 'd3-transition';\nimport { easeLinear } from 'd3-ease';\nimport { select, selectAll, event } from 'd3-selection';\nimport { zoom } from 'd3-zoom';\nimport { max } from 'd3-array';\n\nconst margin = { top: 20, right: 120, bottom: 20, left: 120 };\nconst height = 800 - margin.top - margin.bottom;\n\nexport default class ChainTree {\n constructor(element) {\n this.tree = tree();\n\n this.svg = select(element).append('svg');\n this.innerG = this.svg.append('g');\n\n this.zoomed = () => this.innerG.attr('transform', event.transform);\n }\n\n display(chainscript, options) {\n if (chainscript && chainscript.length) {\n const root = parseChainscript(chainscript);\n this._update(root, options);\n } else {\n this._update(null, options);\n }\n }\n\n _update(root, options) {\n const self = this;\n const polygon = options.polygonSize;\n const nodes = root ? root.descendants() : [];\n const links = root ? root.links() : [];\n const maxDepth = max(nodes, x => x.depth) || 0;\n const computedWidth = Math.max(maxDepth * (polygon.width + options.getArrowLength()), 500);\n const treeTransition = transition()\n .duration(options.duration)\n .ease(easeLinear);\n\n const branchesCount = nodes.reduce(\n (pre, cur) => pre + (cur.children ? Math.max(cur.children.length - 1, 0) : 0),\n 1\n );\n const computedHeight = branchesCount * polygon.height * options.verticalSpacing;\n\n this.tree.size([computedHeight, computedWidth]);\n this.svg\n .attr('width',\n options.zoomable ? 1200 : computedWidth + margin.right + margin.left +\n options.getArrowLength())\n .attr('height',\n (options.zoomable ? height : computedHeight) + margin.top + margin.bottom);\n\n // Compute the new tree layout.\n if (root) {\n root.x0 = computedHeight / 2;\n root.y0 = 0;\n this.tree(root);\n root.each(node => { node.y += options.getArrowLength(); });\n }\n\n if (options.zoomable) {\n this.svg.call(zoom().on('zoom', this.zoomed));\n } else {\n this.svg.on('.zoom', null);\n }\n this.innerG.attr('transform', () => translate(margin.top, margin.left));\n\n // Update the links...\n const link = this.innerG.selectAll('path.link').data(links,\n function key(d) { return d ? d.target.id : this.id; });\n\n link.enter().insert('text')\n .attr('dx', polygon.width + 20)\n .attr('dy', '-0.3em')\n .append('textPath')\n .attr('class', 'textpath')\n .attr('xlink:href', d => `#link-${d.target.id}`)\n .text(options.getLinkText);\n\n // Enter any new links at the parent's previous position.\n link.enter().insert('path', 'g')\n .attr('class', 'link')\n .attr('id', d => `link-${d.target.id}`);\n\n const linkUpdate = this.innerG.selectAll('path.link:not(.init)').transition(treeTransition);\n\n // Transition links to their new position.\n linkUpdate.attr('d', d => finalLink(d, 15));\n\n link.exit().remove();\n\n // Update the nodes...\n const node = this.innerG.selectAll('g.node').data(nodes,\n function key(d) { return d ? d.id : this.id; });\n\n // Enter any new nodes at the parent's previous position.\n const nodeEnter = node.enter().append('g')\n .attr('class', d => ['node'].concat(d.data.link.meta.tags).join(' '))\n .attr('id', d => d.id)\n .attr('transform', d => {\n const origin = d.parent && d.parent.x0 ? d.parent : root;\n return translate(origin.x0, origin.y0);\n })\n .on('click', function onClick(d) {\n selectAll('g.node')\n .classed('selected', false);\n select(this)\n .classed('selected', true);\n options.onclick(d, () => {\n self.innerG.selectAll('g.node.selected').classed('selected', false);\n }, this);\n });\n\n nodeEnter.append('polygon').attr('points',\n `0,${polygon.height / 4} ${polygon.width / 2},${polygon.height / 2} ` +\n `${polygon.width},${polygon.height / 4} ${polygon.width},${-polygon.height / 4} ` +\n `${polygon.width / 2},${-polygon.height / 2} 0,${-polygon.height / 4}`);\n\n nodeEnter.append('rect')\n .attr('y', -(options.getBoxSize().height / 2))\n .attr('width', polygon.width)\n .attr('height', options.getBoxSize().height)\n .style('fill-opacity', 1e-6);\n\n nodeEnter.append('text')\n .attr('dx', 12)\n .attr('dy', 4)\n .attr('text-anchor', 'begin')\n .text(options.getSegmentText)\n .style('fill-opacity', 1e-6);\n\n // Transition nodes to their new position.\n const nodeUpdate = this.svg.selectAll('g.node').transition(treeTransition);\n\n nodeUpdate.attr('transform', d => translate(d.x, d.y));\n nodeUpdate.select('text').style('fill-opacity', 1);\n nodeUpdate.select('rect').style('fill-opacity', 1);\n\n // Transition exiting nodes to the parent's new position.\n const nodeExit = node.exit(); // .transition(treeTransition);\n nodeExit.select('text').style('fill-opacity', 1e-6);\n nodeExit.attr('transform', () => translate(0, 0)).remove();\n\n this._drawInit(root);\n }\n\n _drawInit(root) {\n this.innerG.append('path')\n .attr('class', 'link init')\n .attr('id', 'init-link')\n .attr('d', makeLink({ x: root.x, y: root.y0 }, root, 15));\n\n this.innerG.append('text')\n .attr('dx', 20)\n .attr('dy', '-0.3em')\n .append('textPath')\n .attr('class', 'textpath')\n .attr('xlink:href', '#init-link')\n .text('init');\n }\n}\n","export default function (hash) {\n return `${hash.slice(0, 3)}${hash.slice(hash.length - 3)}`;\n}\n","(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define(factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.deepmerge = factory();\n }\n}(this, function () {\n\nreturn function deepmerge(target, src) {\n var array = Array.isArray(src);\n var dst = array && [] || {};\n\n if (array) {\n target = target || [];\n dst = dst.concat(target);\n src.forEach(function(e, i) {\n if (typeof dst[i] === 'undefined') {\n dst[i] = e;\n } else if (typeof e === 'object') {\n dst[i] = deepmerge(target[i], e);\n } else {\n if (target.indexOf(e) === -1) {\n dst.push(e);\n }\n }\n });\n } else {\n if (target && typeof target === 'object') {\n Object.keys(target).forEach(function (key) {\n dst[key] = target[key];\n })\n }\n Object.keys(src).forEach(function (key) {\n if (typeof src[key] !== 'object' || !src[key]) {\n dst[key] = src[key];\n }\n else {\n if (!target[key]) {\n dst[key] = src[key];\n } else {\n dst[key] = deepmerge(target[key], src[key]);\n }\n }\n });\n }\n\n return dst;\n}\n\n}));\n","'use strict';\n\nmodule.exports = {\n processRequest: function(req) {\n var\n contentType = req.header('Content-Type'),\n hasJsonContentType = contentType &&\n contentType.indexOf('application/json') !== -1;\n\n if (contentType != null && !hasJsonContentType) {\n return;\n }\n\n if (req.body) {\n if (!contentType) {\n req.header('Content-Type', 'application/json');\n }\n\n req.body = JSON.stringify(req.body);\n }\n }\n};\n","'use strict';\n\nmodule.exports = {\n processRequest: function(req) {\n var accept = req.header('Accept');\n if (accept == null) {\n req.header('Accept', 'application/json');\n }\n },\n processResponse: function(res) {\n // Check to see if the contentype is \"something/json\" or\n // \"something/somethingelse+json\"\n if (res.contentType && /^.*\\/(?:.*\\+)?json(;|$)/i.test(res.contentType)) {\n var raw = typeof res.body === 'string' ? res.body : res.text;\n if (raw) {\n res.body = JSON.parse(raw);\n }\n }\n }\n};\n","'use strict';\n\nvar jsonrequest = require('./jsonrequest'),\n jsonresponse = require('./jsonresponse');\n\nmodule.exports = {\n processRequest: function(req) {\n jsonrequest.processRequest.call(this, req);\n jsonresponse.processRequest.call(this, req);\n },\n processResponse: function(res) {\n jsonresponse.processResponse.call(this, res);\n }\n};\n","'use strict';\n\nmodule.exports = {\n processRequest: function(req) {\n req.url = req.url.replace(/[^%]+/g, function(s) {\n return encodeURI(s);\n });\n }\n};\n","module.exports = window.XMLHttpRequest;\n","'use strict';\n\n// Wrap a function in a `setTimeout` call. This is used to guarantee async\n// behavior, which can avoid unexpected errors.\n\nmodule.exports = function(fn) {\n return function() {\n var\n args = Array.prototype.slice.call(arguments, 0),\n newFunc = function() {\n return fn.apply(null, args);\n };\n setTimeout(newFunc, 0);\n };\n};\n","'use strict';\n\nfunction Request(optsOrUrl) {\n var opts = typeof optsOrUrl === 'string' ? {url: optsOrUrl} : optsOrUrl || {};\n this.method = opts.method ? opts.method.toUpperCase() : 'GET';\n this.url = opts.url;\n this.headers = opts.headers || {};\n this.body = opts.body;\n this.timeout = opts.timeout || 0;\n this.errorOn404 = opts.errorOn404 != null ? opts.errorOn404 : true;\n this.onload = opts.onload;\n this.onerror = opts.onerror;\n}\n\nRequest.prototype.abort = function() {\n if (this.aborted) return;\n this.aborted = true;\n this.xhr.abort();\n return this;\n};\n\nRequest.prototype.header = function(name, value) {\n var k;\n for (k in this.headers) {\n if (this.headers.hasOwnProperty(k)) {\n if (name.toLowerCase() === k.toLowerCase()) {\n if (arguments.length === 1) {\n return this.headers[k];\n }\n\n delete this.headers[k];\n break;\n }\n }\n }\n if (value != null) {\n this.headers[name] = value;\n return value;\n }\n};\n\n\nmodule.exports = Request;\n","module.exports = extend\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (source.hasOwnProperty(key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","'use strict';\n\nvar extend = require('xtend');\n\nmodule.exports = function(req) {\n var xhr = req.xhr;\n var props = {request: req, xhr: xhr};\n\n // Try to create the response from the request. If the request was aborted,\n // accesssing properties of the XHR may throw an error, so we wrap in a\n // try/catch.\n try {\n var lines, i, m, headers = {};\n if (xhr.getAllResponseHeaders) {\n lines = xhr.getAllResponseHeaders().split('\\n');\n for (i = 0; i < lines.length; i++) {\n if ((m = lines[i].match(/\\s*([^\\s]+):\\s+([^\\s]+)/))) {\n headers[m[1]] = m[2];\n }\n }\n }\n\n props = extend(props, {\n status: xhr.status,\n contentType: xhr.contentType || (xhr.getResponseHeader && xhr.getResponseHeader('Content-Type')),\n headers: headers,\n text: xhr.responseText,\n body: xhr.response || xhr.responseText\n });\n } catch (err) {}\n\n return props;\n};\n","'use strict';\n\nvar Request = require('./request');\nvar extractResponseProps = require('./utils/extractResponseProps');\n\nfunction Response(props) {\n this.request = props.request;\n this.xhr = props.xhr;\n this.headers = props.headers || {};\n this.status = props.status || 0;\n this.text = props.text;\n this.body = props.body;\n this.contentType = props.contentType;\n this.isHttpError = props.status >= 400;\n}\n\nResponse.prototype.header = Request.prototype.header;\n\nResponse.fromRequest = function(req) {\n return new Response(extractResponseProps(req));\n};\n\n\nmodule.exports = Response;\n","'use strict';\n\nvar Response = require('./response');\nvar extractResponseProps = require('./utils/extractResponseProps');\nvar extend = require('xtend');\n\nfunction RequestError(message, props) {\n var err = new Error(message);\n err.name = 'RequestError';\n this.name = err.name;\n this.message = err.message;\n if (err.stack) {\n this.stack = err.stack;\n }\n\n this.toString = function() {\n return this.message;\n };\n\n for (var k in props) {\n if (props.hasOwnProperty(k)) {\n this[k] = props[k];\n }\n }\n}\n\nRequestError.prototype = extend(Error.prototype);\nRequestError.prototype.constructor = RequestError;\n\nRequestError.create = function(message, req, props) {\n var err = new RequestError(message, props);\n Response.call(err, extractResponseProps(req));\n return err;\n};\n\nmodule.exports = RequestError;\n","'use strict';\n\n// A \"once\" utility.\nmodule.exports = function(fn) {\n var result, called = false;\n return function() {\n if (!called) {\n called = true;\n result = fn.apply(this, arguments);\n }\n return result;\n };\n};\n","'use strict';\n\nvar\n cleanURL = require('../plugins/cleanurl'),\n XHR = require('./xhr'),\n delay = require('./utils/delay'),\n RequestError = require('./error'),\n Response = require('./response'),\n Request = require('./request'),\n extend = require('xtend'),\n once = require('./utils/once');\n\nvar i,\n createError = RequestError.create;\n\nfunction factory(defaults, plugins) {\n defaults = defaults || {};\n plugins = plugins || [];\n\n function http(req, cb) {\n var xhr, plugin, done, k, timeoutId, supportsLoadAndErrorEvents;\n\n req = new Request(extend(defaults, req));\n\n for (i = 0; i < plugins.length; i++) {\n plugin = plugins[i];\n if (plugin.processRequest) {\n plugin.processRequest(req);\n }\n }\n\n // Give the plugins a chance to create the XHR object\n for (i = 0; i < plugins.length; i++) {\n plugin = plugins[i];\n if (plugin.createXHR) {\n xhr = plugin.createXHR(req);\n break; // First come, first serve\n }\n }\n xhr = xhr || new XHR();\n\n req.xhr = xhr;\n\n // Use a single completion callback. This can be called with or without\n // an error. If no error is passed, the request will be examined to see\n // if it was successful.\n done = once(delay(function(rawError) {\n clearTimeout(timeoutId);\n xhr.onload = xhr.onerror = xhr.onabort = xhr.onreadystatechange = xhr.ontimeout = xhr.onprogress = null;\n\n var err = getError(req, rawError);\n\n var res = err || Response.fromRequest(req);\n for (i = 0; i < plugins.length; i++) {\n plugin = plugins[i];\n if (plugin.processResponse) {\n plugin.processResponse(res);\n }\n }\n\n // Invoke callbacks\n if (err && req.onerror) req.onerror(err);\n if (!err && req.onload) req.onload(res);\n if (cb) cb(err, err ? undefined : res);\n\n }));\n\n supportsLoadAndErrorEvents = ('onload' in xhr) && ('onerror' in xhr);\n xhr.onload = function() { done(); };\n xhr.onerror = done;\n xhr.onabort = function() { done(); };\n\n // We'd rather use `onload`, `onerror`, and `onabort` since they're the\n // only way to reliably detect successes and failures but, if they\n // aren't available, we fall back to using `onreadystatechange`.\n xhr.onreadystatechange = function() {\n if (xhr.readyState !== 4) return;\n\n if (req.aborted) return done();\n\n if (!supportsLoadAndErrorEvents) {\n // Assume a status of 0 is an error. This could be a false\n // positive, but there's no way to tell when using\n // `onreadystatechange` ):\n // See matthewwithanm/react-inlinesvg#10.\n\n // Some browsers don't like you reading XHR properties when the\n // XHR has been aborted. In case we've gotten here as a result\n // of that (either our calling `about()` in the timeout handler\n // or the user calling it directly even though they shouldn't),\n // be careful about accessing it.\n var status;\n try {\n status = xhr.status;\n } catch (err) {}\n var err = status === 0 ? new Error('Internal XHR Error') : null;\n return done(err);\n }\n };\n\n // IE sometimes fails if you don't specify every handler.\n // See http://social.msdn.microsoft.com/Forums/ie/en-US/30ef3add-767c-4436-b8a9-f1ca19b4812e/ie9-rtm-xdomainrequest-issued-requests-may-abort-if-all-event-handlers-not-specified?forum=iewebdevelopment\n xhr.ontimeout = function() { /* noop */ };\n xhr.onprogress = function() { /* noop */ };\n\n xhr.open(req.method, req.url);\n\n if (req.timeout) {\n // If we use the normal XHR timeout mechanism (`xhr.timeout` and\n // `xhr.ontimeout`), `onreadystatechange` will be triggered before\n // `ontimeout`. There's no way to recognize that it was triggered by\n // a timeout, and we'd be unable to dispatch the right error.\n timeoutId = setTimeout(function() {\n req.timedOut = true;\n done();\n try {\n xhr.abort();\n } catch (err) {}\n }, req.timeout);\n }\n\n for (k in req.headers) {\n if (req.headers.hasOwnProperty(k)) {\n xhr.setRequestHeader(k, req.headers[k]);\n }\n }\n\n xhr.send(req.body);\n\n return req;\n }\n\n var method,\n methods = ['get', 'post', 'put', 'head', 'patch', 'delete'],\n verb = function(method) {\n return function(req, cb) {\n req = new Request(req);\n req.method = method;\n return http(req, cb);\n };\n };\n for (i = 0; i < methods.length; i++) {\n method = methods[i];\n http[method] = verb(method);\n }\n\n http.plugins = function() {\n return plugins;\n };\n\n http.defaults = function(newValues) {\n if (newValues) {\n return factory(extend(defaults, newValues), plugins);\n }\n return defaults;\n };\n\n http.use = function() {\n var newPlugins = Array.prototype.slice.call(arguments, 0);\n return factory(defaults, plugins.concat(newPlugins));\n };\n\n http.bare = function() {\n return factory();\n };\n\n http.Request = Request;\n http.Response = Response;\n http.RequestError = RequestError;\n\n return http;\n}\n\nmodule.exports = factory({}, [cleanURL]);\n\n/**\n * Analyze the request to see if it represents an error. If so, return it! An\n * original error object can be passed as a hint.\n */\nfunction getError(req, err) {\n if (req.aborted) return createError('Request aborted', req, {name: 'Abort'});\n\n if (req.timedOut) return createError('Request timeout', req, {name: 'Timeout'});\n\n var xhr = req.xhr;\n var type = Math.floor(xhr.status / 100);\n\n var kind;\n switch (type) {\n case 0:\n case 2:\n // These don't represent errors unless the function was passed an\n // error object explicitly.\n if (!err) return;\n return createError(err.message, req);\n case 4:\n // Sometimes 4XX statuses aren't errors.\n if (xhr.status === 404 && !req.errorOn404) return;\n kind = 'Client';\n break;\n case 5:\n kind = 'Server';\n break;\n default:\n kind = 'HTTP';\n }\n var msg = kind + ' Error: ' +\n 'The server returned a status of ' + xhr.status +\n ' for the request \"' +\n req.method.toUpperCase() + ' ' + req.url + '\"';\n return createError(msg, req);\n}\n","import json from 'httpplease/plugins/json';\nimport httpplease from 'httpplease';\n\nfunction deprecated(oldFunc, newFunc) {\n if (!newFunc) {\n console.warn(\"WARNING: \" + oldFunc + \" is deprecated.\");\n } else {\n console.warn(\"WARNING: \" + oldFunc + \" is deprecated. Please use \" + newFunc + \" instead.\");\n }\n}\n\n/**\n * Makes a query string.\n * @param {object} obj - an object of keys\n * @returns {string} a query string\n */\nfunction makeQueryString(obj) {\n var parts = Object.keys(obj).reduce(function (curr, key) {\n var val = Array.isArray(obj[key]) ? obj[key].join('+') : obj[key];\n curr.push(encodeURIComponent(key) + '=' + encodeURIComponent(val));\n return curr;\n }, []);\n\n if (parts.length) {\n return '?' + parts.join('&');\n }\n\n return '';\n}\n\nvar request = httpplease.use(json);\n\nfunction send(method, url, args) {\n return new Promise(function (resolve, reject) {\n request({ method: method, url: url, body: args }, function (err, res) {\n if (err) {\n var error = err && err.body && err.body.meta && err.body.meta.errorMessage ? new Error(err.body.meta.errorMessage) : err;\n error.status = err.status;\n reject(error);\n } else {\n resolve(res);\n }\n });\n });\n}\n\nfunction get(url) {\n return send('GET', url);\n}\n\nfunction post(url, args) {\n return send('POST', url, args);\n}\n\nfunction findSegments(agent) {\n var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n return get(agent.url + '/segments' + makeQueryString(opts)).then(function (res) {\n return res.body.map(function (obj) {\n return segmentify(agent, obj);\n });\n });\n}\n\nfunction getBranches(agent, prevLinkHash) {\n var tags = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];\n\n deprecated('Agent#getBranches(agent, prevLinkHash, tags = [])', 'Agent#findSegments(agent, filter)');\n\n return findSegments(agent, { prevLinkHash: prevLinkHash, tags: tags });\n}\n\nfunction segmentify(agent, obj) {\n Object.keys(agent.agentInfo.actions).filter(function (key) {\n return ['init'].indexOf(key) < 0;\n }).forEach(function (key) {\n /*eslint-disable*/\n obj[key] = function () {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return post(agent.url + '/segments/' + obj.meta.linkHash + '/' + key, args).then(function (res) {\n return segmentify(agent, res.body);\n });\n };\n });\n\n /*eslint-disable*/\n obj.getPrev = function () {\n /*eslint-enable*/\n if (obj.link.meta.prevLinkHash) {\n return agent.getSegment(obj.link.meta.prevLinkHash);\n }\n\n return Promise.resolve(null);\n };\n\n // Deprecated.\n /*eslint-disable*/\n obj.load = function () {\n /*eslint-enable*/\n deprecated('segment#load()');\n return Promise.resolve(segmentify(agent, {\n link: JSON.parse(JSON.stringify(obj.link)),\n meta: JSON.parse(JSON.stringify(obj.meta))\n }));\n };\n\n // Deprecated.\n /*eslint-disable*/\n obj.getBranches = function () {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n /*eslint-enable*/\n return getBranches.apply(undefined, [agent, obj.meta.linkHash].concat(args));\n };\n\n return obj;\n}\n\nfunction createMap(agent) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return post(agent.url + '/segments', args).then(function (res) {\n return segmentify(agent, res.body);\n });\n}\n\nfunction getSegment(agent, linkHash) {\n return get(agent.url + '/segments/' + linkHash).then(function (res) {\n return segmentify(agent, res.body);\n });\n}\n\nfunction getMapIds(agent) {\n var opts = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n return get(agent.url + '/maps' + makeQueryString(opts)).then(function (res) {\n return res.body;\n });\n}\n\nfunction getLink(agent, hash) {\n deprecated('Agent#getLink(agent, hash)', 'Agent#getSegment(agent, hash)');\n\n return getSegment(agent, hash);\n}\n\nfunction getMap(agent, mapId) {\n var tags = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];\n\n deprecated('getMap(agent, mapId, tags = [])', 'findSegments(agent, filter)');\n\n return findSegments(agent, { mapId: mapId, tags: tags });\n}\n\n// Deprecated.\nfunction getAgent(url) {\n return get(url).then(function (res) {\n var agent = res.body;\n\n agent.url = url;\n agent.createMap = createMap.bind(null, agent);\n agent.getSegment = getSegment.bind(null, agent);\n agent.findSegments = findSegments.bind(null, agent);\n agent.getMapIds = getMapIds.bind(null, agent);\n\n // Deprecated.\n agent.getBranches = getBranches.bind(null, agent);\n agent.getLink = getLink.bind(null, agent);\n agent.getMap = getMap.bind(null, agent);\n\n return agent;\n });\n}\n\nfunction fromSegment(obj) {\n return getAgent(obj.meta.agentUrl || obj.meta.applicationLocation).then(function (agent) {\n var segment = segmentify(agent, obj);\n return { agent: agent, segment: segment };\n });\n}\n\n// Deprecated.\nvar config = {\n applicationUrl: 'https://%s.stratumn.rocks'\n};\n\nfunction getApplication(name, url) {\n deprecated('getApplication(name, url)', 'getAgent(url)');\n\n return getAgent(url || config.applicationUrl.replace('%s', name));\n}\n\nfunction loadLink(obj) {\n deprecated('loadLink(obj)', 'fromSegment(obj)');\n\n return fromSegment(obj).then(function (_ref) {\n var segment = _ref.segment;\n return segment;\n });\n}\n\nexport { getAgent, fromSegment, getApplication, loadLink, config };\n//# sourceMappingURL=stratumn-sdk.mjs.map\n","import merge from 'deepmerge';\nimport { loadLink } from 'stratumn-sdk';\n\nexport default function resolveLinks(segments) {\n return Promise.all(segments.map(segment => {\n if (!segment.link.state) {\n return loadLink(segment).then(res => merge(res, segment));\n }\n return Promise.resolve(segment);\n }));\n}\n","export default function wrap(arrayOrObject) {\n if (arrayOrObject instanceof Array) {\n return arrayOrObject;\n }\n return [arrayOrObject];\n}\n","export default function parseIfJson(object) {\n if (typeof(object) !== 'object') {\n object = JSON.parse(object);\n }\n return object;\n}\n","export default function flatten(arr) {\n const flat = [].concat(...arr);\n return flat.some(Array.isArray) ? flatten(flat) : flat;\n}\n","import flatten from './flatten';\n\nexport default function tagsSet(chainscript) {\n return new Set(flatten(chainscript.map(segment => segment.link.meta.tags)));\n}\n","import ChainTree from './ChainTree';\nimport compactHash from './compactHash';\nimport resolveLinks from './resolveLinks';\nimport wrap from './wrap';\nimport parseIfJson from './parseIfJson';\nimport tagsSet from './tagsSet';\nimport { getAgent } from 'stratumn-sdk';\n\nexport const defaultOptions = {\n withArgs: false,\n duration: 750,\n verticalSpacing: 1.2,\n polygonSize: { width: 78, height: 91 },\n getBoxSize() {\n const self = this;\n return { width: self.polygonSize.width, height: 25 };\n },\n getArrowLength() {\n return this.polygonSize.width;\n },\n getSegmentText(node) {\n return compactHash(node.data.meta.linkHash);\n },\n getLinkText(node) {\n return node.target.data.link.meta.action +\n (this.withArgs ? `(${node.target.data.link.meta.arguments.join(', ')})` : '');\n },\n onclick() {},\n onTag() {}\n};\n\nexport default class ChainTreeBuilder {\n constructor(element) {\n this.chainTree = new ChainTree(element);\n }\n\n build(map, options) {\n this.onTag = options.onTag;\n if (map.id && map.applicationUrl) {\n return this._load(map).then(segments => this._display(segments, options));\n } else if (map.chainscript && map.chainscript.length) {\n try {\n return resolveLinks(wrap(parseIfJson(map.chainscript)))\n .then(segments => this._display(segments, options));\n } catch (err) {\n return Promise.reject(err);\n }\n }\n return Promise.resolve();\n }\n\n _display(segments, options) {\n this.chainTree.display(segments, { ...defaultOptions, ...options });\n this._notifyTags(segments);\n return segments;\n }\n\n _notifyTags(chainscript) {\n tagsSet(chainscript).forEach(this.onTag);\n }\n\n _load(map) {\n return getAgent(map.applicationUrl)\n .then(app => app.findSegments({ mapId: map.id }))\n .catch(res => console.log(res));\n }\n}\n","\n/*\nThe original version of this code is taken from Douglas Crockford's json2.js:\nhttps://github.com/douglascrockford/JSON-js/blob/master/json2.js\n\nI made some modifications to ensure a canonical output.\n*/\n\nfunction f(n) {\n // Format integers to have at least two digits.\n return n < 10 ? '0' + n : n;\n}\n\nvar cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\n\nfunction quote(string) {\n\n// If the string contains no control characters, no quote characters, and no\n// backslash characters, then we can safely slap some quotes around it.\n// Otherwise we must also replace the offending characters with safe escape\n// sequences.\n\n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string'\n ? c\n : '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\n\nfunction str(key, holder) {\n\n// Produce a string from holder[key].\n\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n\n// If the value has a toJSON method, call it to obtain a replacement value.\n\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n\n// If we were called with a replacer function, then call the replacer to\n// obtain a replacement value.\n\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n\n// What happens next depends on the value's type.\n\n switch (typeof value) {\n case 'string':\n return quote(value);\n\n case 'number':\n\n// JSON numbers must be finite. Encode non-finite numbers as null.\n\n return isFinite(value) ? String(value) : 'null';\n\n case 'boolean':\n case 'null':\n\n// If the value is a boolean or null, convert it to a string. Note:\n// typeof null does not produce 'null'. The case is included here in\n// the remote chance that this gets fixed someday.\n\n return String(value);\n\n// If the type is 'object', we might be dealing with an object or an array or\n// null.\n\n case 'object':\n\n// Due to a specification blunder in ECMAScript, typeof null is 'object',\n// so watch out for that case.\n\n if (!value) {\n return 'null';\n }\n\n// Make an array to hold the partial results of stringifying this object value.\n\n gap += indent;\n partial = [];\n\n// Is the value an array?\n\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n\n// The value is an array. Stringify every element. Use null as a placeholder\n// for non-JSON values.\n\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n\n// Join all of the elements together, separated with commas, and wrap them in\n// brackets.\n\n v = partial.length === 0\n ? '[]'\n : gap\n ? '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']'\n : '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n\n// If the replacer is an array, use it to select the members to be stringified.\n\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n if (typeof rep[i] === 'string') {\n k = rep[i];\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n } else {\n\n// Otherwise, iterate through all of the keys in the object.\n var keysSorted = Object.keys(value).sort()\n for (i in keysSorted) {\n k = keysSorted[i]\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n\n// Join all of the member texts together, separated with commas,\n// and wrap them in braces.\n\n v = partial.length === 0\n ? '{}'\n : gap\n ? '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}'\n : '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\n// If the JSON object does not yet have a stringify method, give it one.\nvar stringify = function (value, replacer, space) {\n\n// The stringify method takes a value and an optional replacer, and an optional\n// space parameter, and returns a JSON text. The replacer can be a function\n// that can replace values, or an array of strings that will select the keys.\n// A default replacer method can be provided. Use of the space parameter can\n// produce text that is more easily readable.\n\n var i;\n gap = '';\n indent = '';\n\n// If the space parameter is a number, make an indent string containing that\n// many spaces.\n\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n\n// If the space parameter is a string, it will be used as the indent string.\n\n } else if (typeof space === 'string') {\n indent = space;\n }\n\n// If there is a replacer, it must be a function or an array.\n// Otherwise, throw an error.\n\n rep = replacer;\n if (replacer && typeof replacer !== 'function' &&\n (typeof replacer !== 'object' ||\n typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n\n// Make a fake root object containing our value under the key of ''.\n// Return the result of stringifying the value.\n\n return str('', {'': value});\n};\n\nmodule.exports = stringify\n","/*\n * js-sha256 v0.3.0\n * https://github.com/emn178/js-sha256\n *\n * Copyright 2014-2015, emn178@gmail.com\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/MIT\n */\n;(function(root, undefined) {\n 'use strict';\n\n var NODE_JS = typeof(module) != 'undefined';\n if(NODE_JS) {\n root = global;\n }\n var TYPED_ARRAY = typeof(Uint8Array) != 'undefined';\n var HEX_CHARS = '0123456789abcdef'.split('');\n var EXTRA = [-2147483648, 8388608, 32768, 128];\n var SHIFT = [24, 16, 8, 0];\n var K =[0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,\n 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,\n 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,\n 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,\n 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,\n 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,\n 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2];\n\n var blocks = [];\n\n var sha224 = function(message) {\n return sha256(message, true);\n };\n\n var sha256 = function(message, is224) {\n var notString = typeof(message) != 'string';\n if(notString && message.constructor == root.ArrayBuffer) {\n message = new Uint8Array(message);\n }\n\n var h0, h1, h2, h3, h4, h5, h6, h7, block, code, first = true, end = false,\n i, j, index = 0, start = 0, bytes = 0, length = message.length,\n s0, s1, maj, t1, t2, ch, ab, da, cd, bc;\n\n if(is224) {\n h0 = 0xc1059ed8;\n h1 = 0x367cd507;\n h2 = 0x3070dd17;\n h3 = 0xf70e5939;\n h4 = 0xffc00b31;\n h5 = 0x68581511;\n h6 = 0x64f98fa7;\n h7 = 0xbefa4fa4;\n } else { // 256\n h0 = 0x6a09e667;\n h1 = 0xbb67ae85;\n h2 = 0x3c6ef372;\n h3 = 0xa54ff53a;\n h4 = 0x510e527f;\n h5 = 0x9b05688c;\n h6 = 0x1f83d9ab;\n h7 = 0x5be0cd19;\n }\n block = 0;\n do {\n blocks[0] = block;\n blocks[16] = blocks[1] = blocks[2] = blocks[3] =\n blocks[4] = blocks[5] = blocks[6] = blocks[7] =\n blocks[8] = blocks[9] = blocks[10] = blocks[11] =\n blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0;\n if(notString) {\n for (i = start;index < length && i < 64; ++index) {\n blocks[i >> 2] |= message[index] << SHIFT[i++ & 3];\n }\n } else {\n for (i = start;index < length && i < 64; ++index) {\n code = message.charCodeAt(index);\n if (code < 0x80) {\n blocks[i >> 2] |= code << SHIFT[i++ & 3];\n } else if (code < 0x800) {\n blocks[i >> 2] |= (0xc0 | (code >> 6)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | (code & 0x3f)) << SHIFT[i++ & 3];\n } else if (code < 0xd800 || code >= 0xe000) {\n blocks[i >> 2] |= (0xe0 | (code >> 12)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | ((code >> 6) & 0x3f)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | (code & 0x3f)) << SHIFT[i++ & 3];\n } else {\n code = 0x10000 + (((code & 0x3ff) << 10) | (message.charCodeAt(++index) & 0x3ff));\n blocks[i >> 2] |= (0xf0 | (code >> 18)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | ((code >> 12) & 0x3f)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | ((code >> 6) & 0x3f)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | (code & 0x3f)) << SHIFT[i++ & 3];\n }\n }\n }\n bytes += i - start;\n start = i - 64;\n if(index == length) {\n blocks[i >> 2] |= EXTRA[i & 3];\n ++index;\n }\n block = blocks[16];\n if(index > length && i < 56) {\n blocks[15] = bytes << 3;\n end = true;\n }\n\n var a = h0, b = h1, c = h2, d = h3, e = h4, f = h5, g = h6, h = h7;\n for(j = 16;j < 64;++j) {\n // rightrotate\n t1 = blocks[j - 15];\n s0 = ((t1 >>> 7) | (t1 << 25)) ^ ((t1 >>> 18) | (t1 << 14)) ^ (t1 >>> 3);\n t1 = blocks[j - 2];\n s1 = ((t1 >>> 17) | (t1 << 15)) ^ ((t1 >>> 19) | (t1 << 13)) ^ (t1 >>> 10);\n blocks[j] = blocks[j - 16] + s0 + blocks[j - 7] + s1 << 0;\n }\n\n bc = b & c;\n for(j = 0;j < 64;j += 4) {\n if(first) {\n if(is224) {\n ab = 300032;\n t1 = blocks[0] - 1413257819;\n h = t1 - 150054599 << 0;\n d = t1 + 24177077 << 0;\n } else {\n ab = 704751109;\n t1 = blocks[0] - 210244248;\n h = t1 - 1521486534 << 0;\n d = t1 + 143694565 << 0;\n }\n first = false;\n } else {\n s0 = ((a >>> 2) | (a << 30)) ^ ((a >>> 13) | (a << 19)) ^ ((a >>> 22) | (a << 10));\n s1 = ((e >>> 6) | (e << 26)) ^ ((e >>> 11) | (e << 21)) ^ ((e >>> 25) | (e << 7));\n ab = a & b;\n maj = ab ^ (a & c) ^ bc;\n ch = (e & f) ^ (~e & g);\n t1 = h + s1 + ch + K[j] + blocks[j];\n t2 = s0 + maj;\n h = d + t1 << 0;\n d = t1 + t2 << 0;\n }\n s0 = ((d >>> 2) | (d << 30)) ^ ((d >>> 13) | (d << 19)) ^ ((d >>> 22) | (d << 10));\n s1 = ((h >>> 6) | (h << 26)) ^ ((h >>> 11) | (h << 21)) ^ ((h >>> 25) | (h << 7));\n da = d & a;\n maj = da ^ (d & b) ^ ab;\n ch = (h & e) ^ (~h & f);\n t1 = g + s1 + ch + K[j + 1] + blocks[j + 1];\n t2 = s0 + maj;\n g = c + t1 << 0;\n c = t1 + t2 << 0;\n s0 = ((c >>> 2) | (c << 30)) ^ ((c >>> 13) | (c << 19)) ^ ((c >>> 22) | (c << 10));\n s1 = ((g >>> 6) | (g << 26)) ^ ((g >>> 11) | (g << 21)) ^ ((g >>> 25) | (g << 7));\n cd = c & d;\n maj = cd ^ (c & a) ^ da;\n ch = (g & h) ^ (~g & e);\n t1 = f + s1 + ch + K[j + 2] + blocks[j + 2];\n t2 = s0 + maj;\n f = b + t1 << 0;\n b = t1 + t2 << 0;\n s0 = ((b >>> 2) | (b << 30)) ^ ((b >>> 13) | (b << 19)) ^ ((b >>> 22) | (b << 10));\n s1 = ((f >>> 6) | (f << 26)) ^ ((f >>> 11) | (f << 21)) ^ ((f >>> 25) | (f << 7));\n bc = b & c;\n maj = bc ^ (b & d) ^ cd;\n ch = (f & g) ^ (~f & h);\n t1 = e + s1 + ch + K[j + 3] + blocks[j + 3];\n t2 = s0 + maj;\n e = a + t1 << 0;\n a = t1 + t2 << 0;\n }\n\n h0 = h0 + a << 0;\n h1 = h1 + b << 0;\n h2 = h2 + c << 0;\n h3 = h3 + d << 0;\n h4 = h4 + e << 0;\n h5 = h5 + f << 0;\n h6 = h6 + g << 0;\n h7 = h7 + h << 0;\n } while(!end);\n\n var hex = HEX_CHARS[(h0 >> 28) & 0x0F] + HEX_CHARS[(h0 >> 24) & 0x0F] +\n HEX_CHARS[(h0 >> 20) & 0x0F] + HEX_CHARS[(h0 >> 16) & 0x0F] +\n HEX_CHARS[(h0 >> 12) & 0x0F] + HEX_CHARS[(h0 >> 8) & 0x0F] +\n HEX_CHARS[(h0 >> 4) & 0x0F] + HEX_CHARS[h0 & 0x0F] +\n HEX_CHARS[(h1 >> 28) & 0x0F] + HEX_CHARS[(h1 >> 24) & 0x0F] +\n HEX_CHARS[(h1 >> 20) & 0x0F] + HEX_CHARS[(h1 >> 16) & 0x0F] +\n HEX_CHARS[(h1 >> 12) & 0x0F] + HEX_CHARS[(h1 >> 8) & 0x0F] +\n HEX_CHARS[(h1 >> 4) & 0x0F] + HEX_CHARS[h1 & 0x0F] +\n HEX_CHARS[(h2 >> 28) & 0x0F] + HEX_CHARS[(h2 >> 24) & 0x0F] +\n HEX_CHARS[(h2 >> 20) & 0x0F] + HEX_CHARS[(h2 >> 16) & 0x0F] +\n HEX_CHARS[(h2 >> 12) & 0x0F] + HEX_CHARS[(h2 >> 8) & 0x0F] +\n HEX_CHARS[(h2 >> 4) & 0x0F] + HEX_CHARS[h2 & 0x0F] +\n HEX_CHARS[(h3 >> 28) & 0x0F] + HEX_CHARS[(h3 >> 24) & 0x0F] +\n HEX_CHARS[(h3 >> 20) & 0x0F] + HEX_CHARS[(h3 >> 16) & 0x0F] +\n HEX_CHARS[(h3 >> 12) & 0x0F] + HEX_CHARS[(h3 >> 8) & 0x0F] +\n HEX_CHARS[(h3 >> 4) & 0x0F] + HEX_CHARS[h3 & 0x0F] +\n HEX_CHARS[(h4 >> 28) & 0x0F] + HEX_CHARS[(h4 >> 24) & 0x0F] +\n HEX_CHARS[(h4 >> 20) & 0x0F] + HEX_CHARS[(h4 >> 16) & 0x0F] +\n HEX_CHARS[(h4 >> 12) & 0x0F] + HEX_CHARS[(h4 >> 8) & 0x0F] +\n HEX_CHARS[(h4 >> 4) & 0x0F] + HEX_CHARS[h4 & 0x0F] +\n HEX_CHARS[(h5 >> 28) & 0x0F] + HEX_CHARS[(h5 >> 24) & 0x0F] +\n HEX_CHARS[(h5 >> 20) & 0x0F] + HEX_CHARS[(h5 >> 16) & 0x0F] +\n HEX_CHARS[(h5 >> 12) & 0x0F] + HEX_CHARS[(h5 >> 8) & 0x0F] +\n HEX_CHARS[(h5 >> 4) & 0x0F] + HEX_CHARS[h5 & 0x0F] +\n HEX_CHARS[(h6 >> 28) & 0x0F] + HEX_CHARS[(h6 >> 24) & 0x0F] +\n HEX_CHARS[(h6 >> 20) & 0x0F] + HEX_CHARS[(h6 >> 16) & 0x0F] +\n HEX_CHARS[(h6 >> 12) & 0x0F] + HEX_CHARS[(h6 >> 8) & 0x0F] +\n HEX_CHARS[(h6 >> 4) & 0x0F] + HEX_CHARS[h6 & 0x0F];\n if(!is224) {\n hex += HEX_CHARS[(h7 >> 28) & 0x0F] + HEX_CHARS[(h7 >> 24) & 0x0F] +\n HEX_CHARS[(h7 >> 20) & 0x0F] + HEX_CHARS[(h7 >> 16) & 0x0F] +\n HEX_CHARS[(h7 >> 12) & 0x0F] + HEX_CHARS[(h7 >> 8) & 0x0F] +\n HEX_CHARS[(h7 >> 4) & 0x0F] + HEX_CHARS[h7 & 0x0F];\n }\n return hex;\n };\n \n if(!root.JS_SHA256_TEST && NODE_JS) {\n sha256.sha256 = sha256;\n sha256.sha224 = sha224;\n module.exports = sha256;\n } else if(root) {\n root.sha256 = sha256;\n root.sha224 = sha224;\n }\n}(this));\n","import stringify from 'canonical-json';\nimport sha256 from 'js-sha256';\n\n/**\n * Canonically hashes a json object.\n * @param {Object} obj the json object\n */\nexport default function hashJson(obj) {\n return sha256(stringify(obj));\n}\n","var _buffer, _slowbuffer, _INSPECT_MAX_BYTES;\n(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,___mod,_expor_){\n'use strict'\n\n_expor_.toByteArray = toByteArray\n_expor_.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nfunction init () {\n var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\n for (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n }\n\n revLookup['-'.charCodeAt(0)] = 62\n revLookup['_'.charCodeAt(0)] = 63\n}\n\ninit()\n\nfunction toByteArray (b64) {\n var i, j, l, tmp, placeHolders, arr\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // the number of equal signs (place holders)\n // if there are two placeholders, than the two characters before it\n // represent one byte\n // if there is only one, then the three characters before it represent 2 bytes\n // this is just a cheap hack to not do indexOf twice\n placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0\n\n // base64 is 4/3 + up to two characters of the original data\n arr = new Arr(len * 3 / 4 - placeHolders)\n\n // if there are placeholders, only get up to the last complete 4 chars\n l = placeHolders > 0 ? len - 4 : len\n\n var L = 0\n\n for (i = 0, j = 0; i < l; i += 4, j += 3) {\n tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)]\n arr[L++] = (tmp >> 16) & 0xFF\n arr[L++] = (tmp >> 8) & 0xFF\n arr[L++] = tmp & 0xFF\n }\n\n if (placeHolders === 2) {\n tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[L++] = tmp & 0xFF\n } else if (placeHolders === 1) {\n tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[L++] = (tmp >> 8) & 0xFF\n arr[L++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var output = ''\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n output += lookup[tmp >> 2]\n output += lookup[(tmp << 4) & 0x3F]\n output += '=='\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + (uint8[len - 1])\n output += lookup[tmp >> 10]\n output += lookup[(tmp >> 4) & 0x3F]\n output += lookup[(tmp << 2) & 0x3F]\n output += '='\n }\n\n parts.push(output)\n\n return parts.join('')\n}\n\n},{}],2:[function(_dereq_,___mod,_expor_){\n(function (global){\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = _dereq_('base64-js')\nvar ieee754 = _dereq_('ieee754')\nvar isArray = _dereq_('isarray')\n\n_expor_.Buffer = Buffer\n_expor_.SlowBuffer = SlowBuffer\n_expor_.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\n_expor_.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n that.write(string, encoding)\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'binary':\n case 'base64':\n case 'raw':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'binary':\n case 'raw':\n case 'raws':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'binary':\n return binarySlice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = _expor_.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return '<Buffer ' + str + '>'\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var foundIndex = -1\n for (var i = byteOffset; i < arrLength; ++i) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n\n return -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset >>= 0\n\n if (this.length === 0) return -1\n if (byteOffset >= this.length) return -1\n\n // Negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = Math.max(this.length + byteOffset, 0)\n\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n if (Buffer.isBuffer(val)) {\n // special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(this, val, byteOffset, encoding)\n }\n if (typeof val === 'number') {\n if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {\n return Uint8Array.prototype.indexOf.call(this, val, byteOffset)\n }\n return arrayIndexOf(this, [ val ], byteOffset, encoding)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new Error('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction binaryWrite (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'binary':\n return binaryWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction binarySlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{\"base64-js\":1,\"ieee754\":3,\"isarray\":4}],3:[function(_dereq_,___mod,_expor_){\n_expor_.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\n_expor_.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n},{}],4:[function(_dereq_,___mod,_expor_){\nvar toString = {}.toString;\n\n___mod.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n},{}],5:[function(_dereq_,___mod,_expor_){\nvar buf = _dereq_('buffer');\n_buffer = buf.Buffer;\n_slowbuffer = buf.SlowBuffer;\n_INSPECT_MAX_BYTES = buf._INSPECT_MAX_BYTES;\n\n},{\"buffer\":2}]},{},[5]);\nexport default {\n Buffer:_buffer,\n SlowBuffer: _slowbuffer,\n INSPECT_MAX_BYTES: _INSPECT_MAX_BYTES\n}\nexport {\n _buffer as Buffer,\n _slowbuffer as SlowBuffer,\n _INSPECT_MAX_BYTES as INSPECT_MAX_BYTES\n}\n","import sha256 from 'js-sha256';\nimport { Buffer } from 'buffer';\n\nexport default function computeMerkleParent(left, right) {\n if (right) {\n return sha256(\n Buffer.concat([new Buffer(left, 'hex'), new Buffer(right, 'hex')])\n );\n }\n return left;\n}\n","import hashJson from './hashJson';\nimport httpplease from 'httpplease';\n\nimport computeMerkleParent from './computeMerkleParent';\n\nconst blockCypherCache = {};\n\nexport default class SegmentValidator {\n\n constructor(segment) {\n this.segment = segment;\n }\n\n validate(errors) {\n errors.linkHash.push(this._validateLinkHash());\n errors.stateHash.push(this._validateStateHash());\n errors.merklePath.push(this._validateMerklePath());\n errors.fossil.push(this._validateFossil());\n }\n\n _validateLinkHash() {\n const computed = hashJson(this.segment.link);\n const actual = this.segment.meta.linkHash;\n if (computed !== actual) {\n return `LinkHash computed: ${computed}, Found: ${actual}`;\n }\n return null;\n }\n\n _validateStateHash() {\n if (this.segment.link.state) {\n const computed = hashJson(this.segment.link.state);\n const actual = this.segment.link.meta.stateHash;\n if (computed !== actual) {\n return `StateHash computed: ${computed}, Found: ${actual}`;\n }\n }\n return null;\n }\n\n _validateMerklePath() {\n const evidence = this.segment.meta.evidence;\n if (evidence) {\n if (evidence.state === 'COMPLETE') {\n let previous = this.segment.meta.linkHash;\n\n let error;\n evidence.merklePath.every((merkleNode) => {\n if (merkleNode.left === previous || merkleNode.right === previous) {\n const computedParent = computeMerkleParent(merkleNode.left, merkleNode.right);\n\n if (computedParent !== merkleNode.parent) {\n error = `Invalid Merkle Node ${JSON.stringify(merkleNode)}: `\n + `computed parent: ${computedParent}`;\n return false;\n }\n previous = merkleNode.parent;\n return true;\n }\n error = `Invalid Merkle Node ${JSON.stringify(merkleNode)}: `\n + `previous hash (${previous}) not found`;\n return false;\n });\n\n if (error) {\n return error;\n }\n\n const lastMerkleNode = evidence.merklePath[evidence.merklePath.length - 1];\n if (lastMerkleNode.parent !== evidence.merkleRoot) {\n return `Invalid Merkle Root ${evidence.merkleRoot}: not found in Merkle Path`;\n }\n }\n }\n return null;\n }\n\n _validateFossil() {\n const txId = this.segment.meta.evidence.transactions['bitcoin:main'];\n return this._getFossil(txId)\n .then(res => {\n const body = JSON.parse(res.xhr.response);\n if (!body.outputs.find(\n output => output.data_hex === this.segment.meta.evidence.merkleRoot)) {\n return 'Merkle root not found in transaction data';\n }\n return null;\n });\n }\n\n _getFossil(txId) {\n if (blockCypherCache[txId]) {\n return Promise.resolve(blockCypherCache[txId]);\n }\n\n const p = new Promise((resolve, reject) =>\n httpplease.get(`https://api.blockcypher.com/v1/btc/main/txs/${txId}`, (err, res) =>\n (err ? reject(err) : resolve(res)))\n );\n blockCypherCache[txId] = p;\n return p;\n }\n}\n","import SegmentValidator from './SegmentValidator';\nimport resolveLinks from './resolveLinks';\nimport wrap from './wrap';\nimport parseIfJson from './parseIfJson';\n\nexport default class ChainValidator {\n constructor(chainscript) {\n this.chainscript = chainscript;\n this.errors = {\n linkHash: [],\n stateHash: [],\n merklePath: [],\n fossil: []\n };\n }\n\n validate() {\n try {\n return resolveLinks(wrap(parseIfJson(this.chainscript)))\n .then(segments => {\n wrap(segments).forEach(segment => new SegmentValidator(segment).validate(this.errors));\n return this.errors;\n });\n } catch (err) {\n return Promise.reject(err);\n }\n }\n}\n","import { makeLink, translate } from './treeUtils';\nimport compactHash from './compactHash';\n\nimport { tree, stratify } from 'd3-hierarchy';\nimport { select } from 'd3-selection';\n\nconst margin = { top: 10, right: 5, bottom: 20, left: 5 };\nconst height = 350 - margin.top - margin.bottom;\nconst width = 400 - margin.left - margin.right;\n\nexport default class MerklePathTree {\n constructor(element) {\n this.tree = tree().size([width, height]);\n this.svg = select(element).append('svg')\n .attr('width', width + margin.right + margin.left)\n .attr('height', height + margin.top + margin.bottom);\n this.innerG = this.svg.append('g')\n .attr('transform', () => translate(margin.top, margin.left));\n this.root = null;\n }\n\n display(merklePath) {\n if (merklePath && merklePath.length) {\n this.root = this._parse(merklePath);\n this._update(this.root.descendants(), this.root.links());\n } else {\n this.root = null;\n this._update([], []);\n }\n }\n\n _parse(merklePath) {\n const nodes = [];\n\n merklePath.forEach((path, index) => {\n nodes.push({\n id: `${path.left}-${index}`,\n name: path.left,\n parentId: `${path.parent}-${index + 1}`\n });\n if (path.right) {\n nodes.push({\n id: `${path.right}-${index}`,\n name: path.right,\n parentId: `${path.parent}-${index + 1}`\n });\n }\n });\n\n const root = merklePath[merklePath.length - 1].parent;\n nodes.push({\n id: `${root}-${merklePath.length}`,\n name: root\n });\n\n return stratify()(nodes);\n }\n\n _update(nodes, links) {\n // Compute the new tree layout.\n if (this.root) {\n this.tree(this.root);\n }\n\n // Update the nodes…\n const node = this.innerG.selectAll('g.node').data(nodes,\n function key(d) { return d ? d.id : this.id; });\n\n // Enter any new nodes at the parent's previous position.\n const nodeEnter = node.enter().append('g')\n .attr('class', 'node')\n .attr('transform', d => translate(d.y, d.x));\n\n nodeEnter.append('circle').attr('r', 10);\n\n nodeEnter.append('text')\n .attr('dx', 0)\n .attr('dy', 5)\n .attr('text-anchor', 'middle')\n .text(d => compactHash(d.data.name));\n\n nodeEnter\n .on('mouseover', function go(d) {\n select(this).select('text').text(d.data.name);\n })\n .on('mouseout', function go(d) {\n select(this).select('text').text(compactHash(d.data.name));\n });\n\n node.exit().remove();\n\n // Update the links...\n const link = this.innerG.selectAll('path.link').data(links,\n function key(d) { return d ? d.target.id : this.id; });\n\n // Enter any new links at the parent's previous position.\n link.enter().insert('path', 'g')\n .attr('class', 'link')\n .attr('id', d => d.target.id)\n .attr('d', d => makeLink({ x: d.source.y, y: d.source.x }, { x: d.target.y, y: d.target.x }));\n\n // Transition exiting nodes to the parent's new position.\n link.exit().remove();\n }\n}\n"],"names":["stratify","tree","select","event","max","transition","easeLinear","zoom","this","commonjsHelpers.interopDefault","json","get","commonjsHelpers.commonjsGlobal","sha256","Buffer","margin","height"],"mappings":";;;;;;AAAO,SAAS,QAAT,CAAkB,MAAlB,EAA0B,MAA1B,EAA8C;MAAZ,MAAY,yDAAH,CAAG;;MAC7C,cAAc,UAAU,MAA9B;MACM,UAAU,YAAY,CAA5B;MACM,UAAU,YAA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;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":null,"sources":["../src/treeUtils.js","../src/parseChainscript.js","../src/ChainTree.js","../src/compactHash.js","../node_modules/deepmerge/index.js","../node_modules/rollup-plugin-node-globals/src/global.js","../node_modules/process-es6/browser.js","../node_modules/setimmediate/setImmediate.js","../node_modules/httpplease/plugins/jsonrequest.js","../node_modules/httpplease/plugins/jsonresponse.js","../node_modules/httpplease/plugins/json.js","../node_modules/httpplease/plugins/cleanurl.js","../node_modules/httpplease/lib/xhr-browser.js","../node_modules/httpplease/lib/utils/delay.js","../node_modules/httpplease/lib/request.js","../node_modules/xtend/index.js","../node_modules/httpplease/lib/utils/extractResponseProps.js","../node_modules/httpplease/lib/response.js","../node_modules/httpplease/lib/error.js","../node_modules/httpplease/lib/utils/once.js","../node_modules/httpplease/lib/index.js","../node_modules/stratumn-agent-client/lib/stratumn-agent-client.mjs","../src/resolveLinks.js","../src/wrap.js","../src/parseIfJson.js","../src/flatten.js","../src/tagsSet.js","../src/ChainTreeBuilder.js","../node_modules/canonical-json/index.js","../node_modules/js-sha256/src/sha256.js","../src/hashJson.js","../node_modules/buffer-es6/base64.js","../node_modules/buffer-es6/ieee754.js","../node_modules/buffer-es6/isArray.js","../node_modules/buffer-es6/index.js","../src/computeMerkleParent.js","../src/SegmentValidator.js","../src/ChainValidator.js","../src/MerklePathTree.js"],"sourcesContent":["/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nexport function makeLink(source, target, margin = 0) {\n const finalTarget = target || source;\n const targetX = finalTarget.x;\n const targetY = finalTarget.y - margin;\n return `M${source.y},${source.x}\n C${(source.y + targetY) / 2},${source.x} ${(source.y + targetY) / 2},\n ${targetX} ${targetY},${targetX}`;\n}\n\nexport function finalLink(d, margin) {\n return makeLink(d.source, d.target, margin);\n}\n\nexport function translate(x, y) {\n return `translate(${y}, ${x})`;\n}\n\nexport function stashPositions(nodes) {\n // Stash the old positions for transition.\n nodes.forEach(d => {\n d.x0 = d.x;\n d.y0 = d.y;\n });\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport { stratify } from 'd3-hierarchy';\n\nexport default function parseChainscript(chainscript) {\n return stratify()\n .id(d => d.meta.linkHash)\n .parentId(d => d.link.meta.prevLinkHash)(chainscript);\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport { makeLink, finalLink, translate } from './treeUtils';\nimport parseChainscript from './parseChainscript';\nimport { tree } from 'd3-hierarchy';\nimport { transition } from 'd3-transition';\nimport { easeLinear } from 'd3-ease';\nimport { select, selectAll, event } from 'd3-selection';\nimport { zoom } from 'd3-zoom';\nimport { max } from 'd3-array';\n\nconst margin = { top: 20, right: 120, bottom: 20, left: 120 };\nconst height = 800 - margin.top - margin.bottom;\n\nexport default class ChainTree {\n constructor(element) {\n this.tree = tree();\n\n this.svg = select(element).append('svg');\n this.innerG = this.svg.append('g');\n\n this.zoomed = () => this.innerG.attr('transform', event.transform);\n }\n\n display(chainscript, options) {\n if (chainscript && chainscript.length) {\n const root = parseChainscript(chainscript);\n this._update(root, options);\n } else {\n this._update(null, options);\n }\n }\n\n _update(root, options) {\n const self = this;\n const polygon = options.polygonSize;\n const nodes = root ? root.descendants() : [];\n const links = root ? root.links() : [];\n const maxDepth = max(nodes, x => x.depth) || 0;\n const computedWidth = Math.max(maxDepth * (polygon.width + options.getArrowLength()), 500);\n const treeTransition = transition()\n .duration(options.duration)\n .ease(easeLinear);\n\n const branchesCount = nodes.reduce(\n (pre, cur) => pre + (cur.children ? Math.max(cur.children.length - 1, 0) : 0),\n 1\n );\n const computedHeight = branchesCount * polygon.height * options.verticalSpacing;\n\n this.tree.size([computedHeight, computedWidth]);\n this.svg\n .attr('width',\n options.zoomable ? 1200 : computedWidth + margin.right + margin.left +\n options.getArrowLength())\n .attr('height',\n (options.zoomable ? height : computedHeight) + margin.top + margin.bottom);\n\n // Compute the new tree layout.\n if (root) {\n root.x0 = computedHeight / 2;\n root.y0 = 0;\n this.tree(root);\n root.each(node => { node.y += options.getArrowLength(); });\n }\n\n if (options.zoomable) {\n this.svg.call(zoom().on('zoom', this.zoomed));\n } else {\n this.svg.on('.zoom', null);\n }\n this.innerG.attr('transform', () => translate(margin.top, margin.left));\n\n // Update the links...\n const link = this.innerG.selectAll('path.link').data(links,\n function key(d) { return d ? d.target.id : this.id; });\n\n link.enter().insert('text')\n .attr('dx', polygon.width + 20)\n .attr('dy', '-0.3em')\n .append('textPath')\n .attr('class', 'textpath')\n .attr('xlink:href', d => `#link-${d.target.id}`)\n .text(options.getLinkText);\n\n // Enter any new links at the parent's previous position.\n link.enter().insert('path', 'g')\n .attr('class', 'link')\n .attr('id', d => `link-${d.target.id}`);\n\n const linkUpdate = this.innerG.selectAll('path.link:not(.init)').transition(treeTransition);\n\n // Transition links to their new position.\n linkUpdate.attr('d', d => finalLink(d, 15));\n\n link.exit().remove();\n\n // Update the nodes...\n const node = this.innerG.selectAll('g.node').data(nodes,\n function key(d) { return d ? d.id : this.id; });\n\n // Enter any new nodes at the parent's previous position.\n const nodeEnter = node.enter().append('g')\n .attr('class', d => ['node'].concat(d.data.link.meta.tags).join(' '))\n .attr('id', d => d.id)\n .attr('transform', d => {\n const origin = d.parent && d.parent.x0 ? d.parent : root;\n return translate(origin.x0, origin.y0);\n })\n .on('click', function onClick(d) {\n selectAll('g.node')\n .classed('selected', false);\n select(this)\n .classed('selected', true);\n options.onclick(d, () => {\n self.innerG.selectAll('g.node.selected').classed('selected', false);\n }, this);\n });\n\n nodeEnter.append('polygon').attr('points',\n `0,${polygon.height / 4} ${polygon.width / 2},${polygon.height / 2} ` +\n `${polygon.width},${polygon.height / 4} ${polygon.width},${-polygon.height / 4} ` +\n `${polygon.width / 2},${-polygon.height / 2} 0,${-polygon.height / 4}`);\n\n nodeEnter.append('rect')\n .attr('y', -(options.getBoxSize().height / 2))\n .attr('width', polygon.width)\n .attr('height', options.getBoxSize().height)\n .style('fill-opacity', 1e-6);\n\n nodeEnter.append('text')\n .attr('dx', 12)\n .attr('dy', 4)\n .attr('text-anchor', 'begin')\n .text(options.getSegmentText)\n .style('fill-opacity', 1e-6);\n\n // Transition nodes to their new position.\n const nodeUpdate = this.svg.selectAll('g.node').transition(treeTransition);\n\n nodeUpdate.attr('transform', d => translate(d.x, d.y));\n nodeUpdate.select('text').style('fill-opacity', 1);\n nodeUpdate.select('rect').style('fill-opacity', 1);\n\n // Transition exiting nodes to the parent's new position.\n const nodeExit = node.exit(); // .transition(treeTransition);\n nodeExit.select('text').style('fill-opacity', 1e-6);\n nodeExit.attr('transform', () => translate(0, 0)).remove();\n\n this._drawInit(root);\n }\n\n _drawInit(root) {\n this.innerG.append('path')\n .attr('class', 'link init')\n .attr('id', 'init-link')\n .attr('d', makeLink({ x: root.x, y: root.y0 }, root, 15));\n\n this.innerG.append('text')\n .attr('dx', 20)\n .attr('dy', '-0.3em')\n .append('textPath')\n .attr('class', 'textpath')\n .attr('xlink:href', '#init-link')\n .text('init');\n }\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nexport default function (hash) {\n return `${hash.slice(0, 3)}${hash.slice(hash.length - 3)}`;\n}\n","(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define(factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.deepmerge = factory();\n }\n}(this, function () {\n\nreturn function deepmerge(target, src) {\n var array = Array.isArray(src);\n var dst = array && [] || {};\n\n if (array) {\n target = target || [];\n dst = dst.concat(target);\n src.forEach(function(e, i) {\n if (typeof dst[i] === 'undefined') {\n dst[i] = e;\n } else if (typeof e === 'object') {\n dst[i] = deepmerge(target[i], e);\n } else {\n if (target.indexOf(e) === -1) {\n dst.push(e);\n }\n }\n });\n } else {\n if (target && typeof target === 'object') {\n Object.keys(target).forEach(function (key) {\n dst[key] = target[key];\n })\n }\n Object.keys(src).forEach(function (key) {\n if (typeof src[key] !== 'object' || !src[key]) {\n dst[key] = src[key];\n }\n else {\n if (!target[key]) {\n dst[key] = src[key];\n } else {\n dst[key] = deepmerge(target[key], src[key]);\n }\n }\n });\n }\n\n return dst;\n}\n\n}));\n","export default typeof global !== \"undefined\" ? global :\n typeof self !== \"undefined\" ? self :\n typeof window !== \"undefined\" ? window : {}\n","// shim for using process in browser\n// based off https://github.com/defunctzombie/node-process/blob/master/browser.js\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\nvar cachedSetTimeout = defaultSetTimout;\nvar cachedClearTimeout = defaultClearTimeout;\nif (typeof global.setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n}\nif (typeof global.clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n}\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\nexport function nextTick(fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nexport var title = 'browser';\nexport var platform = 'browser';\nexport var browser = true;\nexport var env = {};\nexport var argv = [];\nexport var version = ''; // empty string to avoid regexp issues\nexport var versions = {};\nexport var release = {};\nexport var config = {};\n\nfunction noop() {}\n\nexport var on = noop;\nexport var addListener = noop;\nexport var once = noop;\nexport var off = noop;\nexport var removeListener = noop;\nexport var removeAllListeners = noop;\nexport var emit = noop;\n\nexport function binding(name) {\n throw new Error('process.binding is not supported');\n}\n\nexport function cwd () { return '/' }\nexport function chdir (dir) {\n throw new Error('process.chdir is not supported');\n};\nexport function umask() { return 0; }\n\n// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js\nvar performance = global.performance || {}\nvar performanceNow =\n performance.now ||\n performance.mozNow ||\n performance.msNow ||\n performance.oNow ||\n performance.webkitNow ||\n function(){ return (new Date()).getTime() }\n\n// generate timestamp or delta\n// see http://nodejs.org/api/process.html#process_process_hrtime\nexport function hrtime(previousTimestamp){\n var clocktime = performanceNow.call(performance)*1e-3\n var seconds = Math.floor(clocktime)\n var nanoseconds = Math.floor((clocktime%1)*1e9)\n if (previousTimestamp) {\n seconds = seconds - previousTimestamp[0]\n nanoseconds = nanoseconds - previousTimestamp[1]\n if (nanoseconds<0) {\n seconds--\n nanoseconds += 1e9\n }\n }\n return [seconds,nanoseconds]\n}\n\nvar startTime = new Date();\nexport function uptime() {\n var currentTime = new Date();\n var dif = currentTime - startTime;\n return dif / 1000;\n}\n\nexport default {\n nextTick: nextTick,\n title: title,\n browser: browser,\n env: env,\n argv: argv,\n version: version,\n versions: versions,\n on: on,\n addListener: addListener,\n once: once,\n off: off,\n removeListener: removeListener,\n removeAllListeners: removeAllListeners,\n emit: emit,\n binding: binding,\n cwd: cwd,\n chdir: chdir,\n umask: umask,\n hrtime: hrtime,\n platform: platform,\n release: release,\n config: config,\n uptime: uptime\n};\n","(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted\n // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\n var script = doc.createElement(\"script\");\n script.onreadystatechange = function () {\n runIfPresent(handle);\n script.onreadystatechange = null;\n html.removeChild(script);\n script = null;\n };\n html.appendChild(script);\n };\n }\n\n function installSetTimeoutImplementation() {\n registerImmediate = function(handle) {\n setTimeout(runIfPresent, 0, handle);\n };\n }\n\n // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live.\n var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);\n attachTo = attachTo && attachTo.setTimeout ? attachTo : global;\n\n // Don't get fooled by e.g. browserify environments.\n if ({}.toString.call(global.process) === \"[object process]\") {\n // For Node.js before 0.9\n installNextTickImplementation();\n\n } else if (canUsePostMessage()) {\n // For non-IE10 modern browsers\n installPostMessageImplementation();\n\n } else if (global.MessageChannel) {\n // For web workers, where supported\n installMessageChannelImplementation();\n\n } else if (doc && \"onreadystatechange\" in doc.createElement(\"script\")) {\n // For IE 6–8\n installReadyStateChangeImplementation();\n\n } else {\n // For older browsers\n installSetTimeoutImplementation();\n }\n\n attachTo.setImmediate = setImmediate;\n attachTo.clearImmediate = clearImmediate;\n}(typeof self === \"undefined\" ? typeof global === \"undefined\" ? this : global : self));\n","'use strict';\n\nmodule.exports = {\n processRequest: function(req) {\n var\n contentType = req.header('Content-Type'),\n hasJsonContentType = contentType &&\n contentType.indexOf('application/json') !== -1;\n\n if (contentType != null && !hasJsonContentType) {\n return;\n }\n\n if (req.body) {\n if (!contentType) {\n req.header('Content-Type', 'application/json');\n }\n\n req.body = JSON.stringify(req.body);\n }\n }\n};\n","'use strict';\n\nmodule.exports = {\n processRequest: function(req) {\n var accept = req.header('Accept');\n if (accept == null) {\n req.header('Accept', 'application/json');\n }\n },\n processResponse: function(res) {\n // Check to see if the contentype is \"something/json\" or\n // \"something/somethingelse+json\"\n if (res.contentType && /^.*\\/(?:.*\\+)?json(;|$)/i.test(res.contentType)) {\n var raw = typeof res.body === 'string' ? res.body : res.text;\n if (raw) {\n res.body = JSON.parse(raw);\n }\n }\n }\n};\n","'use strict';\n\nvar jsonrequest = require('./jsonrequest'),\n jsonresponse = require('./jsonresponse');\n\nmodule.exports = {\n processRequest: function(req) {\n jsonrequest.processRequest.call(this, req);\n jsonresponse.processRequest.call(this, req);\n },\n processResponse: function(res) {\n jsonresponse.processResponse.call(this, res);\n }\n};\n","'use strict';\n\nmodule.exports = {\n processRequest: function(req) {\n req.url = req.url.replace(/[^%]+/g, function(s) {\n return encodeURI(s);\n });\n }\n};\n","module.exports = window.XMLHttpRequest;\n","'use strict';\n\n// Wrap a function in a `setTimeout` call. This is used to guarantee async\n// behavior, which can avoid unexpected errors.\n\nmodule.exports = function(fn) {\n return function() {\n var\n args = Array.prototype.slice.call(arguments, 0),\n newFunc = function() {\n return fn.apply(null, args);\n };\n setTimeout(newFunc, 0);\n };\n};\n","'use strict';\n\nfunction Request(optsOrUrl) {\n var opts = typeof optsOrUrl === 'string' ? {url: optsOrUrl} : optsOrUrl || {};\n this.method = opts.method ? opts.method.toUpperCase() : 'GET';\n this.url = opts.url;\n this.headers = opts.headers || {};\n this.body = opts.body;\n this.timeout = opts.timeout || 0;\n this.errorOn404 = opts.errorOn404 != null ? opts.errorOn404 : true;\n this.onload = opts.onload;\n this.onerror = opts.onerror;\n}\n\nRequest.prototype.abort = function() {\n if (this.aborted) return;\n this.aborted = true;\n this.xhr.abort();\n return this;\n};\n\nRequest.prototype.header = function(name, value) {\n var k;\n for (k in this.headers) {\n if (this.headers.hasOwnProperty(k)) {\n if (name.toLowerCase() === k.toLowerCase()) {\n if (arguments.length === 1) {\n return this.headers[k];\n }\n\n delete this.headers[k];\n break;\n }\n }\n }\n if (value != null) {\n this.headers[name] = value;\n return value;\n }\n};\n\n\nmodule.exports = Request;\n","module.exports = extend\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (source.hasOwnProperty(key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","'use strict';\n\nvar extend = require('xtend');\n\nmodule.exports = function(req) {\n var xhr = req.xhr;\n var props = {request: req, xhr: xhr};\n\n // Try to create the response from the request. If the request was aborted,\n // accesssing properties of the XHR may throw an error, so we wrap in a\n // try/catch.\n try {\n var lines, i, m, headers = {};\n if (xhr.getAllResponseHeaders) {\n lines = xhr.getAllResponseHeaders().split('\\n');\n for (i = 0; i < lines.length; i++) {\n if ((m = lines[i].match(/\\s*([^\\s]+):\\s+([^\\s]+)/))) {\n headers[m[1]] = m[2];\n }\n }\n }\n\n props = extend(props, {\n status: xhr.status,\n contentType: xhr.contentType || (xhr.getResponseHeader && xhr.getResponseHeader('Content-Type')),\n headers: headers,\n text: xhr.responseText,\n body: xhr.response || xhr.responseText\n });\n } catch (err) {}\n\n return props;\n};\n","'use strict';\n\nvar Request = require('./request');\nvar extractResponseProps = require('./utils/extractResponseProps');\n\nfunction Response(props) {\n this.request = props.request;\n this.xhr = props.xhr;\n this.headers = props.headers || {};\n this.status = props.status || 0;\n this.text = props.text;\n this.body = props.body;\n this.contentType = props.contentType;\n this.isHttpError = props.status >= 400;\n}\n\nResponse.prototype.header = Request.prototype.header;\n\nResponse.fromRequest = function(req) {\n return new Response(extractResponseProps(req));\n};\n\n\nmodule.exports = Response;\n","'use strict';\n\nvar Response = require('./response');\nvar extractResponseProps = require('./utils/extractResponseProps');\nvar extend = require('xtend');\n\nfunction RequestError(message, props) {\n var err = new Error(message);\n err.name = 'RequestError';\n this.name = err.name;\n this.message = err.message;\n if (err.stack) {\n this.stack = err.stack;\n }\n\n this.toString = function() {\n return this.message;\n };\n\n for (var k in props) {\n if (props.hasOwnProperty(k)) {\n this[k] = props[k];\n }\n }\n}\n\nRequestError.prototype = extend(Error.prototype);\nRequestError.prototype.constructor = RequestError;\n\nRequestError.create = function(message, req, props) {\n var err = new RequestError(message, props);\n Response.call(err, extractResponseProps(req));\n return err;\n};\n\nmodule.exports = RequestError;\n","'use strict';\n\n// A \"once\" utility.\nmodule.exports = function(fn) {\n var result, called = false;\n return function() {\n if (!called) {\n called = true;\n result = fn.apply(this, arguments);\n }\n return result;\n };\n};\n","'use strict';\n\nvar\n cleanURL = require('../plugins/cleanurl'),\n XHR = require('./xhr'),\n delay = require('./utils/delay'),\n RequestError = require('./error'),\n Response = require('./response'),\n Request = require('./request'),\n extend = require('xtend'),\n once = require('./utils/once');\n\nvar i,\n createError = RequestError.create;\n\nfunction factory(defaults, plugins) {\n defaults = defaults || {};\n plugins = plugins || [];\n\n function http(req, cb) {\n var xhr, plugin, done, k, timeoutId, supportsLoadAndErrorEvents;\n\n req = new Request(extend(defaults, req));\n\n for (i = 0; i < plugins.length; i++) {\n plugin = plugins[i];\n if (plugin.processRequest) {\n plugin.processRequest(req);\n }\n }\n\n // Give the plugins a chance to create the XHR object\n for (i = 0; i < plugins.length; i++) {\n plugin = plugins[i];\n if (plugin.createXHR) {\n xhr = plugin.createXHR(req);\n break; // First come, first serve\n }\n }\n xhr = xhr || new XHR();\n\n req.xhr = xhr;\n\n // Use a single completion callback. This can be called with or without\n // an error. If no error is passed, the request will be examined to see\n // if it was successful.\n done = once(delay(function(rawError) {\n clearTimeout(timeoutId);\n xhr.onload = xhr.onerror = xhr.onabort = xhr.onreadystatechange = xhr.ontimeout = xhr.onprogress = null;\n\n var err = getError(req, rawError);\n\n var res = err || Response.fromRequest(req);\n for (i = 0; i < plugins.length; i++) {\n plugin = plugins[i];\n if (plugin.processResponse) {\n plugin.processResponse(res);\n }\n }\n\n // Invoke callbacks\n if (err && req.onerror) req.onerror(err);\n if (!err && req.onload) req.onload(res);\n if (cb) cb(err, err ? undefined : res);\n\n }));\n\n supportsLoadAndErrorEvents = ('onload' in xhr) && ('onerror' in xhr);\n xhr.onload = function() { done(); };\n xhr.onerror = done;\n xhr.onabort = function() { done(); };\n\n // We'd rather use `onload`, `onerror`, and `onabort` since they're the\n // only way to reliably detect successes and failures but, if they\n // aren't available, we fall back to using `onreadystatechange`.\n xhr.onreadystatechange = function() {\n if (xhr.readyState !== 4) return;\n\n if (req.aborted) return done();\n\n if (!supportsLoadAndErrorEvents) {\n // Assume a status of 0 is an error. This could be a false\n // positive, but there's no way to tell when using\n // `onreadystatechange` ):\n // See matthewwithanm/react-inlinesvg#10.\n\n // Some browsers don't like you reading XHR properties when the\n // XHR has been aborted. In case we've gotten here as a result\n // of that (either our calling `about()` in the timeout handler\n // or the user calling it directly even though they shouldn't),\n // be careful about accessing it.\n var status;\n try {\n status = xhr.status;\n } catch (err) {}\n var err = status === 0 ? new Error('Internal XHR Error') : null;\n return done(err);\n }\n };\n\n // IE sometimes fails if you don't specify every handler.\n // See http://social.msdn.microsoft.com/Forums/ie/en-US/30ef3add-767c-4436-b8a9-f1ca19b4812e/ie9-rtm-xdomainrequest-issued-requests-may-abort-if-all-event-handlers-not-specified?forum=iewebdevelopment\n xhr.ontimeout = function() { /* noop */ };\n xhr.onprogress = function() { /* noop */ };\n\n xhr.open(req.method, req.url);\n\n if (req.timeout) {\n // If we use the normal XHR timeout mechanism (`xhr.timeout` and\n // `xhr.ontimeout`), `onreadystatechange` will be triggered before\n // `ontimeout`. There's no way to recognize that it was triggered by\n // a timeout, and we'd be unable to dispatch the right error.\n timeoutId = setTimeout(function() {\n req.timedOut = true;\n done();\n try {\n xhr.abort();\n } catch (err) {}\n }, req.timeout);\n }\n\n for (k in req.headers) {\n if (req.headers.hasOwnProperty(k)) {\n xhr.setRequestHeader(k, req.headers[k]);\n }\n }\n\n xhr.send(req.body);\n\n return req;\n }\n\n var method,\n methods = ['get', 'post', 'put', 'head', 'patch', 'delete'],\n verb = function(method) {\n return function(req, cb) {\n req = new Request(req);\n req.method = method;\n return http(req, cb);\n };\n };\n for (i = 0; i < methods.length; i++) {\n method = methods[i];\n http[method] = verb(method);\n }\n\n http.plugins = function() {\n return plugins;\n };\n\n http.defaults = function(newValues) {\n if (newValues) {\n return factory(extend(defaults, newValues), plugins);\n }\n return defaults;\n };\n\n http.use = function() {\n var newPlugins = Array.prototype.slice.call(arguments, 0);\n return factory(defaults, plugins.concat(newPlugins));\n };\n\n http.bare = function() {\n return factory();\n };\n\n http.Request = Request;\n http.Response = Response;\n http.RequestError = RequestError;\n\n return http;\n}\n\nmodule.exports = factory({}, [cleanURL]);\n\n/**\n * Analyze the request to see if it represents an error. If so, return it! An\n * original error object can be passed as a hint.\n */\nfunction getError(req, err) {\n if (req.aborted) return createError('Request aborted', req, {name: 'Abort'});\n\n if (req.timedOut) return createError('Request timeout', req, {name: 'Timeout'});\n\n var xhr = req.xhr;\n var type = Math.floor(xhr.status / 100);\n\n var kind;\n switch (type) {\n case 0:\n case 2:\n // These don't represent errors unless the function was passed an\n // error object explicitly.\n if (!err) return;\n return createError(err.message, req);\n case 4:\n // Sometimes 4XX statuses aren't errors.\n if (xhr.status === 404 && !req.errorOn404) return;\n kind = 'Client';\n break;\n case 5:\n kind = 'Server';\n break;\n default:\n kind = 'HTTP';\n }\n var msg = kind + ' Error: ' +\n 'The server returned a status of ' + xhr.status +\n ' for the request \"' +\n req.method.toUpperCase() + ' ' + req.url + '\"';\n return createError(msg, req);\n}\n","import 'setimmediate';\nimport json from 'httpplease/plugins/json';\nimport httpplease from 'httpplease';\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction deprecated(oldFunc, newFunc) {\n if (!newFunc) {\n console.warn(\"WARNING: \" + oldFunc + \" is deprecated.\");\n } else {\n console.warn(\"WARNING: \" + oldFunc + \" is deprecated. Please use \" + newFunc + \" instead.\");\n }\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n/**\n * Makes a query string.\n * @param {object} obj - an object of keys\n * @returns {string} a query string\n */\nfunction makeQueryString(obj) {\n var parts = Object.keys(obj).reduce(function (curr, key) {\n var val = Array.isArray(obj[key]) ? obj[key].join('+') : obj[key];\n curr.push(encodeURIComponent(key) + '=' + encodeURIComponent(val));\n return curr;\n }, []);\n\n if (parts.length) {\n return '?' + parts.join('&');\n }\n\n return '';\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n/**\n * Calls a function that returns a Promise until a condition is reached\n * @param {function} condition - while condition is true body will keep being called\n * @param {function} body - a function that is repeatedly called while condition is true\n * @returns {Promise} a Promise that resolves when the condition is no longer true\n */\nfunction promiseWhile(condition, body) {\n return new Promise(function (resolve, reject) {\n function loop() {\n body().then(function () {\n // When the result of calling `condition` is no longer true, we are\n // done.\n if (!condition()) {\n resolve();\n } else {\n loop();\n }\n }).catch(reject);\n }\n\n // Start running the loop in the next tick so that this function is\n // completely async. It would be unexpected if `body` was called\n // synchronously the first time.\n setImmediate(loop);\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nvar request = httpplease.use(json);\n\nfunction send(method, url, args) {\n return new Promise(function (resolve, reject) {\n request({ method: method, url: url, body: args }, function (err, res) {\n if (err) {\n var error = err && err.body && err.body.meta && err.body.meta.errorMessage ? new Error(err.body.meta.errorMessage) : err;\n error.status = err.status;\n reject(error);\n } else {\n resolve(res);\n }\n });\n });\n}\n\nfunction get(url) {\n return send('GET', url);\n}\n\nfunction post(url, args) {\n return send('POST', url, args);\n}\n\nvar asyncGenerator = function () {\n function AwaitValue(value) {\n this.value = value;\n }\n\n function AsyncGenerator(gen) {\n var front, back;\n\n function send(key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null\n };\n\n if (back) {\n back = back.next = request;\n } else {\n front = back = request;\n resume(key, arg);\n }\n });\n }\n\n function resume(key, arg) {\n try {\n var result = gen[key](arg);\n var value = result.value;\n\n if (value instanceof AwaitValue) {\n Promise.resolve(value.value).then(function (arg) {\n resume(\"next\", arg);\n }, function (arg) {\n resume(\"throw\", arg);\n });\n } else {\n settle(result.done ? \"return\" : \"normal\", result.value);\n }\n } catch (err) {\n settle(\"throw\", err);\n }\n }\n\n function settle(type, value) {\n switch (type) {\n case \"return\":\n front.resolve({\n value: value,\n done: true\n });\n break;\n\n case \"throw\":\n front.reject(value);\n break;\n\n default:\n front.resolve({\n value: value,\n done: false\n });\n break;\n }\n\n front = front.next;\n\n if (front) {\n resume(front.key, front.arg);\n } else {\n back = null;\n }\n }\n\n this._invoke = send;\n\n if (typeof gen.return !== \"function\") {\n this.return = undefined;\n }\n }\n\n if (typeof Symbol === \"function\" && Symbol.asyncIterator) {\n AsyncGenerator.prototype[Symbol.asyncIterator] = function () {\n return this;\n };\n }\n\n AsyncGenerator.prototype.next = function (arg) {\n return this._invoke(\"next\", arg);\n };\n\n AsyncGenerator.prototype.throw = function (arg) {\n return this._invoke(\"throw\", arg);\n };\n\n AsyncGenerator.prototype.return = function (arg) {\n return this._invoke(\"return\", arg);\n };\n\n return {\n wrap: function (fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n },\n await: function (value) {\n return new AwaitValue(value);\n }\n };\n}();\n\nvar toConsumableArray = function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n};\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nvar DEFAULT_BATCH_SIZE = 20;\n\nfunction findSegments(agent) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var options = Object.assign({}, opts);\n if (opts.limit === -1) {\n options.limit = options.batchSize || DEFAULT_BATCH_SIZE;\n delete options.batchSize;\n options.offset = 0;\n var segments = [];\n\n return promiseWhile(function () {\n return segments.length === options.limit;\n }, function () {\n return findSegments(agent, options).then(function (newSegments) {\n segments.push.apply(segments, toConsumableArray(newSegments));\n options.offset += options.limit;\n });\n }).then(function () {\n return segments;\n });\n }\n\n return get(agent.url + '/segments' + makeQueryString(opts)).then(function (res) {\n return res.body.map(function (obj) {\n return segmentify(agent, obj);\n });\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction getBranches(agent, prevLinkHash) {\n var tags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n deprecated('Agent#getBranches(agent, prevLinkHash, tags = [])', 'Agent#findSegments(agent, filter)');\n\n return findSegments(agent, { prevLinkHash: prevLinkHash, tags: tags });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction segmentify(agent, obj) {\n Object.keys(agent.agentInfo.actions).filter(function (key) {\n return ['init'].indexOf(key) < 0;\n }).forEach(function (key) {\n /*eslint-disable*/\n obj[key] = function () {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return post(agent.url + '/segments/' + obj.meta.linkHash + '/' + key, args).then(function (res) {\n return segmentify(agent, res.body);\n });\n };\n });\n\n /*eslint-disable*/\n obj.getPrev = function () {\n /*eslint-enable*/\n if (obj.link.meta.prevLinkHash) {\n return agent.getSegment(obj.link.meta.prevLinkHash);\n }\n\n return Promise.resolve(null);\n };\n\n // Deprecated.\n /*eslint-disable*/\n obj.load = function () {\n /*eslint-enable*/\n deprecated('segment#load()');\n return Promise.resolve(segmentify(agent, {\n link: JSON.parse(JSON.stringify(obj.link)),\n meta: JSON.parse(JSON.stringify(obj.meta))\n }));\n };\n\n // Deprecated.\n /*eslint-disable*/\n obj.getBranches = function () {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n /*eslint-enable*/\n return getBranches.apply(undefined, [agent, obj.meta.linkHash].concat(args));\n };\n\n return obj;\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction createMap(agent) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return post(agent.url + '/segments', args).then(function (res) {\n return segmentify(agent, res.body);\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction getSegment(agent, linkHash) {\n return get(agent.url + '/segments/' + linkHash).then(function (res) {\n return segmentify(agent, res.body);\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction getMapIds(agent) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return get(agent.url + '/maps' + makeQueryString(opts)).then(function (res) {\n return res.body;\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction getLink(agent, hash) {\n deprecated('Agent#getLink(agent, hash)', 'Agent#getSegment(agent, hash)');\n\n return getSegment(agent, hash);\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction getMap(agent, mapId) {\n var tags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n deprecated('getMap(agent, mapId, tags = [])', 'findSegments(agent, filter)');\n\n return findSegments(agent, { mapId: mapId, tags: tags });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n// Deprecated.\nfunction getAgent(url) {\n return get(url).then(function (res) {\n var agent = res.body;\n\n agent.url = url;\n agent.createMap = createMap.bind(null, agent);\n agent.getSegment = getSegment.bind(null, agent);\n agent.findSegments = findSegments.bind(null, agent);\n agent.getMapIds = getMapIds.bind(null, agent);\n\n // Deprecated.\n agent.getBranches = getBranches.bind(null, agent);\n agent.getLink = getLink.bind(null, agent);\n agent.getMap = getMap.bind(null, agent);\n\n return agent;\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction fromSegment(obj) {\n return getAgent(obj.meta.agentUrl || obj.meta.applicationLocation).then(function (agent) {\n var segment = segmentify(agent, obj);\n return { agent: agent, segment: segment };\n });\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\n// Deprecated.\nvar config = {\n applicationUrl: 'https://%s.stratumn.rocks'\n};\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction getApplication(name, url) {\n deprecated('getApplication(name, url)', 'getAgent(url)');\n\n return getAgent(url || config.applicationUrl.replace('%s', name));\n}\n\n/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nfunction loadLink(obj) {\n deprecated('loadLink(obj)', 'fromSegment(obj)');\n\n return fromSegment(obj).then(function (_ref) {\n var segment = _ref.segment;\n return segment;\n });\n}\n\nexport { getAgent, fromSegment, getApplication, loadLink, config };\n//# sourceMappingURL=stratumn-agent-client.mjs.map\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport merge from 'deepmerge';\nimport { loadLink } from 'stratumn-agent-client';\n\nexport default function resolveLinks(segments) {\n return Promise.all(segments.map(segment => {\n if (!segment.link.state) {\n return loadLink(segment).then(res => merge(res, segment));\n }\n return Promise.resolve(segment);\n }));\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nexport default function wrap(arrayOrObject) {\n if (arrayOrObject instanceof Array) {\n return arrayOrObject;\n }\n return [arrayOrObject];\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nexport default function parseIfJson(object) {\n if (typeof(object) !== 'object') {\n object = JSON.parse(object);\n }\n return object;\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nexport default function flatten(arr) {\n const flat = [].concat(...arr);\n return flat.some(Array.isArray) ? flatten(flat) : flat;\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport flatten from './flatten';\n\nexport default function tagsSet(chainscript) {\n return new Set(flatten(chainscript.map(segment => segment.link.meta.tags)));\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport ChainTree from './ChainTree';\nimport compactHash from './compactHash';\nimport resolveLinks from './resolveLinks';\nimport wrap from './wrap';\nimport parseIfJson from './parseIfJson';\nimport tagsSet from './tagsSet';\nimport { getAgent } from 'stratumn-agent-client';\n\nexport const defaultOptions = {\n withArgs: false,\n duration: 750,\n verticalSpacing: 1.2,\n polygonSize: { width: 78, height: 91 },\n getBoxSize() {\n const self = this;\n return { width: self.polygonSize.width, height: 25 };\n },\n getArrowLength() {\n return this.polygonSize.width;\n },\n getSegmentText(node) {\n return compactHash(node.data.meta.linkHash);\n },\n getLinkText(node) {\n return node.target.data.link.meta.action +\n (this.withArgs ? `(${node.target.data.link.meta.arguments.join(', ')})` : '');\n },\n onclick() {},\n onTag() {}\n};\n\nexport default class ChainTreeBuilder {\n constructor(element) {\n this.chainTree = new ChainTree(element);\n }\n\n build(map, options) {\n this.onTag = options.onTag;\n if (map.id && map.applicationUrl) {\n return this._load(map).then(segments => this._display(segments, options));\n } else if (map.chainscript && map.chainscript.length) {\n try {\n return resolveLinks(wrap(parseIfJson(map.chainscript)))\n .then(segments => this._display(segments, options));\n } catch (err) {\n return Promise.reject(err);\n }\n }\n return Promise.resolve();\n }\n\n _display(segments, options) {\n this.chainTree.display(segments, { ...defaultOptions, ...options });\n this._notifyTags(segments);\n return segments;\n }\n\n _notifyTags(chainscript) {\n tagsSet(chainscript).forEach(this.onTag);\n }\n\n _load(map) {\n return getAgent(map.applicationUrl)\n .then(app => app.findSegments({ mapId: map.id, limit: -1 }))\n .catch(res => console.log(res));\n }\n}\n","\n/*\nThe original version of this code is taken from Douglas Crockford's json2.js:\nhttps://github.com/douglascrockford/JSON-js/blob/master/json2.js\n\nI made some modifications to ensure a canonical output.\n*/\n\nfunction f(n) {\n // Format integers to have at least two digits.\n return n < 10 ? '0' + n : n;\n}\n\nvar cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\n\nfunction quote(string) {\n\n// If the string contains no control characters, no quote characters, and no\n// backslash characters, then we can safely slap some quotes around it.\n// Otherwise we must also replace the offending characters with safe escape\n// sequences.\n\n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string'\n ? c\n : '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\n\nfunction str(key, holder) {\n\n// Produce a string from holder[key].\n\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n\n// If the value has a toJSON method, call it to obtain a replacement value.\n\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n\n// If we were called with a replacer function, then call the replacer to\n// obtain a replacement value.\n\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n\n// What happens next depends on the value's type.\n\n switch (typeof value) {\n case 'string':\n return quote(value);\n\n case 'number':\n\n// JSON numbers must be finite. Encode non-finite numbers as null.\n\n return isFinite(value) ? String(value) : 'null';\n\n case 'boolean':\n case 'null':\n\n// If the value is a boolean or null, convert it to a string. Note:\n// typeof null does not produce 'null'. The case is included here in\n// the remote chance that this gets fixed someday.\n\n return String(value);\n\n// If the type is 'object', we might be dealing with an object or an array or\n// null.\n\n case 'object':\n\n// Due to a specification blunder in ECMAScript, typeof null is 'object',\n// so watch out for that case.\n\n if (!value) {\n return 'null';\n }\n\n// Make an array to hold the partial results of stringifying this object value.\n\n gap += indent;\n partial = [];\n\n// Is the value an array?\n\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n\n// The value is an array. Stringify every element. Use null as a placeholder\n// for non-JSON values.\n\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n\n// Join all of the elements together, separated with commas, and wrap them in\n// brackets.\n\n v = partial.length === 0\n ? '[]'\n : gap\n ? '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']'\n : '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n\n// If the replacer is an array, use it to select the members to be stringified.\n\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n if (typeof rep[i] === 'string') {\n k = rep[i];\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n } else {\n\n// Otherwise, iterate through all of the keys in the object.\n var keysSorted = Object.keys(value).sort()\n for (i in keysSorted) {\n k = keysSorted[i]\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n\n// Join all of the member texts together, separated with commas,\n// and wrap them in braces.\n\n v = partial.length === 0\n ? '{}'\n : gap\n ? '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}'\n : '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\n// If the JSON object does not yet have a stringify method, give it one.\nvar stringify = function (value, replacer, space) {\n\n// The stringify method takes a value and an optional replacer, and an optional\n// space parameter, and returns a JSON text. The replacer can be a function\n// that can replace values, or an array of strings that will select the keys.\n// A default replacer method can be provided. Use of the space parameter can\n// produce text that is more easily readable.\n\n var i;\n gap = '';\n indent = '';\n\n// If the space parameter is a number, make an indent string containing that\n// many spaces.\n\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n\n// If the space parameter is a string, it will be used as the indent string.\n\n } else if (typeof space === 'string') {\n indent = space;\n }\n\n// If there is a replacer, it must be a function or an array.\n// Otherwise, throw an error.\n\n rep = replacer;\n if (replacer && typeof replacer !== 'function' &&\n (typeof replacer !== 'object' ||\n typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n\n// Make a fake root object containing our value under the key of ''.\n// Return the result of stringifying the value.\n\n return str('', {'': value});\n};\n\nmodule.exports = stringify\n","/**\n * [js-sha256]{@link https://github.com/emn178/js-sha256}\n *\n * @version 0.3.2\n * @author Chen, Yi-Cyuan [emn178@gmail.com]\n * @copyright Chen, Yi-Cyuan 2014-2016\n * @license MIT\n */\n(function (root) {\n 'use strict';\n\n var NODE_JS = typeof process == 'object' && process.versions && process.versions.node;\n if (NODE_JS) {\n root = global;\n }\n var COMMON_JS = !root.JS_SHA256_TEST && typeof module == 'object' && module.exports;\n var HEX_CHARS = '0123456789abcdef'.split('');\n var EXTRA = [-2147483648, 8388608, 32768, 128];\n var SHIFT = [24, 16, 8, 0];\n var K =[0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,\n 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,\n 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,\n 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,\n 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,\n 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,\n 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2];\n\n var blocks = [];\n\n var sha224 = function (message) {\n return sha256(message, true);\n };\n\n var sha256 = function (message, is224) {\n var notString = typeof message != 'string';\n if (notString && message.constructor == root.ArrayBuffer) {\n message = new Uint8Array(message);\n }\n\n var h0, h1, h2, h3, h4, h5, h6, h7, block, code, first = true, end = false,\n i, j, index = 0, start = 0, bytes = 0, length = message.length,\n s0, s1, maj, t1, t2, ch, ab, da, cd, bc;\n\n if (is224) {\n h0 = 0xc1059ed8;\n h1 = 0x367cd507;\n h2 = 0x3070dd17;\n h3 = 0xf70e5939;\n h4 = 0xffc00b31;\n h5 = 0x68581511;\n h6 = 0x64f98fa7;\n h7 = 0xbefa4fa4;\n } else { // 256\n h0 = 0x6a09e667;\n h1 = 0xbb67ae85;\n h2 = 0x3c6ef372;\n h3 = 0xa54ff53a;\n h4 = 0x510e527f;\n h5 = 0x9b05688c;\n h6 = 0x1f83d9ab;\n h7 = 0x5be0cd19;\n }\n block = 0;\n do {\n blocks[0] = block;\n blocks[16] = blocks[1] = blocks[2] = blocks[3] =\n blocks[4] = blocks[5] = blocks[6] = blocks[7] =\n blocks[8] = blocks[9] = blocks[10] = blocks[11] =\n blocks[12] = blocks[13] = blocks[14] = blocks[15] = 0;\n if (notString) {\n for (i = start;index < length && i < 64;++index) {\n blocks[i >> 2] |= message[index] << SHIFT[i++ & 3];\n }\n } else {\n for (i = start;index < length && i < 64;++index) {\n code = message.charCodeAt(index);\n if (code < 0x80) {\n blocks[i >> 2] |= code << SHIFT[i++ & 3];\n } else if (code < 0x800) {\n blocks[i >> 2] |= (0xc0 | (code >> 6)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | (code & 0x3f)) << SHIFT[i++ & 3];\n } else if (code < 0xd800 || code >= 0xe000) {\n blocks[i >> 2] |= (0xe0 | (code >> 12)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | ((code >> 6) & 0x3f)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | (code & 0x3f)) << SHIFT[i++ & 3];\n } else {\n code = 0x10000 + (((code & 0x3ff) << 10) | (message.charCodeAt(++index) & 0x3ff));\n blocks[i >> 2] |= (0xf0 | (code >> 18)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | ((code >> 12) & 0x3f)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | ((code >> 6) & 0x3f)) << SHIFT[i++ & 3];\n blocks[i >> 2] |= (0x80 | (code & 0x3f)) << SHIFT[i++ & 3];\n }\n }\n }\n bytes += i - start;\n start = i - 64;\n if (index == length) {\n blocks[i >> 2] |= EXTRA[i & 3];\n ++index;\n }\n block = blocks[16];\n if (index > length && i < 56) {\n blocks[15] = bytes << 3;\n end = true;\n }\n\n var a = h0, b = h1, c = h2, d = h3, e = h4, f = h5, g = h6, h = h7;\n for (j = 16;j < 64;++j) {\n // rightrotate\n t1 = blocks[j - 15];\n s0 = ((t1 >>> 7) | (t1 << 25)) ^ ((t1 >>> 18) | (t1 << 14)) ^ (t1 >>> 3);\n t1 = blocks[j - 2];\n s1 = ((t1 >>> 17) | (t1 << 15)) ^ ((t1 >>> 19) | (t1 << 13)) ^ (t1 >>> 10);\n blocks[j] = blocks[j - 16] + s0 + blocks[j - 7] + s1 << 0;\n }\n\n bc = b & c;\n for (j = 0;j < 64;j += 4) {\n if (first) {\n if (is224) {\n ab = 300032;\n t1 = blocks[0] - 1413257819;\n h = t1 - 150054599 << 0;\n d = t1 + 24177077 << 0;\n } else {\n ab = 704751109;\n t1 = blocks[0] - 210244248;\n h = t1 - 1521486534 << 0;\n d = t1 + 143694565 << 0;\n }\n first = false;\n } else {\n s0 = ((a >>> 2) | (a << 30)) ^ ((a >>> 13) | (a << 19)) ^ ((a >>> 22) | (a << 10));\n s1 = ((e >>> 6) | (e << 26)) ^ ((e >>> 11) | (e << 21)) ^ ((e >>> 25) | (e << 7));\n ab = a & b;\n maj = ab ^ (a & c) ^ bc;\n ch = (e & f) ^ (~e & g);\n t1 = h + s1 + ch + K[j] + blocks[j];\n t2 = s0 + maj;\n h = d + t1 << 0;\n d = t1 + t2 << 0;\n }\n s0 = ((d >>> 2) | (d << 30)) ^ ((d >>> 13) | (d << 19)) ^ ((d >>> 22) | (d << 10));\n s1 = ((h >>> 6) | (h << 26)) ^ ((h >>> 11) | (h << 21)) ^ ((h >>> 25) | (h << 7));\n da = d & a;\n maj = da ^ (d & b) ^ ab;\n ch = (h & e) ^ (~h & f);\n t1 = g + s1 + ch + K[j + 1] + blocks[j + 1];\n t2 = s0 + maj;\n g = c + t1 << 0;\n c = t1 + t2 << 0;\n s0 = ((c >>> 2) | (c << 30)) ^ ((c >>> 13) | (c << 19)) ^ ((c >>> 22) | (c << 10));\n s1 = ((g >>> 6) | (g << 26)) ^ ((g >>> 11) | (g << 21)) ^ ((g >>> 25) | (g << 7));\n cd = c & d;\n maj = cd ^ (c & a) ^ da;\n ch = (g & h) ^ (~g & e);\n t1 = f + s1 + ch + K[j + 2] + blocks[j + 2];\n t2 = s0 + maj;\n f = b + t1 << 0;\n b = t1 + t2 << 0;\n s0 = ((b >>> 2) | (b << 30)) ^ ((b >>> 13) | (b << 19)) ^ ((b >>> 22) | (b << 10));\n s1 = ((f >>> 6) | (f << 26)) ^ ((f >>> 11) | (f << 21)) ^ ((f >>> 25) | (f << 7));\n bc = b & c;\n maj = bc ^ (b & d) ^ cd;\n ch = (f & g) ^ (~f & h);\n t1 = e + s1 + ch + K[j + 3] + blocks[j + 3];\n t2 = s0 + maj;\n e = a + t1 << 0;\n a = t1 + t2 << 0;\n }\n\n h0 = h0 + a << 0;\n h1 = h1 + b << 0;\n h2 = h2 + c << 0;\n h3 = h3 + d << 0;\n h4 = h4 + e << 0;\n h5 = h5 + f << 0;\n h6 = h6 + g << 0;\n h7 = h7 + h << 0;\n } while (!end);\n\n var hex = HEX_CHARS[(h0 >> 28) & 0x0F] + HEX_CHARS[(h0 >> 24) & 0x0F] +\n HEX_CHARS[(h0 >> 20) & 0x0F] + HEX_CHARS[(h0 >> 16) & 0x0F] +\n HEX_CHARS[(h0 >> 12) & 0x0F] + HEX_CHARS[(h0 >> 8) & 0x0F] +\n HEX_CHARS[(h0 >> 4) & 0x0F] + HEX_CHARS[h0 & 0x0F] +\n HEX_CHARS[(h1 >> 28) & 0x0F] + HEX_CHARS[(h1 >> 24) & 0x0F] +\n HEX_CHARS[(h1 >> 20) & 0x0F] + HEX_CHARS[(h1 >> 16) & 0x0F] +\n HEX_CHARS[(h1 >> 12) & 0x0F] + HEX_CHARS[(h1 >> 8) & 0x0F] +\n HEX_CHARS[(h1 >> 4) & 0x0F] + HEX_CHARS[h1 & 0x0F] +\n HEX_CHARS[(h2 >> 28) & 0x0F] + HEX_CHARS[(h2 >> 24) & 0x0F] +\n HEX_CHARS[(h2 >> 20) & 0x0F] + HEX_CHARS[(h2 >> 16) & 0x0F] +\n HEX_CHARS[(h2 >> 12) & 0x0F] + HEX_CHARS[(h2 >> 8) & 0x0F] +\n HEX_CHARS[(h2 >> 4) & 0x0F] + HEX_CHARS[h2 & 0x0F] +\n HEX_CHARS[(h3 >> 28) & 0x0F] + HEX_CHARS[(h3 >> 24) & 0x0F] +\n HEX_CHARS[(h3 >> 20) & 0x0F] + HEX_CHARS[(h3 >> 16) & 0x0F] +\n HEX_CHARS[(h3 >> 12) & 0x0F] + HEX_CHARS[(h3 >> 8) & 0x0F] +\n HEX_CHARS[(h3 >> 4) & 0x0F] + HEX_CHARS[h3 & 0x0F] +\n HEX_CHARS[(h4 >> 28) & 0x0F] + HEX_CHARS[(h4 >> 24) & 0x0F] +\n HEX_CHARS[(h4 >> 20) & 0x0F] + HEX_CHARS[(h4 >> 16) & 0x0F] +\n HEX_CHARS[(h4 >> 12) & 0x0F] + HEX_CHARS[(h4 >> 8) & 0x0F] +\n HEX_CHARS[(h4 >> 4) & 0x0F] + HEX_CHARS[h4 & 0x0F] +\n HEX_CHARS[(h5 >> 28) & 0x0F] + HEX_CHARS[(h5 >> 24) & 0x0F] +\n HEX_CHARS[(h5 >> 20) & 0x0F] + HEX_CHARS[(h5 >> 16) & 0x0F] +\n HEX_CHARS[(h5 >> 12) & 0x0F] + HEX_CHARS[(h5 >> 8) & 0x0F] +\n HEX_CHARS[(h5 >> 4) & 0x0F] + HEX_CHARS[h5 & 0x0F] +\n HEX_CHARS[(h6 >> 28) & 0x0F] + HEX_CHARS[(h6 >> 24) & 0x0F] +\n HEX_CHARS[(h6 >> 20) & 0x0F] + HEX_CHARS[(h6 >> 16) & 0x0F] +\n HEX_CHARS[(h6 >> 12) & 0x0F] + HEX_CHARS[(h6 >> 8) & 0x0F] +\n HEX_CHARS[(h6 >> 4) & 0x0F] + HEX_CHARS[h6 & 0x0F];\n if (!is224) {\n hex += HEX_CHARS[(h7 >> 28) & 0x0F] + HEX_CHARS[(h7 >> 24) & 0x0F] +\n HEX_CHARS[(h7 >> 20) & 0x0F] + HEX_CHARS[(h7 >> 16) & 0x0F] +\n HEX_CHARS[(h7 >> 12) & 0x0F] + HEX_CHARS[(h7 >> 8) & 0x0F] +\n HEX_CHARS[(h7 >> 4) & 0x0F] + HEX_CHARS[h7 & 0x0F];\n }\n return hex;\n };\n \n if (COMMON_JS) {\n sha256.sha256 = sha256;\n sha256.sha224 = sha224;\n module.exports = sha256;\n } else if (root) {\n root.sha256 = sha256;\n root.sha224 = sha224;\n }\n}(this));\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport stringify from 'canonical-json';\nimport sha256 from 'js-sha256';\n\n/**\n * Canonically hashes a json object.\n * @param {Object} obj the json object\n */\nexport default function hashJson(obj) {\n return sha256(stringify(obj));\n}\n","\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\nvar inited = false;\nfunction init () {\n inited = true;\n var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\n for (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n }\n\n revLookup['-'.charCodeAt(0)] = 62\n revLookup['_'.charCodeAt(0)] = 63\n}\n\nexport function toByteArray (b64) {\n if (!inited) {\n init();\n }\n var i, j, l, tmp, placeHolders, arr\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // the number of equal signs (place holders)\n // if there are two placeholders, than the two characters before it\n // represent one byte\n // if there is only one, then the three characters before it represent 2 bytes\n // this is just a cheap hack to not do indexOf twice\n placeHolders = b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0\n\n // base64 is 4/3 + up to two characters of the original data\n arr = new Arr(len * 3 / 4 - placeHolders)\n\n // if there are placeholders, only get up to the last complete 4 chars\n l = placeHolders > 0 ? len - 4 : len\n\n var L = 0\n\n for (i = 0, j = 0; i < l; i += 4, j += 3) {\n tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)]\n arr[L++] = (tmp >> 16) & 0xFF\n arr[L++] = (tmp >> 8) & 0xFF\n arr[L++] = tmp & 0xFF\n }\n\n if (placeHolders === 2) {\n tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[L++] = tmp & 0xFF\n } else if (placeHolders === 1) {\n tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[L++] = (tmp >> 8) & 0xFF\n arr[L++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nexport function fromByteArray (uint8) {\n if (!inited) {\n init();\n }\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var output = ''\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n output += lookup[tmp >> 2]\n output += lookup[(tmp << 4) & 0x3F]\n output += '=='\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + (uint8[len - 1])\n output += lookup[tmp >> 10]\n output += lookup[(tmp >> 4) & 0x3F]\n output += lookup[(tmp << 2) & 0x3F]\n output += '='\n }\n\n parts.push(output)\n\n return parts.join('')\n}\n","\nexport function read (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexport function write (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","var toString = {}.toString;\n\nexport default Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\nimport * as base64 from './base64'\nimport * as ieee754 from './ieee754'\nimport isArray from './isArray'\n\nexport var INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : true\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nvar _kMaxLength = kMaxLength()\nexport {_kMaxLength as kMaxLength};\nfunction typedArraySupport () {\n return true;\n // rollup issues\n // try {\n // var arr = new Uint8Array(1)\n // arr.__proto__ = {\n // __proto__: Uint8Array.prototype,\n // foo: function () { return 42 }\n // }\n // return arr.foo() === 42 && // typed array instances can be augmented\n // typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n // arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n // } catch (e) {\n // return false\n // }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nexport function Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n // Object.defineProperty(Buffer, Symbol.species, {\n // value: null,\n // configurable: true\n // })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (internalIsBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nexport function SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\nBuffer.isBuffer = isBuffer;\nfunction internalIsBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!internalIsBuffer(a) || !internalIsBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!internalIsBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (internalIsBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!internalIsBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return '<Buffer ' + str + '>'\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!internalIsBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (internalIsBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!internalIsBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = internalIsBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n\n// the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nexport function isBuffer(obj) {\n return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj))\n}\n\nfunction isFastBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0))\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport sha256 from 'js-sha256';\nimport { Buffer } from 'buffer';\n\nexport default function computeMerkleParent(left, right) {\n if (right) {\n return sha256(\n Buffer.concat([new Buffer(left, 'hex'), new Buffer(right, 'hex')])\n );\n }\n return left;\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport hashJson from './hashJson';\nimport httpplease from 'httpplease';\n\nimport computeMerkleParent from './computeMerkleParent';\n\nconst blockCypherCache = {};\n\nexport default class SegmentValidator {\n\n constructor(segment) {\n this.segment = segment;\n }\n\n validate(errors) {\n errors.linkHash.push(this._validateLinkHash());\n errors.stateHash.push(this._validateStateHash());\n errors.merklePath.push(this._validateMerklePath());\n errors.fossil.push(this._validateFossil());\n }\n\n _validateLinkHash() {\n const computed = hashJson(this.segment.link);\n const actual = this.segment.meta.linkHash;\n if (computed !== actual) {\n return `LinkHash computed: ${computed}, Found: ${actual}`;\n }\n return null;\n }\n\n _validateStateHash() {\n if (this.segment.link.state) {\n const computed = hashJson(this.segment.link.state);\n const actual = this.segment.link.meta.stateHash;\n if (computed !== actual) {\n return `StateHash computed: ${computed}, Found: ${actual}`;\n }\n }\n return null;\n }\n\n _validateMerklePath() {\n const evidence = this.segment.meta.evidence;\n if (evidence) {\n if (evidence.state === 'COMPLETE') {\n let previous = this.segment.meta.linkHash;\n\n let error;\n evidence.merklePath.every((merkleNode) => {\n if (merkleNode.left === previous || merkleNode.right === previous) {\n const computedParent = computeMerkleParent(merkleNode.left, merkleNode.right);\n\n if (computedParent !== merkleNode.parent) {\n error = `Invalid Merkle Node ${JSON.stringify(merkleNode)}: `\n + `computed parent: ${computedParent}`;\n return false;\n }\n previous = merkleNode.parent;\n return true;\n }\n error = `Invalid Merkle Node ${JSON.stringify(merkleNode)}: `\n + `previous hash (${previous}) not found`;\n return false;\n });\n\n if (error) {\n return error;\n }\n\n const lastMerkleNode = evidence.merklePath[evidence.merklePath.length - 1];\n if (lastMerkleNode.parent !== evidence.merkleRoot) {\n return `Invalid Merkle Root ${evidence.merkleRoot}: not found in Merkle Path`;\n }\n }\n }\n return null;\n }\n\n _validateFossil() {\n const txId = this.segment.meta.evidence.transactions['bitcoin:main'];\n return this._getFossil(txId)\n .then(res => {\n const body = JSON.parse(res.xhr.response);\n if (!body.outputs.find(\n output => output.data_hex === this.segment.meta.evidence.merkleRoot)) {\n return 'Merkle root not found in transaction data';\n }\n return null;\n });\n }\n\n _getFossil(txId) {\n if (blockCypherCache[txId]) {\n return Promise.resolve(blockCypherCache[txId]);\n }\n\n const p = new Promise((resolve, reject) =>\n httpplease.get(`https://api.blockcypher.com/v1/btc/main/txs/${txId}`, (err, res) =>\n (err ? reject(err) : resolve(res))\n )\n );\n blockCypherCache[txId] = p;\n return p;\n }\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport SegmentValidator from './SegmentValidator';\nimport resolveLinks from './resolveLinks';\nimport wrap from './wrap';\nimport parseIfJson from './parseIfJson';\n\nexport default class ChainValidator {\n constructor(chainscript) {\n this.chainscript = chainscript;\n this.errors = {\n linkHash: [],\n stateHash: [],\n merklePath: [],\n fossil: []\n };\n }\n\n validate() {\n try {\n return resolveLinks(wrap(parseIfJson(this.chainscript)))\n .then(segments => {\n wrap(segments).forEach(segment => new SegmentValidator(segment).validate(this.errors));\n return this.errors;\n });\n } catch (err) {\n return Promise.reject(err);\n }\n }\n}\n","/*\n Copyright 2017 Stratumn SAS. All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\nimport { makeLink, translate } from './treeUtils';\nimport compactHash from './compactHash';\n\nimport { tree, stratify } from 'd3-hierarchy';\nimport { select } from 'd3-selection';\n\nconst margin = { top: 10, right: 5, bottom: 20, left: 5 };\nconst height = 350 - margin.top - margin.bottom;\nconst width = 400 - margin.left - margin.right;\n\nexport default class MerklePathTree {\n constructor(element) {\n this.tree = tree().size([width, height]);\n this.svg = select(element).append('svg')\n .attr('width', width + margin.right + margin.left)\n .attr('height', height + margin.top + margin.bottom);\n this.innerG = this.svg.append('g')\n .attr('transform', () => translate(margin.top, margin.left));\n this.root = null;\n }\n\n display(merklePath) {\n if (merklePath && merklePath.length) {\n this.root = this._parse(merklePath);\n this._update(this.root.descendants(), this.root.links());\n } else {\n this.root = null;\n this._update([], []);\n }\n }\n\n _parse(merklePath) {\n const nodes = [];\n\n merklePath.forEach((path, index) => {\n nodes.push({\n id: `${path.left}-${index}`,\n name: path.left,\n parentId: `${path.parent}-${index + 1}`\n });\n if (path.right) {\n nodes.push({\n id: `${path.right}-${index}`,\n name: path.right,\n parentId: `${path.parent}-${index + 1}`\n });\n }\n });\n\n const root = merklePath[merklePath.length - 1].parent;\n nodes.push({\n id: `${root}-${merklePath.length}`,\n name: root\n });\n\n return stratify()(nodes);\n }\n\n _update(nodes, links) {\n // Compute the new tree layout.\n if (this.root) {\n this.tree(this.root);\n }\n\n // Update the nodes…\n const node = this.innerG.selectAll('g.node').data(nodes,\n function key(d) { return d ? d.id : this.id; });\n\n // Enter any new nodes at the parent's previous position.\n const nodeEnter = node.enter().append('g')\n .attr('class', 'node')\n .attr('transform', d => translate(d.y, d.x));\n\n nodeEnter.append('circle').attr('r', 10);\n\n nodeEnter.append('text')\n .attr('dx', 0)\n .attr('dy', 5)\n .attr('text-anchor', 'middle')\n .text(d => compactHash(d.data.name));\n\n nodeEnter\n .on('mouseover', function go(d) {\n select(this).select('text').text(d.data.name);\n })\n .on('mouseout', function go(d) {\n select(this).select('text').text(compactHash(d.data.name));\n });\n\n node.exit().remove();\n\n // Update the links...\n const link = this.innerG.selectAll('path.link').data(links,\n function key(d) { return d ? d.target.id : this.id; });\n\n // Enter any new links at the parent's previous position.\n link.enter().insert('path', 'g')\n .attr('class', 'link')\n .attr('id', d => d.target.id)\n .attr('d', d => makeLink({ x: d.source.y, y: d.source.x }, { x: d.target.y, y: d.target.x }));\n\n // Transition exiting nodes to the parent's new position.\n link.exit().remove();\n }\n}\n"],"names":["makeLink","source","target","margin","finalTarget","targetX","x","targetY","y","finalLink","d","translate","parseChainscript","chainscript","stratify","id","meta","linkHash","parentId","link","prevLinkHash","top","right","bottom","left","height","ChainTree","element","tree","svg","select","append","innerG","zoomed","attr","event","transform","options","length","root","_update","self","polygon","polygonSize","nodes","descendants","links","maxDepth","max","depth","computedWidth","Math","width","getArrowLength","treeTransition","transition","duration","ease","easeLinear","branchesCount","reduce","pre","cur","children","computedHeight","verticalSpacing","size","zoomable","x0","y0","each","call","zoom","on","selectAll","data","key","enter","insert","text","getLinkText","linkUpdate","exit","remove","node","nodeEnter","concat","tags","join","origin","parent","onClick","classed","onclick","getBoxSize","style","getSegmentText","nodeUpdate","nodeExit","_drawInit","hash","slice","this","global","config","process.nextTick","commonjsHelpers.commonjsGlobal","commonjsHelpers.interopDefault","json","get","asyncGenerator","toConsumableArray","resolveLinks","segments","Promise","all","map","segment","state","loadLink","then","merge","res","resolve","wrap","arrayOrObject","Array","parseIfJson","object","JSON","parse","flatten","arr","flat","some","isArray","tagsSet","Set","defaultOptions","compactHash","action","withArgs","arguments","ChainTreeBuilder","chainTree","onTag","applicationUrl","_load","_display","err","reject","display","_notifyTags","forEach","getAgent","app","findSegments","mapId","limit","catch","console","log","hashJson","obj","sha256","stringify","base64.fromByteArray","ieee754.read","ieee754.write","base64.toByteArray","computeMerkleParent","Buffer","blockCypherCache","SegmentValidator","errors","push","_validateLinkHash","stateHash","_validateStateHash","merklePath","_validateMerklePath","fossil","_validateFossil","computed","actual","evidence","previous","error","every","merkleNode","computedParent","lastMerkleNode","merkleRoot","txId","transactions","_getFossil","body","xhr","response","outputs","find","output","data_hex","p","httpplease","ChainValidator","validate","MerklePathTree","_parse","path","index","name","go"],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;AAgBA,AAAO,SAASA,QAAT,CAAkBC,MAAlB,EAA0BC,MAA1B,EAA8C;MAAZC,MAAY,uEAAH,CAAG;;MAC7CC,cAAcF,UAAUD,MAA9B;MACMI,UAAUD,YAAYE,CAA5B;MACMC,UAAUH,YAAYI,CAAZ,GAAgBL,MAAhC;eACWF,OAAOO,CAAlB,SAAuBP,OAAOK,CAA9B,eACK,CAACL,OAAOO,C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ET,MAAF,CAASK,CAA7B,EAAT,EAA2C,EAAEA,GAAGI,EAAER,MAAF,CAASM,CAAd,EAAiBA,GAAGE,EAAER,MAAF,CAASI,CAA7B,EAA3C,CAAL;OAHb;;;WAMK4E,IAAL,GAAYC,MAAZ;;;;;;;;;;;;;;;;;;"}
@@ -12,11 +12,12 @@ module.exports = function(config) {
12
12
  basePath: '',
13
13
 
14
14
  // frameworks to use
15
- frameworks: ['mocha', 'should', 'sinon'],
15
+ frameworks: ['mocha', 'should'],
16
16
 
17
17
 
18
18
  // list of files / patterns to load in the browser
19
19
  files: [
20
+ 'test/integration/init.js',
20
21
  'bower_components/babel-polyfill/browser-polyfill.js',
21
22
  'bower_components/d3/d3.js',
22
23
  'dist/mapexplorer-core.js',
@@ -24,6 +25,7 @@ module.exports = function(config) {
24
25
  ],
25
26
 
26
27
  preprocessors: {
28
+ 'test/integration/init.js': ['rollup'],
27
29
  'test/integration/*.test.js': ['rollup']
28
30
  },
29
31
 
@@ -103,7 +105,7 @@ module.exports = function(config) {
103
105
  singleRun: false
104
106
  });
105
107
 
106
- if (process.env.TRAVIS){
108
+ if (process.env.TRAVIS) {
107
109
  config.set({
108
110
  browsers: ['TravisCI_Chrome', 'PhantomJS'],
109
111
  customLaunchers: {
@@ -0,0 +1,3486 @@
1
+ {
2
+ "name": "mapexplorer-core",
3
+ "version": "1.1.4",
4
+ "lockfileVersion": 1,
5
+ "dependencies": {
6
+ "accepts": {
7
+ "version": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz",
8
+ "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=",
9
+ "dev": true
10
+ },
11
+ "acorn": {
12
+ "version": "https://registry.npmjs.org/acorn/-/acorn-4.0.4.tgz",
13
+ "integrity": "sha1-F6jWp6bE71OLgU7Jq6wneSk78wo=",
14
+ "dev": true
15
+ },
16
+ "acorn-jsx": {
17
+ "version": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz",
18
+ "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=",
19
+ "dev": true,
20
+ "dependencies": {
21
+ "acorn": {
22
+ "version": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz",
23
+ "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=",
24
+ "dev": true
25
+ }
26
+ }
27
+ },
28
+ "after": {
29
+ "version": "https://registry.npmjs.org/after/-/after-0.8.2.tgz",
30
+ "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=",
31
+ "dev": true
32
+ },
33
+ "ajv": {
34
+ "version": "https://registry.npmjs.org/ajv/-/ajv-4.11.5.tgz",
35
+ "integrity": "sha1-tu50ZXuZOgHc5Et5RNVvSFgo1b0=",
36
+ "dev": true
37
+ },
38
+ "ajv-keywords": {
39
+ "version": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz",
40
+ "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=",
41
+ "dev": true
42
+ },
43
+ "ansi-escapes": {
44
+ "version": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz",
45
+ "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=",
46
+ "dev": true
47
+ },
48
+ "ansi-regex": {
49
+ "version": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
50
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
51
+ "dev": true
52
+ },
53
+ "ansi-styles": {
54
+ "version": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
55
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
56
+ "dev": true
57
+ },
58
+ "anymatch": {
59
+ "version": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.0.tgz",
60
+ "integrity": "sha1-o+Uvo5FoyCX/V7AkgSbOWo/5VQc=",
61
+ "dev": true
62
+ },
63
+ "argparse": {
64
+ "version": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz",
65
+ "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=",
66
+ "dev": true
67
+ },
68
+ "arr-diff": {
69
+ "version": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
70
+ "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
71
+ "dev": true
72
+ },
73
+ "arr-flatten": {
74
+ "version": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.0.1.tgz",
75
+ "integrity": "sha1-5f/lTUXhnzLyFukeuZyM6JK7YEs=",
76
+ "dev": true
77
+ },
78
+ "array-slice": {
79
+ "version": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz",
80
+ "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=",
81
+ "dev": true
82
+ },
83
+ "array-union": {
84
+ "version": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
85
+ "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",
86
+ "dev": true
87
+ },
88
+ "array-uniq": {
89
+ "version": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
90
+ "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",
91
+ "dev": true
92
+ },
93
+ "array-unique": {
94
+ "version": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
95
+ "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
96
+ "dev": true
97
+ },
98
+ "arraybuffer.slice": {
99
+ "version": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz",
100
+ "integrity": "sha1-8zshWfBTKj8xB6JywMz70a0peco=",
101
+ "dev": true
102
+ },
103
+ "arrify": {
104
+ "version": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
105
+ "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
106
+ "dev": true
107
+ },
108
+ "asn1": {
109
+ "version": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
110
+ "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=",
111
+ "dev": true
112
+ },
113
+ "asn1.js": {
114
+ "version": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.1.tgz",
115
+ "integrity": "sha1-SLokC0WpKA6UdImQull9IWYX/UA=",
116
+ "dev": true
117
+ },
118
+ "assert-plus": {
119
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
120
+ "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=",
121
+ "dev": true
122
+ },
123
+ "async-each": {
124
+ "version": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz",
125
+ "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=",
126
+ "dev": true
127
+ },
128
+ "asynckit": {
129
+ "version": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
130
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
131
+ "dev": true
132
+ },
133
+ "aws-sign2": {
134
+ "version": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz",
135
+ "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=",
136
+ "dev": true
137
+ },
138
+ "aws4": {
139
+ "version": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz",
140
+ "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=",
141
+ "dev": true
142
+ },
143
+ "babel-cli": {
144
+ "version": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.24.0.tgz",
145
+ "integrity": "sha1-oF/9IQ3KDCiKJtUxnFrIZpomWtA=",
146
+ "dev": true
147
+ },
148
+ "babel-code-frame": {
149
+ "version": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz",
150
+ "integrity": "sha1-AnYgvuVnqIwyVhV05/0IAdMxGOQ=",
151
+ "dev": true
152
+ },
153
+ "babel-core": {
154
+ "version": "https://registry.npmjs.org/babel-core/-/babel-core-6.24.0.tgz",
155
+ "integrity": "sha1-jzagp39cFVrtb5ILhE0julZ0KgI=",
156
+ "dev": true
157
+ },
158
+ "babel-eslint": {
159
+ "version": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-6.1.2.tgz",
160
+ "integrity": "sha1-UpNBn+NnLWZZjTJ9qWlFZ7pqXy8=",
161
+ "dev": true
162
+ },
163
+ "babel-generator": {
164
+ "version": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.24.0.tgz",
165
+ "integrity": "sha1-66JwqMxM5uCaYb5DRl18YsH4fFY=",
166
+ "dev": true
167
+ },
168
+ "babel-helper-call-delegate": {
169
+ "version": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.22.0.tgz",
170
+ "integrity": "sha1-EZkhtWEg8X6drj90tPXMe8wbN+8=",
171
+ "dev": true
172
+ },
173
+ "babel-helper-define-map": {
174
+ "version": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.23.0.tgz",
175
+ "integrity": "sha1-FET5YMlpHWmiztaiBTFfj9AIBOc=",
176
+ "dev": true
177
+ },
178
+ "babel-helper-function-name": {
179
+ "version": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.23.0.tgz",
180
+ "integrity": "sha1-JXQtZxdciQPb5LbLnZ4fy43PI6Y=",
181
+ "dev": true
182
+ },
183
+ "babel-helper-get-function-arity": {
184
+ "version": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.22.0.tgz",
185
+ "integrity": "sha1-C+tGStadxzR0EKxq3p8DpQY09c4=",
186
+ "dev": true
187
+ },
188
+ "babel-helper-hoist-variables": {
189
+ "version": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.22.0.tgz",
190
+ "integrity": "sha1-Pqy/cx2AcFhF3S6XGPYAz7m0unI=",
191
+ "dev": true
192
+ },
193
+ "babel-helper-optimise-call-expression": {
194
+ "version": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.23.0.tgz",
195
+ "integrity": "sha1-8+5+7TVbQoITizPQK3g2nkcGIvU=",
196
+ "dev": true
197
+ },
198
+ "babel-helper-regex": {
199
+ "version": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.22.0.tgz",
200
+ "integrity": "sha1-efUyvhZHsfDuNHS19cPaWAAdJH0=",
201
+ "dev": true
202
+ },
203
+ "babel-helper-replace-supers": {
204
+ "version": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.23.0.tgz",
205
+ "integrity": "sha1-7q+K2bWOxDN8qUIjus3KH42bS/0=",
206
+ "dev": true
207
+ },
208
+ "babel-helpers": {
209
+ "version": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.23.0.tgz",
210
+ "integrity": "sha1-T48uCS0LaogIpL3nnCfx4uzw2ZI=",
211
+ "dev": true
212
+ },
213
+ "babel-messages": {
214
+ "version": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
215
+ "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
216
+ "dev": true
217
+ },
218
+ "babel-plugin-check-es2015-constants": {
219
+ "version": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
220
+ "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
221
+ "dev": true
222
+ },
223
+ "babel-plugin-external-helpers": {
224
+ "version": "https://registry.npmjs.org/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz",
225
+ "integrity": "sha1-IoX0iwK9Xe3oUXXK+MYuhq3M76E=",
226
+ "dev": true
227
+ },
228
+ "babel-plugin-syntax-object-rest-spread": {
229
+ "version": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz",
230
+ "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=",
231
+ "dev": true
232
+ },
233
+ "babel-plugin-transform-es2015-arrow-functions": {
234
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
235
+ "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
236
+ "dev": true
237
+ },
238
+ "babel-plugin-transform-es2015-block-scoped-functions": {
239
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
240
+ "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
241
+ "dev": true
242
+ },
243
+ "babel-plugin-transform-es2015-block-scoping": {
244
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.23.0.tgz",
245
+ "integrity": "sha1-5IiVzws3W+FIzXyIebQicHoFO1E=",
246
+ "dev": true
247
+ },
248
+ "babel-plugin-transform-es2015-classes": {
249
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.23.0.tgz",
250
+ "integrity": "sha1-SbU/MmICov0bO7ql4u3YpPeGQ8E=",
251
+ "dev": true
252
+ },
253
+ "babel-plugin-transform-es2015-computed-properties": {
254
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.22.0.tgz",
255
+ "integrity": "sha1-fDg+lim7pIIMEbBCW91ikPfwV+c=",
256
+ "dev": true
257
+ },
258
+ "babel-plugin-transform-es2015-destructuring": {
259
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
260
+ "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
261
+ "dev": true
262
+ },
263
+ "babel-plugin-transform-es2015-duplicate-keys": {
264
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.22.0.tgz",
265
+ "integrity": "sha1-ZyOXAxwhYQ1y3Su7C6n7Ynfhw2s=",
266
+ "dev": true
267
+ },
268
+ "babel-plugin-transform-es2015-for-of": {
269
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
270
+ "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
271
+ "dev": true
272
+ },
273
+ "babel-plugin-transform-es2015-function-name": {
274
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.22.0.tgz",
275
+ "integrity": "sha1-9fzIsJCT+aI8dqw9njksPsS3cQQ=",
276
+ "dev": true
277
+ },
278
+ "babel-plugin-transform-es2015-literals": {
279
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
280
+ "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
281
+ "dev": true
282
+ },
283
+ "babel-plugin-transform-es2015-modules-amd": {
284
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.0.tgz",
285
+ "integrity": "sha1-oZEfubfsfgWkOmPFmVAHVXvPai4=",
286
+ "dev": true
287
+ },
288
+ "babel-plugin-transform-es2015-modules-commonjs": {
289
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.0.tgz",
290
+ "integrity": "sha1-6SGu+3LCzCbLA9EHYmFWQTIiE08=",
291
+ "dev": true
292
+ },
293
+ "babel-plugin-transform-es2015-modules-systemjs": {
294
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.23.0.tgz",
295
+ "integrity": "sha1-rjRpIn/6w5sDENkP7HO/3E9jF7A=",
296
+ "dev": true
297
+ },
298
+ "babel-plugin-transform-es2015-modules-umd": {
299
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.0.tgz",
300
+ "integrity": "sha1-/V+mNSHK6NJzknw5WK/XwGdzNFA=",
301
+ "dev": true
302
+ },
303
+ "babel-plugin-transform-es2015-object-super": {
304
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.22.0.tgz",
305
+ "integrity": "sha1-2qYOEUoELqdp3VP+Uo/IIxHrmPw=",
306
+ "dev": true
307
+ },
308
+ "babel-plugin-transform-es2015-parameters": {
309
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.23.0.tgz",
310
+ "integrity": "sha1-OiqrtwyK+UXVzjhvGkJQYlqDrjs=",
311
+ "dev": true
312
+ },
313
+ "babel-plugin-transform-es2015-shorthand-properties": {
314
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.22.0.tgz",
315
+ "integrity": "sha1-i6d24K/6pgv/IekhQDuKZSov9yM=",
316
+ "dev": true
317
+ },
318
+ "babel-plugin-transform-es2015-spread": {
319
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
320
+ "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
321
+ "dev": true
322
+ },
323
+ "babel-plugin-transform-es2015-sticky-regex": {
324
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.22.0.tgz",
325
+ "integrity": "sha1-qzFoKehm7j9LnrlpOXV9GaW8RZM=",
326
+ "dev": true
327
+ },
328
+ "babel-plugin-transform-es2015-template-literals": {
329
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
330
+ "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
331
+ "dev": true
332
+ },
333
+ "babel-plugin-transform-es2015-typeof-symbol": {
334
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
335
+ "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
336
+ "dev": true
337
+ },
338
+ "babel-plugin-transform-es2015-unicode-regex": {
339
+ "version": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.22.0.tgz",
340
+ "integrity": "sha1-jZzCfn7h3s/mVFT7mGRSoEphPSA=",
341
+ "dev": true
342
+ },
343
+ "babel-plugin-transform-object-rest-spread": {
344
+ "version": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.23.0.tgz",
345
+ "integrity": "sha1-h11ryb52HFiirj/u5dxIldjH+SE=",
346
+ "dev": true
347
+ },
348
+ "babel-plugin-transform-regenerator": {
349
+ "version": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.22.0.tgz",
350
+ "integrity": "sha1-ZXQFk6MZxEUiFXU41pC4QJRhfqY=",
351
+ "dev": true
352
+ },
353
+ "babel-plugin-transform-strict-mode": {
354
+ "version": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.22.0.tgz",
355
+ "integrity": "sha1-4AjfATQP3IfpWdplmRt+BZcMjHw=",
356
+ "dev": true
357
+ },
358
+ "babel-polyfill": {
359
+ "version": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz",
360
+ "integrity": "sha1-g2TKYt+Or7gwSZ9pkXdGbDsDSZ0=",
361
+ "dev": true
362
+ },
363
+ "babel-preset-es2015": {
364
+ "version": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.0.tgz",
365
+ "integrity": "sha1-wWLWixkyaW4DbNMRDcHM0wPSZzo=",
366
+ "dev": true
367
+ },
368
+ "babel-register": {
369
+ "version": "https://registry.npmjs.org/babel-register/-/babel-register-6.24.0.tgz",
370
+ "integrity": "sha1-Xon4RjuplwNW0C6wfavjMIsIDP0=",
371
+ "dev": true
372
+ },
373
+ "babel-runtime": {
374
+ "version": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz",
375
+ "integrity": "sha1-CpSJ8UTecO+zzkMArM2zKeL8VDs=",
376
+ "dev": true
377
+ },
378
+ "babel-template": {
379
+ "version": "https://registry.npmjs.org/babel-template/-/babel-template-6.23.0.tgz",
380
+ "integrity": "sha1-BNTycK27OqcEqBQ64m+qUpI45jg=",
381
+ "dev": true
382
+ },
383
+ "babel-traverse": {
384
+ "version": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.23.1.tgz",
385
+ "integrity": "sha1-08tZAQ7NBql9gTEAZflmtpnhT0g=",
386
+ "dev": true
387
+ },
388
+ "babel-types": {
389
+ "version": "https://registry.npmjs.org/babel-types/-/babel-types-6.23.0.tgz",
390
+ "integrity": "sha1-uxcXnXU4utOM0MnhFdNA935+ms8=",
391
+ "dev": true
392
+ },
393
+ "babelrc-rollup": {
394
+ "version": "https://registry.npmjs.org/babelrc-rollup/-/babelrc-rollup-3.0.0.tgz",
395
+ "integrity": "sha1-/Ozb4+tkAM9OdpIzwXhqL6/otWw=",
396
+ "dev": true
397
+ },
398
+ "babylon": {
399
+ "version": "https://registry.npmjs.org/babylon/-/babylon-6.16.1.tgz",
400
+ "integrity": "sha1-MMWiL0gZeKnn+M399JaxHZS0BNM=",
401
+ "dev": true
402
+ },
403
+ "backo2": {
404
+ "version": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
405
+ "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=",
406
+ "dev": true
407
+ },
408
+ "balanced-match": {
409
+ "version": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
410
+ "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
411
+ "dev": true
412
+ },
413
+ "base64-arraybuffer": {
414
+ "version": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",
415
+ "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=",
416
+ "dev": true
417
+ },
418
+ "base64id": {
419
+ "version": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz",
420
+ "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=",
421
+ "dev": true
422
+ },
423
+ "bcrypt-pbkdf": {
424
+ "version": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
425
+ "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
426
+ "dev": true,
427
+ "optional": true
428
+ },
429
+ "better-assert": {
430
+ "version": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz",
431
+ "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=",
432
+ "dev": true
433
+ },
434
+ "binary-extensions": {
435
+ "version": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.8.0.tgz",
436
+ "integrity": "sha1-SOyNFt9Dd+rl+liEaCSAr02Vx3Q=",
437
+ "dev": true
438
+ },
439
+ "blob": {
440
+ "version": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz",
441
+ "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=",
442
+ "dev": true
443
+ },
444
+ "bluebird": {
445
+ "version": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz",
446
+ "integrity": "sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw=",
447
+ "dev": true
448
+ },
449
+ "bn.js": {
450
+ "version": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz",
451
+ "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=",
452
+ "dev": true
453
+ },
454
+ "body-parser": {
455
+ "version": "https://registry.npmjs.org/body-parser/-/body-parser-1.17.1.tgz",
456
+ "integrity": "sha1-dbO8mN3W5+DY/+dQ36ylxmmT+kc=",
457
+ "dev": true,
458
+ "dependencies": {
459
+ "debug": {
460
+ "version": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz",
461
+ "integrity": "sha1-eYVQkLosTjEVzH2HaUkdWPBJE1E=",
462
+ "dev": true
463
+ }
464
+ }
465
+ },
466
+ "boom": {
467
+ "version": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz",
468
+ "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
469
+ "dev": true
470
+ },
471
+ "brace-expansion": {
472
+ "version": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.6.tgz",
473
+ "integrity": "sha1-cZfX6qm4fmSDkOph/GbIRCdCDfk=",
474
+ "dev": true
475
+ },
476
+ "braces": {
477
+ "version": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
478
+ "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
479
+ "dev": true
480
+ },
481
+ "brorand": {
482
+ "version": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
483
+ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",
484
+ "dev": true
485
+ },
486
+ "browser-resolve": {
487
+ "version": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.2.tgz",
488
+ "integrity": "sha1-j/CbCixCFxihBRwmCzLkj0QpOM4=",
489
+ "dev": true,
490
+ "dependencies": {
491
+ "resolve": {
492
+ "version": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
493
+ "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",
494
+ "dev": true
495
+ }
496
+ }
497
+ },
498
+ "browserify-aes": {
499
+ "version": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.6.tgz",
500
+ "integrity": "sha1-Xncl297x/Vkw1OurSFZ85FHEigo=",
501
+ "dev": true
502
+ },
503
+ "browserify-cipher": {
504
+ "version": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz",
505
+ "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=",
506
+ "dev": true
507
+ },
508
+ "browserify-des": {
509
+ "version": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz",
510
+ "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=",
511
+ "dev": true
512
+ },
513
+ "browserify-rsa": {
514
+ "version": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
515
+ "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
516
+ "dev": true
517
+ },
518
+ "browserify-sign": {
519
+ "version": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.0.tgz",
520
+ "integrity": "sha1-EHc5EMPCBtVCCkaq2GlPgguFlo8=",
521
+ "dev": true
522
+ },
523
+ "buffer-es6": {
524
+ "version": "https://registry.npmjs.org/buffer-es6/-/buffer-es6-4.9.3.tgz",
525
+ "integrity": "sha1-8mNHuC33b9N+GLy1KIxJcM/VxAQ=",
526
+ "dev": true
527
+ },
528
+ "buffer-shims": {
529
+ "version": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz",
530
+ "integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=",
531
+ "dev": true
532
+ },
533
+ "buffer-xor": {
534
+ "version": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",
535
+ "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=",
536
+ "dev": true
537
+ },
538
+ "builtin-modules": {
539
+ "version": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
540
+ "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
541
+ "dev": true
542
+ },
543
+ "bytes": {
544
+ "version": "https://registry.npmjs.org/bytes/-/bytes-2.4.0.tgz",
545
+ "integrity": "sha1-fZcZb51br39pNeJZhVSe3SpsIzk=",
546
+ "dev": true
547
+ },
548
+ "caller-path": {
549
+ "version": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz",
550
+ "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=",
551
+ "dev": true
552
+ },
553
+ "callsite": {
554
+ "version": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz",
555
+ "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=",
556
+ "dev": true
557
+ },
558
+ "callsites": {
559
+ "version": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz",
560
+ "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=",
561
+ "dev": true
562
+ },
563
+ "canonical-json": {
564
+ "version": "https://registry.npmjs.org/canonical-json/-/canonical-json-0.0.4.tgz",
565
+ "integrity": "sha1-ZXnAcsPbXEd+xB3JePvyuPQQdKM="
566
+ },
567
+ "caseless": {
568
+ "version": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz",
569
+ "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=",
570
+ "dev": true
571
+ },
572
+ "chalk": {
573
+ "version": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
574
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
575
+ "dev": true
576
+ },
577
+ "chokidar": {
578
+ "version": "https://registry.npmjs.org/chokidar/-/chokidar-1.6.1.tgz",
579
+ "integrity": "sha1-L0RHq16W5Q+z14n9kNTHLg5McMI=",
580
+ "dev": true
581
+ },
582
+ "cipher-base": {
583
+ "version": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.3.tgz",
584
+ "integrity": "sha1-7qvxlEGc6QDaMBjCB9IS8qbfCgc=",
585
+ "dev": true
586
+ },
587
+ "circular-json": {
588
+ "version": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.1.tgz",
589
+ "integrity": "sha1-vos2rvzN6LPKeqLWr8B6NyQsDS0=",
590
+ "dev": true
591
+ },
592
+ "cli-cursor": {
593
+ "version": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz",
594
+ "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=",
595
+ "dev": true
596
+ },
597
+ "cli-width": {
598
+ "version": "https://registry.npmjs.org/cli-width/-/cli-width-2.1.0.tgz",
599
+ "integrity": "sha1-sjTKIJsp72b8UY2bmNWEewDt8Ao=",
600
+ "dev": true
601
+ },
602
+ "co": {
603
+ "version": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
604
+ "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
605
+ "dev": true
606
+ },
607
+ "code-point-at": {
608
+ "version": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
609
+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
610
+ "dev": true
611
+ },
612
+ "coffee-script": {
613
+ "version": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.4.tgz",
614
+ "integrity": "sha1-/hvO2X/h+zknuZjytFYW4GWL4f8=",
615
+ "dev": true
616
+ },
617
+ "colors": {
618
+ "version": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
619
+ "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
620
+ "dev": true
621
+ },
622
+ "combine-lists": {
623
+ "version": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz",
624
+ "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=",
625
+ "dev": true
626
+ },
627
+ "combined-stream": {
628
+ "version": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
629
+ "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
630
+ "dev": true
631
+ },
632
+ "commander": {
633
+ "version": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
634
+ "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=",
635
+ "dev": true
636
+ },
637
+ "component-bind": {
638
+ "version": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz",
639
+ "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=",
640
+ "dev": true
641
+ },
642
+ "component-emitter": {
643
+ "version": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz",
644
+ "integrity": "sha1-KWWU8nU9qmOZbSrwjRWpURbJrsM=",
645
+ "dev": true
646
+ },
647
+ "component-inherit": {
648
+ "version": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz",
649
+ "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=",
650
+ "dev": true
651
+ },
652
+ "concat-map": {
653
+ "version": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
654
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
655
+ "dev": true
656
+ },
657
+ "concat-stream": {
658
+ "version": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz",
659
+ "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=",
660
+ "dev": true
661
+ },
662
+ "connect": {
663
+ "version": "https://registry.npmjs.org/connect/-/connect-3.6.0.tgz",
664
+ "integrity": "sha1-8JpPfc0XMktmO3JcgVvbHEFYpG4=",
665
+ "dev": true,
666
+ "dependencies": {
667
+ "debug": {
668
+ "version": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz",
669
+ "integrity": "sha1-eYVQkLosTjEVzH2HaUkdWPBJE1E=",
670
+ "dev": true
671
+ }
672
+ }
673
+ },
674
+ "content-type": {
675
+ "version": "https://registry.npmjs.org/content-type/-/content-type-1.0.2.tgz",
676
+ "integrity": "sha1-t9ETrueo3Se9IRM8TcJSnfFyHu0=",
677
+ "dev": true
678
+ },
679
+ "convert-source-map": {
680
+ "version": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.4.0.tgz",
681
+ "integrity": "sha1-49rRlb9hv+E6ejxz6YduwUoCaPM=",
682
+ "dev": true
683
+ },
684
+ "cookie": {
685
+ "version": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
686
+ "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=",
687
+ "dev": true
688
+ },
689
+ "core-js": {
690
+ "version": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz",
691
+ "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=",
692
+ "dev": true
693
+ },
694
+ "core-util-is": {
695
+ "version": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
696
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
697
+ "dev": true
698
+ },
699
+ "create-ecdh": {
700
+ "version": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz",
701
+ "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=",
702
+ "dev": true
703
+ },
704
+ "create-hash": {
705
+ "version": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.2.tgz",
706
+ "integrity": "sha1-USEAYte7dHn2xlu0GpIgix1hq60=",
707
+ "dev": true
708
+ },
709
+ "create-hmac": {
710
+ "version": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.4.tgz",
711
+ "integrity": "sha1-0/tLolPriz9W456i+8uK90e9MXA=",
712
+ "dev": true
713
+ },
714
+ "cryptiles": {
715
+ "version": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz",
716
+ "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
717
+ "dev": true
718
+ },
719
+ "crypto-browserify": {
720
+ "version": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.11.0.tgz",
721
+ "integrity": "sha1-NlKgkGq5sqfgw85mpAjpV6JIVSI=",
722
+ "dev": true
723
+ },
724
+ "custom-event": {
725
+ "version": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz",
726
+ "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=",
727
+ "dev": true
728
+ },
729
+ "d": {
730
+ "version": "https://registry.npmjs.org/d/-/d-0.1.1.tgz",
731
+ "integrity": "sha1-2hhMU10Y2O57oqoim5FACfrhEwk=",
732
+ "dev": true
733
+ },
734
+ "d3-array": {
735
+ "version": "https://registry.npmjs.org/d3-array/-/d3-array-1.1.1.tgz",
736
+ "integrity": "sha1-oBq+Y6Jf+5HTQjw8bQUbTTa8igk="
737
+ },
738
+ "d3-color": {
739
+ "version": "https://registry.npmjs.org/d3-color/-/d3-color-1.0.3.tgz",
740
+ "integrity": "sha1-vHZD/KjlOoNH4vva/6I2eWtYUJs="
741
+ },
742
+ "d3-dispatch": {
743
+ "version": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.3.tgz",
744
+ "integrity": "sha1-RuFJHqqbWMNY/OW+TovtYm54cfg="
745
+ },
746
+ "d3-drag": {
747
+ "version": "https://registry.npmjs.org/d3-drag/-/d3-drag-1.0.4.tgz",
748
+ "integrity": "sha1-qcFgnxHdVTCuJ169ZDd+xU77nY8="
749
+ },
750
+ "d3-ease": {
751
+ "version": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.3.tgz",
752
+ "integrity": "sha1-aL+8NJM4o4DETYrMT7wzBKotjA4="
753
+ },
754
+ "d3-hierarchy": {
755
+ "version": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.4.tgz",
756
+ "integrity": "sha1-lsOULz8hz5l6EbTt8A3eKne0xtA="
757
+ },
758
+ "d3-interpolate": {
759
+ "version": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.1.4.tgz",
760
+ "integrity": "sha1-pD7Fs77jUNhRbv34GaTAjAU9swI="
761
+ },
762
+ "d3-selection": {
763
+ "version": "https://registry.npmjs.org/d3-selection/-/d3-selection-1.0.5.tgz",
764
+ "integrity": "sha1-lIxztBpE4o0XQq4v8gfCrryic0s="
765
+ },
766
+ "d3-timer": {
767
+ "version": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.5.tgz",
768
+ "integrity": "sha1-smbUdscbDSaeesXzUrQQo7b+bvA="
769
+ },
770
+ "d3-transition": {
771
+ "version": "https://registry.npmjs.org/d3-transition/-/d3-transition-1.0.4.tgz",
772
+ "integrity": "sha1-4anrrjhpqdnCh0qwCEH6gxOuXeU="
773
+ },
774
+ "d3-zoom": {
775
+ "version": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-1.1.3.tgz",
776
+ "integrity": "sha1-C9SIYi8i3AU0iU90SkDsl5WZ/cQ="
777
+ },
778
+ "dashdash": {
779
+ "version": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
780
+ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
781
+ "dev": true,
782
+ "dependencies": {
783
+ "assert-plus": {
784
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
785
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
786
+ "dev": true
787
+ }
788
+ }
789
+ },
790
+ "debug": {
791
+ "version": "https://registry.npmjs.org/debug/-/debug-2.6.3.tgz",
792
+ "integrity": "sha1-D364wwll7AjHKsz6ATDIt5mEFB0=",
793
+ "dev": true
794
+ },
795
+ "deep-is": {
796
+ "version": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
797
+ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
798
+ "dev": true
799
+ },
800
+ "deepmerge": {
801
+ "version": "https://registry.npmjs.org/deepmerge/-/deepmerge-0.2.10.tgz",
802
+ "integrity": "sha1-iQa/nlJaT78bIDsq/LRkAkmCEhk="
803
+ },
804
+ "del": {
805
+ "version": "https://registry.npmjs.org/del/-/del-2.2.2.tgz",
806
+ "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=",
807
+ "dev": true
808
+ },
809
+ "delayed-stream": {
810
+ "version": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
811
+ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
812
+ "dev": true
813
+ },
814
+ "depd": {
815
+ "version": "https://registry.npmjs.org/depd/-/depd-1.1.0.tgz",
816
+ "integrity": "sha1-4b2Cxqq2ztlluXuIsX7T5SjKGMM=",
817
+ "dev": true
818
+ },
819
+ "des.js": {
820
+ "version": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",
821
+ "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=",
822
+ "dev": true
823
+ },
824
+ "detect-indent": {
825
+ "version": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
826
+ "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
827
+ "dev": true
828
+ },
829
+ "di": {
830
+ "version": "https://registry.npmjs.org/di/-/di-0.0.1.tgz",
831
+ "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=",
832
+ "dev": true
833
+ },
834
+ "diff": {
835
+ "version": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz",
836
+ "integrity": "sha1-fyjS657nsVqX79ic5j3P2qPMur8=",
837
+ "dev": true
838
+ },
839
+ "diffie-hellman": {
840
+ "version": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz",
841
+ "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=",
842
+ "dev": true
843
+ },
844
+ "doctrine": {
845
+ "version": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
846
+ "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
847
+ "dev": true
848
+ },
849
+ "dom-serialize": {
850
+ "version": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz",
851
+ "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=",
852
+ "dev": true
853
+ },
854
+ "dom-walk": {
855
+ "version": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz",
856
+ "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=",
857
+ "dev": true
858
+ },
859
+ "ecc-jsbn": {
860
+ "version": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
861
+ "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
862
+ "dev": true,
863
+ "optional": true
864
+ },
865
+ "ee-first": {
866
+ "version": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
867
+ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=",
868
+ "dev": true
869
+ },
870
+ "elliptic": {
871
+ "version": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",
872
+ "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=",
873
+ "dev": true
874
+ },
875
+ "encodeurl": {
876
+ "version": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz",
877
+ "integrity": "sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=",
878
+ "dev": true
879
+ },
880
+ "engine.io": {
881
+ "version": "https://registry.npmjs.org/engine.io/-/engine.io-1.8.3.tgz",
882
+ "integrity": "sha1-jef5eJXSDTm4X4ju7nd7K9QrE9Q=",
883
+ "dev": true,
884
+ "dependencies": {
885
+ "debug": {
886
+ "version": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
887
+ "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
888
+ "dev": true
889
+ }
890
+ }
891
+ },
892
+ "engine.io-client": {
893
+ "version": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.8.3.tgz",
894
+ "integrity": "sha1-F5jtk0USRkU9TG9jXXogH+lA1as=",
895
+ "dev": true,
896
+ "dependencies": {
897
+ "component-emitter": {
898
+ "version": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
899
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
900
+ "dev": true
901
+ },
902
+ "debug": {
903
+ "version": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
904
+ "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
905
+ "dev": true
906
+ }
907
+ }
908
+ },
909
+ "engine.io-parser": {
910
+ "version": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.3.2.tgz",
911
+ "integrity": "sha1-k3sHnwAH0Ik+xW1GyyILjLQ1Igo=",
912
+ "dev": true
913
+ },
914
+ "ent": {
915
+ "version": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz",
916
+ "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=",
917
+ "dev": true
918
+ },
919
+ "es5-ext": {
920
+ "version": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.13.tgz",
921
+ "integrity": "sha1-o5CrcXveHOO0y66r4jyo+93LBvY=",
922
+ "dev": true
923
+ },
924
+ "es6-iterator": {
925
+ "version": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.0.tgz",
926
+ "integrity": "sha1-vZaFZ9YWNeM8C4BydhPJy0sJa6w=",
927
+ "dev": true
928
+ },
929
+ "es6-map": {
930
+ "version": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.4.tgz",
931
+ "integrity": "sha1-o0sUe+IkdzpNfagHJ5TO+jYyuJc=",
932
+ "dev": true
933
+ },
934
+ "es6-promise": {
935
+ "version": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.0.5.tgz",
936
+ "integrity": "sha1-eILzCt3lskDM+n99eMVIMwlRrkI=",
937
+ "dev": true
938
+ },
939
+ "es6-set": {
940
+ "version": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.4.tgz",
941
+ "integrity": "sha1-lRa2dhwpZLkv9HlFYjOiR9xwfOg=",
942
+ "dev": true
943
+ },
944
+ "es6-symbol": {
945
+ "version": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.0.tgz",
946
+ "integrity": "sha1-lEgcZV56fK2C66gy2X1UM0ltf/o=",
947
+ "dev": true
948
+ },
949
+ "es6-weak-map": {
950
+ "version": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.1.tgz",
951
+ "integrity": "sha1-DSu9iCfrX7S6j5f7/qUNQ9sh6oE=",
952
+ "dev": true
953
+ },
954
+ "escape-html": {
955
+ "version": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
956
+ "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=",
957
+ "dev": true
958
+ },
959
+ "escape-string-regexp": {
960
+ "version": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
961
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
962
+ "dev": true
963
+ },
964
+ "escope": {
965
+ "version": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz",
966
+ "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=",
967
+ "dev": true
968
+ },
969
+ "eslint": {
970
+ "version": "https://registry.npmjs.org/eslint/-/eslint-2.13.1.tgz",
971
+ "integrity": "sha1-5MyPoPAJ+4KaquI4VaKTYL4fbBE=",
972
+ "dev": true,
973
+ "dependencies": {
974
+ "user-home": {
975
+ "version": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
976
+ "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=",
977
+ "dev": true
978
+ }
979
+ }
980
+ },
981
+ "eslint-config-airbnb": {
982
+ "version": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-6.2.0.tgz",
983
+ "integrity": "sha1-SigZaqRhfeAbjJFOmSqC5dCIam4=",
984
+ "dev": true
985
+ },
986
+ "eslint-plugin-react": {
987
+ "version": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-4.3.0.tgz",
988
+ "integrity": "sha1-x5qsgGnWLeJ4h8E7gpjVkgiN43g=",
989
+ "dev": true
990
+ },
991
+ "espree": {
992
+ "version": "https://registry.npmjs.org/espree/-/espree-3.4.0.tgz",
993
+ "integrity": "sha1-QWVvpWKOBCh4Al70Z+ePEly4bh0=",
994
+ "dev": true
995
+ },
996
+ "esprima": {
997
+ "version": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz",
998
+ "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=",
999
+ "dev": true
1000
+ },
1001
+ "esrecurse": {
1002
+ "version": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.1.0.tgz",
1003
+ "integrity": "sha1-RxO2U2rffyrE8yfVWed1a/9kgiA=",
1004
+ "dev": true,
1005
+ "dependencies": {
1006
+ "estraverse": {
1007
+ "version": "https://registry.npmjs.org/estraverse/-/estraverse-4.1.1.tgz",
1008
+ "integrity": "sha1-9srKcokzqFDvkGYdDheYK6RxEaI=",
1009
+ "dev": true
1010
+ }
1011
+ }
1012
+ },
1013
+ "estraverse": {
1014
+ "version": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz",
1015
+ "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",
1016
+ "dev": true
1017
+ },
1018
+ "estree-walker": {
1019
+ "version": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.2.1.tgz",
1020
+ "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=",
1021
+ "dev": true
1022
+ },
1023
+ "esutils": {
1024
+ "version": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
1025
+ "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",
1026
+ "dev": true
1027
+ },
1028
+ "event-emitter": {
1029
+ "version": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.4.tgz",
1030
+ "integrity": "sha1-jWPd+0z+H647MsomXExyAiIIC7U=",
1031
+ "dev": true
1032
+ },
1033
+ "eventemitter3": {
1034
+ "version": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz",
1035
+ "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=",
1036
+ "dev": true
1037
+ },
1038
+ "evp_bytestokey": {
1039
+ "version": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz",
1040
+ "integrity": "sha1-SXtmrZ/vZc18CKYYCCS6FHa2blM=",
1041
+ "dev": true
1042
+ },
1043
+ "exit-hook": {
1044
+ "version": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz",
1045
+ "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=",
1046
+ "dev": true
1047
+ },
1048
+ "expand-braces": {
1049
+ "version": "https://registry.npmjs.org/expand-braces/-/expand-braces-0.1.2.tgz",
1050
+ "integrity": "sha1-SIsdHSRRyz06axks/AMPRMWFX+o=",
1051
+ "dev": true,
1052
+ "dependencies": {
1053
+ "braces": {
1054
+ "version": "https://registry.npmjs.org/braces/-/braces-0.1.5.tgz",
1055
+ "integrity": "sha1-wIVxEIUpHYt1/ddOqw+FlygHEeY=",
1056
+ "dev": true
1057
+ },
1058
+ "expand-range": {
1059
+ "version": "https://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz",
1060
+ "integrity": "sha1-TLjtoJk8pW+k9B/ELzy7TMrf8EQ=",
1061
+ "dev": true
1062
+ },
1063
+ "is-number": {
1064
+ "version": "https://registry.npmjs.org/is-number/-/is-number-0.1.1.tgz",
1065
+ "integrity": "sha1-aaevEWlj1HIG7JvZtIoUIW8eOAY=",
1066
+ "dev": true
1067
+ },
1068
+ "repeat-string": {
1069
+ "version": "https://registry.npmjs.org/repeat-string/-/repeat-string-0.2.2.tgz",
1070
+ "integrity": "sha1-x6jTI2BoNiBZp+RlH8aITosftK4=",
1071
+ "dev": true
1072
+ }
1073
+ }
1074
+ },
1075
+ "expand-brackets": {
1076
+ "version": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
1077
+ "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
1078
+ "dev": true
1079
+ },
1080
+ "expand-range": {
1081
+ "version": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
1082
+ "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
1083
+ "dev": true
1084
+ },
1085
+ "extend": {
1086
+ "version": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz",
1087
+ "integrity": "sha1-WkdDU7nzNT3dgXbf03uRyDpG8dQ=",
1088
+ "dev": true
1089
+ },
1090
+ "extglob": {
1091
+ "version": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
1092
+ "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
1093
+ "dev": true
1094
+ },
1095
+ "extract-zip": {
1096
+ "version": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.5.0.tgz",
1097
+ "integrity": "sha1-ksz22B73Cp+kwXRxFMzvbYaIpsQ=",
1098
+ "dev": true,
1099
+ "dependencies": {
1100
+ "concat-stream": {
1101
+ "version": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.0.tgz",
1102
+ "integrity": "sha1-U/fUPFHF5D+ByP3QMyHGMb5o1hE=",
1103
+ "dev": true
1104
+ },
1105
+ "debug": {
1106
+ "version": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
1107
+ "integrity": "sha1-BuHqgILCyxTjmAbiLi9vdX+Srzk=",
1108
+ "dev": true
1109
+ },
1110
+ "mkdirp": {
1111
+ "version": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz",
1112
+ "integrity": "sha1-HXMHam35hs2TROFecfzAWkyavxI=",
1113
+ "dev": true
1114
+ },
1115
+ "readable-stream": {
1116
+ "version": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
1117
+ "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=",
1118
+ "dev": true
1119
+ }
1120
+ }
1121
+ },
1122
+ "extsprintf": {
1123
+ "version": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
1124
+ "integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=",
1125
+ "dev": true
1126
+ },
1127
+ "fake-xml-http-request": {
1128
+ "version": "https://registry.npmjs.org/fake-xml-http-request/-/fake-xml-http-request-1.4.0.tgz",
1129
+ "integrity": "sha1-ZIHHJ6Dq6cQguuIp3N/FNpxLVHc=",
1130
+ "dev": true
1131
+ },
1132
+ "fast-levenshtein": {
1133
+ "version": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
1134
+ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
1135
+ "dev": true
1136
+ },
1137
+ "fd-slicer": {
1138
+ "version": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
1139
+ "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=",
1140
+ "dev": true
1141
+ },
1142
+ "figures": {
1143
+ "version": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz",
1144
+ "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=",
1145
+ "dev": true
1146
+ },
1147
+ "file-entry-cache": {
1148
+ "version": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-1.3.1.tgz",
1149
+ "integrity": "sha1-RMYepgeuS+nBQC9B9EJwy/4zT/g=",
1150
+ "dev": true
1151
+ },
1152
+ "filename-regex": {
1153
+ "version": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.0.tgz",
1154
+ "integrity": "sha1-mW4+gEebmLmJfxWopYs9CE6SZ3U=",
1155
+ "dev": true
1156
+ },
1157
+ "fill-range": {
1158
+ "version": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz",
1159
+ "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=",
1160
+ "dev": true
1161
+ },
1162
+ "finalhandler": {
1163
+ "version": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.0.0.tgz",
1164
+ "integrity": "sha1-tWkcLAkSCS8YrCPpQWveXNfcZ1U=",
1165
+ "dev": true,
1166
+ "dependencies": {
1167
+ "debug": {
1168
+ "version": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz",
1169
+ "integrity": "sha1-eYVQkLosTjEVzH2HaUkdWPBJE1E=",
1170
+ "dev": true
1171
+ }
1172
+ }
1173
+ },
1174
+ "flat-cache": {
1175
+ "version": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.2.2.tgz",
1176
+ "integrity": "sha1-+oZxTnLCHbiGAXYezy9VXRq8a5Y=",
1177
+ "dev": true
1178
+ },
1179
+ "for-in": {
1180
+ "version": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
1181
+ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
1182
+ "dev": true
1183
+ },
1184
+ "for-own": {
1185
+ "version": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
1186
+ "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
1187
+ "dev": true
1188
+ },
1189
+ "forever-agent": {
1190
+ "version": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
1191
+ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
1192
+ "dev": true
1193
+ },
1194
+ "form-data": {
1195
+ "version": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz",
1196
+ "integrity": "sha1-icNTQAi5fq2ky7FX1Y9vXfAl6uQ=",
1197
+ "dev": true
1198
+ },
1199
+ "fs-access": {
1200
+ "version": "https://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz",
1201
+ "integrity": "sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o=",
1202
+ "dev": true
1203
+ },
1204
+ "fs-extra": {
1205
+ "version": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz",
1206
+ "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=",
1207
+ "dev": true
1208
+ },
1209
+ "fs-readdir-recursive": {
1210
+ "version": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz",
1211
+ "integrity": "sha1-jNF0XItPiinIyuw5JHaSG6GV9WA=",
1212
+ "dev": true
1213
+ },
1214
+ "fs.realpath": {
1215
+ "version": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1216
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
1217
+ "dev": true
1218
+ },
1219
+ "fsevents": {
1220
+ "version": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.1.tgz",
1221
+ "integrity": "sha1-8Z/Sj0Pur3YWgOUZogPE0LPTGv8=",
1222
+ "dev": true,
1223
+ "optional": true,
1224
+ "dependencies": {
1225
+ "abbrev": {
1226
+ "version": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz",
1227
+ "integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=",
1228
+ "dev": true,
1229
+ "optional": true
1230
+ },
1231
+ "ansi-regex": {
1232
+ "version": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
1233
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
1234
+ "dev": true
1235
+ },
1236
+ "ansi-styles": {
1237
+ "version": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
1238
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
1239
+ "dev": true,
1240
+ "optional": true
1241
+ },
1242
+ "aproba": {
1243
+ "version": "https://registry.npmjs.org/aproba/-/aproba-1.1.1.tgz",
1244
+ "integrity": "sha1-ldNgDwdxCqDpKYxyatXs8urLq6s=",
1245
+ "dev": true,
1246
+ "optional": true
1247
+ },
1248
+ "are-we-there-yet": {
1249
+ "version": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz",
1250
+ "integrity": "sha1-gORw6VoIR5T+GJkmLFZnxuiN4bM=",
1251
+ "dev": true,
1252
+ "optional": true
1253
+ },
1254
+ "asn1": {
1255
+ "version": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
1256
+ "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=",
1257
+ "dev": true,
1258
+ "optional": true
1259
+ },
1260
+ "assert-plus": {
1261
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
1262
+ "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=",
1263
+ "dev": true,
1264
+ "optional": true
1265
+ },
1266
+ "asynckit": {
1267
+ "version": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
1268
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
1269
+ "dev": true,
1270
+ "optional": true
1271
+ },
1272
+ "aws-sign2": {
1273
+ "version": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz",
1274
+ "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=",
1275
+ "dev": true,
1276
+ "optional": true
1277
+ },
1278
+ "aws4": {
1279
+ "version": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz",
1280
+ "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=",
1281
+ "dev": true,
1282
+ "optional": true
1283
+ },
1284
+ "balanced-match": {
1285
+ "version": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
1286
+ "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
1287
+ "dev": true
1288
+ },
1289
+ "bcrypt-pbkdf": {
1290
+ "version": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
1291
+ "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
1292
+ "dev": true,
1293
+ "optional": true
1294
+ },
1295
+ "block-stream": {
1296
+ "version": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
1297
+ "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",
1298
+ "dev": true
1299
+ },
1300
+ "boom": {
1301
+ "version": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz",
1302
+ "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
1303
+ "dev": true
1304
+ },
1305
+ "brace-expansion": {
1306
+ "version": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.6.tgz",
1307
+ "integrity": "sha1-cZfX6qm4fmSDkOph/GbIRCdCDfk=",
1308
+ "dev": true
1309
+ },
1310
+ "buffer-shims": {
1311
+ "version": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz",
1312
+ "integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=",
1313
+ "dev": true
1314
+ },
1315
+ "caseless": {
1316
+ "version": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz",
1317
+ "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=",
1318
+ "dev": true,
1319
+ "optional": true
1320
+ },
1321
+ "chalk": {
1322
+ "version": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
1323
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
1324
+ "dev": true,
1325
+ "optional": true
1326
+ },
1327
+ "code-point-at": {
1328
+ "version": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
1329
+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
1330
+ "dev": true
1331
+ },
1332
+ "combined-stream": {
1333
+ "version": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
1334
+ "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
1335
+ "dev": true
1336
+ },
1337
+ "commander": {
1338
+ "version": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
1339
+ "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=",
1340
+ "dev": true,
1341
+ "optional": true
1342
+ },
1343
+ "concat-map": {
1344
+ "version": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1345
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
1346
+ "dev": true
1347
+ },
1348
+ "console-control-strings": {
1349
+ "version": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
1350
+ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
1351
+ "dev": true
1352
+ },
1353
+ "core-util-is": {
1354
+ "version": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
1355
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
1356
+ "dev": true
1357
+ },
1358
+ "cryptiles": {
1359
+ "version": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz",
1360
+ "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
1361
+ "dev": true,
1362
+ "optional": true
1363
+ },
1364
+ "dashdash": {
1365
+ "version": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
1366
+ "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
1367
+ "dev": true,
1368
+ "optional": true,
1369
+ "dependencies": {
1370
+ "assert-plus": {
1371
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
1372
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
1373
+ "dev": true,
1374
+ "optional": true
1375
+ }
1376
+ }
1377
+ },
1378
+ "debug": {
1379
+ "version": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
1380
+ "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
1381
+ "dev": true,
1382
+ "optional": true
1383
+ },
1384
+ "deep-extend": {
1385
+ "version": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.1.tgz",
1386
+ "integrity": "sha1-7+QRPQgIX05vlod1mBD4B0aeIlM=",
1387
+ "dev": true,
1388
+ "optional": true
1389
+ },
1390
+ "delayed-stream": {
1391
+ "version": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1392
+ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
1393
+ "dev": true
1394
+ },
1395
+ "delegates": {
1396
+ "version": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
1397
+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
1398
+ "dev": true,
1399
+ "optional": true
1400
+ },
1401
+ "ecc-jsbn": {
1402
+ "version": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
1403
+ "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
1404
+ "dev": true,
1405
+ "optional": true
1406
+ },
1407
+ "escape-string-regexp": {
1408
+ "version": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
1409
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
1410
+ "dev": true,
1411
+ "optional": true
1412
+ },
1413
+ "extend": {
1414
+ "version": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz",
1415
+ "integrity": "sha1-WkdDU7nzNT3dgXbf03uRyDpG8dQ=",
1416
+ "dev": true,
1417
+ "optional": true
1418
+ },
1419
+ "extsprintf": {
1420
+ "version": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz",
1421
+ "integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=",
1422
+ "dev": true
1423
+ },
1424
+ "forever-agent": {
1425
+ "version": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
1426
+ "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
1427
+ "dev": true,
1428
+ "optional": true
1429
+ },
1430
+ "form-data": {
1431
+ "version": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz",
1432
+ "integrity": "sha1-icNTQAi5fq2ky7FX1Y9vXfAl6uQ=",
1433
+ "dev": true,
1434
+ "optional": true
1435
+ },
1436
+ "fs.realpath": {
1437
+ "version": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1438
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
1439
+ "dev": true
1440
+ },
1441
+ "fstream": {
1442
+ "version": "https://registry.npmjs.org/fstream/-/fstream-1.0.10.tgz",
1443
+ "integrity": "sha1-YE6Kkv4m/9n2+uMDmdSYThqyKCI=",
1444
+ "dev": true
1445
+ },
1446
+ "fstream-ignore": {
1447
+ "version": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.5.tgz",
1448
+ "integrity": "sha1-nDHa40dnAY/h0kmyTa2mfQktoQU=",
1449
+ "dev": true,
1450
+ "optional": true
1451
+ },
1452
+ "gauge": {
1453
+ "version": "https://registry.npmjs.org/gauge/-/gauge-2.7.3.tgz",
1454
+ "integrity": "sha1-HCOFX5YvF7OtPQ3HRD8wRULt/gk=",
1455
+ "dev": true,
1456
+ "optional": true
1457
+ },
1458
+ "generate-function": {
1459
+ "version": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz",
1460
+ "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=",
1461
+ "dev": true,
1462
+ "optional": true
1463
+ },
1464
+ "generate-object-property": {
1465
+ "version": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz",
1466
+ "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=",
1467
+ "dev": true,
1468
+ "optional": true
1469
+ },
1470
+ "getpass": {
1471
+ "version": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz",
1472
+ "integrity": "sha1-KD/9n8ElaECHUxHBtg6MQBhxEOY=",
1473
+ "dev": true,
1474
+ "optional": true,
1475
+ "dependencies": {
1476
+ "assert-plus": {
1477
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
1478
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
1479
+ "dev": true,
1480
+ "optional": true
1481
+ }
1482
+ }
1483
+ },
1484
+ "glob": {
1485
+ "version": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz",
1486
+ "integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=",
1487
+ "dev": true
1488
+ },
1489
+ "graceful-fs": {
1490
+ "version": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
1491
+ "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
1492
+ "dev": true
1493
+ },
1494
+ "graceful-readlink": {
1495
+ "version": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
1496
+ "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=",
1497
+ "dev": true,
1498
+ "optional": true
1499
+ },
1500
+ "har-validator": {
1501
+ "version": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz",
1502
+ "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=",
1503
+ "dev": true,
1504
+ "optional": true
1505
+ },
1506
+ "has-ansi": {
1507
+ "version": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
1508
+ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
1509
+ "dev": true,
1510
+ "optional": true
1511
+ },
1512
+ "has-unicode": {
1513
+ "version": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
1514
+ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
1515
+ "dev": true,
1516
+ "optional": true
1517
+ },
1518
+ "hawk": {
1519
+ "version": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz",
1520
+ "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
1521
+ "dev": true,
1522
+ "optional": true
1523
+ },
1524
+ "hoek": {
1525
+ "version": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
1526
+ "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=",
1527
+ "dev": true
1528
+ },
1529
+ "http-signature": {
1530
+ "version": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
1531
+ "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
1532
+ "dev": true,
1533
+ "optional": true
1534
+ },
1535
+ "inflight": {
1536
+ "version": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
1537
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
1538
+ "dev": true
1539
+ },
1540
+ "inherits": {
1541
+ "version": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
1542
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
1543
+ "dev": true
1544
+ },
1545
+ "ini": {
1546
+ "version": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz",
1547
+ "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=",
1548
+ "dev": true,
1549
+ "optional": true
1550
+ },
1551
+ "is-fullwidth-code-point": {
1552
+ "version": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
1553
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
1554
+ "dev": true
1555
+ },
1556
+ "is-my-json-valid": {
1557
+ "version": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz",
1558
+ "integrity": "sha1-k27do8o8IR/ZjzstPgjaQ/eykVs=",
1559
+ "dev": true,
1560
+ "optional": true
1561
+ },
1562
+ "is-property": {
1563
+ "version": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz",
1564
+ "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=",
1565
+ "dev": true,
1566
+ "optional": true
1567
+ },
1568
+ "is-typedarray": {
1569
+ "version": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
1570
+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
1571
+ "dev": true,
1572
+ "optional": true
1573
+ },
1574
+ "isarray": {
1575
+ "version": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
1576
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
1577
+ "dev": true
1578
+ },
1579
+ "isstream": {
1580
+ "version": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
1581
+ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
1582
+ "dev": true,
1583
+ "optional": true
1584
+ },
1585
+ "jodid25519": {
1586
+ "version": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz",
1587
+ "integrity": "sha1-BtSRIlUJNBlHfUJWM2BuDpB4KWc=",
1588
+ "dev": true,
1589
+ "optional": true
1590
+ },
1591
+ "jsbn": {
1592
+ "version": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
1593
+ "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
1594
+ "dev": true,
1595
+ "optional": true
1596
+ },
1597
+ "json-schema": {
1598
+ "version": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
1599
+ "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=",
1600
+ "dev": true,
1601
+ "optional": true
1602
+ },
1603
+ "json-stringify-safe": {
1604
+ "version": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
1605
+ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
1606
+ "dev": true,
1607
+ "optional": true
1608
+ },
1609
+ "jsonpointer": {
1610
+ "version": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz",
1611
+ "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=",
1612
+ "dev": true,
1613
+ "optional": true
1614
+ },
1615
+ "jsprim": {
1616
+ "version": "https://registry.npmjs.org/jsprim/-/jsprim-1.3.1.tgz",
1617
+ "integrity": "sha1-KnJW9wQSop7jZwqspiWZTE3P8lI=",
1618
+ "dev": true,
1619
+ "optional": true
1620
+ },
1621
+ "mime-db": {
1622
+ "version": "https://registry.npmjs.org/mime-db/-/mime-db-1.26.0.tgz",
1623
+ "integrity": "sha1-6v/NDk/Gk1z4E02iRuLmw1MFrf8=",
1624
+ "dev": true
1625
+ },
1626
+ "mime-types": {
1627
+ "version": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz",
1628
+ "integrity": "sha1-9+99l1g/yvO30oK2+LVnnaselO4=",
1629
+ "dev": true
1630
+ },
1631
+ "minimatch": {
1632
+ "version": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz",
1633
+ "integrity": "sha1-Kk5AkLlrLbBqnX3wEFWmKnfJt3Q=",
1634
+ "dev": true
1635
+ },
1636
+ "minimist": {
1637
+ "version": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
1638
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
1639
+ "dev": true
1640
+ },
1641
+ "mkdirp": {
1642
+ "version": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
1643
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
1644
+ "dev": true
1645
+ },
1646
+ "ms": {
1647
+ "version": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
1648
+ "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
1649
+ "dev": true,
1650
+ "optional": true
1651
+ },
1652
+ "node-pre-gyp": {
1653
+ "version": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.33.tgz",
1654
+ "integrity": "sha1-ZArFUZj2qSWXLgwWxKwmoDTV7Mk=",
1655
+ "dev": true,
1656
+ "optional": true
1657
+ },
1658
+ "nopt": {
1659
+ "version": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
1660
+ "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
1661
+ "dev": true,
1662
+ "optional": true
1663
+ },
1664
+ "npmlog": {
1665
+ "version": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz",
1666
+ "integrity": "sha1-0DlQ4OeM4VJ7om0qdZLpNIrD518=",
1667
+ "dev": true,
1668
+ "optional": true
1669
+ },
1670
+ "number-is-nan": {
1671
+ "version": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
1672
+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
1673
+ "dev": true
1674
+ },
1675
+ "oauth-sign": {
1676
+ "version": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",
1677
+ "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",
1678
+ "dev": true,
1679
+ "optional": true
1680
+ },
1681
+ "object-assign": {
1682
+ "version": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
1683
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
1684
+ "dev": true,
1685
+ "optional": true
1686
+ },
1687
+ "once": {
1688
+ "version": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
1689
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
1690
+ "dev": true
1691
+ },
1692
+ "path-is-absolute": {
1693
+ "version": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
1694
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
1695
+ "dev": true
1696
+ },
1697
+ "pinkie": {
1698
+ "version": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
1699
+ "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
1700
+ "dev": true,
1701
+ "optional": true
1702
+ },
1703
+ "pinkie-promise": {
1704
+ "version": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
1705
+ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
1706
+ "dev": true,
1707
+ "optional": true
1708
+ },
1709
+ "process-nextick-args": {
1710
+ "version": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
1711
+ "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
1712
+ "dev": true
1713
+ },
1714
+ "punycode": {
1715
+ "version": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
1716
+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
1717
+ "dev": true,
1718
+ "optional": true
1719
+ },
1720
+ "qs": {
1721
+ "version": "https://registry.npmjs.org/qs/-/qs-6.3.1.tgz",
1722
+ "integrity": "sha1-kYwLO802Z5dyuvE1say0wWUe150=",
1723
+ "dev": true,
1724
+ "optional": true
1725
+ },
1726
+ "rc": {
1727
+ "version": "https://registry.npmjs.org/rc/-/rc-1.1.7.tgz",
1728
+ "integrity": "sha1-xepWS7B6/5/TpbMukGwdOmWUD+o=",
1729
+ "dev": true,
1730
+ "optional": true,
1731
+ "dependencies": {
1732
+ "minimist": {
1733
+ "version": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
1734
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
1735
+ "dev": true,
1736
+ "optional": true
1737
+ }
1738
+ }
1739
+ },
1740
+ "readable-stream": {
1741
+ "version": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz",
1742
+ "integrity": "sha1-qeb+w8fdqF+LsbO6cChgRVb8gl4=",
1743
+ "dev": true,
1744
+ "optional": true
1745
+ },
1746
+ "request": {
1747
+ "version": "https://registry.npmjs.org/request/-/request-2.79.0.tgz",
1748
+ "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=",
1749
+ "dev": true,
1750
+ "optional": true
1751
+ },
1752
+ "rimraf": {
1753
+ "version": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.4.tgz",
1754
+ "integrity": "sha1-loAAk8vxoMhr2VtGJUZ1NcKd+gQ=",
1755
+ "dev": true
1756
+ },
1757
+ "semver": {
1758
+ "version": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
1759
+ "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
1760
+ "dev": true,
1761
+ "optional": true
1762
+ },
1763
+ "set-blocking": {
1764
+ "version": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
1765
+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
1766
+ "dev": true,
1767
+ "optional": true
1768
+ },
1769
+ "signal-exit": {
1770
+ "version": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
1771
+ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
1772
+ "dev": true,
1773
+ "optional": true
1774
+ },
1775
+ "sntp": {
1776
+ "version": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz",
1777
+ "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
1778
+ "dev": true,
1779
+ "optional": true
1780
+ },
1781
+ "sshpk": {
1782
+ "version": "https://registry.npmjs.org/sshpk/-/sshpk-1.10.2.tgz",
1783
+ "integrity": "sha1-1agEziJpVRVjjnmNviMnPeBwpfo=",
1784
+ "dev": true,
1785
+ "optional": true,
1786
+ "dependencies": {
1787
+ "assert-plus": {
1788
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
1789
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
1790
+ "dev": true,
1791
+ "optional": true
1792
+ }
1793
+ }
1794
+ },
1795
+ "string_decoder": {
1796
+ "version": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
1797
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
1798
+ "dev": true
1799
+ },
1800
+ "string-width": {
1801
+ "version": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
1802
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
1803
+ "dev": true
1804
+ },
1805
+ "stringstream": {
1806
+ "version": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
1807
+ "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=",
1808
+ "dev": true,
1809
+ "optional": true
1810
+ },
1811
+ "strip-ansi": {
1812
+ "version": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
1813
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
1814
+ "dev": true
1815
+ },
1816
+ "strip-json-comments": {
1817
+ "version": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
1818
+ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
1819
+ "dev": true,
1820
+ "optional": true
1821
+ },
1822
+ "supports-color": {
1823
+ "version": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
1824
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
1825
+ "dev": true,
1826
+ "optional": true
1827
+ },
1828
+ "tar": {
1829
+ "version": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
1830
+ "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=",
1831
+ "dev": true
1832
+ },
1833
+ "tar-pack": {
1834
+ "version": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.3.0.tgz",
1835
+ "integrity": "sha1-MJMYFkGPVa/E0hd1r91nIM7kXa4=",
1836
+ "dev": true,
1837
+ "optional": true,
1838
+ "dependencies": {
1839
+ "once": {
1840
+ "version": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
1841
+ "integrity": "sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA=",
1842
+ "dev": true,
1843
+ "optional": true
1844
+ },
1845
+ "readable-stream": {
1846
+ "version": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.1.5.tgz",
1847
+ "integrity": "sha1-ZvqLcg4UOLNkaB8q0aY8YYRIydA=",
1848
+ "dev": true,
1849
+ "optional": true
1850
+ }
1851
+ }
1852
+ },
1853
+ "tough-cookie": {
1854
+ "version": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz",
1855
+ "integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=",
1856
+ "dev": true,
1857
+ "optional": true
1858
+ },
1859
+ "tunnel-agent": {
1860
+ "version": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz",
1861
+ "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=",
1862
+ "dev": true,
1863
+ "optional": true
1864
+ },
1865
+ "tweetnacl": {
1866
+ "version": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
1867
+ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
1868
+ "dev": true,
1869
+ "optional": true
1870
+ },
1871
+ "uid-number": {
1872
+ "version": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz",
1873
+ "integrity": "sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=",
1874
+ "dev": true,
1875
+ "optional": true
1876
+ },
1877
+ "util-deprecate": {
1878
+ "version": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1879
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
1880
+ "dev": true
1881
+ },
1882
+ "uuid": {
1883
+ "version": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz",
1884
+ "integrity": "sha1-ZUS7ot/ajBzxfmKaOjBeK7H+5sE=",
1885
+ "dev": true,
1886
+ "optional": true
1887
+ },
1888
+ "verror": {
1889
+ "version": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz",
1890
+ "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=",
1891
+ "dev": true,
1892
+ "optional": true
1893
+ },
1894
+ "wide-align": {
1895
+ "version": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.0.tgz",
1896
+ "integrity": "sha1-QO3egCpx/qHwcNo+YtzaLnrdlq0=",
1897
+ "dev": true,
1898
+ "optional": true
1899
+ },
1900
+ "wrappy": {
1901
+ "version": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1902
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
1903
+ "dev": true
1904
+ },
1905
+ "xtend": {
1906
+ "version": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
1907
+ "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=",
1908
+ "dev": true,
1909
+ "optional": true
1910
+ }
1911
+ }
1912
+ },
1913
+ "generate-function": {
1914
+ "version": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz",
1915
+ "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=",
1916
+ "dev": true
1917
+ },
1918
+ "generate-object-property": {
1919
+ "version": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz",
1920
+ "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=",
1921
+ "dev": true
1922
+ },
1923
+ "getpass": {
1924
+ "version": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz",
1925
+ "integrity": "sha1-KD/9n8ElaECHUxHBtg6MQBhxEOY=",
1926
+ "dev": true,
1927
+ "dependencies": {
1928
+ "assert-plus": {
1929
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
1930
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
1931
+ "dev": true
1932
+ }
1933
+ }
1934
+ },
1935
+ "glob": {
1936
+ "version": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz",
1937
+ "integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=",
1938
+ "dev": true
1939
+ },
1940
+ "glob-base": {
1941
+ "version": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
1942
+ "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
1943
+ "dev": true
1944
+ },
1945
+ "glob-parent": {
1946
+ "version": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
1947
+ "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
1948
+ "dev": true
1949
+ },
1950
+ "global": {
1951
+ "version": "https://registry.npmjs.org/global/-/global-4.3.1.tgz",
1952
+ "integrity": "sha1-X3V5CMfLq85U84auRA4R4mt5Ft8=",
1953
+ "dev": true
1954
+ },
1955
+ "globals": {
1956
+ "version": "https://registry.npmjs.org/globals/-/globals-9.16.0.tgz",
1957
+ "integrity": "sha1-Y+kDZYFx7C2fUbHTHeXiuNwB+4A=",
1958
+ "dev": true
1959
+ },
1960
+ "globby": {
1961
+ "version": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz",
1962
+ "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=",
1963
+ "dev": true
1964
+ },
1965
+ "graceful-fs": {
1966
+ "version": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
1967
+ "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
1968
+ "dev": true
1969
+ },
1970
+ "graceful-readlink": {
1971
+ "version": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
1972
+ "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=",
1973
+ "dev": true
1974
+ },
1975
+ "growl": {
1976
+ "version": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz",
1977
+ "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=",
1978
+ "dev": true
1979
+ },
1980
+ "har-validator": {
1981
+ "version": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz",
1982
+ "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=",
1983
+ "dev": true
1984
+ },
1985
+ "has-ansi": {
1986
+ "version": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
1987
+ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
1988
+ "dev": true
1989
+ },
1990
+ "has-binary": {
1991
+ "version": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.7.tgz",
1992
+ "integrity": "sha1-aOYesWIQyVRaClzOBqhzkS/h5ow=",
1993
+ "dev": true,
1994
+ "dependencies": {
1995
+ "isarray": {
1996
+ "version": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
1997
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
1998
+ "dev": true
1999
+ }
2000
+ }
2001
+ },
2002
+ "has-cors": {
2003
+ "version": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz",
2004
+ "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=",
2005
+ "dev": true
2006
+ },
2007
+ "hash.js": {
2008
+ "version": "https://registry.npmjs.org/hash.js/-/hash.js-1.0.3.tgz",
2009
+ "integrity": "sha1-EzL/ABVsCg/92CNgE9B7d6BFFXM=",
2010
+ "dev": true
2011
+ },
2012
+ "hasha": {
2013
+ "version": "https://registry.npmjs.org/hasha/-/hasha-2.2.0.tgz",
2014
+ "integrity": "sha1-eNfL/B5tZjA/55g3NlmEUXsvbuE=",
2015
+ "dev": true
2016
+ },
2017
+ "hawk": {
2018
+ "version": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz",
2019
+ "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
2020
+ "dev": true
2021
+ },
2022
+ "hmac-drbg": {
2023
+ "version": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.0.tgz",
2024
+ "integrity": "sha1-PbRx9FquSplKBogyIXH1G4uRvuU=",
2025
+ "dev": true
2026
+ },
2027
+ "hoek": {
2028
+ "version": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz",
2029
+ "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=",
2030
+ "dev": true
2031
+ },
2032
+ "home-or-tmp": {
2033
+ "version": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
2034
+ "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
2035
+ "dev": true
2036
+ },
2037
+ "http-errors": {
2038
+ "version": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.1.tgz",
2039
+ "integrity": "sha1-X4uO2YrKVFZWv1cplzh/kEpyIlc=",
2040
+ "dev": true
2041
+ },
2042
+ "http-proxy": {
2043
+ "version": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.16.2.tgz",
2044
+ "integrity": "sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=",
2045
+ "dev": true
2046
+ },
2047
+ "http-signature": {
2048
+ "version": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
2049
+ "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
2050
+ "dev": true
2051
+ },
2052
+ "httpplease": {
2053
+ "version": "https://registry.npmjs.org/httpplease/-/httpplease-0.16.4.tgz",
2054
+ "integrity": "sha1-04Lr4jDvUHkIC06f/r8xap51wNo="
2055
+ },
2056
+ "iconv-lite": {
2057
+ "version": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.15.tgz",
2058
+ "integrity": "sha1-/iZaIYrGpXz+hUkn6dBMGYJe3es=",
2059
+ "dev": true
2060
+ },
2061
+ "ignore": {
2062
+ "version": "https://registry.npmjs.org/ignore/-/ignore-3.2.4.tgz",
2063
+ "integrity": "sha1-QFXgNZZymo+r5FpDwQCtXtgVxOg=",
2064
+ "dev": true
2065
+ },
2066
+ "imurmurhash": {
2067
+ "version": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
2068
+ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
2069
+ "dev": true
2070
+ },
2071
+ "indexof": {
2072
+ "version": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
2073
+ "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=",
2074
+ "dev": true
2075
+ },
2076
+ "inflight": {
2077
+ "version": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
2078
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
2079
+ "dev": true
2080
+ },
2081
+ "inherits": {
2082
+ "version": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
2083
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
2084
+ "dev": true
2085
+ },
2086
+ "inquirer": {
2087
+ "version": "https://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz",
2088
+ "integrity": "sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34=",
2089
+ "dev": true
2090
+ },
2091
+ "invariant": {
2092
+ "version": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz",
2093
+ "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=",
2094
+ "dev": true
2095
+ },
2096
+ "is-binary-path": {
2097
+ "version": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
2098
+ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
2099
+ "dev": true
2100
+ },
2101
+ "is-buffer": {
2102
+ "version": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz",
2103
+ "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=",
2104
+ "dev": true
2105
+ },
2106
+ "is-dotfile": {
2107
+ "version": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz",
2108
+ "integrity": "sha1-LBMjg/ORmfjtwmjKAbmwB9IFzE0=",
2109
+ "dev": true
2110
+ },
2111
+ "is-equal-shallow": {
2112
+ "version": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
2113
+ "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=",
2114
+ "dev": true
2115
+ },
2116
+ "is-extendable": {
2117
+ "version": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
2118
+ "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
2119
+ "dev": true
2120
+ },
2121
+ "is-extglob": {
2122
+ "version": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
2123
+ "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
2124
+ "dev": true
2125
+ },
2126
+ "is-finite": {
2127
+ "version": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
2128
+ "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
2129
+ "dev": true
2130
+ },
2131
+ "is-fullwidth-code-point": {
2132
+ "version": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
2133
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
2134
+ "dev": true
2135
+ },
2136
+ "is-glob": {
2137
+ "version": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
2138
+ "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
2139
+ "dev": true
2140
+ },
2141
+ "is-my-json-valid": {
2142
+ "version": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz",
2143
+ "integrity": "sha1-8Hndm/2uZe4gOKrorLyGqxCeNpM=",
2144
+ "dev": true,
2145
+ "dependencies": {
2146
+ "xtend": {
2147
+ "version": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
2148
+ "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=",
2149
+ "dev": true
2150
+ }
2151
+ }
2152
+ },
2153
+ "is-number": {
2154
+ "version": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",
2155
+ "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",
2156
+ "dev": true
2157
+ },
2158
+ "is-path-cwd": {
2159
+ "version": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz",
2160
+ "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=",
2161
+ "dev": true
2162
+ },
2163
+ "is-path-in-cwd": {
2164
+ "version": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz",
2165
+ "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=",
2166
+ "dev": true
2167
+ },
2168
+ "is-path-inside": {
2169
+ "version": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz",
2170
+ "integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=",
2171
+ "dev": true
2172
+ },
2173
+ "is-posix-bracket": {
2174
+ "version": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
2175
+ "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=",
2176
+ "dev": true
2177
+ },
2178
+ "is-primitive": {
2179
+ "version": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
2180
+ "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
2181
+ "dev": true
2182
+ },
2183
+ "is-property": {
2184
+ "version": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz",
2185
+ "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=",
2186
+ "dev": true
2187
+ },
2188
+ "is-resolvable": {
2189
+ "version": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.0.0.tgz",
2190
+ "integrity": "sha1-jfV8YeouPFAUCNEA+wE8+NbgzGI=",
2191
+ "dev": true
2192
+ },
2193
+ "is-stream": {
2194
+ "version": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
2195
+ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
2196
+ "dev": true
2197
+ },
2198
+ "is-typedarray": {
2199
+ "version": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
2200
+ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
2201
+ "dev": true
2202
+ },
2203
+ "isarray": {
2204
+ "version": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
2205
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
2206
+ "dev": true
2207
+ },
2208
+ "isbinaryfile": {
2209
+ "version": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.2.tgz",
2210
+ "integrity": "sha1-Sj6XTsDLqQBNP8bN5yCeppNopiE=",
2211
+ "dev": true
2212
+ },
2213
+ "isexe": {
2214
+ "version": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz",
2215
+ "integrity": "sha1-NvPiLmB1CSD15yQaR2qMakInWtA=",
2216
+ "dev": true
2217
+ },
2218
+ "isobject": {
2219
+ "version": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
2220
+ "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
2221
+ "dev": true
2222
+ },
2223
+ "isstream": {
2224
+ "version": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
2225
+ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
2226
+ "dev": true
2227
+ },
2228
+ "jade": {
2229
+ "version": "https://registry.npmjs.org/jade/-/jade-0.26.3.tgz",
2230
+ "integrity": "sha1-jxDXl32NefL2/4YqgbBRPMslaGw=",
2231
+ "dev": true,
2232
+ "dependencies": {
2233
+ "commander": {
2234
+ "version": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz",
2235
+ "integrity": "sha1-+mihT2qUXVTbvlDYzbMyDp47GgY=",
2236
+ "dev": true
2237
+ },
2238
+ "mkdirp": {
2239
+ "version": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz",
2240
+ "integrity": "sha1-G79asbqCevI1dRQ0kEJkVfSB/h4=",
2241
+ "dev": true
2242
+ }
2243
+ }
2244
+ },
2245
+ "jodid25519": {
2246
+ "version": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz",
2247
+ "integrity": "sha1-BtSRIlUJNBlHfUJWM2BuDpB4KWc=",
2248
+ "dev": true,
2249
+ "optional": true
2250
+ },
2251
+ "js-sha256": {
2252
+ "version": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.3.2.tgz",
2253
+ "integrity": "sha1-2wlZJFUWQZHOgXGkiIzZV8Z78O0="
2254
+ },
2255
+ "js-tokens": {
2256
+ "version": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.1.tgz",
2257
+ "integrity": "sha1-COnxMkhKLEWjCQfp3E1VZ7fxFNc=",
2258
+ "dev": true
2259
+ },
2260
+ "js-yaml": {
2261
+ "version": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.8.2.tgz",
2262
+ "integrity": "sha1-AtPiwPa+qyAkjUEsNSIDgn14ZyE=",
2263
+ "dev": true
2264
+ },
2265
+ "jsbn": {
2266
+ "version": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
2267
+ "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
2268
+ "dev": true,
2269
+ "optional": true
2270
+ },
2271
+ "jsesc": {
2272
+ "version": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
2273
+ "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
2274
+ "dev": true
2275
+ },
2276
+ "json-schema": {
2277
+ "version": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
2278
+ "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=",
2279
+ "dev": true
2280
+ },
2281
+ "json-stable-stringify": {
2282
+ "version": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
2283
+ "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
2284
+ "dev": true
2285
+ },
2286
+ "json-stringify-safe": {
2287
+ "version": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
2288
+ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
2289
+ "dev": true
2290
+ },
2291
+ "json3": {
2292
+ "version": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz",
2293
+ "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=",
2294
+ "dev": true
2295
+ },
2296
+ "json5": {
2297
+ "version": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
2298
+ "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
2299
+ "dev": true
2300
+ },
2301
+ "jsonfile": {
2302
+ "version": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
2303
+ "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
2304
+ "dev": true
2305
+ },
2306
+ "jsonify": {
2307
+ "version": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
2308
+ "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=",
2309
+ "dev": true
2310
+ },
2311
+ "jsonpointer": {
2312
+ "version": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz",
2313
+ "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=",
2314
+ "dev": true
2315
+ },
2316
+ "jsprim": {
2317
+ "version": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz",
2318
+ "integrity": "sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg=",
2319
+ "dev": true,
2320
+ "dependencies": {
2321
+ "assert-plus": {
2322
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
2323
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
2324
+ "dev": true
2325
+ }
2326
+ }
2327
+ },
2328
+ "karma": {
2329
+ "version": "https://registry.npmjs.org/karma/-/karma-1.5.0.tgz",
2330
+ "integrity": "sha1-nEwU8EAL7ywEyOjmv/WTcQJcwAk=",
2331
+ "dev": true,
2332
+ "dependencies": {
2333
+ "lodash": {
2334
+ "version": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
2335
+ "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
2336
+ "dev": true
2337
+ }
2338
+ }
2339
+ },
2340
+ "karma-chrome-launcher": {
2341
+ "version": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-2.0.0.tgz",
2342
+ "integrity": "sha1-wnkMWjKxVXfQ//Wk1aJwOztDnCU=",
2343
+ "dev": true
2344
+ },
2345
+ "karma-mocha": {
2346
+ "version": "https://registry.npmjs.org/karma-mocha/-/karma-mocha-1.3.0.tgz",
2347
+ "integrity": "sha1-7qrH/8DiAetjxGdEDStpx883eL8=",
2348
+ "dev": true,
2349
+ "dependencies": {
2350
+ "minimist": {
2351
+ "version": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
2352
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
2353
+ "dev": true
2354
+ }
2355
+ }
2356
+ },
2357
+ "karma-phantomjs-launcher": {
2358
+ "version": "https://registry.npmjs.org/karma-phantomjs-launcher/-/karma-phantomjs-launcher-1.0.4.tgz",
2359
+ "integrity": "sha1-0jyjSAG9qYY60xjju0vUBisTrNI=",
2360
+ "dev": true
2361
+ },
2362
+ "karma-rollup-plugin": {
2363
+ "version": "https://registry.npmjs.org/karma-rollup-plugin/-/karma-rollup-plugin-0.2.4.tgz",
2364
+ "integrity": "sha1-BZVItBLnWi5GPV9uCQNbnQl4WlM=",
2365
+ "dev": true
2366
+ },
2367
+ "karma-should": {
2368
+ "version": "https://registry.npmjs.org/karma-should/-/karma-should-1.0.0.tgz",
2369
+ "integrity": "sha1-vKG5Z1cvrR+q/tbW3pk/4Ioo5v4=",
2370
+ "dev": true
2371
+ },
2372
+ "karma-sourcemap-loader": {
2373
+ "version": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz",
2374
+ "integrity": "sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg=",
2375
+ "dev": true
2376
+ },
2377
+ "kew": {
2378
+ "version": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz",
2379
+ "integrity": "sha1-edk9LTM2PW/dKXCzNdkUGtWR15s=",
2380
+ "dev": true
2381
+ },
2382
+ "kind-of": {
2383
+ "version": "https://registry.npmjs.org/kind-of/-/kind-of-3.1.0.tgz",
2384
+ "integrity": "sha1-R11pil5J/15T0U4+cyQp3Iv0z0c=",
2385
+ "dev": true
2386
+ },
2387
+ "klaw": {
2388
+ "version": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz",
2389
+ "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=",
2390
+ "dev": true
2391
+ },
2392
+ "levn": {
2393
+ "version": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
2394
+ "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
2395
+ "dev": true
2396
+ },
2397
+ "lodash": {
2398
+ "version": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
2399
+ "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=",
2400
+ "dev": true
2401
+ },
2402
+ "lodash.assign": {
2403
+ "version": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz",
2404
+ "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=",
2405
+ "dev": true
2406
+ },
2407
+ "lodash.pickby": {
2408
+ "version": "https://registry.npmjs.org/lodash.pickby/-/lodash.pickby-4.6.0.tgz",
2409
+ "integrity": "sha1-feoh2MGNdwOifHBMFdO4SmfjOv8=",
2410
+ "dev": true
2411
+ },
2412
+ "log4js": {
2413
+ "version": "https://registry.npmjs.org/log4js/-/log4js-0.6.38.tgz",
2414
+ "integrity": "sha1-LElBFmldb7JUgJQ9P8hy5mKlIv0=",
2415
+ "dev": true,
2416
+ "dependencies": {
2417
+ "isarray": {
2418
+ "version": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
2419
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
2420
+ "dev": true
2421
+ },
2422
+ "readable-stream": {
2423
+ "version": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
2424
+ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
2425
+ "dev": true
2426
+ }
2427
+ }
2428
+ },
2429
+ "loose-envify": {
2430
+ "version": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz",
2431
+ "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=",
2432
+ "dev": true
2433
+ },
2434
+ "lru-cache": {
2435
+ "version": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.2.4.tgz",
2436
+ "integrity": "sha1-bGWGGb7PFAMdDQtZSxYELOTcBj0=",
2437
+ "dev": true
2438
+ },
2439
+ "magic-string": {
2440
+ "version": "https://registry.npmjs.org/magic-string/-/magic-string-0.15.2.tgz",
2441
+ "integrity": "sha1-BoHXOIdBu8Ot2qZQYJkmJMbAnpw=",
2442
+ "dev": true
2443
+ },
2444
+ "media-typer": {
2445
+ "version": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
2446
+ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
2447
+ "dev": true
2448
+ },
2449
+ "micromatch": {
2450
+ "version": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
2451
+ "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
2452
+ "dev": true
2453
+ },
2454
+ "miller-rabin": {
2455
+ "version": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.0.tgz",
2456
+ "integrity": "sha1-SmL7HUKTPAVYOYL0xxb2+55sbT0=",
2457
+ "dev": true
2458
+ },
2459
+ "mime": {
2460
+ "version": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz",
2461
+ "integrity": "sha1-EV+eO2s9rylZmDyzjxSaLUDrXVM=",
2462
+ "dev": true
2463
+ },
2464
+ "mime-db": {
2465
+ "version": "https://registry.npmjs.org/mime-db/-/mime-db-1.26.0.tgz",
2466
+ "integrity": "sha1-6v/NDk/Gk1z4E02iRuLmw1MFrf8=",
2467
+ "dev": true
2468
+ },
2469
+ "mime-types": {
2470
+ "version": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz",
2471
+ "integrity": "sha1-9+99l1g/yvO30oK2+LVnnaselO4=",
2472
+ "dev": true
2473
+ },
2474
+ "min-document": {
2475
+ "version": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz",
2476
+ "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=",
2477
+ "dev": true
2478
+ },
2479
+ "minimalistic-assert": {
2480
+ "version": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz",
2481
+ "integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M=",
2482
+ "dev": true
2483
+ },
2484
+ "minimalistic-crypto-utils": {
2485
+ "version": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",
2486
+ "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=",
2487
+ "dev": true
2488
+ },
2489
+ "minimatch": {
2490
+ "version": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz",
2491
+ "integrity": "sha1-Kk5AkLlrLbBqnX3wEFWmKnfJt3Q=",
2492
+ "dev": true
2493
+ },
2494
+ "minimist": {
2495
+ "version": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
2496
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
2497
+ "dev": true
2498
+ },
2499
+ "mkdirp": {
2500
+ "version": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
2501
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
2502
+ "dev": true
2503
+ },
2504
+ "mocha": {
2505
+ "version": "https://registry.npmjs.org/mocha/-/mocha-2.5.3.tgz",
2506
+ "integrity": "sha1-FhvlvetJZ3HrmzV0UFC2IrWu/Fg=",
2507
+ "dev": true,
2508
+ "dependencies": {
2509
+ "commander": {
2510
+ "version": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz",
2511
+ "integrity": "sha1-/UMOiJgy7DU7ms0d4hfBHLPu+HM=",
2512
+ "dev": true
2513
+ },
2514
+ "debug": {
2515
+ "version": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
2516
+ "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
2517
+ "dev": true
2518
+ },
2519
+ "escape-string-regexp": {
2520
+ "version": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz",
2521
+ "integrity": "sha1-Tbwv5nTnGUnK8/smlc5/LcHZqNE=",
2522
+ "dev": true
2523
+ },
2524
+ "glob": {
2525
+ "version": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz",
2526
+ "integrity": "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0=",
2527
+ "dev": true
2528
+ },
2529
+ "minimatch": {
2530
+ "version": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz",
2531
+ "integrity": "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0=",
2532
+ "dev": true
2533
+ },
2534
+ "ms": {
2535
+ "version": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
2536
+ "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
2537
+ "dev": true
2538
+ },
2539
+ "supports-color": {
2540
+ "version": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz",
2541
+ "integrity": "sha1-/x7R5hFp0Gs88tWI4YixjYhH4X4=",
2542
+ "dev": true
2543
+ }
2544
+ }
2545
+ },
2546
+ "ms": {
2547
+ "version": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz",
2548
+ "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=",
2549
+ "dev": true
2550
+ },
2551
+ "mute-stream": {
2552
+ "version": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz",
2553
+ "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=",
2554
+ "dev": true
2555
+ },
2556
+ "nan": {
2557
+ "version": "https://registry.npmjs.org/nan/-/nan-2.5.1.tgz",
2558
+ "integrity": "sha1-1bAWkSUzJql6K77p5hxV2NYDUeI=",
2559
+ "dev": true,
2560
+ "optional": true
2561
+ },
2562
+ "negotiator": {
2563
+ "version": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
2564
+ "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=",
2565
+ "dev": true
2566
+ },
2567
+ "normalize-path": {
2568
+ "version": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.0.1.tgz",
2569
+ "integrity": "sha1-R4hqwWYnYNQmG32XnSQXCdPOP3o=",
2570
+ "dev": true
2571
+ },
2572
+ "null-check": {
2573
+ "version": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz",
2574
+ "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=",
2575
+ "dev": true
2576
+ },
2577
+ "number-is-nan": {
2578
+ "version": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
2579
+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
2580
+ "dev": true
2581
+ },
2582
+ "oauth-sign": {
2583
+ "version": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",
2584
+ "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",
2585
+ "dev": true
2586
+ },
2587
+ "object-assign": {
2588
+ "version": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
2589
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
2590
+ "dev": true
2591
+ },
2592
+ "object-component": {
2593
+ "version": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz",
2594
+ "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=",
2595
+ "dev": true
2596
+ },
2597
+ "object.omit": {
2598
+ "version": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
2599
+ "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
2600
+ "dev": true
2601
+ },
2602
+ "on-finished": {
2603
+ "version": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
2604
+ "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
2605
+ "dev": true
2606
+ },
2607
+ "once": {
2608
+ "version": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2609
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
2610
+ "dev": true
2611
+ },
2612
+ "onetime": {
2613
+ "version": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
2614
+ "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=",
2615
+ "dev": true
2616
+ },
2617
+ "optimist": {
2618
+ "version": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
2619
+ "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
2620
+ "dev": true,
2621
+ "dependencies": {
2622
+ "wordwrap": {
2623
+ "version": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
2624
+ "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
2625
+ "dev": true
2626
+ }
2627
+ }
2628
+ },
2629
+ "optionator": {
2630
+ "version": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
2631
+ "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
2632
+ "dev": true
2633
+ },
2634
+ "options": {
2635
+ "version": "https://registry.npmjs.org/options/-/options-0.0.6.tgz",
2636
+ "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=",
2637
+ "dev": true
2638
+ },
2639
+ "os-homedir": {
2640
+ "version": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
2641
+ "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
2642
+ "dev": true
2643
+ },
2644
+ "os-tmpdir": {
2645
+ "version": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
2646
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
2647
+ "dev": true
2648
+ },
2649
+ "output-file-sync": {
2650
+ "version": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz",
2651
+ "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=",
2652
+ "dev": true
2653
+ },
2654
+ "parse-asn1": {
2655
+ "version": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz",
2656
+ "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=",
2657
+ "dev": true
2658
+ },
2659
+ "parse-glob": {
2660
+ "version": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
2661
+ "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=",
2662
+ "dev": true
2663
+ },
2664
+ "parsejson": {
2665
+ "version": "https://registry.npmjs.org/parsejson/-/parsejson-0.0.3.tgz",
2666
+ "integrity": "sha1-q343WfIJ7OmUN5c/fQ8fZK4OZKs=",
2667
+ "dev": true
2668
+ },
2669
+ "parseqs": {
2670
+ "version": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz",
2671
+ "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=",
2672
+ "dev": true
2673
+ },
2674
+ "parseuri": {
2675
+ "version": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz",
2676
+ "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=",
2677
+ "dev": true
2678
+ },
2679
+ "parseurl": {
2680
+ "version": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.1.tgz",
2681
+ "integrity": "sha1-yKuMkiO6NIiKpkopeyiFO+wY2lY=",
2682
+ "dev": true
2683
+ },
2684
+ "path-is-absolute": {
2685
+ "version": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
2686
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
2687
+ "dev": true
2688
+ },
2689
+ "path-is-inside": {
2690
+ "version": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
2691
+ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",
2692
+ "dev": true
2693
+ },
2694
+ "path-parse": {
2695
+ "version": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz",
2696
+ "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=",
2697
+ "dev": true
2698
+ },
2699
+ "pbkdf2": {
2700
+ "version": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.9.tgz",
2701
+ "integrity": "sha1-8sSyWmAAWLPDdzwIbDfbvuH/5pM=",
2702
+ "dev": true
2703
+ },
2704
+ "pend": {
2705
+ "version": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
2706
+ "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
2707
+ "dev": true
2708
+ },
2709
+ "phantomjs-prebuilt": {
2710
+ "version": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.14.tgz",
2711
+ "integrity": "sha1-1T0xH8+30dCN2yQBRVjxGIxRbaA=",
2712
+ "dev": true
2713
+ },
2714
+ "pify": {
2715
+ "version": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
2716
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
2717
+ "dev": true
2718
+ },
2719
+ "pinkie": {
2720
+ "version": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
2721
+ "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
2722
+ "dev": true
2723
+ },
2724
+ "pinkie-promise": {
2725
+ "version": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
2726
+ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
2727
+ "dev": true
2728
+ },
2729
+ "pluralize": {
2730
+ "version": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz",
2731
+ "integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=",
2732
+ "dev": true
2733
+ },
2734
+ "prelude-ls": {
2735
+ "version": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
2736
+ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
2737
+ "dev": true
2738
+ },
2739
+ "preserve": {
2740
+ "version": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
2741
+ "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=",
2742
+ "dev": true
2743
+ },
2744
+ "private": {
2745
+ "version": "https://registry.npmjs.org/private/-/private-0.1.7.tgz",
2746
+ "integrity": "sha1-aM5eih7woju1cMwoU3tTMqumPvE=",
2747
+ "dev": true
2748
+ },
2749
+ "process": {
2750
+ "version": "https://registry.npmjs.org/process/-/process-0.5.2.tgz",
2751
+ "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=",
2752
+ "dev": true
2753
+ },
2754
+ "process-es6": {
2755
+ "version": "https://registry.npmjs.org/process-es6/-/process-es6-0.11.6.tgz",
2756
+ "integrity": "sha1-xrs4n5qVH4K9TrFpYAEFvS/5x3g=",
2757
+ "dev": true
2758
+ },
2759
+ "process-nextick-args": {
2760
+ "version": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
2761
+ "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
2762
+ "dev": true
2763
+ },
2764
+ "progress": {
2765
+ "version": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz",
2766
+ "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=",
2767
+ "dev": true
2768
+ },
2769
+ "public-encrypt": {
2770
+ "version": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz",
2771
+ "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=",
2772
+ "dev": true
2773
+ },
2774
+ "punycode": {
2775
+ "version": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
2776
+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
2777
+ "dev": true
2778
+ },
2779
+ "qjobs": {
2780
+ "version": "https://registry.npmjs.org/qjobs/-/qjobs-1.1.5.tgz",
2781
+ "integrity": "sha1-ZZ3p8s+NzCehSBJ28gU3cnI4LnM=",
2782
+ "dev": true
2783
+ },
2784
+ "qs": {
2785
+ "version": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz",
2786
+ "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=",
2787
+ "dev": true
2788
+ },
2789
+ "querystring": {
2790
+ "version": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
2791
+ "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",
2792
+ "dev": true
2793
+ },
2794
+ "randomatic": {
2795
+ "version": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz",
2796
+ "integrity": "sha1-EQ3Kv/OX6dz/fAeJzMCkmt8exbs=",
2797
+ "dev": true
2798
+ },
2799
+ "randombytes": {
2800
+ "version": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.3.tgz",
2801
+ "integrity": "sha1-Z0yZdgkBw8QRJ3GjHlIdw0nMCew=",
2802
+ "dev": true
2803
+ },
2804
+ "range-parser": {
2805
+ "version": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
2806
+ "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
2807
+ "dev": true
2808
+ },
2809
+ "raw-body": {
2810
+ "version": "https://registry.npmjs.org/raw-body/-/raw-body-2.2.0.tgz",
2811
+ "integrity": "sha1-mUl2z2pQlqQRYoQEkvC9xdbn+5Y=",
2812
+ "dev": true
2813
+ },
2814
+ "readable-stream": {
2815
+ "version": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.3.tgz",
2816
+ "integrity": "sha1-nPSUY5hd8BbIrogTCXqSk6mzNyk=",
2817
+ "dev": true
2818
+ },
2819
+ "readdirp": {
2820
+ "version": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz",
2821
+ "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=",
2822
+ "dev": true
2823
+ },
2824
+ "readline2": {
2825
+ "version": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz",
2826
+ "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=",
2827
+ "dev": true
2828
+ },
2829
+ "regenerate": {
2830
+ "version": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz",
2831
+ "integrity": "sha1-0ZQcZ7rUN+G+dkM63Vs4X5WxkmA=",
2832
+ "dev": true
2833
+ },
2834
+ "regenerator-runtime": {
2835
+ "version": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz",
2836
+ "integrity": "sha1-jENnqQS1HqYqkIrDEL+Z/5CoKj4=",
2837
+ "dev": true
2838
+ },
2839
+ "regenerator-transform": {
2840
+ "version": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.8.tgz",
2841
+ "integrity": "sha1-D4i7K8A5Mt23trcxLmgHjwECbWw=",
2842
+ "dev": true
2843
+ },
2844
+ "regex-cache": {
2845
+ "version": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz",
2846
+ "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=",
2847
+ "dev": true
2848
+ },
2849
+ "regexpu-core": {
2850
+ "version": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
2851
+ "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=",
2852
+ "dev": true
2853
+ },
2854
+ "regjsgen": {
2855
+ "version": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
2856
+ "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",
2857
+ "dev": true
2858
+ },
2859
+ "regjsparser": {
2860
+ "version": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
2861
+ "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
2862
+ "dev": true,
2863
+ "dependencies": {
2864
+ "jsesc": {
2865
+ "version": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
2866
+ "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
2867
+ "dev": true
2868
+ }
2869
+ }
2870
+ },
2871
+ "repeat-element": {
2872
+ "version": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz",
2873
+ "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=",
2874
+ "dev": true
2875
+ },
2876
+ "repeat-string": {
2877
+ "version": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
2878
+ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
2879
+ "dev": true
2880
+ },
2881
+ "repeating": {
2882
+ "version": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
2883
+ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
2884
+ "dev": true
2885
+ },
2886
+ "request": {
2887
+ "version": "https://registry.npmjs.org/request/-/request-2.79.0.tgz",
2888
+ "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=",
2889
+ "dev": true,
2890
+ "dependencies": {
2891
+ "qs": {
2892
+ "version": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz",
2893
+ "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=",
2894
+ "dev": true
2895
+ }
2896
+ }
2897
+ },
2898
+ "request-progress": {
2899
+ "version": "https://registry.npmjs.org/request-progress/-/request-progress-2.0.1.tgz",
2900
+ "integrity": "sha1-XTa7V5YcZzqlt4jbyBQf3yO0Tgg=",
2901
+ "dev": true
2902
+ },
2903
+ "require-uncached": {
2904
+ "version": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz",
2905
+ "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=",
2906
+ "dev": true
2907
+ },
2908
+ "requires-port": {
2909
+ "version": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
2910
+ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=",
2911
+ "dev": true
2912
+ },
2913
+ "resolve": {
2914
+ "version": "https://registry.npmjs.org/resolve/-/resolve-1.3.2.tgz",
2915
+ "integrity": "sha1-HwRCyeDLuBNuh7kwX5MvRsfygjU=",
2916
+ "dev": true
2917
+ },
2918
+ "resolve-from": {
2919
+ "version": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
2920
+ "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
2921
+ "dev": true
2922
+ },
2923
+ "restore-cursor": {
2924
+ "version": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz",
2925
+ "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=",
2926
+ "dev": true
2927
+ },
2928
+ "rimraf": {
2929
+ "version": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz",
2930
+ "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=",
2931
+ "dev": true
2932
+ },
2933
+ "ripemd160": {
2934
+ "version": "https://registry.npmjs.org/ripemd160/-/ripemd160-1.0.1.tgz",
2935
+ "integrity": "sha1-k6S71JQrxXS2mo+lfHHeEOzKfW4=",
2936
+ "dev": true
2937
+ },
2938
+ "rollup": {
2939
+ "version": "https://registry.npmjs.org/rollup/-/rollup-0.34.13.tgz",
2940
+ "integrity": "sha1-ohHN3jH5bLOefLTjW+yxXdw++hk=",
2941
+ "dev": true
2942
+ },
2943
+ "rollup-plugin-babel": {
2944
+ "version": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-2.7.1.tgz",
2945
+ "integrity": "sha1-FlKBl7D5OKFTb0RoPHqT1XMYL1c=",
2946
+ "dev": true
2947
+ },
2948
+ "rollup-plugin-coffee-script": {
2949
+ "version": "https://registry.npmjs.org/rollup-plugin-coffee-script/-/rollup-plugin-coffee-script-1.1.0.tgz",
2950
+ "integrity": "sha1-BIteIw0ZOCNiZWW5kuaEG7F8VUs=",
2951
+ "dev": true
2952
+ },
2953
+ "rollup-plugin-commonjs": {
2954
+ "version": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-3.3.1.tgz",
2955
+ "integrity": "sha1-2oJOk2FcDFYVfR90OEncAHT6u/s=",
2956
+ "dev": true,
2957
+ "dependencies": {
2958
+ "acorn": {
2959
+ "version": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz",
2960
+ "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=",
2961
+ "dev": true
2962
+ }
2963
+ }
2964
+ },
2965
+ "rollup-plugin-json": {
2966
+ "version": "https://registry.npmjs.org/rollup-plugin-json/-/rollup-plugin-json-2.1.0.tgz",
2967
+ "integrity": "sha1-f44bKxVpMt2TS5ONxVR+QRjUEh8=",
2968
+ "dev": true
2969
+ },
2970
+ "rollup-plugin-node-builtins": {
2971
+ "version": "https://registry.npmjs.org/rollup-plugin-node-builtins/-/rollup-plugin-node-builtins-1.2.1.tgz",
2972
+ "integrity": "sha1-oSnHL9qWBzWLeWWwDf4/Mk7EJiE=",
2973
+ "dev": true
2974
+ },
2975
+ "rollup-plugin-node-globals": {
2976
+ "version": "https://registry.npmjs.org/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.1.0.tgz",
2977
+ "integrity": "sha1-fv2NYR0TJzeCnoBOn1H1CWKvRR8=",
2978
+ "dev": true,
2979
+ "dependencies": {
2980
+ "magic-string": {
2981
+ "version": "https://registry.npmjs.org/magic-string/-/magic-string-0.16.0.tgz",
2982
+ "integrity": "sha1-lw67DacZMwEoX7GqZQ85vdgetFo=",
2983
+ "dev": true
2984
+ }
2985
+ }
2986
+ },
2987
+ "rollup-plugin-node-resolve": {
2988
+ "version": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-2.0.0.tgz",
2989
+ "integrity": "sha1-B+CulKwAKj6jbo8zyhIdn4NrEwk=",
2990
+ "dev": true
2991
+ },
2992
+ "rollup-pluginutils": {
2993
+ "version": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz",
2994
+ "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=",
2995
+ "dev": true
2996
+ },
2997
+ "rollup-watch": {
2998
+ "version": "https://registry.npmjs.org/rollup-watch/-/rollup-watch-2.5.0.tgz",
2999
+ "integrity": "sha1-hS1mDd7MUWlokKqMIule1FWMxfc=",
3000
+ "dev": true,
3001
+ "dependencies": {
3002
+ "semver": {
3003
+ "version": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
3004
+ "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
3005
+ "dev": true
3006
+ }
3007
+ }
3008
+ },
3009
+ "routes": {
3010
+ "version": "https://registry.npmjs.org/routes/-/routes-2.1.0.tgz",
3011
+ "integrity": "sha1-R1VxGSpI+ZtsBl3ZJrt16K6D6KI=",
3012
+ "dev": true
3013
+ },
3014
+ "run-async": {
3015
+ "version": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz",
3016
+ "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=",
3017
+ "dev": true
3018
+ },
3019
+ "rx-lite": {
3020
+ "version": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz",
3021
+ "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=",
3022
+ "dev": true
3023
+ },
3024
+ "safe-buffer": {
3025
+ "version": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz",
3026
+ "integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=",
3027
+ "dev": true
3028
+ },
3029
+ "semver": {
3030
+ "version": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
3031
+ "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=",
3032
+ "dev": true
3033
+ },
3034
+ "set-immediate-shim": {
3035
+ "version": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz",
3036
+ "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=",
3037
+ "dev": true
3038
+ },
3039
+ "setimmediate": {
3040
+ "version": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
3041
+ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
3042
+ },
3043
+ "setprototypeof": {
3044
+ "version": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz",
3045
+ "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=",
3046
+ "dev": true
3047
+ },
3048
+ "sha.js": {
3049
+ "version": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.8.tgz",
3050
+ "integrity": "sha1-NwaMLEdra69ALRSknGf1l5IfY08=",
3051
+ "dev": true
3052
+ },
3053
+ "shelljs": {
3054
+ "version": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.1.tgz",
3055
+ "integrity": "sha1-7GIRvtGSBEIIj+D3Cyg3Iy7SyKg=",
3056
+ "dev": true
3057
+ },
3058
+ "should": {
3059
+ "version": "https://registry.npmjs.org/should/-/should-8.4.0.tgz",
3060
+ "integrity": "sha1-XmCInT5kS73Tl6MM00+tKPz5C8A=",
3061
+ "dev": true
3062
+ },
3063
+ "should-equal": {
3064
+ "version": "https://registry.npmjs.org/should-equal/-/should-equal-0.8.0.tgz",
3065
+ "integrity": "sha1-o/BXMv9FusG3ukEvhAiFaBlkEpk=",
3066
+ "dev": true
3067
+ },
3068
+ "should-format": {
3069
+ "version": "https://registry.npmjs.org/should-format/-/should-format-0.3.2.tgz",
3070
+ "integrity": "sha1-pZgx4Bot3uFJkRvHFIvlyAMZ4f8=",
3071
+ "dev": true
3072
+ },
3073
+ "should-type": {
3074
+ "version": "https://registry.npmjs.org/should-type/-/should-type-0.2.0.tgz",
3075
+ "integrity": "sha1-ZwfvlVKdmJ3MCY/gdTqx+RNrt/Y=",
3076
+ "dev": true
3077
+ },
3078
+ "sigmund": {
3079
+ "version": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
3080
+ "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=",
3081
+ "dev": true
3082
+ },
3083
+ "slash": {
3084
+ "version": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
3085
+ "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
3086
+ "dev": true
3087
+ },
3088
+ "slice-ansi": {
3089
+ "version": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz",
3090
+ "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=",
3091
+ "dev": true
3092
+ },
3093
+ "sntp": {
3094
+ "version": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz",
3095
+ "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
3096
+ "dev": true
3097
+ },
3098
+ "socket.io": {
3099
+ "version": "https://registry.npmjs.org/socket.io/-/socket.io-1.7.3.tgz",
3100
+ "integrity": "sha1-uK+cq6AJSeVo42nxMn6pvp6iRhs=",
3101
+ "dev": true,
3102
+ "dependencies": {
3103
+ "debug": {
3104
+ "version": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
3105
+ "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
3106
+ "dev": true
3107
+ },
3108
+ "object-assign": {
3109
+ "version": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz",
3110
+ "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=",
3111
+ "dev": true
3112
+ }
3113
+ }
3114
+ },
3115
+ "socket.io-adapter": {
3116
+ "version": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz",
3117
+ "integrity": "sha1-y21LuL7IHhB4uZZ3+c7QBGBmu4s=",
3118
+ "dev": true,
3119
+ "dependencies": {
3120
+ "debug": {
3121
+ "version": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
3122
+ "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
3123
+ "dev": true
3124
+ }
3125
+ }
3126
+ },
3127
+ "socket.io-client": {
3128
+ "version": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.7.3.tgz",
3129
+ "integrity": "sha1-sw6GqhDV7zVGYBwJzeR2Xjgdo3c=",
3130
+ "dev": true,
3131
+ "dependencies": {
3132
+ "component-emitter": {
3133
+ "version": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
3134
+ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
3135
+ "dev": true
3136
+ },
3137
+ "debug": {
3138
+ "version": "https://registry.npmjs.org/debug/-/debug-2.3.3.tgz",
3139
+ "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=",
3140
+ "dev": true
3141
+ }
3142
+ }
3143
+ },
3144
+ "socket.io-parser": {
3145
+ "version": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.3.1.tgz",
3146
+ "integrity": "sha1-3VMgJRA85Clpcya+/WQAX8/ltKA=",
3147
+ "dev": true,
3148
+ "dependencies": {
3149
+ "debug": {
3150
+ "version": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
3151
+ "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
3152
+ "dev": true
3153
+ },
3154
+ "isarray": {
3155
+ "version": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
3156
+ "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
3157
+ "dev": true
3158
+ },
3159
+ "ms": {
3160
+ "version": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
3161
+ "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
3162
+ "dev": true
3163
+ }
3164
+ }
3165
+ },
3166
+ "source-map": {
3167
+ "version": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz",
3168
+ "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=",
3169
+ "dev": true
3170
+ },
3171
+ "source-map-support": {
3172
+ "version": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.12.tgz",
3173
+ "integrity": "sha1-9H0CvwHvrwwWDTo30DhAG5Kxhn4=",
3174
+ "dev": true
3175
+ },
3176
+ "sprintf-js": {
3177
+ "version": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
3178
+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
3179
+ "dev": true
3180
+ },
3181
+ "sshpk": {
3182
+ "version": "https://registry.npmjs.org/sshpk/-/sshpk-1.11.0.tgz",
3183
+ "integrity": "sha1-LY1eu0pvqyj/ujf6YqkPSj6lnXc=",
3184
+ "dev": true,
3185
+ "dependencies": {
3186
+ "assert-plus": {
3187
+ "version": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
3188
+ "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
3189
+ "dev": true
3190
+ }
3191
+ }
3192
+ },
3193
+ "statuses": {
3194
+ "version": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz",
3195
+ "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=",
3196
+ "dev": true
3197
+ },
3198
+ "stratumn-agent-client": {
3199
+ "version": "1.9.0",
3200
+ "resolved": "https://registry.npmjs.org/stratumn-agent-client/-/stratumn-agent-client-1.9.0.tgz",
3201
+ "integrity": "sha1-9GGBA63VNgwgEB7967ePbCD3Jws=",
3202
+ "dependencies": {
3203
+ "xmlhttprequest": {
3204
+ "version": "1.7.0",
3205
+ "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.7.0.tgz",
3206
+ "integrity": "sha1-3Gl6jfAlivrK1SbBwpaxvdEsSrM="
3207
+ }
3208
+ }
3209
+ },
3210
+ "string_decoder": {
3211
+ "version": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
3212
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
3213
+ "dev": true
3214
+ },
3215
+ "string-width": {
3216
+ "version": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
3217
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
3218
+ "dev": true
3219
+ },
3220
+ "stringstream": {
3221
+ "version": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
3222
+ "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=",
3223
+ "dev": true
3224
+ },
3225
+ "strip-ansi": {
3226
+ "version": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
3227
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
3228
+ "dev": true
3229
+ },
3230
+ "strip-json-comments": {
3231
+ "version": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz",
3232
+ "integrity": "sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=",
3233
+ "dev": true
3234
+ },
3235
+ "supports-color": {
3236
+ "version": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
3237
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
3238
+ "dev": true
3239
+ },
3240
+ "table": {
3241
+ "version": "https://registry.npmjs.org/table/-/table-3.8.3.tgz",
3242
+ "integrity": "sha1-K7xULw/amGGnVdOUf+/Ys/UThV8=",
3243
+ "dev": true,
3244
+ "dependencies": {
3245
+ "is-fullwidth-code-point": {
3246
+ "version": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
3247
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
3248
+ "dev": true
3249
+ },
3250
+ "string-width": {
3251
+ "version": "https://registry.npmjs.org/string-width/-/string-width-2.0.0.tgz",
3252
+ "integrity": "sha1-Y1xUNsxypuDDh87KJ41OLuxSaH4=",
3253
+ "dev": true
3254
+ }
3255
+ }
3256
+ },
3257
+ "text-table": {
3258
+ "version": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
3259
+ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
3260
+ "dev": true
3261
+ },
3262
+ "throttleit": {
3263
+ "version": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz",
3264
+ "integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=",
3265
+ "dev": true
3266
+ },
3267
+ "through": {
3268
+ "version": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
3269
+ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
3270
+ "dev": true
3271
+ },
3272
+ "tmp": {
3273
+ "version": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz",
3274
+ "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=",
3275
+ "dev": true
3276
+ },
3277
+ "to-array": {
3278
+ "version": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz",
3279
+ "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=",
3280
+ "dev": true
3281
+ },
3282
+ "to-fast-properties": {
3283
+ "version": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.2.tgz",
3284
+ "integrity": "sha1-8/XAw7pymafvmUJ+RGMyV63kMyA=",
3285
+ "dev": true
3286
+ },
3287
+ "to-iso-string": {
3288
+ "version": "https://registry.npmjs.org/to-iso-string/-/to-iso-string-0.0.2.tgz",
3289
+ "integrity": "sha1-TcGeZk38y+Jb2NtQiwDG2hWCVdE=",
3290
+ "dev": true
3291
+ },
3292
+ "tough-cookie": {
3293
+ "version": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz",
3294
+ "integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=",
3295
+ "dev": true
3296
+ },
3297
+ "trim-right": {
3298
+ "version": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
3299
+ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
3300
+ "dev": true
3301
+ },
3302
+ "tryit": {
3303
+ "version": "https://registry.npmjs.org/tryit/-/tryit-1.0.3.tgz",
3304
+ "integrity": "sha1-OTvnMKlEb9Hq1tpZoBQwjzbCics=",
3305
+ "dev": true
3306
+ },
3307
+ "tunnel-agent": {
3308
+ "version": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz",
3309
+ "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=",
3310
+ "dev": true
3311
+ },
3312
+ "tweetnacl": {
3313
+ "version": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
3314
+ "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
3315
+ "dev": true,
3316
+ "optional": true
3317
+ },
3318
+ "type-check": {
3319
+ "version": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
3320
+ "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
3321
+ "dev": true
3322
+ },
3323
+ "type-is": {
3324
+ "version": "https://registry.npmjs.org/type-is/-/type-is-1.6.14.tgz",
3325
+ "integrity": "sha1-4hljnBfe0coHiQkt1UoDgmuBfLI=",
3326
+ "dev": true
3327
+ },
3328
+ "typedarray": {
3329
+ "version": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
3330
+ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
3331
+ "dev": true
3332
+ },
3333
+ "ultron": {
3334
+ "version": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz",
3335
+ "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=",
3336
+ "dev": true
3337
+ },
3338
+ "unpipe": {
3339
+ "version": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
3340
+ "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
3341
+ "dev": true
3342
+ },
3343
+ "url": {
3344
+ "version": "https://registry.npmjs.org/url/-/url-0.10.3.tgz",
3345
+ "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=",
3346
+ "dev": true,
3347
+ "dependencies": {
3348
+ "punycode": {
3349
+ "version": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
3350
+ "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",
3351
+ "dev": true
3352
+ }
3353
+ }
3354
+ },
3355
+ "urllite": {
3356
+ "version": "https://registry.npmjs.org/urllite/-/urllite-0.5.0.tgz",
3357
+ "integrity": "sha1-G3u5yj+w25Ug3hE0ZrvPfMNBRRo=",
3358
+ "dependencies": {
3359
+ "xtend": {
3360
+ "version": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
3361
+ "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68="
3362
+ }
3363
+ }
3364
+ },
3365
+ "user-home": {
3366
+ "version": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz",
3367
+ "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=",
3368
+ "dev": true
3369
+ },
3370
+ "useragent": {
3371
+ "version": "https://registry.npmjs.org/useragent/-/useragent-2.1.12.tgz",
3372
+ "integrity": "sha1-qn2mzcSL3De6hnkIcacyHWTtuqI=",
3373
+ "dev": true
3374
+ },
3375
+ "util-deprecate": {
3376
+ "version": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
3377
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
3378
+ "dev": true
3379
+ },
3380
+ "utils-merge": {
3381
+ "version": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
3382
+ "integrity": "sha1-ApT7kiu5N1FTVBxPcJYjHyh8ivg=",
3383
+ "dev": true
3384
+ },
3385
+ "uuid": {
3386
+ "version": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz",
3387
+ "integrity": "sha1-ZUS7ot/ajBzxfmKaOjBeK7H+5sE=",
3388
+ "dev": true
3389
+ },
3390
+ "v8flags": {
3391
+ "version": "https://registry.npmjs.org/v8flags/-/v8flags-2.0.11.tgz",
3392
+ "integrity": "sha1-vKjzDw1tYGEswsAGQeaWLUKuaIE=",
3393
+ "dev": true
3394
+ },
3395
+ "verror": {
3396
+ "version": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz",
3397
+ "integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=",
3398
+ "dev": true
3399
+ },
3400
+ "vlq": {
3401
+ "version": "https://registry.npmjs.org/vlq/-/vlq-0.2.1.tgz",
3402
+ "integrity": "sha1-FEOdcRiR5oJTVGf4WHxWMOQiKmw=",
3403
+ "dev": true
3404
+ },
3405
+ "void-elements": {
3406
+ "version": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz",
3407
+ "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=",
3408
+ "dev": true
3409
+ },
3410
+ "which": {
3411
+ "version": "https://registry.npmjs.org/which/-/which-1.2.12.tgz",
3412
+ "integrity": "sha1-3me15FAmnxlJCe8j7OTr5Bb6EZI=",
3413
+ "dev": true
3414
+ },
3415
+ "wordwrap": {
3416
+ "version": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
3417
+ "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
3418
+ "dev": true
3419
+ },
3420
+ "wrappy": {
3421
+ "version": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
3422
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
3423
+ "dev": true
3424
+ },
3425
+ "write": {
3426
+ "version": "https://registry.npmjs.org/write/-/write-0.2.1.tgz",
3427
+ "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=",
3428
+ "dev": true
3429
+ },
3430
+ "ws": {
3431
+ "version": "https://registry.npmjs.org/ws/-/ws-1.1.2.tgz",
3432
+ "integrity": "sha1-iiRPoFJAHgjJiGz0SoUYnh/UBn8=",
3433
+ "dev": true
3434
+ },
3435
+ "wtf-8": {
3436
+ "version": "https://registry.npmjs.org/wtf-8/-/wtf-8-1.0.0.tgz",
3437
+ "integrity": "sha1-OS2LotDxw00e4tYw8V0O+2jhBIo=",
3438
+ "dev": true
3439
+ },
3440
+ "xhr-mock": {
3441
+ "version": "https://registry.npmjs.org/xhr-mock/-/xhr-mock-1.7.0.tgz",
3442
+ "integrity": "sha1-w3SfLGjTTuiK969bhKxQdkxgQ1E=",
3443
+ "dev": true
3444
+ },
3445
+ "xmlhttprequest": {
3446
+ "version": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
3447
+ "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw="
3448
+ },
3449
+ "xmlhttprequest-ssl": {
3450
+ "version": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz",
3451
+ "integrity": "sha1-GFqIjATspGw+QHDZn3tJ3jUomS0=",
3452
+ "dev": true
3453
+ },
3454
+ "xtend": {
3455
+ "version": "https://registry.npmjs.org/xtend/-/xtend-3.0.0.tgz",
3456
+ "integrity": "sha1-XM50B7r2Qsunvs2laBEcST9ZZlo="
3457
+ },
3458
+ "yauzl": {
3459
+ "version": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz",
3460
+ "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=",
3461
+ "dev": true
3462
+ },
3463
+ "yeast": {
3464
+ "version": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz",
3465
+ "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=",
3466
+ "dev": true
3467
+ },
3468
+ "zock": {
3469
+ "version": "https://registry.npmjs.org/zock/-/zock-0.2.6.tgz",
3470
+ "integrity": "sha1-IakR4apSA0XG283TY0Rz2hM4PC4=",
3471
+ "dev": true,
3472
+ "dependencies": {
3473
+ "lodash": {
3474
+ "version": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
3475
+ "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
3476
+ "dev": true
3477
+ },
3478
+ "qs": {
3479
+ "version": "https://registry.npmjs.org/qs/-/qs-4.0.0.tgz",
3480
+ "integrity": "sha1-wx2bdOwn33XlQ6hseHKO2NRiNgc=",
3481
+ "dev": true
3482
+ }
3483
+ }
3484
+ }
3485
+ }
3486
+ }